Data message transmission method, communication device and communication system

CN119769074APending Publication Date: 2025-04-04HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202280099554.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2022-09-02
Publication Date
2025-04-04

AI Technical Summary

Technical Problem

Existing technologies are difficult to effectively process and transmit data messages in communication networks, resulting in insufficient utilization of data resources and inability to achieve distributed processing and efficient use of data.

Method used

By determining the next processing node based on the transmission path information during the data message transmission process, and encapsulating the processed data load in the data message, the processing and transmission of the data message is realized, and multicast and distribution of data are supported, dynamically Build transmission path information to improve data usage efficiency.

Benefits of technology

It realizes the processing of data messages during transmission, meets the communication-aware computing requirements, improves the efficiency and flexibility of data usage, and supports distributed processing and multicast distribution scenarios of data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119769074A_ABST
    Figure CN119769074A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a data message transmission method, a communication device and a communication system. The method comprises the steps that a first device determines transmission path information of a data message based on data service information, the transmission path information comprises information of a second device, and the first device can determine the second device based on the transmission path information and send the data message processed by the first device to the second device. Or the first device determines the second device based on the transmission path information in the acquired data message, and sends the data message processed by the first device to the second device. According to the scheme provided by the invention, the data processing can be realized in the data message transmission process, and the use efficiency of the data is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Data message transmission method, communication device and communication system Technical Field

[0001] The embodiments of the present application relate to the field of communications, and more specifically, to a data message transmission method, a communication device, and a communication system. Background Art

[0002] Data is generated, flows, and consumed within communication networks. With the growth of network scale, new technologies, and applications, the amount of data on these networks is increasing, and its importance is growing. Therefore, efficient data utilization requires a comprehensive service architecture. Traditionally, data existed in silos, meaning that an application could only use its own data and not access data from other applications, nor could it provide its own data to other applications. Data services aim to break down these silos, enabling data to be used as a service by various applications within and outside the network, thereby maximizing its value.

[0003] Currently, information exchange between two network nodes requires the establishment of a communication path. Intermediate nodes along this path only forward data packets and do not process them. During forwarding, packets are routed based on the destination address in the packet header. In data services, data collection, storage, forwarding, and analysis can occur at different network nodes. Therefore, how to transmit data between these processing nodes is a critical issue.

[0004] Summary of the Invention

[0005] The embodiments of the present application provide a data message transmission method, a communication device, and a communication system, which can process data during the data message transmission process and improve the efficiency of data use.

[0006] In the first aspect, a method for transmitting a data message is provided. The method can be executed by a first device, which can be a functional network element in a network, or a chip or circuit in a terminal device, a network device, a core network device, or an operation and maintenance management device, or a logic module or software that can realize all or part of the functions of the terminal device, the network device, the core network device, or the operation and maintenance management device. This application does not limit this. The method includes: the first device obtains a first data message, the first data message includes first transmission path information, the first transmission path information includes information of the first device and the second device, the first device determines the second device based on the first transmission path information, and sends a second data message to the second device, the second data message includes second transmission path information, and the data payload in the second data message is obtained based on the data payload in the first data message.

[0007] In the above solution, after processing the data payload in the data message, the first device can determine the next processing node for the data message based on the transmission path information in the first data message, and transmit the processed data message to the next processing node. In other words, this solution processes the data message during its transmission, meeting the demand for distributed data processing under the trend of communication-aware computing convergence and improving data utilization efficiency.

[0008] In combination with the first aspect, in some implementations of the first aspect, the second transmission path information does not include information about the first device.

[0009] Based on the above solution, after processing the first data message, the first device can delete its own information in the transmission path information of the second data message, thereby saving communication resource overhead.

[0010] In combination with the first aspect, in some implementations of the first aspect, the first transmission path information includes identification information of the first device and the second device, or the first transmission path information includes address information of the first device and the second device.

[0011] In combination with the first aspect, in certain implementations of the first aspect, the first data packet and the second data packet also include data service information and / or statistical mode information, the statistical mode information is used to indicate the statistical method of the statistical information, and the statistical information includes the quantity information of the data packet or the byte quantity information of the data packet.

[0012] Based on the above solution, the data packet processing node can determine the statistical method of the statistical information based on the statistical mode information indicated in the packet, and thus perform statistical reporting according to the instructions in the packet. In conjunction with the first aspect, in certain implementations of the first aspect, the first device sends statistical information to the third device, where the statistical information includes information about the number of data packets or information about the number of bytes in the data packets.

[0013] Based on the above solution, the third device can know the number of data packets / bytes flowing through the first device, which makes it easier for the third device to coordinate whether to continue to allocate data packets to the first device for processing.

[0014] In combination with the first aspect, in certain implementations of the first aspect, the statistical information is obtained by taking transmission path information or data service information of the data packet as a granularity.

[0015] Based on the above scheme, assuming that the statistical information is obtained with the transmission path information as the granularity, the third device can determine the number of data packets / bytes on each transmission path flowing through the first device. Assuming that the statistical information is obtained with the data service information as the granularity, the third device can determine the number of data packets / bytes of different data services processed by the first device, providing a reference for the subsequent overall allocation of the third device.

[0016] In the second aspect, a method for transmitting a data message is provided. The method can be executed by a first device, which can be a chip or circuit in a terminal device, a network device, a core network device, or an operation and maintenance management device, or a logic module or software that can realize all or part of the functions of the terminal device, the network device, the core network device, or the operation and maintenance management device. This application does not limit this. The method includes: the first device obtains service data, determines third transmission path information based on data service information, and the third transmission path information includes information of the second device; the second device is a processing node for the third data message, and sends a third data message to the second device, and the third data message includes the third transmission path information and a data payload corresponding to the service data.

[0017] In the above solution, after the first device acquires service data, it can determine the third transmission path information based on the data service information, and then determine the next processing node for the service data, namely the second device. The processed service data and the third transmission path information are then encapsulated into a third data packet and transmitted to the next processing node. Subsequently, the second device can determine the next processing node after the second device for the third data packet based on this third transmission path information. In other words, this solution enables data packets to be processed by other nodes during transmission, meeting the demand for distributed data processing under the trend of communication-aware computing integration and improving data utilization efficiency.

[0018] In combination with the second aspect, in some implementations of the second aspect, the third transmission path information includes identification information or address information of the second device.

[0019] In combination with the second aspect, in certain implementations of the second aspect, the first device receives correspondence information from a third device, where the correspondence information indicates the correspondence between the data service information and the transmission path information, and the first device determines the third transmission path information based on the data service information and the correspondence information.

[0020] Based on the above scheme, the third device configures the correspondence between the data service information and the transmission path information to the first device. The first device can determine the third transmission path information based on the data service information, and can determine the next processing node based on the third transmission path information. For the first device, determining the next processing node and determining the next hop node (physical route) of the data packet can be decoupled, and the compatibility is stronger.

[0021] In combination with the second aspect, in some implementations of the second aspect, the data service information includes first data service information, the first data service information corresponds to N transmission path information, the N transmission path information includes third transmission path information, and N is an integer greater than or equal to 1.

[0022] In combination with the second aspect, in certain implementations of the second aspect, the correspondence indicated by the correspondence information includes the correspondence between the first data service information and N transmission path information, where N is an integer greater than 1, and the first device sends N data packets to N second devices, wherein each second device is associated with a data packet, and a data packet includes one transmission path information among the N transmission path information.

[0023] Based on the above solution, when the data payloads of N data packets are the same, it is a data packet multicast scenario. When the data payloads of two data packets in the N data packets are different, it is a data packet distribution scenario. In other words, this solution can achieve both multicast and distribution of data packets, that is, it can realize flexible topology of data packet transmission paths.

[0024] In combination with the second aspect, in certain implementations of the second aspect, the N transmission path information includes information of parallel data processing devices, the parallel data processing devices are processing nodes at the same level of the data message, and N is an integer greater than 1.

[0025] Based on the above scheme, when the data service information corresponds to multiple (2 or more) transmission path information, the parallel processing nodes can be determined by the structure of the transmission path information, so that the data message can be multicast or distributed to the parallel processing nodes, thereby realizing a flexible topology of the transmission path of the data message.

[0026] In combination with the second aspect, in some implementations of the second aspect, the correspondence indicated by the correspondence information includes a correspondence between the first data service information and the third transmission path information, and N is an integer greater than 1.

[0027] Based on the above scheme, the data service information corresponds to N transmission path information, and the third transmission path information is associated with the first device, that is, the N transmission path information corresponds to different first devices. This scheme can realize the aggregation of data packets, that is, the initial processing nodes of the data packets are different, and the final processing nodes are the same, that is, a flexible topology of the transmission path of the data packets can be realized.

[0028] In combination with the second aspect, in some implementations of the second aspect, the third transmission path information includes information of data processing devices arranged in order, and the data processing devices arranged earlier have an earlier order in processing data packets.

[0029] Based on the above solution, the data service information corresponds to N pieces of transmission path information, where N is an integer greater than 1. The third piece of transmission path information is associated with the first device. In other words, the N pieces of transmission path information correspond to different first devices. This solution enables data message aggregation, i.e., a flexible topology for data message transmission paths. Furthermore, the structure of the transmission path information can be used to determine the sequentially arranged processing nodes, allowing data messages to be sent to the processing nodes in sequence for processing.

[0030] In combination with the second aspect, in certain implementations of the second aspect, the first device receives configuration information from the third device, and the configuration information is used to configure at least one of the following: a statistical mode of the data packet, a statistical period of the data packet, and a valid time of the transmission path information.

[0031] Based on the above solution, the first device can report statistical information according to the configuration, and can transmit data packets according to the transmission path information within the validity period of the transmission path information.

[0032] In combination with the second aspect, in certain implementations of the second aspect, the first device sends confirmation information to the third device, where the confirmation information is used to confirm the configuration information.

[0033] Based on the above solution, the third device can know that the configuration has been completed through the confirmation information, thereby avoiding sending the configuration information again and wasting communication resources.

[0034] In combination with the second aspect, in some implementations of the second aspect, the first device receives update information from a third device, where the update information is used to update transmission path information corresponding to the data service information.

[0035] Based on the above solution, the first device can subsequently transmit data packets according to the updated transmission path information.

[0036] In combination with the second aspect, in certain implementations of the second aspect, the first device sends confirmation information to the third device, where the confirmation information is used to confirm that the first device has completed the update of the transmission path information.

[0037] Based on the above solution, the third device can know through the confirmation information that the transmission path information has been updated, thereby avoiding sending the update information again and causing a waste of communication resources.

[0038] In combination with the second aspect, in some implementations of the second aspect, the first device receives read information from a third device, where the read information is used to read transmission path information corresponding to the data service information.

[0039] Based on the above solution, during the debugging or troubleshooting phase, the transmission path information can be read by reading information to confirm whether the transmission path information corresponding to a certain data service information is accurate, thereby improving system performance.

[0040] In combination with the second aspect, in some implementations of the second aspect, the first device sends read response information to the third device, and the read response information may include transmission path information corresponding to the data service information.

[0041] Based on the above solution, during the debugging or troubleshooting stage, the transmission path information in the response information can be read to confirm whether the transmission path information corresponding to a certain data service information is accurate, which facilitates the third device to troubleshoot and improve system performance.

[0042] In combination with the second aspect, in some implementations of the second aspect, the first device receives deletion information from the third device, where the deletion information is used to delete the transmission path information corresponding to the data service information.

[0043] Based on the above solution, after a data service ends, the transmission path information corresponding to the data service information can be deleted, thereby saving storage resources of the first device.

[0044] In combination with the second aspect, in certain implementations of the second aspect, the first device sends confirmation information to the third device, where the confirmation information is used to confirm that the first device has completed deletion of the transmission path information.

[0045] Based on the above solution, the third device can know that the first device has completed the deletion operation according to the confirmation information, thereby avoiding sending the deletion instruction again and wasting transmission resources.

[0046] In combination with the second aspect, in certain implementations of the second aspect, the third data packet also includes data service information and / or statistical pattern information, the statistical pattern information is used to indicate the statistical pattern of statistical information, and the statistical information includes the quantity information of the data packet or the byte quantity information of the data packet.

[0047] Based on the above solution, the node processing the data message can determine the statistical method of the statistical information according to the statistical mode information indicated in the message, and thus perform statistical reporting according to the instructions in the message.

[0048] In combination with the second aspect, in some implementations of the second aspect, the first device sends statistical information to the third device, where the statistical information includes quantity information of data packets or byte quantity information of the data packets.

[0049] Based on the above solution, the third device can know the number of data packets / bytes flowing through the first device, which makes it easier for the third device to coordinate whether to continue to allocate data packets to the first device for processing.

[0050] In combination with the second aspect, in some implementations of the second aspect, the statistical information is obtained by taking transmission path information or data service information of the data packet as a granularity.

[0051] Based on the above scheme, assuming that the statistical information is obtained with the transmission path information as the granularity, the third device can determine the number of data packets / bytes on each transmission path flowing through the first device. Assuming that the statistical information is obtained with the data service information as the granularity, the third device can determine the number of data packets / bytes of different data services processed by the first device, providing a reference for the subsequent overall allocation of the third device.

[0052] In combination with the second aspect, in certain implementations of the second aspect, the data service information is any one of the following: an identifier of a federated learning service, an identifier of a distributed learning service, or an identifier of a data aggregation service.

[0053] In a third aspect, a method for transmitting a data message is provided. This method can be performed by a third device, which can be a functional network element in the network, a chip or circuit in a network device or core network device, or a logic module or software that implements all or part of the network device or core network device functions, although this application does not limit this. The method includes: the third device generating correspondence information indicating a correspondence between data service information and transmission path information of the data message, and sending the correspondence information to the first device.

[0054] Based on the above solution, the third device configures the correspondence between data service information and the transmission path information to the first device, allowing the first device to determine the transmission path information corresponding to a certain data service information based on the correspondence and transmit the data message based on the transmission path information. In this solution, the third device can dynamically construct and maintain the transmission path information of the data message, making the transmission and processing of the data message more flexible.

[0055] In combination with the third aspect, in certain implementations of the third aspect, the transmission path information includes information of a second device, where the second device is a processing node for the data message.

[0056] Based on the above scheme, the transmission path information includes the information of the processing node, indicating that the data message is being processed along the path. That is, this scheme enables the processing node to process the data message during the transmission process, which can meet the demand for distributed processing of data under the trend of communication perception computing integration and improve the efficiency of data utilization.

[0057] In combination with the third aspect, in some implementations of the third aspect, the data service information includes first data service information, the first data service information corresponds to N transmission path information, and N is an integer greater than or equal to 1.

[0058] In combination with the third aspect, in certain implementations of the third aspect, the transmission path information includes identification information of the second device or address information of the second device.

[0059] In combination with the third aspect, in certain implementations of the third aspect, the correspondence indicated by the correspondence information includes a correspondence between the first data service information and N transmission path information, where N is an integer greater than 1.

[0060] Based on the above solution, one piece of data service information can correspond to multiple transmission paths with the first device as the initial processing node, which can realize multicast and distribution of data messages, that is, a flexible topology of the transmission path of the data message can be realized.

[0061] In combination with the third aspect, in certain implementations of the third aspect, the N transmission path information includes information of parallel data processing devices, the parallel data processing devices are processing nodes at the same level of the data message, and N is an integer greater than 1.

[0062] Based on the above scheme, when the data service information corresponds to multiple (2 or more) transmission path information, the parallel processing nodes can be determined by the structure of the transmission path information, so that the data message can be multicast or distributed to the parallel processing nodes, thereby realizing a flexible topology of the transmission path of the data message.

[0063] In combination with the third aspect, in certain implementations of the third aspect, the third device sends N correspondence information to N first devices, wherein each first device is associated with one correspondence information, and the correspondence indicated by the one correspondence information includes the correspondence between the first data service information and one transmission path information among the N transmission path information, and N is an integer greater than 1.

[0064] Based on the above solution, one piece of data service information can correspond to multiple transmission paths with multiple first devices as initial processing nodes, which can realize the aggregation of data messages, that is, the flexible topology of the transmission path of the data message can be realized.

[0065] In combination with the third aspect, in certain implementations of the third aspect, each piece of transmission path information in the N pieces of transmission path information includes information of data processing devices arranged in order, and a data processing device arranged earlier processes data packets earlier.

[0066] Based on the above solution, the data service information corresponds to N pieces of transmission path information, and the first device is associated with one piece of transmission path information. This solution enables data message aggregation, that is, it can achieve a flexible topology for the data message transmission path. Furthermore, the structure of the transmission path information can be used to determine the sequentially arranged processing nodes, so that data messages can be sent to the processing nodes in sequence for processing.

[0067] In combination with the third aspect, in certain implementations of the third aspect, the third device sends configuration information to the first device, where the configuration information is used to configure at least one of the following: a statistical mode of the data packet, a statistical period of the data packet, and a valid time of the transmission path information.

[0068] In combination with the third aspect, in certain implementations of the third aspect, the third device receives confirmation information from the first device, where the confirmation information is used to confirm the configuration information.

[0069] In combination with the third aspect, in certain implementations of the third aspect, the third device sends update information to the first device, where the update information is used to update transmission path information corresponding to the data service information.

[0070] In combination with the third aspect, in certain implementations of the third aspect, the third device receives confirmation information from the first device, where the confirmation information is used to confirm that the first device has completed the update of the transmission path information.

[0071] In combination with the third aspect, in certain implementations of the third aspect, the third device sends read information to the first device, where the read information is used to read transmission path information corresponding to the data service information.

[0072] In combination with the third aspect, in certain implementations of the third aspect, the third device receives read response information from the first device, and the read response information may include transmission path information corresponding to the data service information.

[0073] In combination with the third aspect, in certain implementations of the third aspect, the third device sends deletion information to the first device, where the deletion information is used to delete the transmission path information corresponding to the data service information.

[0074] In combination with the third aspect, in certain implementations of the third aspect, the third device receives confirmation information from the first device, where the confirmation information is used to confirm that the first device has completed deletion of the transmission path information.

[0075] In combination with the third aspect, in certain implementations of the third aspect, the third device receives statistical information from the first device, where the statistical information includes quantity information of data packets or byte quantity information of data packets.

[0076] In combination with the third aspect, in certain implementations of the third aspect, the statistical information is obtained by taking transmission path information or data service information as a granularity.

[0077] In combination with the third aspect, in certain implementations of the third aspect, the data service information is any one of the following: an identifier of a federated learning service, an identifier of a distributed learning service, or an identifier of a data aggregation service.

[0078] For the beneficial effects of the implementation method of the third aspect that are not described above, reference can be made to the description of the beneficial effects in the corresponding implementation method of the second aspect, and no further details will be given here.

[0079] In a fourth aspect, a method for transmitting a data message is provided. The method can be applied to a communication system comprising a first device and a third device. The first device can be a functional network element in a network, or a chip or circuit in a terminal device, a network device, a core network device, or an operation and maintenance management device, or a logic module or software capable of implementing all or part of the functions of the terminal device, the network device, the core network device, or the operation and maintenance management device, and this application does not limit this. The third device can be a functional network element in a network, or a chip or circuit in a network device or a core network device, or a logic module or software capable of implementing all or part of the functions of the network device or the core network device, and this application does not limit this. The method includes: the third device generating corresponding relationship information indicating a correspondence between data service information and transmission path information of the data message, sending the corresponding relationship information to the first device; and the first device receiving the corresponding relationship information.

[0080] In combination with the fourth aspect, in certain implementations of the fourth aspect, the method also includes: the first device obtains business data, determines third transmission path information based on the data service information and the corresponding relationship, and the third transmission path information includes information of the second device. The second device is a processing node for the third data packet and sends the third data packet to the second device. The third data packet includes the third transmission path information and a data payload corresponding to the business data.

[0081] Based on the above solution, in a communication system, a third device configures the correspondence between data service information and the transmission path information to the first device, enabling the first device to determine the transmission path information corresponding to a particular data service information based on the correspondence and transmit the data packet based on the transmission path information. In this solution, the third device can dynamically construct and maintain the transmission path information for the data packet, making the data packet transmission process more flexible. The first device can also determine the next processing node for the data packet based on the transmission path information, reducing the processing complexity of the first device.

[0082] In combination with the fourth aspect, in some implementations of the fourth aspect, the third transmission path information includes identification information or address information of the second device.

[0083] In combination with the fourth aspect, in certain implementations of the fourth aspect, the data service information includes first data service information, the first data service information corresponds to N transmission path information, the N transmission path information includes third transmission path information, and N is an integer greater than or equal to 1.

[0084] In combination with the fourth aspect, in certain implementations of the fourth aspect, the correspondence indicated by the correspondence information includes the correspondence between the first data service information and the N transmission path information, where N is an integer greater than 1, and the first device obtains business data, determines N second devices based on the first data service information and the correspondence information, and the first device sends N data packets to the N second devices, wherein each second device is associated with a data packet, and a data packet includes one transmission path information among the N transmission path information.

[0085] In combination with the fourth aspect, in certain implementations of the fourth aspect, the N transmission path information includes information of parallel data processing devices, the parallel data processing devices are processing nodes at the same level of the data message, and N is an integer greater than 1.

[0086] In combination with the fourth aspect, in certain implementations of the fourth aspect, the third device sends N correspondence information to N first devices, where each first device is associated with one correspondence information, and one correspondence information indicates the correspondence between the first data service information and one transmission path information among the N transmission path information, and N is an integer greater than 1.

[0087] In combination with the fourth aspect, in certain implementations of the fourth aspect, each transmission path information in the N transmission path information includes information of data processing devices arranged in order, and the data processing devices arranged earlier in the order of processing data packets are earlier, and N is an integer greater than 1.

[0088] In combination with the fourth aspect, in certain implementations of the fourth aspect, the third device sends configuration information, which is used to configure at least one of the following: the statistical mode of the data packet, the statistical period of the data packet, and the valid time of the transmission path information, and the first device receives the configuration information.

[0089] In combination with the fourth aspect, in certain implementations of the fourth aspect, the first device sends confirmation information, where the confirmation information is used to confirm the configuration information, and the third device receives the confirmation information.

[0090] In combination with the fourth aspect, in certain implementations of the fourth aspect, the third device sends update information, where the update information is used to update the transmission path information corresponding to the data service information, and the first device receives the update information.

[0091] In combination with the fourth aspect, in certain implementations of the fourth aspect, the first device sends confirmation information, where the confirmation information is used to confirm that the first device has completed the update of the transmission path information, and the third device receives the confirmation information.

[0092] In combination with the fourth aspect, in certain implementations of the fourth aspect, the third device sends read information, where the read information is used to read transmission path information corresponding to the data service information, and the first device receives the read information.

[0093] In combination with the fourth aspect, in certain implementations of the fourth aspect, the first device sends read response information, which may include transmission path information corresponding to the data service information, and the third device receives the read response information.

[0094] In combination with the fourth aspect, in certain implementations of the fourth aspect, the third device sends deletion information, where the deletion information is used to delete the transmission path information corresponding to the data service information, and the first device receives the deletion information.

[0095] In combination with the fourth aspect, in certain implementations of the fourth aspect, the first device sends confirmation information, where the confirmation information is used to confirm that the first device has completed deletion of the transmission path information, and the third device receives the confirmation information.

[0096] In combination with the fourth aspect, in certain implementations of the fourth aspect, the third data packet also includes data service information and / or statistical pattern information, the statistical pattern information is used to indicate the statistical pattern of statistical information, and the statistical information includes the quantity information of the data packet or the byte quantity information of the data packet.

[0097] In combination with the fourth aspect, in certain implementations of the fourth aspect, the first device sends statistical information, which includes quantity information of data packets or byte quantity information of data packets, and the third device receives the statistical information.

[0098] In combination with the fourth aspect, in certain implementations of the fourth aspect, the statistical information is obtained by taking transmission path information or data service information of the data packet as the granularity.

[0099] For the beneficial effects of the implementation methods not described in the fourth aspect, please refer to the description of the beneficial effects in the corresponding implementation methods of the second / third aspects, and will not be repeated here.

[0100] In combination with the fourth aspect, in certain implementations of the fourth aspect, the data service information is any one of the following: an identifier of a federated learning service, an identifier of a distributed learning service, or an identifier of a data aggregation service.

[0101] In a fifth aspect, a communication device is provided. The communication device is a first device, which can be a functional network element in a network, or a chip or circuit in a terminal device, a network device, a core network device, or an operation and maintenance management device, or a logic module or software that can realize all or part of the functions of the terminal device, the network device, the core network device, or the operation and maintenance management device. This application does not limit this. The first device includes a transceiver unit and a processing unit: the transceiver unit is used to obtain a first data message, the first data message includes first transmission path information, the first transmission path information includes information of the first device and the second device, the processing unit is used to determine the second device based on the first transmission path information, the transceiver unit is used to send a second data message to the second device, the second data message includes second transmission path information, and the data payload in the second data message is obtained based on the data payload in the first data message.

[0102] In combination with the fifth aspect, in certain implementations of the fifth aspect, the second transmission path information does not include information about the first device.

[0103] In combination with the fifth aspect, in certain implementations of the fifth aspect, the first transmission path information includes identification information of the first device and the second device, or the first transmission path information includes address information of the first device and the second device.

[0104] In combination with the fifth aspect, in certain implementations of the fifth aspect, the first data packet and the second data packet also include data service information and / or statistical pattern information, the statistical pattern information is used to indicate the statistical pattern of the statistical information, and the statistical information includes the quantity information of the data packets or the byte quantity information of the data packets.

[0105] In combination with the fifth aspect, in certain implementations of the fifth aspect, the transceiver unit is further used to send statistical information to the third device, where the statistical information includes quantity information of data packets or byte quantity information of data packets.

[0106] In combination with the fifth aspect, in certain implementations of the fifth aspect, the statistical information is obtained by taking transmission path information or data service information of the data packet as the granularity.

[0107] In a sixth aspect, a communication device is provided. The communication device is a first device, which can be a chip or circuit in a terminal device, a network device, a core network device, or an operation and maintenance management device, or a logic module or software that can realize all or part of the functions of the terminal device, the network device, the core network device, or the operation and maintenance management device. This application does not limit this. The first device includes a transceiver unit and a processing unit: the transceiver unit is used to obtain service data, the processing unit is used to determine third transmission path information based on data service information, the third transmission path information includes information of the second device, the second device is a processing node for the third data message, and the transceiver unit is also used to send a third data message to the second device, the third data message includes the third transmission path information and the data payload corresponding to the service data.

[0108] In combination with the sixth aspect, in certain implementations of the sixth aspect, the third transmission path information includes identification information or address information of the second device.

[0109] In combination with the sixth aspect, in certain implementations of the sixth aspect, the transceiver unit is also used to receive correspondence information from a third device, the correspondence information indicating the correspondence between the data service information and the transmission path information, and the processing unit determines the third transmission path information based on the data service information and the correspondence information.

[0110] In combination with the sixth aspect, in certain implementations of the sixth aspect, the data service information includes first data service information, the first data service information corresponds to N transmission path information, the N transmission path information includes third transmission path information, and N is an integer greater than or equal to 1.

[0111] In combination with the sixth aspect, in certain implementations of the sixth aspect, the correspondence indicated by the correspondence information includes the correspondence between the first data service information and N transmission path information, where N is an integer greater than 1, and the transceiver unit is also used to send N data packets to N second devices, wherein each second device is associated with a data packet, and a data packet includes one transmission path information among the N transmission path information.

[0112] In combination with the sixth aspect, in certain implementations of the sixth aspect, the N transmission path information includes information of parallel data processing devices, the parallel data processing devices are processing nodes at the same level of the data message, and N is an integer greater than 1.

[0113] In combination with the sixth aspect, in certain implementations of the sixth aspect, the correspondence indicated by the correspondence information includes a correspondence between the first data service information and the third transmission path information, and in this implementation, N is an integer greater than 1.

[0114] In combination with the sixth aspect, in certain implementations of the sixth aspect, the third transmission path information includes information of the data processing devices arranged in order, and the data processing devices arranged earlier have an earlier order in processing data packets.

[0115] In combination with the sixth aspect, in certain implementations of the sixth aspect, the transceiver unit is also used to receive configuration information from a third device, and the configuration information is used to configure at least one of the following: the statistical mode of the data packet, the statistical period of the data packet, and the valid time of the transmission path information.

[0116] In combination with the sixth aspect, in certain implementations of the sixth aspect, the transceiver unit is further used to send confirmation information to the third device, where the confirmation information is used to confirm the configuration information.

[0117] In combination with the sixth aspect, in certain implementations of the sixth aspect, the transceiver unit is further used to receive update information from a third device, where the update information is used to update transmission path information corresponding to the data service information.

[0118] In combination with the sixth aspect, in certain implementations of the sixth aspect, the transceiver unit is further used to send confirmation information to the third device, where the confirmation information is used to confirm that the first device has completed the update of the transmission path information.

[0119] In combination with the sixth aspect, in certain implementations of the sixth aspect, the transceiver unit is further used to receive read information from a third device, where the read information is used to read transmission path information corresponding to the data service information.

[0120] In combination with the sixth aspect, in certain implementations of the sixth aspect, the transceiver unit is further used to send read response information to the third device, and the read response information may include transmission path information corresponding to the data service information.

[0121] In combination with the sixth aspect, in certain implementations of the sixth aspect, the transceiver unit is further used to receive deletion information from a third device, where the deletion information is used to delete the transmission path information corresponding to the data service information.

[0122] In combination with the sixth aspect, in certain implementations of the sixth aspect, the transceiver unit is further used to send confirmation information to the third device, where the confirmation information is used to confirm that the first device has completed the deletion of the transmission path information.

[0123] In combination with the sixth aspect, in certain implementations of the sixth aspect, the third data packet also includes data service information and / or statistical pattern information, the statistical pattern information is used to indicate the statistical pattern of the statistical information, and the statistical information includes the quantity information of the data packet or the byte quantity information of the data packet.

[0124] In combination with the sixth aspect, in certain implementations of the sixth aspect, the transceiver unit is further used to send statistical information to the third device, where the statistical information includes quantity information of data packets or byte quantity information of data packets.

[0125] In conjunction with the sixth aspect, in certain implementations of the sixth aspect, the statistical information is obtained at the granularity of data packet transmission path information or data service information. In conjunction with the sixth aspect, in certain implementations of the sixth aspect, the data service information is any of the following: an identifier of a federated learning service, an identifier of a distributed learning service, or an identifier of a data aggregation service.

[0126] In a seventh aspect, a communication device is provided. The communication device is a third device. The third device can be a functional network element in the network, a chip or circuit in a network device or core network device, or a logic module or software that can implement all or part of the functions of the network device or core network device. This application does not limit this. The third device includes a processing unit and a transceiver unit: the processing unit is used to generate corresponding relationship information, the corresponding relationship information indicating the corresponding relationship between data service information and transmission path information of the data message, and the transceiver unit is used to send the corresponding relationship information to the first device.

[0127] In combination with the seventh aspect, in certain implementations of the seventh aspect, the transmission path information includes information of a second device, where the second device is a processing node for the data message.

[0128] In combination with the seventh aspect, in some implementations of the seventh aspect, the transmission path information includes identification information of the second device or address information of the second device.

[0129] In combination with the seventh aspect, in some implementations of the seventh aspect, the data service information includes first data service information, the first data service information corresponds to N transmission path information, and N is an integer greater than or equal to 1.

[0130] In combination with the seventh aspect, in certain implementations of the seventh aspect, the correspondence indicated by the correspondence information includes a correspondence between the first data service information and N transmission path information, where N is an integer greater than 1.

[0131] In combination with the seventh aspect, in certain implementations of the seventh aspect, the N transmission path information includes information of parallel data processing devices, the parallel data processing devices are processing nodes at the same level of the data message, and N is an integer greater than 1.

[0132] In combination with the seventh aspect, in certain implementations of the seventh aspect, the transceiver unit is also used to send N correspondence information to N first devices, wherein each first device is associated with one correspondence information, and the one correspondence information indicates the correspondence between the first data service information and one transmission path information among the N transmission path information, and N is an integer greater than 1.

[0133] In combination with the seventh aspect, in certain implementations of the seventh aspect, each transmission path information of the N transmission path information includes information of data processing devices arranged in order, and the data processing devices arranged earlier in the order of processing data packets are earlier, and N is an integer greater than 1.

[0134] In combination with the seventh aspect, in certain implementations of the seventh aspect, the transceiver unit is also used to send configuration information to the first device, and the configuration information is used to configure at least one of the following: the statistical mode of the data packet, the statistical period of the data packet, and the valid time of the transmission path information.

[0135] In combination with the seventh aspect, in certain implementations of the seventh aspect, the transceiver unit is further used to receive confirmation information from the first device, and the confirmation information is used to confirm the configuration information.

[0136] In combination with the seventh aspect, in some implementations of the seventh aspect, the transceiver unit is further used to send update information to the first device, where the update information is used to update the transmission path information corresponding to the data service information.

[0137] In combination with the seventh aspect, in some implementations of the seventh aspect, the transceiver unit is further used to receive confirmation information from the first device, where the confirmation information is used to confirm that the first device has completed the update of the transmission path information.

[0138] In combination with the seventh aspect, in some implementations of the seventh aspect, the transceiver unit is further used to send read information to the first device, where the read information is used to read transmission path information corresponding to the data service information.

[0139] In combination with the seventh aspect, in some implementations of the seventh aspect, the transceiver unit is further used to receive read response information from the first device, and the read response information may include transmission path information corresponding to the data service information.

[0140] In combination with the seventh aspect, in certain implementations of the seventh aspect, the transceiver unit is further used to send deletion information to the first device, where the deletion information is used to delete the transmission path information corresponding to the data service information.

[0141] In combination with the seventh aspect, in certain implementations of the seventh aspect, the transceiver unit is further used to receive confirmation information from the first device, where the confirmation information is used to confirm that the first device has completed deletion of the transmission path information.

[0142] In combination with the seventh aspect, in certain implementations of the seventh aspect, the transceiver unit is further used to receive statistical information from the first device, where the statistical information includes quantity information of data packets or byte quantity information of data packets.

[0143] In combination with the seventh aspect, in certain implementations of the seventh aspect, the statistical information is obtained by taking transmission path information or data service information as a granularity.

[0144] In combination with the seventh aspect, in certain implementations of the seventh aspect, the data service information is any one of the following: an identifier of a federated learning service, an identifier of a distributed learning service, or an identifier of a data aggregation service.

[0145] In an eighth aspect, a communication device is provided, comprising a processor coupled to a memory and configured to execute instructions in the memory to implement any of the first and second aspects, and any possible implementation of the method described in any of the first and second aspects. Optionally, the device further comprises a memory, which may be deployed separately from the processor or centrally. Optionally, the device further comprises a communication interface, the processor coupled to the communication interface.

[0146] In one implementation, the communication interface may be a transceiver, or an input / output interface.

[0147] In another implementation, the device is a first device, which can be a functional network element in the network, a chip or circuit in a terminal device, a network device, a core network device, or an operation and maintenance management device, or a logic module or software that can implement all or part of the functions of the terminal device, network device, core network device, or operation and maintenance management device. This application does not limit this. When the device is a chip, the communication interface can be an input / output interface, interface circuit, output circuit, input circuit, pin, or related circuit on the chip or chip system. The processor can also be embodied as a processing circuit or a logic circuit.

[0148] Optionally, the transceiver may be a transceiver circuit. Optionally, the input / output interface may be an input / output circuit.

[0149] In a specific implementation, the processor may be one or more chips, the input circuit may be an input pin, the output circuit may be an output pin, and the processing circuit may be a transistor, a gate circuit, a trigger, or various logic circuits. The input signal received by the input circuit may be, but is not limited to, received and input by a receiver, and the signal output by the output circuit may be, but is not limited to, output to and transmitted by a transmitter. The input circuit and the output circuit may be the same circuit, which functions as an input circuit and an output circuit at different times. The embodiments of the present application do not limit the specific implementation of the processor and various circuits.

[0150] In a ninth aspect, a communication device is provided, comprising a processor coupled to a memory and configured to execute instructions in the memory to implement the method of the third aspect and any possible implementation thereof. Optionally, the device further comprises a memory, which may be deployed separately from the processor or centrally. Optionally, the device further comprises a communication interface, the processor coupled to the communication interface.

[0151] In one implementation, the communication interface may be a transceiver, or an input / output interface.

[0152] In another implementation, the device is a third device, which can be a functional network element in the network, a chip or circuit in a network device or core network device, or a logic module or software that can implement all or part of the network device or core network device functions. This application is not limited to this. When the device is a chip, the communication interface can be an input / output interface, interface circuit, output circuit, input circuit, pin, or related circuit on the chip or chip system. The processor can also be embodied as a processing circuit or a logic circuit.

[0153] Optionally, the transceiver may be a transceiver circuit. Optionally, the input / output interface may be an input / output circuit.

[0154] In a specific implementation, the processor may be one or more chips, the input circuit may be an input pin, the output circuit may be an output pin, and the processing circuit may be a transistor, a gate circuit, a trigger, or various logic circuits. The input signal received by the input circuit may be, but is not limited to, received and input by a receiver, and the signal output by the output circuit may be, but is not limited to, output to and transmitted by a transmitter. The input circuit and the output circuit may be the same circuit, which functions as an input circuit and an output circuit at different times. The embodiments of the present application do not limit the specific implementation of the processor and various circuits.

[0155] In the tenth aspect, a communication device is provided, which includes a logic circuit and an input / output interface, wherein the logic circuit is used to couple with the input / output interface and transmit data through the input / output interface to execute any aspect of the first to third aspects above, and any possible implementation method of the first to third aspects.

[0156] In the eleventh aspect, a communication system is provided, which includes a first device and a third device, the first device is used to execute any aspect of the first to second aspects above, and the method in any possible implementation of the first to second aspects; the third device is used to execute the third aspect above, and the method in any possible implementation of the third aspect.

[0157] In the twelfth aspect, a computer-readable storage medium is provided, which stores a computer program (also referred to as code, or instructions). When the computer program is run on a computer, the computer executes any one of the above-mentioned aspects 1 to 3, and any possible implementation of the methods in the first to third aspects.

[0158] In the thirteenth aspect, a computer program product is provided, which includes: a computer program (also referred to as code, or instructions), which, when executed, enables a computer to execute any one of the above-mentioned first to third aspects, and any possible implementation method of the first to third aspects.

[0159] The beneficial effects brought about by the above-mentioned fifth to thirteenth aspects can be referred to the description of the beneficial effects in the first to third aspects, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0160] FIG1 is a network architecture provided in an embodiment of the present application.

[0161] FIG2 is a flow chart of an interaction method for transmitting a data message provided in an embodiment of the present application.

[0162] FIG3 is a flow chart of another method for transmitting data packets provided in an embodiment of the present application.

[0163] FIG4 is a schematic diagram of a data aggregation scenario provided in an embodiment of the present application.

[0164] FIG5 is a schematic diagram of a data aggregation and data distribution scenario provided in an embodiment of the present application.

[0165] FIG6 is a schematic block diagram of a communication device provided in an embodiment of the present application.

[0166] FIG7 is a schematic structural diagram of a communication device provided in an embodiment of the present application.

[0167] FIG8 is a schematic structural diagram of another communication device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0168] The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings.

[0169] FIG1 is a network architecture provided in an embodiment of the present application.

[0170] The communication system 100 shown in Figure 1 includes a data source, a data plane, and data consumers. Data sources (e.g., data source 00, data source 01) can be devices that generate business data; the data plane is used for data processing, such as data collection, data storage, data preprocessing, data analysis, data service application program interfaces (APIs), and so on. Data consumers (e.g., data consumers 50, data consumers 51) can be devices that use the processed data. The data plane includes data processing devices (e.g., data processing devices 10, 11, 20, 21, 22, and 23) and a data orchestration device 30. The data processing devices can be processing nodes for business data. The data orchestration device can configure basic information for the data processing devices, such as identification information. The data processing nodes involved in different data services can be different, and therefore, the corresponding transmission paths for different data services can be different. Figure 1 shows two data transmission paths: the first path: data source 00 → data processing device 10 → data processing device 21 → data processing device 23 → data consumer 51; the second path: data source 01 → data processing device 11 → data processing device 20 → data processing device 22 → data consumer 50. The "→" indicates the direction of service data transmission. The data communication network shown in Figure 1 can operate as a message bus for data exchange between different data processing devices.

[0171] For example, the data processing device may be a data agent (DA), which may perform processing tasks such as data collection, storage, pre-processing, and analysis on the data. The data processing device may be deployed independently, for example, deployed in the network in the form of a network function (NF) or a network element. The data processing device may also be built into a network node, for example, built into a terminal device, a radio access network (RAN) node, a core network (CN) node, or an operation administration and maintenance (OAM) node. When the data processing device is not deployed independently, it may be merged with the existing functions in the above-mentioned nodes to implement the function of processing data. The data processing device may also be evolved from the above-mentioned nodes. For example, the data processing device is evolved from the network data analysis function (NWDAF), including the ability to implement the existing functions of NWDAF, as well as scenario use cases based on NWDAF implementation, etc. This application does not impose any restrictions on this.

[0172] For example, the data orchestration device can be a data orchestrator (DO), which can receive data service requirements from applications (data service requirements such as data collection, federated learning training or reasoning based on network collected data, etc.), and determine the data processing device based on the requirement, that is, dynamically establish an end-to-end (E2E) overlay topology network for the data application. The overlay topology network is the data processing network, and the network nodes in the network (i.e., data processing devices) are the data processing nodes. The DO can orchestrate the flow of data between DAs in the data communication network and can feedback the response to the requirement to the application, such as feedback to the application that the overlay topology network has been established. The data orchestration device can be deployed independently, for example, deployed in the network in the form of NF or network element, or built into the network node, for example, built into the RAN node or CN node. This application does not limit this.

[0173] As you can understand, the upper-layer network is relative to the underlying network (underlay), and is a logical network built on the underlying network. Network virtualization technology allows one or more virtual logical networks to be constructed on the same underlying network. Different upper-layer networks can share the equipment and lines of the underlying network, but the services in the upper-layer network can be decoupled from the physical networking and interconnection technologies of the underlying network.

[0174] Optionally, the data plane further includes a trusted device 40, which is used to ensure data credibility and protect data from attacks.

[0175] For example, the trusted device can be a trusted anchor (TA), which can provide security services such as authentication, authorization accounting (AAA), store tamper-proof data, public keys of user equipment (UE) or network elements (NE), data with a small amount of data but tamper-proof characteristics, or important data that cannot be tampered with.

[0176] Optionally, the data plane further includes a storage device 24 .

[0177] For example, when a large amount of data needs to be stored, or when data needs to be stored for a long time, the storage device can be used as a storage extension of the data processing device. The storage device is, for example, a data storage function (DSF) network element, which is not limited in this application.

[0178] The method provided in the embodiment of the present application may also involve devices or communication nodes not shown in Figure 1. Of course, the communication method provided in the embodiment of the present application may also only include some of the devices or communication nodes shown in Figure 1, and the embodiment of the present application is not limited to this.

[0179] It can be understood that the names described above or shown in the figures (such as data arrangement device, data processing device, DO, DA, TA, etc.) are only examples, and the above-mentioned devices can also be called other names, which is not limited in this application.

[0180] The above-mentioned network architecture applied to the embodiment of the present application is an example, and the network architecture applicable to the embodiment of the present application is not limited to this. Any network architecture that can realize the functions of some or all of the above-mentioned devices is applicable to the embodiment of the present application.

[0181] The terminal device may be a wireless terminal device capable of receiving network device scheduling and instruction information. The terminal device may be a device that provides voice and / or data connectivity to a user, a handheld device with wireless connection function, or other processing device connected to a wireless modem.

[0182] Terminal device: This may also be referred to as a terminal, access terminal, subscriber unit, user equipment (UE), subscriber station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, wireless communication device, user agent, or user device. A terminal device is a device that includes wireless communication capabilities (providing voice / data connectivity to the user). Examples include handheld devices with wireless connectivity or in-vehicle devices. The terminal in the embodiments of the present application can be a mobile phone, a tablet computer, a computer with wireless transceiver function, a train, an airplane, a mobile internet device (MID), a virtual reality (VR) terminal, an augmented reality (AR) terminal, a wireless terminal in industrial control (such as a robot, etc.), a wireless terminal in the Internet of Vehicles (such as an on-board device, a whole vehicle device, an on-board module, a vehicle, etc.), a wireless terminal in self-driving, a wireless terminal in remote medical, a wireless terminal in a smart grid, a wireless terminal in transportation safety, a wireless terminal in a smart city, a wireless terminal in a smart home, a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), or a similar device. assistant, PDA), handheld devices with wireless communication capabilities, computing devices or other processing devices connected to a wireless modem, vehicle-mounted devices, wearable devices, terminals in 5G networks or terminals in future evolution networks (such as 6G), etc.

[0183] Wearable devices, also known as wearable smart devices, are a general term for wearable devices developed by applying wearable technology to intelligently design everyday wearables, such as glasses, gloves, watches, clothing, and shoes. A wearable device is a portable device that is worn directly on the body or integrated into the user's clothing or accessories. Wearable devices are not just hardware devices; they achieve powerful functions through software support, data interaction, and cloud interaction. Broadly speaking, wearable smart devices include devices that are fully functional, large in size, and can achieve full or partial functions without relying on smartphones, such as smart watches or smart glasses, as well as devices that focus on a specific type of application function and need to be used in conjunction with other devices such as smartphones, such as various smart bracelets and smart jewelry for vital sign monitoring.

[0184] An access network node can be a device in a wireless network. For example, an access network node can be a device deployed in a radio access network that provides wireless communication capabilities for terminal devices. For example, an access network node can be a radio access network (RAN) node that connects terminal devices to a wireless network, and can also be called an access network device.

[0185] Access network nodes include, but are not limited to, evolved Node B (eNB), radio network controller (RNC), Node B (NB), base station controller (BSC), base transceiver station (BTS), home evolved Node B (HeNB, or home Node B, HNB), baseband unit (BBU), server, wearable device, vehicle-mounted device, access point (AP) in a WIFI system, wireless relay node, wireless backhaul node, transmission point (TP) or transmission and reception point (TRP), etc., and can also be 5G, such as a gNB in ​​an NR system, or a transmission point (TRP or TP), one or a group (including multiple antenna panels) of antenna panels of a base station in a 5G system, or a network node constituting a gNB or a transmission point, such as a baseband unit (BBU) or a distributed unit (DU), etc. It can also be an access network node in 6G, which is not limited in this application. Among them, the base station can be a macro base station, a micro base station, a pico base station, a small station, a relay station or a balloon station, etc.

[0186] In some deployments, a gNB may include a centralized unit (CU) and a DU. The gNB may also include an active antenna unit (AAU). The CU implements some gNB functions, while the DU implements some gNB functions. For example, the CU is responsible for processing non-real-time protocols and services, implementing the functions of the radio resource control (RRC) and packet data convergence protocol (PDCP) layers. The DU is responsible for processing physical layer protocols and real-time services, implementing the functions of the radio link control (RLC), media access control (MAC), and physical (PHY) layers. The AAU implements some physical layer processing functions, RF processing, and active antenna-related functions. RRC layer information is generated by the CU and ultimately encapsulated by the DU's PHY layer into PHY layer information, or is converted from PHY layer information. Therefore, in this architecture, higher-layer signaling, such as RRC layer signaling, can also be considered to be sent by the DU, or by a combination of the DU and the AAU. It is understood that the network device may include one or more of a CU node, a DU node, and an AAU node. In addition, the CU may be classified as a network device in an access network (RAN) or a network device in a core network (CN), which is not limited in this application.

[0187] The functions of the core network nodes are to provide user connections, user management, and carry session services.

[0188] The technical solutions of the embodiments of the present application can be applied to various communication systems, such as: long term evolution (LTE) system, advanced long term evolution (LTE-A) system, LTE frequency division duplex (FDD) system, LTE time division duplex (TDD) system, wireless fidelity (Wi-Fi) communication system, universal mobile telecommunication system (UMTS), worldwide interoperability for microwave access (WiMAX) communication system, fifth generation (5G) system or future evolved communication system (for example, 6G mobile communication system), vehicle-to-other devices (V2X), where V2X may include vehicle to network (V2N), vehicle to vehicle (V2V), vehicle to infrastructure (V2I), vehicle to pedestrian (V2P), etc., long term evolution technology for vehicle-to-vehicle communication (V2N), vehicle to vehicle (V2V), vehicle to infrastructure (V2I), vehicle to pedestrian (V2P), etc. evolution-vehicle (LTE-V), Internet of Vehicles, machine type communication (MTC), Internet of Things (IoT), long term evolution-machine (LTE-M), machine to machine (M2M), etc.

