Operation analysis method and device, electronic equipment, storage medium and program product
By generating and using an ordered list of operation nodes, it solves the problem of low efficiency in extracting complex business operation paths, achieves rapid acquisition of user operation paths and improves data analysis efficiency, and supports developers to quickly optimize applications.
Patent Information
- Application Number
- CN202410859302.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-09-17
AI Technical Summary
The existing technology is inefficient when analyzing user operation paths, especially when performing complex business operations, resulting in difficulty in path extraction and affecting business optimization and user experience.
By obtaining the ordered list of operation nodes of the application, storing the operation nodes according to the order of operation time, and generating the target operation path based on the ordered list, query and path generation modules are provided to quickly extract the user operation path.
It improves the extraction efficiency of user operation paths, records operation information in real time, ensures data processing efficiency, and provides developers with detailed information to quickly locate and optimize content.
Smart Images

Figure CN118656269A
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of operation path analysis, and in particular, to an operation analysis method, device, electronic device, computer-readable storage medium, and computer program product. Background Art
[0002] With the rapid development of mobile Internet, the use of applications is becoming more and more popular. As business development needs in applications become more and more complex, analyzing the user's operation path in the application is an important way to evaluate and optimize the business functions of the application. The operation path method is mainly used to record and analyze the user's behavior and operation sequence during the use of the application. When an error occurs in a business operation, the path can be analyzed to find the cause of the error and correct the error in time. Many businesses in the application require users to operate multiple steps, involving multiple pages, and may also jump back and forth pages, which creates certain difficulties for the analysis of user operations.
[0003] The existing technology generally collects data from the application's embedding points. When analysis is needed, analysis is performed based on the collected data to obtain the user's operation path. However, when the operation of a certain business is more complicated, it takes a long time to search the operation from the log to obtain the user's operation path, and the efficiency of obtaining the operation path is low. Summary of the invention
[0004] The embodiments of the present disclosure provide an operation analysis method, device, electronic device, computer-readable storage medium, and computer program product, which are intended to solve the technical problem that user operation path extraction is difficult and inefficient.
[0005] In a first aspect, an operation analysis method is provided, the method comprising: Obtain an ordered list of operation nodes for the application; the ordered list of operation nodes includes at least one operation node, each operation node corresponds to at least one service identifier; the operation nodes corresponding to the same service identifier are stored in the order of operation time; Obtain the target business identifier to be queried, and query each target operation node corresponding to the target business identifier from the operation node ordered table; Based on the storage order of each target operation node in the operation node ordered table, a target operation path corresponding to the target service identifier is generated.
[0006] Optionally, the ordered list of operation nodes is generated based on: Get operation information for the application; Determine the operation time and business identifier corresponding to the operation information; Generate an operation node corresponding to the business identifier based on the operation information; Based on the operation time, the operation nodes are stored in the operation node ordered table in the order of the operation time.
[0007] Optionally, also include: Display each operation node in the operation node ordered table and the connection relationship between each operation node; A selection operation for any operation node is received, and detailed information of the operation node is displayed; the detailed information includes at least one of the operation time of the operation node and a corresponding service identifier.
[0008] Optionally, obtain information about operations on the application, including: Get the tracking data in the application and push it to the message queue; The embedded data in the message queue is processed through the stream processing framework to obtain operation information.
[0009] Optionally, the method further includes: If abnormal information is detected in the processing of the buried data, the operation information is marked based on the abnormal information; An abnormal operation node corresponding to the marked operation information in the operation node ordered list is determined, and the abnormal operation node is marked in the operation node ordered list.
[0010] Optionally, generating a target operation path corresponding to the target service identifier based on the storage order of each target operation node in the operation node ordered table includes: Determine the connection relationship between each target operation node based on the storage order of each target operation node in the operation node ordered table; Based on the connection relationship between each target operation node, a target operation path corresponding to the target service identifier is generated.
[0011] In a second aspect, an operation analysis device is provided, the device comprising: An acquisition module is used to acquire an ordered list of operation nodes for an application; the ordered list of operation nodes includes at least one operation node, each operation node corresponds to at least one service identifier; the operation nodes corresponding to the same service identifier are stored in the order of operation time; A query module, used to obtain a target service identifier to be queried, and query each target operation node corresponding to the target service identifier from an operation node ordered table; The path generation module is used to generate a target operation path corresponding to the target business identifier based on the storage order of each target operation node in the operation node ordered table.
[0012] In a third aspect, an electronic device is provided, the electronic device comprising: A memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the steps of any one of the methods in the first aspect of the present disclosure.
[0013] In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, characterized in that when the computer program is executed by a processor, the operation analysis method shown in any one of the first aspects of the present disclosure is implemented.
[0014] In a fifth aspect, a computer program product is provided, comprising a computer program, characterized in that when the computer program is executed by a processor, the steps of any one of the methods in the first aspect of the present disclosure are implemented.
[0015] The technical solution provided by the embodiments of the present disclosure has the following beneficial effects: The operation analysis method provided by the present disclosure obtains an ordered list of operation nodes for an application program, wherein the ordered list of operation nodes includes at least one operation node, and each operation node corresponds to at least one business identifier; each operation node corresponding to the same business identifier is stored in the order of operation time, a target business identifier to be queried is obtained, each target operation node corresponding to the target business identifier is queried from the ordered list of operation nodes, a target operation path corresponding to the target business identifier is generated based on the storage order of each target operation node in the ordered list of operation nodes, the ordered list is used to store user operation information, and when it is necessary to extract a path for a certain business, each ordered target operation node is obtained from the ordered list, so that the user operation path of the required business can be quickly obtained, and the extraction efficiency of the user operation path is effectively improved.
[0016] Furthermore, operation information for the application is obtained, the operation time and business identifier corresponding to the operation information are determined, and operation nodes corresponding to the business identifier are generated based on the operation information. Based on the operation time, the operation nodes are stored in an operation node ordered table in the order of the operation time, thereby establishing an operation node ordered table, which can obtain the user's operation information in real time, record the operation time and business identifier of the operation information in a timely manner, generate operation nodes and store them in order, and can also process a large amount of operation information in an orderly manner to ensure that the efficiency of data information processing is not affected.
[0017] In addition, based on the ordered table of operation nodes, the information corresponding to each operation node and the connection relationship between each operation node can be obtained, and each operation node and the connection relationship in the ordered table of operation nodes can be displayed. After obtaining the operation path corresponding to the target business, the user operation path can be visualized, and detailed information display of each operation node can be provided to developers, so that developers can quickly view the operation path and quickly locate the possible content to be optimized in the path, thereby improving the efficiency of user operation data analysis. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings required for describing the embodiments of the present disclosure are briefly introduced below.
[0019] Figure 1 A schematic diagram of an application scenario of an operation analysis method provided by an embodiment of the present disclosure; Figure 2 A flowchart of an operation analysis method provided by an embodiment of the present disclosure; Figure 3 A schematic diagram of an operation path page in an operation analysis method provided in an embodiment of the present disclosure; Figure 4 A flowchart of an example of an operation analysis method provided in an embodiment of the present disclosure; Figure 5 A schematic diagram of the structure of an operation analysis device provided in an embodiment of the present disclosure; Figure 6 A schematic diagram of the structure of an electronic device applicable to an operation analysis method provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0020] The embodiments of the present disclosure are described below in conjunction with the drawings in the present disclosure. It should be understood that the implementation methods described below in conjunction with the drawings are exemplary descriptions for explaining the technical solutions of the embodiments of the present disclosure and do not constitute a limitation on the technical solutions of the embodiments of the present disclosure.
[0021] It will be understood by those skilled in the art that, unless specifically stated, the singular forms "one", "an", "said" and "the" used herein may also include plural forms. It should be further understood that the terms "including" and "comprising" used in the embodiments of the present disclosure refer to that the corresponding features can be implemented as the presented features, information, data, steps, operations, elements and / or components, but do not exclude the implementation as other features, information, data, steps, operations, elements, components and / or combinations thereof supported by the technical field. It should be understood that when we say that an element is "connected" or "coupled" to another element, the one element may be directly connected or coupled to the other element, or it may refer to that the one element and the other element establish a connection relationship through an intermediate element. In addition, the "connection" or "coupling" used herein may include wireless connection or wireless coupling. The terms "or", "and / or", "including at least one of the following" used in the present disclosure may be interpreted as inclusive, or mean any one or any combination. For example, “including at least one of the following: A, B, C” means “any of the following: A; B; C; A and B; A and C; B and C; A and B and C” and, for example, “A, B or C” or “A, B and / or C” means “any of the following: A; B; C; A and B; A and C; B and C; A and B and C”.
[0022] In the embodiments of the present disclosure, the term "module" or "unit" refers to a computer program or a part of a computer program that has a predetermined function and works together with other related parts to achieve a predetermined goal, and can be implemented in whole or in part by using software, hardware (such as processing circuits or memories), or a combination thereof. Similarly, a processor (or multiple processors or memories) can be used to implement one or more modules or units. In addition, each module or unit can be part of an overall module or unit that includes the function of the module or unit.
[0023] In the specific implementation of the present disclosure, any data related to the object, such as the data involved in the process of the object using the application, is involved. When the embodiment of the present disclosure is applied to a specific product or technology, the permission or consent of the object needs to be obtained, and the collection, use and processing of the relevant data needs to comply with the relevant laws, regulations and standards of the relevant countries and regions. In other words, if any of the above-mentioned data related to the object is involved in the embodiment of the present disclosure, the data needs to be obtained with the authorization and consent of the object and in compliance with the relevant laws, regulations and standards of the country and region.
[0024] In order to make the objectives, technical solutions and advantages of the present disclosure more clear, the embodiments of the present disclosure will be further described in detail below with reference to the accompanying drawings.
[0025] First, the technical terms involved in this disclosure are introduced and explained: Ordered list: An ordered list is a data structure in which the elements are arranged in a certain order. This order can be ascending or descending. For example, ascending order means that the elements in the list are arranged in order from small to large, and descending order means that the elements are arranged in order from large to small. The characteristic of an ordered list is that it can use specific algorithms for efficient search, insertion, and deletion operations.
[0026] In the prior art, in order to meet the optimization needs of operators after product launch and improve digital operation capabilities, it is necessary to analyze user behavior paths based on the application's tracking logs. However, the amount of tracking data is huge, the analysis scenarios and forms are numerous, and the analysis timeliness requirements are getting higher and higher. The user behavior path analysis system needs to continue to innovate to meet higher requirements. Generally, data is collected from the application's tracking points. When analysis is required, analysis is performed based on the collected data to obtain the user's operation path. However, when the operation of a certain business is more complicated, it takes a long time to find the operation from the log to obtain the user's operation path, and the efficiency of obtaining the operation path is low.
[0027] The operation analysis method, device, electronic device, computer-readable storage medium and computer program product provided by the present disclosure are intended to solve at least one of the above technical problems in the prior art.
[0028] In response to at least one of the above-mentioned technical problems or areas that need improvement in the related art, the present disclosure proposes an operation analysis method, device, electronic device, computer-readable storage medium and computer program product. The operation analysis method provided by the scheme obtains an ordered list of operation nodes for an application program, the operation node ordered list includes at least one operation node, each operation node corresponds to at least one business identifier, and each operation node corresponding to the same business identifier is stored in order of operation time, obtains a target business identifier to be queried, queries each target operation node corresponding to the target business identifier from the operation node ordered list, generates a target operation path corresponding to the target business identifier based on the storage order of each target operation node in the operation node ordered list, uses the ordered list to store user operation information, and when it is necessary to extract a path for a certain business, obtains each ordered target operation node from the ordered list, can quickly obtain the user operation path of the required business, and effectively improves the extraction efficiency of the user operation path.
[0029] Furthermore, operation information for the application is obtained, the operation time and business identifier corresponding to the operation information are determined, and operation nodes corresponding to the business identifier are generated based on the operation information. Based on the operation time, the operation nodes are stored in an operation node ordered table in the order of the operation time, thereby establishing an operation node ordered table, which can obtain the user's operation information in real time, record the operation time and business identifier of the operation information in a timely manner, generate operation nodes and store them in order, and can also process a large amount of operation information in an orderly manner to ensure that the efficiency of data information processing is not affected.
[0030] In addition, based on the ordered table of operation nodes, the information corresponding to each operation node and the connection relationship between each operation node can be obtained, and each operation node and the connection relationship in the ordered table of operation nodes can be displayed. After obtaining the operation path corresponding to the target business, the user operation path can be visualized, and detailed information display of each operation node can be provided to developers, so that developers can quickly view the operation path and quickly locate the possible content to be optimized in the path, thereby improving the efficiency of user operation data analysis.
[0031] The following describes several exemplary embodiments to illustrate the technical solutions of the embodiments of the present disclosure and the technical effects produced by the technical solutions of the present disclosure. It should be noted that the following embodiments can refer to, draw on or combine with each other, and the same terms, similar features and similar implementation steps in different embodiments will not be described repeatedly.
[0032] Figure 1 A schematic diagram of an application scenario of the operation analysis method provided in an embodiment of the present disclosure, wherein the application environment may include a terminal 101 including an operation path analysis system, and the operation path analysis system may be used to collect user operation information on an application program.
[0033] Specifically, the operation path analysis system in the terminal 101 obtains an ordered list of operation nodes for the application, where the operation node ordered list includes at least one operation node, each operation node corresponds to at least one business identifier, and the operation nodes corresponding to the same business identifier are stored in order of operation time, and the target business identifier to be queried is obtained, and at least one target operation node corresponding to the target business identifier is queried from the operation node ordered list, and based on the storage order of at least one target operation node in the operation node ordered list, a target operation path corresponding to the target business identifier is generated.
[0034] The above application scenario is only an example and does not limit the application scenario of the operation analysis method disclosed in the present invention.
[0035] Technicians in this technical field can understand that the terminal can be a smart phone (such as Android phone, iOS phone, etc.), a tablet computer, a laptop computer, a digital broadcast receiver, a MID (Mobile Internet Devices), a PDA (Personal Digital Assistant), a desktop computer, a smart home appliance, a vehicle-mounted terminal (such as a vehicle-mounted navigation terminal, a vehicle-mounted computer, etc.), a smart speaker, a smart watch, etc. The terminal and the server can be directly or indirectly connected via wired or wireless communication, but is not limited to this.
[0036] The server may include a server that is installed with a computer capable of processing database operations. The server may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. It may also be a cloud server or server cluster that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. The embodiments of the present invention can be applied to various scenarios, including but not limited to cloud technology, artificial intelligence, smart transportation, assisted driving, etc. The specific requirements can also be determined based on the actual application scenario requirements, which is not limited here.
[0037] In some possible implementations, taking the execution subject as an operation path analysis system as an example, the embodiment of the present disclosure provides an operation analysis method, such as Figure 2 As shown, the following steps may be included: S201, obtaining an ordered list of operation nodes for an application.
[0038] The operation node ordered table includes at least one operation node, each operation node corresponds to at least one service identifier, and the operation nodes corresponding to the same service identifier are stored in the order of operation time.
[0039] Among them, the operation node is each operation performed by the user on the application page, which may include: opening the homepage, sliding to refresh, clicking on the network configuration function, and other operations performed by the user when using the application function.
[0040] Specifically, the operation path analysis system can manage the operation information of multiple users for multiple businesses of an application. The above-mentioned operation analysis method targets the operation information of multiple businesses of a user, obtains the operation information of all businesses of the user in the application, generates operation nodes based on the operation information, and stores them in an operation node ordered table. When it is necessary to analyze the operation path of the user, the operation node ordered table of the corresponding user is obtained.
[0041] In the specific implementation process, the operation node ordered table can be an ordered table in a distributed column storage database management system (ClickHouse), which refers to a table in which data is sorted according to a specified sort key. In the operation node ordered table of this solution, the sort key of the ordered table can be one or more columns in the table. When multiple columns are specified as sort keys, the combination of these columns will define the unique order of the rows in the table. The basis for sorting can be the operation time of each operation node, or other information related to sorting, which is set according to user needs. The data in the ordered table is stored in order, which can query data more efficiently. When querying, the position of the ordered data can be directly located, which improves the efficiency of data query.
[0042] S202, obtaining a target service identifier to be queried, and searching for each target operation node corresponding to the target service identifier from an operation node ordered table.
[0043] There may be at least one target service identifier, and for each target service identifier, the same process of obtaining the operation node is performed.
[0044] Among them, the operation node ordered table includes at least one operation node and attribute information corresponding to each operation node. The attribute information may include: operation start time, operation end time, operation type, operation name, user ID and business ID, etc. Specific information can also be added as needed, such as adding an ID indicating whether the operation is successful or an ID indicating whether the data of the operation is abnormal.
[0045] Specifically, for each target business identifier, at least one corresponding target operation node is queried from the operation node ordered table based on the target business identifier, and the association relationship between each target operation node is obtained, so as to generate an operation path corresponding to the target business identifier. The target business identifier to be queried may be a preset one, or may be a target business identifier that needs to be viewed and uploaded to the operation path analysis system by a developer.
[0046] In the specific implementation process, each operation node can be encoded. The encoding may include a business identification code and a node identification code, which is used to uniquely represent an operation in a business. For example, if the target business identification to be queried is registered member 001, the business identification of the operation node corresponding to the registered member is also 001. For example, open the personal center 001001, click registered member 001002, return to view the personal center 001003, click registered member 001004, and successfully register 001005. The first three digits of each operation node are the corresponding business identification, and the last three digits are the encodings of the various steps of the registered member operation. When searching in the ordered table, the above operation node can be found based on the first three digits of each operation node, thereby generating an operation path. However, the user may return to the previous operation step for some reason during the operation, resulting in the same page or the same operation being repeated. At this time, using the above encoding can quickly identify the different times when the same page or operation appears in the operation path, thereby improving the accuracy of path generation.
[0047] S203: Generate a target operation path corresponding to the target service identifier based on the storage order of each target operation node in the operation node ordered table.
[0048] The storage order may include the time sequence of each operation node, or may be determined based on other sorting rules that meet the requirements.
[0049] Specifically, since the operation node ordered table records user operations in real time, the operation order of each target operation node can be known based on the storage order of each target node in the operation node ordered table. The user may click on multiple pages and buttons. For example, the user returns to the previous page to view information and then enters the next page. Duplicate pages and buttons will appear, but the ordered table will record the pages in the order in which the operation nodes are stored in the ordered table. The duplicate pages have different operation time attributes and different orders, so they can be clearly separated, effectively improving the efficiency of generating the target operation path.
[0050] In a specific implementation, the target operation node is determined and the storage order for at least one target operation node is determined based on the operation node ordered table. A corresponding operation path tree can be generated based on the target operation node and the order between each target operation node. The root node of the operation path tree is the start node pre-specified by the target business, and the leaf node is the end node of the target business. By traversing the operation path tree, the target operation path corresponding to the target business identifier is obtained. When the target operation path is presented to developers, it can be presented in the form of the operation path tree, making the target operation path more intuitive.
[0051] In some possible implementations, the above operation node ordered list is generated based on the following method: Get operation information for the application; Determine the operation time and business identifier corresponding to the operation information; Generate an operation node corresponding to the business identifier based on the operation information; Based on the operation time, the operation nodes are stored in the operation node ordered table in the order of the operation time.
[0052] Specifically, through the real-time computing engine and message queue technology, the user's operation information on the application is obtained in real time, and the operation information is processed to obtain the operation time and business identifier corresponding to the operation information, generate the operation node corresponding to the business identifier based on the operation information, and store the operation node in the operation node ordered table in the order of the operation time based on the operation time.
[0053] In the specific implementation process, for a user, after receiving and processing data, all operation information of the user is stored in the data warehouse, and the data in the ordered table can be various operation nodes corresponding to the pre-selected business identifier to be analyzed. The user's operation information is received using message queue technology, and the received operation information is processed in real time using a real-time computing stream processing engine. An operation node corresponding to the business identifier is generated based on the processed operation information and stored in the data warehouse. At least one initial operation node is determined to be stored in the ordered table based on the preset business identifier to be analyzed, so as to filter out the target operation node corresponding to the target business identifier from the ordered table to generate a target path, thereby avoiding the existence of operation nodes corresponding to businesses that do not need to be analyzed in the ordered table, reducing the amount of data in the ordered table, and making the storage and query efficiency of the ordered table higher.
[0054] In some possible implementations, the above method further includes: Display each operation node in the operation node ordered table and the connection relationship between each operation node; Receive a selection operation on any operation node and display detailed information of the operation node.
[0055] The detailed information includes at least one of the operation time of the operation node and the corresponding service identifier.
[0056] Specifically, developers can choose to display the current user's operation information in real time, or display the target operation path obtained by analysis; each operation node stored in the ordered table can be displayed in real time on the path display page, and the node of this operation can be displayed as soon as possible after receiving an operation from the user. If the operation node has a connection relationship with other operation nodes, the connection relationship between the operation nodes can be displayed through a connection line or a preset format; when displaying each operation node and the connection relationship on the path display page, the function of viewing the detailed information corresponding to each operation node can be provided, and developers can view the detailed information of the corresponding operation node by clicking the operation node or moving the cursor to the operation node.
[0057] In the specific implementation process, the data visualization chart library (ECharts) can be used to display each operation node and connection relationship, and the generated target operation path can also be displayed, such as Figure 3 As shown, taking the smart lock network configuration business as an example, a complete set of smart lock network configuration operation paths is displayed, including the smart lock homepage, homepage, unlocking, configuring equipment, accident networking, setting up wireless network, and completing networking. Each operation is connected by a line. When the developer clicks the "Homepage" node, detailed information about the homepage will be displayed, such as the opening time of the homepage, the loading status of the homepage, and abnormal situations.
[0058] In some possible implementations, obtaining operation information for the application in the above steps includes: Get the tracking data in the application and push it to the message queue; The embedded data in the message queue is processed through the stream processing framework to obtain operation information.
[0059] The processing steps may include: data cleaning, data integration, data calculation and data format conversion.
[0060] Specifically, a tracking point is preset in the application, the tracking point data of the application is obtained, the tracking point data of the application is collected through the message queue, and is pushed to the stream processing framework for processing in real time to obtain operation information.
[0061] In the specific implementation process, you can use the distributed stream processing platform (Kafka) and the stream processing framework (Flink), use Kafka as the buffer for data producers and consumers, push the acquired tracking data to the Kafka topic, use Flink to read the data stream in Kafka, and perform real-time processing such as filtering, conversion, window calculation, aggregation, etc., convert the tracking data into data that conforms to the preset format to generate operation information, and then output the operation information to Kafka, or write it to the data warehouse.
[0062] In some possible implementations, the above method further includes: If abnormal information is detected in the processing of the buried data, the operation information is marked based on the abnormal information; An abnormal operation node corresponding to the marked operation information in the operation node ordered list is determined, and the abnormal operation node is marked in the operation node ordered list.
[0063] Among them, anomalies may include data loss, data duplication, data errors, data delays, data format errors, range errors, inclusion of abnormal values, or missing required data fields.
[0064] Specifically, after receiving the embedded data, the stream processing framework Flink can be used to operate on the embedded data and perform simple anomaly detection. If any abnormal information is detected during the processing of the embedded data, the corresponding operation information is marked based on the abnormal information, thereby determining the corresponding abnormal operation node in the ordered table and marking the abnormal node in the ordered table.
[0065] In the specific implementation process, when displaying each operation node in the ordered list, a certain display method can be used to display the marked abnormal nodes, such as marking the node in red or noting that the node data is abnormal in the detailed information, which can help developers quickly identify abnormal operations, speed up operation path analysis, and facilitate problem discovery and timely resolution.
[0066] In some possible implementations, in the above step S203, based on the storage order of each target operation node in the operation node ordered table, generating a target operation path corresponding to the target service identifier includes: Determine the connection relationship between each target operation node based on the storage order of each target operation node in the operation node ordered table; Based on the connection relationship between each target operation node, a target operation path corresponding to the target service identifier is generated.
[0067] Specifically, the operation node ordered table records the user's operations in real time and in sequence. Based on the storage order of at least one target operation node in the operation node ordered table, the connection relationship between the target operation nodes can be obtained. Based on the connection relationship between the target operation nodes, a target operation path corresponding to the target business identifier is generated, that is, a complete session of the relevant business composed of the user operation path, thereby realizing the ordering of user operation steps for a specific business.
[0068] In the specific implementation process, the target operation node in the ordered table of operation nodes in the database is read into the array to complete the loading process of data from the ordered table of the database to the memory, so as to generate the corresponding operation path tree based on the storage order and connection relationship between the target operation node and each target operation node. The root node of the operation path tree is the start node pre-specified by the target business, and the leaf node is the end node of the target business. By traversing the operation path tree, the target operation path corresponding to the target business identifier is obtained. When the target operation path is displayed to the developer, the operation path tree can be directly displayed, so that the developer can intuitively know the start and end of the operation path and the sequential relationship of the operations in the path.
[0069] During the specific implementation process, a standard operation path can be set, that is, the shortest operation path that can complete the corresponding business. After obtaining the target operation path, the standard operation path is compared with the target operation path. When the user's target operation path does not follow the standard operation path, such as frequently returning to the previous step, the user's target operation path must be analyzed. If there is at least one unmatched operation node, check the specific page scenarios or functions corresponding to these operation nodes, and send optimization prompts for the corresponding pages. The unmatched operation nodes can be specially displayed to prompt developers to prioritize the pages or functions corresponding to the unmatched operations, thereby completing the optimization of the application pages and improving the user experience.
[0070] In the above embodiment, by obtaining an ordered list of operation nodes for the application, the operation node ordered list includes at least one operation node, each operation node corresponds to at least one business identifier, and the operation nodes corresponding to the same business identifier are stored in order of operation time, the target business identifier to be queried is obtained, and the target operation nodes corresponding to the target business identifier are queried from the operation node ordered list. Based on the storage order of each target operation node in the operation node ordered list, a target operation path corresponding to the target business identifier is generated, and the user's operation information is stored using the ordered list. When it is necessary to extract the path for a certain business, the ordered target operation nodes are obtained from the ordered list, so that the user operation path of the required business can be quickly obtained, which effectively improves the efficiency of extracting the user operation path.
[0071] Furthermore, operation information for the application is obtained, the operation time and business identifier corresponding to the operation information are determined, and operation nodes corresponding to the business identifier are generated based on the operation information. Based on the operation time, the operation nodes are stored in an operation node ordered table in the order of the operation time, thereby establishing an operation node ordered table, which can obtain the user's operation information in real time, record the operation time and business identifier of the operation information in a timely manner, generate operation nodes and store them in order, and can also process a large amount of operation information in an orderly manner to ensure that the efficiency of data information processing is not affected.
[0072] In addition, based on the ordered table of operation nodes, the information corresponding to each operation node and the connection relationship between each operation node can be obtained, and each operation node and the connection relationship in the ordered table of operation nodes can be displayed. After obtaining the operation path corresponding to the target business, the user operation path can be visualized, and detailed information display of each operation node can be provided to developers, so that developers can quickly view the operation path and quickly locate the possible content to be optimized in the path, thereby improving the efficiency of user operation data analysis.
[0073] In one example, the operational analysis method of the present disclosure, such as Figure 4 As shown, it may include: For a user, obtain the tracking data in the application and push the tracking data to the message queue; Use the stream processing framework to process the embedded data in the message queue to obtain operation information; Determine the operation time and business identifier corresponding to the operation information; Generate an operation node corresponding to the business identifier based on the operation information, and store the operation node in an operation node ordered table in the order of the operation time based on the operation time; If abnormal information is detected in the processing of the buried data, the operation information is marked based on the abnormal information; Determine an abnormal operation node in the operation node ordered list corresponding to the marked operation information, and mark the abnormal operation node in the operation node ordered list; Obtaining an ordered list of operation nodes for an application program by a user; wherein the ordered list of operation nodes includes at least one operation node corresponding to each of a plurality of service identifiers; and for a service identifier, the corresponding at least one operation node is stored in the order of operation time; Obtain a target service identifier to be queried, and query at least one target operation node corresponding to the target service identifier from the operation node ordered table; Determine a connection relationship between each target operation node based on a storage order of at least one target operation node in the operation node ordered table; Based on the connection relationship between each target operation node, a target operation path corresponding to the target business identifier is generated; Display the target operation path in the ordered list of operation nodes, receive the developer's selection operation for any operation node in the operation path, and display the detailed information of the operation node.
[0074] The above-mentioned operation analysis method obtains an ordered list of operation nodes for the application, the ordered list of operation nodes includes at least one operation node, each operation node corresponds to at least one business identifier, and the operation nodes corresponding to the same business identifier are stored in order of operation time, and the target business identifier to be queried is obtained, and the target operation nodes corresponding to the target business identifier are queried from the ordered list of operation nodes. Based on the storage order of each target operation node in the ordered list of operation nodes, a target operation path corresponding to the target business identifier is generated, and the user's operation information is stored in the ordered list. When it is necessary to extract the path for a certain business, the ordered target operation nodes are obtained from the ordered list, so that the user operation path of the required business can be quickly obtained, and the extraction efficiency of the user operation path is effectively improved.
[0075] Furthermore, operation information for the application is obtained, the operation time and business identifier corresponding to the operation information are determined, and operation nodes corresponding to the business identifier are generated based on the operation information. Based on the operation time, the operation nodes are stored in an operation node ordered table in the order of the operation time, thereby establishing an operation node ordered table, which can obtain the user's operation information in real time, record the operation time and business identifier of the operation information in a timely manner, generate operation nodes and store them in order, and can also process a large amount of operation information in an orderly manner to ensure that the efficiency of data information processing is not affected.
[0076] In addition, based on the ordered table of operation nodes, the information corresponding to each operation node and the connection relationship between each operation node can be obtained, and each operation node and the connection relationship in the ordered table of operation nodes can be displayed. After obtaining the operation path corresponding to the target business, the user operation path can be visualized, and detailed information display of each operation node can be provided to developers, so that developers can quickly view the operation path and quickly locate the possible content to be optimized in the path, thereby improving the efficiency of user operation data analysis.
[0077] The present disclosure provides an operation analysis device, such as Figure 5 As shown, the operation analysis device 50 may include: an acquisition module 501, a query module 502 and a path generation module 503, wherein: The acquisition module 501 is used to acquire an ordered list of operation nodes for an application; the ordered list of operation nodes includes at least one operation node, each operation node corresponds to at least one service identifier; the operation nodes corresponding to the same service identifier are stored in the order of operation time; A query module 502 is used to obtain a target service identifier to be queried, and query each target operation node corresponding to the target service identifier from the operation node ordered table; The path generation module 503 is used to generate a target operation path corresponding to the target service identifier based on the storage order of each target operation node in the operation node ordered table.
[0078] As an optional embodiment, in the device, the acquisition module 501 is specifically used for: Get operation information for the application; Determine the operation time and business identifier corresponding to the operation information; Generate an operation node corresponding to the business identifier based on the operation information; Based on the operation time, the operation nodes are stored in the operation node ordered table in the order of the operation time.
[0079] As an optional embodiment, the device further includes a display module, which is specifically used for: Display each operation node in the operation node ordered table and the connection relationship between each operation node; A selection operation for any operation node is received, and detailed information of the operation node is displayed; the detailed information includes at least one of the operation time of the operation node and a corresponding service identifier.
[0080] As an optional embodiment, in the device, the display module is specifically used for: Get the tracking data in the application and push it to the message queue; The embedded data in the message queue is processed through the stream processing framework to obtain operation information.
[0081] As an optional embodiment, in the device, the abnormal marking module is specifically used to: If abnormal information is detected in the processing of the buried data, the operation information is marked based on the abnormal information; An abnormal operation node corresponding to the marked operation information in the operation node ordered list is determined, and the abnormal operation node is marked in the operation node ordered list.
[0082] As an optional embodiment, in the device, the path generation module is specifically used to: Determine the connection relationship between each target operation node based on the storage order of each target operation node in the operation node ordered table; Based on the connection relationship between each target operation node, a target operation path corresponding to the target service identifier is generated.
[0083] The operation analysis device provided by the present disclosure obtains an ordered list of operation nodes for an application program, wherein the ordered list of operation nodes includes at least one operation node, each operation node corresponds to at least one business identifier, and each operation node corresponding to the same business identifier is stored in the order of operation time, obtains a target business identifier to be queried, queries each target operation node corresponding to the target business identifier from the ordered list of operation nodes, generates a target operation path corresponding to the target business identifier based on the storage order of each target operation node in the ordered list of operation nodes, uses the ordered list to store user operation information, and when it is necessary to extract a path for a certain business, obtains each ordered target operation node from the ordered list, thereby being able to quickly obtain the user operation path of the required business, and effectively improving the extraction efficiency of the user operation path.
[0084] Furthermore, operation information for the application is obtained, the operation time and business identifier corresponding to the operation information are determined, and operation nodes corresponding to the business identifier are generated based on the operation information. Based on the operation time, the operation nodes are stored in an operation node ordered table in the order of the operation time, thereby establishing an operation node ordered table, which can obtain the user's operation information in real time, record the operation time and business identifier of the operation information in a timely manner, generate operation nodes and store them in order, and can also process a large amount of operation information in an orderly manner to ensure that the efficiency of data information processing is not affected.
[0085] In addition, based on the ordered table of operation nodes, the information corresponding to each operation node and the connection relationship between each operation node can be obtained, and each operation node and the connection relationship in the ordered table of operation nodes can be displayed. After obtaining the operation path corresponding to the target business, the user operation path can be visualized, and detailed information display of each operation node can be provided to developers, so that developers can quickly view the operation path and quickly locate the possible content to be optimized in the path, thereby improving the efficiency of user operation data analysis.
[0086] The device of the embodiment of the present disclosure can execute the method provided by the embodiment of the present disclosure, and its implementation principle is similar and has corresponding technical effects. The actions performed by each module in the device of each embodiment of the present disclosure correspond to the steps in the method of each embodiment of the present disclosure. For the detailed functional description of each module of the device, please refer to the description in the corresponding method shown in the previous text, which will not be repeated here.
[0087] In an embodiment of the present disclosure, an electronic device (computer device / equipment / system) is provided, including a memory, a processor and a computer program stored in the memory, and the processor executes the above computer program to implement the steps of the method provided by any optional embodiment of the present disclosure. Compared with the prior art, it can be achieved that: by obtaining an ordered list of operation nodes for an application, the ordered list of operation nodes includes at least one operation node, and each operation node corresponds to at least one service identifier; each operation node corresponding to the same service identifier is stored in the order of operation time, the target service identifier to be queried is obtained, and each target operation node corresponding to the target service identifier is queried from the ordered list of operation nodes, and based on the storage order of each target operation node in the ordered list of operation nodes, a target operation path corresponding to the target service identifier is generated, and the user's operation information is stored using the ordered list, and when it is necessary to extract a path for a certain service, each ordered target operation node is obtained from the ordered list, so that the user operation path of the required service can be quickly obtained, and the extraction efficiency of the user operation path is effectively improved.
[0088] In an alternative embodiment, an electronic device is provided, such as Figure 6 As shown, Figure 6 The electronic device 6000 shown includes: a processor 6001 and a memory 6003. The processor 6001 and the memory 6003 are connected, such as through a bus 6002. Optionally, the electronic device 6000 may also include a transceiver 6004, which may be used for data interaction between the electronic device and other electronic devices, such as data transmission and / or data reception. It should be noted that in actual applications, the transceiver 6004 is not limited to one, and the structure of the electronic device 6000 does not constitute a limitation on the embodiments of the present disclosure.
[0089] Processor 6001 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of the present invention. Processor 6001 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.
[0090] The bus 6002 may include a path to transmit information between the above components. The bus 6002 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus 6002 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0091] The memory 6003 may be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical disk storage, optical disk storage (including compressed optical disk, laser disk, optical disk, digital versatile disk, Blu-ray disk, etc.), magnetic disk storage media, other magnetic storage devices, or any other medium that can be used to carry or store computer programs and can be read by a computer, without limitation herein.
[0092] The memory 6003 is used to store the computer program for executing the embodiment of the present disclosure, and the execution is controlled by the processor 6001. The processor 6001 is used to execute the computer program stored in the memory 6003 to implement the steps shown in the above method embodiment.
[0093] The electronic device includes, but is not limited to, a terminal or a server that needs to extract and analyze the user path.
[0094] An embodiment of the present disclosure provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps and corresponding contents of the aforementioned method embodiment can be implemented.
[0095] It should be noted that the computer-readable storage medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0096] The embodiments of the present disclosure also provide a computer program product, including a computer program, which can implement the steps and corresponding contents of the aforementioned method embodiments when executed by a processor.
[0097] The terms "first", "second", "third", "fourth", "1", "2", etc. (if any) in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than that shown or described in the text.
[0098] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0099] It should be understood that, although the flowchart of the embodiment of the present disclosure indicates each operation step by arrows, the implementation order of these steps is not limited to the order indicated by the arrows. Unless clearly stated herein, in some implementation scenarios of the embodiment of the present disclosure, the implementation steps in each flowchart can be executed in other orders according to demand. In addition, some or all of the steps in each flowchart may include multiple sub-steps or multiple stages based on the actual implementation scenario. Some or all of these sub-steps or stages can be executed at the same time, and each sub-step or stage in these sub-steps or stages can also be executed at different times. In scenarios with different execution times, the execution order of these sub-steps or stages can be flexibly configured according to demand, and the embodiment of the present disclosure does not limit this.
[0100] The above is only an optional implementation method for some implementation scenarios of the present disclosure. It should be pointed out that for ordinary technicians in this technical field, without departing from the technical concept of the scheme of the present disclosure, other similar implementation methods based on the technical ideas of the present disclosure are also within the protection scope of the embodiments of the present disclosure.
Claims
1. An operation analysis method, characterized in that: include: Get an ordered list of operation nodes for the application; The operation node ordered table includes at least one operation node, each operation node corresponds to at least one service identifier; the operation nodes corresponding to the same service identifier are stored in the order of operation time; Obtaining a target service identifier to be queried, and querying each target operation node corresponding to the target service identifier from the operation node ordered table; Based on the storage order of each target operation node in the operation node ordered table, a target operation path corresponding to the target service identifier is generated.
2. The operation analysis method according to claim 1, characterized in that: The operation node ordered list is generated based on the following method: Obtaining operation information for the application; Determine the operation time and service identifier corresponding to the operation information; Generate an operation node corresponding to the service identifier based on the operation information; Based on the operation time, the operation nodes are stored in the operation node ordered table in the order of the operation time.
3. The operation analysis method according to claim 2, characterized in that: The method further comprises: Display each operation node in the operation node ordered table and the connection relationship between each operation node; A selection operation for any of the operation nodes is received, and detailed information of the operation node is displayed; the detailed information includes at least one of the operation time of the operation node and a corresponding service identifier.
4. The operation analysis method according to claim 2, characterized in that: The obtaining of the operation information for the application program includes: Obtaining the embedded point data in the application and pushing the embedded point data to the message queue; The embedded point data in the message queue is processed through a stream processing framework to obtain the operation information.
5. The operation analysis method according to claim 4, characterized in that: The method further comprises: If abnormal information is detected in the processing of the buried data, the operation information is marked based on the abnormal information; An abnormal operation node corresponding to the marked operation information in the operation node ordered list is determined, and the abnormal operation node is marked in the operation node ordered list.
6. The operation analysis method according to claim 1, characterized in that: The generating a target operation path corresponding to the target service identifier based on the storage order of each target operation node in the operation node ordered table includes: Determine the connection relationship between the target operation nodes based on the storage order of the target operation nodes in the operation node ordered table; Based on the connection relationship between each target operation node, a target operation path corresponding to the target service identifier is generated.
7. An operation analysis device, characterized in that: include: An acquisition module, used to acquire an ordered list of operation nodes for an application program; The operation node ordered table includes at least one operation node, each operation node corresponds to at least one service identifier; the operation nodes corresponding to the same service identifier are stored in the order of operation time; A query module, used to obtain a target service identifier to be queried, and query each target operation node corresponding to the target service identifier from the operation node ordered table; The path generation module is used to generate a target operation path corresponding to the target service identifier based on the storage order of each target operation node in the operation node ordered table.
8. An electronic device comprising a memory, a processor and a computer program stored in the memory, characterized in that: The processor executes the computer program to implement the steps of the method according to any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the operation analysis method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
