An external network data mapping method based on user behavior backtracking and related equipment

By constructing a replay website and simulating user behavior events on it, the problem in the existing technology that user behavior review is difficult to simulate the external network interaction process is solved, and an in-depth understanding of user behavior and troubleshooting are achieved.

CN113377633BActive Publication Date: 2024-09-06BEIJING ZHENGUANYU TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110572756.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-05-25
Publication Date
2024-09-06
Estimated Expiration
2041-05-25

AI Technical Summary

Technical Problem

The existing technology is difficult to simulate the network interaction process of users accessing external servers when backtracking user behavior, making it difficult for developers and maintenance personnel to understand the cause of problems from the bottom of user behavior, affecting troubleshooting.

Method used

By establishing the corresponding relationship between the target application website requested by the user and the replay website and the actual storage address of the user behavior event, the replay website is constructed, and these relationships are used to simulate user behavior events in the replay website when receiving backtracking instructions, achieving Replay the interaction process on the target application website.

Benefits of technology

There is no need to interact with the external server again, which makes it easier for developers and maintenance personnel to understand the cause of the problem from the bottom of user behavior, helping troubleshooting and problem correction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113377633B
    Figure CN113377633B
Patent Text Reader

Abstract

The present application discloses an external network data mapping method and related equipment based on user behavior backtracking, which relates to the field of computer technology, and mainly improves the problem that the existing user behavior backtracking method is difficult to simulate the network interaction process of users accessing external servers, and there is a relatively limited backtracking of user behavior. The method includes: establishing a correspondence between the address of the target application website that the user requests to access and the address of the playback website collected in advance, and obtaining a first mapping relationship to construct a playback website; establishing a correspondence between the actual address that the user requests to access and the actual storage address of the corresponding user behavior event collected in advance, and obtaining a second mapping relationship; if a backtracking instruction is detected, the simulation operation is performed using the first mapping relationship and the second mapping relationship. The present application is used for an external network data mapping method based on user behavior backtracking.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to an external network data mapping method based on user behavior backtracking and related equipment. Background Art

[0002] With the rapid development of smart terminals, software or applications are increasingly used on smart terminals. Some problems may occur during the development of software or applications or during user use. Usually, in order to solve problems in the use of software or applications, development and maintenance personnel need to promptly understand the process of users using the software or applications as a basis for subsequent troubleshooting and problem solving. Generally, it is necessary to record the process of users using the software or applications and trace back the recorded user behavior. By observing the user's behavior at the time, the cause of the problem with the software or application can be determined so that corresponding solutions can be found based on this.

[0003] However, when backtracking user behavior, application snapshots are often used for playback, that is, the user's current operation interface is recorded and the corresponding snapshot data is calculated during the user's execution of the corresponding operation. When the user needs to backtrack, it is achieved by playing the previously recorded snapshot data. However, in actual applications, the existing backtracking using application snapshots often replays the effects of the user's operation form, and it is difficult to simulate the network interaction process of the user accessing the external server. There is a problem of limited backtracking of user behavior, which is not conducive to development and maintenance personnel to understand the cause of the problem from the bottom of the user behavior, thus affecting subsequent troubleshooting. Summary of the invention

[0004] The embodiment of the present application provides an external network data mapping method and related equipment based on user behavior backtracking, which can improve the problem that the existing user behavior backtracking method is difficult to simulate the network interaction process of users accessing external servers, and has a relatively limited backtracking of user behavior.

[0005] A first aspect of an embodiment of the present application provides an external network data mapping method based on user behavior backtracking, comprising:

[0006] Establishing a correspondence between the address of the target application website requested to be accessed by the user and the address of the playback website collected in advance, obtaining a first mapping relationship, so as to construct the playback website;

[0007] Establishing a correspondence between the actual address of the user request access collected in advance and the actual storage address of the corresponding user behavior event to obtain a second mapping relationship;

[0008] If a backtracking instruction is detected, a simulation operation is performed using the first mapping relationship and the second mapping relationship, wherein the simulation operation is used to backtrack the user behavior event in the playback website.

[0009] In a feasible implementation manner, the first mapping relationship includes a first sub-relationship and a second sub-relationship;

[0010] The step of establishing a correspondence between the address of the target application website that the user requests to access and the address of the playback website, obtaining a first mapping relationship, and constructing the playback website includes:

[0011] Based on the pre-collected address of the target application website requested by the user, construct the link entry address of the playback website, wherein the playback website corresponds to at least one of the link entry addresses, and the correspondence between the address of the target application website and the link entry address of the playback website forms the first sub-relationship;

[0012] Based on the link entry address, construct the address of the playback website, wherein the corresponding relationship between the link entry address and the address of the playback website forms the second sub-relationship;

[0013] Based on the address of the playback website, a resource entry address of the playback website is constructed to complete the construction of the playback website.

[0014] In a feasible implementation manner, if a backtrace instruction is detected, the step of performing a simulation operation using the first mapping relationship and the second mapping relationship includes:

[0015] If the backtracking instruction is detected, the pre-collected user behavior event is simulated and dispatched according to the backtracking instruction, wherein the user behavior event includes the communication data between the user and the target application website and the operation data performed by the user on the target application website;

[0016] Determining the playback website by simulating the communication data and the first mapping relationship;

[0017] Retrieving the communication data and the operation data from the actual storage address of the user behavior event by simulating the distributed communication data and the second mapping relationship;

[0018] The retrieved communication data and the operation data are executed in the playback website according to the trigger time, so as to trace back the user behavior event in the playback website.

[0019] In a feasible implementation manner, before the step of performing a simulation operation by using the first mapping relationship and the second mapping relationship if a backtrace instruction is detected, the step further includes:

[0020] A preset interception tool is deployed in the browser, and the preset interception tool is used to intercept the simulated user behavior event.

[0021] In a feasible implementation manner, the step of determining the playback website by simulating the distributed user behavior event and the first mapping relationship includes:

[0022] Using the preset interception tool to intercept the simulated user behavior event;

[0023] Determine the link entry address by using the actual address requested by the user in the intercepted user behavior event and the first sub-relationship;

[0024] Determining the playback website through the link entry address and the second sub-relationship;

[0025] The step of simulating and distributing the pre-collected user behavior event and the second mapping relationship, and retrieving the communication data and the operation data from the actual storage address of the user behavior event, comprises:

[0026] Determine the actual storage address of the user behavior event by using the actual address of the user request to access in the intercepted user behavior event and the second mapping relationship;

[0027] The communication data and the operation data are retrieved from the actual storage address of the user behavior event.

[0028] In a feasible implementation manner, the step of constructing the link entry address of the playback website based on the pre-collected address of the target application website requested to be accessed by the user includes:

[0029] The link entry address of the playback website is constructed based on the pre-collected address of the target application website that the user requests to access, wherein the address of the target application website is the same as the domain name of the link entry address.

[0030] In a feasible implementation manner, the step of constructing the link entry address of the playback website based on the pre-collected address of the target application website requested to be accessed by the user includes:

[0031] The link entry address is constructed based on the mapping identifier and the domain name of the address of the target application website.

[0032] In a feasible implementation manner, the step of constructing the address of the playback website based on the link entry address includes:

[0033] Replacing the service name in the domain name of the link entry address with the mapping identifier to obtain the address of the playback website;

[0034] The step of constructing a resource entry address of the playback website based on the address of the playback website to complete the construction of the playback website includes:

[0035] The resource name is added after the address of the playback website to obtain the resource entry address of the playback website to complete the construction of the playback website.

[0036] A second aspect of an embodiment of the present application provides an external network data mapping device based on user behavior backtracking, comprising:

[0037] A construction module, used to establish a correspondence between the address of the target application website requested to be accessed by the user and the address of the playback website, and obtain a first mapping relationship to construct the playback website;

[0038] A mapping module, used to establish a correspondence between the actual address of the user request access collected in advance and the actual storage address of the corresponding user behavior event, to obtain a second mapping relationship;

[0039] A backtracking module is used to perform a simulation operation using the first mapping relationship and the second mapping relationship if a backtracking instruction is detected, wherein the simulation operation is used to backtrack the user behavior event in the playback website.

[0040] According to a second aspect of an embodiment of the present application, a storage medium is provided, wherein the storage medium includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the external network data mapping method based on user behavior backtracking described in the first aspect above.

[0041] According to a second aspect of an embodiment of the present application, an electronic device is provided, comprising at least one processor, and at least one memory and a bus connected to the processor; wherein the processor and the memory communicate with each other via the bus; and the processor is used to call program instructions in the memory to execute the external network data mapping method based on user behavior backtracking described in the first aspect above.

[0042] The external network data mapping method and related equipment for user behavior backtracking provided in the embodiment of the present application obtain the address of the playback website based on the address of the target application website that the user requests to access that is collected in advance, and then obtain the first mapping relationship. In the process, the playback website is constructed. In the process of user behavior backtracking, when tracing the user's access to the target application website, the user's request to access the target application website can be linked to the playback website through the first mapping relationship. The user's request to access the target application website is converted into a request to access the playback website through the first mapping relationship. The user behavior event of the user's request to access the target application website can be retrieved through the second mapping relationship. By performing simulation operations, the user's behavior events can be simulated and replayed through the playback website, thereby realizing the backtracking of user behavior events in the playback website. The prior art uses application snapshots to backtrack, which often replays the effects of user operations, making it difficult to simulate the network interaction process of users accessing external servers. The external network data mapping method for user behavior backtracking provided in the embodiment of the present application constructs a playback website to act as a target application website on an external server, and simulates the interaction with the playback website to achieve the replay of the interaction process of the target application website. During the simulation process, there is no need to interact with the external network server again, which can be more helpful for development and maintenance personnel to understand the causes of problems from the bottom of user behavior, especially to discover whether there are problems with the interaction behavior with the external network server, thereby facilitating subsequent troubleshooting and problem correction. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 A schematic flow chart of an external network data mapping method based on user behavior backtracking provided in an embodiment of the present application;

[0044] Figure 2 A schematic structural block diagram of an external network data mapping device based on user behavior backtracking provided in an embodiment of the present application;

[0045] Figure 3 A schematic structural block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0046] In order to better understand the technical solutions provided by the embodiments of this specification, the technical solutions of the embodiments of this specification are described in detail below through the accompanying drawings and specific embodiments. It should be understood that the embodiments of this specification and the specific features in the embodiments are detailed descriptions of the technical solutions of the embodiments of this specification, rather than limitations on the technical solutions of this specification. In the absence of conflict, the embodiments of this specification and the technical features in the embodiments can be combined with each other.

[0047] In this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or equipment including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or equipment. In the absence of more restrictions, the elements limited by the statement "comprise one..." do not exclude the existence of other identical elements in the process, method, article or equipment including the elements. The term "more than two" includes two or more than two situations.

[0048] With the rapid development of smart terminals, software or applications are increasingly used on smart terminals. There will be some problems in the development process of software or applications or in the process of user use. Usually, in order to solve the problems in the use of software or applications, development and maintenance personnel need to understand the process of users using software or applications in a timely manner as a basis for subsequent troubleshooting and problem solving. Generally, it is necessary to record the process of users using software or applications, and trace back the recorded user behavior, and determine the cause of the problem of the software or application by observing the user's behavior at that time, so as to find a corresponding solution based on this. However, at present, when tracing back user behavior, it is often played back in the form of application snapshots, that is, the user's current operation interface is recorded and the corresponding snapshot data is calculated during the user's execution of the corresponding operation. When the user needs to trace back, it is achieved by playing the previously recorded snapshot data. However, in actual applications, the existing backtracking using application snapshots often involves replaying the effects of the user's operation form, and it is difficult to simulate the network interaction process of the user accessing the external server. There is a problem of limited backtracking of user behavior, which is not conducive to the development and maintenance personnel to understand the cause of the problem from the bottom of the user behavior, thereby affecting subsequent troubleshooting.

[0049] In view of this, an embodiment of the present application provides an external network data mapping method and related equipment based on user behavior backtracking, which can improve the problem that the existing user behavior backtracking method is difficult to simulate the network interaction process of users accessing external servers, and has relatively limited backtracking of user behavior.

[0050] In one possible implementation, Figure 1 A schematic flow chart of an external network data mapping method based on user behavior backtracking provided in an embodiment of the present application. Figure 1 As shown, the external network data mapping method based on user behavior backtracking provided in the embodiment of the present application includes:

[0051] S100: Establish a correspondence between the address of the target application website that the user requests to access and the address of the playback website that has been collected in advance, and obtain a first mapping relationship to construct a playback website. The access request of the user to the target application website involved in the embodiment of the present application can be made through a certain client. The client used by the user can be a mobile phone, a computer or a tablet, etc., which is not specifically limited in this application. On the client used by the user, when it is detected that the user initiates an access request to the target server, the user behavior event is collected, wherein the user behavior event may include communication data and operation data. Communication data is the interaction data between the user and the target server. The interaction data usually includes requests and feedback, that is, the communication data usually includes user access requests and data corresponding to the user access request. Operation data is the user's operation event. The operation event can be a click event, a circle event, a copy event, a scroll event, a keyboard input event or a mouse movement event, etc. Taking the click event as an example, the click event can include the trigger node of the click and the time information of the click, etc., which is not specifically limited in this application. The user behavior events collected by the client can be uploaded to the system server, the playback website can be built in the system server, or the playback website can be built on the client that has a communication connection with the system server, which is not specifically limited in this application. In the process of constructing the address of the playback website based on the address of the target application website, the correspondence between the address of the target application website and the address of the playback website can be obtained, that is, the first mapping relationship. In the process of user behavior backtracking, when tracing back the user's visit to the target application website, the user's request to access the link can be linked to the playback website through the first mapping relationship, so that the user's request to access the target application website can be traced back through the playback website. Exemplarily, the address of the target application website can be a.AAAA.com or b.BBBB.com, and the corresponding address of the playback website can be tenet.AAAA.com / tenet or tenet.BBBB.com / tenet, which is not specifically limited in this application. The playback website can be regarded as a container for tracing back user behavior, which is not specifically limited in this application.

[0052] S200: Establish a correspondence between the actual address of the user's request to access that has been collected in advance and the actual storage address of the corresponding user behavior event, and obtain a second mapping relationship. Among them, the actual address that the user requests to access can be the user's address of the target application website and / or the address of the jump web page on the target application website. The user behavior event may include the actual address that the user requests to access, the web page data (web application construction product) corresponding to the actual address that the user requests to access, and the user's operation event on the web page that the user requests to access, etc., which is not specifically limited in this application. The user behavior event can be stored in the cloud or other storage servers, which is not specifically limited in this application. Exemplarily, the actual address that the user requests to access can be a.AAAA.com / index.html (the homepage resource address corresponding to the target application website a.AAAA.com), the actual address that the user requests to access can also be the address of the target application website a.AAAA.com, and the actual address that the user requests to access can also be the jump web page address of the target application website or any other address on the target application website, such as a.AAAA.com / abcd / kick, a.AAAA.com / back / tect, etc., which are not specifically limited in this application. The second mapping relationship can establish a corresponding relationship between the actual address requested by the user and the actual storage address of the corresponding user behavior event, so as to facilitate the retrieval of the user behavior event when tracing back the user behavior event.

[0053] S300: If a backtracking instruction is detected, a simulation operation is performed using the first mapping relationship and the second mapping relationship, wherein the simulation operation is used to backtrack the user behavior event in the playback website.

[0054] It is easy to understand that the purpose of accessing a website or web page is to obtain the corresponding resources under the website address or web page address. The resources can be file resources, image data or other data. The resources can correspond to the application construction products or feedback data in the communication data collected on the client above, and this application does not make specific limitations. In the process of user behavior backtracking, when tracing back the user's access to the target application website, the user request access to the target application website can be linked to the playback website through the first mapping relationship. Through the first mapping relationship, the user request access to the target application website is converted into a request access to the playback website. Then, through the second mapping relationship, the user behavior event of the user's user request access to the target application website can be retrieved to realize the backtracking of the user behavior event in the playback website. Executing a simulated operation is the backtracking of user behavior. It can start from the user behavior event corresponding to the backtracking instruction, and execute each user behavior event in sequence according to the trigger time, wherein the user behavior event is composed of user operation data. Exemplarily, in the user operation data collection stage, any web page from opening to closing can be regarded as a session, and all communication data and operation data of the user from opening to closing of any web page can be marked with a session ID (session ID). In the process of tracing back the user behavior events, all communication events and operation events from opening to closing of any web page can be traced back according to the session ID. In the process of executing the simulation operation, the process of communication event request and feedback is replayed through the playback website, and the playback website plays the role of the target access website; in addition, the operation data can include the operation code. In the process of executing the simulation operation, the user's operation event is traced back by running the operation code again to realize the replay of the user's operation event. At the same time, the operation code can be displayed on the playback interface. When it is found that there are certain problems in the monitored application or software, real-time modifications can be made directly in the corresponding operation code to facilitate the search and correction of the problem.

[0055] Exemplarily, in the process of building a playback website, the address of the target application website that the user requests to access and collected in advance may be a.AAAA.com, and the website address a.AAAA.com may be retrieved from the communication data of the user behavior event collected in advance to build the playback website. The website address a.AAAA.com may also be determined based on the set functional scope of the playback website. For example, the playback website is set to be used only for replaying the user's access process to website A (website address a.AAAA.com) and website B (website address a.BBBB.com), which is not specifically limited in this application. Based on the address a.AAAA.com of the target application website that the user requests to access, the address tenet.AAAA.com / tenet of the playback website may be constructed, and the correspondence between the address a.AAAA.com of the target application website that the user requests to access and the address tenet.AAAA.com / tenet of the playback website forms a first mapping relationship. The actual address that the user requests to access that is collected in advance may be a.AAAA.com / abcd / kick, and the actual address that the user requests to access a.AAAA.com / abcd / kick may be retrieved from the communication data of the user behavior event that is collected in advance. Other data in the user behavior event (for example, the application construction product corresponding to the actual address that the user requests to access, i.e., the web page code, and the user's operation data on the accessed web page, i.e., the operation code, etc.) are still stored in the actual storage address of the user behavior event (for example, p.wangpan.com). It is necessary to establish a corresponding relationship between the actual address that the user requests to access (a.AAAA.com / abcd / kick) and the actual storage address of the user behavior event (p.wangpan.com) to form a second mapping relationship. When backtracking the user behavior event, it is necessary to perform a simulation operation according to the backtracking instruction. Specifically, the first mapping relationship can be used, based on the actual address of the user's requested access being a.AAAA.com / abcd / kick, the user's actual access to a.AAAA.com / abcd / kick can be connected to the access to the playback website tenet.AAAA.com / tenet, and then the second mapping relationship can be used, based on the feedback data obtained from the user's actual access to a.AAAA.com / abcd / kick and the operation data on the corresponding web page can be retrieved from the actual storage address (p.wangpan.com), and the retrieved feedback data and the operation data on the corresponding web page are executed in the playback website and the execution results are presented, so as to simulate the user's access to the target application website (or the jump web page to the target application website) in the playback website. This exemplary description is not intended to be a specific limitation of the present application.

[0056] The external network data mapping method for user behavior backtracking provided in the embodiment of the present application obtains the address of the playback website based on the address of the target application website that the user requests to access that is collected in advance, and then obtains the first mapping relationship. The playback website is constructed in the process. In the process of user behavior backtracking, when tracing the user's access to the target application website, the user's request to access the target application website can be linked to the playback website through the first mapping relationship. The user's request to access the target application website is converted into a request to access the playback website through the first mapping relationship. The user behavior event of the user's request to access the target application website can be retrieved through the second mapping relationship. By performing simulation operations, the user's behavior events can be simulated and replayed through the playback website, thereby realizing the backtracking of user behavior events in the playback website. The prior art uses application snapshots to backtrack, which often replays the effects of user operations, making it difficult to simulate the network interaction process of users accessing external servers. The external network data mapping method for user behavior backtracking provided in the embodiment of the present application constructs a playback website to act as a target application website on an external server, and simulates the interaction with the playback website to achieve the replay of the interaction process of the target application website. During the simulation process, there is no need to interact with the external network server again, which can be more helpful for development and maintenance personnel to understand the causes of problems from the bottom of user behavior, especially to discover whether there are problems with the interaction behavior with the external network server, thereby facilitating subsequent troubleshooting and problem correction.

[0057] In a feasible implementation manner, the first mapping relationship includes a first sub-relationship and a second sub-relationship.

[0058] Step S100 may include:

[0059] Based on the pre-collected address of the target application website that the user requests to access, a link entry address of the playback website is constructed, wherein the playback website corresponds to at least one link entry address, and the correspondence between the address of the target application website and the link entry address of the playback website forms a first sub-relationship. Exemplarily, the address of the target application website may be a.AAAA.com, and the link entry address of the playback website may be a.AAAA.com / tenet. If there are multiple target application websites, there will be multiple addresses of corresponding target application websites, and also multiple link entry addresses, but there may be only one playback website, that is, one playback website may have multiple link entry addresses. Users can request to visit different target application websites, but the tracing of user behavior events can be achieved through the same playback website, which is not specifically limited in this application.

[0060] Based on the link entry address, the address of the playback website is constructed, wherein the corresponding relationship between the link entry address and the address of the playback website forms a second sub-relationship. For example, the link entry address may be a.AAAA.com / tenet, and the corresponding playback website address may be tenet.AAAA.com / tenet, or tenet.XXXX.com / tenet, which is not specifically limited in this application.

[0061] Based on the address of the playback website, construct the resource entry address of the playback website to complete the construction of the playback website. The resource entry address of the playback website can be used to build an inline frame (iframe) of the playback website. The resource entry address of the playback website can be a.AAAA.com / tenetsw.js, where tenetsw.js can be a file path, which can be a resource required to build the inline frame of the playback website. Correspondingly, the resource entry address of the playback website can also be tenet.XXXX.com / tenetsw.js, which is not specifically limited in this application. The playback website can be regarded as a real website, but there are only inline frames and functions required for the normal operation of the website, such as start and pause buttons, query session lists, etc., which are not specifically limited in this application.

[0062] The application construction products or other contents of the web page need to put the actual communication data and operation data in the user behavior events into the playback website for execution and display.

[0063] The external network data mapping method based on user behavior backtracking provided in the embodiment of the present application can construct the address of the playback website through the first sub-relationship and the second sub-relationship, and construct the inline frame of the playback website through the address of the playback website, thereby constructing a complete playback website. In order to simulate the user's actual user access request to the target application website as the user's access to the playback website, a link entry address can be constructed through the address of the target application website based on the actual user access request, and the address of the playback website can be constructed based on the link entry address, and then the resource entry address of the playback website can be constructed, thereby constructing a complete playback website. The playback website can be used as a playback container and a proxy access website to simulate the user's access process to the target application website. By establishing a link entry address, it can be achieved that user request access to multiple target application websites can be linked to the playback website for simulated backtracking, so there is no need to establish multiple playback websites corresponding to multiple target application websites, which can save system resources.

[0064] In a feasible implementation manner, step S300 may include:

[0065] If a backtracking instruction is detected, the pre-collected user behavior events are simulated and distributed according to the backtracking instruction, where the user behavior events include the communication data between the user and the target application website and the operation data performed by the user on the target application website. The backtracking instruction can be a trigger instruction for backtracking the user behavior event, which is not specifically limited in this application. The simulated distribution can be performed according to the backtracking instruction, and the rule of the simulated distribution can be to distribute in sequence according to the triggering time of the user behavior event.

[0066] The playback website is determined by simulating the communication data and the first mapping relationship. Exemplarily, the user request to access the target application website in the user behavior event can be linked to the request to access the playback website through the first mapping relationship according to the simulated user behavior event, that is, the actual address of the user request to access is linked to the playback website. The communication data simulated in this step can be the actual address of the user request to access.

[0067] By simulating the communication data and the second mapping relationship, the communication data and operation data are retrieved from the actual storage address of the user behavior event. The communication data simulated and distributed in this step can be the actual address requested by the user, and the retrieved communication data can be the communication feedback data corresponding to the actual address requested by the user. For example, data such as the web page code of the web page actually visited is not specifically limited in this application. It should be noted that the actual address requested by the user and the communication feedback data corresponding to the actual address requested by the user are both communication data, but the actual address requested by the user is retrieved in advance for use when establishing the second mapping relationship.

[0068] The retrieved communication data and operation data are executed on the playback website according to the trigger time to trace back the user behavior events on the playback website. The simulation distribution process can be understood as simulating a user sending an access request to the target application website to the target server. The playback website acts as the target application website and executes and displays the retrieved communication data and operation data on the playback website to trace back the user behavior events.

[0069] The establishment of the first sub-relationship, the second sub-relationship and the second mapping relationship can be implemented using nginx (a web server with an asynchronous framework), and this application does not make any specific limitations.

[0070] The external network data mapping method based on user behavior backtracking provided in the embodiment of the present application simulates the dispatch of user behavior events and uses the first mapping relationship and the second mapping relationship to execute the user behavior events in the playback website, thereby realizing the backtracking of the pre-collected user behavior events in the playback website, and utilizing the interaction between the simulation and the playback website to realize the replay of the interaction process of the target application website, which can be more conducive to development and maintenance personnel to understand the causes of problems from the bottom of user behavior, thereby facilitating subsequent troubleshooting and problem correction.

[0071] In a feasible implementation manner, before step S300, the following may also be included:

[0072] Deploy a preset interception tool in the browser, which is used to intercept simulated user behavior events. The playback website can be built in the browser mentioned in this step, and this application does not make specific restrictions. Deploy a preset interception tool in the browser, which can be understood as a proxy server between the browser and the playback website. The preset interception tool can use a service worker, which is not specifically limited in this application.

[0073] The external network data mapping method based on user behavior backtracking provided in the embodiment of the present application can build a playback website in the browser frame environment, use a preset interception tool as a proxy server to intercept simulated user behavior events, and link the intercepted user behavior events to the playback website. The interaction process of the target application website can be replayed by using the simulation and the interaction with the playback website. The actual behavior events of the user can be fully replayed, which can be more conducive to development and maintenance personnel to understand the causes of problems from the bottom of user behavior, thereby facilitating subsequent troubleshooting and problem correction.

[0074] In a feasible implementation, the step of determining the playback website by simulating the distributed user behavior event and the first mapping relationship may include:

[0075] Use the preset interception tool to intercept the simulated user behavior events. The preset interception tool can act as a proxy server between the browser and the playback website.

[0076] The link entry address is determined by the actual address of the user request to access in the intercepted user behavior event and the first sub-relationship. The link entry address can be obtained based on the actual address of the user request to access intercepted through the first sub-relationship.

[0077] The playback website is determined through the link entry address and the second sub-relationship. The playback website can be found through the link entry address, that is, the link entry address can be generated according to the actual address of the intercepted user request to access, and the actual address of the user request to access can be linked to the address of the playback website by using the link entry address, so that the playback website can be opened, thereby simulating the user request access to the target application website as a request access to the playback website.

[0078] The step of retrieving the communication data and the operation data from the actual storage address of the user behavior event by simulating and distributing the pre-collected user behavior event and the second mapping relationship may include:

[0079] The actual storage address of the user behavior event is determined by the actual address of the user request access in the intercepted user behavior event and the second mapping relationship. The actual storage address of the corresponding user behavior event can be found according to the actual address of the user request access intercepted.

[0080] The communication data and operation data are retrieved from the actual storage address of the user behavior event. The retrieved communication data and operation data can be put into the playback website to execute the user behavior event, so as to lay the foundation for replaying the user behavior event on the playback website, so as to achieve the effect of backtracking the user behavior event.

[0081] The external network data mapping method based on user behavior backtracking provided in the embodiment of the present application uses a preset interception tool as a proxy server to intercept simulated user behavior events, and can link the intercepted user behavior events to the playback website, and put the retrieved communication data and operation data into the playback website to execute the user behavior events. The interaction process of the target application website is replayed by using the simulation and the playback website, and the actual behavior events of the user can be fully replayed, which can be more conducive to development and maintenance personnel to understand the causes of problems from the bottom of user behavior, thereby facilitating subsequent troubleshooting and problem correction.

[0082] In a feasible implementation, the step of constructing the link entry address of the playback website based on the pre-collected address of the target application website requested to be accessed by the user may include:

[0083] Based on the pre-collected address of the target application website that the user requests to access, a link entry address of the playback website is constructed, wherein the address of the target application website is the same as the domain name of the link entry address. For example, the address of the target application website may be a.AAAA.com, and the link entry address may be a.AAAA.com / tenet, and the domain names of the two are the same (a.AAAA.com).

[0084] Specifically, in a feasible implementation, the step of constructing the link entry address of the playback website based on the pre-collected address of the target application website requested to be accessed by the user includes:

[0085] Based on the mapping identifier and the domain name of the target application website address, a link entry address is constructed. Exemplarily, the mapping identifier may be tenet, which is not specifically limited in the present application embodiment. That is, by adding the mapping identifier tenet after the address a.AAAA.com of the target application website, the link entry address may be a.AAAA.com / tenet, which is not specifically limited in the present application.

[0086] The external network data mapping method based on user behavior backtracking provided in the embodiment of the present application is to obtain the link entry address of the playback website by adding a mapping identifier after the domain name of the address of the target application website actually visited by the user, so that the link entry address is consistent with the domain name of the address of the target application website actually visited by the user. The added mapping identifier can be a path identifier, and the path identifier can represent a virtual website identity of the playback website, which is not specifically limited in this application. The address of the playback website is consistent with the domain name of the address of the target application website actually visited by the user, and the address of the actual target application website can be retained to the maximum extent, which is convenient for the establishment of a mapping relationship of the subsequent communication interaction data related to the actual target application website, thereby facilitating the playback website to replace the simulated communication interaction of the target application website on the external server locally. If a problem is found in the software or application, it can be directly locked to the target application website according to the domain name.

[0087] In a feasible implementation manner, the step of constructing the address of the playback website based on the link entry address includes:

[0088] Replace the service name in the domain name of the link entry address with the mapping identifier to obtain the address of the playback website. For example, the link entry address may be a.AAAA.com / tenet, where a in the domain name a.AAAA.com is the service name, and a may be replaced with the mapping identifier tenet to obtain the address of the playback website tenet.AAAA.com / tenet.

[0089] Based on the address of the playback website, the resource entry address of the playback website is constructed to complete the steps of constructing the playback website, including:

[0090] Add the resource name after the address of the playback website to obtain the resource entry address of the playback website to complete the construction of the playback website.

[0091] Exemplarily, the resource name may be sw.js, and the resource name sw.js is added after the address of the playback website tenet.AAAA.com / tenet to obtain the resource entry address of the playback website tenet.AAAA.com / tenetsw.js.

[0092] The external network data mapping method based on user behavior backtracking provided in the embodiment of the present application obtains the address of the playback website by replacing the business name in the domain name of the link entry address with the mapping identifier, and adds the resource name after the address of the playback website to obtain the resource entry address of the playback website. The resource entry address of the playback website can be used to build an inline frame of the playback website. The resource name is added after the address of the playback website to obtain the resource entry address of the playback website. For example, tenetsw.js can be a file path, which can be a resource required to build an inline frame of the playback website. The playback website can be regarded as a real website, but there are only inline frames in the website. The application construction products or other content of the web page need to put the actual communication data and operation data in the user behavior event into the playback website for execution and display.

[0093] The present application embodiment provides an external network data mapping device based on user behavior backtracking, Figure 2 A schematic structural block diagram of an external network data mapping device based on user behavior backtracking provided in an embodiment of the present application. For example, Figure 2 As shown, the external network data mapping device based on user behavior backtracking provided in the embodiment of the present application includes:

[0094] The construction module 100 is used to establish a correspondence between the address of the target application website requested to be accessed by the user and the address of the playback website, and obtain a first mapping relationship to construct the playback website.

[0095] The mapping module 200 is used to establish a correspondence between the actual address of the user request access collected in advance and the actual storage address of the corresponding user behavior event to obtain a second mapping relationship.

[0096] The backtracking module 300 is used to perform a simulation operation using the first mapping relationship and the second mapping relationship if a backtracking instruction is detected, wherein the simulation operation is used to backtrack the user behavior event in the playback website.

[0097] The processor includes a kernel, which calls the corresponding program unit from the memory. The kernel can be set to one or more, and the existing user behavior backtracking method is difficult to simulate the network interaction process of users accessing external servers by adjusting the kernel parameters, and there is a problem that the backtracking of user behavior is relatively limited.

[0098] An embodiment of the present application provides a storage medium on which a program is stored. When the program is executed by a processor, the external network data mapping method based on user behavior backtracking is implemented.

[0099] An embodiment of the present application provides a processor, which is used to run a program, wherein the external network data mapping method based on user behavior backtracking is executed when the program is running.

[0100] Figure 3 This is a schematic structural block diagram of an electronic device provided in an embodiment of the present application. Figure 3 As shown, an embodiment of the present application provides an electronic device 400, which includes at least one processor 410, and at least one memory 420 and a bus 430 connected to the processor 410; wherein the processor 410 and the memory 420 communicate with each other through the bus 430; the processor 410 is used to call program instructions in the memory to execute the above-mentioned external network data mapping method based on user behavior backtracking.

[0101] The electronic device of the present application may be a server, PC, PAD, mobile phone, etc.

[0102] The embodiment of the present application also provides a computer program product, which, when executed on a process management device, is suitable for executing a program that initializes the following method steps: establishing a correspondence between the address of the target application website that the user requests to access and the address of the playback website, and obtaining a first mapping relationship to construct the playback website. Establishing a correspondence between the actual address that the user requests to access and the actual storage address of the corresponding user behavior event, and obtaining a second mapping relationship. If a backtracking instruction is detected, the first mapping relationship and the second mapping relationship are used to perform a simulation operation, wherein the simulation operation is used to backtrack the user behavior event in the playback website.

[0103] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable process management device to generate a machine, so that the instructions executed by the processor of the computer or other programmable process management device generate instructions for implementing the process in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0104] In a typical configuration, the device includes one or more processors (CPU), memory and bus. The device may also include input / output interface, network interface and the like.

[0105] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip. The memory is an example of a computer-readable medium.

[0106] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0107] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0108] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0109] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A method for mapping external network data based on user behavior backtracking, characterized in that: include: Establishing a correspondence between the address of the target application website requested to be accessed by the user and the address of the playback website collected in advance, obtaining a first mapping relationship, so as to construct the playback website; Establishing a correspondence between the actual address of the user request access collected in advance and the actual storage address of the corresponding user behavior event to obtain a second mapping relationship, wherein the actual storage address stores the feedback data obtained by the access and the operation data on the corresponding web page; If a backtracking instruction is detected, a simulation operation is performed using the first mapping relationship and the second mapping relationship, wherein the simulation operation is used to backtrack the user behavior event in the playback website.

2. The external network data mapping method based on user behavior backtracking according to claim 1 is characterized in that: The first mapping relationship includes a first sub-relationship and a second sub-relationship; The step of establishing a correspondence between the address of the target application website that the user requests to access and the address of the playback website, obtaining a first mapping relationship, and constructing the playback website includes: Based on the address of the target application website, constructing a link entry address of the playback website, wherein the playback website corresponds to at least one of the link entry addresses, and the correspondence between the address of the target application website and the link entry address forms the first sub-relationship; Based on the link entry address, construct the address of the playback website, wherein the corresponding relationship between the link entry address and the address of the playback website forms the second sub-relationship; Based on the address of the playback website, a resource entry address of the playback website is constructed to complete the construction of the playback website.

3. The external network data mapping method based on user behavior backtracking according to claim 2 is characterized in that: The step of performing a simulation operation by using the first mapping relationship and the second mapping relationship if a backtrace instruction is detected includes: If the backtracking instruction is detected, the pre-collected user behavior event is simulated and dispatched according to the backtracking instruction, wherein the user behavior event includes the communication data between the user and the target application website and the operation data performed by the user on the target application website; Determining the playback website by simulating the communication data and the first mapping relationship; Retrieving the communication data and the operation data from the actual storage address of the user behavior event by simulating the distributed communication data and the second mapping relationship; The retrieved communication data and the operation data are executed in the playback website according to the trigger time, so as to trace back the user behavior event in the playback website.

4. The external network data mapping method based on user behavior backtracking according to claim 3 is characterized in that: Before the step of performing a simulation operation by using the first mapping relationship and the second mapping relationship if a backtrace instruction is detected, the method further includes: A preset interception tool is deployed in the browser, and the preset interception tool is used to intercept the simulated user behavior event.

5. The external network data mapping method based on user behavior backtracking according to claim 4 is characterized in that: The step of determining the playback website by simulating the distributed user behavior event and the first mapping relationship includes: Using the preset interception tool to intercept the simulated user behavior event; Determine the link entry address by using the actual address requested by the user in the intercepted user behavior event and the first sub-relationship; Determining the playback website through the link entry address and the second sub-relationship; The step of simulating and distributing the pre-collected user behavior event and the second mapping relationship, and retrieving the communication data and the operation data from the actual storage address of the user behavior event, comprises: Determine the actual storage address of the user behavior event by using the actual address of the user request accessed in the intercepted user behavior event and the second mapping relationship, wherein the actual storage address stores the feedback data obtained from the access and the operation data on the corresponding web page; The communication data and the operation data are retrieved from the actual storage address of the user behavior event.

6. The external network data mapping method based on user behavior backtracking according to claim 2 is characterized in that: The step of constructing the link entry address of the playback website based on the pre-collected address of the target application website requested to be accessed by the user comprises: The link entry address of the playback website is constructed based on the pre-collected address of the target application website that the user requests to access, wherein the address of the target application website is the same as the domain name of the link entry address.

7. The external network data mapping method based on user behavior backtracking according to claim 6 is characterized in that: The step of constructing the link entry address of the playback website based on the pre-collected address of the target application website requested to be accessed by the user comprises: The link entry address is constructed based on the mapping identifier and the domain name of the address of the target application website.

8. The external network data mapping method based on user behavior backtracking according to claim 6 is characterized in that: The step of constructing the address of the playback website based on the link entry address includes: Replacing the service name in the domain name of the link entry address with the mapping identifier to obtain the address of the playback website; The step of constructing a resource entry address of the playback website based on the address of the playback website to complete the construction of the playback website includes: The resource name is added after the address of the playback website to obtain the resource entry address of the playback website to complete the construction of the playback website.

9. An external network data mapping device based on user behavior backtracking, characterized in that: include: A construction module, used to establish a correspondence between the address of the target application website requested to be accessed by the user and the address of the playback website, and obtain a first mapping relationship to construct the playback website; A mapping module, used to establish a correspondence between the actual address of the user request access collected in advance and the actual storage address of the corresponding user behavior event, to obtain a second mapping relationship; A backtracking module is used to perform a simulation operation using the first mapping relationship and the second mapping relationship if a backtracking instruction is detected, wherein the simulation operation is used to backtrack the user behavior event in the playback website.

10. A storage medium, characterized in that: The storage medium includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the external network data mapping method based on user behavior backtracking as described in any one of claims 1-8.

11. An electronic device, characterized in that: The electronic device includes at least one processor, and at least one memory and a bus connected to the processor; wherein the processor and the memory communicate with each other through the bus; the processor is used to call the program instructions in the memory to execute the external network data mapping method based on user behavior backtracking as described in any one of claims 1-8.