CN111338910B - Log data processing method, log data display method, log data processing device, log data display device, log data processing equipment and log data storage medium - Google Patents

Log data processing method, log data display method, log data processing device, log data display device, log data processing equipment and log data storage medium Download PDF

Info

Publication number
CN111338910B
CN111338910B CN202010424877.9A CN202010424877A CN111338910B CN 111338910 B CN111338910 B CN 111338910B CN 202010424877 A CN202010424877 A CN 202010424877A CN 111338910 B CN111338910 B CN 111338910B
Authority
CN
China
Prior art keywords
log data
user
target
terminal
information
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.)
Active
Application number
CN202010424877.9A
Other languages
Chinese (zh)
Other versions
CN111338910A (en
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202010424877.9A priority Critical patent/CN111338910B/en
Publication of CN111338910A publication Critical patent/CN111338910A/en
Application granted granted Critical
Publication of CN111338910B publication Critical patent/CN111338910B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/302Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3065Monitoring arrangements determined by the means or processing involved in reporting the monitored data
    • G06F11/3072Monitoring arrangements determined by the means or processing involved in reporting the monitored data where the reporting involves data filtering, e.g. pattern matching, time or event triggered, adaptive or policy-based reporting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3452Performance evaluation by statistical analysis

Abstract

The application discloses a method, a device, equipment and a storage medium for processing and displaying log data, and belongs to the technical field of computers. According to the method and the device, the log data of at least one first terminal are obtained, the time sequence relation between the target log data from the same user and each target log data is determined based on the operation occurrence time and the user identification in the log data, the time sequence relation is used for representing the operation path of the user, namely, the operation path of each user can be automatically analyzed based on the operation occurrence time, the log data viewing instruction of a second terminal is responded, the target log data and the time sequence relation are sent to the second terminal, developers can directly obtain the operation path of the user when viewing the log data, manual data processing is not needed, the efficiency of log data processing is effectively improved, and the obtaining cost of the operation path of the user is reduced.

Description

Log data processing method, log data display method, log data processing device, log data display device, log data processing equipment and log data storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a storage medium for processing and displaying log data.
Background
With the development of computer technology, the functions of application programs are more and more diversified. After the application program is released, a developer needs to collect log data generated when the application program runs, and analyze an operation path of a user based on the log data so as to optimize the application program. In general, a developer may set a large number of embedded points in an application program, that is, relevant program codes are embedded in each function, and when a user uses a certain function in the application program, the program codes embedded in the function may be triggered to generate log data, and the log data is reported to a server and stored by the server. The developer can obtain the log data from the server to view.
However, when a developer views log data, all the log data acquired from the server are original data, and the log data are relatively independent, so that the log data need to be manually analyzed to determine the relevance between the log data, and further determine an operation path of a user when the user uses an application program. The method for manually processing the log data wastes time and labor, has extremely low efficiency, and causes extremely high cost for acquiring the operation path of the user.
Disclosure of Invention
The embodiment of the application provides a log data processing method, a log data display method, a log data processing device, a log data display device and a log data storage medium, which can improve the data processing efficiency of log data and reduce the acquisition cost of a user operation path. The technical scheme is as follows.
In one aspect, a log data processing method is provided, and the method includes:
acquiring log data of at least one first terminal, wherein the log data comprises operation information, user identification and operation occurrence time;
determining target log data from the same user and a time sequence relationship among the target log data based on the operation occurrence time and the user identification in the log data, wherein the time sequence relationship is used for representing an operation path of the user;
and responding to a log data viewing instruction of the second terminal, and sending the target log data and the time sequence relation to the second terminal.
In one aspect, a log data display method is provided, and the method includes:
responding to the viewing operation of the log data, and sending a log data viewing instruction to the server;
acquiring target log data sent by the server in response to the log data viewing instruction and a time sequence relation among the target log data, wherein the time sequence relation is used for representing an operation path of a user;
and displaying the operation information in the target log data on the target page based on the operation path represented by the time sequence relation.
In one aspect, a log data processing apparatus is provided, the apparatus including:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring log data of at least one first terminal, and the log data comprises operation information, a user identifier and operation occurrence time;
the determining module is used for determining target log data from the same user and a time sequence relation among the target log data based on the operation occurrence time and the user identification in the log data, wherein the time sequence relation is used for representing an operation path of the user;
and the sending module is used for responding to a log data viewing instruction of the second terminal and sending the target log data and the time sequence relation to the second terminal.
In one possible implementation, the determining module is configured to:
determining the log data containing the same user identification as target log data from the same user;
and sequencing the target log data based on the operation occurrence time in the target log data, wherein the sequencing sequence of the target log data is used for representing the time sequence relation between the target log data.
In one possible implementation, the determining module is further configured to:
determining operation statistical information corresponding to the target log data based on at least one item of the operation information, the user identification and the operation occurrence time in the target log data;
the sending module is used for responding to the operation statistical information checking instruction of the second terminal and sending the operation statistical information to the second terminal.
In one possible implementation, the determining module is further configured to:
for first target log data in the target log data, determining second target log data which is subsequent to the first target log data in time sequence based on the time sequence relation among the target log data, and acquiring a time difference value between operation occurrence time in the second target log data and operation occurrence time in the first target log data, wherein the time difference value is used for indicating response duration of user operation corresponding to the first target log data;
and determining the number of users triggering the user operation indicated by the operation information and the conversion rate between the user operations based on the operation information and the user identification in the target log data of each user.
In one possible implementation, the determining module is further configured to:
acquiring at least one piece of target log data with the same operation information from the target log data of each user as at least one piece of intermediate log data;
determining the number of users triggering the user operation indicated by the operation information based on the user identification in the intermediate log data;
for a first user operation and a second user operation in the user operations, determining a conversion rate between the first user operation and the second user operation based on the number of users triggering the first user operation and the number of users triggering the second user operation.
In one possible implementation, the apparatus further includes:
the grouping module is used for grouping the log data based on the version of the target application program operated by the first terminal, and determining the log data corresponding to the same version as a group of candidate log data; and based on any group of candidate log data, executing the step of determining the target log data corresponding to any user and the incidence relation of each target log data based on the data generation time and the user identification carried by the log data.
In one aspect, there is provided a log data display apparatus, including:
the sending module is used for responding to the checking operation of the log data and sending a log data checking instruction to the server;
the acquisition module is used for acquiring target log data sent by the server in response to the log data viewing instruction and a time sequence relation among the target log data, wherein the time sequence relation is used for representing an operation path of a user;
and the display module is used for displaying the operation information in the target log data on the target page based on the operation path represented by the time sequence relation.
In one possible implementation, the sending module is configured to:
responding to the checking operation of the operation statistical information corresponding to the log data, and sending an operation statistical information checking instruction to the server;
the obtaining module is configured to obtain operation statistical information sent by the server in response to the operation statistical information viewing instruction, where the operation statistical information includes at least one of a response duration of a user operation, a number of users triggering the user operation, and a conversion rate between the user operations;
the display module is used for displaying the operation statistical information on the target page.
In one possible implementation, the display module is configured to:
displaying the number of the users triggering any user operation at a first position of the operation information display area operated by any user in the target page;
displaying conversion rates between the respective user operations at second positions between the operation information display areas of the respective user operations;
and displaying the response time length for triggering any user at the third position of the operation information display area operated by any user.
In one possible implementation, the display module is configured to:
comparing the operation statistical information with a target condition, wherein the target condition comprises data limit information of the operation statistical information;
and in response to any one of the operation statistical information meeting the target condition, highlighting any one of the operation statistical information on the target page.
In one possible implementation, the obtaining module is further configured to:
responding to the version switching operation, and acquiring a version identifier of a target application program provided by a user;
the sending module is used for responding to the checking operation of the log data and generating the log data checking instruction based on the version identification; and sending the log data viewing instruction containing the version identification to the server.
In one aspect, a computer apparatus is provided that includes one or more processors and one or more memories having at least one program code stored therein, the at least one program code being loaded and executed by the one or more processors to implement operations performed by the log data processing method or the log data display method.
In one aspect, there is provided a computer-readable storage medium having at least one program code stored therein, the at least one program code being loaded and executed by a processor to implement the operations performed by the log data processing method or the log data displaying method.
According to the technical scheme provided by the embodiment of the application, by acquiring the log data of at least one first terminal, the target log data from the same user and the time sequence relation between the target log data are determined based on the operation occurrence time and the user identification in the log data, the time sequence relation is used for representing the operation path of the user, namely, the operation path of each user can be automatically analyzed based on the operation occurrence time, the target log data and the time sequence relation are sent to a second terminal in response to a log data viewing instruction of the second terminal, developers can directly acquire the operation path of the user when viewing the log data, manual data processing is not needed, the efficiency of log data processing is effectively improved, and the acquisition cost of the operation path of the user is reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of an implementation environment of a log data processing method according to an embodiment of the present application;
fig. 2 is a flowchart of a log data processing method according to an embodiment of the present application;
fig. 3 is a flowchart of a log data display method according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a target page provided by an embodiment of the present application;
fig. 5 is a timing diagram of a log data processing and displaying method according to an embodiment of the present application;
fig. 6 is a schematic diagram of a log data reporting process according to an embodiment of the present application;
FIG. 7 is a schematic diagram illustrating a display manner of operation statistics information according to an embodiment of the present application;
fig. 8 is a flowchart of log data reporting and visual display provided in an embodiment of the present application;
FIG. 9 is a schematic diagram of a target page provided by an embodiment of the present application;
fig. 10 is a schematic structural diagram of a log data processing apparatus according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of a log data display device according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of a terminal according to an embodiment of the present application;
fig. 13 is a schematic structural diagram of a server according to an embodiment of the present application.
Detailed Description
To make the purpose, technical solutions and advantages of the present application clearer, the following will describe embodiments of the present application in further detail with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present application. 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 application.
The terms "first," "second," and the like in this application are used for distinguishing between similar items and items that have substantially the same function or similar functionality, and it should be understood that "first," "second," and "nth" do not have any logical or temporal dependency or limitation on the number or order of execution.
Cloud technology (Cloud technology) is a generic term of network technology, information technology, integration technology, management platform technology, application technology and the like based on Cloud computing business model application, can form a resource pool, is used as required, and is flexible and convenient. The embodiment of the application relates to a cloud storage (cloud storage) technology in the cloud technology, wherein the cloud storage is a new concept extended and developed on the cloud computing concept, and the distributed cloud storage system refers to a storage system which integrates a large number of storage devices (storage devices are also called as storage nodes) of various different types in a network through functions of cluster application, a grid technology, a distributed storage file system and the like to cooperatively work through application software or application interfaces and provides data storage and service access functions to the outside. The storage method of the distributed operation and storage system comprises the following steps: logical volumes are created, and when created, each logical volume is allocated physical storage space, which may be the disk composition of a certain storage device or of several storage devices. The client stores data on a certain logical volume, that is, the data is stored on a file system, the file system divides the data into a plurality of parts, each part is an object, the object not only contains the data but also contains additional information such as data identification (ID, ID entry), the file system writes each object into a physical storage space of the logical volume, and the file system records storage location information of each object, so that when the client requests to access the data, the file system can allow the client to access the data according to the storage location information of each object. For example, a terminal used by each user can send log data generated in the running process of an application program to a cloud server for storage, a distributed cloud storage system can be deployed in the server, the cloud server can process the log data, and developers can access the data from the cloud server.
Hereinafter, terms related to the present application are explained.
Click Stream (Click Stream): refers to the track that a user continuously visits on a page of a website or application. Each visit of a user to a website or an application program comprises a series of clicking operations, and the clicking behavior Data forms Click Stream Data (Click Stream Data) which represents the whole process of browsing the website or using the application program by the user. The click stream is from the perspective of the user, the operation flow of the user is emphasized, and the click stream data of the user can be obtained by processing the log data of the website or the application program.
The life cycle of the page is as follows: refers to the process from initialization to uninstallation of a page, and in general, the life cycle of a page may include key time points of page loading, for example, the time when the page is opened, updated, closed, and the like.
Fig. 1 is a schematic diagram of an implementation environment of a log data processing method according to an embodiment of the present application, and referring to fig. 1, the implementation environment may include a first terminal 101, a server 102, and a second terminal 103. The first terminal 101 may be a user-side device, the first terminal 101 may be installed and operated with a target application, and the target application may be a social application, an instant messaging application, or the like, and the type of the target application is not limited in this embodiment of the present application. The resource packet of the target application may include a program code for collecting log data, and the first terminal 101 may report the log data generated in the running process of the target application to the server 102. The server 102 may be a background server, a test server, or the like corresponding to the target application program, and the server 102 may perform data processing on the log data reported by the first terminal. The second terminal 103 may be a development-side device, and a developer may obtain the processed log data from the server 102 through the second terminal 103 and display the processed log data by the second terminal 103.
The first terminal 101 and the second terminal 103 may be a smart phone, a tablet computer, an e-book reader, an MP3 (Moving Picture Experts Group Audio Layer III, motion Picture Experts Group Audio Layer 3) player, an MP4 (Moving Picture Experts Group Audio Layer IV, motion Picture Experts Group Audio Layer 4) player, a laptop computer, a desktop computer, a smart speaker, a smart watch, and the like. The server 102 may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a Network service, cloud communication, a middleware service, a domain name service, a security service, a CDN (Content Delivery Network), a big data and artificial intelligence platform.
Each terminal and the server can be connected through a wired network or a wireless network, so that data interaction can be carried out between each terminal and the server.
Those skilled in the art will appreciate that the number of terminals described above may be greater or fewer. For example, the number of the terminals may be only one, or several tens or hundreds of the terminals, or more. The number of terminals and the type of the device are not limited in the embodiments of the present disclosure.
The log data processing method provided in the embodiment of the present application may be applied to any type of application program, for example, a social application program, an instant messaging application program, and the like, which is not limited in the embodiment of the present application. The method provided by the embodiment of the application can be combined with various application scenes, for example, in a scene of maintaining the application program after the application program is released, the technical scheme provided by the embodiment of the application can be applied to collect log data generated by each user in the process of using the application program, and the server performs data processing on the log data to obtain the operation path of the user, so that the obtained operation path is visualized. When the application program is maintained by a developer, the operation path of the user can be directly checked, the log data does not need to be analyzed manually, the data processing efficiency is effectively improved, the acquisition cost of the operation path of the user is reduced, and the developer can conveniently optimize the application program.
Fig. 2 is a flowchart of a log data processing method according to an embodiment of the present application. The method can be applied to the above implementation environment, and in the embodiment of the present application, a server is used as an execution subject, and the log data processing method is briefly described with reference to fig. 2.
201. The server acquires log data of at least one first terminal, wherein the log data comprises operation information, user identification and operation occurrence time.
In the embodiment of the present application, a program code for generating log data is implanted in a resource package of a target application program run by the first terminal, and when a user operates the target application program, the program code may be triggered to generate log data, where the log data may include operation information of the user operation, a user identifier, and an operation occurrence time. The operation information may be an operation name, a function name, and the like. Of course, the log data may further include a device model of the first terminal, a version identifier of the target application program, and the like, which is not limited in this embodiment of the application. The first terminal can obtain the log data of the target application program through the program codes and send the log data to the server in real time. Of course, the first terminal may also send the log data to the server according to a target period, where the target period may be set by a developer, and this is not limited in this embodiment of the application. The above description of the method for sending the log data to the server by the first terminal is only an exemplary description, and the embodiment of the present application does not limit this.
202. And the server determines target log data from the same user and a time sequence relation between the target log data based on the operation occurrence time and the user identification in the log data, wherein the time sequence relation is used for representing an operation path of the user.
In a possible implementation manner, the server may determine log data including the same user identifier as target log data from the same user, and then sort the target log data based on operation occurrence time in the target log data, where the sort order of the target log data may indicate a time sequence relationship between the target log data. It should be noted that the above description of the method for determining the target log data and the time-series relationship is only an exemplary description, and the embodiment of the present application does not limit which method is specifically used to determine the target log data and the time-series relationship.
In this embodiment of the application, the time sequence relationship between the target log data is determined based on the operation occurrence time in the target log data, and the time sequence relationship between the target log data may indicate an occurrence order of user operations corresponding to the target log data, that is, an order in which the user performs the user operations, that is, an operation path of the user.
203. And the server responds to a log data viewing instruction of the second terminal and sends the target log data and the time sequence relation to the second terminal.
In a possible implementation manner, when the second terminal detects a viewing operation of the user on the log data, a log data viewing instruction may be generated, and the log data viewing instruction is sent to the server. Wherein the log data viewing instruction may include a network address of the second terminal. The server responds to the log data viewing instruction, and can send target log data and a time sequence relation between the target log data to the second terminal based on the network address of the second terminal, and the second terminal displays operation information in the target log data based on the time sequence relation. The above description of the method for sending the target log data and the time-series relationship to the second terminal by the server is only an exemplary description, and the embodiment of the present application is not particularly limited thereto.
According to the technical scheme provided by the embodiment of the application, by acquiring the log data of at least one first terminal, the target log data from the same user and the time sequence relation between the target log data are determined based on the operation occurrence time and the user identification in the log data, the time sequence relation is used for representing the operation path of the user, namely, the operation path of each user can be automatically analyzed based on the operation occurrence time, the target log data and the time sequence relation are sent to a second terminal in response to a log data viewing instruction of the second terminal, developers can directly acquire the operation path of the user when viewing the log data, manual data processing is not needed, the efficiency of log data processing is effectively improved, and the acquisition cost of the operation path of the user is reduced.
Fig. 3 is a flowchart of a log data display method according to an embodiment of the present application. The method can be applied to the second terminal in the above implementation environment, and in the embodiment of the present application, the second terminal is used as an execution subject, and the log data display method is briefly described with reference to fig. 3.
301. And the second terminal responds to the checking operation of the log data and sends a log data checking instruction to the server.
In a possible implementation manner, the second terminal may display a target page, the target page may be configured to provide a function of viewing log data, the target page may display a log viewing control, and when the second terminal detects a viewing operation of a user on the log data, that is, when a trigger operation of the user on the log viewing control of the target page is detected, a log data viewing instruction may be generated, and the log data viewing instruction is sent to the server. It should be noted that the above description of the log data viewing instruction sending method is only an exemplary description, and the embodiment of the present application does not limit which method is specifically adopted to send the log data viewing instruction to the server.
302. And the second terminal acquires target log data sent by the server in response to the log data viewing instruction and a time sequence relation among the target log data, wherein the time sequence relation is used for representing an operation path of a user.
In one possible implementation manner, the server may process the log data of the first terminal to obtain target log data from the same user and a timing relationship between the target log data. When receiving the log data viewing instruction, the server may send the target log data and the timing relationship to the second terminal.
303. And the second terminal displays the operation information in the target log data on the target page based on the operation path represented by the time sequence relation.
In this embodiment of the application, the second terminal may display the operation path of the user on the target page, that is, may display the operation information in the target log data based on the time sequence relationship between the target log data. Fig. 4 is a schematic diagram of a target page provided in an embodiment of the present application, and referring to fig. 4, the target page may include an operation information display area 401, the operation information display area 401 may display a plurality of operation information 402, and the plurality of operation information 402 is displayed according to an order indicated by the time sequence relationship to represent an operation path of a user. For example, the operation information 402 may be sequentially displayed in the target page according to a time-series relationship, or may be connected by an arrow, and the embodiment of the present application does not limit a specific display mode of the operation information.
According to the technical scheme, the log data of the first terminal are processed through the server to obtain the processed log data, the processed log data can directly represent the operation path of the user, the second terminal can obtain the processed log data and display the processed log data, developers can directly check the operation path of the user, manual data processing is not needed, time and labor are saved, and the obtaining cost of the operation path is effectively reduced.
The above embodiments are brief descriptions of log data processing and displaying methods provided by the present application, and specifically, the method is specifically described with reference to fig. 5. Fig. 5 is a timing diagram of a log data processing and displaying method according to an embodiment of the present application, where the method may be applied to the implementation environment shown in fig. 1. Referring to fig. 5, this embodiment may specifically include the following steps.
501. And the first terminal sends the log data of the target application program to the server.
In this embodiment of the present application, a large number of embedded points may be set in the target application, that is, program codes for generating log data are embedded in a plurality of functions of the target application, and when a user operates an application and invokes the functions, the program codes embedded in the functions may be triggered to generate log data, where the log data includes information such as operation information, a user identifier, an operation occurrence time, and a device model of the first terminal. In one possible implementation, the burial point can be set in an automated global agent manner to achieve automatic burial without requiring a developer to manually add the burial point. In a possible implementation manner, the automated global agent may be implemented as a method for agent monitoring, a listener may be set in the target application, and when the target application runs, the listener may monitor various click events (touchable) and various controls in the target application, that is, monitor key operations of a user, for example, operations such as page opening and closing. The listener may be configured by a developer, for example, the listener may be a piece of program code for providing a listening function, and the embodiment of the present application does not limit the specific form of the listener. The first terminal can collect log data of the target application program through the listener and send the log data to the server. It should be noted that the above description of the log data obtaining method is only an exemplary description, and the embodiment of the present application does not limit which method is specifically used to obtain the log data.
In a possible implementation manner, before sending the log data to the server, the first terminal may further perform a normalization process on the log data, for example, adjust the log data to a target format, so that the server performs a subsequent data processing on the log data. The embodiment of the present application does not limit the specific procedure of the normalization process.
Fig. 6 is a schematic diagram of a log data reporting process provided in an embodiment of the present application, referring to fig. 6, the first terminal may monitor events such as a life cycle 601 of a page and an operation behavior 602 of a user through a system bottom-layer agent, that is, the events may be monitored through a listener set in the target application, the life cycle 601 of the page may include page opening, page updating, page closing, and the like, the operation behavior 602 of the user may include operations such as clicking, long-time pressing, sliding, and the like, and when the events are monitored, buried point data, that is, log data, may be automatically generated. The first terminal can also perform standardized processing on the log data, collect and report the processed log data, send the log data to the server, and perform subsequent processing on the log data by the server. In the embodiment of the application, the embedded point is set in an automatic global agent mode, and when a new function is released, a developer is not required to manually embed the point, so that the cost of manually embedding the point can be effectively reduced, and the error of embedding the point is avoided.
502. And the server determines target log data and a time sequence relation between the target log data based on the user identification and the operation occurrence time in the log data.
In a possible implementation manner, after obtaining log data, a server may determine the log data including the same user identifier as target log data from the same user, and then sequence the target log data based on operation occurrence time in the target log data, where the sequence of the target log data may represent a time sequence relationship between the target log data. It should be noted that the above description of the operation path determining method is only an exemplary description, and the embodiment of the present application does not limit which method is specifically adopted to determine the operation path of the user. In the embodiment of the application, the server performs data processing on the log data to obtain the operation path of the user, manual data processing is not needed, time and labor are saved, and the data processing efficiency is effectively improved.
503. And the server determines operation statistical information corresponding to the target log data based on at least one item of operation information, operation occurrence time and user identification in the log data.
The operation statistical information may include information such as a response time of the user operation, the number of users triggering each user operation, and a conversion rate between each user operation.
In a possible implementation manner, for a first target log data in the target log data, the server may determine, based on a time sequence relationship between the target log data, a second target log data that is subsequent to the first target log data in time sequence, and obtain a time difference between an operation occurrence time in the second target log data and an operation occurrence time in the first target log data, where the time difference is used to indicate a response duration of a user operation corresponding to the first target log data. It should be noted that the above description of the method for determining the response time duration of the user operation is only an exemplary description, and the embodiment of the present application does not limit which method is specifically adopted to determine the response time duration of the user operation. In the embodiment of the application, whether the response process of the user operation is normal or not can be judged by determining the response duration corresponding to the user operation, so that the problem location is facilitated, and further, based on comparison and analysis of the response durations of the same user operation of a plurality of users, whether the problem is in a target application program or in the network environment of user equipment and users or the like can be judged more accurately.
In a possible implementation manner, after the server calculates the response duration of the user operation for the target log data corresponding to each user, the server may further determine an average response duration corresponding to a certain user operation based on a plurality of response durations corresponding to the certain user operation. For example, for a user operation of opening the page a, the server may obtain a plurality of response durations corresponding to the user operation based on log data of a plurality of users, and further determine an average value of the response durations corresponding to the user operation. In the embodiment of the present application, whether the response process of the user operation is normal or not may be represented by the average response time length, for example, when multiple users perform the same user operation, if the average response time length corresponding to the user operation is greater than a time length threshold, it may be determined that the response process of the user operation is abnormal, and this problem is caused by the target application program, and a developer may be prompted to optimize the user operation.
In one possible implementation manner, the server may determine the number of users triggering the user operation indicated by the operation information and the conversion rate between the user operations based on the operation information and the user identification in the target log data of each user. For example, the server may obtain at least one piece of target log data with the same operation information from the target log data of each user as at least one piece of intermediate log data; and determining the number of users triggering the user operation indicated by the operation information based on the user identification in the intermediate log data. For a first user operation and a second user operation in the user operations, the server may determine a conversion rate between the first user operation and the second user operation based on the number of users triggering the first user operation and the number of users triggering the second user operation, that is, determine a conversion rate between functions corresponding to the first user operation and the second user operation. For example, the page a includes a selection control of the function B, the first user operation is to open the page a, the number of users corresponding to the first user operation is 100, the second user operation is to click the function B, and the number of users corresponding to the second user operation is 60, it may be determined that the conversion rate between the first user operation and the second user operation is 60%, that is, the conversion rate from the page a to the function B is 60%, the remaining 40% of users open the page a, but do not click the function B, that is, 40% of users are lost. It should be noted that the above description of the method for determining the number of users and the conversion rate is only an exemplary description, and the embodiment of the present application is not limited to which method is specifically used to determine the number of users and the conversion rate. By applying the scheme, the use condition of each function in the target application program can be determined by counting the user data triggering each user operation and the conversion rate, so that developers can optimize the target application program conveniently, for example, for a function with a low conversion rate, the triggering mode of the function can be further optimized, the priority of the function is improved, and the like.
It should be noted that the above description of the operation statistical information obtaining method is only an exemplary description, and the embodiment of the present application does not limit which method is specifically used to obtain the operation statistical information and which operation statistical information is obtained. In the embodiment of the application, the operation condition of each function in the target application program and the use condition of each function by the user can be determined by acquiring the operation statistical information of the user, so that developers can optimize each function in the target application program conveniently.
504. And the second terminal responds to the checking operation of the log data and sends a log data checking instruction to the server.
In a possible implementation manner, the log data viewing operation may be a triggering operation on a log viewing control in a target page, where the triggering operation may be a click operation, a long-time press operation, and the like, and this is not limited in this embodiment of the present application. When the second terminal detects that the user triggers the log viewing control in the target page, the network address of the second terminal can be acquired, the log data viewing instruction is generated, and the log data viewing instruction is sent to the server. In one possible implementation, the log data viewing instruction may further include a target time period, that is, only the log data whose operation occurred within the target time period is obtained. The target time period may be provided by a developer, and the embodiment of the present application does not limit this.
505. And the server responds to the log data viewing instruction and sends target log data and the time sequence relation among the target log data to the second terminal, and the second terminal displays the operation information in the target log data on a target page based on the operation path represented by the time sequence relation.
In a possible implementation manner, when receiving the log data viewing instruction, the server may send the processed log data to the second terminal based on the network address in the log data viewing instruction, that is, send the target log data and the timing relationship to the second terminal. In a possible implementation manner, if the log data viewing instruction further includes a target time period, the server may further filter the target log data, and send only the target log data whose operation occurrence time is within the target time period to the second terminal.
In a possible implementation manner, after the second terminal acquires the target log data and the time sequence relationship sent by the server, the second terminal may display the operation information in the target log data on a target page as shown in fig. 4, and a developer may directly view the operation path of each user on the target page. In one possible implementation manner, the second terminal may perform merged display on the same operation path, and display a plurality of different operation paths on the target page. It should be noted that, in the embodiment of the present application, a specific information display manner in the target page is not limited.
506. And the second terminal responds to the viewing operation of the operation statistical information corresponding to the log data and sends an operation statistical information viewing instruction to the server.
In a possible implementation manner, the target page may further include an operation statistics viewing control, and the operation of viewing the operation statistics corresponding to the log data may be a trigger operation on the operation statistics viewing control. When the second terminal detects that the developer triggers the operation of the operation statistical information viewing control, the network address of the second terminal can be obtained, an operation statistical information viewing instruction is generated, and the operation statistical information viewing instruction is sent to the server.
507. And the server responds to the operation statistical information viewing instruction of the second terminal, sends the operation statistical information to the second terminal, and the second terminal displays the operation statistical information on the target page.
In a possible implementation manner, after receiving the operation statistic information viewing instruction, the server may send the operation statistic information to the second terminal based on a network address in the operation statistic information viewing instruction, and the operation statistic information is displayed by the second terminal.
In a possible implementation manner, the second terminal may display the number of users triggering any user operation at a first position of the operation information display area operated by any user in the target page; displaying conversion rates between the respective user operations at second positions between the operation information display areas of the respective user operations; and displaying the response time length for triggering any user at the third position of the operation information display area operated by any user. The first position, the second position, and the third position may be set by a developer, which is not limited in this application. Fig. 7 is a schematic diagram of a display manner of operation statistical information provided in an embodiment of the present application, and referring to fig. 7, a plurality of operation information 702 may be displayed in the target page 701, and each operation information 702 may be connected in sequence by an arrow to indicate an operation path of a user. Taking fig. 7 as an example, the first position may be a right area 703 of each operation information display position, and response time duration may be displayed in the area 703, for example, the response time duration for opening the page a is 1s, the response time duration for clicking the function B is 0.5s, the response time duration for opening the page C is 1.5s, and the like; the second position may be an upper area 704 of each operation information display position, and the area 704 may display the number of users who trigger the user operation, for example, the number of users who trigger the page a to open is 100; the third position may be a middle area 705 of the two operation information display positions, and the area 705 may display a conversion rate between two user operations, for example, a conversion rate between page a open and function B click is 60%, and a conversion rate between page a open and function D click is 60%. In a possible implementation manner, when receiving the log data viewing instruction, the server may also send the target log data, the timing relationship, and the operation statistical information to the second terminal, and the second terminal displays the operation path and the operation statistical information of the user, so that a developer does not need to trigger the operation statistical information viewing instruction. The above description of the operation statistic information display method is merely an exemplary description, and the embodiment of the present application does not limit which specific method is used to display the operation statistic information.
In one possible implementation, the second terminal may also highlight abnormal operation statistics. The second terminal may compare the operation statistical information with a target condition, and in response to any operation statistical information satisfying the target condition, may determine the any operation statistical information as abnormal data, and highlight the any operation statistical information on the target page. For example, the data restriction information may be that the response duration of the user operation is greater than a duration threshold, the conversion rate between the user operations is less than a conversion rate threshold, the number of users triggering the user operation is less than a target threshold, and the like, and specific content of the target condition may be set by a developer, which is not limited in this embodiment of the present application. In this embodiment of the present application, taking the comparison between the response duration of the user operation and the target condition as an example, when any response duration is greater than the duration threshold, the second terminal may determine that the response duration is abnormal data, and the second terminal may highlight the response duration, for example, the response duration may be displayed as a target color, or the response duration may be circled by a target shape, which is not limited by the comparison in this embodiment of the present application. By applying the scheme, the abnormal data is highlighted, so that the problem positioning can be conveniently carried out by developers, and the optimization of the target application program is facilitated.
According to the technical scheme provided by the embodiment of the application, by acquiring the log data of at least one first terminal, the target log data from the same user and the time sequence relation between the target log data are determined based on the operation occurrence time and the user identification in the log data, the time sequence relation is used for representing the operation path of the user, namely, the operation path of each user can be automatically analyzed based on the operation occurrence time, the target log data and the time sequence relation are sent to a second terminal in response to a log data viewing instruction of the second terminal, developers can directly acquire the operation path of the user when viewing the log data, manual data processing is not needed, the efficiency of log data processing is effectively improved, and the acquisition cost of the operation path of the user is reduced.
Fig. 8 is a flowchart of log data reporting and visual display provided in an embodiment of the present application, and details of the foregoing scheme are described with reference to fig. 8. In this embodiment, a first terminal performs step 801 of automatically embedding a point and reporting log data, the first terminal performs automatic point embedding on a target application program in an automatic global point embedding manner to monitor a life cycle of a page and an operation behavior of a user to obtain log data of the target application program, the log data is reported to a server of the target application program, the server performs step 802 of embedded data analysis, the server can perform data processing on the log data of the first terminal to obtain an operation path of the user, a conversion rate between page functions, time consumption of the page functions, and the like, and then sends the data to a second terminal, and the second terminal performs step 803 of visually displaying. By applying the scheme, on one hand, the target application program is automatically embedded by an automatic global agent mode, and when the function is newly added, developers do not need to manually embed the point, so that the point embedding error is avoided, the point embedding cost is effectively reduced, and the log data acquisition cost is reduced; on the other hand, the server performs log data processing to obtain the operation path, the operation statistical information and the like of the user, the operation path and the operation statistical information of the user are visually displayed, developers can visually check the operation path and the use condition of each function of the user without manually performing data analysis, the data processing efficiency is improved, and the developers can conveniently optimize the target application program.
The foregoing embodiment mainly introduces a process in which the server processes the log data to obtain an operation path of the user, and the second terminal performs visual display on the processed log data. In a possible implementation manner, the log data may further include a version identifier of a target application program run by the first terminal, and the server may process the log data based on the version identifier, so as to obtain a difference of operation paths when a user applies different versions of the target application program.
In a possible implementation manner, the server may group the log data based on the version identifier, determine the log data carrying the same version identifier as a group of candidate log data, and then, based on any group of the candidate log data, perform the step of determining the target log data corresponding to any user and the association relationship between each target log data based on the data generation time and the user identifier carried by the log data. It should be noted that the step of determining the target log data corresponding to any user and the association relationship between each target log data is the same as that in step 202, and details are not repeated here.
In one possible implementation manner, the second terminal may obtain a version identifier of the target application program in response to the log data viewing operation, generate a log data viewing instruction based on the version identifier, send the log data viewing instruction to the server, and send the target log data and the timing relationship to the second terminal based on the version identifier in the log data viewing instruction. The version identifier may be selected by a developer on a target page, for example, the target page may display a version selection area, the developer may select a version of a target application program in the version selection area, and the second terminal may obtain the version identifier of the version selected by the developer; the version identifier may also be a default version identifier, for example, the version identifier may default to the latest version, which is not limited in this embodiment of the present application. In the embodiment of the application, the developer can also switch the log data of the application programs of different versions on the target page. In one possible implementation manner, the second terminal responds to the version switching operation to acquire the version identification of the target application program provided by a developer; in response to a viewing operation on the log data, generating the log data viewing instruction based on the version identification; and sending the log data viewing instruction to the server. Fig. 9 is a schematic diagram of a target page provided in an embodiment of the present application, and referring to fig. 9, the target page may include a version selection area 901, a log viewing control 902, and an operation information display area 903. The version switching operation detected by the second terminal, that is, when detecting that a developer selects any version in the version selection area 901, the version identifier corresponding to the version may be acquired, when detecting that a user triggers the operation on the log viewing control 902, a log data viewing instruction may be generated based on the version identifier, the log data viewing instruction is sent to the server, target log data and a time sequence relationship corresponding to the version identifier sent by the server are acquired, and the second terminal may display operation information in the target log data in the operation information display area 903. In a possible implementation manner, the second terminal may further compare and display log data of target application programs of different versions, that is, compare and display an operation path generated when the user applies the target application programs of different versions, so that developers can compare and analyze the target application programs of different versions. The present embodiment does not limit what data display method is specifically adopted.
By applying the scheme, developers can check the operation path of the user when the target application programs of different versions are applied, and after the new version is released, whether the new version meets the expected effect or not is detected by comparing log data of the original version and the new version.
All the above optional technical solutions may be combined arbitrarily to form optional embodiments of the present application, and are not described herein again.
Fig. 10 is a schematic structural diagram of a log data processing apparatus provided in an embodiment of the present application, and referring to fig. 10, the apparatus includes.
An obtaining module 1001, configured to obtain log data of at least one first terminal, where the log data includes operation information, a user identifier, and operation occurrence time;
a determining module 1002, configured to determine, based on the operation occurrence time in the log data and the user identifier, target log data from the same user and a time sequence relationship between the target log data, where the time sequence relationship is used to represent an operation path of the user;
the sending module 1003 is configured to send the target log data and the time sequence relation to the second terminal in response to a log data viewing instruction of the second terminal.
In one possible implementation, the determining module 1002 is configured to:
determining the log data containing the same user identification as target log data from the same user;
and sequencing the target log data based on the operation occurrence time in the target log data, wherein the sequencing sequence of the target log data is used for representing the time sequence relation between the target log data.
In one possible implementation, the determining module 1002 is further configured to:
determining operation statistical information corresponding to the target log data based on at least one item of the operation information, the user identification and the operation occurrence time in the target log data;
the sending module 1003 is configured to send the operation statistics to the second terminal in response to the operation statistics checking instruction of the second terminal.
In one possible implementation, the determining module 1002 is further configured to:
for first target log data in the target log data, determining second target log data which is subsequent to the first target log data in time sequence based on the time sequence relation among the target log data, and acquiring a time difference value between operation occurrence time in the second target log data and operation occurrence time in the first target log data, wherein the time difference value is used for indicating response duration of user operation corresponding to the first target log data;
and determining the number of users triggering the user operation indicated by the operation information and the conversion rate between the user operations based on the operation information and the user identification in the target log data of each user.
In one possible implementation, the determining module 1002 is further configured to:
acquiring at least one piece of target log data with the same operation information from the target log data of each user as at least one piece of intermediate log data;
determining the number of users triggering the user operation indicated by the operation information based on the user identification in the intermediate log data;
for a first user operation and a second user operation in the user operations, determining a conversion rate between the first user operation and the second user operation based on the number of users triggering the first user operation and the number of users triggering the second user operation.
In one possible implementation, the apparatus further includes:
the grouping module is used for grouping the log data based on the version of the target application program operated by the first terminal, and determining the log data corresponding to the same version as a group of candidate log data; and based on any group of candidate log data, executing the step of determining the target log data corresponding to any user and the incidence relation of each target log data based on the data generation time and the user identification carried by the log data.
According to the device provided by the embodiment of the application, by acquiring the log data of at least one first terminal, the target log data from the same user and the time sequence relationship among the target log data are determined based on the operation occurrence time and the user identification in the log data, the time sequence relationship is used for representing the operation path of the user, namely, the operation path of each user can be automatically analyzed based on the operation occurrence time, the target log data and the time sequence relationship are sent to a second terminal in response to a log data viewing instruction of the second terminal, developers can directly acquire the operation path of the user when viewing the log data, manual data processing is not needed, the efficiency of log data processing is effectively improved, and the acquisition cost of the operation path of the user is reduced.
It should be noted that: in the log data processing apparatus provided in the foregoing embodiment, only the division of the functional modules is illustrated in the foregoing description, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the apparatus may be divided into different functional modules to complete all or part of the functions described above. In addition, the log data processing apparatus and the log data processing method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.
Fig. 11 is a schematic structural diagram of a log data display device according to an embodiment of the present application, and referring to fig. 11, the device includes.
A sending module 1101, configured to send a log data viewing instruction to a server in response to a log data viewing operation;
an obtaining module 1102, configured to obtain target log data sent by the server in response to the log data viewing instruction and a time sequence relationship between the target log data, where the time sequence relationship is used to represent an operation path of a user;
a display module 1103, configured to display, on a target page, operation information in the target log data based on the operation path indicated by the timing relationship.
In one possible implementation, the sending module 1101 is configured to:
responding to the checking operation of the operation statistical information corresponding to the log data, and sending an operation statistical information checking instruction to the server;
the obtaining module 1102 is configured to obtain operation statistical information sent by the server in response to the operation statistical information viewing instruction, where the operation statistical information includes at least one of a response duration of a user operation, a number of users triggering the user operation, and a conversion rate between the user operations;
the display module 1103 is configured to display the operation statistic information on the target page.
In one possible implementation, the display module 1103 is configured to:
displaying the number of the users triggering any user operation at a first position of the operation information display area operated by any user in the target page;
displaying conversion rates between the respective user operations at second positions between the operation information display areas of the respective user operations;
and displaying the response time length for triggering any user at the third position of the operation information display area operated by any user.
In one possible implementation, the display module 1103 is configured to:
comparing the operation statistical information with a target condition, wherein the target condition comprises data limit information of the operation statistical information;
and in response to any one of the operation statistical information meeting the target condition, highlighting any one of the operation statistical information on the target page.
In one possible implementation, the obtaining module 1102 is further configured to:
responding to the version switching operation, and acquiring a version identifier of a target application program provided by a user;
the sending module is used for responding to the checking operation of the log data and generating the log data checking instruction based on the version identification; and sending the log data viewing instruction containing the version identification to the server.
The device provided by the embodiment of the application processes the log data of the first terminal through the server to obtain the processed log data, the processed log data can directly represent the operation path of a user, the second terminal can obtain the processed log data and display the processed log data, developers can directly check the operation path of the user, manual data processing is not needed, time and labor are saved, and the acquisition cost of the operation path is effectively reduced.
It should be noted that: in the log data display device provided in the above embodiment, only the division of the functional modules is illustrated when the log data is displayed, and in practical applications, the function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the log data display device provided by the above embodiment and the log data display method embodiment belong to the same concept, and specific implementation processes thereof are detailed in the method embodiment and are not described herein again.
Fig. 12 is a schematic structural diagram of a terminal according to an embodiment of the present application. The terminal 1200 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 4), a notebook computer, or a desktop computer. Terminal 1200 may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, and so forth.
In general, terminal 1200 includes: one or more processors 1201 and one or more memories 1202.
The processor 1201 may include one or more processing cores, such as a 4-core processor, an 8-core processor, or the like. The processor 1201 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 1201 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 1201 may be integrated with a GPU (Graphics Processing Unit) that is responsible for rendering and drawing content that the display screen needs to display. In some embodiments, the processor 1201 may further include an AI (Artificial Intelligence) processor for processing a computing operation related to machine learning.
Memory 1202 may include one or more computer-readable storage media, which may be non-transitory. Memory 1202 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in the memory 1202 is used to store at least one program code for execution by the processor 1201 to implement the log data processing method or the log data display method provided by the method embodiments of the present application.
In some embodiments, the terminal 1200 may further optionally include: a peripheral interface 1203 and at least one peripheral. The processor 1201, memory 1202, and peripheral interface 1203 may be connected by a bus or signal line. Various peripheral devices may be connected to peripheral interface 1203 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 1204, display 1205, camera assembly 1206, audio circuitry 1207, positioning assembly 1208, and power supply 1209.
The peripheral interface 1203 may be used to connect at least one peripheral associated with I/O (Input/Output) to the processor 1201 and the memory 1202. In some embodiments, the processor 1201, memory 1202, and peripheral interface 1203 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1201, the memory 1202 and the peripheral device interface 1203 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 1204 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuit 1204 communicates with a communication network and other communication devices by electromagnetic signals. The radio frequency circuit 1204 converts an electric signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electric signal. Optionally, the radio frequency circuit 1204 comprises: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuit 1204 may communicate with other terminals through at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 1204 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 1205 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 1205 is a touch display screen, the display screen 1205 also has the ability to acquire touch signals on or over the surface of the display screen 1205. The touch signal may be input to the processor 1201 as a control signal for processing. At this point, the display 1205 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 1205 may be one, providing the front panel of the terminal 1200; in other embodiments, the display 1205 can be at least two, respectively disposed on different surfaces of the terminal 1200 or in a folded design; in some embodiments, the display 1205 may be a flexible display disposed on a curved surface or on a folded surface of the terminal 1200. Even further, the display screen 1205 may be arranged in a non-rectangular irregular figure, i.e., a shaped screen. The Display panel 1205 can be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), or other materials.
Camera assembly 1206 is used to capture images or video. Optionally, camera assembly 1206 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 1206 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuitry 1207 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals into the processor 1201 for processing or inputting the electric signals into the radio frequency circuit 1204 to achieve voice communication. For stereo capture or noise reduction purposes, multiple microphones may be provided at different locations of terminal 1200. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 1201 or the radio frequency circuit 1204 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuitry 1207 may also include a headphone jack.
The positioning component 1208 is configured to locate a current geographic Location of the terminal 1200 to implement navigation or LBS (Location Based Service). The Positioning component 1208 can be a Positioning component based on the united states GPS (Global Positioning System), the chinese beidou System, the russian graves System, or the european union galileo System.
The power supply 1209 is used to provide power to various components within the terminal 1200. The power source 1209 may be alternating current, direct current, disposable or rechargeable. When the power source 1209 includes a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, terminal 1200 also includes one or more sensors 1210. The one or more sensors 1210 include, but are not limited to: acceleration sensor 1211, gyro sensor 1212, pressure sensor 1213, fingerprint sensor 1214, optical sensor 1215, and proximity sensor 1216.
The acceleration sensor 1211 can detect magnitudes of accelerations on three coordinate axes of the coordinate system established with the terminal 1200. For example, the acceleration sensor 1211 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 1201 may control the display screen 1205 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 1211. The acceleration sensor 1211 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 1212 may detect a body direction and a rotation angle of the terminal 1200, and the gyro sensor 1212 may collect a 3D motion of the user on the terminal 1200 in cooperation with the acceleration sensor 1211. The processor 1201 can implement the following functions according to the data collected by the gyro sensor 1212: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
Pressure sensors 1213 may be disposed on the side frames of terminal 1200 and/or underlying display 1205. When the pressure sensor 1213 is disposed on the side frame of the terminal 1200, the user's holding signal of the terminal 1200 can be detected, and the processor 1201 performs left-right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 1213. When the pressure sensor 1213 is disposed at a lower layer of the display screen 1205, the processor 1201 controls the operability control on the UI interface according to the pressure operation of the user on the display screen 1205. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 1214 is used for collecting a fingerprint of the user, and the processor 1201 identifies the user according to the fingerprint collected by the fingerprint sensor 1214, or the fingerprint sensor 1214 identifies the user according to the collected fingerprint. When the user identity is identified as a trusted identity, the processor 1201 authorizes the user to perform relevant sensitive operations, including unlocking a screen, viewing encrypted information, downloading software, paying, changing settings, and the like. The fingerprint sensor 1214 may be provided on the front, back, or side of the terminal 1200. When a physical button or vendor Logo is provided on the terminal 1200, the fingerprint sensor 1214 may be integrated with the physical button or vendor Logo.
The optical sensor 1215 is used to collect the ambient light intensity. In one embodiment, the processor 1201 may control the display brightness of the display 1205 according to the ambient light intensity collected by the optical sensor 1215. Specifically, when the ambient light intensity is high, the display luminance of the display panel 1205 is increased; when the ambient light intensity is low, the display brightness of the display panel 1205 is turned down. In another embodiment, processor 1201 may also dynamically adjust the camera head 1206 shooting parameters based on the ambient light intensity collected by optical sensor 1215.
A proximity sensor 1216, also known as a distance sensor, is typically disposed on the front panel of the terminal 1200. The proximity sensor 1216 is used to collect a distance between the user and the front surface of the terminal 1200. In one embodiment, when the proximity sensor 1216 detects that the distance between the user and the front surface of the terminal 1200 gradually decreases, the processor 1201 controls the display 1205 to switch from the bright screen state to the dark screen state; when the proximity sensor 1216 detects that the distance between the user and the front surface of the terminal 1200 gradually becomes larger, the processor 1201 controls the display 1205 to switch from the breath-screen state to the bright-screen state.
Those skilled in the art will appreciate that the configuration shown in fig. 12 is not intended to be limiting of terminal 1200 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
Fig. 13 is a schematic structural diagram of a server 1300 according to an embodiment of the present application, where the server 1300 may generate a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 1301 and one or more memories 1302, where at least one program code is stored in the one or more memories 1302, and is loaded and executed by the one or more processors 1301 to implement the methods provided by the foregoing method embodiments. Certainly, the server 1300 may further include components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input and output, and the server 1300 may further include other components for implementing the functions of the device, which is not described herein again.
In an exemplary embodiment, there is also provided a computer-readable storage medium, such as a memory including at least one program code executable by a processor to perform the log data processing method or the log data display method in the above embodiments. For example, the computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a Compact Disc Read-Only Memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.
It will be understood by those skilled in the art that all or part of the steps of implementing the above embodiments may be implemented by hardware, or implemented by at least one program code associated with hardware, where the program code is stored in a computer readable storage medium, such as a read only memory, a magnetic or optical disk, etc.
The above description is only exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (20)

1. A method of processing log data, the method comprising:
acquiring a buried point set in a target application program through a listener, and acquiring log data of the target application program operated by at least one first terminal, wherein the log data comprises operation information, a user identifier and operation occurrence time, the operation information comprises operation behavior information of a user and life cycle information of a page, the life cycle of the page at least comprises page opening, updating and closing, the listener is used for monitoring the operation behavior of the user, and the buried point is set in the target application program in a global automatic proxy manner;
grouping the log data based on the version of a target application program operated by the first terminal, and determining the log data corresponding to the same version as a group of candidate log data;
determining target log data from the same user and a time sequence relation between each target log data based on any group of the candidate log data, the operation occurrence time in the candidate log data and the user identification, wherein the time sequence relation is used for representing an operation path of the user;
responding to a log data viewing instruction of a second terminal, sending the target log data and the time sequence relation to the second terminal based on a version identifier in the log data viewing instruction, and comparing and displaying the target log data of the target application program with different versions and the time sequence relation by the second terminal.
2. The method of claim 1, wherein the determining the target log data from the same user and the timing relationship between the target log data based on the operation occurrence time in the log data and the user identifier comprises:
determining the log data containing the same user identification as target log data from the same user;
and sequencing the target log data based on the operation occurrence time in the target log data, wherein the sequencing sequence of the target log data is used for representing the time sequence relation among the target log data.
3. The method of claim 1, wherein after determining the target log data from the same user and the timing relationship between the target log data based on any one of the group of the candidate log data, the operation occurrence time in the candidate log data, and the user identifier, the method further comprises:
determining operation statistical information corresponding to the target log data based on at least one of the operation information, the user identifier and the operation occurrence time in the target log data;
and responding to an operation statistical information viewing instruction of the second terminal, and sending the operation statistical information to the second terminal.
4. The method of claim 3, wherein the determining operation statistics corresponding to the target log data based on at least one of the operation information, the user identifier, and the operation occurrence time in the target log data comprises at least one of:
for first target log data in the target log data, determining second target log data which is subsequent to the first target log data in time sequence based on a time sequence relation among the target log data, and acquiring a time difference value between operation occurrence time in the second target log data and operation occurrence time in the first target log data, wherein the time difference value is used for indicating response duration of user operation corresponding to the first target log data;
determining the number of users triggering the user operation indicated by the operation information and the conversion rate between the user operations based on the operation information and the user identification in the target log data of each user.
5. The method according to claim 4, wherein the determining, based on the operation information and the user identifier in the target log data of each user, the number of users triggering the user operation indicated by the operation information and the conversion rate between each user operation comprises:
acquiring at least one piece of target log data with the same operation information from the target log data of each user as at least one piece of intermediate log data;
determining the number of users triggering the user operation indicated by the operation information based on the user identification in the intermediate log data;
for a first user operation and a second user operation in the user operations, determining a conversion rate between the first user operation and the second user operation based on the number of users triggering the first user operation and the number of users triggering the second user operation.
6. A log data display method, characterized in that the method comprises:
acquiring a buried point set in a target application program through a listener, acquiring log data of the target application program, and sending the log data to a server, wherein the listener is used for monitoring the operation behavior of a user, and the buried point is set in the target application program in a global automatic agent mode;
responding to a viewing operation of log data, and sending a log data viewing instruction to a server, wherein the log viewing instruction comprises a version identifier of a target application program;
acquiring target log data sent by the server in response to the log data viewing instruction and a time sequence relation among the target log data, wherein the time sequence relation is used for representing an operation path of a user, the target log data are acquired by the server based on a life cycle of a page, and the life cycle of the page at least comprises page opening, updating and closing;
and based on the operation paths represented by the time sequence relation, when the target page applies different versions of target application programs to the user, comparing and displaying the generated operation paths.
7. The method according to claim 6, wherein after the operation paths generated when the target page applies different versions of the target application program to the user are displayed in comparison based on the operation paths represented by the time sequence relationship, the method further comprises:
responding to the viewing operation of the operation statistical information corresponding to the log data, and sending an operation statistical information viewing instruction to the server;
acquiring operation statistical information sent by the server in response to the operation statistical information viewing instruction, wherein the operation statistical information comprises at least one of response duration of user operation, number of users triggering the user operation and conversion rate among the user operations;
and displaying the operation statistical information on the target page.
8. The method according to claim 7, wherein the displaying the operation statistical information on the target page comprises any one of:
displaying the number of the users triggering any user operation at a first position of the operation information display area operated by any user in the target page;
displaying a conversion rate between the respective user operations at a second position between the operation information display areas of the respective user operations;
and displaying the response time length for triggering any user at the third position of the operation information display area operated by any user.
9. The method of claim 7, wherein displaying the operation statistics on the target page comprises:
comparing the operation statistical information with a target condition, wherein the target condition comprises data limit information of the operation statistical information;
and in response to any operation statistical information meeting the target condition, highlighting any operation statistical information on the target page.
10. An apparatus for processing log data, the apparatus comprising:
the system comprises an acquisition module, a listener, a storage module and a display module, wherein the acquisition module is used for acquiring a buried point set in a target application program through the listener, and acquiring log data of the target application program operated by at least one first terminal, the log data comprises operation information, a user identifier and operation occurrence time, the operation information comprises operation behavior information of a user and life cycle information of a page, the life cycle of the page at least comprises page opening, updating and closing, the listener is used for monitoring the operation behavior of the user, and the buried point is set in the target application program in a global automatic proxy mode;
a determining module, configured to group the log data based on a version of a target application program run by the first terminal, and determine the log data corresponding to the same version as a group of candidate log data; determining target log data from the same user and a time sequence relation between each target log data based on any group of the candidate log data, the operation occurrence time in the candidate log data and the user identification, wherein the time sequence relation is used for representing an operation path of the user;
and the sending module is used for responding to a log data viewing instruction of a second terminal, sending the target log data and the time sequence relation to the second terminal based on the version identification in the log data viewing instruction, and comparing and displaying the target log data of the target application program with different versions and the time sequence relation by the second terminal.
11. The apparatus of claim 10, wherein the determining module is configured to:
determining the log data containing the same user identification as target log data from the same user;
and sequencing the target log data based on the operation occurrence time in the target log data, wherein the sequencing sequence of the target log data is used for representing the time sequence relation among the target log data.
12. The apparatus of claim 10, wherein the determining module is further configured to:
determining operation statistical information corresponding to the target log data based on at least one of the operation information, the user identifier and the operation occurrence time in the target log data;
the sending module is used for responding to an operation statistical information checking instruction of the second terminal and sending the operation statistical information to the second terminal.
13. The apparatus of claim 12, wherein the determining module is further configured to:
for first target log data in the target log data, determining second target log data which is subsequent to the first target log data in time sequence based on a time sequence relation among the target log data, and acquiring a time difference value between operation occurrence time in the second target log data and operation occurrence time in the first target log data, wherein the time difference value is used for indicating response duration of user operation corresponding to the first target log data;
determining the number of users triggering the user operation indicated by the operation information and the conversion rate between the user operations based on the operation information and the user identification in the target log data of each user.
14. The apparatus of claim 13, wherein the determining module is further configured to:
acquiring at least one piece of target log data with the same operation information from the target log data of each user as at least one piece of intermediate log data;
determining the number of users triggering the user operation indicated by the operation information based on the user identification in the intermediate log data;
for a first user operation and a second user operation in the user operations, determining a conversion rate between the first user operation and the second user operation based on the number of users triggering the first user operation and the number of users triggering the second user operation.
15. An apparatus for displaying log data, the apparatus comprising:
the sending module is used for responding to the checking operation of the log data and sending a log data checking instruction to the server, wherein the log checking instruction comprises the version identification of the target application program;
the acquisition module is used for acquiring target log data sent by the server in response to the log data viewing instruction and a time sequence relation among the target log data, wherein the time sequence relation is used for representing an operation path of a user, the target log data are acquired by the server based on a life cycle of a page, and the life cycle of the page at least comprises page opening, updating and closing;
the display module is used for comparing and displaying the generated operation paths when the target page applies the target application programs with different versions to the user based on the operation paths represented by the time sequence relation;
the apparatus is further configured to: the method comprises the steps of obtaining a buried point set in a target application program through a listener, obtaining log data of the target application program, and sending the log data to a server, wherein the listener is used for monitoring operation behaviors of a user, and the buried point is set in the target application program in a global automatic proxy mode.
16. The apparatus according to claim 15, wherein the sending module is configured to send an operation statistics viewing instruction to the server in response to a viewing operation for operation statistics corresponding to the log data;
the obtaining module is configured to obtain operation statistical information sent by the server in response to the operation statistical information viewing instruction, where the operation statistical information includes at least one of a response duration of a user operation, a number of users triggering the user operation, and a conversion rate between the user operations;
and the display module is used for displaying the operation statistical information on the target page.
17. The apparatus of claim 16, wherein the display module is configured to:
displaying the number of the users triggering any user operation at a first position of the operation information display area operated by any user in the target page;
displaying a conversion rate between the respective user operations at a second position between the operation information display areas of the respective user operations;
and displaying the response time length for triggering any user at the third position of the operation information display area operated by any user.
18. The apparatus of claim 16, wherein the display module is configured to:
comparing the operation statistical information with a target condition, wherein the target condition comprises data limit information of the operation statistical information;
and in response to any operation statistical information meeting the target condition, highlighting any operation statistical information on the target page.
19. A computer device comprising one or more processors and one or more memories having at least one program code stored therein, the at least one program code loaded into and executed by the one or more processors to perform operations performed by the log data processing method of any one of claims 1 to 5; or the operation performed by the log data display method according to any one of claim 6 to claim 9.
20. A computer-readable storage medium having at least one program code stored therein, the at least one program code being loaded and executed by a processor to implement the operations performed by the log data processing method of any one of claim 1 to claim 5; or the operation performed by the log data display method according to any one of claim 6 to claim 9.
CN202010424877.9A 2020-05-19 2020-05-19 Log data processing method, log data display method, log data processing device, log data display device, log data processing equipment and log data storage medium Active CN111338910B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010424877.9A CN111338910B (en) 2020-05-19 2020-05-19 Log data processing method, log data display method, log data processing device, log data display device, log data processing equipment and log data storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010424877.9A CN111338910B (en) 2020-05-19 2020-05-19 Log data processing method, log data display method, log data processing device, log data display device, log data processing equipment and log data storage medium

Publications (2)

Publication Number Publication Date
CN111338910A CN111338910A (en) 2020-06-26
CN111338910B true CN111338910B (en) 2021-02-26

Family

ID=71186516

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010424877.9A Active CN111338910B (en) 2020-05-19 2020-05-19 Log data processing method, log data display method, log data processing device, log data display device, log data processing equipment and log data storage medium

Country Status (1)

Country Link
CN (1) CN111338910B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111897723A (en) * 2020-07-20 2020-11-06 腾讯科技(深圳)有限公司 Method and device for testing application
CN112330147A (en) * 2020-11-04 2021-02-05 北京思特奇信息技术股份有限公司 Service acceptance information monitoring method and device and storage medium
CN112395333B (en) * 2020-11-20 2023-07-25 北京百度网讯科技有限公司 Method, device, electronic equipment and storage medium for checking data abnormality
CN113192232A (en) * 2021-03-15 2021-07-30 深圳市广通远驰科技有限公司 Log acquisition method and log acquisition system
CN113362171B (en) * 2021-05-28 2023-07-25 富途网络科技(深圳)有限公司 Data processing method, device and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103905379A (en) * 2012-12-25 2014-07-02 腾讯科技(深圳)有限公司 Method for identifying internet users and device thereof
CN104572978A (en) * 2014-12-31 2015-04-29 国家电网公司 User behavior counting method for power scheduling automatic system based on log

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10367913B2 (en) * 2014-12-29 2019-07-30 DISH Technologies L.L.C. Systems and methods for tracking user behavior using closed caption text
US20170091712A1 (en) * 2015-09-29 2017-03-30 Gregg Alper Apparatus and Method for Employee Time Entry and Accounting
CN105515871B (en) * 2015-12-23 2019-03-19 小米科技有限责任公司 The method and device of record log
CN107800591B (en) * 2017-11-07 2022-01-21 南威软件股份有限公司 Unified log data analysis method
CN110516440B (en) * 2019-08-12 2021-12-10 广州海颐信息安全技术有限公司 Method and device for linkage playback of privilege threat behavior track based on dragging

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103905379A (en) * 2012-12-25 2014-07-02 腾讯科技(深圳)有限公司 Method for identifying internet users and device thereof
CN104572978A (en) * 2014-12-31 2015-04-29 国家电网公司 User behavior counting method for power scheduling automatic system based on log

Also Published As

Publication number Publication date
CN111338910A (en) 2020-06-26

Similar Documents

Publication Publication Date Title
CN111338910B (en) Log data processing method, log data display method, log data processing device, log data display device, log data processing equipment and log data storage medium
CN110674022B (en) Behavior data acquisition method and device and storage medium
CN112420217B (en) Message pushing method, device, equipment and storage medium
CN114115647B (en) Menu item adjusting method, device and terminal
CN111078521A (en) Abnormal event analysis method, device, equipment, system and storage medium
CN111897525A (en) Big data processing method and system
CN111858382A (en) Application program testing method, device, server, system and storage medium
CN111737100A (en) Data acquisition method, device, equipment and storage medium
CN109684123B (en) Problem resource positioning method, device, terminal and storage medium
CN110166275B (en) Information processing method, device and storage medium
CN110768843B (en) Network problem analysis method, device, terminal and storage medium
CN108132817B (en) Object management method and device
CN112230781A (en) Character recommendation method and device and storage medium
CN113591090B (en) Program bug reporting method, device, equipment and storage medium
CN111294253B (en) Test data processing method and device, computer equipment and storage medium
CN113312249A (en) Log data generation method, log data display method and device
CN113485596A (en) Virtual model processing method and device, electronic equipment and storage medium
CN112529871A (en) Method and device for evaluating image and computer storage medium
CN113392120A (en) Method and device for acquiring execution information of SQLite
CN114816600A (en) Session message display method, device, terminal and storage medium
CN112000576A (en) Code data detection method, device, equipment and storage medium
CN112148499A (en) Data reporting method and device, computer equipment and medium
CN112237743A (en) User data statistical method, device, computer equipment and storage medium
CN113064537B (en) Media resource playing method, device, equipment, medium and product
CN111666214B (en) Client fault tolerance test method, device, terminal, server and storage medium

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40023558

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant