Data transfer record display method and device, storage medium and equipment
By generating a data transfer traceability diagram, the problem of unintuitive data transfer record display in existing technologies is solved, and an intuitive display of data transfer records is achieved, allowing users to view the data transfer process more clearly.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- BEIJING HONGTENG INTELLIGENT TECH CO LTD
- Filing Date
- 2024-12-06
- Publication Date
- 2026-06-09
Smart Images

Figure CN122175682A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, specifically to a method, apparatus, storage medium, and device for displaying data transfer records. Background Technology
[0002] In the current data transfer market, such as the cryptocurrency trading market, users or related institutions typically rely on the query functions provided by exchanges or wallets when querying cryptocurrency transaction records. These functions mostly display transaction records in tabular form, including key information such as transaction time, transaction amount, transaction price, and transaction type (e.g., buy, sell). However, while this tabular display method provides detailed data, it is not intuitive enough in presenting the data transfer records. Summary of the Invention
[0003] This application provides a method, apparatus, storage medium, and electronic device for displaying data transfer records, which can improve the intuitiveness of displaying data transfer records.
[0004] In a first aspect, embodiments of this application provide a method for displaying data transfer records, including:
[0005] In response to a user's query request for a data transfer link to a target data transfer source address, determine the target data transfer link information for the aforementioned target data transfer source address;
[0006] Based on the above target data transfer link information, a target data transfer tracing diagram is generated for the above target data transfer source address;
[0007] Show the aforementioned users the source map of the target data transfer.
[0008] In one possible implementation, a target data transfer tracing map is generated based on the aforementioned target data transfer link information, targeting the aforementioned target data transfer source address, including:
[0009] Based on the aforementioned target data transfer link information, at least one data transfer record is determined for the aforementioned target data transfer source address, and the upstream data transfer source address and downstream data transfer source address corresponding to the aforementioned data transfer record are determined.
[0010] The data transfer relationship is determined based on the aforementioned target data transfer source address, the aforementioned upstream data transfer source address, and the aforementioned downstream data transfer source address.
[0011] Based on the target data transfer source address, the aforementioned upstream data transfer source address, the aforementioned downstream data transfer source address, and the data transfer relationship, a target data transfer tracing graph is generated for the aforementioned target data transfer source address.
[0012] In one possible implementation, the above-mentioned generation of a target data transfer tracing graph for the target data transfer source address, based on the target data transfer source address, the upstream data transfer source address, the downstream data transfer source address, and the data transfer relationship, includes:
[0013] Based on the aforementioned target data transfer source address, the aforementioned upstream data transfer source address, the aforementioned downstream data transfer source address, and the aforementioned data transfer relationship, a graph relationship data is generated;
[0014] The above target data transfer and tracing graph is generated based on the above graph relationship data.
[0015] In one possible implementation, the above-mentioned generation of graph relationship data based on the target data transfer source address, the upstream data transfer source address, the downstream data transfer source address, and the data transfer relationship includes:
[0016] Based on the aforementioned target data transfer source address, upstream data transfer source address, downstream data transfer source address, and data transfer relationship, graph data parsing processing is performed to obtain node data and edge data.
[0017] Graph relationship data is generated based on the above node data and edge data.
[0018] In one possible implementation, the graph data parsing process based on the target data transfer source address, the upstream data transfer source address, the downstream data transfer source address, and the data transfer relationship is performed to obtain node data and edge data. Graph relationship data is then generated based on the node data and edge data, including:
[0019] The target data transfer source address is taken as the target node, the upstream data transfer source address is taken as the upper-level node of the target node, and the downstream data transfer source address is taken as the lower-level node of the target node to obtain node data.
[0020] Record the data transfer relationships between the target node, its parent node, and its child node to obtain the edge data corresponding to the node data.
[0021] The graph relationship data is generated based on the node data and edge data described above.
[0022] In one possible implementation, generating the target data transfer tracing graph based on the graph relationship data includes:
[0023] Based on the above graph relationship data, the data transfer processing model calls the preset drawing tools to perform data transfer tracing processing to obtain the target data transfer tracing graph.
[0024] In one possible implementation, the target data transfer origination graph is obtained by calling a preset drawing tool through a large data transfer processing model based on the aforementioned graph relationship data, including:
[0025] The above graph relationship data is input into the large data transfer processing model. The large data transfer processing model is used to perform data transfer tracing processing to obtain data transfer node information, data transfer relationship information, data transfer architecture information and node attribute information. Based on the above data transfer node information, the above data transfer relationship information, the above data transfer architecture information and the above node attribute information, a data transfer graph drawing script for the above preset drawing tool is generated.
[0026] The above-mentioned data transfer graph drawing script is executed using the preset drawing tools to draw the graph, resulting in the target data transfer origination graph.
[0027] In one possible implementation, an initial large-scale data transfer processing model is created based on a fundamental large-scale model for the data transfer record scenario;
[0028] Obtain sample graph relationship data, and label the above sample graph relationship data with data transfer graph drawing script labels and data transfer origination graph labels;
[0029] Based on the above sample graph relationship data, at least one round of model training is performed on the above initial data transfer and processing large model;
[0030] During the forward training of the model, the large model performs data transfer tracing based on the sample graph relationship data to obtain sample data transfer node information, sample data transfer relationship information, sample data transfer architecture information, and sample node attribute information through the initial data transfer processing described above. Based on the sample data transfer node information, sample data transfer relationship information, sample data transfer architecture information, and sample node attribute information, a prediction data transfer graph drawing script for the preset drawing tool is generated. The prediction data transfer tracing graph is then drawn by executing the prediction data transfer graph drawing script through the preset drawing tool.
[0031] During the reverse training of the model, the model parameters of the initial large model for data transfer processing are adjusted based on the predicted data transfer source map and the data transfer source map labels until the initial large model for data transfer processing finishes training, thus obtaining the large model for data transfer processing.
[0032] Secondly, embodiments of this application also provide a data transfer record display device, comprising:
[0033] The determination module is used to determine the target data transfer link information for the target data transfer source address in response to a user's query request for the data transfer link for the target data transfer source address.
[0034] The generation module is used to generate a target data transfer tracing diagram for the target data transfer source address based on the aforementioned target data transfer link information.
[0035] The display module is used to show the aforementioned target data transfer traceability diagram to the aforementioned users.
[0036] In one possible implementation, a generation module is used for:
[0037] Based on the aforementioned target data transfer link information, at least one data transfer record is determined for the aforementioned target data transfer source address, and the upstream data transfer source address and downstream data transfer source address corresponding to the aforementioned data transfer record are determined.
[0038] The data transfer relationship is determined based on the aforementioned target data transfer source address, the aforementioned upstream data transfer source address, and the aforementioned downstream data transfer source address.
[0039] Based on the target data transfer source address, the aforementioned upstream data transfer source address, the aforementioned downstream data transfer source address, and the data transfer relationship, a target data transfer tracing graph is generated for the aforementioned target data transfer source address.
[0040] In one possible implementation, a generation module is used for:
[0041] Based on the aforementioned target data transfer source address, the aforementioned upstream data transfer source address, the aforementioned downstream data transfer source address, and the aforementioned data transfer relationship, a graph relationship data is generated;
[0042] The above target data transfer and tracing graph is generated based on the above graph relationship data.
[0043] In one possible implementation, a generation module is used for:
[0044] Based on the aforementioned target data transfer source address, upstream data transfer source address, downstream data transfer source address, and data transfer relationship, graph data parsing processing is performed to obtain node data and edge data.
[0045] Graph relationship data is generated based on the above node data and edge data.
[0046] In one possible implementation, a generation module is used for:
[0047] The target data transfer source address is taken as the target node, the upstream data transfer source address is taken as the upper-level node of the target node, and the downstream data transfer source address is taken as the lower-level node of the target node to obtain node data.
[0048] Record the data transfer relationships between the target node, its parent node, and its child node to obtain the edge data corresponding to the node data.
[0049] The graph relationship data is generated based on the node data and edge data described above.
[0050] In one possible implementation, a generation module is used for:
[0051] Based on the above graph relationship data, the data transfer processing model calls the preset drawing tools to perform data transfer tracing processing to obtain the target data transfer tracing graph.
[0052] In one possible implementation, a generation module is used for:
[0053] The above graph relationship data is input into the large data transfer processing model. The large data transfer processing model is used to perform data transfer tracing processing to obtain data transfer node information, data transfer relationship information, data transfer architecture information and node attribute information. Based on the above data transfer node information, the above data transfer relationship information, the above data transfer architecture information and the above node attribute information, a data transfer graph drawing script for the above preset drawing tool is generated.
[0054] The above-mentioned data transfer graph drawing script is executed using the preset drawing tools to draw the graph, resulting in the target data transfer origination graph.
[0055] In one possible implementation, the data transfer and processing of large models during model training can be as follows:
[0056] An initial large-scale data transfer processing model is created based on the basic large-scale model, specifically for data transfer record scenarios.
[0057] Obtain sample graph relationship data, and label the above sample graph relationship data with data transfer graph drawing script labels and data transfer origination graph labels;
[0058] Based on the above sample graph relationship data, at least one round of model training is performed on the above initial data transfer and processing large model;
[0059] During the forward training of the model, the large model performs data transfer tracing based on the sample graph relationship data to obtain sample data transfer node information, sample data transfer relationship information, sample data transfer architecture information, and sample node attribute information through the initial data transfer processing described above. Based on the sample data transfer node information, sample data transfer relationship information, sample data transfer architecture information, and sample node attribute information, a prediction data transfer graph drawing script for the preset drawing tool is generated. The prediction data transfer tracing graph is then drawn by executing the prediction data transfer graph drawing script through the preset drawing tool.
[0060] During the reverse training of the model, the model parameters of the initial large model for data transfer processing are adjusted based on the predicted data transfer source map and the data transfer source map labels until the initial large model for data transfer processing finishes training, thus obtaining the large model for data transfer processing.
[0061] Thirdly, embodiments of this application also provide a computer-readable storage medium having a computer program stored thereon, which, when run on a computer, causes the computer to perform a data transfer record display method as provided in any embodiment of this application.
[0062] Fourthly, embodiments of this application also provide an electronic device, including a processor and a memory, wherein the memory has a computer program, and the processor executes a data transfer record display method as provided in any embodiment of this application by calling the computer program.
[0063] The technical solution provided in this application, in response to a user's query request for a data transfer link to a target data transfer source address, determines the target data transfer link information for that target data transfer source address, generates a target data transfer traceability diagram based on the target data transfer link information, and displays the target data transfer traceability diagram to the user. In this application, when a user wants to query data transfer records for a target data transfer source address, a target data transfer traceability diagram can be directly generated based on the target data transfer link information corresponding to that target data transfer source address, and displayed to the user. This allows the user to intuitively view the data transfer records for that target data transfer source address, greatly improving the intuitiveness of displaying data transfer records. Attached Figure Description
[0064] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0065] Figure 1 This is a schematic diagram illustrating an application scenario of the data transfer record display method provided in this application embodiment.
[0066] Figure 2 This is a schematic diagram of a first method for displaying data transfer records provided in an embodiment of this application.
[0067] Figure 3 A schematic diagram of the structure of the data transfer record display device provided in the embodiments of this application.
[0068] Figure 4 This is a schematic diagram of a first structure of an electronic device provided in an embodiment of this application.
[0069] Figure 5 This is a schematic diagram of a second structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0070] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the protection scope of this application.
[0071] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0072] This application provides a method for displaying data transfer records. The entity executing this method can be the data transfer record display device provided in this application, or an electronic device integrating the data transfer record display device. The data transfer record display device can be implemented in hardware or software. The electronic device can be a smartphone, tablet computer, PDA, laptop computer, or desktop computer, etc.
[0073] Please see Figure 1 , Figure 1 This is a schematic flowchart of a first method for displaying data transfer records according to an embodiment of this application. The specific flow of the method for displaying data transfer records according to an embodiment of this application can be as follows:
[0074] S110. In response to a user's query request for a data transfer link to a target data transfer source address, determine the target data transfer link information for the target data transfer source address.
[0075] In this context, the data transfer source address refers to the address where data is transferred or is migrated during the data migration process; that is, the physical or logical location where the data resides during the migration. A data transfer source address can receive data transferred from other data transfer source addresses, and it can also transfer data to other data transfer source addresses. For example, the data transfer amount can be cryptocurrency, and the data transfer source address can be a specific cryptocurrency address. This cryptocurrency address can receive cryptocurrency transferred from other cryptocurrency addresses, and it can also transfer cryptocurrency to other cryptocurrency addresses.
[0076] In this context, a data transfer link refers to the path data takes from its source address to its destination address, including both physical and logical paths. The physical path involves the actual transmission path of data within the network, while the logical path involves the data processing flow within the system. For example, a data transfer link could be a cryptocurrency transaction link.
[0077] The target data transfer source address is the data transfer source address provided by the user for which a data transfer link query is required.
[0078] The target data transfer link information refers to the data transfer information of the target data transfer source address during data transfer. This information may include, for example, the upstream data transfer source address that transfers data to the target data transfer source address; the downstream data transfer source address that receives data transferred out of the target data transfer source address; the amount of data transferred in or out; and the time of transfer, etc. For example, when the data transfer source address is a cryptocurrency address, the corresponding data transfer link is also the corresponding cryptocurrency transaction link. Specifically, the cryptocurrency transaction link involves the entire transfer process of cryptocurrency from buyer to seller, typically including multiple stages such as transaction initiation, fund payment, and cryptocurrency settlement.
[0079] In this embodiment, when a user's data transfer link query request for a target data transfer source address is detected, the target data transfer link information for that target data transfer source address is determined.
[0080] For example, taking a cryptocurrency address as the data transfer source address, when a user queries the cryptocurrency transaction chain of a certain cryptocurrency address through an exchange or wallet, a preset gesture can be used to trigger a query request for the cryptocurrency transaction chain of that address. The preset gesture could be a long press on the cryptocurrency address to trigger a query request for the cryptocurrency transaction chain of that address, or the preset gesture could be selecting the cryptocurrency address and right-clicking to bring up a menu bar, which includes a "Visualize Cryptocurrency Transaction Chain" function. Selecting this function will trigger a query request for the cryptocurrency transaction chain of that address.
[0081] S120. Generate a target data transfer traceability diagram based on the target data transfer link information and targeting the target data transfer source address.
[0082] A data transfer origination diagram is a visual representation of the source, destination, and intermediate processing stages of data during the transfer process. Specifically, this diagram includes the nodes in the data transfer chain and the relationships between them. For example, each node could be the target data transfer source address, its upstream data transfer source address, and its downstream data transfer source address. The relationships between these nodes represent the data transfer relationships, such as transfer-in and transfer-out relationships. For instance, this data transfer origination diagram could be a source-to-destination diagram.
[0083] It should be noted that the target data transfer link information includes information such as the data transfer object and the amount of data transferred from the target data transfer source address. Based on this target data transfer link information, the node information that constitutes the graph and the relationship information between the nodes can be obtained. Based on this node information and the relationship information between the nodes, the target data transfer source graph for the target data transfer source address can be generated.
[0084] For example, suppose there is a simple data transfer link where data is transmitted from a source address (IP: 192.168.1.1) through an intermediate server (IP: 192.168.2.1) to a destination address (IP: 192.168.3.1). Assuming the source address is the source address for this data transfer, the following is an example of a traceability diagram for the target data transfer link information for this source address:
[0085] The nodes that make up the graph can be:
[0086] Source address: 192.168.1.1 (represented by a circle)
[0087] Intermediate server: 192.168.2.1 (represented by a square)
[0088] Target address: 192.168.3.1 (represented by a triangle)
[0089] The relationships between nodes can be:
[0090] The data flow from the source address to the intermediate server (represented by arrowed lines, with transmission time and data volume indicated).
[0091] The data flow from the intermediate server to the target address (also represented by arrowed lines, with transmission time and data volume indicated).
[0092] S130. Show the user the target data transfer traceability diagram.
[0093] In this embodiment, after the target data transfer traceability map is generated, the target data transfer traceability map is displayed to the user.
[0094] For example, a pop-up window can be displayed on the current interface to show the target data transfer traceability diagram, or you can jump to a new page to display the target data transfer traceability diagram.
[0095] In practice, this application is not limited by the execution order of the described steps. Without causing conflicts, some steps may be performed in other orders or simultaneously.
[0096] As can be seen from the above, the data transfer record display method provided in this application, in response to a user's data transfer link query request for a target data transfer source address, determines the target data transfer link information for the target data transfer source address, generates a target data transfer traceability diagram for the target data transfer source address based on the target data transfer link information, and displays the target data transfer traceability diagram to the user. In this application, when a user wants to query the data transfer record for a target data transfer source address, a target data transfer traceability diagram for that target data transfer source address can be directly generated based on the target data transfer link information corresponding to that target data transfer source address, and the traceability diagram can be displayed to the user. This allows the user to intuitively view the data transfer record for the target data transfer source address, greatly improving the intuitiveness of displaying the data transfer record.
[0097] Based on the methods described in the preceding embodiments, the following examples will provide further detailed explanations.
[0098] Please see Figure 2 , Figure 2 This is a second flowchart illustrating the method for displaying data transfer records provided in an embodiment of this application. The method includes:
[0099] S210. In response to a user's query request for a data transfer link to a target data transfer source address, determine the target data transfer link information for the target data transfer source address.
[0100] Specifically, S210 is the same as S110, and will not be repeated here.
[0101] S220. Based on the target data transfer link information, determine at least one data transfer record for the target data transfer source address, and the data transfer record corresponds to the upstream data transfer source address and the downstream data transfer source address.
[0102] The data transfer record includes an upstream data transfer source address and a downstream data transfer source address. The upstream data transfer source address is the data transfer source address that sends data to the target data transfer source address, and the downstream data transfer source address is the data transfer source address that receives data transferred out of the target data transfer source address. For example, if the target data transfer source address is the target cryptocurrency address, the cryptocurrency address that sends cryptocurrency to the target cryptocurrency address is the upstream cryptocurrency address, and the cryptocurrency address that receives cryptocurrency transferred out of the target cryptocurrency address is the downstream cryptocurrency address.
[0103] The target data transfer link information records the objects to be transferred from the target data transfer source address, the amount of data transferred, etc. This target data transfer link information can be determined based on the data transfer records of the target data transfer source address.
[0104] S230. Determine the data transfer relationship based on the target data transfer source address, the upstream data transfer source address, and the downstream data transfer source address.
[0105] It should be noted that the data transfer relationship includes the data transfer object and the data transfer attributes. The data transfer attributes include transfer out or transfer in. It is understood that this application generates a target data transfer tracing graph for the target data transfer source address. Therefore, when obtaining the data transfer relationship, the target data transfer source address is taken as the focus, and the data transfer relationship between the target data transfer source address and other data transfer source addresses is obtained. For example, the data transfer relationship between the target data transfer source address and the upstream data transfer source address is a transfer in relationship, and the data transfer relationship between the target data transfer source address and the downstream data transfer source address is a transfer out relationship.
[0106] In one possible implementation, the relationship between different data transfer source addresses can be recorded using the following data format: A and B are both data transfer source addresses, and {source:A,target:B} indicates the amount of data transferred from A to B.
[0107] S240. Generate graph relationship data based on the target data transfer source address, upstream data transfer source address, downstream data transfer source address, and data transfer relationship.
[0108] In one possible implementation, step S240, "generating graph relationship data based on the target data transfer source address, upstream data transfer source address, downstream data transfer source address, and data transfer relationship," may include the following steps S2401 to S2402:
[0109] S2401. Based on the target data transfer source address, upstream data transfer source address, downstream data transfer source address, and data transfer relationship, perform graph data parsing processing to obtain node data and edge data.
[0110] In this embodiment, based on the target data transfer source address, upstream data transfer source address, downstream data transfer source address, and data transfer relationship, a graph data structure can be used to parse and process this data. In the graph data structure, nodes represent objects (such as data transfer source addresses), and edges represent the relationships between these objects (such as data transfer relationships).
[0111] In one example, the source address of the target data transfer is designated as the target node, the upstream data transfer source address is designated as the parent node of the target node, and the downstream data transfer source address is designated as the child node of the target node, thus obtaining the node data. Furthermore, the data transfer relationships between the target node and its parent and child nodes are recorded to obtain the edge data corresponding to the node data.
[0112] S2402. Generate graph relationship data based on node data and edge data.
[0113] After obtaining the node and edge data as described above, graph relationship data can be generated based on the node and edge data. This graph relationship data can also be called graph structure data.
[0114] In one possible implementation, the node and edge data mentioned above can be recorded in the following format to generate the graph relationship data: A, B, and C are all data transfer addresses, and the graph relationship data is represented by `{edges:[{source:'A',target:'B'},{source:'C',target:'A'}],nodes:[{id:A},{id:B}{id:C}]}`. This graph relationship data is a simplified representation of the graph and is only used as an example. The explanation of this graph relationship data is as follows:
[0115] (1) Nodes
[0116] A node is a basic element in a graph, representing an object.
[0117] In this graph relational data, a node is represented as an array of objects, and each object has an id attribute.
[0118] The id attribute is used to uniquely identify each node.
[0119] The elements in the node array are as follows:
[0120] {id:A}: Represents a node with ID A.
[0121] {id:B}: Represents a node with ID B.
[0122] {id:C}: Represents a node with ID C.
[0123] (2) Edges
[0124] Edges represent connections or relationships between nodes.
[0125] In this graph relational data, the edges are represented as an array of objects, each with two attributes: source and target.
[0126] The source attribute represents the ID of the starting node of the edge.
[0127] The target attribute represents the ID of the endpoint node of the edge.
[0128] The elements in the edge array are as follows:
[0129] {source:'A',target:'B'}: This represents an edge from node A to node B.
[0130] {source:'C',target:'A'}: This represents an edge from node C to node A.
[0131] (3) Overall structure of the diagram
[0132] By combining nodes and edges, a graph is formed.
[0133] In this diagram:
[0134] Nodes A, B, and C represent three different objects.
[0135] An edge from node A to node B indicates that there is some kind of relationship or connection between A and B.
[0136] An edge from node C to node A indicates that there is another relationship or connection between C and A.
[0137] It should be noted that in this application, the data transfer source address is used as the ID, and the target data transfer traceability diagram is drawn based on this ID.
[0138] S250. Based on graph relationship data, the data transfer processing model calls the preset drawing tools to perform data transfer tracing processing to obtain the target data transfer tracing map.
[0139] For example, you can use preset plotting tools such as D3.js, Matplotlib, NetworkX, etc. to draw the corresponding graph based on the graph relationship data.
[0140] In one possible implementation, step S250, "obtaining the target data transfer traceability map by calling a preset drawing tool through a large data transfer processing model based on graph relationship data," may include the following steps S2501 to S2502:
[0141] S2501. Input the graph relationship data into the large data transfer processing model, and perform data transfer tracing processing through the large data transfer processing model to obtain data transfer node information, data transfer relationship information, data transfer architecture information and node attribute information. Generate a data transfer graph drawing script for the preset drawing tool based on the data transfer node information, data transfer relationship information, data transfer architecture information and node attribute information.
[0142] The large-scale data transfer processing model is configured to perform data transfer tracing processing on the input graph relationship data to obtain data transfer node information, data transfer relationship information, data transfer architecture information, and node attribute information. Specifically, data transfer node information refers to the objects being transferred (data transfer source addresses). Data transfer relationship information refers to the relationship between the amounts of data transferred in or out of the objects being transferred. Data transfer architecture information refers to the display architecture between the objects being transferred; for example, this architecture can arrange and display each object or relationship according to chronological order. Node attribute information refers to the attribute information of the data transfer source address, such as the data transfer source address, data transfer source name, and remaining data transfer amount.
[0143] A data transfer chart drawing script is a set of instructions used to guide preset drawing tools in generating graphics. These scripts typically contain all the information needed to create the graphic, such as the type, size, position, color, line thickness, and fill style. The drawing tool then draws the corresponding graphic step-by-step according to the instructions in these scripts. It is understandable that the specific content and format of the data transfer chart drawing script will vary depending on the drawing tool used.
[0144] The default plotting tools can be such as D3.js, Matplotlib, NetworkX, etc.
[0145] S2502. Execute the data transfer diagram drawing script using the preset drawing tools to draw the diagram and obtain the target data transfer traceability diagram.
[0146] In this embodiment, after generating the data transfer graph drawing script, the graph can be drawn using a preset drawing tool to generate the target data transfer traceability graph.
[0147] In one possible implementation, when generating the data transfer graph drawing script for the target data transfer traceability graph, operation buttons can be added to the data transfer source address in the graph relationship data based on node attribute information. These operation buttons can provide some operation functions for the corresponding data transfer source address, such as copying, jumping to the details page of the current data source address, etc., so as to provide users with more entry points for querying and operating the data transfer source address when the target data transfer traceability graph is displayed in the future.
[0148] In one possible implementation, the training process for the above-mentioned large data transfer processing model can be carried out in the following steps (1) to (5):
[0149] (1) Create an initial large-scale data transfer processing model for data transfer record scenarios based on the basic large-scale model;
[0150] Among them, the basic large model can be a model such as BERT or GPT.
[0151] (2) Obtain sample graph relationship data, and label the sample graph relationship data with data transfer graph drawing script labels and data transfer origination graph labels;
[0152] (3) Based on the sample graph relationship data, perform at least one round of model training on the initial data transfer and processing large model;
[0153] (4) During the forward training of the model, the initial data transfer processing large model performs data transfer source tracing processing based on sample graph relationship data to obtain sample data transfer node information, sample data transfer relationship information, sample data transfer architecture information and sample node attribute information. Based on the sample data transfer node information, sample data transfer relationship information, sample data transfer architecture information and sample node attribute information, a prediction data transfer graph drawing script for a preset drawing tool is generated. The prediction data transfer source graph is obtained by executing the prediction data transfer graph drawing script through the preset drawing tool.
[0154] (5) During the reverse training of the model, the model parameters of the initial data transfer processing large model are adjusted based on the predicted data transfer source map and the data transfer source map label until the initial data transfer processing large model finishes model training and the data transfer processing large model is obtained.
[0155] Specifically, the source map generation loss is determined based on the predicted data transfer source map and the data transfer source map label; the script loss is generated based on the predicted data transfer map drawing script and the data transfer map drawing script label; the model comprehensive loss is determined based on the source map generation loss and the script loss; the model parameters of the initial data transfer processing large model are adjusted using the model comprehensive loss until the initial data transfer processing large model finishes model training, thus obtaining the data transfer processing large model.
[0156] Specifically, the source map generation loss is calculated using the first model loss calculation formula based on the predicted data transfer source map and the data transfer source map label; the script loss is calculated using the second model loss calculation formula based on the predicted data transfer map drawing script and the data transfer map drawing script label; and the overall model loss is calculated using the third model loss calculation formula based on the source map generation loss and the script loss.
[0157] The model loss calculation formulas, such as the first model loss calculation formula, the second model loss calculation formula, and the third model loss calculation formula, can be fitted using one or more of the relevant techniques, such as the contrast loss calculation formula, the cross-entropy loss calculation formula, and the hinge loss calculation formula.
[0158] Optionally, the training termination conditions for the initial data transfer processing of the large model may include, for example, the value of the loss function being less than or equal to a preset loss function threshold, or the number of iterations reaching a preset threshold. Specific training termination conditions can be determined based on actual circumstances and are not specifically limited here.
[0159] S260. Display the target data transfer traceability diagram to the user.
[0160] In this embodiment, after the target data transfer traceability map is generated, the target data transfer traceability map is displayed to the user.
[0161] For example, a pop-up window can be displayed on the current interface to show the target data transfer traceability diagram, or you can jump to a new page to display the target data transfer traceability diagram.
[0162] In practice, this application is not limited by the execution order of the described steps. Without causing conflicts, some steps may be performed in other orders or simultaneously.
[0163] As can be seen from the above, the data transfer record display method proposed in this application, in response to a user's data transfer link query request for a target data transfer source address, determines the target data transfer link information for the target data transfer source address, determines at least one data transfer record for the target data transfer source address, the upstream data transfer source address corresponding to the data transfer record, and the downstream data transfer source address based on the target data transfer link information, determines the data transfer relationship based on the target data transfer source address, the upstream data transfer source address, and the downstream data transfer source address, generates graph relationship data based on the target data transfer source address, the upstream data transfer source address, the downstream data transfer source address, and the data transfer relationship, generates a target data transfer tracing graph based on the graph relationship data, and displays the target data transfer tracing graph to the user. In this application, when a user wants to query the data transfer record for a target data transfer source address, a target data transfer tracing graph for that target data transfer source address can be directly generated based on the target data transfer link information corresponding to that target data transfer source address, and the tracing graph can be displayed to the user, allowing the user to intuitively view the data transfer record for that target data transfer source address, greatly improving the intuitiveness of displaying the data transfer record.
[0164] In one embodiment, a data transfer record display device is also provided. Please refer to [link / reference]. Figure 3 , Figure 3 This is a schematic diagram of the structure of a data transfer record display device 300 provided in an embodiment of this application. The data transfer record display device 300 is applied to an electronic device and includes a determining module 301, a generating module 302, and a display module 303, as follows:
[0165] The determination module 301 is used to determine the target data transfer link information for the target data transfer source address in response to a user's data transfer link query request for the target data transfer source address.
[0166] The generation module 302 is used to generate a target data transfer tracing map for the target data transfer source address based on the target data transfer link information mentioned above.
[0167] The display module 303 is used to display the target data transfer traceability diagram to the aforementioned users.
[0168] In one possible implementation, the generation module 302 is used for:
[0169] Based on the aforementioned target data transfer link information, at least one data transfer record is determined for the aforementioned target data transfer source address, and the upstream data transfer source address and downstream data transfer source address corresponding to the aforementioned data transfer record are determined.
[0170] The data transfer relationship is determined based on the aforementioned target data transfer source address, the aforementioned upstream data transfer source address, and the aforementioned downstream data transfer source address.
[0171] Based on the target data transfer source address, the aforementioned upstream data transfer source address, the aforementioned downstream data transfer source address, and the data transfer relationship, a target data transfer tracing graph is generated for the aforementioned target data transfer source address.
[0172] In one possible implementation, the generation module 302 is used for:
[0173] Based on the aforementioned target data transfer source address, the aforementioned upstream data transfer source address, the aforementioned downstream data transfer source address, and the aforementioned data transfer relationship, a graph relationship data is generated;
[0174] The above target data transfer and tracing graph is generated based on the above graph relationship data.
[0175] In one possible implementation, the generation module 302 is used for:
[0176] Based on the aforementioned target data transfer source address, upstream data transfer source address, downstream data transfer source address, and data transfer relationship, graph data parsing processing is performed to obtain node data and edge data.
[0177] Graph relationship data is generated based on the above node data and edge data.
[0178] In one possible implementation, the generation module 302 is used for:
[0179] The target data transfer source address is taken as the target node, the upstream data transfer source address is taken as the upper-level node of the target node, and the downstream data transfer source address is taken as the lower-level node of the target node to obtain node data.
[0180] Record the data transfer relationships between the target node, its parent node, and its child node to obtain the edge data corresponding to the node data.
[0181] The graph relationship data is generated based on the node data and edge data described above.
[0182] In one possible implementation, the generation module 302 is used for:
[0183] Based on the above graph relationship data, the data transfer processing model calls the preset drawing tools to perform data transfer tracing processing to obtain the target data transfer tracing graph.
[0184] In one possible implementation, the generation module 302 is used for:
[0185] The above graph relationship data is input into the large data transfer processing model. The large data transfer processing model is used to perform data transfer tracing processing to obtain data transfer node information, data transfer relationship information, data transfer architecture information and node attribute information. Based on the above data transfer node information, the above data transfer relationship information, the above data transfer architecture information and the above node attribute information, a data transfer graph drawing script for the above preset drawing tool is generated.
[0186] The above-mentioned data transfer graph drawing script is executed using the preset drawing tools to draw the graph, resulting in the target data transfer origination graph.
[0187] In one possible implementation, the data transfer and processing of large models during model training can be as follows:
[0188] An initial large-scale data transfer processing model is created based on the basic large-scale model, specifically for data transfer record scenarios.
[0189] Obtain sample graph relationship data, and label the above sample graph relationship data with data transfer graph drawing script labels and data transfer origination graph labels;
[0190] Based on the above sample graph relationship data, at least one round of model training is performed on the above initial data transfer and processing large model;
[0191] During the forward training of the model, the large model performs data transfer tracing based on the sample graph relationship data to obtain sample data transfer node information, sample data transfer relationship information, sample data transfer architecture information, and sample node attribute information through the initial data transfer processing described above. Based on the sample data transfer node information, sample data transfer relationship information, sample data transfer architecture information, and sample node attribute information, a prediction data transfer graph drawing script for the preset drawing tool is generated. The prediction data transfer tracing graph is then drawn by executing the prediction data transfer graph drawing script through the preset drawing tool.
[0192] During the reverse training of the model, the model parameters of the initial large model for data transfer processing are adjusted based on the predicted data transfer source map and the data transfer source map labels until the initial large model for data transfer processing finishes training, thus obtaining the large model for data transfer processing.
[0193] It should be noted that the data transfer record display device provided in this application embodiment and the data transfer record display method in the above embodiment belong to the same concept. The data transfer record display device can realize any of the methods provided in the data transfer record display method embodiment. For details of its implementation process, please refer to the data transfer record display method embodiment, which will not be repeated here.
[0194] Furthermore, to better implement the data transfer record display method in the embodiments of this application, based on the data transfer record display method, this application also provides an electronic device, which may be a smartphone, tablet computer, PDA, laptop computer, or desktop computer, etc. Please refer to... Figure 4 , Figure 4 This is a schematic diagram of a first structure of an electronic device provided in an embodiment of this application. The electronic device 400 includes a processor 401 and a memory 402. The processor 401 and the memory 402 are electrically connected.
[0195] The processor 401 is the control center of the electronic device 400. It connects various parts of the electronic device via various interfaces and lines, and executes various functions and processes data by running or calling computer programs stored in the memory 402 and by calling data stored in the memory 402, thereby providing overall monitoring of the electronic device. The processor 401 can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor.
[0196] The memory 402 can be used to store computer programs and data. The computer programs stored in the memory 402 contain instructions that can be executed in the processor. The computer programs can be composed of various functional modules. The processor 401 executes various functional applications and data processing by calling the computer programs stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, application programs required for at least one function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created according to the use of the electronic device 400 (such as audio data, video data, etc.). In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as hard disk, RAM, plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, at least one disk storage device, flash memory device, or other volatile solid-state storage device.
[0197] In this embodiment, the processor 401 in the electronic device 400 loads the instructions corresponding to the processes of one or more computer programs into the memory 402 according to the following steps, and the processor 401 runs the computer programs stored in the memory 402 to realize various functions:
[0198] In response to a user's query request for a data transfer link to a target data transfer source address, determine the target data transfer link information for the aforementioned target data transfer source address;
[0199] Based on the above target data transfer link information, a target data transfer tracing diagram is generated for the above target data transfer source address;
[0200] Show the aforementioned users the source map of the target data transfer.
[0201] In one possible implementation, please refer to Figure 5 , Figure 5 This is a second structural schematic diagram of the electronic device provided in an embodiment of this application. The electronic device 400 further includes: a radio frequency circuit 403, a display screen 404, a control circuit 405, an input unit 406, an audio circuit 407, a sensor 408, and a power supply 409. The processor 401 is electrically connected to the radio frequency circuit 403, the display screen 404, the control circuit 405, the input unit 406, the audio circuit 407, the sensor 408, and the power supply 409.
[0202] The radio frequency circuit 403 is used to transmit and receive radio frequency signals to communicate with network devices or other electronic devices via wireless communication.
[0203] The display screen 404 can be used to display information input by the user or information provided to the user, as well as various graphical user interfaces of electronic devices, which can be composed of images, text, icons, videos, and any combination thereof.
[0204] The control circuit 405 is electrically connected to the display screen 404 and is used to control the display screen 404 to display information.
[0205] The input unit 406 can be used to receive input numeric or character information or user characteristic information (such as fingerprints), and to generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control. The input unit 406 may include a fingerprint recognition module.
[0206] The audio circuit 407 provides an audio interface between the user and the electronic device via a speaker and a microphone. The audio circuit 407 includes a microphone, which is electrically connected to the processor 401. The microphone is used to receive voice information input by the user.
[0207] Sensor 408 is used to collect information about the external environment. Sensor 408 may include one or more sensors such as an ambient light sensor, an accelerometer, and a gyroscope.
[0208] Power supply 409 is used to supply power to the various components of electronic device 400. In one possible implementation, power supply 409 can be logically connected to processor 401 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system.
[0209] Although not shown in the figure, electronic device 400 may also include a camera, Bluetooth module, etc., which will not be described in detail here.
[0210] In this embodiment, the processor 401 in the electronic device 400 loads the instructions corresponding to the processes of one or more computer programs into the memory 402 according to the following steps, and the processor 401 runs the computer programs stored in the memory 402 to realize various functions:
[0211] In response to a user's query request for a data transfer link to a target data transfer source address, determine the target data transfer link information for the aforementioned target data transfer source address;
[0212] Based on the above target data transfer link information, a target data transfer tracing diagram is generated for the above target data transfer source address;
[0213] Show the aforementioned users the source map of the target data transfer.
[0214] In some implementations, when processor 401 generates a target data transfer tracing graph for the target data transfer source address based on the aforementioned target data transfer link information, it may perform the following:
[0215] Based on the aforementioned target data transfer link information, at least one data transfer record is determined for the aforementioned target data transfer source address, and the upstream data transfer source address and downstream data transfer source address corresponding to the aforementioned data transfer record are determined.
[0216] The data transfer relationship is determined based on the aforementioned target data transfer source address, the aforementioned upstream data transfer source address, and the aforementioned downstream data transfer source address.
[0217] Based on the target data transfer source address, the aforementioned upstream data transfer source address, the aforementioned downstream data transfer source address, and the data transfer relationship, a target data transfer tracing graph is generated for the aforementioned target data transfer source address.
[0218] In some implementations, when processor 401 generates a target data transfer tracing graph for the target data transfer source address based on the target data transfer source address, the upstream data transfer source address, the downstream data transfer source address, and the data transfer relationship, it may perform the following:
[0219] Based on the aforementioned target data transfer source address, the aforementioned upstream data transfer source address, the aforementioned downstream data transfer source address, and the aforementioned data transfer relationship, a graph relationship data is generated;
[0220] The above target data transfer and tracing graph is generated based on the above graph relationship data.
[0221] In some implementations, when processor 401 generates graph relationship data based on the target data transfer source address, the upstream data transfer source address, the downstream data transfer source address, and the data transfer relationship, it may perform the following:
[0222] Based on the aforementioned target data transfer source address, upstream data transfer source address, downstream data transfer source address, and data transfer relationship, graph data parsing processing is performed to obtain node data and edge data.
[0223] Graph relationship data is generated based on the above node data and edge data.
[0224] In some implementations, the processor 401 performs graph data parsing processing based on the target data transfer source address, the upstream data transfer source address, the downstream data transfer source address, and the data transfer relationship to obtain node data and edge data. Based on the node data and edge data, graph relationship data is generated, which can then be executed as follows:
[0225] The target data transfer source address is taken as the target node, the upstream data transfer source address is taken as the upper-level node of the target node, and the downstream data transfer source address is taken as the lower-level node of the target node to obtain node data.
[0226] Record the data transfer relationships between the target node, its parent node, and its child node to obtain the edge data corresponding to the node data.
[0227] The graph relationship data is generated based on the node data and edge data described above.
[0228] In some implementations, the processor 401 generates the target data transfer tracing graph based on the graph relationship data, which may involve:
[0229] Based on the above graph relationship data, the data transfer processing model calls the preset drawing tools to perform data transfer tracing processing to obtain the target data transfer tracing graph.
[0230] In some implementations, when processor 401 executes data transfer tracing processing based on the above-mentioned graph relationship data by calling a preset drawing tool through a large data transfer processing model to obtain the target data transfer tracing graph, it may perform the following:
[0231] The above graph relationship data is input into the large data transfer processing model. The large data transfer processing model is used to perform data transfer tracing processing to obtain data transfer node information, data transfer relationship information, data transfer architecture information and node attribute information. Based on the above data transfer node information, the above data transfer relationship information, the above data transfer architecture information and the above node attribute information, a data transfer graph drawing script for the above preset drawing tool is generated.
[0232] The above-mentioned data transfer graph drawing script is executed using the preset drawing tools to draw the graph, resulting in the target data transfer origination graph.
[0233] In some implementations, processor 401 performs:
[0234] An initial large-scale data transfer processing model is created based on the basic large-scale model, specifically for data transfer record scenarios.
[0235] Obtain sample graph relationship data, and label the above sample graph relationship data with data transfer graph drawing script labels and data transfer origination graph labels;
[0236] Based on the above sample graph relationship data, at least one round of model training is performed on the above initial data transfer and processing large model;
[0237] During the forward training of the model, the large model performs data transfer tracing based on the sample graph relationship data to obtain sample data transfer node information, sample data transfer relationship information, sample data transfer architecture information, and sample node attribute information through the initial data transfer processing described above. Based on the sample data transfer node information, sample data transfer relationship information, sample data transfer architecture information, and sample node attribute information, a prediction data transfer graph drawing script for the preset drawing tool is generated. The prediction data transfer tracing graph is then drawn by executing the prediction data transfer graph drawing script through the preset drawing tool.
[0238] During the reverse training of the model, the model parameters of the initial large model for data transfer processing are adjusted based on the predicted data transfer source map and the data transfer source map labels until the initial large model for data transfer processing finishes training, thus obtaining the large model for data transfer processing.
[0239] This application also provides a computer-readable storage medium storing a computer program. When the computer program is run on a computer, the computer executes the data transfer record display method described in any of the above embodiments.
[0240] It should be noted that those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, which may include, but is not limited to, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, etc.
[0241] Furthermore, the terms "first," "second," and "third," etc., used in this application are used to distinguish different objects, not to describe a specific order. Additionally, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or modules is not limited to the listed steps or modules, but some embodiments may also include steps or modules not listed, or some embodiments may include other steps or modules inherent to these processes, methods, products, or devices.
[0242] The data transfer record display method, apparatus, storage medium, and electronic device provided in the embodiments of this application have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the embodiments above are only for the purpose of helping to understand the methods and core ideas of this application; at the same time, those skilled in the art will recognize that, based on the ideas of this application, there will be changes in the specific implementation methods and application scope. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A method for displaying data transfer records, characterized in that, include: In response to a user's query request for a data transfer link to a target data transfer source address, determine the target data transfer link information for the target data transfer source address; Based on the target data transfer link information, a target data transfer tracing map is generated for the target data transfer source address; The target data transfer traceability diagram is displayed to the user.
2. The method according to claim 1, characterized in that, The step of generating a target data transfer tracing map based on the target data transfer link information for the target data transfer source address includes: Based on the target data transfer link information, at least one data transfer record is determined for the target data transfer source address, and the data transfer record corresponds to the upstream data transfer source address and the downstream data transfer source address; The data transfer relationship is determined based on the target data transfer source address, the upstream data transfer source address, and the downstream data transfer source address; Based on the target data transfer source address, the upstream data transfer source address, the downstream data transfer source address, and the data transfer relationship, a target data transfer tracing graph is generated for the target data transfer source address.
3. The method according to claim 2, characterized in that, The step of generating a target data transfer tracing graph for the target data transfer source address based on the target data transfer source address, the upstream data transfer source address, the downstream data transfer source address, and the data transfer relationship includes: Graph relationship data is generated based on the target data transfer source address, the upstream data transfer source address, the downstream data transfer source address, and the data transfer relationship; The target data transfer origination graph is generated based on the graph relationship data.
4. The method according to claim 3, characterized in that, The step of generating graph relationship data based on the target data transfer source address, the upstream data transfer source address, the downstream data transfer source address, and the data transfer relationship includes: Based on the target data transfer source address, the upstream data transfer source address, the downstream data transfer source address, and the data transfer relationship, graph data parsing processing is performed to obtain node data and edge data; Graph relationship data is generated based on the node data and edge data.
5. The method according to claim 3, characterized in that, The step of generating the target data transfer origination graph based on the graph relationship data includes: Based on the graph relationship data, the target data transfer traceability graph is obtained by calling a preset drawing tool through a large data transfer processing model.
6. The method according to claim 5, characterized in that, The process of obtaining the target data transfer origination graph by calling a preset drawing tool through a large data transfer processing model based on the graph relationship data includes: The graph relationship data is input into the large data transfer processing model. Data transfer tracing is performed through the large data transfer processing model to obtain data transfer node information, data transfer relationship information, data transfer architecture information, and node attribute information. Based on the data transfer node information, the data transfer relationship information, the data transfer architecture information, and the node attribute information, a data transfer graph drawing script for the preset drawing tool is generated. The target data transfer origination map is obtained by executing the data transfer map drawing script using the preset drawing tool.
7. The method according to claim 6, characterized in that, The method further includes: An initial large-scale data transfer processing model is created based on the basic large-scale model, specifically for data transfer record scenarios. Obtain sample graph relationship data, and label the sample graph relationship data with data transfer graph drawing script labels and data transfer origination graph labels; Based on the sample graph relationship data, at least one round of model training is performed on the initial data transfer and processing large model; During the forward training of the model, the initial data transfer processing model performs data transfer tracing based on the sample graph relationship data to obtain sample data transfer node information, sample data transfer relationship information, sample data transfer architecture information, and sample node attribute information. Based on the sample data transfer node information, sample data transfer relationship information, sample data transfer architecture information, and sample node attribute information, a prediction data transfer graph drawing script for the preset drawing tool is generated. The prediction data transfer graph drawing script is executed by the preset drawing tool to draw the graph and obtain the prediction data transfer tracing graph. During the reverse training of the model, the model parameters of the initial large data transfer processing model are adjusted based on the predicted data transfer source map and the data transfer source map labels until the initial large data transfer processing model finishes model training, thus obtaining the large data transfer processing model.
8. A data transfer record display device, characterized in that, include: The determination module is used to determine the target data transfer link information for the target data transfer source address in response to a user's data transfer link query request for the target data transfer source address. The generation module is used to generate a target data transfer tracing map for the target data transfer source address based on the target data transfer link information; The display module is used to show the user the target data transfer traceability diagram.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is run on a computer, it causes the computer to perform the method of displaying data transfer records as described in any one of claims 1 to 7.
10. An electronic device comprising a processor and a memory, the memory storing a computer program, characterized in that, The processor invokes the computer program to execute the method for displaying data transfer records as described in any one of claims 1 to 7.