Data processing method and device, electronic equipment and computer storage medium
By obtaining node information and transmission path information in a distributed decentralized system, dividing the data blocks to be transmitted and determining the target node and transmission path, the problems of node resource waste and low data transmission efficiency are solved, and resource conservation and efficiency improvement are achieved.
Patent Information
- Application Number
- CN202411882708.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-19
- Publication Date
- 2025-03-07
AI Technical Summary
There are problems of wasted node resources and low data transmission efficiency in existing distributed decentralized systems.
By acquiring the node information and transmission path information of each node, as well as the data information of the data to be transmitted, the data to be transmitted is divided into multiple data blocks, and the target node and transmission path used to store these data blocks are determined.
Effectively save node resources, improve data transmission efficiency, and ensure the reliability of data transmission.
Smart Images

Figure CN119576245A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a data processing method, device, electronic equipment and computer storage medium. Background Art
[0002] In modern computer technology, distributed decentralized systems are widely used.
[0003] Each node in the existing distributed decentralized system needs to store all the data in the system, which leads to a waste of node resources and is not conducive to data retrieval. When transmitting data between nodes in the system, it is generally transmitted by finding the shortest transmission path between the source node and the target node. However, in some cases, the shortest transmission path is not necessarily the best transmission path, which may cause data transmission delays, losses, etc., affecting data transmission efficiency.
[0004] It can be seen that the distributed decentralized system in the prior art has problems such as waste of node resources and low data transmission efficiency. Summary of the invention
[0005] In view of this, it is necessary to provide a data processing method, device, electronic device and computer storage medium to solve the problems of node resource waste and low data transmission efficiency in the distributed decentralized system in the prior art.
[0006] In order to solve the above problem, the present invention provides a data processing method, comprising: Obtain node information of each node in the distributed decentralized system and path information of the transmission path between each node, and obtain data information of the data to be transmitted; Dividing the data to be transmitted into a plurality of data blocks to be transmitted based on the node information, the path information and the data information, and determining a plurality of target nodes for storing the data blocks to be transmitted, wherein one target node is used to store one data block to be transmitted; A target transmission path for transmitting the data block to be transmitted to the corresponding target node is determined, and the data block to be transmitted is transmitted to the target node for storage based on the target transmission path.
[0007] In a possible implementation manner, the node information includes node bandwidth information and node storage capacity; and the path information includes path bandwidth information.
[0008] In a possible implementation manner, the data line includes historical access frequency, data size, and data importance.
[0009] In a possible implementation, dividing the data to be transmitted into a plurality of data blocks to be transmitted based on the node information, the path information, and the data information, and determining a plurality of target nodes for storing the data blocks to be transmitted includes: Dividing the data to be transmitted into a plurality of data blocks to be transmitted based on the historical access frequency of the data to be transmitted, the data size, and the importance of the data; A plurality of target nodes for storing the data blocks to be transmitted are determined based on the size of each of the data blocks to be transmitted and the node storage capacity of each of the nodes.
[0010] In a possible implementation manner, determining a target transmission path for transmitting the to-be-transmitted data block to the corresponding target node includes: Based on the data information of the data to be transmitted, the node information of the target node and the path information of the transmission data between the nodes, a pre-trained neural network model is used to perform calculations to obtain a target transmission path for transmitting the data block to be transmitted to the corresponding target node.
[0011] In a possible implementation, the training process of the neural network model includes: Using an intelligent path planning algorithm to determine a target transmission path for transmitting the data block to be transmitted to the corresponding target node based on the data information of the data to be transmitted, the node information of the target node, and the path information of the transmission data between the nodes; The data information of the data to be transmitted, the node information of the target node and the path information of the transmission data between the nodes are used as the input of the neural network model, and the target transmission path for transmitting the data block to be transmitted to the corresponding target node is used as the output of the neural network model. The neural network model is trained until the calculation result of the neural network model meets the preset path requirements.
[0012] In a possible implementation manner, the preset path requirement includes one or more of the following: The path for transmitting the data block to be transmitted to the target node is the shortest, the transmission speed is the fastest, and the transmission security is the highest.
[0013] The present invention also provides a data processing device, comprising: An information acquisition module is used to obtain node information of each node in the distributed decentralized system and path information of the transmission path between each node, and obtain data information of the data to be transmitted; A data partitioning module, used to partition the data to be transmitted into a plurality of data blocks to be transmitted based on the node information, the path information and the data information, and determine a plurality of target nodes for storing the data blocks to be transmitted, wherein one target node is used to store one data block to be transmitted; a data storage module, configured to determine a target transmission path for transmitting the data block to be transmitted to the corresponding target node, and transmit the data block to be transmitted to the target node for storage based on the target transmission path, The present invention also provides an electronic device, comprising a memory and a processor, wherein: The memory is used to store programs; The processor is coupled to the memory and is used to execute the program stored in the memory to implement the steps in the data processing method described in any of the above embodiments.
[0014] The present invention also provides a computer-readable storage medium for storing a computer-readable program or instruction, which, when executed by a processor, can implement the steps of the data processing method described in any of the above embodiments.
[0015] The beneficial effects of the present invention are as follows: the data processing method provided by the present invention divides the data to be transmitted into a plurality of data blocks to be transmitted through the node information of each node in the distributed decentralized system, the path information of the transmission path between each node, and the data information of the data to be transmitted, and determines a plurality of target nodes for storing the data blocks to be transmitted, and at the same time determines the target transmission path for transmitting the data blocks to be transmitted to the corresponding target nodes, and transmits the data blocks to be transmitted to the corresponding target nodes for storage. Each node in the distributed decentralized system of the present invention only needs to store part of the data, effectively saving node resources, while determining the target transmission path and improving data transmission efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0017] Figure 1 A flowchart of a data processing method provided by an embodiment of the present invention; Figure 2 A schematic diagram of a flow chart of a target node determination method provided by an embodiment of the present invention; Figure 3 A flowchart of a neural network model training method provided by an embodiment of the present invention; Figure 4 A schematic diagram of the structure of a data processing device provided by an embodiment of the present invention; Figure 5 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0018] The preferred embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings, wherein the accompanying drawings constitute a part of the present invention and are used together with the embodiments of the present invention to illustrate the principles of the present invention, but are not used to limit the scope of the present invention.
[0019] Reference to an "embodiment" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiment may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0020] Each node in the existing distributed decentralized system needs to store all the data in the system, which leads to a waste of node resources and is not conducive to data retrieval. When transmitting data between nodes in the system, it is generally transmitted by finding the shortest transmission path between the source node and the target node. However, in some cases, the shortest transmission path is not necessarily the best transmission path, which may cause data transmission delays, losses, etc., affecting data transmission efficiency.
[0021] Based on this, Figure 1 As shown, the present invention discloses a data processing method, comprising: S101, obtaining node information of each node in the distributed decentralized system and path information of the transmission path between each node, and obtaining data information of the data to be transmitted; S102, dividing the data to be transmitted into a plurality of data blocks to be transmitted based on the node information, the path information and the data information, and determining a plurality of target nodes for storing the data blocks to be transmitted, where one target node is used to store one data block to be transmitted; S103, determining a target transmission path for transmitting the data block to be transmitted to the corresponding target node, and transmitting the data block to be transmitted to the target node for storage based on the target transmission path.
[0022] In the embodiment of the present invention, a distributed decentralized system refers to a system composed of multiple nodes without a master-slave relationship. The nodes can be servers, computers and other devices that have data processing and storage functions; the node information of each node is used to represent the performance characteristics of the node, and the path information of the transmission path between each node is used to represent the transmission capacity and transmission efficiency of the transmission path. In the embodiment of the present invention, the data to be transmitted refers to the data to be transmitted and stored in the distributed decentralized system, and the data information is used to indicate the data characteristics of the transmitted data.
[0023] In an embodiment of the present invention, a data block to be transmitted refers to a plurality of mutually independent data packets formed by segmenting and packaging the data to be transmitted. The data to be transmitted can be obtained by combining a plurality of data blocks to be transmitted. Specifically, the data to be transmitted can be divided according to data information of the data to be transmitted, path information between nodes, and node information of each node to obtain a plurality of data blocks to be transmitted, and then a plurality of target nodes for storing the data blocks to be transmitted are determined based on data characteristics of each data block to be transmitted, wherein one target node is only used to store one data block to be transmitted.
[0024] In an embodiment of the present invention, after determining the target node, a target transmission path is determined based on the path information between the target nodes, wherein each target transmission path is used to transmit a corresponding data block to be transmitted, and the data block to be transmitted is transmitted to the target node for storage.
[0025] The data processing method provided by the present invention divides the data to be transmitted into multiple data blocks to be transmitted through the node information of each node in the distributed decentralized system, the path information of the transmission path between each node, and the data information of the data to be transmitted, and determines multiple target nodes for storing the data blocks to be transmitted, and at the same time determines the target transmission path for passing the data blocks to be transmitted through the corresponding target nodes, and transmits the data blocks to be transmitted to the corresponding target nodes for storage. Each node in the distributed decentralized system of the present invention only needs to store part of the data, effectively saving node resources, while determining the target transmission path and improving data transmission efficiency.
[0026] As a possible implementation mode of the present invention, in this implementation mode, the node information includes node bandwidth information and node storage capacity; the path information includes path bandwidth information In an embodiment of the present invention, the node information of each node in a distributed decentralized system includes but is not limited to the bandwidth information of the node and the storage capacity of the node. The bandwidth information of the node refers to the maximum upload rate and the maximum download rate that the node can withstand. The storage capacity of the node refers to the storage space size of the node and the data format that the node can store. Data transmission paths are stored between each node and data can be transmitted. The path information of the transmission path includes but is not limited to the path bandwidth information. The path bandwidth information indicates the maximum upload rate and the maximum download rate that the data transmission path can withstand.
[0027] Furthermore, the data information includes historical access frequency, data size, and data importance.
[0028] In an embodiment of the present invention, data information of the data to be transmitted includes but is not limited to the historical access frequency of the data, the data size and the importance of the data, wherein the historical access frequency of the data can be the total number of times the data has been accessed in the past, or the number of times the data has been accessed in a preset time period in the past, which is used to indicate the popularity of the data being accessed, the size of the data indicates the size of the storage space required to store the data, and the importance of the data can be the confidentiality level of the data, the encryption method, or the confidentiality requirements for the storage environment, etc.
[0029] The embodiment of the present invention facilitates the subsequent division of data to be transmitted and the determination of the transmission path by acquiring node information of each node in a distributed decentralized system, path information of the transmission path between nodes, and data information of the data to be transmitted.
[0030] As a possible implementation mode of the present invention, in this implementation mode, Figure 2 As shown, based on the node information, the path information and the data information, the data to be transmitted is divided into a plurality of data blocks to be transmitted, and a plurality of target nodes for storing the data blocks to be transmitted are determined, including: S201, dividing the data to be transmitted into a plurality of data blocks to be transmitted based on the historical access frequency, data size and data importance of the data to be transmitted; S202: Determine a plurality of target nodes for storing the data blocks to be transmitted based on the size of each data block to be transmitted and the storage capacity of each node.
[0031] In an embodiment of the present invention, when dividing the transmission data, it is necessary to divide it according to the historical access frequency, data size and data importance of the data to be transmitted. Specifically, for example, data with similar access frequency is divided into one data block to be transmitted, and according to the data size, it is divided into multiple smaller data blocks to be transmitted, or data with the same data importance is divided into one data block to be transmitted; further, the data can be compositely analyzed in combination with the historical access frequency, data size and data importance, so as to determine the division method of the data to be transmitted.
[0032] In an embodiment of the present invention, after the data to be transmitted is divided into a plurality of data blocks to be transmitted, the target node of each data block to be transmitted is determined according to the data characteristics of each data block to be transmitted and the storage capacity of each node. Specifically, the target node that meets the requirements is determined according to the size, historical access frequency, importance, etc. of each data block to be transmitted. For example, for data blocks to be transmitted with a high historical access frequency, a node with a faster access speed can be used for storage. For data blocks to be transmitted that require a large storage space, a node with a large remaining storage space can be used for storage. For data blocks to be transmitted with a high degree of importance, a node with a high degree of confidentiality can be used for storage. Of course, when determining the target node corresponding to the data block to be transmitted, it can be determined not only based on one feature, but can be determined in combination with the above-mentioned multiple features.
[0033] The embodiment of the present invention ensures the efficiency of data transmission and the reliability of data storage by determining the target node of each data block to be transmitted according to the data characteristics of the data block to be transmitted and the characteristics of each node.
[0034] As a possible implementation manner of the present invention, in this implementation manner, determining a target transmission path for transmitting a data block to be transmitted to a corresponding target node includes: Based on the data information of the data to be transmitted, the node information of the target node and the path information of the transmission data between the nodes, a trained neural network model is used to perform calculations to obtain a target transmission path for transmitting the data block to be transmitted to the corresponding target node.
[0035] In an embodiment of the present invention, when determining the target transmission path for transmitting the data block to be transmitted to the target node, a pre-trained neural network model can be used for calculation, wherein the input of the neural network model is the data information of the data to be transmitted, the node information of the target node, and the path information of the transmission data between the nodes, and the output is the target transmission path for transmitting the data block to be transmitted to the corresponding target node.
[0036] Further, such as Figure 3 As shown in Figure 1, the training process of the neural network model includes: S301, using an intelligent path planning algorithm to determine a target transmission path for transmitting a data block to be transmitted to a corresponding target node based on data information of the data to be transmitted, node information of the target node, and path information of the transmission data between the nodes; S302, taking the data information of the data to be transmitted, the node information of the target node and the path information of the transmission data between the nodes as the input of the neural network model, and taking the target transmission path for transmitting the data block to be transmitted to the corresponding target node as the output of the neural network model, and training the neural network model until the calculation result of the neural network model meets the preset path requirements.
[0037] In an embodiment of the present invention, when training a neural network model, an intelligent path planning algorithm can be first used to obtain multiple transmission paths to form a data set. The intelligent path planning algorithm includes an ant colony algorithm, a particle swarm optimization algorithm, etc. Specifically, an intelligent path planning algorithm is used to plan the transmission and storage methods of multiple data to be transmitted in a distributed decentralized system, for example, 1,000 data, and the data information of each data to be transmitted, the node information of the distributed system, and the path information of the path between the nodes are used as inputs to the neural network model, and the transmission and storage methods of each data to be transmitted are used as outputs to train the neural network model. After 1,000 trainings or more, the calculation effect of the neural network model meets the preset requirements, such as the difference between the data transmission and storage method output by the neural network model and the data transmission and storage method of the data to be transmitted obtained by the intelligent path planning algorithm is within a preset range.
[0038] The embodiment of the present invention first plans the data transmission and storage method in the distributed decentralized system through an intelligent path planning algorithm, and then trains the neural network model based on the data transmission and storage method. The trained neural network model can quickly plan the transmission and storage method of the data to be transmitted, thereby improving data processing efficiency.
[0039] As a possible implementation manner of the present invention, in this implementation manner, the preset path requirement includes one or more of the following: The path for transmitting the data block to be transmitted to the target node is the shortest, the transmission speed is the fastest, and the transmission security is the highest.
[0040] In an embodiment of the present invention, the preset path requirement may be a combination of one or more of the shortest path for transmitting the data block to be transmitted to the target node, the fastest transmission speed, and the highest transmission security. The specific setting may be based on actual application conditions, and the present invention is not limited to this.
[0041] In order to better implement the data processing method in the embodiment of the present invention, based on the data processing method, correspondingly, Figure 4As shown, the embodiment of the present invention further provides a data processing device, the data processing device 400 includes: The information acquisition module 401 is used to acquire node information of each node in the distributed decentralized system and path information of the transmission path between each node, and acquire data information of the data to be transmitted; The data partitioning module 402 is used to partition the data to be transmitted into a plurality of data blocks to be transmitted based on the node information, the path information and the data information, and determine a plurality of target nodes for storing the data blocks to be transmitted, where one target node is used to store one data block to be transmitted; The data storage module 403 is used to determine a target transmission path for transmitting the data block to be transmitted to the corresponding target node, and transmit the data block to be transmitted to the target node for storage based on the target transmission path.
[0042] The data processing device 400 provided in the above embodiment can implement the technical solution described in the above data processing method embodiment. The specific implementation principles of the above modules or units can refer to the corresponding contents in the above data processing method embodiment, which will not be repeated here.
[0043] The data processing device provided by the present invention divides the data to be transmitted into multiple data blocks to be transmitted through the node information of each node in the distributed decentralized system, the path information of the transmission path between each node, and the data information of the data to be transmitted, and determines multiple target nodes for storing the data blocks to be transmitted, and at the same time determines the target transmission path for transmitting the data blocks to be transmitted to the corresponding target nodes, and transmits the data blocks to be transmitted to the corresponding target nodes for storage. Each node in the distributed decentralized system of the present invention only needs to store part of the data, effectively saving node resources, while determining the target transmission path and improving data transmission efficiency.
[0044] like Figure 5 As shown, the present invention also provides an electronic device 500. The electronic device 500 includes a processor 501, a memory 502 and a display 503. Figure 5 Only some components of the electronic device 500 are shown, but it should be understood that it is not required to implement all of the components shown, and more or fewer components may be implemented instead.
[0045] In some embodiments, the processor 501 may be a central processing unit (CPU), a microprocessor or other data processing chip, and is used to run program codes stored in the memory 502 or process data, such as the data processing method of the present invention.
[0046] In some embodiments, the processor 501 may be a single server or a server group. The server group may be centralized or distributed. In some embodiments, the processor 501 may be local or remote. In some embodiments, the processor 501 may be implemented in a cloud platform. In some embodiments, the cloud platform may include a private cloud, a public cloud, a hybrid cloud, a community cloud, a distributed cloud, an internal cloud, a multi-cloud, etc., or any combination thereof.
[0047] In some embodiments, the memory 502 may be an internal storage unit of the electronic device 500, such as a hard disk or memory of the electronic device 500. In other embodiments, the memory 502 may also be an external storage device of the electronic device 500, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 500.
[0048] Furthermore, the memory 502 may include both an internal storage unit of the electronic device 500 and an external storage device. The memory 502 is used to store application software installed in the electronic device 500 and various data.
[0049] In some embodiments, the display 503 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, etc. The display 503 is used to display information of the electronic device 500 and to display a visual user interface. The components 501-503 of the electronic device 500 communicate with each other through a system bus.
[0050] In some embodiments, when the processor 501 executes the data processing program in the memory 502, the following steps may be implemented: Obtain node information of each node in the distributed decentralized system and path information of the transmission path between each node, and obtain data information of the data to be transmitted; Dividing the data to be transmitted into a plurality of data blocks to be transmitted based on the node information, the path information and the data information, and determining a plurality of target nodes for storing the data blocks to be transmitted, wherein one target node is used to store one data block to be transmitted; A target transmission path for transmitting the data block to be transmitted to the corresponding target node is determined, and the data block to be transmitted is transmitted to the target node for storage using the target transmission path.
[0051] It should be understood that: when the processor 501 executes the data processing program in the memory 502, in addition to the above functions, other functions can also be implemented. For details, please refer to the description of the corresponding method embodiment above.
[0052] Furthermore, the embodiment of the present invention does not specifically limit the type of the electronic device 500 mentioned, and the electronic device 500 may be a portable electronic device such as a mobile phone, a tablet computer, a personal digital assistant (PDA), a wearable device, a laptop computer, etc. Exemplary embodiments of portable electronic devices include but are not limited to portable electronic devices equipped with IOS, Android, Microsoft or other operating systems. The above-mentioned portable electronic devices may also be other portable electronic devices, such as a laptop computer with a touch-sensitive surface (e.g., a touch panel). It should also be understood that in some other embodiments of the present invention, the electronic device 500 may not be a portable electronic device, but a desktop computer with a touch-sensitive surface (e.g., a touch panel).
[0053] Correspondingly, an embodiment of the present invention also provides a computer-readable storage medium, which is used to store computer-readable programs or instructions. When the program or instructions are executed by a processor, it can implement the steps or functions in the data processing method provided by the above-mentioned method embodiments.
[0054] Those skilled in the art will appreciate that all or part of the processes of the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the program can be stored in a computer-readable storage medium, wherein the computer-readable storage medium is a disk, an optical disk, a read-only storage memory, or a random access memory, etc.
[0055] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by any technician familiar with the technical field within the technical scope disclosed by the present invention should be covered within the protection scope of the present invention.
Claims
1. A data processing method, characterized in that: include: Obtain node information of each node in the distributed decentralized system and path information of the transmission path between each node, and obtain data information of the data to be transmitted; Dividing the data to be transmitted into a plurality of data blocks to be transmitted based on the node information, the path information and the data information, and determining a plurality of target nodes for storing the data blocks to be transmitted, wherein one target node is used to store one data block to be transmitted; A target transmission path for transmitting the data block to be transmitted to the corresponding target node is determined, and the data block to be transmitted is transmitted to the target node for storage based on the target transmission path.
2. The data processing method according to claim 1, characterized in that: The node information includes node bandwidth information and node storage capacity; the path information includes path bandwidth information.
3. The data processing method according to claim 2, characterized in that: The data information includes historical access frequency, data size, and data importance.
4. The data processing method according to claim 3, characterized in that: The dividing the data to be transmitted into a plurality of data blocks to be transmitted based on the node information, the path information and the data information, and determining a plurality of target nodes for storing the data blocks to be transmitted, comprises: Dividing the data to be transmitted into a plurality of data blocks to be transmitted based on the historical access frequency of the data to be transmitted, the data size, and the importance of the data; A plurality of target nodes for storing the data blocks to be transmitted are determined based on the size of each of the data blocks to be transmitted and the node storage capacity of each of the nodes.
5. The data processing method according to claim 1, characterized in that: The determining of a target transmission path for transmitting the to-be-transmitted data block to the corresponding target node includes: Based on the data information of the data to be transmitted, the node information of the target node and the path information of the transmission data between the nodes, a trained neural network model is used to perform calculations to obtain a target transmission path for transmitting the data block to be transmitted to the corresponding target node.
6. The data processing method according to claim 5, characterized in that: The training process of the neural network model includes: Using an intelligent path planning algorithm to determine a target transmission path for transmitting the data block to be transmitted to the corresponding target node based on the data information of the data to be transmitted, the node information of the target node, and the path information of the transmission data between the nodes; The data information of the data to be transmitted, the node information of the target node and the path information of the transmission data between the nodes are used as the input of the neural network model, and the target transmission path for transmitting the data block to be transmitted to the corresponding target node is used as the output of the neural network model. The neural network model is trained until the calculation result of the neural network model meets the preset path requirements.
7. The data processing method according to claim 6, characterized in that: The preset path requirements include one or more of the following: The path for transmitting the data block to be transmitted to the target node is the shortest, the transmission speed is the fastest, and the transmission security is the highest.
8. A data processing device, characterized in that: include: An information acquisition module is used to obtain node information of each node in the distributed decentralized system and path information of the transmission path between each node, and obtain data information of the data to be transmitted; A data partitioning module, used to partition the data to be transmitted into a plurality of data blocks to be transmitted based on the node information, the path information and the data information, and determine a plurality of target nodes for storing the data blocks to be transmitted, wherein one target node is used to store one data block to be transmitted; The data storage module is used to determine a target transmission path for transmitting the data block to be transmitted to the corresponding target node, and transmit the data block to be transmitted to the target node for storage based on the target transmission path.
9. An electronic device, characterized in that: comprising a memory and a processor, wherein: The memory is used to store programs; The processor is coupled to the memory and is used to execute the program stored in the memory to implement the steps in the data processing method described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: Used to store computer-readable programs or instructions, which, when executed by a processor, can implement the steps of the data processing method described in any one of claims 1 to 7.