[0189] The data generated in the communication network will be transmitted to each data processing node in the form of data packets. For example, network perception data, user data, artificial intelligence (AI) data, IoT data, etc. need to be carried by a data pipeline (DP) with functions such as collection, processing, transmission, storage, and analysis. A data pipeline can be understood as a path in the upper topology network (such as the first path or the second path shown in Figure 1). The processing nodes in a data pipeline can be determined by the data orchestration device. For example, the data orchestration device can establish a data pipeline based on the data service request and the capabilities of each data processing device. The data pipeline can be unidirectional. After the data pipeline is established, the processing nodes in the data pipeline can be determined, and the operations that each processing node needs to perform on the data can be determined. The data flows in the data pipeline and completes the processing operations at the processing nodes it flows through.

[0190] It can be understood that the data pipeline is a name given to more clearly describe the solution of this application. The data pipeline can also be replaced with other names, and this application does not impose any restrictions on this.

[0191] Each processing node in a data pipeline needs to perform on-path packet processing (e.g., collection, preprocessing, transmission, storage, analysis, etc.) on the data packets containing the data before forwarding them to the next processing node. Communication between different processing nodes in a data pipeline can rely on the communication path of the underlying network, but how each processing node in the data pipeline determines the next processing node for a data packet can be decoupled from the underlying network. The following describes the method for transmitting data packets between processing nodes provided by this application.

[0192] FIG2 is a flow chart of a data message transmission method provided by an embodiment of the present application. The method 200 shown in FIG2 includes:

[0193] S210, data processing device #0 obtains business data.

[0194] In a possible implementation manner, data processing device #0 is a device for collecting business data, or is the first processing node of business data, that is, an initial processing node.

[0195] For example, data processing device #0 is the entry DA of the data pipeline (for example, the data processing device 10 or the data processing device 11 shown in Figure 1), and the entry DA is used to obtain business data from the data source. The data source is the source of data generation, such as a sensor, a built-in collector of network function parameters, etc. Business data is data collected / collected at the data source. For example, business data includes data perceived by sensors, performance data of network functions in network data, or resource utilization information, etc. The types of business data corresponding to different data sources may be different. For example, when the data source is a temperature sensor, the business data is data representing the temperature. When the data source is a pressure sensor, the business data is data representing the pressure. This application does not impose any restrictions on this.

[0196] S220: Data processing device #0 determines data processing device #1.

[0197] In one possible implementation, data processing device #0 determines transmission path information (corresponding to the third transmission path information in the invention content) based on data service (DS) information. The transmission path information includes information of data processing device #1. Data processing device #1 is the processing node of data packet #1. Data packet #1 includes the data payload corresponding to the business data and the transmission path information.

[0198] It should be understood that data services are based on a framework for data collection, storage, forwarding, and analysis. They meet the requirements of data laws and regulations, balance data sharing and security, and provide data as a service product. Data service information can be used to identify data services. Different applications (data consumers) may have different data service requirements, and therefore different data services may be required for different applications. Data service information can be used to distinguish different data services.

[0199] For example, data services include federated learning, distributed learning, and data aggregation, and the data service information is a data service identifier. For example, the identifier (ID) of the federated learning service is DS_ID 1, the identifier of the distributed learning service is DS_ID 2, and the identifier of the data aggregation service is DS_ID 3. The above list only includes some data services, and the listed data service identifiers are only examples and are not limited in this application.

[0200] Specifically, the data processing device #0 may determine the data service information based on the acquired business data, and determine the transmission path information corresponding to a certain data service according to the correspondence between the data service information and the transmission path information of the data message.

[0201] Alternatively, the data processing device #0 obtains business data and data service information corresponding to the business data, and determines the transmission path information corresponding to a certain data service based on the correspondence between the data service information and the transmission path information of the data message. The transmission path information can be encapsulated into the data message.

[0202] It can be understood that the data processing device #0 locally stores the correspondence between the data service information and the transmission path information of the data message, or the data processing device #0 can obtain the correspondence from the data orchestration device. This application does not limit the method of obtaining the correspondence.

[0203] For example, the service data acquired by data processing device #0 is data for federated learning, and the data service identifier of the federated learning service is DS_ID 1. The data service identifier can also be understood as a data pipe identifier (because different data services can correspond to different data pipes, that is, different data processing devices in the data pipes corresponding to different data services can be different). For example, the data pipe identifier corresponding to the federated learning service is DP_ID 1, and DS_ID 1 / DP_ID 1 corresponds to transmission path information #1. Transmission path information #1 includes information about one or more data processing devices that process service data for federated learning. Different data pipe identifiers or different data service identifiers correspond to different transmission path information.

[0204] In one possible implementation, the transmission path information includes identification information of one or more data processing devices. The identification information of the data processing devices may be pre-assigned by a data orchestration device (e.g., the data orchestration device shown in FIG1 ). In other words, the data orchestration device may assign an identification to each data processing device (including data processing device #0 and data processing device #1) on the overlay network.

[0205] Optionally, the transmission path information includes information of parallel data processing devices, where the parallel data processing devices are processing nodes at the same level of the data message.

[0206] Optionally, the transmission path information includes information of data processing devices arranged in sequence, and a data processing device arranged earlier in the sequence processes data packets earlier.

[0207] For example, transmission path information #1 is {DA_ID1, [DA_ID 2 (DA_ID 4) | (DA_ID 3 (DA_ID 5)]}, where DA_ID1, DA_ID 2, DA_ID3, DA_ID4, and DA_ID5 are identifiers pre-assigned by the data arrangement device. (DAi|DAj) indicates that DAi and DAj are parallel data processing devices, that is, processing nodes at the same level of the data message, which can process different data payloads. (DAi, DAj) or (DAi(DAj) indicates that DAi and DAj are in a sequential relationship, and DAj is arranged later, that is, DAj is the next processing node of DAi. In this example, there are two paths: DA_ID1→DA_ID2→DA_ID4; DA_ID1→DA_ID3→DA_ID5. Among them, DA_ID 2 and DA_ID3 are parallel, DA_ID4 and DA_ID5 are parallel, and DA_ID1 and DA_ID 2. DA_ID2 and DA_ID4, DA_ID1 and DA_ID3, and DA_ID3 and DA_ID5 are in a sequential relationship. The device corresponding to DA_ID1 can send data packets to the devices corresponding to DA_ID 2 and DA_ID3, asking them to process the data payload in the data packets. If the data payloads in the sent data packets are the same, this scenario is a data multicast scenario. If the data payloads in the sent data packets are different, this scenario is a data distribution scenario.

[0208] It can be understood that the above format of transmission path information #1 is only an example and this application does not limit it.

[0209] In another possible implementation, the transmission path information includes address information of one or more data processing devices. The address information may be routing address information of the one or more data processing devices in the underlying network, which is not limited in this application.

[0210] For example, transmission path information #1 is {Add1, [Add 2 (Add 4) | Add 3 (Add 5)]}, where Add1, Add2, Add3, Add4, and Add5 are the address information of the data processing devices. (Add i | Add j) indicates that Add i and Add j are parallel data processing devices, that is, processing nodes at the same level of the data message. (Add i, Add j) or (Addi (Addj)) indicates that Add i and Add j are in a sequential relationship, and Add j is arranged later, that is, Add j is the next processing node of Add i. In this example, there are two paths: Add1 → Add2 → Add4; Add1 → Add3 → Add5. Among them, Add2 and Add3 are parallel, Add4 and Add5 are parallel, and Add1 and Add 2, Add2 and Add 4, Add1 and Add3, and Add3 and Add5 are in a sequential relationship. The device corresponding to Add1 can send data packets to the devices corresponding to Add 2 and Add3 to let them process the data payload in the data packets. If the data payloads in the sent data packets are the same, this scenario is a data multicast scenario. If the data payloads in the sent data packets are different, this scenario is a data distribution scenario.

[0211] It can be understood that the above format of transmission path information #1 is only an example and this application does not limit it.

[0212] S230: Data processing device #0 sends data message #1 to data processing device #1. Data message #1 includes transmission path information and a data payload corresponding to the service data. Correspondingly, data processing device #1 receives data message #1.

[0213] For example, data processing device #0 processes service data into a data payload and encapsulates it into data packet #1. The header of data packet #1 includes transmission path information, which includes information about the processing nodes of data packet #1. For example, if data packet #1 has two processing nodes, data processing device #1 and data processing device #2, the transmission path information includes information about data processing device #1 and data processing device #2.

[0214] Optionally, data packet #1 further includes a data service identifier or a data pipe identifier (eg, DS_ID 1 / DP_ID 1).

[0215] Optionally, data packet #1 also includes statistical mode information, which is used to indicate the statistical mode of statistical information. The statistical information includes the quantity information of the data packet or the byte quantity information of the data packet, or the statistical information includes other quantity information. This application does not impose any restrictions on this.

[0216] The data message includes statistical mode information, which enables the processing node of the data message to determine the statistical method of the statistical information through the statistical mode information indicated in the data message, and thus to report the statistical information according to the indication in the data message.

[0217] For example, the statistical pattern information is a statistical pattern code. The following describes the meanings of different statistical pattern codes:

[0218] 000: indicates that the number of packets is counted at the granularity of data service information;

[0219] 001: indicates that the number of packets is counted based on the transmission path information granularity;

[0220] 010: indicates that the number of bytes is counted at the granularity of data service information;

[0221] 011: indicates that the number of bytes is counted based on the transmission path information granularity;

[0222] 100: indicates that the number of packets and bytes is counted based on the granularity of data service information.

[0223] 101: indicates that the number of packets and bytes is counted based on the transmission path information.

[0224] 111: No statistics or reporting

[0225] It should be noted that data processing device #0 can report statistical information to the data orchestration device after the data message is sent, and data processing device #1 can report statistical information to the data orchestration device after the data message arrives or is sent. This application does not impose any restrictions on this.

[0226] It is understood that the above statistical mode codes and their corresponding meanings are predefined or preconfigured by the data arrangement device and each processing node (e.g., data processing device #0, data processing device #1). It should be noted that the meanings of the above different statistical mode codes are interchangeable and are not limited in this application.

[0227] For example, data processing device #0 and data processing device #1 are nodes in the overlay network. Therefore, during the actual transmission of data packet #1, data processing device #0 can determine the routing path from data processing device #0 to data processing device #1 through the addressing method of the underlying network, thereby sending data packet #1 to data processing device #1.

[0228] For example, the identifier of data processing device #1 in the overlay network is the same as the address of data processing device #1 in the underlying network. Data processing device #0 can determine the routing path from data processing device #0 to data processing device #1 in the underlying network based on the identifier of data processing device #1, and transmit data packet #1 to data processing device #1 through the routing path.

[0229] For another example, the identifier of data processing device #1 in the overlay network is different from the address in the underlying network. In this embodiment, data processing device #0 can locally store the correspondence between the identifier of data processing device #1 in the overlay network and the address in the underlying network, and then determine the address of data processing device #1 based on the correspondence, and determine the routing path from data processing device #0 to data processing device #1 in the underlying network, and transmit data packet #1 to data processing device #1 through the routing path.

[0230] Optionally, the method 200 further includes:

[0231] S201: A data arrangement device sends correspondence information indicating a correspondence between data service information and transmission path information. Correspondingly, data processing device #0 receives the correspondence information.

[0232] Optionally, data processing nodes (e.g., the data processing devices shown in Figure 1, including data processing device #0 and data processing device #1) send registration information to the data orchestration device. This registration information may indicate their capabilities / functions. Based on the registration information of each processing node, the data orchestration device generates an overlay network composed of processing nodes. Furthermore, the data orchestration device may assign an identifier to each data processing device on the overlay network.

[0233] The above process of assigning identifiers to each data processing device can be called an initialization process of the overlay network.

[0234] Optionally, before sending the correspondence information, the data orchestration device calculates transmission paths for different data service requests based on the data service requests of the application and the capabilities / functions of the network nodes in the overlay network.

[0235] For example, the data orchestration device calculates the transmission path of the federated learning data message as DA#1→DA#2→upper-layer application based on the data service request of the federated learning application. At this time, DA#1 is the entry DA (corresponding to data processing device #0), that is, the first processing node of the data message, which can also be understood as the network node that generates the data message.

[0236] After the data arrangement device calculates the transmission paths for different data services, it generates a correspondence between the data service information and the transmission path information, and sends the correspondence information to the corresponding data processing device #0, where the correspondence indicates the correspondence between the data service information and the transmission path information.

[0237] For example, the corresponding relationship generated by the data arrangement device is such as Table 1.

[0238] Table 1

[0239]

[0240] As shown in Table 1, a data service identifier can correspond to multiple transmission path information, where multiple transmission path information can correspond to one data processing device #0 or multiple data processing devices #0. For example, DS_ID 1 corresponds to two data processing devices #0 and two transmission path information. DA#1 is associated with transmission path information ① (DA#2, upper-layer application), and DA#3 is associated with transmission path information ② (DA#6, upper-layer application). The data orchestration device sends the correspondence information between DS_ID 1 and transmission path information ① to DA#1, and the data orchestration device sends the correspondence information between DS_ID 1 and transmission path information ② to DA#3. Transmission path information ① and transmission path information ② have different initial processing nodes but the same final processing node, making them suitable for data aggregation scenarios. Data aggregation occurs when multiple data processing devices send data packets to a network node (e.g., a data processing device or application), and the data packets sent by different data processing devices belong to the same data service identifier.

[0241] For another example, DS_ID2 corresponds to a data processing device #0 and corresponds to two transmission path information. DA#1 associates transmission path information ③ (DA#2, DA#4) and transmission path information ④ (DA#2, DA#5). The data orchestration device sends the correspondence information between DS_ID 2 and transmission path information ③ and transmission path information ④ to DA#1. The initial processing nodes of transmission path information ③ and transmission path information ④ are the same, but the final processing nodes are different, which is suitable for data distribution or multicast scenarios. Data multicast means that a data processing device sends the same data message to two or more data processing devices (the same data message corresponds to a data service identifier, for example, the same data message corresponds to data service identifier #1). Data distribution means that a data processing device sends different data messages to two or more data processing devices (different data messages correspond to a data service identifier, for example, different data messages correspond to data service identifier #2).

[0242] It should be understood that S201 may be before S210, or S201 may be before S220, and this application does not impose any limitation on this.

[0243] It is understood that Table 1 is only an example and Table 1 can be transformed in other forms, which is not limited by this application. For example, Table 1 is transformed into the first column being data processing device #0 and the second column being data service information, which are not listed here one by one.

[0244] It can also be understood that the correspondence information sent by the data orchestration apparatus to a data processing device #0 in S201 can indicate the correspondence between one or more data service information and transmission path information. That is, the data orchestration apparatus can send the correspondence between the data service information and the transmission path information to the relevant data processing device #0 for a piece of data service information. For example, referring to Table 1, for DS_ID 1, the data orchestration apparatus sends the correspondence information between DS_ID 1 and (DA#2, upper-layer application) to DA#1, and sends the correspondence information between DS_ID 1 and (DA#6, upper-layer application) to DA#3. Alternatively, the data orchestration apparatus can send the correspondence between the data service information and transmission path information involved in each data processing device #0 to each data processing device #0. For example, for DA#1, the data orchestration device sends the correspondence information between DS_ID 1 and (DA#2, upper-layer application), as well as the correspondence information between DS_ID 2 and (DA#2, DA#4|DA#5) to DA#1. The correspondence between the above-mentioned different data service information can be sent simultaneously or separately, and this application does not impose any restrictions on this. DA#1 can select the correspondence to use from the correspondence information sent by the above-mentioned data orchestration device based on the acquired data service information. For example, if the data service information acquired by DA#1 is DS_ID 1, the transmission path information of the data packet corresponding to DS_ID 1 can be determined to be (DA#2, upper-layer application) through the correspondence between the above-mentioned different data service information.

[0245] Optionally, after receiving the corresponding relationship information, the data processing device #0 stores the transmission path information corresponding to the data service information.

[0246] For example, the data processing device #0 locally stores a correspondence table between data service information and transmission path information. After receiving the correspondence information, the data processing device #0 writes the transmission path information corresponding to the data service information into the correspondence table.

[0247] Optionally, after storing the transmission path information corresponding to the data service information, data processing device #0 sends a confirmation message to the data orchestration device. The confirmation message indicates that data processing device #0 has stored the transmission path information corresponding to the data service information. After receiving the confirmation message, the data orchestration device can confirm that data processing device #0 has stored the transmission path information corresponding to the data service information.

[0248] A possible implementation method can be used in a data multicast scenario. The data service information in S201 includes data service information #1. The data service information #1 corresponds to N transmission path information, where N is an integer greater than or equal to 1.

[0249] S230 can be replaced by:

[0250] Data processing device #0 sends N1 data packets to at least one data processing device #1, wherein each data processing device #1 is associated with at least one data packet, and each data packet includes one transmission path information among N1 transmission path information, where N1 is an integer greater than 1.

[0251] It can be understood that the data service information #1 corresponds to the first data service information in the content of the invention.

[0252] For example, if data service information #1 is DS_ID0, and DS_ID 0 corresponds to three transmission path information (i.e., N1 = 3), the three transmission path information (transmission path information #2, transmission path information #3, and transmission path information #4) correspond to three data processing devices #1, namely DA#2, DA#3, and DA#4. For example, transmission path information #2 corresponds to DA#2, transmission path information #3 corresponds to DA#3, and transmission path information #4 corresponds to DA#4. Data processing device #0 then sends data packet #2 to DA#2, with the header of data packet #2 including transmission path information #2; sends data packet #3 to DA#3, with the header of data packet #3 including transmission path information #3; and sends data packet #4 to DA#4, with the header of data packet #4 including transmission path information #4. Data packets #2, #3, and #4 all have the same data payload.

[0253] A possible implementation method can be used in a data distribution scenario, where the data service information in S201 includes data service information #2, and the data service information #2 corresponds to N2 transmission path information, where N2 is an integer greater than 1.

[0254] It can be understood that the data service information #2 corresponds to the first data service information in the content of the invention.

[0255] S230 can be replaced by:

[0256] Data processing device #0 sends N2 data packets to at least one data processing device #1, wherein each data processing device #1 is associated with at least one data packet, each data packet includes one transmission path information among the N2 transmission path information, and the N2 data packets include two data packets with different data payloads.

[0257] For example, if data service information #2 is DS_ID 1 and DS_ID 1 corresponds to three transmission path information (N2 = 3), the three transmission path information (transmission path information #5, transmission path information #6, and transmission path information #7) correspond to three data processing devices #1, namely DA#5, DA#6, and DA#7. For example, transmission path information #5 corresponds to DA#5, transmission path information #6 corresponds to DA#6, and transmission path information #7 corresponds to DA#7. Data processing device #0 then sends data packet #5 to DA#5, with the header of data packet #5 including transmission path information #5; sends data packet #6 to DA#6, with the header of data packet #6 including transmission path information #6; and sends data packet #7 to DA#7, with the header of data packet #7 including transmission path information #7. Of these, data packet #5, data packet #6, and data packet #7 have different data payloads.

[0258] A possible implementation method can be used in a data aggregation scenario, where data service information #3 corresponds to M transmission path information, and the M transmission path information corresponds to M1 data processing devices #0, where M is an integer greater than 1, and M1 is less than or equal to M. The correspondence information in S201 indicates the correspondence between the data service information #3 and one of the M transmission path information.

[0259] It can be understood that data service information #3 corresponds to the first data service information in the content of the invention.

[0260] For example, if data service information #3 is DS_ID 2, and DS_ID 2 corresponds to three transmission path information (i.e., M = 3), namely transmission path information #a, transmission path information #b, and transmission path information #c, the data processing device #0 corresponding to transmission path information #a is DA#0, the data processing device #0 corresponding to transmission path information #b is DA#1, and the data processing device #0 corresponding to transmission path information #c is DA#2 (i.e., M1 = M = 3). Then, DA#0 sends data packet #8, whose header includes transmission path information #a; DA#1 sends data packet #9, whose header includes transmission path information #b; and DA#2 sends data packet #10, whose header includes transmission path information #c. The final processing node for data packets #8, #9, and #10 can be the same node.

[0261] For example, if DS_ID 2 corresponds to three transmission path information (i.e., M = 3), namely transmission path information #a, transmission path information #b, and transmission path information #c, the data processing device #0 corresponding to transmission path information #a is DA#0, the data processing device #0 corresponding to transmission path information #b is DA#1, and the data processing device #0 corresponding to transmission path information #c is DA#1 (i.e., M1 = 2). Then, DA#0 sends data packet #11, whose header includes transmission path information #a; DA#1 sends data packet #12, whose header includes transmission path information #b; and DA#1 sends data packet #13, whose header includes transmission path information #c. The final processing node for data packets #11, #12, and #13 can be the same node.

[0262] It can be understood that different data service identifiers can correspond to the same transmission path information, or different data service identifiers can correspond to different transmission path information. This application does not impose any restrictions on this, and the above examples do not limit the scope of protection of this application.

[0263] The application scenarios of data message processing and forwarding listed above, such as data multicast, data distribution, and data aggregation, realize flexible topologies of different transmission paths of data messages, thereby improving the flexibility of data message processing and forwarding.

[0264] Optionally, the method 200 further includes:

[0265] S231: The data arrangement device sends configuration information, which is used to configure at least one of the following: a statistical mode of data packets, a statistical period of data packets, and a valid time of transmission path information. Correspondingly, data processing device #0 receives the configuration information.

[0266] For example, when the configuration information configures a statistical mode for data packets, data processing device #0 can calculate the data packets according to the statistical mode, and can encapsulate the statistical mode information in the data packets to inform the processing nodes through which the data packets pass, which mode to use to calculate the data packets. For specific statistical modes, please refer to the example in S230 and will not be described in detail here. When the configuration information configures a statistical period for data packets, data processing device #0 can calculate the data packets according to the statistical period. When the configuration information configures the validity period of transmission path information, data processing device #0 can transmit data packets according to the transmission path information within the validity period of the transmission path information.

[0267] Optionally, the data processing device #0 sends a confirmation message to the data editing device, which is used to confirm the configuration information. After receiving the confirmation message, the data editing device determines that the configuration information has been accurately received by the data processing device #0, that is, the configuration operation has been completed.

[0268] Optionally, the method 200 further includes:

[0269] S232: The data arrangement device sends update information, where the update information is used to update the transmission path information corresponding to the data service information. Correspondingly, the data processing device #0 receives the update information.

[0270] For example, data processing device #0 locally stores a correspondence between data service information and transmission path information. When data processing device #0 receives update information, it can update the transmission path information corresponding to a certain data service information based on the update information. For example, data processing device #0 locally stores a correspondence between DS_ID 1 and transmission path information #1. If the update information includes a correspondence between DS_ID 1 and transmission path information #2, data processing device #0 can update the correspondence between DS_ID 1 and transmission path information #1 to a correspondence between DS_ID 1 and transmission path information #2 based on the update information. After the update, data packets corresponding to DS_ID 1 are transmitted based on transmission path information #2.

[0271] Optionally, the data processing device #0 sends a confirmation message to the data editing device, which is used to confirm the update information. After receiving the confirmation message, the data editing device determines that the update information has been accurately received by the data processing device #0, that is, the update operation has been completed.

[0272] The transmission path information can be updated rather than being fixed all the time, so the data processing device can transmit data packets according to the updated transmission path information, thereby improving the flexibility of data packet transmission and processing.

[0273] Optionally, the method 200 further includes:

[0274] S233: The data arrangement device sends read information, where the read information is used to read the transmission path information corresponding to a certain data service information. Correspondingly, the data processing device #0 receives the read information.

[0275] For example, the read information includes DS_ID 0, which indicates that the data processing device #0 is to send the transmission path information corresponding to DS_ID 0.

[0276] Optionally, data processing device #0 sends a read response message to the data formatting device, where the read response message includes transmission path information corresponding to the data service information. Upon receiving the read response message, the data formatting device determines that the read information has been accurately received by data processing device #0, i.e., the read operation has been completed.

[0277] For example, the read response information includes the transmission path information #0 corresponding to DS_ID 0.

[0278] It should be understood that during the debugging or troubleshooting stage, the data orchestration device can confirm whether the transmission path information corresponding to a certain data service information is accurate by reading the transmission path information in the response information, which facilitates the data orchestration device to troubleshoot and improve system performance.

[0279] Optionally, the method 200 further includes:

[0280] S234: The data arrangement device sends a deletion message, which is used to delete the transmission path information corresponding to a certain data service information. Correspondingly, the data processing device #0 receives the deletion message.

[0281] For example, when the data service corresponding to a certain data service information has ended, the data arrangement device may instruct the data processing device #0 to delete the transmission path information corresponding to the data service information through deletion information. The deletion information may include the transmission path information to be deleted.

[0282] For example, the data orchestration device obtains or receives a data service request, where the data service request is used to request deletion of the transmission path information corresponding to the data service information. The data orchestration device sends deletion information to instruct the data processing device #0 to delete the transmission path information corresponding to the data service information. The deletion information may include the transmission path information that needs to be deleted.

[0283] Optionally, data processing device #0 sends a confirmation message to the data arrangement device, confirming the deletion of the information. Upon receiving the confirmation message, the data arrangement device determines that the deletion message has been accurately received by data processing device #0, indicating that the deletion of the transmission path information has been completed. Accordingly, the data arrangement device may also delete the transmission path information corresponding to the data service information.

[0284] In S234, data processing device #0 deletes the transmission path information in response to an instruction from the data orchestration device. Alternatively, data processing device #0 can periodically trigger deletion of the transmission path information corresponding to the data service information without requiring an instruction from the data orchestration device. After the deletion is complete, the data orchestration device is notified, and the data orchestration device can also delete the transmission path information corresponding to the data service information.

[0285] After a data service ends, or in response to a data service request, the transmission path information corresponding to a data service information is deleted, which can save storage resources of the data arrangement device or the data processing device.

[0286] It can be understood that the confirmation information in the above S231 to S234 can enable the data editing device to confirm whether the data processing device #0 has correctly received the information (for example, configuration information, update information, read information or delete information) and whether the instruction operation of the information has been completed, thereby avoiding the data editing device not knowing whether the information has been correctly received by the data processing device #0 and whether the instruction operation of the information has been completed, resulting in the resending of the information and wasting communication resources.

[0287] Optionally, the method 200 further includes:

[0288] S240: Data processing device #0 sends statistical information, where the statistical information includes the number of data packets or the number of bytes in the data packets. Correspondingly, the data arrangement device receives the statistical information.

[0289] In a possible implementation manner, the statistical information is obtained by taking transmission path information or data service information of the data message as a granularity.

[0290] Example #1: The format of the statistical message including statistical information is as shown in Table 2 below:

[0291] Table 2

[0292] Identification Statistics Mode Statistics Value Timestamp DP_ID 0001nPacket Time #1

[0293] In this example, the identifier DP_ID 0 is used to identify that the statistical information is the number of statistical messages with the transmission path information as the granularity. The statistical value in the statistical message is the number of data messages corresponding to DP_ID 0 (which can be understood as the data pipe identifier corresponding to the transmission path information #0). Time #1 is the time for counting the statistical information, or the time for encapsulating the statistical message. This application does not impose any restrictions on this, and the timestamps in the following text are also understood in this way, and will not be repeated in the following text.

[0294] Statistics: Among them, nPacket(Dp i ) represents the number of data packets corresponding to DP_ID i (i=0), nPacket(DS j ) represents the number of data packets of a data service corresponding to DP_ID 0, and m represents the number of data services corresponding to DP_ID 0.

[0295] Example #2: The format of the statistical message including statistical information is as shown in Table 3 below:

[0296] Table 3

[0297] Identification Statistics Mode Statistics Value Timestamp DP_ID 0011nByte Time #2

[0298] In this example, the identifier DP_ID 0 is used to identify that the statistical information is the number of bytes counted at the granularity of transmission path information, and the statistical value in the statistical message is the number of bytes corresponding to DP_ID 0.

[0299] Statistics: Among them, nByte(DP i ) represents the number of bytes of the data message corresponding to DP_ID i (i=0), nByte(DS j ) represents the number of bytes of a data service corresponding to DP_ID 0, and m represents the number of data services corresponding to DP_ID 0.

[0300] Example #3: The format of the statistical message including statistical information is as shown in Table 4 below:

[0301] Table 4

[0302] Identification Statistics Mode Statistics Value Timestamp DS_ID 0000nPacket Time #3

[0303] In this example, the identifier DS_ID 0 is used to identify that the statistical information is a statistical message number with data service information as the granularity, and the statistical value in the statistical message is the number of data messages corresponding to DS_ID 0.

[0304] Statistics: Among them, nPacket(DP i ) represents the number of data packets corresponding to DS_ID i (i=0), nPacket(DP j ) represents the number of data packets corresponding to a transmission path of DS_ID 0, and m represents the number of transmission paths corresponding to DS_ID 0.

[0305] Example #4: The format of the statistical message including statistical information is shown in Table 5 below:

[0306] Table 5

[0307] Identification Statistics Mode Statistics Value Timestamp DS_ID 0010nByte Time #4

[0308] In this example, the identifier DS_ID 0 is used to identify that the statistical information is the number of bytes counted at the granularity of data service information, and the statistical value in the statistical message is the number of bytes corresponding to DS_ID 0.

[0309] Statistics: Among them, nByte(DP i ) represents the number of bytes of the data message corresponding to DS_ID i (i=0), nByte(DP j ) represents the number of bytes of a transmission path corresponding to DS_ID 0, and m represents the number of transmission paths corresponding to DS_ID 0.

[0310] Example #5: Statistics can also be reported at the granularity of DS|DP. This is applicable to scenarios where one data service corresponds to multiple transmission paths (different transmission paths are distinguished by data pipe identifiers, i.e., DP_ID), or one transmission path corresponds to multiple data services. For example, DS_ID 0 corresponds to DP_ID 0, DP_ID 1, and DP_ID 2. nPacket(DS i ,DP j )= nPacket(DS i |DP j ), nByte(DS i ,DP j )=nByte(DS i |DP j ), for example, nPacket(DS0,DP0) = nPacket(DS0|DP0), nByte(DS0,DP0) = nByte(DS0|DP0). nPacket(DS0|DP0) represents the number of data packets with the data service identifier DS_ID 0 and the data pipe identifier DP_ID 0, and nByte(DS0|DP0) represents the number of bytes in the data packet with the data service identifier DS_ID 0 and the data pipe identifier DP_ID 0.

[0311] It is understood that the reporting of statistical information can be triggered on a timer basis, i.e., data processing device #0 can periodically report statistical information to the data orchestration device, or the data orchestration device can send a request to data processing device #0, and data processing device #0 responds with the request to report statistical information. This application does not impose any restrictions on this.

[0312] It is also understood that Tables 2 to 5 are merely examples, and Tables 2 to 5 may be modified. For example, the format of Tables 2 to 5, the order of the content in rows or columns, or Tables 2 to 5 may be modified, or Tables 2 to 5 may include some of the content in the above example tables, or Tables 2 to 5 may include more content than the content in the above example tables. This application does not impose any restrictions on this.

[0313] The data processing device sends statistical information to the data orchestration device, allowing the data orchestration device to be aware of the number of data packets / bytes flowing through the data processing device, facilitating the data orchestration device's coordination of whether to continue allocating data packets to the data processing device for processing. Assuming the statistical information is obtained at the granularity of transmission path information, the data orchestration device can determine the number of data packets / bytes flowing through each transmission path of the data processing device. Assuming the statistical information is obtained at the granularity of data service information, the data orchestration device can determine the number of data packets / bytes for different data services processed by the data processing device, providing a reference for the data orchestration device's subsequent coordination of data packet allocation.

[0314] Optionally, the method 200 further includes:

[0315] S241: Data processing device #1 sends statistical information, which includes the number of data packets or the number of bytes in the data packets. Correspondingly, the data arrangement device receives the statistical information.

[0316] Similar to S240, the specific content can be found in the relevant description of S240 and will not be repeated here.

[0317] It can be understood that in method 200, data processing device #0 corresponds to the first device in the invention content, data processing device #1 corresponds to the second device in the invention content, and the data arrangement device corresponds to the third device in the invention content.

[0318] Through the method 200 provided in this application, after data processing device #0 obtains service data, it can determine the transmission path information based on the data service information, and then determine the next processing node for the service data. It then encapsulates the processed service data and the transmission path information into a data message and transmits it to the next processing node. Subsequently, data processing device #1 can determine the next processing node after data processing device #1 for the data message based on the transmission path information. In other words, this solution enables other nodes to process data messages during transmission, meeting the demand for distributed data processing under the trend of communication-aware computing integration and improving data utilization efficiency.

[0319] FIG3 is a flow chart of another data message transmission method provided by an embodiment of the present application. The method 300 shown in FIG3 includes:

[0320] S310, data processing device #1 obtains data packet #A, which includes transmission path information #A (corresponding to the first transmission path information in the invention content), and the transmission path information #A includes information of data processing device #1 and information of data processing device #2. Data processing device #2 is the next processing node of data processing device #1.

[0321] For example, the data processing device is an intermediate or final processing node of the data message, and the data message #A may be sent from the data processing device #0 shown in FIG2 , and the transmission path information #A is encapsulated into the data message #A by the data processing device #0.

[0322] S320: Data processing device #1 determines data processing device #2 based on transmission path information #A.

[0323] For example, transmission path information #A is (DA_ID 3, DA_ID 5), where DA_ID 3 is the identifier of data processing device #1, and DA_ID 5 is the identifier of data processing device #2. Data processing device #1 determines data processing device #2 based on (DA_ID 3, DA_ID5).

[0324] It can be understood that the identifiers of data processing device #1 and data processing device #2 can be configured by the data arrangement device.

[0325] For example, the transmission path information #A is (Add3, Add5), where Add3 is the address of the data processing device #1 and Add5 is the address of the data processing device #2. The data processing device #1 determines the data processing device #2 based on (Add3, Add5).

[0326] It can be understood that the addresses of data processing device #1 and data processing device #2 can be reused addresses in the underlying network, and this application does not impose any restrictions on this.

[0327] At step S330, data processing device #1 sends data packet #B. Data packet #B includes transmission path information #B (corresponding to the second transmission path information described in the present invention). The data payload in data packet #B is processed based on the data payload in data packet #A. Correspondingly, data processing device #2 receives data packet #B.

[0328] Optionally, data message #A and data message #B further include a data service identifier (eg, DS_ID 1).

[0329] Optionally, data packet #A and data packet #B also include statistical mode information, which is used to indicate the statistical mode of statistical information. The statistical information includes the quantity information of the data packet or the byte quantity information of the data packet, or the statistical information includes other quantity information. This application does not impose any restrictions on this.

[0330] It can be understood that if data processing device #2 is the final processing node for the data message, then after data processing device #2 processes the data payload in data message #B, the transmission and processing of the data message ends. If data processing device #2 is not the final processing node for the data message, the transmission path information #A also includes information about the next processing node for data processing device #2. After data processing device #2 processes the data payload in data message #B, it can determine the next processing node for data processing device #2 based on the transmission path information #A, and then transmit the processed data message #B to the next processing node for processing.

[0331] In a possible implementation manner, the transmission path information #B does not include information about the data processing device #1.

[0332] It can be understood that after data packet #B is sent, data processing device #1 has completed its operations. When encapsulating data packet #B, data processing device #1 can encapsulate transmission path information #B into the header of data packet #B. Transmission path information #B is simply transmission path information #A with the information associated with data processing device #1 removed. Similarly, when data processing devices subsequent to data processing device #2 transmit data packets based on the transmission path information, the data packets they send can exclude their own information.

[0333] In addition, if data processing device #1 determines that the next processing node is multiple data processing devices #2 based on the transmission path information, you can refer to the relevant description in S230 to determine multiple data processing devices #2 and send data packets to multiple data processing devices #2. The specific content is not repeated here.

[0334] Optionally, the method 300 further includes:

[0335] S340: Data processing device #1 sends statistical information, which includes the number of data packets or the number of bytes in the data packets. Correspondingly, the data arrangement device receives the statistical information.

[0336] Similar to S241, the specific content can be found in the relevant description in S241 and will not be repeated here.

[0337] Optionally, the method 300 further includes:

[0338] S341: Data processing device #2 sends statistical information, which includes the number of data packets or the number of bytes in the data packets. Correspondingly, the data arrangement device receives the statistical information.

[0339] Similar to S241, the specific content can be found in the relevant description in S241 and will not be repeated here.

[0340] Method 200 and method 300 can be used in combination. For the contents not specifically described in method 300, reference can be made to the relevant description in method 200. For the sake of brevity, they will not be repeated here.

[0341] Through the method 300 provided in this application, after receiving a data message, data processing device #1 (i.e., an intermediate processing node for a data message) can determine the next processing node for the data message based on the transmission path information in the data message, and encapsulate the processed data message and the transmission path information into a data message for transmission to the next processing node. This solution enables the data processing device to process the data message during transmission, meeting the demand for distributed data processing under the trend of communication-aware computing fusion, and improving data utilization efficiency.

[0342] It can be understood that the beneficial effects of the steps or implementation methods in method 300 that are similar to those in method 200 can be referred to the description of the relevant content in method 200 and will not be repeated here.

[0343] It can also be understood that in method 300, data processing device #1 corresponds to the first device in the invention content, data processing device #2 corresponds to the second device in the invention content, and the data arrangement device corresponds to the third device in the invention content.

[0344] Methods 200 and 300 introduce a data message forwarding mechanism, in which data processing device #0 is stateful (for example, some forwarding information configured by the data orchestration device (i.e., transmission path information) is stored locally), and data processing device #1 is stateless (for example, the forwarding information configured by the data orchestration device is not stored locally), that is, when forwarding a data message, the next processing node of the data message is determined based on the transmission path information in the data message, thereby transmitting the data message. Therefore, data processing device #1 may not store the correspondence between data service information and transmission path information locally. If data processing device #0 and data processing device #1 have other forwarding mechanisms when forwarding data messages, then data processing device #0 and data processing device #1 can select the forwarding mechanism by the following method.

[0345] In a possible implementation, the forwarding mechanism of the data processing device #0 may be determined by configuration, and the configuration may be determined based on information such as the capability of the data processing device #0.

[0346] For example, if data processing device #0 locally configures a correspondence between data service information and transmission path information, that is, data processing device #0 is stateful, then data processing device #0 can transmit data packets based on method 200. If data processing device #0 does not locally configure a correspondence between data service information and transmission path information, that is, data processing device #0 is stateless, then data processing device #0 can transmit data packets based on other forwarding mechanisms besides method 200, and this application does not impose any restrictions on this.

[0347] In a possible implementation, data processing device #1 or data processing device #2 may select an appropriate forwarding mechanism based on its own status and the status of the forwarded data message.

[0348] For example, if data processing device #1 is stateless and the data message includes a status field, and the status field is set to stateful, data processing device #1 selects the forwarding mechanism provided by method 300 to forward the data message. If data processing device #1 is stateful and the status field included in the data message is set to stateless; or if data processing device #1 is stateful and the status field included in the data message is set to stateful, or if data processing device #1 is stateless and the status field included in the data message is set to stateless, data processing device #1 may select a forwarding mechanism other than method 300 to forward the data message, and this application does not impose any restrictions on this.

[0349] It is understood that a stateful data message contains forwarding information (e.g., transmission path information) and thus the data processing device along the data message path does not need to store the forwarding information. A stateless data message does not contain forwarding information (e.g., transmission path information) and thus the data processing device along the data message path needs to store the forwarding information.

[0350] The data processing device can select an appropriate forwarding mechanism as needed to improve the flexibility and / or efficiency of data message transmission.

[0351] The following describes from a system perspective how the data orchestration device configures the transmission path information corresponding to the data service information in some special scenarios mentioned in method 200, and how the data processing device transmits data packets based on the transmission path information.

[0352] FIG4 is a schematic diagram of a data aggregation scenario provided in an embodiment of the present application.

[0353] In Figure 4, the data arrangement device is exemplified by DO, the data processing device is exemplified by DA, the information of the data processing device is exemplified by the identification of DA, and the example of one data service information corresponding to three transmission path information is used to explain, but the present application is not limited to this.

[0354] Based on certain data service information, such as DS_ID 3 indicating data aggregation, and the capabilities / functions of each processing node, DO determines the three transmission paths corresponding to DS_ID 3, namely, transmission path #A1, transmission path #B1, and transmission path #C1. Transmission path #A1 is DA#4→DA#3→DA#13, transmission path #B1 is DA#7→DA#11→DA#13, and transmission path #C1 is DA#17→DA#19→DA#13.

[0355] DO sends correspondence information 1 to DA#4 (corresponding to the data processing device #0 mentioned above), and the correspondence information 1 indicates the correspondence between DS_ID 3 and the transmission path information #A1, and the transmission path information #A1 is (DA_ID 3, DA_ID 13); DO sends correspondence information 2 to DA#7 (corresponding to the data processing device #0 mentioned above), and the correspondence information 2 indicates the correspondence between DS_ID 3 and the transmission path information #B1, and the transmission path information #B1 is (DA_ID 11, DA_ID 13); DO sends correspondence information 3 to DA#17 (corresponding to the data processing device #0 mentioned above), and the correspondence information 3 indicates the correspondence between DS_ID 3 and the transmission path information #C1, and the transmission path information #C1 is (DA_ID 19, DA_ID 13).

[0356] For example, DA#4 is used to collect the temperature of area #1 at different times within a period of time, DA#7 is used to collect the temperature of area #2 at different times within a period of time, and DA#17 is used to collect the temperature of area #3 at different times within a period of time.

[0357] After collecting the temperatures of area #1 at different times over a period of time, DA#4 encapsulates the collected temperatures into data message #A1. The header of data message #A1 includes (DA_ID 3, DA_ID 13), where DA_ID 3 identifies DA#3 and DA_ID 13 identifies DA#13. DA#4 then sends data message #A1 to DA#3 (corresponding to data processing device #1 mentioned above). Upon receiving data message #A1, DA#3 processes the data (i.e., the temperatures) in data message #A1, for example, converting it into the average temperature #1 of area #1. Based on (DA_ID 3, DA_ID 13), DA#3 determines the next processing node, i.e., DA#13. DA#3 then sends data message #A2 to DA#13. Data message #A2 includes the average temperature #1 of area #1 and DA_ID 13.

[0358] After collecting the temperatures of area #2 at different times over a period of time, DA#7 encapsulates the collected temperatures into data message #B1. The header of data message #B1 includes (DA_ID 11, DA_ID 13), where DA_ID 11 is the identifier of DA#11. DA#7 sends data message #B1 to DA#11 (corresponding to data processing device #1 mentioned above). After receiving data message #B1, DA#11 processes the data (i.e., the temperature) in data message #B1, for example, converting it into the average temperature #2 of area #2. Based on (DA_ID 11, DA_ID 13), it determines the next processing node, i.e., DA#13. DA#11 then sends data message #B2 to DA#13. Data message #B2 includes the average temperature #2 of area #2 and DA_ID 13.

[0359] After collecting the temperatures of area #3 at various times over a period of time, DA#17 encapsulates the collected temperatures into data message #C1. The header of data message #C1 includes (DA_ID 19, DA_ID 13), where DA_ID 19 is the identifier of DA#19. DA#17 sends data message #C1 to DA#19 (corresponding to data processing device #1 mentioned above). Upon receiving data message #C1, DA#19 processes the data (i.e., the temperatures) in data message #C1, for example, converting it into the average temperature #3 of area #3. Based on (DA_ID 19, DA_ID 13), DA#19 determines the next processing node, DA#13. DA#19 then sends data message #C2 to DA#13. Data message #C2 includes the average temperature #3 of area #3 and DA_ID 13.

[0360] After receiving data packets #A2, #B2, and #C2, DA#13 processes the average temperatures #1, #2, and #3 contained in these packets into average temperature #4 for regions #1, #2, and #3. Average temperature #4 then becomes the result of the data aggregation service. DA#13 also knows from data packets #A2, #B2, and DA_ID 13 in data packet #A2 that there is no next processing node, meaning there is no need to send average temperature #4 to other devices. This concludes the data aggregation service process.

[0361] FIG5 is a schematic diagram of a data aggregation and data distribution scenario provided by an embodiment of the present application.

[0362] In Figure 5, the data arrangement device is exemplified by DO, the data processing device is exemplified by DA, the information of the data processing device is exemplified by the identification of DA, and the example of one data service information corresponding to three transmission path information is used to explain, but the present application is not limited to this.

[0363] Based on data service information, such as DS_ID 1 representing federated learning, and the capabilities / functions of each processing node, DO determines the three transmission paths corresponding to DS_ID 1: transmission path #A2, transmission path #B2, and transmission path #C2. The data message transmission path corresponding to transmission path #A2 is DA#5 (corresponding to DA_ID: 5) → DA#3 (corresponding to DA_ID: 3) → DA#7 (corresponding to DA_ID: 7). The data message transmission path corresponding to transmission path #B2 is DA#13 (corresponding to DA_ID: 13) → DA#11 (corresponding to DA_ID: 11) → DA#7. The data message transmission path corresponding to transmission path #C2 is DA#23 (corresponding to DA_ID: 23) → DA#19 (corresponding to DA_ID: 19) → DA#7.

[0364] In the example of Figure 5, assume that DA#5, DA#13, and DA#23 are clients of federated learning. They perform local model training based on locally acquired business data. They then process the trained local model parameters into data payloads, encapsulate them along with transmission path information into data packets, and send them to DA#3, DA#11, and DA#19. DA#3, DA#11, and DA#19 can perform model compression on the data payloads (corresponding to local model parameters) in the received data packets, encapsulate the compressed model parameters and transmission path information into data packets, and send them to DA#7. DA#7 aggregates the received compressed model parameters and, after aggregation, distributes the aggregated global model parameters to clients DA#5, DA#13, and DA#23.

[0365] Specifically, after DO calculates and determines the path for federated learning, how does it send correspondence information #1, correspondence information #2, and correspondence information #3 to DA #5, DA #13, and DA #23? The specific contents of correspondence information #1, correspondence information #2, and correspondence information #3, as well as how DA #5, DA #13, and DA #23 transmit data packets based on correspondence information #1, correspondence information #2, and correspondence information #3, and what specific contents are included in the data packets, can be referred to the example of data aggregation described in FIG4 , which will not be repeated here. FIG5 does not show the arrow directions of transmission path #A2, transmission path #B2, and transmission path #C2. The following mainly introduces the relevant content about data distribution in federated learning.

[0366] DS_ID 1 also corresponds to three transmission paths: transmission path #A3, transmission path #B3, and transmission path #C3. Transmission path #A3 is DA#7 → DA#3 → DA#5, transmission path #B3 is DA#7 → DA#11 → DA#13, and transmission path #C3 is DA#7 → DA#19 → DA#23.

[0367] DO sends correspondence information #4 to DA #7. This correspondence information #4 is DS_ID 1: (DA_ID 3, DA_ID 5) | (DA_ID 11, DA_ID 13) | (DA_ID 19, DA_ID 23). In other words, this correspondence information #4 indicates the correspondence between DS_ID 1 and transmission path information #A3, the correspondence between DS_ID 1 and transmission path information #B3, and the correspondence between DS_ID 1 and transmission path information #C3. Transmission path information #A3 is (DA_ID 3, DA_ID 5), transmission path information #B3 is (DA_ID 11, DA_ID 13), and transmission path information #C3 is (DA_ID 19, DA_ID 23).

[0368] For example, DA#7 (corresponding to data processing device #0 in the above text) is used to distribute the aggregated global model parameters to the client. If DA#7 divides the global model parameters into global sub-model parameters #1, global sub-model parameters #2, and global sub-model parameters #3, it sends data packet #a1 to DA#3 (corresponding to data processing device #1 in the above text). Data packet #a1 includes the data payload corresponding to global sub-model parameter #1 and (DA_ID 3, DA_ID 5). DA#7 sends data packet #b1 to DA#11 (corresponding to data processing device #1 in the above text). Data packet #b1 includes the data payload corresponding to global sub-model parameter #2 and (DA_ID 11, DA_ID 13). DA#7 sends data packet #c1 to DA#19 (corresponding to data processing device #1 in the above text). Data packet #c1 includes the data payload corresponding to global sub-model parameter #3 and (DA_ID 19, DA_ID 23).

[0369] After receiving data message #a1, DA#3 processes the data payload corresponding to global sub-model parameter #1 in data message #a1, for example, decompresses the data payload corresponding to global sub-model parameter #1, and determines the next processing node based on (DA_ID 3, DA_ID 5), that is, DA#5, and sends data message #a2 to DA#5. Data message #a2 includes the decompressed data payload corresponding to global sub-model parameter #1 and DA_ID 5.

[0370] After receiving data message #b1, DA#11 processes the data payload corresponding to global sub-model parameter #2 in data message #b1, for example, decompresses the data payload corresponding to global sub-model parameter #2, and determines the next processing node based on (DA_ID 11, DA_ID 13), that is, DA#13, and sends data message #b2 to DA#13. Data message #b2 includes the decompressed data payload corresponding to global sub-model parameter #2 and DA_ID 13.

[0371] After receiving data message #c1, DA#19 processes the data payload corresponding to global sub-model parameter #3 in data message #c1, for example, decompresses the data payload corresponding to global sub-model parameter #3, and determines the next processing node based on (DA_ID 19, DA_ID 23), that is, DA#23, and sends data message #c2 to DA#23. Data message #c2 includes the decompressed data payload corresponding to global sub-model parameter #3 and DA_ID 23.

[0372] It can be understood that during the federated learning process, the above-mentioned data aggregation and data distribution processes can occur multiple times until the global model training is completed.

[0373] The dotted steps in the above flowchart are optional steps, and the order of each step is determined according to the internal logic of the method. The serial numbers shown in the above flowchart are only examples and do not limit the order of the steps of this application.

[0374] It should also be understood that the methods provided in the embodiments of the present application can be used alone or in combination, and the present application does not limit this. The various implementation methods provided in the embodiments of the present application can be used alone or in combination, and the present application does not limit this. The various examples provided in the embodiments of the present application can be used alone or in combination, and the present application does not limit this.

[0375] It should be understood that the term "and / or" in this application simply describes an association relationship between associated objects, indicating that three possible relationships exist. For example, "A and / or B" can represent three situations: A exists alone, A and B exist simultaneously, and B exists alone. A and B can be singular or plural. Furthermore, the character " / " in this document generally indicates an "or" relationship between the associated objects, but it may also indicate an "and / or" relationship. For specific understanding, please refer to the context.

[0376] In the embodiments of the present application, unless otherwise specified, a plurality refers to two or more.

[0377] In the embodiments of the present application, "at least one item" refers to one item or multiple items, "at least two items" and "multiple items" refer to two items or more. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or multiple items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.

[0378] It should be noted that the execution entities shown in Figures 2 and 3 are only examples. The execution entity can also be a chip, chip system, or processor that supports the execution entity to implement the method shown in Figures 2 and 3. This application does not impose any restrictions on this.

[0379] The method embodiment of the present application is described above in conjunction with the accompanying drawings. The device embodiment of the present application is described below. It can be understood that the description of the method embodiment and the description of the device embodiment can correspond to each other. Therefore, for parts not described, reference can be made to the previous method embodiment.

[0380] It is understood that in the above-described various method embodiments, the methods and operations implemented by data processing device #0 may also be implemented by components (e.g., chips or circuits) within data processing device #0, and the methods and operations implemented by data processing device #1 may also be implemented by components (e.g., chips or circuits) within data processing device #1. The methods and operations implemented by the data orchestration device may also be implemented by components (e.g., chips or circuits) within the data orchestration device.

[0381] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of interaction between various devices. It is understandable that each device, such as a transmitting end device or a receiving end device, includes a hardware structure and / or software module corresponding to the execution of each function in order to implement the above functions. Those skilled in the art should be aware that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in a hardware or computer software driven hardware manner depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0382] In the embodiment of the present application, the functional modules of the transmitting device or the receiving device can be divided according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical functional division. There may be other division methods in actual implementation. The following is an example of dividing each functional module according to each function.

[0383] Figure 6 is a schematic block diagram of a communication device provided in an embodiment of the present application. The communication device 600 shown in Figure 6 includes a transceiver unit 610 and a processing unit 620. The transceiver unit 610 can communicate with the outside world, and the processing unit 620 is used to process data. The transceiver unit 610 can also be referred to as a communication interface or a communication unit.

[0384] Optionally, the transceiver unit 610 may include a sending unit and a receiving unit. The sending unit is configured to perform the sending operation in the above method embodiment. The receiving unit is configured to perform the receiving operation in the above method embodiment.

[0385] It should be noted that the communication device 600 may include a sending unit but not a receiving unit. Alternatively, the communication device 600 may include a receiving unit but not a sending unit. The specific implementation depends on whether the above solution executed by the communication device 600 includes a sending action and a receiving action.

[0386] Optionally, the communication device 600 may further include a storage unit, which may be used to store instructions and / or data, and the processing unit 620 may read the instructions and / or data in the storage unit.

[0387] In one design, communication device 600 can be used to perform the actions performed by data processing device #1 in the above method embodiment. Data processing device #1 can be a functional network element in the network, or a chip or circuit in a terminal device, network device, core network device, or operation and maintenance management device, or a logic module or software that can implement all or part of the functions of the terminal device, network device, core network device, or operation and maintenance management device, and this application does not limit this.

[0388] Optionally, the communication device 600 can be a data processing device #1, the transceiver unit 610 is used to perform the receiving or sending operations of the data processing device #1 in the above method embodiment, and the processing unit 620 is used to perform the internal processing operations of the data processing device #1 in the above method embodiment.

[0389] Alternatively, the communication device 600 may be a device including the data processing device #1. Alternatively, the communication device 600 may be a component configured within the data processing device #1, such as a chip within the data processing device #1. In this case, the transceiver unit 610 may be an interface circuit, a pin, etc. Specifically, the interface circuit may include an input circuit and an output circuit, and the processing unit 620 may include a processing circuit.

[0390] In one possible implementation, the transceiver unit 610 is used to obtain a first data packet, the first data packet including first transmission path information, the first transmission path information including information of data processing device #1 and data processing device #2, the processing unit 620 is used to determine data processing device #2 based on the first transmission path information, the transceiver unit 610 is used to send a second data packet to data processing device #2, the second data packet including second transmission path information, and the data payload in the second data packet is obtained based on the data payload in the first data packet.

[0391] In a possible implementation, the second transmission path information does not include information about the data processing device #1.

[0392] In a possible implementation, the first transmission path information includes identification information of the first device and the second device, or the first transmission path information includes address information of the first device and the second device.

[0393] In one possible implementation, the first data packet and the second data packet further include data service information and / or statistical mode information, where the statistical mode information is used to indicate a statistical mode of statistical information, where the statistical information includes quantity information of data packets or byte quantity information of data packets.

[0394] In a possible implementation, the transceiver unit is further used to send statistical information to the data arrangement device, where the statistical information includes the number of data packets or the number of bytes of the data packets.

[0395] In a possible implementation, the statistical information is obtained by taking transmission path information or data service information of the data packet as a granularity.

[0396] In one possible implementation, the data service information is any one of the following: an identifier of a federated learning service, an identifier of a distributed learning service, or an identifier of a data aggregation service.

[0397] In another design, communication device 600 can be used to perform the actions performed by data processing device #0 in the above method embodiment. Data processing device #0 can be a functional network element in the network, or a chip or circuit in a terminal device, network device, core network device, or operation and maintenance management device, or a logic module or software that can implement all or part of the functions of the terminal device, network device, core network device, or operation and maintenance management device. This application is not limited to this.

[0398] Optionally, the communication device 600 can be a data processing device #0, the transceiver unit 610 is used to perform the receiving or sending operations of the data processing device #0 in the above method embodiment, and the processing unit 620 is used to perform the internal processing operations of the data processing device #0 in the above method embodiment.

[0399] Alternatively, the communication device 600 may be a device including data processing device #0. Alternatively, the communication device 600 may be a component configured within data processing device #0, such as a chip within data processing device #0. In this case, the transceiver unit 610 may be an interface circuit, a pin, etc. Specifically, the interface circuit may include an input circuit and an output circuit, and the processing unit 620 may include a processing circuit.

[0400] In one possible implementation, the transceiver unit 610 is used to obtain business data, and the processing unit 620 is used to determine third transmission path information based on the data service information, where the third transmission path information includes information of the data processing device #1, and the data processing device #1 is a processing node for the third data message. The transceiver unit 610 is also used to send a third data message to the data processing device #1, where the third data message includes the third transmission path information and a data payload corresponding to the business data.

[0401] In a possible implementation manner, the third transmission path information includes identification information or address information of the second device.

[0402] In one possible implementation, the transceiver unit 610 is further used to receive correspondence information from the data arrangement device, where the correspondence information indicates the correspondence between the data service information and the transmission path information, and the processing unit 620 is used to determine the third transmission path information based on the data service information and the correspondence information.

[0403] In a possible implementation, the data service information includes first data service information, the first data service information corresponds to N transmission path information, the N transmission path information includes third transmission path information, and N is an integer greater than or equal to 1.

[0404] In one possible implementation, the correspondence indicated by the correspondence information includes the correspondence between the first data service information and N transmission path information, where N is an integer greater than 1. The transceiver unit 610 is also used to send N data packets to N data processing devices #1, wherein each data processing device #1 is associated with a data packet, and a data packet includes one transmission path information among the N transmission path information.

[0405] In a possible implementation, the N transmission path information includes information of parallel data processing devices, the parallel data processing devices are processing nodes at the same level of the data message, and N is an integer greater than 1.

[0406] In a possible implementation manner, the correspondence indicated by the correspondence information includes a correspondence between the first data service information and the third transmission path information. In this implementation manner, N is an integer greater than 1.

[0407] In a possible implementation, the third transmission path information includes information of data processing devices arranged in sequence, where a data processing device arranged earlier processes data packets earlier.

[0408] In one possible implementation, the transceiver unit is further used to receive configuration information from the data arrangement device, and the configuration information is used to configure at least one of the following: a statistical mode of the data message, a statistical period of the data message, and a valid time of the transmission path information.

[0409] In a possible implementation, the transceiver unit 610 is further configured to receive update information from a data arrangement device, where the update information is used to update transmission path information corresponding to the data service information.

[0410] In a possible implementation, the transceiver unit 610 is further configured to receive read information from a data arrangement device, where the read information is used to read transmission path information corresponding to the data service information.

[0411] In a possible implementation, the transceiver unit 610 is further configured to receive deletion information from the data arrangement device, where the deletion information is used to delete the transmission path information corresponding to the data service information.

[0412] In a possible implementation, the third data packet further includes data service information and / or statistical mode information, where the statistical mode information is used to indicate a statistical mode of statistical information, and the statistical information includes quantity information of data packets or byte quantity information of data packets.

[0413] In a possible implementation, the transceiver unit 610 is further configured to send statistical information to the data arrangement device, where the statistical information includes information about the number of data packets or information about the number of bytes of the data packets.

[0414] In a possible implementation, the statistical information is obtained by taking transmission path information or data service information of the data packet as a granularity.

[0415] In one possible implementation, the data service information is any one of the following: an identifier of a federated learning service, an identifier of a distributed learning service, or an identifier of a data aggregation service.

[0416] In yet another design, the communication device 600 shown in FIG6 may be used to execute the actions executed by the data arrangement device in the above method embodiments.

[0417] Optionally, the communication device 600 can be a data orchestration device, the transceiver unit 610 is used to perform the receiving or sending operations of the data orchestration device in the above method embodiment, and the processing unit 620 is used to perform the internal processing operations of the data orchestration device in the above method embodiment. The data orchestration device can be a functional network element in the network, or a chip or circuit in a network device or a core network device, or a logical module or software that can realize all or part of the functions of the network device or core network device. This application is not limited to this.

[0418] Optionally, the communication device 600 may be a device including a data formatting device. Alternatively, the communication device 600 may be a component configured within the data formatting device, such as a chip within the data formatting device. In this case, the transceiver unit 610 may be an interface circuit, a pin, etc. Specifically, the interface circuit may include an input circuit and an output circuit, and the processing unit 620 may include a processing circuit.

[0419] In a possible implementation, the processing unit 620 is configured to generate correspondence information indicating a correspondence between data service information and transmission path information of a data message, and the transceiver unit is configured to send the correspondence information to the data processing device #0.

[0420] In a possible implementation, the transmission path information includes information of the data processing device #1, where the data processing device #1 is a processing node for the data message.

[0421] In a possible implementation, the transmission path information includes identification information or address information of the data processing device #1.

[0422] In a possible implementation, the data service information includes first data service information, where the first data service information corresponds to N transmission path information, where N is an integer greater than or equal to 1.

[0423] In a possible implementation manner, the correspondence indicated by the correspondence information includes a correspondence between the first data service information and N transmission path information, where N is an integer greater than 1.

[0424] In a possible implementation, the N transmission path information includes information of parallel data processing devices, the parallel data processing devices are processing nodes at the same level of the data message, and N is an integer greater than 1.

[0425] In one possible implementation, the transceiver unit is also used to send N correspondence information to N data processing devices #0, wherein each data processing device #0 is associated with one correspondence information, and the one correspondence information indicates the correspondence between the first data service information and one transmission path information among the N transmission path information, and N is an integer greater than 1.

[0426] In a possible implementation, each transmission path information in the N transmission path information includes information of data processing devices arranged in sequence, where a data processing device arranged earlier processes data packets earlier, and N is an integer greater than 1.

[0427] In one possible implementation, the transceiver unit 610 is further configured to send configuration information to the data processing device #0, where the configuration information is configured to configure at least one of the following: a statistical mode of the data message, a statistical period of the data message, and a valid time of the transmission path information.

[0428] In a possible implementation, the transceiver unit 610 is further configured to send update information to the data processing device #0, where the update information is used to update the transmission path information corresponding to the data service information.

[0429] In a possible implementation, the transceiver unit 610 is further configured to send read information to the data processing device #0, where the read information is used to read the transmission path information corresponding to the data service information.

[0430] In a possible implementation, the transceiver unit 610 is further configured to send deletion information to the data processing device #0, where the deletion information is used to delete the transmission path information corresponding to the data service information.

[0431] In a possible implementation, the transceiver unit 610 is further configured to receive statistical information from the data processing device #0, where the statistical information includes information on the number of data packets or information on the number of bytes in the data packets.

[0432] In a possible implementation, the statistical information is obtained by taking transmission path information or data service information as a granularity.

[0433] In one possible implementation, the data service information is any one of the following: an identifier of a federated learning service, an identifier of a distributed learning service, or an identifier of a data aggregation service.

[0434] As shown in Figure 7, an embodiment of the present application further provides a communication device 700. The communication device 700 includes a processor 710, which is coupled to a memory 720. The memory 720 is used to store computer programs or instructions and / or data. The processor 710 is used to execute the computer programs or instructions and / or data stored in the memory 720, so that the method in the above method embodiment is executed.

[0435] Optionally, the communication device 700 includes one or more processors 710.

[0436] Optionally, as shown in FIG. 7 , the communication device 700 may further include a memory 720 .

[0437] Optionally, the communication device 700 may include one or more memories 720 .

[0438] Optionally, the memory 720 may be integrated with the processor 710 or provided separately.

[0439] Optionally, as shown in Figure 7, the communication device 700 may further include a transceiver 730 and / or a communication interface, where the transceiver 730 and / or the communication interface are used to receive and / or send signals. For example, the processor 710 is used to control the transceiver 730 and / or the communication interface to receive and / or send signals.

[0440] Alternatively, the device in transceiver 730 that implements the receiving function may be considered a receiving module, and the device in transceiver 730 that implements the transmitting function may be considered a transmitting module. That is, transceiver 730 includes a receiver and a transmitter. A transceiver may also be sometimes referred to as a transceiver, a transceiver module, or a transceiver circuit. A receiver may also be sometimes referred to as a receiver, a receiving module, or a receiving circuit. A transmitter may also be sometimes referred to as a transmitter, a transmitter, a transmitting module, or a transmitting circuit.

[0441] As a solution, the communication device 700 is used to implement the operations performed by the data processing device #0 in the above method embodiment. For example, the processor 710 is used to implement the operations performed internally by the data processing device #0 in the above method embodiment (e.g., operations S210 and S220), and the transceiver 730 is used to implement the receiving or sending operations performed by the data processing device #0 in the above method embodiment (e.g., operations S201, S230, S231, S232, S233, S234, and S240).

[0442] As another solution, the communication device 700 is used to implement the operations performed by the data processing device #1 in the above method embodiment. For example, the processor 710 is used to implement the operations performed internally by the data processing device #1 in the above method embodiment (e.g., operations S310 and S320), and the transceiver 730 is used to implement the receiving or sending operations performed by the data processing device #1 in the above method embodiment (e.g., operations S230, S241, S330, and S340).

[0443] As another solution, the communication device 700 is used to implement the operations performed by the data arrangement device in the above method embodiments. For example, the processor 710 is used to implement the operations performed internally by the data arrangement device in the above method embodiments, and the transceiver 730 is used to implement the receiving or sending operations (such as operations S201, S231, S232, S233, S234, S240, S241, S340, and S341) performed by the data arrangement device in the above method embodiments.

[0444] As shown in FIG8 , the embodiment of the present application further provides a communication device 800 . The communication device 800 includes a logic circuit 810 and an input / output interface 820 .

[0445] The logic circuit 810 may be a processing circuit within the communication device 800. The logic circuit 810 may be coupled to a storage unit and invoke instructions within the storage unit, enabling the communication device 800 to implement the methods and functions of the various embodiments of the present application. The input / output interface 820 may be an input / output circuit within the communication device 800, outputting information processed by the communication device 800 or inputting data or signaling information to be processed into the communication device 800 for processing.

[0446] As a solution, the communication device 800 is used to implement the operations performed by the data processing device #0 in the above various method embodiments.

[0447] For example, logic circuit 810 is used to implement processing-related operations performed by data processing device #0 in the above method embodiments, such as the processing operations of data processing device #0 in S210 and S220. Input / output interface 820 is used to implement sending and / or receiving-related operations performed by data processing device #0 in the above method embodiments, such as the sending and receiving operations of data processing device #0 in S201, S230, S231, S232, S233, S234, and S240. The operations performed by logic circuit 810 can be found in the above description of processing unit 620, and the operations performed by input / output interface 820 can be found in the above description of transceiver unit 610, and will not be repeated here.

[0448] As another solution, the communication device 800 is used to implement the operations performed by the data processing device #1 in the above various method embodiments.

[0449] For example, logic circuit 810 is used to implement the processing-related operations performed by data processing device #1 in the above method embodiments, such as the processing operations of data processing device #1 in S310 and S320. Input / output interface 820 is used to implement the sending and / or receiving-related operations performed by data processing device #1 in the above method embodiments, such as the sending and receiving operations of data processing device #1 in S230, S241, S330, and S340. The operations performed by logic circuit 810 can be found in the above description of processing unit 620, and the operations performed by input / output interface 820 can be found in the above description of transceiver unit 610, and will not be repeated here.

[0450] As another solution, the communication device 800 is used to implement the operations performed by the data arrangement device in each of the above method embodiments.

[0451] For example, the logic circuit 810 is used to implement the processing-related operations performed by the data arrangement device in the above method embodiments, such as the processing-related operations performed by the data arrangement device in the method embodiments. The input / output interface 820 is used to implement the sending and / or receiving-related operations performed by the data arrangement device in the above method embodiments, such as the sending and receiving operations of the data arrangement device in S201, S231, S232, S233, S234, S240, S241, S340, and S341. The operations performed by the logic circuit 810 can be specifically described in the above description of the processing unit 820. The operations performed by the logic circuit 810 can be specifically described in the above description of the processing unit 620, and the operations performed by the input / output interface 820 can be specifically described in the above description of the transceiver unit 610, and will not be repeated here.

[0452] It should be understood that the above-mentioned communication device may be one or more chips. For example, the communication device may be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a microcontroller unit (MCU), a programmable logic device (PLD), or other integrated chips.

[0453] During implementation, each step of the above method can be completed by an integrated logic circuit of the hardware in the processor or by instructions in the form of software. The steps of the method disclosed in conjunction with the embodiments of the present application can be directly embodied as being executed by a hardware processor, or can be executed by a combination of hardware and software modules in the processor. The software module can be located in a storage medium mature in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in conjunction with its hardware. To avoid repetition, it will not be described in detail here.

[0454] It should be noted that the processor in the embodiments of the present application can be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method embodiment can be completed by an integrated logic circuit of the hardware in the processor or by instructions in the form of software. The above processor can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component. The various methods, steps, and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware decoding processor, or can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium mature in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, or electrically erasable programmable memory, registers, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.

[0455] It is understood that the memory in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM bus RAM (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0456] According to the methods provided in the embodiments of the present application, the present application further provides a computer-readable medium storing program code. When the program code is executed on a computer, the computer performs the method described in the method embodiments. For example, when the computer program is executed by a computer, the computer can implement the method performed by the data arrangement device or the method performed by the data processing device in the above method embodiments.

[0457] An embodiment of the present application also provides a computer program product comprising instructions, which, when executed by a computer, enables the computer to implement the method performed by the data arrangement device or the method performed by the data processing device in the above method embodiment.

[0458] An embodiment of the present application also provides a communication system, including a data arrangement device and a data processing device.

[0459] The explanation of the relevant contents and beneficial effects of any of the communication devices provided above can be referred to the corresponding method embodiments provided above, and will not be repeated here.

[0460] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware, or any combination thereof. When implemented using software, all or part of the embodiments may be implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated therein. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a high-density digital video disc (DVD)), or a semiconductor medium (eg, a solid state drive (SSD)).

[0461] The data arrangement device and data processing device in each of the above-mentioned device embodiments correspond to the data arrangement device and data processing device in the method embodiments, and the corresponding modules or units perform the corresponding steps. For example, the communication unit (transceiver) performs the receiving or sending steps in the method embodiments, and other steps besides sending and receiving can be performed by the processing unit (processor). The functions of the specific units can be referred to in the corresponding method embodiments. There can be one or more processors.

[0462] As used in this specification, the terms "component," "module," "system," and the like are used to refer to computer-related entities, hardware, firmware, a combination of hardware and software, software, or software in execution. For example, a component can be, but is not limited to, a process running on a processor, a processor, an object, an executable file, an execution thread, a program, and / or a computer. By way of illustration, both an application running on a computing device and a computing device can be a component. One or more components can reside in a process and / or an execution thread, and a component can be located on one computer and / or distributed between two or more computers. In addition, these components can be executed from various computer-readable media having various data structures stored thereon. Components can communicate, for example, via local and / or remote processes based on signals having one or more data packets (e.g., data from two components interacting with another component across a local system, a distributed system, and / or a network, such as the Internet interacting with other systems via signals).

[0463] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0464] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0465] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0466] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0467] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0468] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0469] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

Claims

1. A method for transmitting a data message, characterized in that: include: The first device obtains a first data packet, where the first data packet includes first transmission path information, and the first transmission path information includes information of the first device and a second device; The first device determines the second device based on the first transmission path information; The first device sends a second data packet to the second device, where the second data packet includes second transmission path information, and a data payload in the second data packet is obtained based on the data payload in the first data packet.

2. The method according to claim 1, characterized in that The second transmission path information does not include information about the first device.

3. The method according to claim 1 or 2, characterized in that The first data packet and the second data packet further include statistical mode information, where the statistical mode information is used to indicate a statistical mode of statistical information, and the statistical information includes quantity information of data packets or byte quantity information of data packets.

4. The method according to any one of claims 1 to 3, characterized in that The first transmission path information includes identification information of the first device and the second device, or the first transmission path information includes address information of the first device and the second device.

5. A method for transmitting a data message, characterized in that: include: The first device obtains service data; The first device determines third transmission path information based on the data service information, the third transmission path information including information of the second device, and the second device is a processing node for the third data message; The first device sends the third data packet to the second device, where the third data packet includes the third transmission path information and a data payload corresponding to the service data.

6. The method according to claim 5, characterized in that The third transmission path information includes identification information or address information of the second device.

7. The method according to claim 5 or 6, characterized in that The method further comprises: The first device receives correspondence information from a third device, where the correspondence information indicates a correspondence between the data service information and the transmission path information; The first device determines third transmission path information based on the data service information, including: The first device determines third transmission path information based on the data service information and the correspondence information.

8. The method according to claims 5 to 7, characterized in that The data service information includes first data service information, the first data service information corresponds to N transmission path information, the N transmission path information includes the third transmission path information, and N is an integer greater than or equal to 1.

9. The method according to claim 8, characterized in that The correspondence indicated by the correspondence information includes a correspondence between the first data service information and the N transmission path information, where N is an integer greater than 1, and the first device sending the third data packet to the second device includes: The first device sends N data packets to N second devices, wherein each second device is associated with one data packet, and the one data packet includes one transmission path information among the N transmission path information.

10. The method according to claim 8 or 9, characterized in that The N transmission path information includes information of parallel data processing devices, the parallel data processing devices are processing nodes at the same level of the data message, and N is an integer greater than 1.

11. The method according to claim 8, characterized in that The correspondence indicated by the correspondence information includes a correspondence between the first data service information and the third transmission path information, and N is an integer greater than 1.

12. The method according to any one of claims 5 to 11, characterized in that The third transmission path information includes information of data processing devices arranged in order, where a data processing device arranged earlier processes data packets earlier, and N is an integer greater than 1.

13. The method according to any one of claims 5 to 12, characterized in that The method further comprises: The first device receives configuration information from the third device, where the configuration information is used to configure at least one of the following: a statistical mode of data packets, a statistical period of data packets, and a valid time of the third transmission path information.

14. The method according to any one of claims 5 to 13, characterized in that The method further comprises: The first device receives update information from a third device, where the update information is used to update transmission path information corresponding to the data service information.

15. The method according to any one of claims 5 to 14, characterized in that The method further comprises: The first device receives read information from a third device, where the read information is used to read transmission path information corresponding to the data service information.

16. The method according to any one of claims 5 to 15, characterized in that The method further comprises: The first device receives deletion information from a third device, where the deletion information is used to delete transmission path information corresponding to the data service information.

17. The method according to any one of claims 5 to 16, characterized in that The third data packet further includes statistical mode information, where the statistical mode information is used to indicate a statistical mode of statistical information, where the statistical information includes quantity information of data packets or byte quantity information of data packets.

18. The method according to any one of claims 1 to 17, characterized in that The method further comprises: The first device sends statistical information to the third device, where the statistical information includes quantity information of data packets or byte quantity information of data packets.

19. The method according to claim 18, characterized in that The statistical information is obtained by taking the transmission path information or data service information of the data message as the granularity.

20. The method according to any one of claims 5 to 19, characterized in that The data service information is any one of the following: an identifier of a federated learning service, an identifier of a distributed learning service, or an identifier of a data aggregation service.

21. A data message transmission method, characterized in that: include: The third device generates corresponding relationship information, where the corresponding relationship information indicates a corresponding relationship between the data service information and the transmission path information of the data message; The third device sends corresponding relationship information to the first device, where the corresponding relationship information indicates the corresponding relationship.

22. The method according to claim 21, characterized in that The transmission path information includes information of a second device, where the second device is a processing node for the data message.

23. The method according to claim 21 or 22, characterized in that The transmission path information includes identification information of the second device or address information of the second device.

24. The method according to any one of claims 21 to 23, characterized in that The data service information includes first data service information, where the first data service information corresponds to N transmission path information, where N is an integer greater than or equal to 1.

25. The method according to claim 24, characterized in that The correspondence indicated by the correspondence information includes a correspondence between the first data service information and the N transmission path information, where N is an integer greater than 1.

26. The method according to claim 24 or 25, characterized in that The N transmission path information includes information of parallel data processing devices, the parallel data processing devices are processing nodes at the same level of the data message, and N is an integer greater than 1.

27. The method according to claim 24, characterized in that The third device sending the correspondence information to the first device includes: The third device sends N correspondence information to N first devices, wherein each first device is associated with one correspondence information, and the correspondence indicated by one correspondence information includes the correspondence between the first data service information and one transmission path information among the N transmission path information, and N is an integer greater than 1.

28. The method according to claim 24 or 27, characterized in that Each transmission path information in the N transmission path information includes information of data processing devices arranged in sequence, and the data processing devices arranged earlier have an earlier order in processing data packets, and the N is an integer greater than 1.

29. The method according to any one of claims 21 to 28, characterized in that The method further comprises: The third device sends configuration information to the first device, where the configuration information is used to configure at least one of the following: a statistical mode of data packets, a statistical period of data packets, and a valid time of the transmission path information.

30. The method according to any one of claims 21 to 29, characterized in that The method further comprises: The third device sends update information to the first device, where the update information is used to update transmission path information corresponding to the data service information.

31. The method according to any one of claims 21 to 30, characterized in that The method further comprises: The third device sends read information to the first device, where the read information is used to read transmission path information corresponding to the data service information.

32. The method according to any one of claims 21 to 31, characterized in that The method further comprises: The third device sends deletion information to the first device, where the deletion information is used to delete the transmission path information corresponding to the data service information.

33. The method according to any one of claims 21 to 32, characterized in that The method further comprises: The third device receives statistical information from the first device, where the statistical information includes quantity information of data packets or byte quantity information of data packets.

34. The method according to claim 33, wherein The statistical information is obtained by taking transmission path information or data service information as granularity.

35. The method according to any one of claims 21 to 34, characterized in that The data service information is any one of the following: an identifier of a federated learning service, an identifier of a distributed learning service, or an identifier of a data aggregation service.

36. A data message transmission method, characterized in that: The method is applied to a communication system, the communication system including a first device and a third device, and the method includes: The third device generates corresponding relationship information, wherein the corresponding relationship information indicates the corresponding relationship between the data service information and the transmission path information of the data message, The third device sends the corresponding relationship information to the first device; The first device receives the corresponding relationship information.

37. The method according to claim 36, wherein The method further comprises: The first device acquires service data, and determines third transmission path information based on the data service information and the correspondence information, wherein the third transmission path information includes information of the second device, and the second device is a processing node for the third data message; The first device sends the third data packet to the second device, where the third data packet includes the third transmission path information and a data payload corresponding to the service data.

38. The method according to claim 37, wherein The third transmission path information includes identification information or address information of the second device.

39. The method according to claims 36 to 38, characterized in that The data service information includes first data service information, the first data service information corresponds to N transmission path information, the N transmission path information includes third transmission path information, and N is an integer greater than or equal to 1.

40. The method according to claim 39, wherein The correspondence indicated by the correspondence information includes a correspondence between the first data service information and the N transmission path information, where N is an integer greater than 1. The first device acquires service data, and determines the second device based on the data service information and the corresponding relationship information, including: The first device acquires service data, and determines N second devices based on the first data service information and the corresponding relationship information; The first device sending the third data message to the second device includes: The first device sends N data packets to the N second devices, wherein one second device is associated with one data packet, and the one data packet includes one transmission path information among the N transmission path information.

41. The method according to claim 39 or 40, characterized in that The N transmission path information includes information of parallel data processing devices, the parallel data processing devices are processing nodes at the same level of the data message, and N is an integer greater than 1.

42. The method according to claim 39, wherein The third device sending the correspondence information to the first device includes: The third device sends N correspondence information to N first devices, wherein each first device is associated with one correspondence information, and the correspondence indicated by the one correspondence information includes the correspondence between the first data service information and one transmission path information among the N transmission path information, and N is an integer greater than 1.

43. The method according to claim 39 or 42, characterized in that Each transmission path information in the N transmission path information includes information of data processing devices arranged in sequence, and the data processing devices arranged earlier have an earlier order in processing data packets, and the N is an integer greater than 1.

44. The method according to any one of claims 36 to 43, characterized in that The data service information is any one of the following: an identifier of a federated learning service, an identifier of a distributed learning service, or an identifier of a data aggregation service.

45. A communication device, characterized in that The apparatus comprises means for performing the steps of the method according to any one of claims 1 to 20, or the apparatus comprises means for performing the steps of the method according to any one of claims 21 to 35.

46. ​​A communication device, characterized in that The apparatus includes a processor coupled to a memory, wherein the memory stores instructions, and when the instructions are executed by the processor, the processor executes the method according to any one of claims 1 to 20, or the method according to any one of claims 21 to 35.

47. A communication device, characterized in that The device includes a logic circuit, which is configured to be coupled to an input / output interface and transmit data through the input / output interface to execute the method according to any one of claims 1 to 20 or the method according to any one of claims 21 to 35.

48. A communication system, characterized in that The system includes a first device and a third device, the first device being configured to execute the method according to any one of claims 1 to 20, and the third device being configured to execute the method according to any one of claims 21 to 35.

49. A computer-readable storage medium, characterized in that The computer-readable storage medium is used to store a computer program, and when the computer program is run on a computer, the computer is caused to execute the method according to any one of claims 1 to 20, or the method according to any one of claims 21 to 35.

50. A computer program product, characterized in that The computer program product comprises: a computer program code, and when the computer program code is executed, the method according to any one of claims 1 to 20 is realized, or the method according to any one of claims 21 to 35 is performed.