Method and device for managing specific behavior data

By obtaining and binding the identification ID, the management and storage of specific behavior data is simplified, the problem of traceability of complex and new needs in the prior art is solved, and the function of efficient specific behavior data management and covering all users is realized.

CN113709205BActive Publication Date: 2024-11-29KE COM (BEIJING) TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110786152.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-12
Publication Date
2024-11-29
Estimated Expiration
2041-07-12

AI Technical Summary

Technical Problem

When tracing specific behavior sources, the existing technology has many and complex placements, resulting in complex data reporting. The addition of specific behavior sources requires a front-end re-release version, which cannot cover all users in a timely manner.

Method used

By obtaining the identification ID of the current page, generating a request and sending it to the server, receiving and binding the second identification ID, listening to the activity stack to obtain the second identification ID, realizing the management and storage of specific behavioral data, simplifying the interaction process, and avoiding complex front-end development tasks .

Benefits of technology

It realizes effective management and traceability of specific behavioral data, simplifies front-end and back-end interaction, saves costs, improves efficiency, and supports new business development to cover all users without publishing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113709205B_ABST
    Figure CN113709205B_ABST
Patent Text Reader

Abstract

An embodiment of the present invention provides a method and device for managing specific behavior data, including: when it is detected that a user enters the current page, a first identification ID is obtained; wherein the first identification ID includes: an identification ID generated by the parent page of the current page or an identification ID issued by a server; based on the first identification ID, a request is generated and sent to the server, and a second identification ID returned by the server is received; wherein the second identification ID is generated by the server according to the first identification ID; when it is detected that the user triggers a specific behavior on the current page, the second identification ID and the data corresponding to the specific behavior are sent to the server, so that the server binds the second identification ID and the data corresponding to the specific behavior and stores them. This embodiment achieves the management of specific behavior data by binding and storing the second identification ID and the data corresponding to the specific behavior.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a method and device for managing specific behavior data. Background Art

[0002] When a specific behavior of a front-end (Android, iOS, H5) application on a page is triggered, in order to better supervise the specific behavior, such as tracing the source of the specific behavior, the data corresponding to the specific behavior needs to be reported. However, there are some problems with the existing technical solutions. For example, if there are many display locations related to the specific behavior, each display page related to the specific behavior needs to be processed in order to trace the source of the specific behavior; if there are many sources of the specific behavior, then tracing the source of the specific behavior after the specific behavior is triggered is also more complicated; if there is a need to add a new source of specific behavior, the front-end needs to re-release the version, which fails to cover all users in a timely and effective manner. Summary of the invention

[0003] In view of the problems existing in the prior art, embodiments of the present invention provide a method, device, computer program product and storage medium for managing specific behavior data.

[0004] In a first aspect, an embodiment of the present invention provides a method for managing specific behavior data, which is applied to a terminal and includes:

[0005] When it is detected that the user enters the current page, a first identification ID is obtained; wherein the first identification ID includes: an identification ID generated by the parent page of the current page or an identification ID issued by the server;

[0006] Generate a request based on the first identification ID and send it to the server, and receive a second identification ID returned by the server; wherein the second identification ID is generated by the server according to the first identification ID;

[0007] When it is detected that the user triggers a specific behavior on the current page, the second identification ID and the data corresponding to the specific behavior are sent to the server, so that the server binds the second identification ID and the data corresponding to the specific behavior and stores them.

[0008] Further, generating a request based on the first identification ID and sending it to the server includes:

[0009] The first identification ID and the information generation request of the current page are sent to the server.

[0010] Further, receiving the second identification ID returned by the server includes:

[0011] The activity stack is monitored by monitoring messages, and when it is determined that the second identification ID returned by the server is newly added to the activity stack, the second identification ID is acquired.

[0012] In a second aspect, an embodiment of the present invention further provides a method for managing specific behavior data, which is applied to a server and includes:

[0013] Receiving a request generated by a terminal based on a first identification ID, wherein the first identification ID is obtained when the terminal detects that a user enters a current page, and the first identification ID includes: an identification ID generated by a parent page of the current page or an identification ID issued by a server;

[0014] Generate a second identification ID according to the first identification ID, and send the second identification ID to the terminal;

[0015] When the second identification ID and the data corresponding to the specific behavior are received, the second identification ID and the data corresponding to the specific behavior are bound and stored, wherein the data corresponding to the specific behavior is generated when the user triggers the specific behavior on the current page.

[0016] Further, receiving a request generated by the terminal based on the first identification ID includes:

[0017] A request generated by a receiving terminal based on the first identification ID and the information of the current page;

[0018] Generating a second identification ID according to the first identification ID, and sending the second identification ID to the terminal, includes:

[0019] A second identification ID is generated according to the first identification ID and the information of the current page, and the second identification ID is sent to the terminal.

[0020] Further, sending the second identification ID to the terminal includes:

[0021] The second identification ID is sent to the activity stack of the terminal, so that the terminal acquires the second identification ID by monitoring the activity stack through monitoring messages.

[0022] Furthermore, the method further comprises:

[0023] The second identification ID is bound to the first identification ID and the information of the current page and stored.

[0024] In a third aspect, an embodiment of the present invention further provides a management device for specific behavior data, which is applied to a terminal and includes:

[0025] An acquisition module, used to acquire a first identification ID when detecting that a user enters the current page; wherein the first identification ID includes: an identification ID generated by a parent page of the current page or an identification ID issued by a server;

[0026] A first receiving module, configured to generate a request based on the first identification ID and send it to a server, and receive a second identification ID returned by the server; wherein the second identification ID is generated by the server according to the first identification ID;

[0027] The first sending module is used to send the second identification ID and the data corresponding to the specific behavior to the server when it is detected that the user triggers a specific behavior on the current page, so that the server binds the second identification ID and the data corresponding to the specific behavior and stores them.

[0028] In a fourth aspect, an embodiment of the present invention further provides a management device for specific behavior data, which is applied to a server and includes:

[0029] A second receiving module is used to receive a request generated by a terminal based on a first identification ID, wherein the first identification ID is obtained when the terminal detects that a user enters a current page, and the first identification ID includes: an identification ID generated by a parent page of the current page or an identification ID issued by a server;

[0030] A second sending module, configured to generate a second identification ID according to the first identification ID, and send the second identification ID to the terminal;

[0031] A binding module is used to bind and store the second identification ID and the data corresponding to the specific behavior when receiving the second identification ID and the data corresponding to the specific behavior, wherein the data corresponding to the specific behavior is generated when the user triggers the specific behavior on the current page.

[0032] In a fifth aspect, an embodiment of the present invention further provides a computer program product, comprising a computer program / instruction, which, when executed by a processor, implements the steps of the method for managing specific behavior data as described in the first aspect above; and / or, when the computer program is executed by a processor, implements the steps of the method for managing specific behavior data as described in the second aspect above.

[0033] In the sixth aspect, an embodiment of the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method for managing specific behavior data as described in the first aspect above; and / or, when executed by a processor, the computer program implements the steps of the method for managing specific behavior data as described in the second aspect above.

[0034] It can be seen from the above technical solutions that the management method, device, computer program product and storage medium of specific behavior data provided by the embodiments of the present invention obtain a first identification ID when it is detected that a user enters the current page; wherein, the first identification ID includes: an identification ID generated by the parent page of the current page or an identification ID issued by the server; based on the first identification ID, a request is generated and sent to the server, and a second identification ID returned by the server is received; wherein, the second identification ID is generated by the server according to the first identification ID; when it is detected that the user triggers a specific behavior on the current page, the second identification ID and the data corresponding to the specific behavior are sent to the server, so that the server binds the second identification ID and the data corresponding to the specific behavior and stores them. It can be seen that this embodiment realizes the management of specific behavior data by binding and storing the second identification ID and the data corresponding to the specific behavior. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0036] Figure 1 A flowchart of a method for managing specific behavior data provided by an embodiment of the present invention;

[0037] Figure 2 A flowchart of a method for managing specific behavior data provided by another embodiment of the present invention;

[0038] Figure 3 A schematic diagram of an application of a method for managing specific behavior data provided by an embodiment of the present invention;

[0039] Figure 4 A schematic diagram of the structure of a device for managing specific behavior data provided by an embodiment of the present invention;

[0040] Figure 5 A schematic diagram of the structure of a device for managing specific behavior data provided by another embodiment of the present invention;

[0041] Figure 6 A schematic diagram of the physical structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0042] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention. The management method of specific behavior data provided by the present invention will be explained and illustrated in detail through specific embodiments below.

[0043] Figure 1 FIG. 1 is a flow chart showing a method for managing specific behavior data provided by an embodiment of the present invention; Figure 1 As shown, the method for managing specific behavior data provided by an embodiment of the present invention is used in a terminal, and includes the following steps:

[0044] Step 101: When it is detected that a user enters the current page, a first identification ID is obtained; wherein the first identification ID includes: an identification ID generated by a parent page of the current page or an identification ID issued by a server.

[0045] In this step, it can be understood that when it is detected that the user enters a new page (ie, the current page), the first identification ID is acquired after the new page is opened.

[0046] In this step, it should be noted that the first identification ID includes: the identification ID generated by the parent page of the current page or the identification ID issued by the server; the identification ID generated by the parent page of the current page, such as the identification ID of the parent page of the current page itself; the identification ID issued by the server, such as the identification ID issued by a push message.

[0047] Step 102: Generate a request based on the first identification ID and send it to the server, and receive a second identification ID returned by the server; wherein the second identification ID is generated by the server according to the first identification ID.

[0048] In this step, it should be noted that the second identification ID is identification information used to identify the current page.

[0049] In this step, for example, a request is generated based on the first identification ID as a parameter and sent to the server, requesting an API interface to obtain a second identification ID returned by the server.

[0050] In this step, for example, after receiving the request generated based on the first identification ID, the server can bind the first identification ID and other information that needs to be bound to generate a second identification ID, and return the second identification ID to the terminal for storage.

[0051] In this step, it should be noted that this step needs to be completed automatically in the underlying logic, such as using ActivityLifecycleCallbacks to monitor the creation of the activity stack and automatically receiving the second identification ID returned by the server, thereby avoiding the logic of each current page processing the second identification ID by itself and achieving unaware business development.

[0052] Step 103: When it is detected that the user triggers a specific behavior on the current page, the second identification ID and the data corresponding to the specific behavior are sent to the server, so that the server binds the second identification ID and the data corresponding to the specific behavior and stores them.

[0053] In this step, it should be noted that in order to better manage a certain type of specific behavior, a specific behavior display position can be configured in the page. When it is detected that the user triggers a specific behavior on the current page, the second identification ID saved in step 102 and the data corresponding to the specific behavior are sent to the server together. After the server receives the above data (that is, the second identification ID and the data corresponding to the specific behavior), the second identification ID and the data corresponding to the specific behavior are bound and stored.

[0054] In this step, for specific behaviors, for example, business opportunity behaviors, behaviors such as clicking on the broker's phone number in the field of house buying and selling, behaviors such as clicking on contacting the broker online, etc., are all user-triggered specific behaviors, and user-triggered specific behaviors can be obtained by establishing specific behavior display positions.

[0055] In this step, it should be noted that the behavior of sending the second identification ID saved in step 102 and the data corresponding to the specific behavior to the server is placed in the underlying logic, such as the header parameter of the interface request uniformly encapsulated in the app, to achieve unaware business development.

[0056] In this implementation, it can be understood that, since the second identification ID and the data corresponding to the specific behavior are bound and stored in the server, when the operator needs to understand the user's specific behavior, the corresponding specific behavior data can be queried on the server through the second identification ID. It can be seen that when the operator has management requirements for specific behavior data, the interaction between the front-end and the back-end only has one parameter, the second identification ID, which simplifies the interaction and saves costs.

[0057] In this implementation, it can be understood that, since the second identification ID is generated by the server according to the first identification ID, and since the first identification ID is the identification ID generated by the parent page of the current page or the identification ID sent by the server, when a new specific behavior is added, it is only necessary to add the identification ID corresponding to the new specific behavior on the server and send it to the terminal, so that the terminal no longer needs to add development tasks. It can be seen that the management method of specific behavior data provided in this embodiment not only saves costs, but also expands functions and improves efficiency (even if the terminal no longer needs to add development tasks).

[0058] It can be seen from the above technical solution that the management method of specific behavior data provided in this embodiment receives the second identification ID returned by the server, and when it is detected that the user triggers a specific behavior on the current page, the second identification ID and the data corresponding to the specific behavior are sent to the server together, so that the server binds the second identification ID and the data corresponding to the specific behavior and stores them, thereby realizing the management of specific behavior data by the operator, such as by querying the second identification ID bound to the specific behavior, the specific behavior corresponding to the second identification ID can be easily obtained; at the same time, since the second identification ID is generated by the server according to the first identification ID, and the first identification ID can be the identification ID generated by the parent page of the current page, or the identification ID issued by the server, therefore, the identification ID link corresponding to the second identification ID (the link composed of the first identification ID, the second identification ID and / or the ID before the first identification ID) can also be obtained according to the queried second identification ID. And when new business development is needed, only the server needs to issue the identification ID, without the need for the terminal to add complex development tasks, and without publishing, all users can be directly covered.

[0059] Based on the above embodiment, in this embodiment, generating a request based on the first identification ID and sending it to the server includes:

[0060] The first identification ID and the information generation request of the current page are sent to the server.

[0061] In this embodiment, it should be noted that after the server receives the information of the current page, such as the name of the current page, it can bind the information of the current page with the first identification ID to generate a second identification ID, and return the second identification ID to the terminal to be saved by the terminal; it can also generate an ID based on the information of the current page, and then bind the first identification ID, such as using the first identification ID as the parentSceneID of the ID generated based on the information of the current page, generating a second identification ID, and returning the second identification ID to the terminal to be saved by the terminal.

[0062] It can be seen from the above technical solution that the management method of specific behavior data provided in this embodiment generates a request by sending the first identification ID and the information of the current page to the server so that the server can bind the information of the current page, which is conducive to backtracking. That is, through the second identification ID, it can be confirmed whether the current page comes in through the parent page of the current page or is pushed in by the server.

[0063] Based on the above embodiment, in this embodiment, receiving the second identification ID returned by the server includes:

[0064] The activity stack is monitored by monitoring messages, and when it is determined that the second identification ID returned by the server is newly added to the activity stack, the second identification ID is acquired.

[0065] In this embodiment, it can be understood that by monitoring the entry and exit of the message monitoring activity stack, the second identification ID returned by the server can be automatically received, thereby avoiding the logic of the page processing the second identification ID by itself and realizing non-perception of business development.

[0066] It can be seen from the above technical solution that the management method of specific behavior data provided in this embodiment monitors the activity stack by monitoring messages, and when it is determined that the second identification ID returned by the server is newly added to the activity stack, the second identification ID is obtained, thereby realizing the task of automatically receiving the second identification ID and achieving unaware business development.

[0067] Figure 2 FIG. 4 is a flow chart showing a method for managing specific behavior data provided by another embodiment of the present invention. Figure 2 As shown, the specific behavior data management method provided by the embodiment of the present invention is used in a server and includes the following steps:

[0068] Step 301: Receive a request generated by a terminal based on a first identification ID, wherein the first identification ID is obtained when the terminal detects that a user enters a current page, and the first identification ID includes: an identification ID generated by a parent page of the current page or an identification ID issued by a server.

[0069] In this step, it can be understood that when the user enters the current page, the current page is opened, and the server receives a request generated by the terminal based on the first identification ID, requesting to obtain the second identification ID.

[0070] Step 302: Generate a second identification ID according to the first identification ID, and send the second identification ID to the terminal.

[0071] In this step, it can be understood that the second identification ID is generated according to the relevant information that needs to be bound to the first identification ID. For example, the second identification ID is generated according to the name of the current page bound to the first identification ID, and the second identification ID is sent to the terminal.

[0072] Step 303: Upon receiving the second identification ID and the data corresponding to the specific behavior, bind the second identification ID and the data corresponding to the specific behavior and store them, wherein the data corresponding to the specific behavior is generated when the user triggers the specific behavior on the current page.

[0073] In this step, it can be understood that when the user triggers a specific behavior on the current page, the server will receive the second identification ID and the data corresponding to the specific behavior, and then establish a binding relationship between the two based on the second identification ID and the data corresponding to the specific behavior and store them on the server, thereby realizing the management of the specific behavior data.

[0074] It can be seen from the above technical solution that the management method of specific behavior data provided in this embodiment establishes a binding relationship between the second identification ID and the data corresponding to the specific behavior and stores it, thereby realizing the management of specific behavior data by the operator. For example, by querying the second identification ID bound to the specific behavior, the specific behavior corresponding to the second identification ID can be easily obtained; at the same time, since the second identification ID is generated by the server according to the first identification ID, and the first identification ID can be the identification ID generated by the parent page of the current page, or the identification ID issued by the server, the identification ID link corresponding to the second identification ID (the link composed of the first identification ID, the second identification ID and / or the ID before the first identification ID) can also be obtained according to the queried second identification ID. And when new business development is needed, only the server needs to issue the identification ID, without the need for the terminal to add complex development tasks, and without publishing, all users can be directly covered.

[0075] Based on the above embodiment, in this embodiment, the receiving terminal generates a request based on the first identification ID, including:

[0076] A request generated by a receiving terminal based on the first identification ID and the information of the current page;

[0077] Generating a second identification ID according to the first identification ID, and sending the second identification ID to the terminal, includes:

[0078] A second identification ID is generated according to the first identification ID and the information of the current page, and the second identification ID is sent to the terminal.

[0079] In this embodiment, for example, the server receives the first identification ID and the information of the current page, and the server generates a corresponding ID using the information of the current page, and binds the first identification ID to generate a second identification ID.

[0080] In this embodiment, preferably, the first identification ID is used as the information of the current page to generate the parentSceneID of the corresponding ID, thereby forming an ID link (a link composed of the first identification ID, the ID generated using the information of the current page and / or the ID before the first identification ID), and generating a second identification ID.

[0081] It can be seen from the above technical solution that the management method of specific behavior data provided by this embodiment generates a second identification ID based on the first identification ID and the information of the current page, which is conducive to backtracking. That is, the ID link can be confirmed through the second identification ID, and then according to the ID link, it can be confirmed whether the current page comes in through the parent page of the current page or is pushed in by the server.

[0082] Based on the above embodiment, in this embodiment, sending the second identification ID to the terminal includes:

[0083] The second identification ID is sent to the activity stack of the terminal, so that the terminal acquires the second identification ID by monitoring the activity stack through monitoring messages.

[0084] It can be seen from the above technical solution that the management method of specific behavior data provided in this embodiment sends the second identification ID to the activity stack of the terminal so that the terminal automatically monitors the activity stack by monitoring the message and obtains the second identification ID, thereby realizing unaware business development.

[0085] Based on the above embodiment, in this embodiment, the method further includes:

[0086] The second identification ID is bound to the first identification ID and the information of the current page and stored.

[0087] In order to better understand the present invention, the content of the present invention is further described below in conjunction with the embodiments, but the present invention is not limited to the following embodiments.

[0088] In this embodiment, the business opportunity triggering behavior is regarded as triggering a specific behavior. For details, see Figure 3 :

[0089] S1, indicating that the user opens a new page on the terminal and enters the current page;

[0090] S2. After a new page is opened, the terminal needs to obtain the sceneID of the previous page (i.e., the parent page) as its own parentSceneID, so as to form a link between pages. The parentSceneID can be the sceneID of the previous page itself (i.e., the identification ID generated by the parent page), or the sceneID issued by the network (i.e., the identification ID issued by the server), such as the sceneID issued in the push message, so that a flexible source of business opportunities can be configured;

[0091] S3-S5, the terminal uses the parentSceneID obtained in S2 as a parameter to request the server through the API interface to obtain the sceneID (i.e., the second identification ID) of the current page. After receiving the request generated by the terminal based on the first identification ID, the server binds the parentSceneID with other messages that need to be bound, and returns it to the terminal for storage;

[0092] Among them, S2 to S5 need to be automatically completed by the terminal in the underlying logic. For example, in Android, ActivityLifecycleCallbacks is used to monitor the creation of activity and automatically complete the sceneID acquisition work of the current page. This avoids the logic of each page processing the sceneID by itself and achieves unaware business development.

[0093] S6, indicating that the user has triggered a business opportunity behavior on the current page of the terminal;

[0094] S7~S8. After the user triggers the business opportunity behavior, the terminal uploads the sceneID of the current page and the data corresponding to the business opportunity behavior to the server through the API interface, and then the server binds the sceneID with the business opportunity behavior and stores them. In this way, the product or operation can easily obtain the business opportunity link and bound data corresponding to the sceneID by querying the sceneID bound to the business opportunity, which can be used for product optimization and iteration or operation performance evaluation, etc.

[0095] Among them, the S7 terminal's behavior of reporting data corresponding to sceneID and business opportunity behavior still needs to be placed in the underlying logic, such as the header parameters of the interface request uniformly encapsulated in the app. This is also an important step to achieve business awareness.

[0096] To sum up, the effect achieved by this implementation is: when entering each page, the terminal (Android / iOS / H5) can generate its own SceneId based on the SceneId of the previous page, thus forming a link. The SceneId of the previous page can be issued by the server, so that new sources of business opportunities can be flexibly added and related information can be bound. When the user triggers the business opportunity behavior of the current page, the SceneId of the current page is reported, thus forming a complete business opportunity link; the interaction between the terminal and the server has only one parameter, SceneId, which simplifies the interaction and saves costs, but expands functions and improves efficiency.

[0097] This implementation puts the sceneID processing logic into the underlying operation, making it unaware of business development. When developing new business, there is no need to pay attention to the development related to business opportunity statistics. It is more convenient and flexible to add new business opportunity sources or data without adding development tasks on the app side or releasing versions, and can directly cover all users.

[0098] Figure 4 FIG. 4 is a schematic diagram showing a structure of a device for managing specific behavior data provided by an embodiment of the present invention. Figure 4 As shown, the management device for specific behavior data provided in this embodiment is applied to a terminal, and includes: an acquisition module 401, a first receiving module 402 and a first sending module 403, wherein:

[0099] The acquisition module 401 is used to acquire a first identification ID when detecting that a user enters the current page; wherein the first identification ID includes: an identification ID generated by a parent page of the current page or an identification ID issued by a server;

[0100] A first receiving module 402 is used to generate a request based on the first identification ID and send it to the server, and receive a second identification ID returned by the server; wherein the second identification ID is generated by the server according to the first identification ID;

[0101] The first sending module 403 is used to send the second identification ID and the data corresponding to the specific behavior to the server when it is detected that the user triggers a specific behavior on the current page, so that the server binds the second identification ID and the data corresponding to the specific behavior and stores them.

[0102] Based on the above embodiment, in this embodiment, when the first sending module generates a request based on the first identification ID and sends it to the server, it is specifically used to:

[0103] The first identification ID and the information generation request of the current page are sent to the server.

[0104] Based on the above embodiment, in this embodiment, when the first sending module receives the second identification ID returned by the server, it is specifically used to:

[0105] The activity stack is monitored by monitoring messages, and when it is determined that the second identification ID returned by the server is newly added to the activity stack, the second identification ID is acquired.

[0106] The specific behavior data management device provided in the embodiment of the present invention can be specifically used to execute the specific behavior data management method of the above-mentioned terminal side embodiment. Its technical principles and beneficial effects are similar. Please refer to the above-mentioned embodiment for details, which will not be repeated here.

[0107] Figure 5 FIG. 4 is a schematic diagram showing a structure of a device for managing specific behavior data provided by an embodiment of the present invention. Figure 5 As shown, the management device for specific behavior data provided in this embodiment is applied to a server and includes: a second receiving module 501, a second sending module 502 and a binding module 503, wherein:

[0108] The second receiving module 501 is used to receive a request generated by a terminal based on a first identification ID, wherein the first identification ID is obtained when the terminal detects that a user enters a current page, and the first identification ID includes: an identification ID generated by a parent page of the current page or an identification ID issued by a server;

[0109] A second sending module 502, configured to generate a second identification ID according to the first identification ID, and send the second identification ID to the terminal;

[0110] The binding module 503 is used to bind and store the second identification ID and the data corresponding to the specific behavior when receiving the second identification ID and the data corresponding to the specific behavior, wherein the data corresponding to the specific behavior is generated when the user triggers the specific behavior on the current page.

[0111] Based on the above embodiment, in this embodiment, the second receiving module is specifically used for:

[0112] A request generated by a receiving terminal based on the first identification ID and the information of the current page;

[0113] The second sending module is specifically used for:

[0114] A second identification ID is generated according to the first identification ID and the information of the current page, and the second identification ID is sent to the terminal.

[0115] Based on the above embodiment, in this embodiment, when the second sending module sends the second identification ID to the terminal, it is specifically used to:

[0116] The second identification ID is sent to the activity stack of the terminal, so that the terminal acquires the second identification ID by monitoring the activity stack through monitoring messages.

[0117] Based on the above embodiment, in this embodiment, the device further includes: a storage module,

[0118] The storage module is used to bind and store the second identification ID, the first identification ID and the information of the current page.

[0119] The specific behavior data management device provided in the embodiment of the present invention can be specifically used to execute the specific behavior data management method of the above-mentioned server-side embodiment. Its technical principles and beneficial effects are similar. Please refer to the above-mentioned embodiment for details, which will not be repeated here.

[0120] Based on the same inventive concept, an embodiment of the present invention provides an electronic device, see Figure 6 , the electronic device specifically includes the following contents: a processor 601, a memory 602, a communication interface 603 and a communication bus 604;

[0121] Among them, the processor 601, the communication interface 603, and the memory 602 complete mutual communication through the communication bus 604; the communication interface 603 is used to realize information transmission between various modeling software and intelligent manufacturing equipment module libraries and other related devices; the processor 601 is used to call the computer program in the memory 602, and the processor implements the methods provided by the above-mentioned method embodiments when executing the computer program. For example, when the processor executes the computer program, it implements the following steps: when it is detected that the user enters the current page, obtain the first identification ID; wherein, the first identification ID includes: the identification ID generated by the parent page of the current page or the identification ID issued by the server; based on the first identification ID, a request is generated and sent to the server, and a second identification ID returned by the server is received; wherein, the second identification ID is generated by the server according to the first identification ID; when it is detected that the user triggers a specific behavior on the current page, the second identification ID and the data corresponding to the specific behavior are sent to the server, so that the server binds the second identification ID and the data corresponding to the specific behavior and stores them.

[0122] Based on the same inventive concept, an embodiment of the present invention further provides an electronic device, see Figure 6 , the electronic device specifically includes the following contents: a processor 601, a memory 602, a communication interface 603 and a communication bus 604;

[0123] Among them, the processor 601, the communication interface 603, and the memory 602 complete mutual communication through the communication bus 604; the communication interface 603 is used to realize information transmission between various modeling software and intelligent manufacturing equipment module libraries and other related devices; the processor 601 is used to call the computer program in the memory 602, and the processor implements the methods provided by the above-mentioned method embodiments when executing the computer program. For example, when the processor executes the computer program, it implements the following steps: receiving a request generated by the terminal based on a first identification ID, wherein the first identification ID is obtained when the terminal detects that a user enters the current page, and the first identification ID includes: an identification ID generated by the parent page of the current page or an identification ID issued by the server; generating a second identification ID based on the first identification ID, and sending the second identification ID to the terminal; when receiving the second identification ID and the data corresponding to the specific behavior, binding the second identification ID and the data corresponding to the specific behavior and storing them, wherein the data corresponding to the specific behavior is generated when the user triggers the specific behavior on the current page.

[0124] Based on the same inventive concept, another embodiment of the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which is implemented when the computer program is executed by the processor to execute the methods provided by the above-mentioned method embodiments, for example, when it is detected that a user enters the current page, a first identification ID is obtained; wherein, the first identification ID includes: an identification ID generated by the parent page of the current page or an identification ID issued by the server; based on the first identification ID, a request is generated and sent to the server, and a second identification ID returned by the server is received; wherein, the second identification ID is generated by the server according to the first identification ID; when it is detected that the user triggers a specific behavior on the current page, the second identification ID and the data corresponding to the specific behavior are sent to the server, so that the server binds the second identification ID and the data corresponding to the specific behavior and stores them.

[0125] Based on the same inventive concept, another embodiment of the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which is implemented when the computer program is executed by the processor to execute the methods provided by the above-mentioned method embodiments, for example, receiving a request generated by a terminal based on a first identification ID, wherein the first identification ID is obtained when the terminal detects that a user enters the current page, and the first identification ID includes: an identification ID generated by the parent page of the current page or an identification ID issued by a server; generating a second identification ID based on the first identification ID, and sending the second identification ID to the terminal; when receiving the second identification ID and data corresponding to a specific behavior, binding the second identification ID and the data corresponding to the specific behavior and storing them, wherein the data corresponding to the specific behavior is generated when the user triggers a specific behavior on the current page.

[0126] Based on the same inventive concept, the present invention also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the specific behavior data management method provided by the above methods, the method including: when it is detected that a user enters the current page, obtain a first identification ID; wherein, the first identification ID includes: an identification ID generated by the parent page of the current page or an identification ID issued by a server; based on the first identification ID, a request is generated and sent to the server, and a second identification ID returned by the server is received; wherein, the second identification ID is generated by the server according to the first identification ID; when it is detected that the user triggers a specific behavior on the current page, the second identification ID and the data corresponding to the specific behavior are sent to the server, so that the server binds the second identification ID and the data corresponding to the specific behavior and stores them.

[0127] Based on the same inventive concept, the present invention also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the specific behavior data management method provided by the above methods, and the method includes: receiving a request generated by a terminal based on a first identification ID, wherein the first identification ID is obtained when the terminal detects that a user enters a current page, and the first identification ID includes: an identification ID generated by a parent page of the current page or an identification ID issued by a server; generating a second identification ID based on the first identification ID, and sending the second identification ID to the terminal; when receiving the second identification ID and data corresponding to the specific behavior, binding the second identification ID and the data corresponding to the specific behavior and storing them, wherein the data corresponding to the specific behavior is generated when the user triggers a specific behavior on the current page.

[0128] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, i.e., they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative effort.

[0129] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods of each embodiment or some parts of the embodiment.

[0130] In addition, in the present invention, terms such as "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0131] In addition, in the present invention, 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 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 a process, method, article 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, article or device. In the absence of further restrictions, the elements defined by the statement "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0132] In addition, in the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0133] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. 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 managing specific behavior data, characterized in that: Applied to terminals, including: When it is detected that the user enters the current page, a first identification ID is obtained; wherein the first identification ID includes: an identification ID generated by the parent page of the current page or an identification ID issued by the server; Generate a request based on the first identification ID and send it to the server, and receive a second identification ID returned by the server; wherein the second identification ID is generated by the server according to the first identification ID and the information of the current page; When it is detected that the user triggers a specific behavior on the current page, the second identification ID and the data corresponding to the specific behavior are sent to the server, so that the server binds the second identification ID and the data corresponding to the specific behavior and stores them; The second identification ID is an identification ID corresponding to the specific behavior.

2. The method for managing specific behavior data according to claim 1, characterized in that: Generating a request based on the first identification ID and sending it to the server includes: The first identification ID and the information generation request of the current page are sent to the server.

3. The method for managing specific behavior data according to claim 1 or 2, characterized in that: The second identification ID returned by the receiving server includes: The activity stack is monitored by monitoring messages, and when it is determined that the second identification ID returned by the server is newly added to the activity stack, the second identification ID is acquired.

4. A method for managing specific behavior data, characterized in that: Applicable to servers, including: Receiving a request generated by a terminal based on a first identification ID, wherein the first identification ID is obtained when the terminal detects that a user enters a current page, and the first identification ID includes: an identification ID generated by a parent page of the current page or an identification ID issued by a server; Generate a second identification ID according to the first identification ID, and send the second identification ID to the terminal; the second identification ID is an identification ID corresponding to a specific behavior; In the case of receiving the second identification ID and the data corresponding to the specific behavior, binding the second identification ID and the data corresponding to the specific behavior and storing them, wherein the data corresponding to the specific behavior is generated when the user triggers the specific behavior on the current page; The receiving terminal generates a request based on the first identification ID, including: A request generated by a receiving terminal based on the first identification ID and the information of the current page; Generating a second identification ID according to the first identification ID, and sending the second identification ID to the terminal, includes: A second identification ID is generated according to the first identification ID and the information of the current page, and the second identification ID is sent to the terminal.

5. The method for managing specific behavior data according to claim 4, characterized in that: Sending the second identification ID to the terminal includes: The second identification ID is sent to the activity stack of the terminal, so that the terminal acquires the second identification ID by monitoring the activity stack through monitoring messages.

6. The method for managing specific behavior data according to claim 4, characterized in that: The method further comprises: The second identification ID is bound to the first identification ID and the information of the current page and stored.

7. A management device for specific behavior data, characterized in that: Applied to terminals, including: An acquisition module, used to acquire a first identification ID when detecting that a user enters the current page; wherein the first identification ID includes: an identification ID generated by a parent page of the current page or an identification ID issued by a server; A first receiving module, configured to generate a request based on the first identification ID and send it to a server, and receive a second identification ID returned by the server; wherein the second identification ID is generated by the server according to the first identification ID and information of the current page; A first sending module is used to send the second identification ID and the data corresponding to the specific behavior to the server when it is detected that the user triggers a specific behavior on the current page, so that the server binds the second identification ID and the data corresponding to the specific behavior and stores them; The second identification ID is an identification ID corresponding to the specific behavior.

8. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method for managing specific behavior data as described in any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Information obtaining method and device

    CN107423329A

  • Record processing method, device and equipment

    CN112258295A