CN113709205A - Management method and device of specific behavior data - Google Patents

Management method and device of specific behavior data Download PDF

Info

Publication number
CN113709205A
CN113709205A CN202110786152.9A CN202110786152A CN113709205A CN 113709205 A CN113709205 A CN 113709205A CN 202110786152 A CN202110786152 A CN 202110786152A CN 113709205 A CN113709205 A CN 113709205A
Authority
CN
China
Prior art keywords
identification
server
specific behavior
current page
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110786152.9A
Other languages
Chinese (zh)
Inventor
徐启坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Fangjianghu Technology Co Ltd
Original Assignee
Beijing Fangjianghu Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Fangjianghu Technology Co Ltd filed Critical Beijing Fangjianghu Technology Co Ltd
Priority to CN202110786152.9A priority Critical patent/CN113709205A/en
Publication of CN113709205A publication Critical patent/CN113709205A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/242Query formulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases

Abstract

The embodiment of the invention provides a method and a device for managing specific behavior data, wherein the method comprises the following steps: when the situation that a user enters a current page is detected, a first identification ID is obtained; wherein the first identification ID comprises: an identification ID generated by a parent page of the current page or an identification ID issued by a server; generating a request based on the first identification ID, sending the request to a server, and receiving a second identification ID returned by the server; the second identification ID is generated by the server according to the first identification ID; and when the situation that the user triggers the specific behavior on the current page is detected, sending the second identification ID and the data corresponding to the specific behavior to a server, so that the server binds and stores the second identification ID and the data corresponding to the specific behavior. In this embodiment, the specific behavior data is managed by binding and storing the second identifier ID and the data corresponding to the specific behavior.

Description

Management method and device of specific behavior data
Technical Field
The invention relates to the technical field of computers, in particular to a method and a device for managing specific behavior data.
Background
When a specific behavior of an application of a front end (Android, iOS, H5) in a page is triggered, in order to better supervise the specific behavior, such as tracing a source of the specific behavior, data corresponding to the specific behavior needs to be reported, but the existing technical solutions have some problems, such as: if the display positions related to the specific behaviors are numerous, each display page related to the specific behaviors needs to be processed in a related way so as to trace the source of the specific behaviors; if the source of the specific behavior is more, it is more complicated to trace the source of the specific behavior after the specific behavior is triggered; if the requirement of adding a specific behavior source exists, the front end is required to release the version again, so that all users cannot be effectively covered in time.
Disclosure of Invention
In order to solve the problems in the prior art, embodiments of the present invention provide a method and an apparatus for managing specific behavior data, a computer program product, and a storage medium.
In a first aspect, an embodiment of the present invention provides a method for managing specific behavior data, where the method is applied to a terminal, and includes:
when the situation that a user enters a current page is detected, a first identification ID is obtained; wherein the first identification ID comprises: an identification ID generated by a parent page of the current page or an identification ID issued by a server;
generating a request based on the first identification ID, sending the request to a server, and receiving a second identification ID returned by the server; the second identification ID is generated by the server according to the first identification ID;
and when the situation that the user triggers the specific behavior on the current page is detected, sending the second identification ID and the data corresponding to the specific behavior to a server, so that the server binds and stores the second identification ID and the data corresponding to the specific behavior.
Further, generating a request to send to a server based on the first identification ID, comprising:
and sending the first identification ID and the information generation request of the current page to the server.
Further, receiving a second identification ID returned by the server, including:
monitoring an active stack through monitoring messages, and acquiring a second identification ID returned by the server when determining that the second identification ID is newly added in the active stack.
In a second aspect, an embodiment of the present invention further provides a method for managing specific behavior data, where the method is applied to a server, and 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 comprises: 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 according to the first identification ID, and sending the second identification ID to the terminal;
and under the condition that the data corresponding to the second identification ID and the specific behavior are received, binding and storing the data corresponding to the second identification ID and the specific behavior, wherein the data corresponding to the specific behavior is generated by triggering the specific behavior on the current page by the user.
Further, the receiving terminal generates a request based on the first identification ID, including:
receiving a request generated by the 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, wherein the method comprises the following steps:
and generating a second identification ID according to the first identification ID and the information of the current page, and sending the second identification ID to the terminal.
Further, sending the second identification ID to the terminal includes:
and sending the second identification ID to an active stack of the terminal, so that the terminal monitors the active stack by monitoring a message to acquire the second identification ID.
Further, the method further comprises:
and binding and storing the second identification ID, the first identification ID and the information of the current page.
In a third aspect, an embodiment of the present invention further provides a device for managing specific behavior data, where the device is applied to a terminal, and the device includes:
the acquisition module is used for acquiring a first identification ID under the condition that a user is detected to enter a current page; wherein the first identification ID comprises: an identification ID generated by a parent page of the current page or an identification ID issued by a server;
the first receiving module is used for generating a request based on the first identification ID, sending the request to a server and receiving a second identification ID returned by the server; the second identification ID is generated by the server according to the first identification ID;
and the first sending module is used for sending the second identification ID and the data corresponding to the specific behavior to a server under the condition that the user triggers the specific behavior on the current page is detected, so that the server binds and stores the second identification ID and the data corresponding to the specific behavior.
In a fourth aspect, an embodiment of the present invention further provides a device for managing specific behavior data, where the device is applied to a server, and the device includes:
a second receiving module, configured to receive a request generated by a terminal based on a first identifier ID, where the first identifier ID is obtained when the terminal detects that a user enters a current page, and the first identifier ID includes: an identification ID generated by a parent page of the current page or an identification ID issued by a server;
the second sending module is used for generating a second identification ID according to the first identification ID and sending the second identification ID to the terminal;
and the binding module is used for binding and storing the second identification ID and the data corresponding to the specific behavior under the condition that the data corresponding to the second identification ID and the specific behavior are received, wherein the data corresponding to the specific behavior is generated by triggering the specific behavior on the current page by the user.
In a fifth aspect, an embodiment of the present invention further provides a computer program product, which includes a computer program/instruction, when executed by a processor, implementing the steps of the method for managing specific behavior data according to the first aspect; and/or the computer program, when being executed by a processor, carries out the steps of the method for managing specific behavioural data as described above in relation to the second aspect.
In a sixth aspect, the present invention further provides a non-transitory computer readable storage medium, on which a computer program is stored, the computer program, when being executed by a processor, implementing the steps of the method for managing specific behavior data according to the first aspect; and/or the computer program, when being executed by a processor, carries out the steps of the method for managing specific behavioural data as described above in relation to the second aspect.
As can be seen from the foregoing technical solutions, in the management method, the management apparatus, the computer program product, and the storage medium for specific behavior data provided in the embodiments of the present invention, when it is detected that a user enters a current page, a first identifier ID is obtained; wherein the first identification ID comprises: an identification ID generated by a parent page of the current page or an identification ID issued by a server; generating a request based on the first identification ID, sending the request to a server, and receiving a second identification ID returned by the server; the second identification ID is generated by the server according to the first identification ID; and when the situation that the user triggers the specific behavior on the current page is detected, sending the second identification ID and the data corresponding to the specific behavior to a server, so that the server binds and stores the second identification ID and the data corresponding to the specific behavior. Therefore, in the embodiment, the management of the data of the specific behavior is realized by binding and storing the second identifier ID and the data corresponding to the specific behavior.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart illustrating a method for managing specific behavior data according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for managing specific behavior data according to another embodiment of the present invention;
FIG. 3 is a schematic diagram illustrating an application of a method for managing specific behavior data according to an embodiment of the present invention;
FIG. 4 is a block diagram of an apparatus for managing specific behavior data according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a device for managing specific behavior data according to another embodiment of the present invention;
fig. 6 is a schematic physical structure diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, 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 with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some embodiments, but not all embodiments, of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention. The management method of the specific behavior data provided by the present invention will be explained and explained in detail by specific embodiments.
FIG. 1 is a flow chart illustrating a method for managing behavior-specific data according to an embodiment of the present invention; as shown in fig. 1, the method for managing specific behavior data provided in the embodiment of the present invention is applied to a terminal, and includes the following steps:
step 101: when the situation that a user enters a current page is detected, a first identification ID is obtained; wherein the first identification ID comprises: and the identifier ID generated by the parent page of the current page or the identifier ID issued by the server.
In this step, it can be understood that, when it is detected that the user enters a new page (i.e., a current page), the first identifier ID is acquired after the new page is opened.
In this step, it should be noted that the first identifier ID includes: an identification ID generated by a parent page of the current page or an identification ID issued by a server; an identification ID generated by a parent page of the current page, such as the identification ID of the parent page of the current page; the identifier ID sent by the server, for example, the identifier ID sent by the push message.
Step 102: generating a request based on the first identification ID, sending the request to a server, and receiving a second identification ID returned by the server; and the second identification ID is generated by the server according to the first identification ID.
In this step, it should be noted that the second identification ID is identification information for identifying the current page.
In this step, for example, a request is generated and sent to the server based on the first identifier ID as a parameter, and the API interface is requested to obtain a second identifier ID returned by the server.
In this step, for example, after receiving the request generated based on the first identifier ID, the server may bind the first identifier ID and other information to be bound to generate a second identifier ID, and return the second identifier ID to the terminal, where the second identifier ID is stored by the terminal.
In this step, it should be noted that this step needs to be automatically completed in the bottom layer logic, for example, the creation of the activity stack is monitored by using the activity lifecycle calls, and the second identifier ID returned by the receiving server is automatically completed, so that the logic that each current page processes the second identifier ID by itself is avoided, and service development is not perceived.
Step 103: and when the situation that the user triggers the specific behavior on the current page is detected, sending the second identification ID and the data corresponding to the specific behavior to a server, so that the server binds and stores the second identification ID and the data corresponding to the specific behavior.
In this step, it should be noted that, in order to better manage a certain type of specific behavior, a specific behavior display bit may be configured in a page, when it is detected that the user triggers the specific behavior on the current page, the second identifier ID stored in step 102 and the data corresponding to the specific behavior are sent to the server together, and after the server receives the data (i.e., the second identifier ID and the data corresponding to the specific behavior), the second identifier ID and the data corresponding to the specific behavior are bound and stored.
In this step, for specific behaviors, such as business opportunity behaviors, e.g. behavior of clicking a broker phone in the field of house buying and selling, e.g. behavior of clicking an online contact broker, etc., all belong to user-triggered specific behaviors, the user-triggered specific behaviors can be obtained by establishing specific behavior display bits.
In this step, it should be noted that the behavior that the second identifier ID stored in step 102 and the data corresponding to the specific behavior are sent to the server together is placed in a bottom layer logic, for example, a header parameter of an interface request uniformly packaged in the app, so that service development imperceptibility is achieved.
In this implementation, it can be understood that, since the second identifier ID and the data corresponding to the specific behavior have a binding relationship and are stored in the server, when an operator needs to know the specific behavior of the user, the server may query the corresponding specific behavior data through the second identifier ID. Therefore, when the operator has a management requirement on the specific behavior data, the interaction between the front end and the back end only has one parameter of the second identification ID, so that the interaction is simplified, and the cost is saved.
In this embodiment, it can be understood that, because the second identifier ID is generated by the server according to the first identifier ID, and because the first identifier ID is an identifier ID generated by a parent page of the current page or an identifier ID issued by the server, when a specific action is newly added, only an identifier ID corresponding to the newly added specific action needs to be newly added to the server and issued to the terminal, so that the terminal does not need to add a development task. Therefore, the management method for the specific behavior data provided by the embodiment can save cost, expand functions and improve efficiency (even though the terminal does not need to increase development tasks).
As can be seen from the foregoing technical solutions, in the management method for specific behavior data provided in this embodiment, by receiving a second identifier ID returned by a server, and sending the second identifier ID and data corresponding to a specific behavior to the server together under the condition that it is detected that a specific behavior is triggered by the user on a current page, so that the server binds and stores the second identifier ID and the data corresponding to the specific behavior, the management of specific behavior data by an operator is realized, for example, by querying the second identifier ID bound to the specific behavior, the specific behavior corresponding to the second identifier ID can be easily obtained; meanwhile, the second identifier ID is generated by the server according to the first identifier ID, and the first identifier ID may be an identifier ID generated by a parent page of the current page or an identifier ID issued by the server, so that an identifier ID link (a link formed by the first identifier ID, the second identifier ID and/or an ID before the first identifier ID) corresponding to the second identifier ID may be obtained according to the inquired second identifier ID. And when new service development is needed, only the server is required to send the identification ID, the terminal is not required to add a complex development task, and version sending is not required, so that all users can be directly covered.
On the basis of the foregoing embodiment, in this embodiment, generating a request to be sent to a server based on the first identifier ID includes:
and sending the first identification ID and the information generation request of the current page to the server.
In this embodiment, it should be noted that, after receiving the information of the current page, the server may bind the information of the current page with the first identifier ID to generate a second identifier ID, and return the second identifier ID to the terminal, where the second identifier ID is stored by the terminal; or generating an ID according to the information of the current page, then binding the first identifier ID, for example, using the first identifier ID as a parentscreene ID of the ID generated according to the information of the current page, generating a second identifier ID, and returning the second identifier ID to the terminal, where the second identifier ID is stored by the terminal.
As can be seen from the foregoing technical solutions, in the management method for specific behavior data provided in this embodiment, the first identifier ID and the information generation request of the current page are sent to the server, so that the server binds the information of the current page, thereby facilitating the backtracking, that is, it can be determined whether the current page comes through a parent page of the current page or is pushed by the server through the second identifier ID.
On the basis of the foregoing embodiment, in this embodiment, the receiving the second identifier ID returned by the server includes:
monitoring an active stack through monitoring messages, and acquiring a second identification ID returned by the server when determining that the second identification ID is newly added in the active stack.
In this embodiment, it can be understood that the second identifier ID returned by the server is automatically received by monitoring the push and pull of the active stack through the monitoring message, so that the page itself is prevented from processing the logic of the second identifier ID, and service development is not perceived.
As can be seen from the foregoing technical solutions, in the management method for specific behavior data provided in this embodiment, an active stack is monitored by monitoring a message, and a second identifier ID returned by the server is obtained when it is determined that the second identifier ID is newly added to the active stack, so that a task of automatically receiving the second identifier ID is implemented, and service development is not aware.
Fig. 2 is a flowchart illustrating a method for managing specific behavior data according to another embodiment of the present invention. As shown in fig. 2, the method for managing specific behavior data provided in the embodiment of the present invention is applied to a server, and includes the following steps:
step 301: 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 comprises: and the identifier ID generated by the parent page of the current page or the identifier ID issued by the server.
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 identifier ID, and requests to acquire the second identifier ID.
Step 302: and generating a second identification ID according to the first identification ID, and sending the second identification ID to the terminal.
In this step, it can be understood that a second ID is generated according to the relevant information that needs to be bound by binding the first ID, for example, a second ID is generated according to the name of the current page bound by binding the first ID, and the second ID is sent to the terminal.
Step 303: and under the condition that the data corresponding to the second identification ID and the specific behavior are received, binding and storing the data corresponding to the second identification ID and the specific behavior, wherein the data corresponding to the specific behavior is generated by triggering the specific behavior on the current page by the user.
In this step, it can be understood that, when the user triggers a specific behavior on the current page, the server receives the second identifier ID and the data corresponding to the specific behavior, so as to establish a binding relationship between the second identifier ID and the data corresponding to the specific behavior and store the binding relationship in the server, thereby implementing management of the data corresponding to the specific behavior.
As can be seen from the above technical solutions, in the management method for specific behavior data provided in this embodiment, by establishing a binding relationship between the second identifier ID and data corresponding to the specific behavior and storing the binding relationship, the operator can manage the specific behavior data, and for example, by querying the second identifier ID bound to the specific behavior, the operator can easily obtain the specific behavior corresponding to the second identifier ID; meanwhile, the second identifier ID is generated by the server according to the first identifier ID, and the first identifier ID may be an identifier ID generated by a parent page of the current page or an identifier ID issued by the server, so that an identifier ID link (a link formed by the first identifier ID, the second identifier ID and/or an ID before the first identifier ID) corresponding to the second identifier ID may be obtained according to the inquired second identifier ID. And when new service development is needed, only the server is required to send the identification ID, the terminal is not required to add a complex development task, and version sending is not required, so that all users can be directly covered.
On the basis of the foregoing embodiment, in this embodiment, the receiving a request generated by a terminal based on a first identifier ID includes:
receiving a request generated by the 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, wherein the method comprises the following steps:
and generating a second identification ID according to the first identification ID and the information of the current page, and sending the second identification ID to the terminal.
In this embodiment, for example, the server receives the first identifier ID and the information of the current page, and the server generates a corresponding ID by using the information of the current page, and binds the first identifier ID to generate the second identifier ID.
In this embodiment, preferably, the parentscreened ID of the corresponding ID is generated by using the first identifier ID as the information of the current page, so as to form an ID link (a link formed by the first identifier ID, the ID generated by using the information of the current page, and/or the ID before the first identifier ID), and generate the second identifier ID.
As can be seen from the foregoing technical solutions, in the management method for specific behavior data provided in this embodiment, the second identifier ID is generated according to the first identifier ID and the information of the current page, so that backtracking is facilitated, that is, an ID link can be determined through the second identifier ID, and further, according to the ID link, it can be determined whether the current page comes through a parent page of the current page or is pushed by a server.
On the basis of the foregoing embodiment, in this embodiment, the sending the second identifier ID to the terminal includes:
and sending the second identification ID to an active stack of the terminal, so that the terminal monitors the active stack by monitoring a message to acquire the second identification ID.
As can be seen from the foregoing technical solutions, in the management method for specific behavior data provided in this embodiment, the second identifier ID is sent to the active stack of the terminal, so that the terminal automatically monitors the active stack by monitoring a message to obtain the second identifier ID, thereby implementing service development imperceptibility.
On the basis of the foregoing embodiment, in this embodiment, the method further includes:
and binding and storing the second identification ID, the first identification ID and the information of the current page.
In order to better understand the present invention, the following examples are further provided to illustrate the content of the present invention, but the present invention is not limited to the following examples.
In this embodiment, the trigger business behavior is regarded as trigger specific behavior, and specifically, see fig. 3:
s1, showing that the user opens a new page at the terminal and enters the current page;
s2, after the new page is opened, the terminal is required to obtain the sceneID of the previous page (namely, the father page) as the parentseID of the terminal, so as to form a link between the pages, wherein the parentseID can be the sceneID of the previous page (namely, the identification ID generated by the father page) or the sceneID issued by the network (namely, the identification ID issued by the server), for example, the sceneID issued in the push message, so that a flexible business source can be configured;
S3-S5, the terminal requests the server to obtain the sceneID (namely the second identification ID) of the current page through the API interface by taking the parentSceneID obtained in S2 as a parameter, and after the server receives a request generated by the terminal based on the first identification ID, the parentSceneID and other messages needing to be bound are bound and then returned to the terminal for storage;
the steps S2 to S5 need the terminal to automatically complete in the underlying logic, for example, the android uses the activellifecyclecallbacks to monitor the creation of activity, and automatically complete the scene id acquisition of the current page, so that the logic that each page processes the scene id by itself is avoided, and no perception of service development is achieved.
S6, indicating that the business behavior is triggered by the current page of the user at the terminal;
S7-S8, after a user triggers an business behavior, the terminal uploads the sceneID of the current page and data corresponding to the business behavior to the server together through an API (application program interface), then the server binds the sceneID and the business behavior and stores the binding result, and then products or operations can easily acquire the business link and the binding data corresponding to the sceneID by inquiring the sceneID bound with the business behavior, so that the products or the operations can be used for optimizing iteration or performing operation performance assessment and the like on the products.
The S7 terminal still puts the reported behavior of the data corresponding to the sceneID and the business behavior into the bottom layer logic, for example, the header parameter of the uniformly encapsulated interface request in the app, which is also an important step of making the service imperceptible.
To sum up, the effect that this implementation reaches: when entering each page, the terminal (Android/iOS/H5) can generate its own SceneId according to the SceneId of the previous page, so as to form a link, the SceneId of the previous page can be issued by the server, so that new business resources can be flexibly added, related information is bound, and when a user triggers the business behavior of the current page, the SceneId of the current page is reported, so that a complete business link is formed; the interaction between the terminal and the server only has one SceneId parameter, so that the interaction is simplified, the cost is saved, the functions are expanded, and the efficiency is improved.
The implementation puts the processing logic of the scene ID into the bottom layer operation, the service development is not perceived, the development related to business opportunity statistics is not needed to be concerned when the new service is developed, the development task is not needed to be added by the app end when the business opportunity source or data is added conveniently and flexibly, the edition is not needed, and all users can be directly covered.
Fig. 4 is a schematic structural diagram of a management apparatus for specific behavior data according to an embodiment of the present invention, and as shown in fig. 4, the management apparatus for specific behavior data according to the embodiment is applied to a terminal, and includes: an obtaining module 401, a first receiving module 402 and a first sending module 403, wherein:
the obtaining module 401 is configured to obtain a first identifier ID when it is detected that a user enters a current page; wherein the first identification ID comprises: an identification ID generated by a parent page of the current page or an identification ID issued by a server;
a first receiving module 402, configured to generate a request based on the first identifier ID, send the request to a server, and receive a second identifier ID returned by the server; the second identification ID is generated by the server according to the first identification ID;
a first sending module 403, configured to send the second identifier ID and the data corresponding to the specific behavior to a server when it is detected that the user triggers the specific behavior on the current page, so that the server binds and stores the second identifier ID and the data corresponding to the specific behavior.
On the basis of the foregoing embodiment, in this embodiment, when the first sending module executes the generation of the request to be sent to the server based on the first identifier ID, the first sending module is specifically configured to:
and sending the first identification ID and the information generation request of the current page to the server.
On the basis of the foregoing embodiment, in this embodiment, when executing the second identifier ID returned by the receiving server, the first sending module is specifically configured to:
monitoring an active stack through monitoring messages, and acquiring a second identification ID returned by the server when determining that the second identification ID is newly added in the active stack.
The management apparatus for specific behavior data provided in the embodiment of the present invention may be specifically configured to execute the management method for specific behavior data of the terminal-side embodiment, and the technical principle and the beneficial effect of the management apparatus for specific behavior data are similar to each other.
Fig. 5 is a schematic structural diagram of a management apparatus for specific behavior data according to an embodiment of the present invention, and as shown in fig. 5, the management apparatus for specific behavior data according to the embodiment is applied to a server, and includes: a second receiving module 501, a second sending module 502 and a binding module 503, wherein:
the second receiving module 501 is configured to receive a request generated by a terminal based on a first identifier ID, where the first identifier ID is obtained when the terminal detects that a user enters a current page, and the first identifier ID includes: an identification ID generated by a parent page of the current page or an identification ID issued by a server;
a second sending module 502, configured to generate a second identifier ID according to the first identifier ID, and send the second identifier ID to the terminal;
a binding module 503, configured to, in a case that data corresponding to the second identifier ID and a specific behavior is received, bind and store the data corresponding to the second identifier ID and the specific behavior, where the data corresponding to the specific behavior is generated by triggering the specific behavior on the current page by the user.
On the basis of the foregoing embodiment, in this embodiment, the second receiving module is specifically configured to:
receiving a request generated by the terminal based on the first identification ID and the information of the current page;
the second sending module is specifically configured to:
and generating a second identification ID according to the first identification ID and the information of the current page, and sending the second identification ID to the terminal.
On the basis of the foregoing embodiment, in this embodiment, when the second sending module executes sending of the second identifier ID to the terminal, the second sending module is specifically configured to:
and sending the second identification ID to an active stack of the terminal, so that the terminal monitors the active stack by monitoring a message to acquire the second identification ID.
On the basis of the above embodiment, in this embodiment, the apparatus further includes: a storage module for storing the data of the data,
and the storage module is used for binding and storing the second identification ID, the first identification ID and the information of the current page.
The management apparatus for specific behavior data provided in the embodiment of the present invention may be specifically configured to execute the management method for specific behavior data of the server-side embodiment, and the technical principle and the beneficial effect of the management apparatus for specific behavior data are similar to each other.
Based on the same inventive concept, an embodiment of the present invention provides an electronic device, which specifically includes the following components, with reference to fig. 6: a processor 601, a memory 602, a communication interface 603, and a communication bus 604;
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 for realizing information transmission among related devices such as modeling software, an intelligent manufacturing equipment module library and the like; the processor 601 is used for calling the computer program in the memory 602, and the processor executes the computer program to implement the method provided by the above method embodiments, for example, the processor executes the computer program to implement the following steps: when the situation that a user enters a current page is detected, a first identification ID is obtained; wherein the first identification ID comprises: an identification ID generated by a parent page of the current page or an identification ID issued by a server; generating a request based on the first identification ID, sending the request to a server, and receiving a second identification ID returned by the server; the second identification ID is generated by the server according to the first identification ID; and when the situation that the user triggers the specific behavior on the current page is detected, sending the second identification ID and the data corresponding to the specific behavior to a server, so that the server binds and stores the second identification ID and the data corresponding to the specific behavior.
Based on the same inventive concept, an embodiment of the present invention further provides an electronic device, and referring to fig. 6, the electronic device specifically includes the following contents: a processor 601, a memory 602, a communication interface 603, and a communication bus 604;
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 for realizing information transmission among related devices such as modeling software, an intelligent manufacturing equipment module library and the like; the processor 601 is used for calling the computer program in the memory 602, and the processor executes the computer program to implement the method provided by the above method embodiments, for example, the processor executes the computer program to implement the following steps: 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 comprises: 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 according to the first identification ID, and sending the second identification ID to the terminal; and under the condition that the data corresponding to the second identification ID and the specific behavior are received, binding and storing the data corresponding to the second identification ID and the specific behavior, wherein the data corresponding to the specific behavior is generated by triggering the specific behavior on the current page by the user.
Based on the same inventive concept, yet another embodiment of the present invention further provides a non-transitory computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, is implemented to perform the methods provided by the above method embodiments, for example, when it is detected that a user enters a current page, a first identification ID is obtained; wherein the first identification ID comprises: an identification ID generated by a parent page of the current page or an identification ID issued by a server; generating a request based on the first identification ID, sending the request to a server, and receiving a second identification ID returned by the server; the second identification ID is generated by the server according to the first identification ID; and when the situation that the user triggers the specific behavior on the current page is detected, sending the second identification ID and the data corresponding to the specific behavior to a server, so that the server binds and stores the second identification ID and the data corresponding to the specific behavior.
Based on the same inventive concept, yet another embodiment of the present invention further provides a non-transitory computer-readable storage medium, on which a computer program is stored, which when executed by a processor is implemented to perform the methods provided by the above method embodiments, for example, receiving a request generated by a terminal based on a first identification ID, where 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 according to the first identification ID, and sending the second identification ID to the terminal; and under the condition that the data corresponding to the second identification ID and the specific behavior are received, binding and storing the data corresponding to the second identification ID and the specific behavior, wherein the data corresponding to the specific behavior is generated by triggering the specific behavior on the current page by the user.
Based on the same inventive concept, the present invention also provides a computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform a method for managing specific behavior data provided by the above methods, the method comprising: when the situation that a user enters a current page is detected, a first identification ID is obtained; wherein the first identification ID comprises: an identification ID generated by a parent page of the current page or an identification ID issued by a server; generating a request based on the first identification ID, sending the request to a server, and receiving a second identification ID returned by the server; the second identification ID is generated by the server according to the first identification ID; and when the situation that the user triggers the specific behavior on the current page is detected, sending the second identification ID and the data corresponding to the specific behavior to a server, so that the server binds and stores the second identification ID and the data corresponding to the specific behavior.
Based on the same inventive concept, the present invention also provides a computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform a method for managing specific behavior data provided by the above methods, the method comprising: 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 comprises: 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 according to the first identification ID, and sending the second identification ID to the terminal; and under the condition that the data corresponding to the second identification ID and the specific behavior are received, binding and storing the data corresponding to the second identification ID and the specific behavior, wherein the data corresponding to the specific behavior is generated by triggering the specific behavior on the current page by the user.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods of the various embodiments or some parts of the embodiments.
In addition, in the present invention, terms such as "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Moreover, in the present invention, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Furthermore, in the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A management method of specific behavior data is applied to a terminal and comprises the following steps:
when the situation that a user enters a current page is detected, a first identification ID is obtained; wherein the first identification ID comprises: an identification ID generated by a parent page of the current page or an identification ID issued by a server;
generating a request based on the first identification ID, sending the request to a server, and receiving a second identification ID returned by the server; the second identification ID is generated by the server according to the first identification ID;
and when the situation that the user triggers the specific behavior on the current page is detected, sending the second identification ID and the data corresponding to the specific behavior to a server, so that the server binds and stores the second identification ID and the data corresponding to the specific behavior.
2. The method for managing specific behavior data according to claim 1, wherein generating a request to send to a server based on the first identification ID comprises:
and sending the first identification ID and the information generation request of the current page to the server.
3. The method for managing specific behavior data according to claim 1 or 2, wherein receiving the second identification ID returned by the server comprises:
monitoring an active stack through monitoring messages, and acquiring a second identification ID returned by the server when determining that the second identification ID is newly added in the active stack.
4. A management method of specific behavior data is applied to a server and comprises the following steps:
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 comprises: 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 according to the first identification ID, and sending the second identification ID to the terminal;
and under the condition that the data corresponding to the second identification ID and the specific behavior are received, binding and storing the data corresponding to the second identification ID and the specific behavior, wherein the data corresponding to the specific behavior is generated by triggering the specific behavior on the current page by the user.
5. The method for managing specific behavior data according to claim 4, wherein receiving the request generated by the terminal based on the first identification ID comprises:
receiving a request generated by the 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, wherein the method comprises the following steps:
and generating a second identification ID according to the first identification ID and the information of the current page, and sending the second identification ID to the terminal.
6. The method for managing specific behavior data according to claim 4 or 5, wherein sending the second identification ID to the terminal comprises:
and sending the second identification ID to an active stack of the terminal, so that the terminal monitors the active stack by monitoring a message to acquire the second identification ID.
7. The method for managing specific behavior data according to claim 5, further comprising:
and binding and storing the second identification ID, the first identification ID and the information of the current page.
8. A management device of specific behavior data is applied to a terminal and comprises the following components:
the acquisition module is used for acquiring a first identification ID under the condition that a user is detected to enter a current page; wherein the first identification ID comprises: an identification ID generated by a parent page of the current page or an identification ID issued by a server;
the first receiving module is used for generating a request based on the first identification ID, sending the request to a server and receiving a second identification ID returned by the server; the second identification ID is generated by the server according to the first identification ID;
and the first sending module is used for sending the second identification ID and the data corresponding to the specific behavior to a server under the condition that the user triggers the specific behavior on the current page is detected, so that the server binds and stores the second identification ID and the data corresponding to the specific behavior.
9. A computer program product comprising computer programs/instructions, characterized in that the computer programs/instructions, when executed by a processor, implement the steps of a method for managing specific behavioural data according to any one of claims 1 to 7.
10. A non-transitory computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of a method for managing specific behavioural data according to any one of claims 1 to 7.
CN202110786152.9A 2021-07-12 2021-07-12 Management method and device of specific behavior data Pending CN113709205A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110786152.9A CN113709205A (en) 2021-07-12 2021-07-12 Management method and device of specific behavior data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110786152.9A CN113709205A (en) 2021-07-12 2021-07-12 Management method and device of specific behavior data

Publications (1)

Publication Number Publication Date
CN113709205A true CN113709205A (en) 2021-11-26

Family

ID=78648490

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110786152.9A Pending CN113709205A (en) 2021-07-12 2021-07-12 Management method and device of specific behavior data

Country Status (1)

Country Link
CN (1) CN113709205A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB0507670D0 (en) * 2005-04-15 2005-05-25 Exponetic Ltd A method and apparatus for tracking activity by a user's computer on a data network
CN107423329A (en) * 2017-04-14 2017-12-01 百度在线网络技术(北京)有限公司 Information acquisition method and device
CN107729552A (en) * 2017-11-03 2018-02-23 广州优视网络科技有限公司 User behavior method for tracing, device, user terminal and server
CN110059269A (en) * 2019-03-21 2019-07-26 北京创鑫旅程网络技术有限公司 Page method for tracing, device, electronic equipment and computer readable storage medium
CN112241506A (en) * 2020-12-11 2021-01-19 支付宝(杭州)信息技术有限公司 User behavior backtracking method, device, equipment and system
CN112258295A (en) * 2020-11-04 2021-01-22 支付宝(杭州)信息技术有限公司 Recording processing method, device and equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB0507670D0 (en) * 2005-04-15 2005-05-25 Exponetic Ltd A method and apparatus for tracking activity by a user's computer on a data network
CN107423329A (en) * 2017-04-14 2017-12-01 百度在线网络技术(北京)有限公司 Information acquisition method and device
CN107729552A (en) * 2017-11-03 2018-02-23 广州优视网络科技有限公司 User behavior method for tracing, device, user terminal and server
CN110059269A (en) * 2019-03-21 2019-07-26 北京创鑫旅程网络技术有限公司 Page method for tracing, device, electronic equipment and computer readable storage medium
CN112258295A (en) * 2020-11-04 2021-01-22 支付宝(杭州)信息技术有限公司 Recording processing method, device and equipment
CN112241506A (en) * 2020-12-11 2021-01-19 支付宝(杭州)信息技术有限公司 User behavior backtracking method, device, equipment and system

Similar Documents

Publication Publication Date Title
CN110310034B (en) Service arrangement and business flow processing method and device applied to SaaS
US10216527B2 (en) Automated software configuration management
CN111026635B (en) Software project testing system, method, device and storage medium
WO2021031688A1 (en) Service parameter acquisition method and apparatus, computer device and storage medium
CN109829121B (en) Method and device for reporting click behavior data
CN110263070A (en) Event report method and device
CN113220431B (en) Cross-cloud distributed data task scheduling method, device and storage medium
CN111522711A (en) Data monitoring processing system, method, execution end, monitoring end and electronic equipment
CN114416075A (en) Service processing method and device
CN111240998B (en) Test case processing method and device
CN112395108A (en) Calling method and device of BIM (building information modeling) element model
CN116644250A (en) Page detection method, page detection device, computer equipment and storage medium
CN113709205A (en) Management method and device of specific behavior data
CN110933070A (en) User identification method, system, equipment and computer readable storage medium
CN113220480B (en) Distributed data task cross-cloud scheduling system and method
CN112860720B (en) Storage capacity updating method and device
CN113988009A (en) Information delivery area generation method, information delivery method, electronic device and storage medium
CN114090268A (en) Container management method and container management system
CN114390015A (en) Data pushing system, method and equipment based on object model and storage medium
CN113377682A (en) Service testing method and device
CN113256240A (en) Message processing method and device and server
CN113553095A (en) Method and device for issuing small program, electronic device and storage medium
CN112579325A (en) Business object processing method and device, electronic equipment and storage medium
CN113590276A (en) Information pushing method and related product
CN107704491B (en) Message processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination