Disclosure of Invention
The invention provides a shopping webpage development method, a shopping webpage development device, a storage medium and computer equipment, which mainly aim to improve the development efficiency and the development accuracy of shopping webpages.
According to a first aspect of the present invention, there is provided a method of developing a shopping webpage, comprising:
installing and configuring a preset integration tool package, wherein the preset integration tool package realizes integration between a webpage development end and a webpage development material end;
Responding to a development request of a webpage to be developed of the webpage development end, determining development environment information and development requirement information of the webpage development end, and calling the preset integration tool package to adapt a webpage function module at the webpage development material end based on the development environment information and the development requirement information;
calling the preset integration toolkit to acquire materials required by the webpage to be developed from the webpage development material end based on the brand side identification of the webpage to be developed and the adapted webpage function module;
and constructing a shopping webpage based on the webpage functional module and the material.
Optionally, the building shopping webpage based on the webpage functional module and the material includes:
Responding to the drag operation and the scaling operation of the web page development end for each web page function module in a web page infrastructure, and determining the position information and the size information of each web page function module;
Based on the position information and the size information, adjusting the position and the size of each webpage functional module to obtain an adjusted webpage infrastructure;
And determining the resource bit of the material in the adjusted webpage infrastructure, and putting the material into the adjusted webpage infrastructure according to the resource bit to obtain the shopping webpage.
Optionally, after constructing a shopping webpage based on the webpage functional module and the material, the method further includes:
Acquiring exposure event detection requirement information of a user aiming at the shopping webpage operation behavior, determining a target page element and a target page area in the shopping webpage based on the exposure event detection requirement information, and constructing an exposure view based on the target page element and the target page area;
acquiring preset exposure conditions, and determining an exposure event capturing viewport based on equipment attribute information of mobile equipment to which the user belongs;
responding to a detection signal of an exposure event, acquiring and storing click information of the user for the shopping webpage, judging exposure parameters of the exposure view in the exposure event capturing view port, judging whether the exposure view meets the preset exposure condition or not based on the exposure parameters, and storing exposure parameters corresponding to the exposure view if the exposure view meets the preset exposure condition;
and carrying out webpage interaction data analysis on the click information and the exposure parameters, determining modification information of the shopping webpage based on analysis results, and constructing a new shopping webpage based on the modification information.
Optionally, before performing web page interaction data analysis on the click information and the exposure parameter, the method further includes:
the click information and the exposure parameters are collectively called as webpage interaction data, a uniform resource locator of the shopping webpage is obtained, and a query character string is analyzed from the uniform resource locator;
splitting the query character string into key value pair forms corresponding to all parameters, analyzing parameter values corresponding to environment variable parameters in the key value pairs, and determining the current running environment of the shopping webpage based on the parameter values;
And judging whether the webpage interaction data is required to be checked based on the current running environment, if so, checking at least one of a data format and a data content of the webpage interaction data, and analyzing the checked webpage interaction data, otherwise, directly analyzing the webpage interaction data.
Optionally, after constructing a shopping webpage based on the webpage functional module and the material, the method further includes:
responding to the browsing signal of the shopping webpage, and acquiring browsing commodity channel information and browsing attribute information aiming at the shopping webpage;
Judging whether abnormal browsing behaviors exist based on the browsing commodity channel information and the browsing attribute information, and if so, determining browsing influence parameters based on behavior types corresponding to the abnormal browsing behaviors;
and determining a management strategy of abnormal browsing behaviors based on the browsing influence parameters, and managing the abnormal browsing behaviors based on the management strategy.
Optionally, after constructing a shopping webpage based on the webpage functional module and the material, the method further includes:
responding to the update request of the shopping webpage, and acquiring the current webpage access way of the shopping webpage;
Determining a target jump mode from a webpage updating end to the webpage development material end based on the current webpage access path, and jumping to the webpage development material end according to the target jump mode;
And calling the preset integration tool package to select target webpage materials required by updating the shopping webpage from the webpage development material end after the jump, judging that the target webpage materials are required to be subjected to verification state identification based on the current running environment of the shopping webpage, if so, updating the shopping webpage by using the webpage materials passing verification, otherwise, directly updating the shopping webpage by using the target webpage materials.
Optionally, determining development environment information of the web page development end includes:
acquiring a user agent character string of the webpage development end, and identifying key information in the user agent character string by using a preset regular expression;
And determining the development environment information of the webpage development end based on the key information.
According to a second aspect of the present invention, there is provided a development device for shopping web pages, comprising:
The installation unit is used for installing and configuring a preset integration tool kit, wherein the preset integration tool kit realizes integration between a webpage development end and a webpage development material end;
the adaptation unit is used for responding to a development request of a webpage to be developed of the webpage development end, determining development environment information and development requirement information of the webpage development end, and calling the preset integration tool package to adapt a webpage function module at the webpage development material end based on the development environment information and the development requirement information;
The acquisition unit is used for calling the preset integration tool package to acquire materials required by the webpage to be developed from the webpage development material end based on the brand side identification of the webpage to be developed and the adapted webpage function module;
and the construction unit is used for constructing a shopping webpage based on the webpage functional module and the materials.
According to a third aspect of the present invention, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the above method of developing a shopping webpage.
According to a fourth aspect of the present invention, there is provided a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the method of developing a shopping webpage as above when executing the program.
According to the method, the device, the storage medium and the computer equipment for developing the shopping webpage, compared with the mode of realizing the development of the shopping webpage by manually writing complete codes step by step at present, the method and the device for developing the shopping webpage can realize the rapid and effective integration between the webpage development end and the webpage development material end through the preset integration tool kit without developing and debugging a plurality of data calling interfaces, save time and labor, and simultaneously, the method directly acquires the webpage functional module and the material which are matched with webpage development requirements and development environments at the webpage development material end, finally constructs the webpage according to the ready-made webpage functional module and the material, a developer does not need to write codes and design pages from scratch, shortens the development period, improves the development accuracy, and the functional module and the material generally have high multiplexing performance, can be repeatedly used in different projects, and reduces repeated labor.
Detailed Description
The application will be described in detail hereinafter with reference to the drawings in conjunction with embodiments. It should be noted that, without conflict, the embodiments of the present application and features of the embodiments may be combined with each other.
At present, a shopping webpage development mode is realized by manually writing complete codes step by step, so that time and labor are consumed, and the condition of webpage development errors can exist under the influence of technical skill level of technicians.
In order to solve the above problems, an embodiment of the present invention provides a method for developing a shopping webpage, as shown in fig. 1, the method includes:
101. and installing and configuring a preset integration tool package, wherein the preset integration tool package realizes integration between the webpage development end and the webpage development material end.
The web page development terminal can be a client terminal, and the web page development material terminal can be an application which provides functions such as material and web page management for web page development. Specifically, according to the type of a webpage development end (client) (such as a Web application, a mobile application, a desktop application and the like) and the functional requirement of the client (such as developing a shopping webpage based on a brand library), simultaneously determining a data interface and an integration requirement (such as an API document, a data format, a security mechanism and the like) provided by a webpage development material end (a certain application end), determining the functions to be realized by a preset integration tool package according to the integration requirement, such as data request, data processing, security authentication, tax rate calculation, page skip, communication, material management and retrieval, function expansion and the like, and finally constructing the preset integration tool package according to the functions and the information of the client environment and the like. Fig. 2 shows a schematic diagram of a preset integrated toolkit architecture provided by an embodiment of the present invention, where Vue is a progressive framework for building a user interface, REACT NATIVE is a cross-platform mobile application development framework, and fact is a database for building a user interface. If the data call between the webpage development end and the webpage development material end is to be realized later, the data call is realized by directly utilizing a pre-built preset integration tool kit, the preset integration tool kit can package complex integration logic into a function which is easy to use, the integration process of the webpage development end and the webpage development material end is simplified, and meanwhile, the tool kit has high reusability and can be repeatedly used in a plurality of projects, so that the project development workload is reduced, and the development cost and time are reduced.
102. Responding to a development request of a webpage to be developed of a webpage development end, determining development environment information and development requirement information of the webpage development end, and calling a preset integration tool kit to adapt a webpage function module at a webpage development material end based on the development environment information and the development requirement information.
The development environment information comprises a browser type, an operating system type, a device type and the like of a development end, development requirement information comprises functions (such as searching, navigation, purchasing and the like) of a shopping webpage, content to be displayed and the like, a webpage functional module comprises various independent functional units or components forming the shopping webpage, the functional modules cooperate together to provide a complete shopping experience for a user, and the shopping experience comprises a home page module, a commodity display module, a shopping cart module, a user center module, a payment module, a promotion module, a security authentication module and the like.
For the embodiment of the invention, the webpage development material end stores various webpage functional modules, pictures, videos and other materials related to webpage development, the webpage functional modules are correspondingly stored with development environment information and development requirement information, and the pictures, the videos and other materials are correspondingly stored with the webpage functional modules and brand library identifications. When a shopping webpage development request aiming at a certain brand library is received, environment information such as system type, equipment type and the like of a webpage development client side is firstly obtained, development requirement information aiming at a shopping webpage is collected, then a webpage functional module matched with the development environment information and the development requirement information is determined at a webpage development material side by utilizing a preset integration tool package, a basic webpage architecture can be realized through the webpage functional module, and then a shopping webpage is constructed according to the basic webpage architecture. According to the embodiment of the invention, the pre-packaged webpage function module is obtained by directly storing the pre-set integrated tool kit in the webpage development material end, so that time and energy wasted by manually writing codes can be avoided, the webpage development efficiency and development accuracy can be improved, and the webpage function module is repeatedly used in a plurality of projects, so that project development workload is reduced, and development cost and development time are reduced.
103. And calling a preset integration tool package to acquire materials required by the webpage to be developed from a webpage development material end based on the brand side identification of the webpage to be developed and the adapted webpage function module.
The brand party identifier can be a character identifier, an image identifier and the like, so long as the brand party identifier can be uniquely determined, the embodiment of the invention does not limit the type of the identifier in detail, and the material comprises pictures matched with the functional module, pictures, videos and the like which need to be displayed in a shopping webpage.
For the embodiment of the invention, materials such as each picture and video in a webpage development material end are stored correspondingly with brand side identifiers, for example, the same commodity can correspond to a plurality of pictures and a plurality of videos, the same webpage functional module also corresponds to a plurality of pictures or a plurality of videos, if only one picture or a plurality of pictures can be displayed for a certain commodity in a shopping webpage, the webpage functional module can only correspond to one picture, in order to select the pictures which can be displayed in the plurality of pictures, taking the picture which can be displayed in the shopping webpage as an example for selecting the commodity A, firstly, the historical behavior data of a user in a shopping website and the display requirement information of the brand side are required to be acquired, and a plurality of pictures or videos corresponding to the commodity are acquired, the behavior feature vector corresponding to the historical behavior feature data, the requirement feature vector corresponding to the display requirement information and the picture feature vector corresponding to each picture are determined, the behavior feature vector and the requirement feature vector are subjected to cross processing to obtain the cross feature vector, and the picture feature vector are input into a picture selection model to carry out picture selection to obtain the corresponding target picture. The method for carrying out cross processing on the behavior feature vector and the demand feature vector comprises the steps of carrying out feature level cross processing on the behavior feature vector and the demand feature vector to obtain a feature cross vector, carrying out element level cross processing on the behavior feature vector and the demand feature vector to obtain an element cross vector, carrying out low-order cross processing on the behavior feature vector and the demand feature vector to obtain a low-order cross vector, and carrying out transformation processing on the feature cross vector, the element cross vector and the low-order cross vector by utilizing a preset transformation function to obtain the cross feature vector.
The historical behavior data of the user in the shopping website refer to clicking times, browsing stay time, purchasing behavior and the like of the user aiming at commodities in the webpage, and the display requirement information of the brand party comprises requirements of display details, display contents, highlighting contents and the like aiming at the commodities.
Specifically, because the historical behavior data of the user aiming at the shopping website and the display demand information in the shopping webpage are different field information, firstly, a behavior feature vector corresponding to the historical behavior data and a demand feature vector corresponding to the display demand information are determined by means of word embedding, dimension processing and the like, and then the two feature vectors are subjected to cross processing. For example, if the behavioural feature vector is (a 1, a 2) and the required feature vector is (b 1, b 2), the specific cross processing method includes performing cross of feature levels between different feature vectors, that is, performing hadamard product on all elements between the vectors, performing convolution transformation under a certain weight to obtain a feature cross vector f (w (a 1x b1, a 2x b 2)), at the same time, performing cross of element levels on all feature vector data, that is, performing hadamard product on each element between the vectors, then giving different weight values w1 and w2 to each result after the product, performing linear transformation, obtaining element cross vectors f (w 1x a 1x b1, w 2x b 2), performing low-order cross processing on all feature vectors, giving weight coefficient w3 to the result after cross processing, performing linear transformation, obtaining a low-order cross vector f (w 3 (a 1, a2, b1, b 2), and finally performing cross processing on the feature cross vectors by using the preset cross vector. The preset function here may be set according to actual conditions, which is not limited in this embodiment. It should be noted that the above examples are illustrative only and are not limiting on the embodiments of the present application. Through the cross processing of the behavior feature vector and the demand feature vector, different features can be automatically or explicitly combined, so that new feature combinations are generated, the combined features possibly comprise complex nonlinear relations among original features, so that the model can capture finer and richer information in data, namely, the relations among various data can be fully utilized, more hidden features are extracted, meanwhile, the processing of high order and low order is considered, the data utilization is more sufficient, the picture recommendation result obtained later is more accurate, and the demands of webpage development and browsing users are met.
Further, in order to improve the picture selection accuracy of a preset picture selection model, the preset picture selection model is firstly required to be constructed and trained, and based on the picture selection accuracy, the method comprises the steps of obtaining an initial picture selection model, obtaining a sample data set, dividing the sample data set into training data and test data, training the initial picture selection model by the training data, testing the trained initial picture selection model by the test data, and finally taking the trained initial picture selection model meeting test conditions as the preset picture selection model, wherein the sample data set comprises sample user behavior data with picture selection labeling labels and sample webpage development requirement information. Wherein the test conditions may test accuracy. Further, the cross feature vector and the picture feature vector are input into a preset picture selection model, selection probability values corresponding to the pictures are output through the preset picture selection model, at least one picture is selected from the pictures based on the selection probability values, and finally the picture is displayed as a commodity in a shopping webpage. Similarly, the selection manner of the video corresponding to the commodity and the selection manner of the icon (picture) for each webpage functional module are the same as the above manner, and the embodiments of the present invention will not be repeated. Therefore, the pictures of the load display requirements and the browsing behaviors of the user can be selected according to the mode, and the user experience is improved. Aiming at a certain commodity, the webpage can also display a plurality of pictures, and the pictures can be displayed in a carousel mode.
104. And constructing a shopping webpage based on the webpage functional module and the material.
For the embodiment of the invention, after the webpage function modules and the materials are acquired, a shopping webpage is required to be constructed based on the webpage function modules and the materials, based on which, step 104 specifically comprises the steps of responding to the drag operation and the zoom operation of the webpage development end for each webpage function module in the webpage infrastructure, determining the position information and the size information of each webpage function module, adjusting the position and the size of each webpage function module based on the position information and the size information to obtain an adjusted webpage infrastructure, determining the resource position of the materials in the adjusted webpage infrastructure, and putting the materials into the adjusted webpage infrastructure according to the resource position to obtain the shopping webpage.
Specifically, after each web page function module is obtained, each web page function module is projected to a web page template according to a default sequence, wherein the web page template is constructed in advance according to information such as equipment type, screen size and the like of a web page development end, and the web page template can be a blank web page or a basic function module with common use of each web page. If the web page development user wants to adjust the size and position of each web page function module in the web page template, operations such as zooming or dragging can be performed on each web page function module in the web page template, so as to obtain a web page infrastructure, each web page function module in the web page infrastructure does not have icons and other identifiers, meanwhile, the web page infrastructure indicates the display positions (resource positions) of pictures such as commodities, according to the size of the commodity display positions and the sizes of each function module, the size of pictures or videos and the like corresponding to the commodities in the vegetables is adjusted, the sizes of the icons (pictures) corresponding to the function modules in the vegetables are matched with the sizes of the corresponding positions in the web page infrastructure, then the pictures or the video corresponding to the commodities and the pictures corresponding to the web page function modules are put into the web page infrastructure, and the web page infrastructure after the pictures and videos are put in is taken as shopping web pages. Therefore, the embodiment of the invention directly acquires the webpage functional module and the material which are matched with the webpage development requirement and development environment at the webpage development material end, and finally constructs the webpage according to the ready-made webpage functional module and the material, so that a developer does not need to write codes and design pages from scratch, the development period is shortened, the development accuracy is improved, the functional module and the material have high reusability, the functional module and the material can be reused in different projects, and the repeated labor is reduced.
Further, after the shopping webpage is built, the shopping webpage needs to be updated along with replacement, price change and the like of displayed commodities, based on the fact that the shopping webpage needs to be updated, the specific updating method comprises the steps of responding to an updating request of the shopping webpage, obtaining a current webpage access path of the shopping webpage, determining a target jump mode from a webpage updating end to the webpage development material end based on the current webpage access path, jumping to the webpage development material end according to the target jump mode, calling the preset integration tool package to select target webpage materials needed by the shopping webpage to be updated in the jumped webpage development material end, judging that verification state identification is needed to be conducted on the target webpage materials based on the current running environment of the shopping webpage, and if the verification is needed, updating the shopping webpage by utilizing the webpage materials which are verified, otherwise, directly updating the shopping webpage by utilizing the target webpage materials.
The current webpage access way is a way of opening the shopping webpage on the premise of webpage updating, and comprises a browser opening mode, a webpage development material end belonging to an applet opening mode, a webpage link opening mode and the like, wherein the jump mode comprises direct jump, calling of application program jump, webpage jump and the like, and the current running environment comprises a development test running environment, a production online running environment and the like.
Specifically, when receiving an update request for the shopping webpage, a Platform module in a preset integrated toolkit is utilized to automatically identify a current webpage access way, namely, determining an opening way of the shopping webpage under the condition of updating the webpage, if the shopping webpage is opened through a browser of a client, jumping to a webpage development material end by using a jumping way of calling an application program, if the shopping webpage is opened through an applet which the webpage development material end belongs to, directly jumping to the webpage development material end by using the applet, if the shopping webpage is opened through a webpage link, jumping to the webpage development material end by using a jumping way of the webpage, and after jumping to the webpage development material end, selecting the jumping way by identifying the current webpage access way according to the embodiment of the invention can ensure that the webpage development material end can be seamlessly switched under different equipment and environments. Further, after jumping to the web page development material end, selecting a target web page material required for updating the shopping web page at the web page development material end by using a preset integration tool pack based on the update requirement (such as replaced commodity, updated information, etc.), wherein the target web page material can be a web page function module, commodity picture, video, etc. Further, in the production line environment, in order to ensure the accuracy and compliance of the materials, the auditing state identification is required to be performed on the target webpage materials, and if the auditing state of a certain target webpage material is not audited or is not audited, the materials which are audited and passed are obtained again at the webpage development material end. Under the development test environment, the auditing state identification of the target webpage materials is not needed. And the webpage development material library stores the verification passing, non-verification and other verification states corresponding to each material. And finally, updating the shopping webpage by utilizing the checked webpage materials in the production line environment, and directly updating the shopping webpage by utilizing the target webpage materials in the development test environment. The embodiment of the invention identifies the auditing state of the webpage materials in the production line environment, does not identify the auditing state of the webpage materials in the development test environment, can ensure the standardization, compliance, safety and the like of the webpage in the online operation, can also avoid the unnecessary calculation burden added when auditing the webpage which is not in the development test environment and influences the development efficiency, i.e. the embodiment of the invention mainly applies the auditing state identification to the production line stage, can save the resources and time wasted by the auditing state identification in the production test stage, and can also ensure the standardization and safety of the webpage after the production line.
According to the method for developing the shopping webpage, compared with the mode that the shopping webpage development is realized by manually writing complete codes step by step at present, the method for developing the shopping webpage can realize quick and effective integration between the webpage development end and the webpage development material end through the preset integration tool kit, development and debugging of a plurality of data calling interfaces are not needed, time and labor are saved, meanwhile, the webpage functional module and the material which are matched with webpage development requirements and development environments are directly obtained at the webpage development material end, the webpage is finally constructed according to the existing webpage functional module and the material, a developer does not need to write codes and design pages from scratch, the development period is shortened, the development accuracy is improved, the functional module and the material usually have high reusability, the webpage functional module and the material can be reused in different projects, and the repeated labor is reduced.
Further, in order to better illustrate the process of developing the shopping webpage, as a refinement and extension of the foregoing embodiment, an embodiment of the present invention provides another method for developing a shopping webpage, as shown in fig. 3, where the method includes:
201. and installing and configuring a preset integration tool package, wherein the preset integration tool package realizes integration between the webpage development end and the webpage development material end.
The preset integrated tool package is provided with a skip function, a communication function, an information identification function and the like. Specifically, after the preset integrated toolkit is obtained, specific type, version, functional requirement and other information of the preset integrated toolkit which needs to be installed are definitely obtained, whether the operating system and hardware environment of the webpage development client meet the requirements of the toolkit is determined, then an installation program is started, and the installation process is gradually completed. At the same time, the environment variables are configured to ensure that the client system is able to properly identify and use the preset integration toolkit. After the installation is completed, the tool pack is started for configuration. If the toolkit supports preset configuration, a pre-prepared configuration file may be imported into the toolkit. And the tool package can be configured in a self-defined way according to actual requirements. For example, network connections, security settings, user permissions, etc. may be configured. After the installation is completed, whether the tool kit is successfully installed and correctly configured is verified.
202. Responding to a development request of a webpage to be developed of a webpage development end, determining development environment information and development requirement information of the webpage development end, and calling the preset integration tool kit to adapt a webpage function module at a webpage development material end based on the development environment information and the development requirement information.
For the embodiment of the invention, after receiving a webpage development request, development environment information of a webpage development end is required to be determined firstly, based on which step 202 specifically comprises the steps of obtaining a user agent character string of the webpage development end, identifying key information in the user agent character string by using a preset regular expression, and determining the development environment information of the webpage development end based on the key information.
The development environment comprises a browser type, an operating system type, a device type and the like of the webpage development client. Specifically, the user agent string may be obtained in various manners, such as a front end using JavaScript (an object-based or event-driven scripting language) to obtain a navigator. Or using PHP (Hypertext Preprocessor ) at SERVER side, USER AGENT string can be obtained through $_SERVER [ 'HTTP_USER_AGENT' ] global variable. The key information related to the operating system type, such as Windows NT, mac OS X, linux and the like, in the user agent character string is identified by utilizing a preset regular expression related to the operating system type, and the operating system type of the webpage development end can be determined through the key information related to the operating system type. The key information related to the device type in the user agent character string is identified by using the preset regular expression related to the operating system type, the device type of the webpage development end can be determined by using the key information related to the device type, meanwhile, platform information of the device can be obtained by using a navigator/platform attribute of JavaScript, for example, on the mobile device, the attribute can return iPhone, iPad, android, and the like, and the device type can be judged by combining other information (such as screen size, touch support, and the like) in the user agent character string. At the same time, the browser type used by the web page development client is determined by matching keywords (e.g., chrome, firefox, safari, edge, etc.) in the user agent string using a preset regular expression associated with the browser type. According to the embodiment of the invention, the development environment of the webpage development client is determined through the user agent character string, and because the user agent character string detection does not need additional hardware equipment or software permission to realize, codes of a plurality of versions are prevented from being written for different client environments, so that the detection cost is reduced and the detection efficiency is improved.
Further, according to the development environment information and the development requirement information, a preset integration tool package is called to carry out webpage function module adaptation on a webpage development material end.
203. And calling a preset integration tool package to acquire materials required by the webpage to be developed from a webpage development material end based on the brand side identification of the webpage to be developed and the adapted webpage function module.
Specifically, the data communication and transmission functions in the preset integrated tool package are utilized to obtain the materials such as pictures, video screens and the like corresponding to the brand side identification and the webpage function module from the webpage development material end.
204. And constructing a shopping webpage based on the webpage functional module and the materials.
Specifically, a webpage template is obtained, a webpage function module is configured in the webpage template to obtain a webpage infrastructure, and then information such as commodity pictures and icons corresponding to the webpage function modules is configured in the webpage infrastructure to obtain a shopping webpage.
205. The method comprises the steps of obtaining exposure event detection requirement information of a user aiming at shopping webpage operation behaviors, determining target page elements and target page areas in the shopping webpage based on the exposure event detection requirement information, and constructing an exposure view based on the target page elements and the target page areas.
The exposure event detection requirement information refers to information such as page elements or page areas which need to detect interaction data between a user and a page.
Specifically, if the exposure event detection is to be performed on a target page element such as an image and a target page area such as a functional area in a shopping webpage, the target page element and the target page area are combined into an exposure view, wherein the exposure view is a virtual view for detecting the exposure event, and contains all page contents and layout information required to be subjected to the exposure detection.
206. And acquiring preset exposure conditions, and determining an exposure event capturing viewport based on the equipment attribute information of the mobile equipment to which the user belongs.
The device attribute information comprises information such as device type, screen size, resolution and the like of the device for opening the shopping webpage, and the exposure event capturing viewport is the visual area of the shopping webpage, namely a webpage part which can be seen by a user currently on the device.
Specifically, the preset exposure conditions are set according to the actual requirements, and meanwhile, a reasonable exposure event capturing viewport is set according to the information such as the equipment size of the shopping webpage, for example, on the mobile equipment, the width of the viewport is usually matched with the screen width of the equipment, but the height may be changed due to the display of a browser interface (such as an address bar, a toolbar and the like). On a desktop browser, the width and height of the viewport is dependent on the size of the browser window.
207. Responding to the detection signal of the exposure event, acquiring and storing click information of a user for a shopping webpage, judging exposure parameters of the exposure view in an exposure event capturing view port, judging whether the exposure view meets preset exposure conditions or not based on the exposure parameters, and storing the exposure parameters corresponding to the exposure view if the exposure parameters meet the preset exposure conditions.
The click information comprises information such as click times, click frequencies and the like of target page elements and target page areas in the shopping webpage by a browsing user. The exposure parameters refer to parameters such as the stay time, the visibility, the scrolling position and the like of the exposure view in the exposure event capturing view port when a user operates or browses the exposure view.
Specifically, whether the stay time of the exposure view in the exposure event capturing view port meets the preset stay time in the preset exposure conditions, whether the visibility meets the preset visibility in the preset exposure conditions, whether the scrolling position meets the preset scrolling position in the preset exposure conditions or not are respectively judged, and the exposure parameters meeting the preset exposure conditions are recorded and stored.
208. And analyzing webpage interaction data of the click information and the exposure parameters, determining modification information of the shopping webpage based on the analysis result, and constructing a new shopping webpage based on the modification information.
For the embodiment of the invention, in order to analyze webpage interaction data between a user and a shopping webpage according to click information and exposure parameters, whether the webpage interaction data need to be checked is judged firstly, and based on the webpage interaction data, the method comprises the steps of acquiring uniform resource locators of the shopping webpage according to the click information and the exposure parameters, analyzing query strings in the uniform resource locators, splitting the query strings into key value pair forms corresponding to the parameters, analyzing parameter values corresponding to environment variable parameters in the key value pairs, determining the current running environment of the shopping webpage according to the parameter values, judging whether the webpage interaction data need to be checked according to the current running environment, checking at least one of data format and data content of the webpage interaction data if the webpage interaction data need to be checked, and analyzing the checked webpage interaction data, otherwise, directly analyzing the webpage interaction data.
Among them, the current operating environment includes development testing environment and production line environment. Specifically, the env parameter (environment variable parameter) is parsed in the uniform resource locator corresponding to the shopping webpage, for example, the URL of the current webpage may be obtained through a window. In the development test environment, the webpage interaction data is required to be checked, and in the production line environment, the webpage interaction data is not required to be checked. In the process of checking the webpage interaction data, the data format, the data content and the like of the webpage interaction data are mainly checked, and the webpage interaction data are subjected to data format specification and content specification processing according to the checking result. According to the embodiment of the invention, the accuracy, the integrity and the normalization of the data can be ensured by checking the webpage interaction data in the development test environment, so that the developer can be helped to identify and repair potential data problems. And the interactive data of the webpage are not checked in the production line environment, if the webpage is slowed down or fails due to data check, the user experience can be negatively affected, the risk can be reduced by not checking in the production environment, and the user satisfaction degree is improved. Further, in the development and test environment, user behavior analysis is performed on the webpage interaction data after standardization, and in the production line environment, user behavior analysis is directly performed on the webpage interaction data, such as analysis of browsing preference, browsing habit and other behaviors of a user, based on analysis results, modification information of position adjustment, icon adjustment, commodity display information replacement and the like of each functional module in the shopping webpage is determined, and the shopping webpage is modified according to the modification information, so that the modified shopping webpage meets requirements of user browsing, shopping and the like, and commodity conversion rate and user browsing experience are improved.
Further, after the shopping webpage is built or updated, after the webpage is online, the browsing behavior needs to be managed to ensure the safety of webpage data, and based on this, the method comprises the following steps: responding to the browsing signal of the shopping webpage, and acquiring browsing commodity channel information and browsing attribute information aiming at the shopping webpage; judging whether abnormal browsing behaviors exist based on the browsing commodity channel information and the browsing attribute information, if so, determining browsing influence parameters based on behavior types corresponding to the abnormal browsing behaviors, determining management strategies of the abnormal browsing behaviors based on the browsing influence parameters, and managing the abnormal browsing behaviors based on the management strategies.
The commodity browsing channel information refers to source channels of commodities browsed by a user, such as tax free channels, tax finishing channels, cross-border channels and the like, and the browsing attribute information refers to information such as identity marks of the browsing user.
According to the embodiment of the invention, whether the browsing user has abnormal browsing behaviors or not is judged according to the browsing commodity channel information and the browsing attribute information, and the specific method for determining whether the abnormal browsing behaviors exist is that channel feature vectors corresponding to the browsing commodity channel information and browsing feature vectors corresponding to the browsing attribute information are determined, the channel feature vectors and the browsing feature vectors are subjected to cross processing to obtain behavior cross feature vectors, the behavior cross feature vectors are input into a preset behavior recognition model (wherein the preset behavior recognition model is constructed on the basis of a sample data set with abnormal browsing behavior labels in advance) to conduct behavior recognition, whether the browsing behaviors are abnormal behaviors or not is judged, if the abnormal browsing behaviors exist, the model also outputs behavior types of the abnormal browsing behaviors, such as abnormal browsing behaviors such as illegal content access, excessively frequent requests, crawler behaviors, false requests or disguised identities, service item violation, automatic script operation, malicious software propagation and the like. When abnormal browsing behavior is identified, the embodiment of the invention can acquire deeper features by carrying out cross processing on the browsing commodity channel information and the browsing attribute information, thereby improving the identification precision of the abnormal browsing behavior. Further, if at least one abnormal browsing behavior exists, determining an influence parameter (abnormal browsing degree) corresponding to the behavior type of the abnormal browsing behavior, where the preset influence parameter database stores influence parameters corresponding to different behavior types, and may obtain the influence parameter corresponding to the behavior type in the preset influence parameter database, and determine a management policy of the abnormal browsing behavior based on the magnitude of the influence parameter, for example, if the influence parameter is larger or exceeds a first preset threshold (the preset threshold is a value set according to an actual requirement), performing seal number operations on a browsing user, and setting seal number duration according to the magnitude of the influence parameter, if the influence parameter is relatively smaller, that is, in a section between a second preset threshold and the first preset threshold (where the first preset threshold is greater than the second preset threshold, and the section includes the first preset threshold and the second preset threshold), performing access to the browsing user, that is, and if the influence parameter is smaller than the second preset threshold, performing operations on the browsing user. According to the embodiment of the invention, the abnormal browsing behavior is identified and managed, so that the safety of webpage data can be ensured.
The shopping webpage provided by the embodiment of the invention provides the webpage development support specially aiming at the shopping business for the brand party, meets the sales demands of the brand party under different policies, supports the brand party to carry out brand promotion, new product release, sales promotion and the like through the webpage, and improves the brand awareness degree and the user participation degree. Through presetting the integrated tool package, online and offline sales channels can be integrated, unified management of data and business processes is realized, and brands can be better sold in multiple channels. The preset integrated tool package provides a seamless jump function with the application, supports the core function of directly calling the application in the page, and realizes smooth switching between the applications. Communication with the application is supported, including data transmission and state synchronization, and smooth interaction and consistent data between the page end and the application of the user are ensured. And the integration with an e-commerce platform is supported, and the webpage development flow of a brand party is simplified. The brand material management system can be connected with the preset integrated tool kit, so that the brand material can be efficiently managed and retrieved. And the method supports searching the designated resource positions of the designated brand library according to brandCode and positionCode, so that the materials can be accurately managed and put in. The preset integrated tool package provides an expansion type function plug-in unit, and supports brands to expand and customize functions of the webpage according to own requirements.
According to the method for developing the shopping webpage, compared with the mode that the shopping webpage development is realized by manually writing complete codes step by step at present, the method for developing the shopping webpage can realize quick and effective integration between the webpage development end and the webpage development material end through the preset integration tool kit, development and debugging of a plurality of data calling interfaces are not needed, time and labor are saved, meanwhile, the method for developing the webpage directly obtains the webpage functional module and the material which are matched with webpage development requirements and development environments at the webpage development material end, finally constructs the webpage according to the existing webpage functional module and the material, a developer does not need to write codes and design pages from scratch, the development period is shortened, the development accuracy is improved, the functional module and the material usually have high reusability, can be reused in different projects, and the repeated labor is reduced.
Further, as a specific implementation of fig. 1, an embodiment of the present invention provides a device for developing a shopping webpage, as shown in fig. 4, where the device includes an installation unit 31, an adaptation unit 32, an acquisition unit 33, and a construction unit 34.
The installation unit 31 may be configured to install and configure a preset integration tool package, where the preset integration tool package implements integration between a web page development terminal and a web page development material terminal.
The adapting unit 32 may be configured to determine development environment information and development requirement information of the web page development end in response to a development request of a web page to be developed of the web page development end, and call the preset integration tool package to perform web page function module adaptation on the web page development material end based on the development environment information and the development requirement information.
The obtaining unit 33 may be configured to invoke the preset integration toolkit to obtain, in the web page development material end, materials required by the web page to be developed based on the brand identity of the web page to be developed and the adapted web page function module.
The construction unit 34 may be configured to construct a shopping webpage based on the webpage functional module and the material.
In a specific application scenario, in order to construct a shopping webpage, as shown in fig. 5, the construction unit 34 includes a first determining module 341, an adjusting module 342, and a delivering module 343.
The first determining module 341 may be configured to determine, in response to a drag operation and a zoom operation of the web page development end for each of the web page function modules in the web page infrastructure, location information and size information of each of the web page function modules.
The adjustment module 342 may be configured to adjust the position and the size of each web page function module based on the position information and the size information, so as to obtain the adjusted web page infrastructure.
The delivering module 343 may be configured to determine a resource bit of the material in the adjusted web page infrastructure, and deliver the material to the adjusted web page infrastructure according to the resource bit, so as to obtain the shopping web page.
In a specific application scenario, the device further comprises an analysis unit 35 for analyzing interaction data with the web page.
The analysis unit 35 may be configured to obtain exposure event detection requirement information of a user for an operation behavior of the shopping webpage, determine a target page element and a target page area in the shopping webpage based on the exposure event detection requirement information, construct an exposure view based on the target page element and the target page area, obtain a preset exposure condition, determine an exposure event capturing view port based on device attribute information of a mobile device to which the user belongs, obtain and store click information of the user for the shopping webpage in response to a detection signal of an exposure event, determine an exposure parameter of the exposure view in the exposure event capturing view port, determine whether the exposure view meets the preset exposure condition based on the exposure parameter, if so, store an exposure parameter corresponding to the exposure view, perform web page interaction data analysis on the click information and the exposure parameter, determine modification information of the shopping webpage based on an analysis result, and construct a new shopping webpage based on the modification information.
In a specific application scenario, in order to determine whether verification of the web page interaction data is required, the apparatus further includes a verification unit 36.
The verification unit 36 may be configured to collectively refer to the click information and the exposure parameter as web page interaction data, obtain a uniform resource locator of the shopping web page, analyze a query string in the uniform resource locator, split the query string into a key value pair format corresponding to each parameter, analyze a parameter value corresponding to an environment variable parameter in the key value pair, determine a current operation environment of the shopping web page based on the parameter value, determine whether the web page interaction data needs to be verified based on the current operation environment, and if so, perform at least one of verification of a data format and a data content on the web page interaction data, and analyze the web page interaction data after verification, otherwise, directly analyze the web page interaction data.
In a specific application scenario, the device further comprises a management unit 37 for managing abnormal browsing behaviour.
The management unit 37 may be configured to obtain, in response to a browsing signal of the shopping webpage, browsing commodity channel information and browsing attribute information for the shopping webpage, determine whether an abnormal browsing behavior exists based on the browsing commodity channel information and the browsing attribute information, determine a browsing influence parameter based on a behavior type corresponding to the abnormal browsing behavior if the abnormal browsing behavior exists, determine a management policy of the abnormal browsing behavior based on the browsing influence parameter, and manage the abnormal browsing behavior based on the management policy.
In a specific application scenario, the device further comprises an updating unit 38 for updating the shopping web page.
The updating unit 38 may be configured to respond to an update request of the shopping webpage, obtain a current webpage access way of the shopping webpage, determine a target jump mode from a webpage update end to the webpage development material end based on the current webpage access way, jump to the webpage development material end according to the target jump mode, call the preset integration tool package to select a target webpage material required for updating the shopping webpage in the jumped webpage development material end, and determine that the target webpage material needs to be subjected to verification state identification based on a current running environment of the shopping webpage, and update the shopping webpage by using the webpage material passing verification if the target webpage material is required, or directly update the shopping webpage by using the target webpage material if the target webpage material is not required.
In a specific application scenario, in order to determine development environment information of a web page development end, the adapting unit 32 includes an identifying module 321 and a second determining module 322.
The identifying module 321 may be configured to obtain a user agent character string of the web page development end, and identify key information in the user agent character string by using a preset regular expression.
The second determining module 322 may be configured to determine development environment information of the web page development end based on the key information.
It should be noted that, other corresponding descriptions of each functional module related to the development device of the shopping webpage provided by the embodiment of the present invention may refer to corresponding descriptions of the method shown in fig. 1, which are not repeated herein.
Based on the method shown in fig. 1, correspondingly, the embodiment of the invention also provides a computer readable storage medium, on which a computer program is stored, wherein the program is executed by a processor to realize the following steps of installing and configuring a preset integration tool package, wherein the preset integration tool package realizes integration between a webpage development end and a webpage development material end, responding to a development request of a webpage to be developed of the webpage development end, determining development environment information and development requirement information of the webpage development end, calling the preset integration tool package to carry out webpage function module adaptation on the webpage development material end based on the development environment information and the development requirement information, calling the preset integration tool package to acquire materials required by the webpage to be developed in the webpage development material end based on a brand side identifier of the webpage to be developed and the adapted webpage function module, and constructing a shopping webpage based on the webpage function module and the materials.
Based on the embodiment of the method shown in fig. 1 and the device shown in fig. 4, the embodiment of the invention also provides a physical structure diagram of a computer device, as shown in fig. 6, the computer device comprises a processor 41, a memory 42 and a computer program which is stored in the memory 42 and can run on the processor, wherein the memory 42 and the processor 41 are both arranged on a bus 43, when the processor 41 executes the program, the steps of installing and configuring a preset integration tool package are realized, wherein the preset integration tool package realizes integration between a webpage development end and a webpage development material end, development environment information and development requirement information of the webpage development end are determined in response to a development request of a webpage to be developed of the webpage development end, and webpage function module adaptation is carried out on the webpage development end based on the development environment information and the development requirement information, the webpage function module is called on the basis of a brand identification and adaptation of the webpage to be developed, the preset integration tool package is called to acquire required webpage materials in the webpage development end, and the webpage material is constructed based on the required webpage material of the webpage material.
According to the technical scheme, the method and the system for achieving the webpage development can achieve rapid and effective integration between the webpage development end and the webpage development material end through the preset integration tool kit, development and debugging of a plurality of data calling interfaces are not needed, time and labor are saved, meanwhile, through the method and the system for achieving the webpage development through the webpage development material end, webpage functional modules and materials which are matched with webpage development requirements and development environments are directly obtained, finally, a webpage is built according to existing webpage functional modules and materials, a developer does not need to write codes and design pages from scratch, development period is shortened, development accuracy is improved, the functional modules and the materials are high in reusability, and repeated labor is reduced.
It will be appreciated by those skilled in the art that the modules or steps of the invention described above may be implemented in a general purpose computing device, they may be concentrated on a single computing device, or distributed across a network of computing devices, they may alternatively be implemented in program code executable by computing devices, so that they may be stored in a memory device for execution by computing devices, and in some cases, the steps shown or described may be performed in a different order than that shown or described, or they may be separately fabricated into individual integrated circuit modules, or multiple modules or steps within them may be fabricated into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only of the preferred embodiments of the present invention and is not intended to limit the present invention, but various modifications and variations can be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.