CN116244299A - Method, device, electronic equipment and medium for determining service data path - Google Patents

Method, device, electronic equipment and medium for determining service data path Download PDF

Info

Publication number
CN116244299A
CN116244299A CN202111484683.9A CN202111484683A CN116244299A CN 116244299 A CN116244299 A CN 116244299A CN 202111484683 A CN202111484683 A CN 202111484683A CN 116244299 A CN116244299 A CN 116244299A
Authority
CN
China
Prior art keywords
service data
version information
data
service
node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111484683.9A
Other languages
Chinese (zh)
Inventor
张晓翼
洪哲鸣
张志强
王少鸣
郭润增
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN202111484683.9A priority Critical patent/CN116244299A/en
Publication of CN116244299A publication Critical patent/CN116244299A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2282Tablespace storage structures; Management thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2474Sequence data queries, e.g. querying versioned data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Software Systems (AREA)
  • Fuzzy Systems (AREA)
  • Mathematical Physics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Computational Linguistics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses a method, a device, electronic equipment and a medium for determining a service data path, and belongs to the technical field of computers. The method comprises the following steps: acquiring a plurality of first service data, wherein the first service data are data generated when an application program runs; dividing a plurality of first service data into service data sets corresponding to each version information based on the version information of the application program contained in each first service data, wherein the service data set corresponding to any one version information comprises a plurality of first service data with the same version information; and respectively determining service data paths corresponding to the version information based on the service data sets corresponding to the version information. The method and the device can accurately determine the business data path corresponding to the version information of the application program which is actually operated, and are beneficial to analysis and processing of the operation condition of the application program.

Description

Method, device, electronic equipment and medium for determining service data path
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to a method, a device, electronic equipment and a medium for determining a service data path.
Background
With the development of computer technology, the variety and number of applications are increasing. The application may support at least one service, each service having a corresponding service flow, e.g., a facial recognition service flow comprising: enter face recognition page-detect face-output face recognition result. The business data path may be used to describe various business processes. In addition, the application programs of different versions support the services of different service flows, namely, different version information corresponds to different service data paths.
In the related art, service data paths corresponding to the respective version information are determined by analyzing codes of the application programs corresponding to the respective version information, respectively. However, only a part of the application program corresponding to the version information is actually operated, and the above technology cannot accurately determine the service data path corresponding to the version information of the application program actually operated, thereby affecting the analysis and processing of the operation condition of the application program.
Disclosure of Invention
The embodiment of the application provides a method, a device, electronic equipment and a medium for determining a service data path, which can be used for solving the problem that the related technology cannot accurately determine the service data path corresponding to the version information of an actually-operated application program, thereby influencing the analysis and processing of the running condition of the application program.
In one aspect, an embodiment of the present application provides a method for determining a service data path, where the method includes:
acquiring a plurality of first service data, wherein the first service data are data generated when an application program runs;
dividing the plurality of first service data into service data sets corresponding to the version information based on the version information of the application program contained in each first service data, wherein the service data set corresponding to any one of the version information comprises a plurality of first service data with the same version information;
and respectively determining service data paths corresponding to the version information based on the service data sets corresponding to the version information.
In another aspect, an embodiment of the present application provides a device for determining a service data path, where the device includes:
the system comprises an acquisition module, a storage module and a processing module, wherein the acquisition module is used for acquiring a plurality of first service data, and the first service data are data generated when an application program runs;
the dividing module is used for dividing the plurality of first service data into service data sets corresponding to the version information based on the version information of the application program contained in each first service data, wherein the service data set corresponding to any one of the version information comprises a plurality of first service data with the same version information;
And the determining module is used for respectively determining service data paths corresponding to the version information based on the service data sets corresponding to the version information.
In a possible implementation manner, the acquiring module is configured to extract a plurality of second service data from a database, where the second service data is data generated when the application program runs in a previous time period; and cleaning the plurality of second service data to obtain the plurality of first service data.
In one possible implementation, the plurality of first service data is stored in at least two data tables; the dividing module is used for aggregating each first service data in the at least two data tables in a wide table; and dividing the plurality of first service data into service data sets corresponding to the version information based on the version information of the application program contained in each first service data in the wide table.
In a possible implementation manner, the dividing module is configured to perform deduplication processing on each first service data to obtain a plurality of data nodes, where the data nodes include a plurality of first service data with identical designated information, and the designated information includes version information of the application program; dividing the plurality of data nodes into service data sets corresponding to the version information based on the version information of the application program contained in each data node, wherein the service data set corresponding to any one of the version information comprises at least two data nodes with the same version information;
The determining module is configured to connect, for any version information, each data node in the service data set corresponding to the any version information, to obtain a service data path corresponding to the any version information.
In one possible implementation, the apparatus further includes:
the first display module is used for displaying each data node and first service data contained in each data node;
and the first adjusting module is used for adjusting any one data node in response to receiving an adjusting operation on the any one data node based on the first service data contained in the any one data node.
In one possible implementation, the apparatus further includes:
the second display module is used for displaying the business data path corresponding to any version information;
and the second adjusting module is used for adjusting the business data path corresponding to any one version information in response to receiving the adjusting operation of the business data path corresponding to any one version information.
In a possible implementation manner, the determining module is further configured to determine information of each data node on the service data path corresponding to the version information based on the amount of the first service data included in each data node on the service data path corresponding to the version information, where the information of the data node includes at least one of a conversion rate or a loss rate of the data node.
In one possible implementation manner, the determining module is further configured to determine a path coverage rate corresponding to any version information based on a number of service data paths corresponding to the any version information.
In one possible implementation, the apparatus further includes:
the merging module is used for determining at least two appointed service data paths from the service data paths corresponding to the version information, and merging the at least two appointed service data paths to obtain a service data path diagram;
and the third display module is used for displaying the service data path diagram.
In one possible implementation, the apparatus further includes:
the determining module is further used for determining appointed version information selected by the target object from the various version information;
and the screening display module is used for screening out target business data paths with version information not lower than the appointed version information from the business data paths corresponding to the version information and displaying the target business data paths.
In another aspect, an embodiment of the present application provides an electronic device, where the electronic device includes a processor and a memory, where the memory stores at least one program code, and the at least one program code is loaded and executed by the processor, so that the electronic device implements a method for determining a service data path according to any one of the foregoing methods.
In another 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 cause a computer to implement a method for determining a traffic data path as described in any one of the above.
In another aspect, there is provided a computer program or computer program product having stored therein at least one computer instruction that is loaded and executed by a processor to cause the computer to implement a method of determining a traffic data path of any of the above.
The technical scheme provided by the embodiment of the application at least brings the following beneficial effects:
the technical scheme provided by the embodiment of the application program is that the service data paths corresponding to the version information are determined based on the version information of the application program contained in each first service data generated during the running of the application program, so that the service data paths corresponding to the version information of the application program which is actually running are accurately determined, and the analysis processing of the running condition of the application program is facilitated.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of an implementation environment of a method for determining a service data path according to an embodiment of the present application;
fig. 2 is a flowchart of a method for determining a service data path according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a display page according to an embodiment of the present application;
FIG. 4 is a schematic diagram of another display page provided in an embodiment of the present application;
FIG. 5 is a schematic diagram of another display page provided in an embodiment of the present application;
fig. 6 is a schematic diagram of merging of service data paths according to an embodiment of the present application;
FIG. 7 is a schematic diagram of a traffic data path diagram according to an embodiment of the present application;
fig. 8 is a schematic diagram illustrating determination of a service data path according to an embodiment of the present application;
fig. 9 is a schematic diagram of establishing a service data path diagram according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a service data path determining device provided in an embodiment of the present application;
fig. 11 is a schematic structural diagram of a terminal device provided in an embodiment of the present application;
fig. 12 is a schematic structural diagram of a server according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more apparent, the terms related to the embodiments of the present application are explained and explained first.
Service data: designated data collected by the embedded point code. In general, the terminal device transmits service data to the background server, and the background server stores the service data in the database, wherein the service data is a string with information.
Data node: and the entity node is obtained by standardizing and normalizing the service data.
Service data path: a directed path formed by data nodes.
Traffic data path diagram: a directed acyclic graph is formed by the merging of at least two traffic data paths.
Embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Fig. 1 is a schematic diagram of an implementation environment of a method for determining a service data path according to an embodiment of the present application, where the implementation environment includes an electronic device 11 as shown in fig. 1, and the method for determining a service data path according to an embodiment of the present application may be executed by the electronic device 11. The electronic device 11 may comprise at least one of a terminal device or a server, for example.
The terminal device may be at least one of a smart phone, a game console, a desktop computer, a tablet computer, an electronic book reader, an MP3 (Moving Picture Experts Group Audio Layer III, moving picture experts compression standard audio layer 3) player, an MP4 (Moving Picture Experts Group Audio Layer IV, moving picture experts compression standard audio layer 4) player, and a laptop portable computer.
The server may be one server, or a server cluster formed by a plurality of servers, or any one of a cloud computing platform and a virtualization center, which is not limited in the embodiments of the present application. The server may be communicatively connected to the terminal device via a wired network or a wireless network. The server may have functions of data processing, data storage, data transceiving, and the like, and is not limited in the embodiments of the present application.
The optional embodiments of the present application may be implemented based on Cloud technology (Cloud technology), which refers to a hosting technology that unifies serial resources such as hardware, software, networks, etc. in a wide area network or a local area network, so as to implement calculation, storage, processing, and sharing of data.
Cloud technology (Cloud technology) is based on the general terms of network technology, information technology, integration technology, management platform technology, application technology and the like applied by Cloud computing business models, and can form a resource pool, so that the Cloud computing business model is flexible and convenient as required. Cloud computing technology will become an important support. Background services of technical networking systems require a large amount of computing, storage resources, such as video websites, picture-like websites, and more portals. Along with the high development and application of the internet industry, each article possibly has an own identification mark in the future, the identification mark needs to be transmitted to a background system for logic processing, data with different levels can be processed separately, and various industry data needs strong system rear shield support and can be realized only through cloud computing.
Based on the above implementation environment, the embodiment of the present application provides a method for determining a service data path, taking a flowchart of the method for determining a service data path provided in the embodiment of the present application as shown in fig. 2 as an example, where the method may be performed by the electronic device 11 in fig. 1. As shown in fig. 2, the method includes steps 201 to 203.
In step 201, a plurality of first service data are acquired, where the first service data are data generated during the running of an application program.
In the embodiment of the application, the embedded point code exists in the code of the application program. The embedded point code is also called dotting code, and for the code of the application program, a section of embedded point code is added to the place where the service data needs to be monitored, and the service data is collected through the embedded point code in the process of executing the code of the application program.
The process of running an application is a process of executing code of the application. For any one of the application programs, the application program corresponds to at least one version information, and the application program corresponding to any one of the version information can be installed in any terminal device. The application program on any terminal equipment can continuously generate service data in real time in the running process, and the service data is used for recording the running state of the application program.
Any terminal equipment can report the service data generated by the application program on the terminal equipment in the running process to the background server. The background server stores the service data reported by the terminal equipment in a database in real time, or the background server stores the received service data reported by each terminal equipment in the database every other time period. The database may be referred to as a reporting database, and is used for storing service data reported by the terminal device. The embodiment of the present application is not limited to a time period, and is exemplified by one minute.
In this embodiment of the present application, any service data generated during the running of the application may be first service data, or any service data generated during the running of the application may be second service data, where the first service data is service data obtained after cleaning the second service data, which will be described in detail below.
In one possible implementation, acquiring a plurality of first service data includes: extracting a plurality of second service data from the database, wherein the second service data is generated when the application program runs in the last time period; and cleaning the plurality of second service data to obtain a plurality of first service data.
The application program can continuously generate service data in real time when running, a large number of terminal devices report the service data generated by the application program when running to the background server, and the background server can store the reported service data in a database. Thus, the amount of business data in the database is very large, typically on the order of hundreds of millions of business data. Since the computing speed has a bottleneck, it takes a lot of time to compute the business data of billions, and breakdown and other phenomena are likely to occur.
And extracting service data generated when the application program runs in the last time period from the database aiming at the phenomenon, and obtaining a plurality of second service data. The time taken for the calculation is reduced by reducing the amount of traffic data acquired during the current time period. The embodiment of the present application is not limited to a time period, and an exemplary time period is several hours, several days, several weeks, several months, and the like.
In this embodiment of the present application, the plurality of second service data may be directly used as the plurality of first service data, or the plurality of second service data may be cleaned to clean out the non-compliant service data, so as to obtain the plurality of first service data.
Optionally, for any one of the plurality of second service data, when the second service data meets the data compliance rule, the second service data is reserved, the second service data is used as a first service data, and when the second service data does not meet the data compliance rule, the second service data is cleaned. The embodiment of the application does not limit the data compliance rule.
In this embodiment of the present application, the first service data includes information such as Error Code (Error Code), version information of the application program, data source protocol identifier (Identity Document, ID), page location, browser/Server Architecture Error Code, BS Error Code, and the like.
It should be noted that, for each time period, service data generated when the application program runs in the previous time period may be extracted from the database, so as to obtain a plurality of second service data. And taking each second service data as each first service data, or cleaning the plurality of second service data to obtain a plurality of first service data.
Step 202, dividing the plurality of first service data into service data sets corresponding to the respective version information based on the version information of the application program contained in the respective first service data, wherein any one of the service data sets corresponding to the version information includes the plurality of first service data with the same version information.
In this embodiment of the present application, the first service data is data generated when an application program runs, and any one of the first service data includes version information of the application program.
For any two first service data in the plurality of first service data, if version information of application programs contained in the two first service data is consistent, dividing the two first service data into one service data set. If the version information of the application programs contained in the two first service data are inconsistent, the two first service data are divided into two different service data sets. In this way, the plurality of first service data are divided to obtain at least two service data sets, and one service data set contains each first service data with the same version information.
The version information corresponding to any one service data set is version information of an application program contained in the first service data in the service data set. That is, the version information of each first service data in the service data set corresponding to any version information is the version information corresponding to the service data set.
In one possible implementation, the plurality of first service data is stored in at least two data tables; dividing the plurality of first service data into service data sets corresponding to the version information based on the version information of the application program contained in each first service data, including: aggregating each first business data in at least two data tables in a wide table; and dividing the plurality of first service data into service data sets corresponding to the version information based on the version information of the application program contained in each first service data in the broad table.
In this embodiment of the present invention, any one of the first service data is stored in one data table, and at least one of the first service data may be stored in one data table, so that a plurality of the first service data may be stored in the same data table or may be stored in different data tables.
When a plurality of first service data are stored in at least two data tables, each of the first service data in at least two data tables may be aggregated in one table, which is referred to as a wide table, for convenience of calculation. A broad table is a data table with a large number of fields in a literal sense, and generally refers to a data table that associates indexes, dimensions, and attributes related to a business topic together. Because the wide table stores different contents in the same table, the wide table does not accord with the model design specification of three modes, has the defect of large redundancy of data, but has the advantages of improving the query performance and being convenient.
Alternatively, a Join operation in MySQL (My Structured Query Language, a relational database management system) may be employed to aggregate the respective first business data in at least two data tables in a broad table.
The broad table in the embodiment of the application includes a plurality of first service data. For any two first service data in the broad table, if the version information of the application programs contained in the two first service data is consistent, dividing the two first service data into one service data set. If the version information of the application programs contained in the two first service data are inconsistent, the two first service data are divided into two different service data sets. In this way, the plurality of first service data are divided into service data sets corresponding to the respective version information.
Step 203, based on the service data sets corresponding to the version information, service data paths corresponding to the version information are respectively determined.
In this embodiment of the present application, for a service data set corresponding to any version information, a service data path corresponding to the version information may be determined based on each first service data in the service data set. Wherein the number of the business data paths corresponding to the version information is at least one.
In one possible implementation manner, based on version information of an application program included in each first service data, dividing the plurality of first service data into service data sets corresponding to each version information includes: performing de-duplication processing on each first service data to obtain a plurality of data nodes, wherein the data nodes comprise the plurality of first service data with identical appointed information, and the appointed information comprises version information of an application program; dividing a plurality of data nodes into service data sets corresponding to each version information based on the version information of the application program contained in each data node, wherein the service data set corresponding to any one version information comprises at least two data nodes with the same version information; based on the service data set corresponding to each version information, determining the service data path corresponding to each version information respectively, including: and for any version information, connecting each data node in the service data set corresponding to any version information to obtain a service data path corresponding to any version information.
In the embodiment of the present application, the data node is an entity obtained after the first service data is abstracted, and the entity may represent an event, for example, the data node may be "face recognition". It will be appreciated that the data nodes may include a variety of information, including, by way of example and not limitation, event names (actions), event identifications, business process nodes, event levels, version information for applications, etc., where the event names may be "facial recognition".
Optionally, a mapping relation table between the first service data and the data node is preconfigured. The mapping relation table comprises a plurality of mapping relations, and one mapping relation is the mapping relation between the appointed information in the first service data and one data node. The specified information in the first service data includes, but is not limited to, version information of the application program, and illustratively, the specified information in the first service data includes version information of the application program, a data source protocol identification, and an error code.
And for any one of the first service data, matching the specified information in the first service data with the mapping relation table to determine a target mapping relation corresponding to the specified information in the first service data, and determining the data node in the target mapping relation as the data node corresponding to any one of the first service data.
It is understood that one first traffic data corresponds to one data node and one data node corresponds to at least one first traffic data. And determining the data nodes corresponding to the first service data through the mapping relation table, and performing de-duplication processing on the plurality of first service data to obtain a plurality of data nodes.
Optionally, after performing deduplication processing on each first service data to obtain a plurality of data nodes, if version information of application programs contained in any two data nodes is consistent, dividing the two data nodes into a service data set. If the version information of the application programs contained in the two data nodes are inconsistent, the two data nodes are divided into two different service data sets. In this way, the plurality of data nodes are divided to obtain at least two service data sets, and each data node with the same version information is contained in one service data set.
The version information corresponding to any service data set is the version information of the application program contained in the data node in the service data set. That is, the version information of each data node in the service data set corresponding to any version information is the version information corresponding to the service data set.
And then, determining the sequence of each data node in the service data set for the service data set corresponding to any version information, and connecting each data node in the service data set according to the sequence of each data node in the service data set to obtain a service data path corresponding to any version information.
For example, a service data set corresponding to version information includes data nodes a to D, and after determining the sequence of the data nodes in the service data set, the data node a, the data node C, the data node D, and the data node B are sequentially connected to obtain a service data path corresponding to the version information, that is, a service data path data node a-data node C-data node D-data node B.
Optionally, after performing deduplication processing on each first service data to obtain a plurality of data nodes, the method further includes: displaying each data node and first service data contained in each data node; and adjusting any one of the data nodes in response to receiving an adjustment operation performed on any one of the data nodes based on the first service data contained in the any one of the data nodes.
In the embodiment of the application, each data node and the first service data contained in each data node may be displayed on a designated terminal device. When the terminal equipment is designated to display the data node, all or part of information contained in the data node can be displayed, and similarly, when the terminal equipment is designated to display the first service data contained in the data node, all or part of information contained in the first service data can be displayed.
Referring to fig. 3, fig. 3 is a schematic diagram of a display page according to an embodiment of the present application. The display page displays an information table, and the information table comprises data nodes and first service data contained in the data nodes.
The data node includes an event identifier, an event name, a business process node, an event level, and version information of the application program, for example, for the data node shown in the second row, the event identifier of the data node is "1661", the event name of the data node is "entering face recognition page", the business process node of the data node is "page", the event level of the data node is "normal", and the version information of the application program of the data node is "long-term support version". Where the long-term support (Long Term Support, LTS) version represents all versions of an application.
The first service data included in the data node comprises behavior, BS error code, data source protocol identification, page and page position. For example, for the first service data included in the data node shown in the second row, the behavior of the first service data is "page turning", the BS error code of the first service data is "-", where "-" indicates that the BS error code is not displayed on the display page, the error code of the first service data is "-", the data source protocol of the first service data is identified as "18771", the page of the first service data is "display page", and the page position of the first service data is "-".
In addition, the display page also displays the operation of the first service data aiming at the data node and/or the data node, and the operation can be a modification operation or a deletion operation. Optionally, a modification control and a deletion control are displayed on the display page, modification operation is realized through the modification control, and deletion operation is realized through the deletion control. For example, for a data node shown in the second row, a modification control for that data node is displayed on the display page.
It can be understood that, for any one of the third row to the last row in fig. 3, the data node shown in the row, the first service data included in the data node, and the operation will not be described in detail, and these information are similar to the information of the second row in fig. 3 and will not be described herein.
In this embodiment of the present application, the designated terminal device may receive an adjustment operation performed by the target object on any one of the displayed data nodes based on the first service data included in the any one of the data nodes, and adjust the any one of the data nodes based on the adjustment operation. And if the adjustment operation is a modification operation, modifying the event name of any data node, if the adjustment operation is a deletion operation, deleting any data node, and if the adjustment operation is a new addition operation, adding a new data node.
As shown in fig. 4, fig. 4 is a schematic diagram of another display page provided in an embodiment of the present application. The upper left corner of the display page shows "new" indicating that the display page is the page of a new data node. An information table is displayed on the display page, in which a data node, that is, an event identifier, an event name, a service flow node, an event class, and version information of an application program may be set, but first service data included in the data node, that is, a behavior, a BS error code, an error code, a data source protocol identifier, a page, and a page location may not be set, and in addition, an operation for the data node may not be set.
The display page also displays a cancel control, an add row control, a reset control, and a new add control. Optionally, after clicking the cancel control, the user returns to the page preceding the displayed page. After clicking the add control, the user adds a new line in the information table on the display page. After the user clicks the reset control, the information table on the display page is reset. After clicking the new control, the user adds a new column in the information table on the display page, or loads and displays a new page of a new added data node.
The above has introduced that each data node in the service data set corresponding to any version information is connected to obtain the service data path corresponding to any version information. Optionally, each data node in the service data set corresponding to any version information is connected, and after the service data path corresponding to any version information is obtained, the method further includes: displaying a business data path corresponding to any version information; and adjusting the business data path corresponding to any one version information in response to receiving the adjustment operation of the business data path corresponding to any one version information.
The embodiment of the application can also display the business data path corresponding to any version information on the appointed terminal equipment. The designated terminal device may receive an adjustment operation performed by the target object for a service data path corresponding to any one of the version information, and adjust the service data path corresponding to any one of the version information based on the adjustment operation. If the adjustment operation is a modification operation, the service data path corresponding to any version information is modified, for example, a data node on the service data path is deleted, or a new data node is added to the service data path, or a data node on the service data path is modified.
Referring to fig. 5, fig. 5 is a schematic diagram of another display page according to an embodiment of the present application. On the display page, the node configuration control can be clicked to turn to the display page for configuring the data node, the path configuration control can be clicked to turn to the display page for configuring the service data path, and the path diagram control can be clicked to turn to the display page of the service data path diagram.
The display page shown in fig. 5 is a display page configuring a service data path. The user can select a path on the display page, that is, information for a service data path can be input to select a service data path, for example, the user inputs "face recognition payment" to select a service data path corresponding to "face recognition payment". The user may also select a node on the display page, i.e., the user may input a data node to select a data node, such as inputting "detect face", to select a data node corresponding to "detect face".
The display page displays a service data path ' entering the face recognition page-detecting the face-outputting the face recognition result-spitting the code-paying-taking the payment certificate ' selected by the user '. The display page may be set to a read-only mode or an edit mode through an adjustment control, for example, fig. 5 is a read-only mode, in which a user may not adjust a service data path, and in which a user may adjust a service data path.
In the editing mode, the user can click on the "save" control to save the adjustment operation performed on the service data path, click on the "add" control to add a data node or service data path, click on the "clear" control to delete a data node or service data path, click on the "copy" control to copy a data node or service data path, click on the "paste" control to paste a data node or service data path, click on the "re-layout" control to adjust the order of the data nodes on the service data path (e.g., before adjusting the "spit code" to the "detect face"), and click on the "view details" control to view the detailed information of the service data path.
In one possible implementation manner, after each data node in the service data set corresponding to any version information is connected to obtain a service data path corresponding to any version information, the method further includes: and determining information of each data node on the service data path corresponding to any version information based on the quantity of the first service data contained in each data node on the service data path corresponding to any version information, wherein the information of the data node comprises at least one of conversion rate or loss rate of the data node.
For any data node on the service data path corresponding to any version information, the data node contains at least one first service data, and the number of the first service data contained in the data node can be counted.
Optionally, in the running process of the application program on the terminal device, each time the application program starts to execute the service of the application program, the terminal device generates a Session identifier (Session ID) corresponding to the service, and each service data generated in the process of executing the service has the Session identifier, so that the Session identifier has uniqueness.
For example, the business processes of the face recognition business include: enter face recognition page-detect face-output face recognition result. When the face recognition service is started to be executed, namely, the face recognition page is entered, a session identifier is generated, in the process of executing the whole face recognition service, the service data corresponding to the face recognition page is entered and contains the session identifier, the service data corresponding to the face detection includes the session identifier, and the service data corresponding to the face recognition result is output and also contains the session identifier.
For any data node on the service data path corresponding to any version information, the number of session identifications contained in the data node can be counted and used as the number of first service data contained in the data node.
It should be noted that the embodiment of the present application does not limit the session identifier, and the session identifier is illustratively formed by at least one element of numbers, special characters (such as @, # and the like), english characters and the like.
By the method, the quantity of the first service data contained in each data node on the service data path corresponding to any version information can be determined, and then the conversion rate, the loss rate and other information of each data node on the service data path are determined based on the quantity of the first service data contained in each data node on the service data path.
Wherein the conversion rate of any one data node on the traffic data path is a ratio of the amount of first traffic data contained in the any one data node to the amount of first traffic data contained in the last data node of the any one data node on the traffic data path. The sum of the churn rate of any one data node on the traffic data path and the conversion rate of the any one data node is equal to 1.
By the method, the information of each data node of the service data path corresponding to each version information can be calculated, and the information of each data node of the service data path corresponding to each version information is stored in the database.
In another possible implementation manner, after determining the service data paths corresponding to the version information respectively based on the service data sets corresponding to the version information, the method further includes: and determining the path coverage rate corresponding to any one version information based on the number of the service data paths corresponding to any one version information.
In the embodiment of the present application, the number of service data paths corresponding to any one version information is at least one. Since the traffic data path corresponding to any one of the version information is determined based on the first traffic data generated when the application program is run, the traffic data path corresponding to any one of the version information is the traffic data path that has been executed.
It will be appreciated that during the running of an application, there may be a number of unexecuted traffic data paths, the sum of the number of traffic data paths that have been executed and the number of unexecuted traffic data paths being the total number of paths.
In the embodiment of the present application, the total path number corresponding to any one of the version information may be obtained, and the ratio of the number of service data paths corresponding to any one of the version information to the total path number may be used as the path coverage rate corresponding to any one of the version information.
In another possible implementation manner, after determining the service data paths corresponding to the version information respectively based on the service data sets corresponding to the version information, the method further includes: determining at least two appointed service data paths from service data paths corresponding to each version information, and combining the at least two appointed service data paths to obtain a service data path diagram; and displaying the service data path diagram.
In the embodiment of the application, the target object may determine at least two specified service data paths from the service data paths corresponding to the version information through the specified terminal device. Any two designated service data paths may correspond to the same version information or may correspond to different version information. And then combining the same data nodes on each two appointed service data paths into one, thereby realizing the combination of at least two appointed service data paths into a service data path diagram, reflecting the running condition of the application program through the service data path diagram, and being beneficial to the analysis and the processing of the running condition of the application program.
Referring to fig. 6, fig. 6 is a schematic diagram illustrating merging of service data paths according to an embodiment of the present application. In fig. 6 (1), two traffic data paths are shown, one being "a-B-C-D" and the other being "a-B-E-F", where A, B, C, D, E and F both represent data nodes. The same data nodes a and B exist in the two service data paths, the data nodes a in the two service data paths are combined into one, and the data nodes B in the two service data paths are combined into one, so as to obtain a service data path diagram as shown in (2) in fig. 6.
In the embodiment of the application, the service data path diagram can be displayed on the designated terminal equipment. It will be appreciated that when displaying the service data path diagram, information of each data node on each service data path in the service data path diagram may also be displayed, i.e. information of each data node on the service data path diagram is displayed.
Next, referring to fig. 7, fig. 7 is a schematic diagram of a service data path diagram according to an embodiment of the present application. The business data path diagram comprises five data nodes, namely 'resource exposure', 'resource acquisition by clicking', 'successful acquisition', 'failure in acquisition', and 'more than limit' respectively. The business data path diagram is formed by combining three business data paths, namely 'resource exposure-click to get resource-get successful', 'resource exposure-click to get resource-get failure', 'resource exposure-click to get resource-get exceeding limit'.
The information of each data node includes the session number, zhou Tongbi of session number, and identification of the cycle (e.g., descending identification "∈" or ascending identification "≡"). For example, the information of the data node "resource exposure" includes "number of sessions: 20329"," Zhou Tongbi: 58.29% "(i.e. Zhou Tongbi of session number) and a decreasing identifier" ∈ "of the same ratio, and the information of other data nodes please refer to fig. 7, which is not described herein. The information of the partial data node also includes a conversion rate and a cycle-to-cycle ratio of the conversion rate. For example, the information of the data node "click to get resource" includes "conversion rate: 83.03% "and" Zhou Tongbi: 0.32% "(i.e. Zhou Tongbi of conversion rate), the information of other data nodes is shown in fig. 7, and will not be described again here.
In one possible implementation manner, after determining the service data paths corresponding to the version information respectively based on the service data sets corresponding to the version information, the method further includes: determining appointed version information selected by the target object from all version information; and screening out target business data paths with version information not lower than the appointed version information from business data paths corresponding to the version information, and displaying the target business data paths.
In the embodiment of the application, the target object can select the appointed version information from the various version information through the appointed terminal equipment. For any one of the service data paths corresponding to the version information, if the version information of the service data path is not lower than the appointed version information, the service data path is the target service data path, and if the version information of the service data path is lower than the appointed version information, the service data path is not the target service data path.
After the target service data path is screened out, the target service data path is displayed on the designated terminal equipment. It will be appreciated that in displaying the target traffic data path, information for each data node on the target traffic data path may also be displayed. Wherein the number of target traffic data paths is at least one.
When the number of the target service data paths is at least two, the at least two target service data paths may be combined into a service data path diagram, and then the service data path diagram may be displayed on the designated terminal device. For the manner of merging at least two target service data paths into the service data path diagram, please refer to the above for merging at least two designated service data paths to obtain a description of the service data path diagram, which is not described herein.
The foregoing describes the method for determining a service data path according to the embodiment of the present application mainly from the perspective of method steps, and a detailed embodiment is provided below to further describe the method for determining a service data path according to the embodiment of the present application.
Referring to fig. 8, fig. 8 is a schematic diagram illustrating determination of a service data path according to an embodiment of the present application. Any one of the terminal apparatuses may report the service data to the report database, for example, each of the terminal apparatuses 1 to 5 report the service data to the report database. The service data are data generated by an application program on the terminal equipment in running.
The business data processing tool can extract business data from the report database at regular time, for example, every one hour, and the business data processing tool extracts newly added business data from the report database. The business data processing tool is an application program on the electronic equipment and is used for carrying out data processing on the business data.
Optionally, the service data processing tool includes a service data processing layer, a data node processing layer, a service data path processing layer, and a service data path graph processing layer.
The service data processing layer cleans the service data (i.e. the second service data mentioned above) extracted from the report database to obtain cleaned service data (i.e. the first service data mentioned above). In addition, the service data processing layer can also perform de-duplication on the cleaned service data to obtain a plurality of data nodes. Wherein any one data node contains a plurality of service data after washing, and the service data after washing that each data node contains is stored in at least two data tables in total, that is to say, a plurality of data nodes are stored in at least two data tables.
The data node processing layer may associate at least two data tables into a wide table, that is, the data node processing layer may aggregate each data node in the at least two data tables in the wide table, thereby implementing aggregation of each service data after cleaning in the wide table.
Next, the service data path processing layer groups the data nodes according to the version information, and divides the data nodes into service data sets corresponding to the version information through the version information of the application program contained in each data node. And then, connecting all the data nodes in the service data set corresponding to any one version information to obtain a service data path corresponding to any one version information. And then, determining the information of each data node on the service data path for the service data path corresponding to any version information.
And then, the service data path diagram processing layer generates a service data path diagram based on the service data paths corresponding to the version information, and displays the service data path diagram on the appointed terminal equipment. The service data path map processing layer may determine a path coverage rate corresponding to any one version information based on the number of service data paths corresponding to any one version information.
Next, referring to fig. 9, fig. 9 is a schematic diagram of establishing a service data path diagram according to an embodiment of the present application. In the embodiment of the application, the establishment of the service data path diagram includes three steps, namely, the establishment of the data node, the establishment of the data path and the establishment of the service data path diagram.
When the data node is established, the service data is extracted from the reporting database. Then, version information determination is performed, that is, version information of the application program included in the service data is determined. And then, generating the data nodes, namely, de-duplicating each service data (or each washed service data) to obtain a plurality of data nodes. Thereafter, a database storage is performed, i.e. a plurality of data nodes are stored in the database.
When the data path is established, the data nodes are grouped firstly, namely, the data nodes are grouped according to the version information, and the service data set corresponding to each version information is obtained. Then, determining the sequence of the data nodes, namely determining the sequence of each data node in the service data set corresponding to any version information. And then, connecting the data nodes to obtain a service data path, namely connecting the data nodes in the service data set according to the sequence of the data nodes in the service data set corresponding to any version information to obtain the service data path corresponding to the version information. And then, storing the database, namely storing the business data paths corresponding to the version information in the database.
When the service data path diagram is established, the advanced service data path screening is performed, namely at least two appointed service data paths are screened out from the service data paths corresponding to the version information. And then merging the data nodes to obtain a service data path diagram, namely merging the same data nodes on every two appointed service data paths into one, thereby realizing merging at least two appointed service data paths into one service data path diagram. Next, a database storage is performed, i.e., the traffic data path diagram is stored in the database.
The method is based on the version information of the application program contained in each first service data generated during the running of the application program, and the service data path corresponding to each version information is determined, so that the service data path corresponding to the version information of the application program which is actually running is accurately determined, and the analysis and the processing of the running condition of the application program are facilitated.
Fig. 10 is a schematic structural diagram of a device for determining a service data path according to an embodiment of the present application, where, as shown in fig. 10, the device includes:
an obtaining module 1001, configured to obtain a plurality of first service data, where the first service data is data generated when an application program runs;
The dividing module 1002 is configured to divide, based on version information of an application program included in each first service data, the plurality of first service data into service data sets corresponding to each version information, where a service data set corresponding to any one of the version information includes a plurality of first service data having the same version information;
a determining module 1003, configured to determine service data paths corresponding to the version information respectively based on the service data sets corresponding to the version information.
In one possible implementation, the obtaining module 1001 is configured to extract a plurality of second service data from the database, where the second service data is data generated when the application program runs in a previous time period; and cleaning the plurality of second service data to obtain a plurality of first service data.
In one possible implementation, the plurality of first service data is stored in at least two data tables; a dividing module 1002, configured to aggregate each first service data in at least two data tables in a wide table; and dividing the plurality of first service data into service data sets corresponding to the version information based on the version information of the application program contained in each first service data in the broad table.
In a possible implementation manner, the dividing module 1002 is configured to perform deduplication processing on each first service data to obtain a plurality of data nodes, where the data nodes include a plurality of first service data with identical specified information, and the specified information includes version information of an application program; dividing a plurality of data nodes into service data sets corresponding to each version information based on the version information of the application program contained in each data node, wherein the service data set corresponding to any one version information comprises at least two data nodes with the same version information;
the determining module 1003 is configured to connect, for any version information, each data node in the service data set corresponding to any version information, and obtain a service data path corresponding to any version information.
In one possible implementation, the apparatus further includes:
the first display module is used for displaying each data node and first service data contained in each data node;
and the first adjusting module is used for adjusting any one data node in response to receiving an adjusting operation on any one data node based on the first service data contained in any one data node.
In one possible implementation, the apparatus further includes:
the second display module is used for displaying a business data path corresponding to any version information;
and the second adjusting module is used for adjusting the business data path corresponding to any one version information in response to receiving the adjusting operation of the business data path corresponding to any one version information.
In a possible implementation manner, the determining module 1003 is further configured to determine, based on the amount of the first service data included in each data node on the service data path corresponding to any one of the version information, information of each data node on the service data path corresponding to any one of the version information, where the information of the data node includes at least one of a conversion rate or a churn rate of the data node.
In a possible implementation manner, the determining module 1003 is further configured to determine a path coverage corresponding to any version information based on the number of service data paths corresponding to any version information.
In one possible implementation, the apparatus further includes:
the merging module is used for determining at least two appointed service data paths from the service data paths corresponding to the version information, and merging the at least two appointed service data paths to obtain a service data path diagram;
And the third display module is used for displaying the service data path diagram.
In one possible implementation, the apparatus further includes:
a determining module 1003, configured to determine specified version information selected from the version information by the target object;
and the screening display module is used for screening out target business data paths with version information not lower than the appointed version information from business data paths corresponding to the version information and displaying the target business data paths.
The device determines the service data path corresponding to each version information based on the version information of the application program contained in each first service data generated during the running of the application program, thereby realizing the accurate determination of the service data path corresponding to the version information of the application program which is actually running and being beneficial to the analysis and the processing of the running condition of the application program.
It should be understood that, in implementing the functions of the apparatus provided in fig. 10, only the division of the functional modules is illustrated, and in practical application, the functional modules may be allocated to different functional modules according to needs, that is, the internal structure of the apparatus is divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and the method embodiments provided in the foregoing embodiments belong to the same concept, and specific implementation processes of the apparatus and the method embodiments are detailed in the method embodiments and are not repeated herein.
Fig. 11 shows a block diagram of a terminal device 1100 according to an exemplary embodiment of the present application. The terminal device 1100 may be a portable mobile terminal such as: a smart phone, a tablet, an MP3 (Moving Picture Experts Group Audio Layer III, motion picture expert compression standard audio plane 3) player, an MP4 (Moving Picture Experts Group Audio Layer IV, motion picture expert compression standard audio plane 4) player, a notebook or a desktop. Terminal device 1100 may also be referred to by other names of user devices, portable terminals, laptop terminals, desktop terminals, and the like.
In general, the terminal apparatus 1100 includes: a processor 1101 and a memory 1102.
The processor 1101 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 1101 may be implemented in at least one hardware form of DSP (Digital Signal Processing ), FPGA (Field-Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array ). The processor 1101 may also include a main processor, which is a processor for processing data in an awake state, also called a CPU (Central Processing Unit ), and a coprocessor; a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 1101 may be integrated with a GPU (Graphics Processing Unit, image processor) for taking care of rendering and rendering of content that the display screen is required to display. In some embodiments, the processor 1101 may also include an AI (Artificial Intelligence ) processor for processing computing operations related to machine learning.
Memory 1102 may include one or more computer-readable storage media, which may be non-transitory. Memory 1102 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 memory 1102 is used to store at least one instruction for execution by processor 1101 to implement the method of determining a traffic data path provided by the method embodiments herein.
In some embodiments, the terminal device 1100 may further optionally include: a peripheral interface 1103 and at least one peripheral. The processor 1101, memory 1102, and peripheral interface 1103 may be connected by a bus or signal lines. The individual peripheral devices may be connected to the peripheral device interface 1103 by buses, signal lines or circuit boards. Specifically, the peripheral device includes: at least one of radio frequency circuitry 1104, a display screen 1105, a camera assembly 1106, audio circuitry 1107, a positioning assembly 1108, and a power supply 1109.
A peripheral interface 1103 may be used to connect I/O (Input/Output) related at least one peripheral device to the processor 1101 and memory 1102. In some embodiments, the processor 1101, memory 1102, and peripheral interface 1103 are integrated on the same chip or circuit board; in some other embodiments, any one or both of the processor 1101, memory 1102, and peripheral interface 1103 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 1104 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 1104 communicates with a communication network and other communication devices via electromagnetic signals. The radio frequency circuit 1104 converts an electrical signal into an electromagnetic signal for transmission, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1104 includes: antenna systems, RF transceivers, one or more amplifiers, tuners, oscillators, digital signal processors, codec chipsets, subscriber identity module cards, and so forth. The radio frequency circuitry 1104 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: the world wide web, metropolitan area networks, intranets, generation mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and/or WiFi (Wireless Fidelity ) networks. In some embodiments, the radio frequency circuitry 1104 may also include NFC (Near Field Communication, short range wireless communication) related circuitry, which is not limited in this application.
The display screen 1105 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display 1105 is a touch display, the display 1105 also has the ability to collect touch signals at or above the surface of the display 1105. The touch signal may be input to the processor 1101 as a control signal for processing. At this time, the display screen 1105 may also be used to provide virtual buttons and/or virtual keyboards, also referred to as soft buttons and/or soft keyboards. In some embodiments, the display 1105 may be one and disposed on the front panel of the terminal device 1100; in other embodiments, the display 1105 may be at least two, and disposed on different surfaces of the terminal device 1100 or in a folded design; in other embodiments, the display 1105 may be a flexible display disposed on a curved surface or a folded surface of the terminal device 1100. Even more, the display 1105 may be arranged in a non-rectangular irregular pattern, i.e., a shaped screen. The display 1105 may be made of LCD (Liquid Crystal Display ), OLED (Organic Light-Emitting Diode) or other materials.
The camera assembly 1106 is used to capture images or video. Optionally, the camera assembly 1106 includes a front camera and a rear camera. Typically, the front camera is disposed on the front panel of the terminal and the rear camera is disposed on the rear surface of the terminal. In some embodiments, the at least two rear cameras are any one of a main camera, a depth camera, a wide-angle camera and a tele camera, so as to realize that the main camera and the depth camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize a panoramic shooting and Virtual Reality (VR) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 1106 may also include a flash. The flash lamp can be a single-color temperature flash lamp or a double-color temperature flash lamp. The dual-color temperature flash lamp refers to a combination of a warm light flash lamp and a cold light flash lamp, and can be used for light compensation under different color temperatures.
The audio circuit 1107 may include a microphone and a speaker. The microphone is used for collecting sound waves of users and environments, converting the sound waves into electric signals, and inputting the electric signals to the processor 1101 for processing, or inputting the electric signals to the radio frequency circuit 1104 for voice communication. For the purpose of stereo acquisition or noise reduction, a plurality of microphones may be provided at different portions of the terminal device 1100, respectively. The microphone may also be an array microphone or an omni-directional pickup microphone. The speaker is used to convert electrical signals from the processor 1101 or the radio frequency circuit 1104 into sound waves. The speaker may be a conventional thin film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, not only the electric signal can be converted into a sound wave audible to humans, but also the electric signal can be converted into a sound wave inaudible to humans for ranging and other purposes. In some embodiments, the audio circuit 1107 may also include a headphone jack.
The location component 1108 is used to locate the current geographic location of the terminal device 1100 to enable navigation or LBS (Location Based Service, location-based services). The positioning component 1108 may be a positioning component based on the United states GPS (Global Positioning System ), the Beidou system of China, or the Galileo system of Russia.
The power supply 1109 is used to supply power to the respective components in the terminal device 1100. The power source 1109 may be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power source 1109 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, terminal device 1100 also includes one or more sensors 1110. The one or more sensors 1110 include, but are not limited to: acceleration sensor 1111, gyroscope sensor 1112, pressure sensor 1113, fingerprint sensor 1114, optical sensor 1115, and proximity sensor 1116.
The acceleration sensor 1111 can detect the magnitudes of accelerations on three coordinate axes of the coordinate system established in the terminal apparatus 1100. For example, the acceleration sensor 1111 may be configured to detect components of gravitational acceleration in three coordinate axes. The processor 1101 may control the display screen 1105 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal acquired by the acceleration sensor 1111. Acceleration sensor 1111 may also be used for the acquisition of motion data of a game or a user.
The gyro sensor 1112 may detect a body direction and a rotation angle of the terminal device 1100, and the gyro sensor 1112 may collect a 3D motion of the user on the terminal device 1100 in cooperation with the acceleration sensor 1111. The processor 1101 may implement the following functions based on the data collected by the gyro sensor 1112: motion sensing (e.g., changing UI according to a tilting operation by a user), image stabilization at shooting, game control, and inertial navigation.
The pressure sensor 1113 may be disposed at a side frame of the terminal device 1100 and/or at a lower layer of the display screen 1105. When the pressure sensor 1113 is provided at a side frame of the terminal apparatus 1100, a grip signal of the terminal apparatus 1100 by a user can be detected, and the processor 1101 performs left-right hand recognition or quick operation based on the grip signal collected by the pressure sensor 1113. When the pressure sensor 1113 is disposed at the lower layer of the display screen 1105, the processor 1101 realizes control of the operability control on the UI interface according to the pressure operation of the user on the display screen 1105. The operability controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.
The fingerprint sensor 1114 is used to collect a fingerprint of the user, and the processor 1101 identifies the identity of the user based on the collected fingerprint of the fingerprint sensor 1114, or the fingerprint sensor 1114 identifies the identity of the user based on the collected fingerprint. Upon recognizing that the user's identity is a trusted identity, the user is authorized by the processor 1101 to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying for and changing settings, etc. The fingerprint sensor 1114 may be disposed at the front, back, or side of the terminal device 1100. When a physical key or vendor Logo is provided on the terminal device 1100, the fingerprint sensor 1114 may be integrated with the physical key or vendor Logo.
The optical sensor 1115 is used to collect the ambient light intensity. In one embodiment, the processor 1101 may control the display brightness of the display screen 1105 based on the intensity of ambient light collected by the optical sensor 1115. Specifically, when the intensity of the ambient light is high, the display luminance of the display screen 1105 is turned up; when the ambient light intensity is low, the display luminance of the display screen 1105 is turned down. In another embodiment, the processor 1101 may also dynamically adjust the shooting parameters of the camera assembly 1106 based on the intensity of ambient light collected by the optical sensor 1115.
A proximity sensor 1116, also referred to as a distance sensor, is typically provided on the front panel of the terminal device 1100. The proximity sensor 1116 is used to collect a distance between the user and the front surface of the terminal device 1100. In one embodiment, when the proximity sensor 1116 detects that the distance between the user and the front face of the terminal device 1100 gradually decreases, the processor 1101 controls the display 1105 to switch from the bright screen state to the off screen state; when the proximity sensor 1116 detects that the distance between the user and the front surface of the terminal apparatus 1100 gradually increases, the processor 1101 controls the display screen 1105 to switch from the off-screen state to the on-screen state.
It will be appreciated by those skilled in the art that the structure shown in fig. 11 is not limiting and that terminal device 1100 may include more or fewer components than shown, or may combine certain components, or may employ a different arrangement of components.
Fig. 12 is a schematic structural diagram of a server provided in the embodiment of the present application, where the server 1200 may have a relatively large difference due to different configurations or performances, and may include one or more processors 1201 and one or more memories 1202, where the one or more memories 1202 store at least one program code, and the at least one program code is loaded and executed by the one or more processors 1201 to implement the method for determining a service data path provided in each method embodiment, and the processor 1201 is a CPU, for example. Of course, the server 1200 may also have a wired or wireless network interface, a keyboard, an input/output interface, etc. for performing input/output, and the server 1200 may also include other components for implementing device functions, which are not described herein.
In an exemplary embodiment, there is also provided a computer readable storage medium having stored therein at least one program code loaded and executed by a processor to cause an electronic device to implement a method of determining a traffic data path of any of the above.
Alternatively, the above-mentioned computer readable storage medium may be a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a Read-Only optical disk (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, a computer program or a computer program product is also provided, in which at least one computer instruction is stored, which is loaded and executed by a processor, to cause the computer to implement a method of determining a traffic data path of any of the above.
It should be understood that references herein to "a plurality" are to two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship.
The foregoing embodiment numbers of the present application are merely for describing, and do not represent advantages or disadvantages of the embodiments.
The foregoing description of the exemplary embodiments of the present application is not intended to limit the invention to the particular embodiments of the present application, but to limit the scope of the invention to any modification, equivalents, or improvements made within the principles of the present application.

Claims (15)

1. A method of determining a traffic data path, the method comprising:
Acquiring a plurality of first service data, wherein the first service data are data generated when an application program runs;
dividing the plurality of first service data into service data sets corresponding to the version information based on the version information of the application program contained in each first service data, wherein the service data set corresponding to any one of the version information comprises a plurality of first service data with the same version information;
and respectively determining service data paths corresponding to the version information based on the service data sets corresponding to the version information.
2. The method of claim 1, wherein the obtaining a plurality of first service data comprises:
extracting a plurality of second business data from a database, wherein the second business data is data generated when the application program runs in the last time period;
and cleaning the plurality of second service data to obtain the plurality of first service data.
3. The method of claim 1, wherein the plurality of first service data are stored in at least two data tables; the dividing the plurality of first service data into service data sets corresponding to the version information based on the version information of the application program contained in each first service data includes:
Aggregating each first service data in the at least two data tables in a wide table;
and dividing the plurality of first service data into service data sets corresponding to the version information based on the version information of the application program contained in each first service data in the wide table.
4. The method according to claim 1, wherein the dividing the plurality of first service data into service data sets corresponding to the respective version information based on the version information of the application program included in the respective first service data includes:
performing de-duplication processing on each first service data to obtain a plurality of data nodes, wherein the data nodes comprise a plurality of first service data with identical appointed information, and the appointed information comprises version information of the application program;
based on version information of the application program contained in each data node, dividing the plurality of data nodes into service data sets corresponding to each version information, wherein the service data set corresponding to any one version information comprises at least two data nodes with the same version information.
5. The method of claim 4, wherein the determining the service data paths corresponding to the respective version information based on the service data sets corresponding to the respective version information, respectively, comprises:
And for any version information, connecting each data node in the service data set corresponding to any version information to obtain a service data path corresponding to any version information.
6. The method of claim 4, wherein after performing the deduplication processing on the first service data to obtain a plurality of data nodes, further comprises:
displaying each data node and first service data contained in each data node;
and adjusting any one data node in response to receiving an adjustment operation performed on the any one data node based on the first service data contained in the any one data node.
7. The method of claim 5, wherein after connecting each data node in the service data set corresponding to the any version information to obtain the service data path corresponding to the any version information, further comprises:
displaying a business data path corresponding to any version information;
and adjusting the business data path corresponding to any one version information in response to receiving the adjustment operation on the business data path corresponding to any one version information.
8. The method of claim 5, wherein after connecting each data node in the service data set corresponding to the any version information to obtain the service data path corresponding to the any version information, further comprises:
and determining information of each data node on the service data path corresponding to any version information based on the quantity of the first service data contained in each data node on the service data path corresponding to any version information, wherein the information of the data node comprises at least one of conversion rate and loss rate of the data node.
9. The method according to any one of claims 1 to 8, wherein after determining the service data paths corresponding to the respective version information based on the service data sets corresponding to the respective version information, respectively, the method further comprises:
and determining the path coverage rate corresponding to any version information based on the number of the business data paths corresponding to any version information.
10. The method according to any one of claims 1 to 8, wherein after determining the service data paths corresponding to the respective version information based on the service data sets corresponding to the respective version information, respectively, the method further comprises:
Determining at least two appointed service data paths from the service data paths corresponding to the version information, and carrying out combination processing on the at least two appointed service data paths to obtain a service data path diagram;
and displaying the service data path diagram.
11. The method according to any one of claims 1 to 8, wherein after determining the service data paths corresponding to the respective version information based on the service data sets corresponding to the respective version information, respectively, the method further comprises:
determining appointed version information selected by a target object from the various version information;
and screening out target business data paths with version information not lower than the appointed version information from business data paths corresponding to the version information, and displaying the target business data paths.
12. A traffic data path determining apparatus, the apparatus comprising:
the system comprises an acquisition module, a storage module and a processing module, wherein the acquisition module is used for acquiring a plurality of first service data, and the first service data are data generated when an application program runs;
the dividing module is used for dividing the plurality of first service data into service data sets corresponding to the version information based on the version information of the application program contained in each first service data, wherein the service data set corresponding to any one of the version information comprises a plurality of first service data with the same version information;
And the determining module is used for respectively determining service data paths corresponding to the version information based on the service data sets corresponding to the version information.
13. An electronic device comprising a processor and a memory, wherein the memory has stored therein at least one program code that is loaded and executed by the processor to cause the electronic device to implement the method of determining a traffic data path according to any one of claims 1 to 11.
14. A computer readable storage medium having stored therein at least one program code, the at least one program code being loaded and executed by a processor to cause a computer to implement a method of determining a traffic data path according to any one of claims 1 to 11.
15. A computer program product, characterized in that at least one computer instruction is stored in the computer program product, which is loaded and executed by a processor to cause the computer to implement the method of determining a traffic data path according to any of claims 1 to 11.
CN202111484683.9A 2021-12-07 2021-12-07 Method, device, electronic equipment and medium for determining service data path Pending CN116244299A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111484683.9A CN116244299A (en) 2021-12-07 2021-12-07 Method, device, electronic equipment and medium for determining service data path

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111484683.9A CN116244299A (en) 2021-12-07 2021-12-07 Method, device, electronic equipment and medium for determining service data path

Publications (1)

Publication Number Publication Date
CN116244299A true CN116244299A (en) 2023-06-09

Family

ID=86622890

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111484683.9A Pending CN116244299A (en) 2021-12-07 2021-12-07 Method, device, electronic equipment and medium for determining service data path

Country Status (1)

Country Link
CN (1) CN116244299A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116541262A (en) * 2023-07-07 2023-08-04 腾讯科技(深圳)有限公司 Data processing method, device, equipment and readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116541262A (en) * 2023-07-07 2023-08-04 腾讯科技(深圳)有限公司 Data processing method, device, equipment and readable storage medium
CN116541262B (en) * 2023-07-07 2024-03-01 腾讯科技(深圳)有限公司 Data processing method, device, equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN108415705B (en) Webpage generation method and device, storage medium and equipment
CN111416756B (en) Protocol testing method, device, computer equipment and storage medium
CN112966124B (en) Training method, alignment method, device and equipment of knowledge graph alignment model
CN111177137B (en) Method, device, equipment and storage medium for data deduplication
CN112420217B (en) Message pushing method, device, equipment and storage medium
CN111338910A (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
CN112162843A (en) Workflow execution method, device, equipment and storage medium
CN111897525A (en) Big data processing method and system
CN112052354A (en) Video recommendation method, video display method and device and computer equipment
CN113742366A (en) Data processing method and device, computer equipment and storage medium
CN110045958B (en) Texture data generation method, device, storage medium and equipment
CN110995842A (en) Method, device and equipment for downloading service data and storage medium
CN112561084B (en) Feature extraction method and device, computer equipment and storage medium
CN112053360B (en) Image segmentation method, device, computer equipment and storage medium
JP7236551B2 (en) CHARACTER RECOMMENDATION METHOD, CHARACTER RECOMMENDATION DEVICE, COMPUTER AND PROGRAM
CN112131473B (en) Information recommendation method, device, equipment and storage medium
CN116244299A (en) Method, device, electronic equipment and medium for determining service data path
CN110990728B (en) Method, device, equipment and storage medium for managing interest point information
CN114168369A (en) Log display method, device, equipment and storage medium
CN112905328B (en) Task processing method, device and computer readable storage medium
CN113222771B (en) Method and device for determining target group based on knowledge graph and electronic equipment
CN111125095B (en) Method, device, electronic equipment and medium for adding data prefix
CN114329292A (en) Resource information configuration method and device, electronic equipment and storage medium
CN111294253B (en) Test data processing method and device, computer equipment and storage medium
CN113900920A (en) Data processing method and device, electronic equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40086944

Country of ref document: HK

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination