CN112699021A - Information processing method and device, terminal equipment and server - Google Patents
Information processing method and device, terminal equipment and server Download PDFInfo
- Publication number
- CN112699021A CN112699021A CN202011463554.7A CN202011463554A CN112699021A CN 112699021 A CN112699021 A CN 112699021A CN 202011463554 A CN202011463554 A CN 202011463554A CN 112699021 A CN112699021 A CN 112699021A
- Authority
- CN
- China
- Prior art keywords
- page
- statistical information
- storage node
- application page
- target application
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3692—Test management for test results analysis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
- G06F16/9566—URL specific, e.g. using aliases, detecting broken or misspelled links
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/0486—Drag-and-drop
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention provides an information processing method, an information processing device, terminal equipment and a server, wherein the terminal equipment records the operation behavior of a user when accessing a target application page; the target application page is preset with a first storage node used for storing statistical information of operation behaviors; and updating the statistical information in the first storage node according to the operation behavior. By the method, a storage node can be preset for each application page in the terminal equipment; the operation behavior of the user aiming at the application page can be counted into the corresponding storage node; by counting the operation behaviors, the storage space occupied by the behavior data is reduced, the data can be stored in the terminal equipment, and the data can be sent to the server side subsequently.
Description
Technical Field
The present invention relates to the field of computer technologies, and in particular, to an information processing method and apparatus, a terminal device, and a server.
Background
The buried point function is a common requirement for network applications. According to the embedded point service requirement of the network application, an embedded point code is deployed in a front-end page of the application, and the embedded point code can record operation behaviors of a user on the application page, such as behaviors of accessing the page, clicking, inputting data, dragging and the like, so as to obtain behavior data; the behavior data is then sent to a back-end server, which analyzes the behavior data to improve the network application to better serve the user. In the method, each time a user performs operation, a piece of behavior data is generated; based on the storage structure of the relational database, one piece of behavior data occupies one piece of storage space, and the storage space occupied by the behavior data is large, so that the storage and the transmission of the data are not facilitated.
Disclosure of Invention
In view of this, the present invention provides an information processing method, an information processing apparatus, a terminal device, and a server, so as to optimize a storage form of data and reduce a storage space occupied by the data.
In a first aspect, an embodiment of the present invention provides an information processing method, where the method is applied to a terminal device; the method comprises the following steps: recording operation behaviors when a user accesses a target application page; the target application page is preset with a first storage node, and the first storage node is used for storing statistical information of operation behaviors; updating the statistical information in the first storage node according to the operation behavior; if the application to which the target application page belongs comprises a plurality of application pages, each application page is preset with a storage node.
Further, the structural relationship between the storage nodes is determined according to the access path between the application pages.
Further, the operational acts include: the number of times the user accesses the target application page within a specified time period.
Further, the operational behavior further includes at least one of: a click event for a first designated control in a target application page; inputting an event aiming at the content of a second specified control in the target application page; a stay event that a page area stays to a specified duration is specified in a target application page; a drag event for a third specified control in the target application page.
Further, a target application page is preset with target operation behaviors to be counted; the method comprises the following steps of recording operation behaviors when a user accesses a target application page, wherein the operation behaviors comprise the following steps: and recording the target operation behavior triggered by the user in response to the user accessing the target application page.
Further, a data storage structure is preset in the application; the data storage structure comprises storage nodes corresponding to each application page; the storage node corresponding to each application page is provided with: the page address of the application page.
Further, before the step of updating the statistical information in the first storage node according to the operation behavior, the method further includes: and searching a first storage node corresponding to the target application page according to the page address of the target application page.
Further, the method further comprises: when a user accesses any application page in an application, starting a preset first timing task; and when the timing duration of the first timing task reaches the first duration, sending the statistical information in the first storage node to a back-end server.
Further, the step of sending the statistical information in the first storage node to the back-end server includes: judging whether the statistical information in the first storage node is a preset initial value or not; and if the initial value is not the initial value, sending the statistical information in the first storage node to a back-end server.
Further, after the step of sending the statistical information in the first storage node to the back-end server, the method further includes: and setting the statistical information as a preset initial value.
Further, the method further comprises: when a user accesses any application page of an application for the first time through current terminal equipment, setting storage nodes of each application page in the application in a local storage space of the current terminal equipment.
Further, the method further comprises: when a user accesses any application page of an application for a non-first time through the current terminal equipment, judging whether statistical information in a first storage node is a preset initial value or not; if the statistical information is not the initial value, the statistical information in the first storage node is sent to a back-end server; and setting the statistical information as a preset initial value.
In a second aspect, an embodiment of the present invention provides an information processing method, where the method is applied to a server; the method comprises the following steps: receiving statistical information of operation behaviors when a user accesses a target application page; the statistical information is pre-stored in a first storage node in the terminal equipment and is sent by the terminal equipment; the statistical information carries a page identifier of the target application page; and analyzing the statistical information based on a preset database table structure to obtain an analysis result.
Further, the step of analyzing the statistical information based on a preset database table structure to obtain an analysis result includes: and extracting the field content of each field information in the database table structure from the statistical information, and filling the field content into the database table structure.
In a third aspect, an embodiment of the present invention provides an information processing apparatus, where the apparatus is disposed in a terminal device; the device comprises: the recording module is used for recording the operation behavior when the user accesses the target application page; the target application page is preset with a first storage node, and the first storage node is used for storing statistical information of operation behaviors; the updating module is used for updating the statistical information in the first storage node according to the operation behavior; if the application to which the target application page belongs comprises a plurality of application pages, each application page is preset with a storage node.
In a fourth aspect, an embodiment of the present invention provides an information processing apparatus, where the apparatus is disposed in a server; the device comprises: the receiving module is used for receiving the statistical information of the operation behavior when the user accesses the target application page; the statistical information is pre-stored in a first storage node in the terminal equipment and is sent by the terminal equipment; the statistical information carries a page identifier of the target application page; and the analysis module is used for analyzing the statistical information based on a preset database table structure to obtain an analysis result.
In a fifth aspect, an embodiment of the present invention provides a terminal device, which includes a processor and a memory, where the memory stores machine-executable instructions capable of being executed by the processor, and the processor executes the machine-executable instructions to implement the information processing method according to any one of the first aspect.
In a sixth aspect, an embodiment of the present invention provides a server, including a processor and a memory, where the memory stores machine executable instructions capable of being executed by the processor, and the processor executes the machine executable instructions to implement the information processing method according to any one of the second aspects.
In a seventh aspect, an embodiment of the present invention provides a machine-readable storage medium, where the machine-readable storage medium stores machine-executable instructions, and when the machine-executable instructions are called and executed by a processor, the machine-executable instructions cause the processor to implement the information processing method of any one of the first aspect and the second aspect.
The embodiment of the invention has the following beneficial effects:
the embodiment of the invention provides an information processing method, an information processing device, terminal equipment and a server, wherein the terminal equipment records the operation behavior of a user when accessing a target application page; the target application page is preset with a first storage node used for storing statistical information of operation behaviors; updating the statistical information in the first storage node according to the operation behavior; if the application to which the target application page belongs comprises a plurality of application pages, presetting a storage node for each application page; and the structural relationship among the storage nodes is determined according to the access path among the application pages. By the method, a storage node can be preset for each application page in the terminal equipment; the operation behavior of the user aiming at the application page can be counted into the corresponding storage node; by counting the operation behaviors, the storage space occupied by the behavior data is reduced, the data can be stored in the terminal equipment, and the data can be sent to the server side subsequently.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention or related technologies, the drawings used in the description of the embodiments or related technologies will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic flowchart of an information processing method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a structural relationship between storage nodes according to an embodiment of the present invention;
fig. 3 is a data structure of statistical information in a storage node according to an embodiment of the present invention;
FIG. 4 is a flow chart illustrating another information processing method according to an embodiment of the present invention;
FIG. 5 is a flow chart illustrating another information processing method according to an embodiment of the present invention;
FIG. 6 is a diagram illustrating statistics in another storage node according to an embodiment of the present invention;
FIG. 7 is a flowchart illustrating another information processing method according to an embodiment of the present invention;
fig. 8 is a flowchart illustrating an information processing method according to an embodiment of the present invention;
FIG. 9 is a diagram illustrating statistics of another storage node according to an embodiment of the present invention;
FIG. 10 is a diagram illustrating statistics of another storage node according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of an information processing apparatus according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of an information processing apparatus according to an embodiment of the present invention;
fig. 13 is a schematic structural diagram of a terminal device and a server according to an embodiment of the present invention.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some, 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 current site function is a common requirement for network applications. The main process is that project product responsible person designs the embedded point service demand according to the product target; then, a buried point code is deployed in a front-end page of the application, and an access record and an operation behavior of a user aiming at the page can be sent to a back end, so that a behavior data analysis basis of user behavior and flow access is formed; finally, the behavior data is analyzed through the back-end server, and project advantages and user preferences can be mastered by the project group, so that better product service is provided for users. However, the conventional storage form of the buried point data in the back-end server is usually based on a relational database structure, and any operation of a user occupies a storage recording space. Based on the rear-end storage structure, when the front-end code monitors and sends the data of the embedded data, the data of the embedded data is generated once by any operation action of a user, based on the storage structure of the relational database, one piece of behavior data occupies one storage space, and the storage space occupied by the behavior data is large, so that the data storage and sending are not facilitated.
In addition, the conventional embedded point implementation schemes all use real-time requests, that is, at the moment when a user generates behavior data, the front-end embedded point code sends a network request to the back-end server to record the behavior data. For large-flow application, the method can generate loss of network resources of the server, and cause network congestion, so that a larger optimization space exists in terms of network request sending frequency. Based on this, the information processing method, the information processing device, the terminal device and the server provided by the embodiment of the invention can be applied to terminal devices such as mobile phones, tablet computers and computers.
To facilitate understanding of the embodiment, first, a detailed description is given of an information processing method disclosed in the embodiment of the present invention, where the method is applied to a terminal device, such as a mobile phone, a computer, etc.; as shown in fig. 1, the method comprises the steps of:
step S102, recording the operation behavior of a user when the user accesses a target application page; the target application page is preset with a first storage node, and the first storage node is used for storing statistical information of operation behaviors;
the Application may be a website or an APP (Application) page, such as a learning website, an official website of a school, a company, or an organization, a shopping website, etc.; the target application page may be a web page in an application, for example, the target application page may be a page related to recruitment in a school official website. The operation behavior may be any operation of the user in the target application page, and specifically includes: the number of times that a user accesses a target application page within a specified time period; in addition, at least one of the following is also included: a click event for a first designated control in a target application page; inputting an event aiming at the content of a second specified control in the target application page; a stay event that a page area stays to a specified duration is specified in a target application page; a drag event for a third specified control in the target application page.
The first storage node may be understood as a buried point code deployed in a target application page, and the first storage node (i.e., the buried point code) is configured to store statistical information of an operation behavior, where the statistical information of the operation behavior may include access time information, and an initial value of the access time may be set to 0; meanwhile, according to the service requirement (that is, there is a clear requirement in the node-burying scheme), custom event information of the statistical information of the storage operation behavior of the storage node, for example, a click event, an input event, a long-time stay event, a drag event, etc., may be set.
In actual implementation, when a user accesses a target application page through a terminal device, the terminal device locally records an operation behavior generated by the user when the user accesses the target application page, and stores the operation behavior to the target application page, wherein a first storage node is preset in the target application page. For example, if the target application page needs to record a click event of the user for a first designated control in the target application page, the corresponding first storage node also has an attribute for storing statistical information related to the click event.
Step S104, updating statistical information in the first storage node according to the operation behavior; if the application to which the target application page belongs comprises a plurality of application pages, each application page is preset with a storage node.
After the terminal device records the operation behavior when the user accesses the target application page, the operation behavior can be updated to the statistical information of the first storage node in order to store the operation behavior; for example, if the operation behavior includes accessing the target application page, the number of accesses is increased once in the statistical information in the first storage node.
Because the application to which the target application page belongs may include multiple application pages, the application may include multiple corresponding storage nodes, and a structural relationship between the storage nodes needs to be set, so that the terminal device can record an operation behavior of a user for any page in the application through the number of the corresponding storage nodes, so as to query and access each storage node; specifically, the structural relationship between the storage nodes may be set according to business requirements in a customized manner, for example, it may be determined according to access paths between partial application pages, and in a specific implementation process, if a page includes multiple sub-pages as access entries, part of access entries that are not meaningful may be deleted, and only one or a part of the most important access entries may be reserved as parent nodes of the page.
The structural relationship between the storage nodes may also be determined according to an access path between application pages, for example, the structural relationship diagram between the storage nodes shown in fig. 2, where the access path between each page in the application is that page a is a top page (i.e., a project entry) of a website, and the page a is taken as an entry and includes five pages, i.e., page B, page C, page D, page E, and page F; the page B comprises a subpage G, the page D comprises subpages H and I, the page F comprises a subpage J, and then an access path to the next layer, the page H comprises a subpage K, the page I comprises subpages L and M, and the page J comprises a subpage N. The paths among the pages form a structural relationship among the storage nodes as shown in fig. 2, each page in the graph corresponds to one storage node, and the statistical information of the operation behavior stored by each storage node may include the access amount and the custom event.
Because each storage node is used for storing the statistical information of the operation behavior, the self-defined statistical information can be set according to the service requirement, and therefore, if a page needs to record the click event of a user, the corresponding storage node tree also has the attribute for storing the relevant information of the click event. If the statistical information to be recorded is complex, the user operation behavior may be recorded in the form of an object array, for example, the service requirement may need to record the access amount of the user and the input event of the user for the target application page, and a data structure of the statistical information in the storage node as shown in fig. 3 may be used; the data structure of the statistical information in the storage node comprises attributes such as user names of input events, input specific contents, input events and the like.
In addition, no matter how each website is designed, the style is different and is strange, as long as the business requirements and the buried point requirements are clear, the structure between the storage nodes corresponding to each page can be abstracted and determined according to the access paths between the pages, and finally, a storage node tree capable of expressing the application structure can be abstracted.
It should be noted that, in the above steps, relevant operation behaviors of the user such as jumping, clicking, inputting, browsing and the like between each page in the application are all recorded in the statistical information of the storage node in the local storage space of the browser (i.e., the terminal device of the user) in real time, and this process is only to record behavior data of the user in the local storage space of the browser (i.e., the terminal device of the user) and does not send a network request.
The embodiment of the invention provides an information processing method, which comprises the steps of recording operation behaviors of a user when the user accesses a target application page through terminal equipment; the target application page is preset with a first storage node used for storing statistical information of operation behaviors; updating the statistical information in the first storage node according to the operation behavior; if the application to which the target application page belongs comprises a plurality of application pages, presetting a storage node for each application page; and the structural relationship among the storage nodes is determined according to the access path among the application pages. By the method, a storage node can be preset for each application page in the terminal equipment, and the structural relationship among the storage nodes is set according to the access path among the application pages, so that the storage nodes are conveniently inquired and accessed; the operation behavior of the user aiming at the application page can be counted into the corresponding storage node; by counting the operation behaviors, the storage space occupied by the behavior data is reduced, the data can be stored in the terminal equipment, and the data can be sent to the server side subsequently.
The embodiment of the invention also provides another information processing method, which is realized on the basis of the embodiment, wherein the target application page is preset with target operation behaviors to be counted; this embodiment mainly describes a specific implementation procedure of a step of recording an operation behavior when a user accesses a target application page (implemented by step S402), and a specific implementation procedure of a step before a step of updating statistical information in a first storage node according to the operation behavior (implemented by step S404), as shown in fig. 4, the method includes the following steps:
step S402, responding to the target application page accessed by the user, and recording the target operation behavior triggered by the user; the target application page is preset with a first storage node, and the first storage node is used for storing statistical information of target operation behaviors;
according to the business requirements, target operation behaviors to be counted can be preset in an application page needing operation behavior recording; when the user accesses the target application page, the target operation behavior can be directly recorded according to the operation behavior of the user; the target operational behavior may include one or more; the target operation behavior may include at least one of: the number of times that a user accesses a target application page within a specified time period; a click event for a first designated control in a target application page; inputting an event aiming at the content of a second specified control in the target application page; a stay event that a page area stays to a specified duration is specified in a target application page; a drag event for a third specified control in the target application page.
The target operation behavior is illustrated, wherein the number of times that the user accesses the target application page in the specified time period may be an access amount that the user accesses a certain product page in the shopping website within a time period of 1 minute or within a time period of 5 minutes; wherein, for the click event of the first designated control in the target application page, the click event of the user accessing the "detailed description" control in a certain product page in the shopping website can be represented, and generally includes the number of clicks and the details of the clicked control (such as "detailed description"); the content input event of the second specified control in the target application page can be a product name and the like which are input in a search control in a shopping website and are required to be searched for by a user, and the input event generally comprises the attribute of the second specified control and input content; the retention event that the specified page area in the target application page stays for the specified duration can be a duration which passes from the opening of the webpage to the closing of the webpage when a user accesses a certain product page in a shopping website, the specified duration can be set according to actual needs, and the timing duration can be set to be 5 seconds or 2 seconds in consideration of the situation that the user quickly enters and exits the webpage, and can be specifically set according to actual requirements; the drag event for the third designated control in the target application page may be a drag event for removing a product that is not of interest when the user accesses each product in the shopping website, and generally includes drag product information and drag information (such as removal or movement).
Specifically, when a user accesses a target application page through a terminal device, the terminal device locally records an operation behavior generated by the user when the user accesses the target application page, and stores the target operation behavior in the operation behavior to a first storage node preset in the target application page.
Further, the application is preset with a data storage structure; the data storage structure comprises a storage node corresponding to each application page; the storage node corresponding to each application page is provided with: the page address of the application page.
The data storage structure also comprises a structural relationship between each storage node; for example, as shown in fig. 2, a data storage structure of an application includes a storage node corresponding to each application page and a relationship between the storage nodes, and in addition, the storage node corresponding to each application page is provided with: the page address of the application page (not shown in the figure).
In addition, when accessing a page, a user does not necessarily enter from a home page of a website (for example, page a in fig. 2), and the user may enter a corresponding target application page from a network address (URL) corresponding to any page in the application, so that a storage node corresponding to each application page needs to be provided with: the page address of the application page enables a user to directly record the operation behavior of the user in the page in the storage node corresponding to the page through the address information when the user accesses the page through the network address.
Step S404, searching a first storage node corresponding to the target application page according to the page address of the target application page;
when accessing a page, a user does not necessarily enter from a home page of a website (for example, page a in fig. 2), and the user may enter a corresponding target application page from a network address (URL) corresponding to any page in the application, so that when storing a recorded operation behavior, a first storage node corresponding to the target application page needs to be searched first; because the application to which the target application page belongs includes multiple pages, when the first storage node corresponding to the target application page is searched, traversal needs to be performed in the storage node tree corresponding to the application according to the page address of the target application page, so that the first storage node corresponding to the target application page is obtained.
Specifically, each time the user triggers the operation behavior storage, the current page information can be directly locked. For example, a storage event triggered by page a, where parameters of the storage event include a (or related information such as a network address that may be equivalent to a), then a storage node a is found in the entire data storage structure corresponding to the application, and operation behavior data of the event information is stored in statistical information of the storage node. Wherein the pseudo code is as follows:
step S406, updating the statistical information in the first storage node according to the operation behavior;
in the above manner, the structural relationship between the storage nodes is set according to the access path between the application pages, so as to query and access the storage nodes; presetting a data storage structure in an application; the data storage structure comprises a storage node corresponding to each application page; the storage node corresponding to each application page is provided with: the page address of the application page. Before updating the statistical information in the first storage node, the first storage node corresponding to the target application page needs to be searched according to the page address of the target application page, and then the operation behavior of the user accessing the target application page is stored to the first storage node, each application page is preset with one storage node, the storage nodes have a structural relationship of access path relationships between the application pages, the operation behavior of the user can be cached in the statistical information in the corresponding storage node in an updating mode, the storage form of behavior data is optimized, and the storage space occupied by the behavior data is reduced.
An embodiment of the present invention further provides another information processing method, which is implemented on the basis of the foregoing embodiment, and as shown in fig. 5, the method includes the following steps:
step S502, when a user accesses any application page in the application, starting a preset first timing task;
in the related technology, the front end does not usually provide buried data cache optimization, and behavior data generated in real time can be sent to the back end server in real time, so that the network request times are more, and network congestion is easily caused; based on this, the front-end program of the terminal device can set a timed task at a fixed time interval (e.g., 5 minutes); the specific timing interval may be set according to the attribute of the web page.
Step S504, when the timing duration of the first timing task reaches the first duration, the statistical information in the first storage node is sent to a back-end server;
the first time length can be adjusted according to the operation requirement condition of the product; for example, for a website where a user needs to stay for a long time, the first duration can be set to be longer, thereby effectively reducing network requests. For some websites that users will enter and exit quickly, the time interval may be set to be short to avoid losing a large amount of user behavior data. Therefore, the first duration in the present invention must be determined through repeated experiments and careful jostling, and if the time interval is set too long and the stickiness of the user of the website is not high, more user behavior data may be lost. If the time interval is set too short, it may result in an increased number of network requests, which increases unnecessary network overhead. It can be determined that the worst-case number of network requests of the present invention is equal to or less than the number of network requests of the conventional buried point scheme. Therefore, the method can reduce the number of network requests and optimize the number of network requests.
For example, when a user accesses a plurality of pages in an application, the statistical information in the storage node may be, for example, as shown in fig. 6, which includes operation behaviors of page a, page B, and page C, where the operation behavior of page a includes the number of times the page is accessed, the user, and the time; the operation behavior of the page B comprises the times of accessing the page, users and time; the operation behavior of the page C comprises the number of times of accessing the page and two times of clicking events on the page, and specifically comprises a user clicking the event, the time of clicking the designated control to start the game, the time of clicking the designated control to finish the game and the time of clicking the control to finish the game; and when the timing duration of the first timing task reaches the first duration, the terminal equipment sends the statistical information in the first storage node to a back-end server.
Step S506, setting the statistical information as a preset initial value;
in order to enable the user to count the operation behavior of the user again within the next timing duration, the statistical information currently sent to the backend server needs to be set to a preset initial value, where the preset initial value may be 0, for example, the access amount is set to 0.
In the above manner, when a user accesses any application page in an application, a preset first timing task is started; when the timing duration of the first timing task reaches the first duration, sending the statistical information in the first storage node to a back-end server; finally, setting the statistical information as a preset initial value; the behavior data of the user can be temporarily cached to the storage node by setting the timing task, the times of network requests are reduced, network congestion is avoided, network resources of the server are released, offline behavior data collection is supported, and when the user uses mobile traffic to access the application, the expenditure of traffic can be reduced.
The embodiment of the present invention further provides another information processing method, which is implemented on the basis of the above embodiment, and this embodiment mainly describes a timing task of a terminal device when a user accesses any application page in an application, and initializes time and a specific implementation process of a storage node in the application. As shown in fig. 7, the method includes the steps of:
step S702, a user accesses any application page in the application through the current terminal equipment;
step S704, starting a preset first timing task; when the timing duration of the first timing task reaches the first duration;
step S706, judging whether the statistical information in the first storage node is a preset initial value, if not, executing step S708; if yes, go to step S704;
when the timing duration of the first timing task reaches a first duration, a program corresponding to the timing task checks whether statistical information in a first storage node is different from a preset initial value, if the statistical information is not different from the preset initial value, the fact that a user does not generate task operation behavior on the target application page within the first duration is indicated, and at the moment, the first timing task is continuously executed; if the difference is positive, the user generates task operation behavior on the target application page within the first duration.
Step S708, sending the statistical information in the first storage node to a back-end server;
when the application only comprises one page, the statistical information in the first storage node corresponding to the page can be directly sent to the back-end server; when the application comprises a plurality of pages, the data storage structure of the application can be traversed, and the changed statistical information in the data storage structure is sent to the back-end server at one time through a network request.
Step S710, setting the statistical information as a preset initial value;
step S712, the user exits the page;
if the user has not exited the page at this time, execution continues with step S704.
When the user accesses any application page in the application through the current terminal device, the following steps are also required to be executed at the same time:
step S703, determining whether the user accesses the application for the first time, if yes, executing step S705; if not, executing step S706;
generally, when behavior data acquisition needs to be performed on a target application, it needs to be judged whether a user accessing the target application accesses the target application for the first time, and if the user accessing the target application does not access the target application for the first time, it is indicated that the application has already set a corresponding data storage structure in a local storage space of a terminal device, and storage nodes corresponding to application pages, and the like; meanwhile, the user has accessed the application before, and at this time, statistical information of the operation behavior accessed last time may be stored in each storage node of the application, so that when the application is accessed again, whether the statistical information in each storage node of the application is a preset initial value or not can be judged first, and if not, the statistical information is sent to a back-end server so as to store behavior data of the user left at last time. If the user accesses the application for the first time, an initialization process is required.
Step S705, setting storage nodes of each application page in the application in the local storage space of the current terminal equipment;
specifically, a user accesses the application for the first time, a front-end program initializes and sets a corresponding data storage structure, including storage nodes of each application page in the application, and persists data in the storage nodes in a local storage space of a browser (terminal equipment of the user), and subsequent operations are only read-write operations; the reinitialization usually does not occur unless the local data is forcibly cleared by the user, or the whole project structure is changed greatly due to the change of the business requirement, thereby causing a special situation that the data storage structure needs to be changed, and at this time, the data storage structure of the application needs to be reinitialized and stored locally.
Step S707, recording the operation behavior of the user when accessing the target application page; updating the statistical information in the first storage node according to the operation behavior; continuing to step S708;
it should be noted that, if the user exits the website soon after entering the website, and the timing program of the front end is not triggered even after a time period of the first duration, the behavior data of the user will be recorded in the local storage node of the browser (the terminal device of the user). If the user enters the website next time, the front-end program detects that the storage node carrying data is stored locally, and the data of the whole storage node is immediately sent to the back end through a network request.
If the user does not enter the website any more, the data can never be sent to the back end, and just some useless user spam behavior data (possibly data caused by the crawler robot) are excluded, and for the user behavior data, the following situations can exist:
(1) a crawler robot;
(2) users who do not want to open the website but open it accidentally;
(3) seeing some objectionable content after opening results in the user quickly leaving the website.
For the data of types (1) and (2), the data are dirty data, and the data are just the dirty data which cannot be avoided by the traditional buried point data collection scheme. Even if the data is collected to a back-end database, the data may cause the result of the buried point analysis to be inconsistent with the real situation and should be excluded. The delayed sending mechanism of the scheme just provides a scheme for reasonably avoiding and solving the part of dirty data.
For type (3) data, loss of this portion of data can be avoided by setting a smaller timer task interval. Or a short timing task (for example, 1 second) may be set after initialization, user behavior data recorded by the storage node is forcibly sent once, and then the timer is triggered according to a normally set timing interval.
In the above manner, when a user accesses any application page in an application, a preset first timing task is started; when the timing duration of the first timing task reaches the first duration, judging whether the statistical information in the first storage node is a preset initial value or not; if the statistical information is not the initial value, the statistical information in the first storage node is sent to a back-end server; setting the statistical information as a preset initial value; in addition, when a user accesses any application page of the application for the first time through the current terminal equipment, setting storage nodes of each application page in the application in a local storage space of the current terminal equipment; when a user accesses any application page of an application for a non-first time through the current terminal equipment, judging whether statistical information in a first storage node is a preset initial value or not; if the statistical information is not the initial value, the statistical information in the first storage node is sent to a back-end server; and setting the statistical information as a preset initial value. In the method, by setting a timing task, a caching mode of front-end behavior data is realized, and the difference between statistical information in a storage node in an application and an initial value is judged, so that unnecessary network requests can be reduced, thereby avoiding network congestion, releasing network resources of a server, supporting offline behavior data recording, reducing flow expenditure if a user accesses the application by using mobile flow, and simultaneously reducing the occupied space of data, so that the product can provide better user experience.
An embodiment of the present invention further provides an information processing method, which is applied to a server, and as shown in fig. 8, the method includes the following steps:
step S802, receiving statistical information of operation behaviors when a user accesses a target application page; the statistical information is pre-stored in a first storage node in the terminal equipment and is sent by the terminal equipment; the statistical information carries a page identifier of the target application page;
the specific statistical information may be as shown in fig. 6, where the specific statistical information includes a user-defined event of an operation behavior of a user accessing three pages, and specifically, the terminal device may convert the user-defined event of the operation behavior of the three pages into a form of a character string, and send the character string as the statistical information to the server.
Step S804, analyzing the statistical information based on a preset database table structure to obtain an analysis result.
After receiving statistical information of operation behaviors of a user when accessing a target application page, which is sent by a terminal device, the server firstly needs to traverse behavior data information of a storage node corresponding to each page in the statistical information, analyzes the behavior data information into an entry data structure accessible by a relational database according to a preset database table structure, fills row data (such as foreign key information, control fields and the like), obtains an analysis result, and finally stores the analysis result into a database of the server.
One possible implementation: and extracting the field content of each field information in the database table structure from the statistical information, and filling the field content into the database table structure.
For example, if the statistical information received by the back-end server is as shown in fig. 6, the possible forms of the data finally stored in the database are as shown in tables 1 and 2 below:
TABLE 1 custom event Table
TABLE 2 ACCESS METER
Page | Amount of access |
A | 1 |
B | 1 |
C | 1 |
In the example data, the access amount and the self-defining event are stored by two independent tables; in addition, when analyzing and storing the statistical information, two different cases need to be distinguished:
(1) similar events may be merged; for example, the embedded point needs to record the page access amount only, and the behavior data does not need to be stored independently and can be accumulated on the node directly. For another example, the number of clicks of each button on the recording page is also a similar scenario. Under the scene, the storage performance can be improved by combining the data without independent processing and storage.
(2) Each event is completely independent and can not be combined; for example, each event requires recording the time of occurrence. Even a simple number of page accesses requires a separate store because the time field for each event is different. For this case, there is still a partial memory optimization. Because the data storage structure of the application itself provides a structure of the storage node, the structure contains some duplicated information that could be avoided. Such as page URL (Uniform Resource Locator) information, is not required to be stored repeatedly in the data storage structure.
For example, a click event occurring on page a, for the storage structure of the relational database, each record that the event is information from page a:
{page:”A”,user:”admin”,event:”click something”}
for the information recorded in the storage node, the repeated information of the page a does not need to be recorded one by one:
{user:”admin”,event:”click something”}
similarly, other information that can be stored in the tree structure need not be recorded repeatedly in a single record.
The embodiment provides an information processing method, which comprises the steps of receiving statistical information of operation behaviors of a user when the user accesses a target application page through a server; the statistical information is pre-stored in a first storage node in the terminal equipment and is sent by the terminal equipment; the statistical information carries a page identifier of the target application page; and analyzing the statistical information based on a preset database table structure to obtain an analysis result. In the method, the operation behaviors of the user are cached in the statistical information in the corresponding storage node, and the server analyzes the received statistical information, so that the behavior data of the user and the storage form of the behavior data are optimized, the storage space occupied by the behavior data is reduced, the network request times are reduced, the problem of network congestion is avoided, and the data scale and the network loss are reduced.
The following supplementary description of the overall scheme is given by way of example, first assuming that there is a web site, consisting of only two pages, a main entry page a and a sub-page B. It is assumed that the buried point requirement only requires recording the access amount data of each page. Assume that the product group determines that the timed interval for sending the website buried point data is set to 5 seconds based on the user's behavioral research. Suppose that the web site has a faithful user A.
When a user A opens a page A for the first time, a front-end program checks whether historical buried point tree (storage node) data is stored in a local storage space, namely whether statistical information in each storage node in a traversal data storage structure is the same as an initial value or not, if the statistical information is different from the initial value, the terminal equipment does not send the statistical information to a server before the last access is finished, and at the moment, the statistical information needs to be sent to a back-end server firstly, and then the statistical information in the buried point tree is reset to be in an initial state. If the local storage space does not have the embedded point tree, the embedded point tree is initialized, because the user A enters the website for the first time, the front-end program initializes and locally stores the embedded point tree, at this time, because the user A already enters the page A, the access amount of the page A needs +1, and the statistical information of the storage node is shown in FIG. 9. The string form corresponding to the buried point tree localization data is as follows:
[{"node":"A","pv":1,"nextNode":"B"},{"node":"B","pv":0,"nextNode":null}];
when the user a enters the page B, the front-end program correspondingly monitors the behavior change, records and locally stores the behavior data, and the statistical information of the changed storage node is shown in fig. 10. The string form of the localized data corresponding to the buried point tree is as follows:
[{"node":"A","pv":1,"nextNode":"B"},{"node":"B","pv":1,"nextNode":null}]
at the moment, the timing duration of the timing task reaches 5 seconds, the timing task is triggered, the data of the embedded point tree is read, and it is detected that the current embedded point tree is not in an initialized state, which indicates that in the 5-second time period, a user generates effective behavior data, the behavior data is recorded in the embedded point tree, and the data of the embedded point needs to be sent to a back-end server. And directly sending the localized data character string of the buried point tree to a back end through a network request.
The back end analyzes the data of the buried point tree to finally obtain two user behavior record data tables shown in the following tables 3 and 4 (the identity information of the user A is usually retained in a cookie requested by the network or indicated by carrying some encrypted identity token):
TABLE 3 buried point data Table
TABLE 4 ACCESS METER
Page | Amount of access |
A | 1 |
B | 1 |
After the network request is sent, the front-end program resets the embedded point tree to an initial state and modifies the corresponding local data of the embedded point tree. At this point, user A found content on page B that attracts him, stays for a long time, 5 seconds again, and the timer task is triggered again. But at this time, the front-end program detects that the buried point tree does not have any change in this time period, and still maintains the initial state, which means that the user does not have behavior data to be recorded in this time period. The timer task is skipped directly without sending unnecessary network requests. After a moment, the user A finishes browsing, exits the website and the whole program flow is finished.
The information processing method provided by the above embodiment has the same technical features as the information processing method provided by the above embodiment, so the same technical problems can be solved, and the same technical effects can be achieved.
Corresponding to the above method embodiment, an embodiment of the present invention provides an information processing apparatus, which is disposed in a terminal device, and as shown in fig. 11, the apparatus includes:
the recording module 111 is used for recording the operation behavior when the user accesses the target application page; the target application page is preset with a first storage node, and the first storage node is used for storing statistical information of operation behaviors;
an updating module 112, configured to update the statistical information in the first storage node according to the operation behavior; if the application to which the target application page belongs comprises a plurality of application pages, each application page is preset with a storage node.
The embodiment of the invention provides an information processing device, which records the operation behavior of a user when accessing a target application page through a terminal device; the target application page is preset with a first storage node used for storing statistical information of operation behaviors; updating the statistical information in the first storage node according to the operation behavior; if the application to which the target application page belongs comprises a plurality of application pages, presetting a storage node for each application page; and the structural relationship among the storage nodes is determined according to the access path among the application pages. By the method, a storage node can be preset for each application page in the terminal equipment; the operation behavior of the user aiming at the application page can be counted into the corresponding storage node; by counting the operation behaviors, the storage space occupied by the behavior data is reduced, the data can be stored in the terminal equipment, and the data can be sent to the server side subsequently.
Further, the structural relationship between the storage nodes is determined according to the access path between the application pages.
Further, the above operation acts include: the number of times the user accesses the target application page within a specified time period.
Further, the above operation behavior further includes at least one of: a click event for a first designated control in a target application page; inputting an event aiming at the content of a second specified control in the target application page; a stay event that a page area stays to a specified duration is specified in a target application page; a drag event for a third specified control in the target application page.
Further, the target application page is preset with target operation behaviors to be counted; the recording module is further configured to: and recording the target operation behavior triggered by the user in response to the user accessing the target application page.
Further, the application is preset with a data storage structure; the data storage structure comprises storage nodes corresponding to each application page; the storage node corresponding to each application page is provided with: the page address of the application page.
Further, the apparatus further includes a searching module, configured to search a first storage node corresponding to the target application page according to the page address of the target application page.
Further, the device further comprises a timing module, configured to start a preset first timing task when a user accesses any application page in the application; and when the timing duration of the first timing task reaches the first duration, sending the statistical information in the first storage node to a back-end server.
Further, the timing module is further configured to: judging whether the statistical information in the first storage node is a preset initial value or not; and if the initial value is not the initial value, sending the statistical information in the first storage node to a back-end server.
Further, the device further comprises an initial value setting module, configured to set the statistical information to a preset initial value.
Further, the apparatus further includes a setting module, configured to set a storage node of each application page in the application in a local storage space of the current terminal device when a user accesses any application page of the application through the current terminal device for the first time.
Further, the device further comprises a judging module: when a user accesses any application page of an application for a non-first time through the current terminal equipment, judging whether statistical information in a first storage node is a preset initial value or not; if the statistical information is not the initial value, the statistical information in the first storage node is sent to a back-end server; and setting the statistical information as a preset initial value.
The information processing device provided by the embodiment of the invention has the same technical characteristics as the information processing method provided by the embodiment, so that the same technical problems can be solved, and the same technical effects can be achieved.
Corresponding to the method embodiment, the embodiment also provides an information processing device, which is arranged on the server; as shown in fig. 12, the apparatus includes:
a receiving module 121, configured to receive statistical information of an operation behavior when a user accesses a target application page; the statistical information is pre-stored in a first storage node in the terminal equipment and is sent by the terminal equipment; the statistical information carries a page identifier of the target application page;
and the analysis module 122 is configured to analyze the statistical information based on a preset database table structure to obtain an analysis result.
Further, the parsing module is further configured to: and extracting the field content of each field information in the database table structure from the statistical information, and filling the field content into the database table structure.
The embodiment provides an information processing apparatus, which receives statistical information of operation behaviors of a user when the user accesses a target application page through a server; the statistical information is pre-stored in a first storage node in the terminal equipment and is sent by the terminal equipment; the statistical information carries a page identifier of the target application page; and analyzing the statistical information based on a preset database table structure to obtain an analysis result. By the method, a storage node can be preset for each application page in the terminal equipment; the operation behavior of the user aiming at the application page can be counted into the corresponding storage node; the operation behaviors are counted by the back-end server, so that the storage space occupied by behavior data is reduced, the data can be stored in the terminal equipment and the server, the network request times are reduced, the problem of network congestion is avoided, and the data scale and the network loss are reduced.
The information processing device provided by the embodiment of the invention has the same technical characteristics as the information processing method provided by the embodiment, so that the same technical problems can be solved, and the same technical effects can be achieved.
The embodiment also provides a terminal device and a server, which comprise a processor and a memory, wherein the memory stores machine executable instructions capable of being executed by the processor, and the processor executes the machine executable instructions to realize the information processing method.
Referring to fig. 13, the terminal device or the server includes a processor 130 and a memory 131, the memory 131 stores machine executable instructions capable of being executed by the processor 130, and the processor 130 executes the machine executable instructions to implement the information processing method.
Further, the terminal device and the server shown in fig. 13 further include a bus 132 and a communication interface 133, and the processor 130, the communication interface 133, and the memory 131 are connected through the bus 132.
The Memory 131 may include a high-speed Random Access Memory (RAM) and may also include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 133 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, and the like can be used. The bus 132 may be an ISA bus, PCI bus, EISA bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 13, but that does not indicate only one bus or one type of bus.
The processor 130 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 130. The Processor 130 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 131, and the processor 130 reads the information in the memory 131 and completes the steps of the method of the foregoing embodiment in combination with the hardware thereof.
The present embodiments also provide a machine-readable storage medium storing machine-executable instructions which, when called and executed by a processor, cause the processor to implement the above-described information processing method.
The information processing method, the information processing apparatus, the terminal device, and the computer program product of the server provided in the embodiments of the present invention include a computer-readable storage medium storing a program code, where instructions included in the program code may be used to execute the method described in the foregoing method embodiments, and specific implementations may refer to the method embodiments and are not described herein again.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the system and the apparatus described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In addition, in the description of the embodiments of the present invention, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meaning of the above terms in the present invention can be understood in specific cases for those skilled in the art.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that the following embodiments are merely illustrative of the present invention, and not restrictive, and the scope of the present invention is not limited thereto: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (19)
1. An information processing method is characterized in that the method is applied to terminal equipment; the method comprises the following steps:
recording operation behaviors when a user accesses a target application page; a first storage node is preset in the target application page, and the first storage node is used for storing the statistical information of the operation behavior;
updating the statistical information in the first storage node according to the operation behavior;
and if the application to which the target application page belongs comprises a plurality of application pages, presetting a storage node for each application page.
2. The method according to claim 1, wherein the structural relationship between the storage nodes is determined according to access paths between the application pages.
3. The method of claim 1, wherein the operational behavior comprises: a number of times the user accesses the target application page within a specified time period.
4. The method of claim 3, wherein the operational behavior further comprises at least one of:
a click event for a first designated control in the target application page;
inputting an event aiming at the content of a second specified control in the target application page;
a stay event that a page area is appointed to stay for a specified duration in the target application page;
and aiming at a drag event of a third specified control in the target application page.
5. The method according to claim 1, wherein the target application page is preset with target operation behaviors to be counted;
the step of recording the operation behavior of the user when accessing the target application page comprises the following steps: and responding to the user to access the target application page, and recording the target operation behavior triggered by the user.
6. The method of claim 1, wherein the application is pre-populated with a data storage structure; the data storage structure comprises a storage node corresponding to each application page;
the storage node corresponding to each application page is provided with: a page address of the application page.
7. The method of claim 6, wherein the step of updating the statistical information in the first storage node according to the operational behavior is preceded by the method further comprising: and searching a first storage node corresponding to the target application page according to the page address of the target application page.
8. The method of claim 1, further comprising:
when a user accesses any application page in the application, starting a preset first timing task;
and when the timing duration of the first timing task reaches a first duration, sending the statistical information in the first storage node to a back-end server.
9. The method of claim 8, wherein the step of sending the statistical information in the first storage node to a backend server comprises:
judging whether the statistical information in the first storage node is a preset initial value or not;
and if the initial value is not the initial value, sending the statistical information in the first storage node to a back-end server.
10. The method of claim 8, wherein after the step of sending the statistical information in the first storage node to a backend server, the method further comprises: and setting the statistical information as a preset initial value.
11. The method of claim 1, further comprising:
when a user accesses any application page of the application for the first time through the current terminal equipment, setting storage nodes of all application pages in the application in a local storage space of the current terminal equipment.
12. The method of claim 1, further comprising:
when a user accesses any application page of the application for a non-first time through the current terminal equipment, judging whether the statistical information in the first storage node is a preset initial value or not;
if the initial value is not the initial value, the statistical information in the first storage node is sent to a back-end server; and setting the statistical information as a preset initial value.
13. An information processing method, characterized in that the method is applied to a server; the method comprises the following steps:
receiving statistical information of operation behaviors when a user accesses a target application page; the statistical information is pre-stored in a first storage node in the terminal equipment and is sent by the terminal equipment; the statistical information carries a page identifier of the target application page;
and analyzing the statistical information based on a preset database table structure to obtain an analysis result.
14. The method of claim 13, wherein the step of parsing the statistical information based on a predetermined database table structure to obtain a parsing result comprises:
and extracting the field content of each field information in the database table structure from the statistical information, and filling the field content into the database table structure.
15. An information processing apparatus, characterized in that the apparatus is provided to a terminal device; the device comprises:
the recording module is used for recording the operation behavior when the user accesses the target application page; a first storage node is preset in the target application page, and the first storage node is used for storing the statistical information of the operation behavior;
the updating module is used for updating the statistical information in the first storage node according to the operation behavior;
and if the application to which the target application page belongs comprises a plurality of application pages, presetting a storage node for each application page.
16. An information processing apparatus, characterized in that the apparatus is provided in a server; the device comprises:
the receiving module is used for receiving the statistical information of the operation behavior when the user accesses the target application page; the statistical information is pre-stored in a first storage node in the terminal equipment and is sent by the terminal equipment; the statistical information carries a page identifier of the target application page;
and the analysis module is used for analyzing the statistical information based on a preset database table structure to obtain an analysis result.
17. A terminal device comprising a processor and a memory, the memory storing machine executable instructions executable by the processor, the processor executing the machine executable instructions to implement the information processing method of any one of claims 1 to 12.
18. A server comprising a processor and a memory, the memory storing machine executable instructions executable by the processor, the processor executing the machine executable instructions to implement the information processing method of claim 13 or 14.
19. A machine-readable storage medium having stored thereon machine-executable instructions which, when invoked and executed by a processor, cause the processor to implement the information processing method of any one of claims 1 to 14.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011463554.7A CN112699021A (en) | 2020-12-08 | 2020-12-08 | Information processing method and device, terminal equipment and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011463554.7A CN112699021A (en) | 2020-12-08 | 2020-12-08 | Information processing method and device, terminal equipment and server |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112699021A true CN112699021A (en) | 2021-04-23 |
Family
ID=75507305
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011463554.7A Pending CN112699021A (en) | 2020-12-08 | 2020-12-08 | Information processing method and device, terminal equipment and server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112699021A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113641704A (en) * | 2021-08-12 | 2021-11-12 | 北京金山云网络技术有限公司 | Information acquisition method and device and electronic equipment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104951517A (en) * | 2015-05-29 | 2015-09-30 | 小米科技有限责任公司 | Behavior log statistics method and device |
CN106874319A (en) * | 2016-06-17 | 2017-06-20 | 阿里巴巴集团控股有限公司 | The distributed statistical method and device of click volume |
CN107562598A (en) * | 2017-08-03 | 2018-01-09 | 合肥美的智能科技有限公司 | Processing method, device, computer installation, server and readable storage medium storing program for executing |
CN108647133A (en) * | 2018-04-28 | 2018-10-12 | 深圳市小牛在线互联网信息咨询有限公司 | User's operation track recording method, device, storage medium and computer equipment |
CN110955486A (en) * | 2018-09-26 | 2020-04-03 | Oppo广东移动通信有限公司 | File caching efficiency tracking method and device, storage medium and terminal |
CN111339438A (en) * | 2020-02-17 | 2020-06-26 | 中国平安人寿保险股份有限公司 | Friend relation data processing method, server, terminal device and storage medium |
CN112000541A (en) * | 2020-07-23 | 2020-11-27 | 招联消费金融有限公司 | Buried point data reporting method and device, computer equipment and storage medium |
-
2020
- 2020-12-08 CN CN202011463554.7A patent/CN112699021A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104951517A (en) * | 2015-05-29 | 2015-09-30 | 小米科技有限责任公司 | Behavior log statistics method and device |
CN106874319A (en) * | 2016-06-17 | 2017-06-20 | 阿里巴巴集团控股有限公司 | The distributed statistical method and device of click volume |
CN107562598A (en) * | 2017-08-03 | 2018-01-09 | 合肥美的智能科技有限公司 | Processing method, device, computer installation, server and readable storage medium storing program for executing |
CN108647133A (en) * | 2018-04-28 | 2018-10-12 | 深圳市小牛在线互联网信息咨询有限公司 | User's operation track recording method, device, storage medium and computer equipment |
CN110955486A (en) * | 2018-09-26 | 2020-04-03 | Oppo广东移动通信有限公司 | File caching efficiency tracking method and device, storage medium and terminal |
CN111339438A (en) * | 2020-02-17 | 2020-06-26 | 中国平安人寿保险股份有限公司 | Friend relation data processing method, server, terminal device and storage medium |
CN112000541A (en) * | 2020-07-23 | 2020-11-27 | 招联消费金融有限公司 | Buried point data reporting method and device, computer equipment and storage medium |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113641704A (en) * | 2021-08-12 | 2021-11-12 | 北京金山云网络技术有限公司 | Information acquisition method and device and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10587707B2 (en) | Method and apparatus for monitoring website access data | |
JP5722783B2 (en) | Providing customization information to users based on trend identification | |
US11816172B2 (en) | Data processing method, server, and computer storage medium | |
CN108304410B (en) | Method and device for detecting abnormal access page and data analysis method | |
CN107341395B (en) | Method for intercepting reptiles | |
CN107797894B (en) | APP user behavior analysis method and device | |
CN107301215B (en) | Search result caching method and device and search method and device | |
US20130185429A1 (en) | Processing Store Visiting Data | |
CN112486708B (en) | Page operation data processing method and processing system | |
CN106649313B (en) | Method and apparatus for processing cache data | |
KR20190022761A (en) | Method and apparatus for updating search cache | |
WO2011088724A1 (en) | Method and device for realizing information subscription from web page | |
CN111782692A (en) | Frequency control method and device | |
CN109246240A (en) | A kind of mobile network's content pre-cache method merging CCN | |
CN112231481A (en) | Website classification method and device, computer equipment and storage medium | |
CN107526748B (en) | Method and equipment for identifying user click behavior | |
US20140006916A1 (en) | Pre-reading method and apparatus | |
CN112699021A (en) | Information processing method and device, terminal equipment and server | |
CN107239542A (en) | A kind of data statistical approach, device, server and storage medium | |
CN110245313B (en) | Request sending method, device and terminal based on data analysis | |
CN104392000B (en) | Determine the method and apparatus that mobile site captures quota | |
CN109150819A (en) | A kind of attack recognition method and its identifying system | |
JP2003271494A (en) | Information collection system, information collection method, information collection program and recording medium | |
CN110995691A (en) | Method and system for acquiring webpage data | |
EP2742433B1 (en) | System and method for storing information about transactions over a network |
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 |