Method, device, equipment and storage medium for collecting interactive behavior experimental data
By switching the experimental pages visually editing status and generating page rendering packages, the problem of inefficiency in the existing technology is solved, and the rapid generation of multi-version experimental pages is achieved and data acquisition efficiency is improved.
Patent Information
- Application Number
- CN202210683960.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-17
- Publication Date
- 2025-08-15
- Estimated Expiration
- 2042-06-17
AI Technical Summary
The prior art is inefficient in the process of collecting user interaction behavior experimental data, requires technicians to develop and has a long cycle.
By switching visual editing status in response to experimental requests, multiple versions of page rendering packages are generated, and rendered at the target terminal to collect interactive behavior experimental data.
The efficiency of interactive behavior experimental data acquisition is improved, so that what you see on the experimental page is what you get, and can quickly generate multiple different versions of the experimental page and collect data.
Smart Images

Figure CN115237398B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of visualized tracking technology, and in particular to a method, device, equipment, and storage medium for collecting interactive behavior experiment data. Background Art
[0002] With the development of Internet technology, more and more user interaction behaviors are generated on Internet platforms. For Internet platforms, collecting experimental data on these user interaction behaviors can clearly analyze the development direction of the platform and point out the path for the development of the platform.
[0003] When collecting user interaction behavior experimental data in existing technologies, technical personnel usually need to develop different interaction pages according to different interaction requirements, and then capture the interaction behavior experimental data through different interaction pages. This method requires a complete development cycle to output the experimental page and requires the support of technical personnel. Therefore, the existing technology has the technical problem of low efficiency in collecting interaction behavior experimental data. Summary of the Invention
[0004] The present invention provides a method, device, equipment and storage medium for collecting interactive behavior experiment data, which are used to improve the efficiency of interactive behavior experiment data collection.
[0005] A first aspect of the present invention provides a method for collecting interactive behavior experimental data, comprising:
[0006] Responding to an experiment request of a target experiment page, and switching a visual editing state of the target experiment page according to the experiment request to obtain a visual editing page, so as to perform multi-version page editing on the visual editing page;
[0007] Responding to a target element modification instruction, and editing the target element in the visual editing page according to the target element modification instruction;
[0008] When the page editing of each version is completed, the page rendering package corresponding to each version is generated;
[0009] Responding to the target experimental page's loading request, and obtaining a page rendering package corresponding to the target version through the loading request;
[0010] The target experiment page is rendered by using the page rendering package corresponding to the target version, so as to collect the interactive behavior experiment data of the target experiment page corresponding to the target version on the target terminal.
[0011] Optionally, in a first implementation of the first aspect of the present invention, responding to the experiment request of the target experiment page and switching the target experiment page to a visual editing state according to the experiment request to obtain the visual editing page includes:
[0012] Responding to an experiment request of a target experiment page, wherein the experiment request includes access address information of the target experiment page;
[0013] Loading the target experiment page through the access address information, and disabling element interaction events in the target experiment page to obtain a disabled target experiment page;
[0014] The disabled target experiment page is rendered by a preset editing page rendering script, so that the disabled target experiment page enters a visual editing state, and a visual editing page is obtained.
[0015] Optionally, in a second implementation of the first aspect of the present invention, responding to a target element modification instruction and editing a target element in the visual editing page according to the target element modification instruction includes:
[0016] When a page edit event is triggered at any position in the target experimental page, a target element modification instruction is generated, wherein the target element modification instruction includes the triggering position of the page edit event;
[0017] The target element information is obtained through the triggering position of the page editing event in the target element modification instruction, so as to modify the target element information in the visual editing page.
[0018] Optionally, in a third implementation of the first aspect of the present invention, disabling element interaction events in the target experiment page to obtain the disabled target experiment page includes:
[0019] According to the window size of the target experimental page, a mask is added to the target experimental page to obtain a disabled target experimental page;
[0020] The acquiring target element information according to the triggering position of the page editing event in the target element modification instruction to modify the target element information in the visual editing page includes:
[0021] The trigger position is passed into the preset element acquisition event to obtain the target element acquisition event;
[0022] The mask in the disabled target experiment page is hidden, and target element information is obtained through the target element acquisition event.
[0023] Optionally, in a fourth implementation of the first aspect of the present invention, after responding to the target element modification instruction and editing the target element in the visual editing page using the target element modification instruction, when the page editing of each version is completed and before generating the page rendering package corresponding to each version, the method for collecting interactive behavior experimental data further includes:
[0024] Generate element modification records of the target experiment page;
[0025] When the page editing of each version is completed, a page rendering package corresponding to each version is generated, including:
[0026] Responding to a version generation instruction of a target experiment page, and determining whether the target experiment page has changed according to the element modification record;
[0027] If the target experimental page is changed, the target experimental page is packaged by a preset page packaging program to obtain page rendering packages corresponding to each version.
[0028] Optionally, in a fifth implementation of the first aspect of the present invention, responding to the target experimental page load request and obtaining a page rendering package corresponding to the target version through the load request includes:
[0029] When the target terminal sends a request to load the target experiment page, obtaining identifier information of the target terminal;
[0030] The target version information corresponding to the target terminal is received through the identifier information, and the page rendering package corresponding to the target version is obtained through the target version information.
[0031] Optionally, in a sixth implementation of the first aspect of the present invention, after rendering the target experimental page using the page rendering package corresponding to the target version to collect interactive behavior experimental data of the target experimental page corresponding to the target version on the target terminal, the interactive behavior experimental data collection method further includes:
[0032] The page interaction behavior of the target terminal is collected through the behavior embedding points in the target experiment page corresponding to the target version to obtain the interaction behavior experiment data.
[0033] A second aspect of the present invention provides a device for collecting interactive behavior experimental data, comprising:
[0034] A switching module is used to respond to an experiment request of a target experiment page, and switch the target experiment page to a visual editing state according to the experiment request to obtain a visual editing page, so as to perform multi-version page editing on the visual editing page;
[0035] An editing module, configured to respond to a target element modification instruction and edit the target element in the visual editing page according to the target element modification instruction;
[0036] The generation module is used to generate the page rendering package corresponding to each version when the page editing of each version is completed;
[0037] An acquisition module, configured to respond to a loading request for the target experimental page and obtain a page rendering package corresponding to the target version through the loading request;
[0038] The rendering module is used to render the target experiment page through the page rendering package corresponding to the target version, so as to collect the interactive behavior experiment data of the target experiment page corresponding to the target version on the target terminal.
[0039] Optionally, in a first implementation of the second aspect of the present invention, the switching module includes:
[0040] A response unit, configured to respond to an experiment request of a target experiment page, wherein the experiment request includes access address information of the target experiment page;
[0041] a disabling unit, configured to load the target experiment page through the access address information, and disable element interaction events in the target experiment page to obtain the disabled target experiment page;
[0042] The rendering unit is used to render the disabled target experiment page through a preset editing page rendering script, so that the disabled target experiment page enters a visual editing state and obtains a visual editing page.
[0043] Optionally, in a second implementation of the second aspect of the present invention, the editing module includes:
[0044] a positioning unit, configured to generate a target element modification instruction when a page editing event is triggered at any position in the target experimental page, wherein the target element modification instruction includes the triggering position of the page editing event;
[0045] The acquiring unit is configured to acquire target element information according to the triggering position of the page editing event in the target element modification instruction, so as to modify the target element information in the visual editing page.
[0046] Optionally, in a third implementation of the second aspect of the present invention, the disabling unit is specifically configured to:
[0047] According to the window size of the target experiment page, a mask is added to the target experiment page to obtain a disabled target experiment page;
[0048] The acquisition unit is specifically configured to:
[0049] The trigger position is passed into the preset element acquisition event to obtain the target element acquisition event;
[0050] The mask in the disabled target experiment page is hidden, and target element information is obtained through the target element acquisition event.
[0051] Optionally, in a fourth implementation of the second aspect of the present invention, the device for collecting interactive behavior experimental data further includes:
[0052] A recording module, used to generate element modification records of the target experiment page;
[0053] The generation module is specifically used for:
[0054] Responding to a version generation instruction of a target experiment page, and determining whether the target experiment page has changed according to the element modification record;
[0055] If the target experimental page is changed, the target experimental page is packaged by a preset page packaging program to obtain page rendering packages corresponding to each version.
[0056] Optionally, in a fifth implementation of the second aspect of the present invention, the acquisition module is specifically configured to:
[0057] When the target terminal sends a request to load the target experiment page, obtaining identifier information of the target terminal;
[0058] Receive target version information corresponding to the target terminal through the identifier information, and obtain a page rendering package corresponding to the target version through the target version information.
[0059] Optionally, in a sixth implementation of the second aspect of the present invention, the device for collecting interactive behavior experimental data further includes:
[0060] The collection module is used to collect the page interaction behavior of the target terminal through the behavior embedding points in the target experiment page corresponding to the target version to obtain interaction behavior experimental data.
[0061] The third aspect of the present invention provides a device for collecting interactive behavior experimental data, comprising: a memory and at least one processor, wherein a computer program is stored in the memory; the at least one processor calls the computer program in the memory so that the device for collecting interactive behavior experimental data executes the above-mentioned method for collecting interactive behavior experimental data.
[0062] A fourth aspect of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, which, when executed on a computer, enables the computer to execute the above-mentioned method for collecting interactive behavior experimental data.
[0063] In the technical solution provided by the present invention, the experimental request of the target experimental page is responded to, and the visual editing state of the target experimental page is switched through the experimental request to obtain a visual editing page, so as to perform multi-version page editing on the visual editing page; the target element modification instruction is responded to, and the target element in the visual editing page is edited through the target element modification instruction; when the page editing of each version is completed, a page rendering package corresponding to each version is generated; the loading request of the target experimental page is responded to, and the page rendering package corresponding to the target version is obtained through the loading request; the target experimental page is rendered through the page rendering package corresponding to the target version, so as to collect interactive behavior experimental data of the target experimental page corresponding to the target version on the target terminal. In an embodiment of the present invention, the terminal switches the target experimental page to a visual editing state to obtain a visual editing page on which page elements can be directly edited, so that the experimental page is what you see is what you get, and multiple different versions of the target experimental page are obtained, and corresponding page rendering packages of each version of the experimental page are generated and stored in a server. When the target terminal sends a loading request for the target experimental page, the terminal obtains the page rendering package of the target version to respond to the loading request, and renders the page rendering package of the target version, so that interactive behavior experimental data of different versions of experimental pages containing different effects or functions are collected on the target terminal, thereby improving the efficiency of interactive behavior experimental data collection. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] Figure 1 A schematic diagram of an embodiment of a method for collecting interactive behavior experimental data in an embodiment of the present invention;
[0065] Figure 2 A schematic diagram of another embodiment of a method for collecting interactive behavior experimental data according to an embodiment of the present invention;
[0066] Figure 3 A schematic diagram of an embodiment of a device for collecting interactive behavior experimental data according to an embodiment of the present invention;
[0067] Figure 4 Schematic diagram of another embodiment of a device for collecting interactive behavior experimental data according to an embodiment of the present invention;
[0068] Figure 5 Schematic diagram of an embodiment of a device for collecting interactive behavior experimental data in an embodiment of the present invention. DETAILED DESCRIPTION
[0069] The embodiments of the present invention provide a method, apparatus, device and storage medium for collecting interactive behavior experiment data, which are used to improve the efficiency of interactive behavior experiment data collection.
[0070] The terms "first," "second," "third," "fourth," and the like (if any) in the description and claims of the present invention and in the accompanying drawings are used to distinguish similar objects and are not necessarily used to describe a particular order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" or "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product, or apparatus that includes a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units that are not explicitly listed or that are inherent to these processes, methods, products, or apparatus.
[0071] It is understandable that the execution subject of the present invention may be a device for collecting interactive behavior experiment data, or a terminal or a server, which is not limited here. The embodiment of the present invention is described by taking the terminal as the execution subject as an example.
[0072] For ease of understanding, the specific process of the embodiment of the present invention is described below. Figure 1 , an embodiment of the method for collecting interactive behavior experimental data in an embodiment of the present invention includes:
[0073] 101. Responding to an experiment request of a target experiment page, and switching the target experiment page to a visual editing state according to the experiment request to obtain a visual editing page, so as to perform multi-version page editing on the visual editing page;
[0074] It should be noted that in order to conduct experiments with different effects or functions on the same page to observe the impact of different effects or functions on user behavior, for example, it is necessary to study the impact of different background colors of the same button on user click behavior, or the impact of different description texts of the same order button (such as the two description texts of "order now" and "pay") on user purchasing behavior, etc., when the experimental page management system terminal receives the experimental request of the target experimental page, it switches the target experimental page to a visual editing state by responding to the experimental request, and obtains a visual editing page, so that the visual editing page is edited in multiple versions by the experimental page management system terminal, wherein the experimental page management system terminal is installed with an experimental page management system. For example, when the user enters the access address of the target experimental page in the experimental page management system terminal and submits the experimental request, the experimental page management system terminal responds to the experimental request, and loads the target experimental page, switches to the visual editing state, thereby obtaining a target experimental page that can directly edit the elements on the page, that is, a visual editing page. This embodiment can generate multiple versions of experimental pages without the need for technical personnel by visually editing the experimental page, thereby improving the generation efficiency of the experimental page and thus improving the efficiency of the interactive behavior experiment data collection.
[0075] It can be understood that the visual editing page includes related functions of page visual editing and page generation, such as element selector, element editing panel, experimental page generator, etc., which are used to add, delete and modify the target experimental page at the element level to achieve a what you see is what you get page effect.
[0076] 102. Respond to a target element modification instruction, and edit the target element in the visual editing page through the target element modification instruction;
[0077] In this embodiment, when any element of the experimental page management system terminal is triggered by a modification instruction, the experimental page management system terminal responds to the target element modification instruction, wherein the target element can be one or more, and the experimental page management system terminal edits the target element in the visual editing page through the target element information and modification information in the target element modification instruction, so as to directly edit the page effect or function of the target experimental page in the experimental page management system terminal, thereby improving the visualization of page editing, reducing the difficulty of generating experimental pages, and thus improving the efficiency of interactive behavior experiment data collection. For example, when a user selects a target element in the experimental page management system terminal, modifies the display text of the target element and clicks the modification submit button, the experimental page management system terminal responds to the target element modification instruction submitted by the submit button, and obtains the display text of the target element before modification, and then modifies the display text of the target element to the display text of the modification information in the target element modification instruction, so that the modified display text is displayed in the target experimental page, achieving the purpose of page visual editing.
[0078] In one embodiment, each time the experimental page management system terminal responds to a target element modification instruction, it also generates a target element modification record to obtain a target modification record corresponding to each version. The target modification record is used to indicate all modification records of the target experimental page of the corresponding version, and the target modification record is uploaded to the server, so that the experimental page management system terminal can trace, revoke and restore the modification record of the target experimental page, so that all editing operations of the experimental page management system terminal on the target experimental page can be traced, revoked and restored, thereby improving the flexibility of experimental page editing, and thereby improving the flexibility of interactive behavior experimental data collection.
[0079] 103. When the page editing of each version is completed, generate the page rendering package corresponding to each version;
[0080] In one embodiment, when the experimental page management system terminal receives a version submission instruction, the experimental page management system terminal responds to the version submission instruction, wherein the version submission instruction is used to indicate that the page editing of the current version is completed. The experimental page management system terminal generates a page rendering package corresponding to the current version through the version submission instruction, and uploads the page rendering package corresponding to the current version to the server. Each time the experimental page management system terminal completes the page editing of a version, it generates a page rendering package, version information and modification record corresponding to the version, so that the server sends the page rendering packages corresponding to each version to different user interaction terminals (i.e., target terminals), thereby achieving the purpose of collecting user behavior experimental data.
[0081] It should be noted that since the page editing of each version directly modifies the source code of the target experimental page, the experimental page management system terminal packages the target experimental page after each version of page editing through a preset page packaging tool to generate a page rendering package corresponding to each version. The page rendering package is used to render the target experimental page of that version on the target terminal.
[0082] In one embodiment, when each version of the page is edited, the experimental page management system terminal embeds an interactive behavior collection script into the target experimental page of each version based on the target modification record corresponding to each version, obtains the target experimental page corresponding to each version with the interactive behavior collection script embedded, and generates a page rendering package corresponding to each version using the target experimental page corresponding to each version with the interactive behavior collection script embedded. This embodiment enables interactive behavior collection for different versions of experimental pages using the interactive behavior collection script, thereby improving the accuracy and efficiency of interactive behavior experiment data collection.
[0083] 104. Respond to the target experimental page loading request and obtain the page rendering package corresponding to the target version through the loading request;
[0084] It should be noted that the target terminal and the experimental page management system terminal can be the same terminal or different terminals. Different terminals are used as examples for explanation here. The target terminal is the carrier of the interactive behavior experiment. Different target terminals are used to display different versions of the target experiment page to collect interactive behavior experiment data for different target terminals. In one embodiment, when the target terminal accesses the target experiment page, the target terminal responds to the target experiment page loading request, submits the target experiment page loading request to the server, and receives the target version corresponding page rendering package issued by the server, wherein the target version is determined by the server through the identifier information of the target terminal. The determination method can be random allocation or allocation according to a preset allocation strategy, such as the page rendering package of target version A is allocated when the identifier information ends with 1, and the page rendering package of target version B is allocated when the identifier information ends with 2, etc. The specifics are not limited here.
[0085] 105. Render the target experiment page using a page rendering package corresponding to the target version, so as to collect interactive behavior experiment data of the target experiment page corresponding to the target version on the target terminal.
[0086] In this embodiment, in order to make the target experiment page displayed differently on different target terminals, the target terminal obtains the page rendering package corresponding to the target version through a unified page access address, and then loads the target experiment page according to the page rendering package corresponding to the target version, so as to display the target experiment page corresponding to the target version on the target terminal, and collect interactive behavior experiment data, thereby achieving the purpose of differentiated interactive behavior experiment data collection.
[0087] Furthermore, the server stores the page rendering package in the blockchain database, which is not specifically limited here.
[0088] In an embodiment of the present invention, the terminal switches the target experimental page to a visual editing state to obtain a visual editing page on which page elements can be directly edited, so that the experimental page is what you see is what you get, and multiple different versions of the target experimental page are obtained, and corresponding page rendering packages of each version of the experimental page are generated and stored in a server. When the target terminal sends a loading request for the target experimental page, the terminal obtains the page rendering package of the target version to respond to the loading request, and renders the page rendering package of the target version, so that interactive behavior experimental data of different versions of experimental pages containing different effects or functions are collected on the target terminal, thereby improving the efficiency of interactive behavior experimental data collection.
[0089] See also Figure 2 Another embodiment of the method for collecting interactive behavior experimental data in the embodiment of the present invention includes:
[0090] 201. Responding to an experiment request of a target experiment page, and switching the target experiment page to a visual editing state according to the experiment request to obtain a visual editing page, so as to perform multi-version page editing on the visual editing page;
[0091] Specifically, step 201 includes: responding to the experimental request of the target experimental page, the experimental request including the access address information of the target experimental page; loading the target experimental page through the access address information, and disabling the element interaction events in the target experimental page to obtain the disabled target experimental page; rendering the disabled target experimental page through a preset editing page rendering script, so that the disabled target experimental page enters a visual editing state, and obtains a visual editing page.
[0092] In one embodiment, when the experimental page management system user inputs the access address information of the target experimental page in the experimental page management system and submits the experimental request, the experimental page management system terminal responds to the experimental request of the target experimental page and loads the target experimental page through the access address information of the target experimental page. In order to avoid the element interaction events in the target experimental page from affecting the page editing events in the editing page rendering script, the experimental page management system terminal disables the element interaction events in the target experimental page after loading the target experimental page, and obtains the disabled target experimental page. The page editor is rendered on the disabled target experimental page through the preset editing page rendering script, so that the disabled target experimental page enters the visual editing state and obtains the visual editing page. The element interaction events in the target experimental page are such as click events, mouse over events, page scrolling events, etc., which are not specifically limited here.
[0093] In one embodiment, the method for disabling element interaction events is further limited. Specifically, disabling element interaction events on a target experimental page to obtain a disabled target experimental page includes: adding a mask to the target experimental page based on the window size of the target experimental page to obtain the disabled target experimental page, wherein the mask is used to block the occurrence of element interaction events. This embodiment can simply and efficiently disable element interaction events through the mask, thereby improving the efficiency of generating visual editing pages and thereby improving the efficiency of interactive behavior experiment data collection.
[0094] 202. When a page edit event is triggered at any position in the target experimental page, a target element modification instruction is generated, where the target element modification instruction includes the triggering position of the page edit event;
[0095] It is understandable that the page editing event can be triggered by actions such as a single click, double click, or drag of the mouse, that is, when the mouse is single clicked, double clicked, or dragged to any position in the target experimental page, the page editing event is triggered, and a target element modification instruction corresponding to the page editing event is generated, wherein the target element modification instruction includes the trigger position of the page editing event. For example, the coordinate information of the trigger position is (200, 300). The experimental page management system terminal responds to the target element modification instruction and displays the element modification panel, so that the experimental page management system terminal can directly modify the target element information visually in the element modification panel.
[0096] 203. Obtain target element information through the trigger position of the page editing event in the target element modification instruction, so as to modify the target element information in the visual editing page;
[0097] Specifically, step 203 includes: passing the trigger position into a preset element acquisition event to obtain a target element acquisition event; hiding the mask in the disabled target experiment page, and obtaining target element information through the target element acquisition event.
[0098] In this embodiment, in order to accurately obtain the target element information to be edited in the target experimental page with the mask added, the experimental page management system terminal passes the trigger position into the preset element acquisition event, such as document.elementFromPoint(e.clientX, e.clientY), to obtain the target element acquisition event. The experimental page management system terminal then hides the mask in the disabled target experimental page. The hiding method can be setting the width of the mask to 0, or setting the visibility state attribute of the mask (such as display) to hidden, or deleting the mask, etc., which are all capable of hiding the mask. The specific method is not limited here. Through the target element acquisition event, the target element information is obtained in the target experimental page after hiding the mask, wherein the target element information includes the selector, attributes, style and tag type of the target element, etc. The selector is used to indicate the hierarchical information of the target element in the page rendering tree, attributes such as jump links, placeholder text, etc., styles such as the color, width, height, border, alignment of the target element, etc., and the tag type is used to indicate the tag name of the target element, such as a tag, div tag, p tag, etc.
[0099] 204. When the page editing of each version is completed, generate the page rendering package corresponding to each version;
[0100] After step 203 and before step 204, it also includes: generating an element modification record of the target experimental page; step 204 specifically includes: responding to the version generation instruction of the target experimental page, and judging whether the target experimental page has changed through the element modification record; if the target experimental page has changed, the target experimental page is packaged through a preset page packaging program to obtain a page rendering package corresponding to each version.
[0101] In this embodiment, after the experimental page management system terminal completes a version edit of the target experimental page and submits a version generation request, it responds to the version generation instruction and determines whether the target experimental page has changed through the element modification record. Specifically, it traverses the recording time of each modification record in the element modification record, and compares the recording time of each modification record with the recording time of the historical modification record to obtain a target modification record whose recording time is later than the recording time of the historical modification record. When the target modification record is an empty value, it is determined that the target experimental page has not changed. When the target modification record is not an empty value, it is determined that the target experimental page has changed. The target experimental page is further packaged through a preset page packaging program to obtain page rendering packages corresponding to each version. This embodiment can avoid repeated packaging for the changed experimental page, thereby improving the efficiency of experimental page generation, and further improving the efficiency of interactive behavior experiment data collection.
[0102] 205. Respond to the target experimental page loading request and obtain the page rendering package corresponding to the target version through the loading request;
[0103] Specifically, step 205 includes: when the target terminal sends a loading request for the target experimental page, obtaining identifier information of the target terminal; receiving target version information corresponding to the target terminal through the identifier information, and obtaining a page rendering package corresponding to the target version through the target version information.
[0104] In this embodiment, when the target terminal sends a loading request for the target experimental page, the experimental page management system terminal responds to the loading request and sends a target terminal information acquisition request to the server, obtains the identifier information of the target terminal returned by the server, and then sends a rendering package acquisition request to the server with the identifier information, and receives the target version information corresponding to the target terminal returned by the server and the page rendering package corresponding to the target version information, so as to render the page rendering package on the target terminal.
[0105] 206. Render the target experiment page using a page rendering package corresponding to the target version, so as to collect interactive behavior experiment data of the target experiment page corresponding to the target version on the target terminal.
[0106] Furthermore, after step 206 , the method further includes: collecting page interaction behaviors of the target terminal through behavior embedding points in the target experiment page corresponding to the target version to obtain interaction behavior experiment data.
[0107] In this embodiment, the page rendering package includes an interactive behavior collection script. The experimental page management system terminal collects the page interactive behavior of the target terminal through the behavior tracking of the interactive behavior collection script, obtains interactive behavior experimental data, and uploads the interactive behavior experimental data to the server as interactive behavior experimental data, wherein the behavior tracking is used to capture, process, and upload the interactive behavior of the target terminal to the server. This embodiment can collect data differentially and analyze the impact of pages with different effects or functions on interactive behavior, thereby improving the efficiency of interactive behavior experimental data collection.
[0108] In an embodiment of the present invention, the terminal switches the target experimental page to a visual editing state to obtain a visual editing page on which page elements can be directly edited, so that the experimental page is what you see is what you get, and determines the edited target element information through the trigger position of the page editing event, obtains multiple different versions of the target experimental page, and generates corresponding page rendering packages for each version of the experimental page, which are stored in the server. When the target terminal sends a loading request for the target experimental page, the terminal obtains the page rendering package of the target version to respond to the loading request, and renders the page rendering package of the target version, so that interactive behavior experimental data of different versions of experimental pages containing different effects or functions are collected on the target terminal, thereby improving the efficiency of interactive behavior experimental data collection.
[0109] The above describes the method for collecting interactive behavior experimental data in the embodiment of the present invention. The following describes the device for collecting interactive behavior experimental data in the embodiment of the present invention. Figure 3 In one embodiment of the present invention, a device for collecting interactive behavior experimental data includes:
[0110] The switching module 301 is used to respond to the experiment request of the target experiment page, and switch the visual editing state of the target experiment page according to the experiment request to obtain a visual editing page, so as to perform multi-version page editing on the visual editing page;
[0111] An editing module 302 is configured to respond to a target element modification instruction and edit the target element in the visual editing page according to the target element modification instruction;
[0112] The generation module 303 is used to generate a page rendering package corresponding to each version when the page editing of each version is completed;
[0113] The acquisition module 304 is used to respond to the loading request of the target experimental page and obtain the page rendering package corresponding to the target version through the loading request;
[0114] The rendering module 305 is configured to render the target experiment page using the page rendering package corresponding to the target version, so as to collect interactive behavior experiment data of the target experiment page corresponding to the target version on the target terminal.
[0115] Furthermore, the page rendering package is stored in the blockchain database, which is not specifically limited here.
[0116] In an embodiment of the present invention, the terminal switches the target experimental page to a visual editing state to obtain a visual editing page on which page elements can be directly edited, so that the experimental page is what you see is what you get, and multiple different versions of the target experimental page are obtained, and corresponding page rendering packages of each version of the experimental page are generated and stored in a server. When the target terminal sends a loading request for the target experimental page, the terminal obtains the page rendering package of the target version to respond to the loading request, and renders the page rendering package of the target version, so that interactive behavior experimental data of different versions of experimental pages containing different effects or functions are collected on the target terminal, thereby improving the efficiency of interactive behavior experimental data collection.
[0117] See also Figure 4 Another embodiment of the device for collecting interactive behavior experimental data in the embodiment of the present invention includes:
[0118] The switching module 301 is used to respond to the experiment request of the target experiment page, and switch the visual editing state of the target experiment page according to the experiment request to obtain a visual editing page, so as to perform multi-version page editing on the visual editing page;
[0119] An editing module 302 is configured to respond to a target element modification instruction and edit the target element in the visual editing page according to the target element modification instruction;
[0120] The generation module 303 is used to generate a page rendering package corresponding to each version when the page editing of each version is completed;
[0121] The acquisition module 304 is used to respond to the loading request of the target experimental page and obtain the page rendering package corresponding to the target version through the loading request;
[0122] The rendering module 305 is configured to render the target experiment page using the page rendering package corresponding to the target version, so as to collect interactive behavior experiment data of the target experiment page corresponding to the target version on the target terminal.
[0123] Optionally, the switching module 301 includes:
[0124] The response unit 3011 is configured to respond to an experiment request of a target experiment page, wherein the experiment request includes access address information of the target experiment page;
[0125] a disabling unit 3012, configured to load the target experiment page according to the access address information, and disable element interaction events in the target experiment page to obtain the disabled target experiment page;
[0126] The rendering unit 3013 is configured to render the disabled target experiment page through a preset editing page rendering script, so that the disabled target experiment page enters a visual editing state and obtains a visual editing page.
[0127] Optionally, the editing module 302 includes:
[0128] The positioning unit 3021 is configured to generate a target element modification instruction when a page editing event is triggered at any position in the target experimental page, wherein the target element modification instruction includes the triggering position of the page editing event;
[0129] The acquiring unit 3022 is configured to acquire target element information according to the triggering position of the page editing event in the target element modification instruction, so as to modify the target element information in the visual editing page.
[0130] Optionally, the disabling unit 3012 is specifically configured to:
[0131] According to the window size of the target experimental page, a mask is added to the target experimental page to obtain a disabled target experimental page;
[0132] The acquisition unit 3022 is specifically configured to:
[0133] The trigger position is passed into the preset element acquisition event to obtain the target element acquisition event;
[0134] The mask in the disabled target experiment page is hidden, and target element information is obtained through the target element acquisition event.
[0135] Optionally, the interactive behavior experimental data collection device further includes:
[0136] Recording module 306, used to generate element modification records of the target experiment page;
[0137] The generating module 303 is specifically used for:
[0138] Responding to a version generation instruction of a target experiment page, and determining whether the target experiment page has changed according to the element modification record;
[0139] If the target experimental page is changed, the target experimental page is packaged by a preset page packaging program to obtain page rendering packages corresponding to each version.
[0140] Optionally, the acquisition module 304 is specifically configured to:
[0141] When the target terminal sends a request to load the target experiment page, obtaining identifier information of the target terminal;
[0142] Receive target version information corresponding to the target terminal through the identifier information, and obtain a page rendering package corresponding to the target version through the target version information.
[0143] Optionally, the interactive behavior experimental data collection device further includes:
[0144] The collection module 307 is used to collect the page interaction behavior of the target terminal through the behavior embedding points in the target experiment page corresponding to the target version to obtain interaction behavior experiment data.
[0145] In an embodiment of the present invention, the terminal switches the target experimental page to a visual editing state to obtain a visual editing page on which page elements can be directly edited, so that the experimental page is what you see is what you get, and determines the edited target element information through the trigger position of the page editing event, obtains multiple different versions of the target experimental page, and generates corresponding page rendering packages for each version of the experimental page, which are stored in the server. When the target terminal sends a loading request for the target experimental page, the terminal obtains the page rendering package of the target version to respond to the loading request, and renders the page rendering package of the target version, so that interactive behavior experimental data of different versions of experimental pages containing different effects or functions are collected on the target terminal, thereby improving the efficiency of interactive behavior experimental data collection.
[0146] above Figure 3 and Figure 4 The apparatus for collecting interactive behavior experimental data in the embodiment of the present invention is described in detail from the perspective of modular functional entities. The following describes the apparatus for collecting interactive behavior experimental data in the embodiment of the present invention in detail from the perspective of hardware processing.
[0147] Figure 5: This is a structural diagram of an interactive behavior experiment data collection device provided by an embodiment of the present invention. The interactive behavior experiment data collection device 500 may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 510 (for example, one or more processors) and a memory 520, and one or more storage media 530 (for example, one or more massive storage devices) for storing application programs 533 or data 532. Among them, the memory 520 and the storage medium 530 can be temporary storage or permanent storage. The program stored in the storage medium 530 may include one or more modules (not shown in the figure), and each module may include a series of computer program operations in the interactive behavior experiment data collection device 500. Furthermore, the processor 510 can be configured to communicate with the storage medium 530 to execute a series of computer program operations in the storage medium 530 on the interactive behavior experiment data collection device 500.
[0148] The interactive behavior experiment data collection device 500 may also include one or more power supplies 540, one or more wired or wireless network interfaces 550, one or more input and output interfaces 560, and / or one or more operating systems 531, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD, etc. It will be understood by those skilled in the art that Figure 5 The illustrated structure of the interactive behavior experiment data collection device does not limit the interactive behavior experiment data collection device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0149] The present invention also provides a computer device, which includes a memory and a processor. The memory stores a computer-readable computer program. When the computer-readable computer program is executed by the processor, the processor executes the steps of the method for collecting interactive behavior experimental data in the above-mentioned embodiments.
[0150] The present invention also provides a computer-readable storage medium, which can be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. The computer-readable storage medium stores a computer program. When the computer program runs on a computer, the computer executes the steps of the method for collecting interactive behavior experimental data.
[0151] Furthermore, the computer-readable storage medium may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function, etc.; the data storage area may store data created according to the use of the blockchain node, etc.
[0152] Blockchain, as used in this article, refers to a novel application model for computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanisms, and encryption algorithms. Blockchain is essentially a decentralized database, a series of data blocks generated using cryptographic methods. Each block contains information about a batch of online transactions, used to verify the validity of this information (to prevent counterfeiting) and generate the next block. Blockchain can include the underlying blockchain platform, the platform product service layer, and the application service layer.
[0153] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0154] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several computer programs for enabling a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, and other media that can store program code.
[0155] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that the technical solutions described in the above embodiments can still be modified, or some of the technical features thereof can be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for collecting interactive behavior experimental data, characterized in that: The method for collecting interactive behavior experimental data includes: Responding to an experiment request of a target experiment page, and switching a visual editing state of the target experiment page according to the experiment request to obtain a visual editing page, so as to perform multi-version page editing on the visual editing page; Responding to a target element modification instruction, and editing the target element in the visual editing page according to the target element modification instruction; When the page editing of each version is completed, the page rendering package corresponding to each version is generated; Responding to the target experimental page's loading request, and obtaining a page rendering package corresponding to the target version through the loading request; Rendering a target experiment page through a page rendering package corresponding to the target version, so as to collect interactive behavior experiment data of the target experiment page corresponding to the target version on a target terminal; The step of responding to the experiment request of the target experiment page and switching the target experiment page to a visual editing state according to the experiment request to obtain a visual editing page includes: Responding to an experiment request of a target experiment page, wherein the experiment request includes access address information of the target experiment page; Loading the target experiment page through the access address information, and disabling element interaction events in the target experiment page to obtain a disabled target experiment page; Rendering the disabled target experiment page through a preset editing page rendering script, so that the disabled target experiment page enters a visual editing state, and obtaining a visual editing page; After responding to the target element modification instruction and editing the target element in the visual editing page according to the target element modification instruction, when the page editing of each version is completed and before generating the page rendering package corresponding to each version, the method for collecting interactive behavior experimental data further includes: Generate element modification records of the target experiment page; When the page editing of each version is completed, a page rendering package corresponding to each version is generated, including: Responding to a version generation instruction of a target experiment page, and determining whether the target experiment page has changed according to the element modification record; If the target experimental page is changed, the target experimental page is packaged by a preset page packaging program to obtain page rendering packages corresponding to each version.
2. The method for collecting interactive behavior experimental data according to claim 1, characterized in that: The responding to the target element modification instruction and editing the target element in the visual editing page according to the target element modification instruction includes: When a page editing event is triggered at any position in the target experimental page, a target element modification instruction is generated, wherein the target element modification instruction includes the triggering position of the page editing event; The target element information is obtained through the triggering position of the page editing event in the target element modification instruction, so as to modify the target element information in the visual editing page.
3. The method for collecting interactive behavior experimental data according to claim 2, characterized in that: The step of disabling element interaction events in the target experiment page to obtain the disabled target experiment page includes: According to the window size of the target experiment page, a mask is added to the target experiment page to obtain a disabled target experiment page; The acquiring target element information according to the triggering position of the page editing event in the target element modification instruction to modify the target element information in the visual editing page includes: The trigger position is passed into the preset element acquisition event to obtain the target element acquisition event; The mask in the disabled target experiment page is hidden, and target element information is obtained through the target element acquisition event.
4. The method for collecting interactive behavior experimental data according to claim 1, characterized in that: The responding to the target experimental page loading request and obtaining the page rendering package corresponding to the target version through the loading request includes: When the target terminal sends a request to load the target experiment page, obtaining identifier information of the target terminal; Receive target version information corresponding to the target terminal through the identifier information, and obtain a page rendering package corresponding to the target version through the target version information.
5. The method for collecting interactive behavior experimental data according to claim 1, characterized in that: After rendering the target experiment page by using the page rendering package corresponding to the target version to collect interactive behavior experiment data of the target experiment page corresponding to the target version on the target terminal, the interactive behavior experiment data collection method further includes: The page interaction behavior of the target terminal is collected through the behavior embedding points in the target experiment page corresponding to the target version to obtain the interaction behavior experiment data.
6. A device for collecting interactive behavior experimental data, characterized in that: The interactive behavior experimental data collection device includes: A switching module is used to respond to an experiment request of a target experiment page, and switch the target experiment page to a visual editing state according to the experiment request to obtain a visual editing page, so as to perform multi-version page editing on the visual editing page; An editing module, configured to respond to a target element modification instruction and edit the target element in the visual editing page according to the target element modification instruction; The generation module is used to generate the page rendering package corresponding to each version when the page editing of each version is completed; An acquisition module, configured to respond to a loading request for the target experimental page and obtain a page rendering package corresponding to the target version through the loading request; A rendering module, configured to render a target experimental page using a page rendering package corresponding to the target version, so as to collect interactive behavior experimental data of the target experimental page corresponding to the target version on a target terminal; A recording module, used to generate element modification records of the target experiment page; The generation module is specifically configured to: respond to a version generation instruction of a target experiment page, and determine whether the target experiment page has changed based on the element modification record; if the target experiment page has changed, package the target experiment page using a preset page packaging program to obtain page rendering packages corresponding to each version; The switching module further includes: A response unit, configured to respond to an experiment request of a target experiment page, wherein the experiment request includes access address information of the target experiment page; a disabling unit, configured to load the target experiment page through the access address information, and disable element interaction events in the target experiment page to obtain the disabled target experiment page; The rendering unit is used to render the disabled target experiment page through a preset editing page rendering script, so that the disabled target experiment page enters a visual editing state and obtains a visual editing page.
7. A device for collecting interactive behavior experimental data, characterized in that: The interactive behavior experimental data collection device includes: a memory and at least one processor, wherein the memory stores a computer program; The at least one processor calls the computer program in the memory to enable the interactive behavior experiment data collection device to execute the interactive behavior experiment data collection method according to any one of claims 1 to 5.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for collecting interactive behavior experimental data as described in any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Document page generation method and device, computer equipment and storage medium
CN109901834A
Page rendering method and device, terminal and storage medium
CN113703893A