Data service transmission method, apparatus and system
By generating transmission path information and using IPv6 segment routing headers to dynamically configure transmission paths, the problem of determining data service transmission paths in communication networks is solved, effective transmission and processing of data services is achieved, and the flexibility and efficiency of the network are improved.
Patent Information
- Application Number
- PCT/CN2023/090540
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-25
- Publication Date
- 2024-10-31
AI Technical Summary
The existing technology is difficult to determine the communication path of the data service in the communication network, realize the transmission of the data service, and cannot meet the processing requirements of the data service.
By generating transmission path information, including identification information and function information indicating the node, the transmission path is dynamically configured so that the node can transmit data packets in order and perform data service-related function processing, and use the IPv6 segment routing header to carry the transmission path information to achieve Flexible transport of data services.
It achieves effective transmission and processing of data services, meets the diverse needs of data services, and improves the flexibility and efficiency of the network.
Smart Images

Figure CN2023090540_31102024_PF_FP_ABST
Abstract
Description
Data service transmission method, device and system Technical Field
[0001] The embodiments of the present application relate to the field of communications, and in particular to a method, device, and system for transmitting data services. Background Art
[0002] Data is generated, circulated, and consumed within communication networks. With the growth of network scale, new technologies, and applications, the amount of data in these networks is increasing in volume and importance. Efficiently utilizing this data requires a comprehensive service architecture. Data services enable data collection, processing, and analysis, providing data as a service product.
[0003] Currently, information exchange between network nodes requires the establishment of communication paths. Nodes along these paths are only responsible for forwarding data packets, without processing them, which cannot meet the requirements of data services. Therefore, how to determine the communication paths for data services and implement their transmission remains a research topic.
[0004] Summary of the Invention
[0005] The embodiments of the present application provide a data service transmission method, device, and system, which can implement data services based on nodes on a communication path.
[0006] In a first aspect, a method for transmitting a data service is provided. The method can be performed by a first device, which can be a functional network element in a 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, without limitation in this application.
[0007] The transmission method of the data service includes: a first device generates transmission path information, the transmission path information includes at least one cascaded first information, the first information is used to indicate a node on the transmission path, and the node is used to implement the relevant functions of the data service; the first device sends the transmission path information to a first node, and the first node is the node indicated by the first first information in the at least one cascaded first information.
[0008] In the above scheme, the transmission path information includes at least one cascaded first information, which can indicate each node on the transmission path and the transmission order. The first device sends the transmission path information to the first node, so that each node on the transmission path can transmit data packets in accordance with the transmission order, and process the data packets according to the relevant functions of the data service, thereby realizing data service.
[0009] In combination with the first aspect, in some implementations of the first aspect, the relevant functions of the data service include one or more of the following: data collection, data preprocessing, data storage, data analysis, data security and privacy protection, data multicasting and data service interface.
[0010] In combination with the first aspect, in certain implementations of the first aspect, the first information includes first identification information and first function information, the first identification information is used to indicate the node, and the first function information is used to indicate the data service-related function to be performed by the node.
[0011] Based on the above scheme, the first information includes first identification information for indicating the node, and first functional information for indicating the relevant functions of the data service to be performed by the node. The first device configures the first identification information and first functional information of each node in the corresponding first information, so that each node can obtain the first functional information from the corresponding first information, thereby determining the relevant functions of the data service to be performed, and can obtain the first identification information of the next node from the next first information, thereby determining the next node.
[0012] In combination with the first aspect, in some implementations of the first aspect, the first information further includes parameter information associated with the first function information.
[0013] Based on the above scheme, the first information also includes parameter information associated with the first functional information. The first device configures the parameter information associated with the first functional information of each node in the corresponding first information, so that each node can also obtain the parameter information associated with the first functional information from the corresponding first information, thereby determining the parameters required to be used in the process of executing the relevant functions of the data service.
[0014] In combination with the first aspect, in certain implementations of the first aspect, before the first device generates transmission path information, the method also includes: the first device receives first reporting information from a second node in the network, the first reporting information includes second identification information and second function information, the second identification information is used to indicate the second node, and the second function information is used to indicate the relevant functions of the data service supported by the second node; the first device sends a first response information to the second node, and the first response information is used to confirm the first reporting information.
[0015] Based on the above solution, each node in the network can pre-transmit a first report to the first device, allowing the first device to know the identification information and supported functions of each node. Based on the data service request and the capabilities of each node, the first device can then flexibly select a node for implementing the data service and dynamically configure the transmission path information. Furthermore, the first device can confirm its knowledge of the first report through a first response, avoiding the waste of resources caused by the node reporting the information again.
[0016] In combination with the first aspect, in certain implementations of the first aspect, before the first device generates transmission path information, the method also includes: the first device receives second reporting information from a second node in the network, the second reporting information includes second functional information, and the second functional information is used to indicate the relevant functions of the data service supported by the second node; the first device sends second response information to the second node, and the second response information includes identification information assigned to the second node.
[0017] Based on the above solution, each node in the network can pre-transmit the second reporting information to the first device, allowing the first device to know the functional information supported by each node. Based on the data service request and the capabilities of each node, the first device can then flexibly select the node to implement the data service and dynamically configure the transmission path information. Furthermore, the first device can confirm its knowledge of the second reporting information through the second response information, avoiding the waste of resources caused by the node reporting the information again, and assign identification information to the node.
[0018] In combination with the first aspect, in some implementations of the first aspect, the first information includes a network address of the node.
[0019] Based on the above scheme, the first information includes the network address of the node, and the first device configures the network address of each node in the corresponding first information, so that each node can obtain the network address of the next node from the next first information, thereby determining the next node.
[0020] In combination with the first aspect, in certain implementations of the first aspect, before the first device generates transmission path information, the method also includes: the first device receives second reporting information from a second node in the network, the second reporting information includes second functional information, and the second functional information is used to indicate the relevant functions of the data service supported by the second node; the first device sends third response information to the second node, and the third response information is used to confirm the second reporting information.
[0021] Based on the above solution, each node in the network can pre-transmit the second reporting information to the first device, allowing the first device to know the functional information supported by each node. Based on the data service request and the capabilities of each node, the first device can then flexibly select the node to implement the data service and dynamically configure the transmission path information. Furthermore, the first device can confirm its knowledge of the second reporting information through the third response information, avoiding the waste of resources caused by the node reporting the information again.
[0022] In combination with the first aspect, in some implementations of the first aspect, the method further includes: the first device sends first function information to each of the nodes, where the first function information is used to indicate a related function of the data service to be performed by the node.
[0023] Based on the above solution, after the data service is started, the first device can send first function information to each node to indicate the relevant function of the data service to be executed by each node. The first function information can also be associated with the data service information. Each node can also obtain the associated first function information based on the data service information to determine the relevant function of the data service to be executed.
[0024] In combination with the first aspect, in some implementations of the first aspect, when there is first information indicating a multicast node, the transmission path information further includes second information, where the second information is used to indicate multiple target nodes associated with the multicast node.
[0025] Based on the above scheme, the transmission path information also includes second information, which can indicate multiple target nodes associated with the multicast node on the transmission path. The first device can configure the information of multiple target nodes in the second information, so that the multicast node can determine multiple target nodes based on the second information.
[0026] In combination with the first aspect, in some implementations of the first aspect, the second information includes multiple third information, and the third information is used to indicate one target node among the multiple target nodes.
[0027] In combination with the first aspect, in certain implementations of the first aspect, the third information includes third identification information and third function information, the third identification information is used to indicate the target node, and the third function information is used to indicate the relevant functions of the data service to be performed by the target node.
[0028] In combination with the first aspect, in some implementations of the first aspect, the third information includes a network address of the target node.
[0029] In combination with the first aspect, in certain implementations of the first aspect, the transmission path information includes a segment routing header based on Internet Protocol version 6 (IPv6), the segment routing header includes at least one segment identifier, the segment identifier includes a first field and a second field, wherein the first field is used to indicate a node on the transmission path, and the second field is used to indicate a related function of the data service to be performed by the node.
[0030] In combination with the first aspect, in some implementations of the first aspect, the segment identifier also includes a third field, and the third field is used to indicate parameters that need to be used in the process of the node performing related functions of the data service.
[0031] Based on the above scheme, the segment ID (SID) of the segment routing header (SRH) of the Internet Protocol version 6 (IPv6) is configured with information used to indicate the nodes on the transmission path and the related functions of the data services to be performed. Using the SRH to carry the transmission path information can conveniently and flexibly implement transmission path planning.
[0032] In combination with the first aspect, in some implementations of the first aspect, the first device is a data arrangement device.
[0033] In a second aspect, a data service transmission method is provided. This method can be performed by a second 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, maintenance, and 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, maintenance, and management device. This application does not limit this.
[0034] The transmission method of the data service includes: a second device obtains a first data packet, the first data packet includes transmission path information, the transmission path information includes at least one cascaded first information, the first information is used to indicate a node on the transmission path, and the node is used to implement the relevant functions of the data service; the second device executes the relevant functions of the data service and generates a second data packet; the second device sends the second data packet to the next node, and the second data packet includes the transmission path information.
[0035] In the above solution, the transmission path information includes at least one concatenated piece of first information, which can indicate each node along the transmission path and the transmission order. After receiving a data packet, each node along the transmission path can process the data packet according to data service-related functions and transmit the processed data to the next node based on the transmission path information carried in the data packet. Accordingly, during the transmission of the data packet, this solution can process the data packet by nodes along the transmission path, thereby realizing data services.
[0036] In combination with the second aspect, in certain implementations of the second aspect, the relevant functions of the data service include one or more of the following: data collection, data preprocessing, data storage, data analysis, data security and privacy protection, data multicasting and data service interface.
[0037] In combination with the second aspect, in some implementations of the second aspect, the second device obtains the first data packet, including: the second device receives transmission path information from the first device, and obtains the first data packet based on business data and the transmission path information.
[0038] Based on the above solution, the second device is the first node on the transmission path. The first device sends the transmission path information to the second device. The second device can obtain business data and generate a first data message based on the business data and the transmission path information.
[0039] In combination with the second aspect, in some implementations of the second aspect, the second device obtains the first data packet, including: the second device receives the first data packet from the previous node.
[0040] Based on the above scheme, the second device is a node other than the first node on the transmission path. The previous node of the second device can generate a first data packet based on its own processed data and transmission path information, and send the first data packet to the second device, so that the second device obtains the first data packet.
[0041] In combination with the second aspect, in certain implementations of the second aspect, the first information includes first identification information and first function information, the first identification information is used to indicate the node, and the first function information is used to indicate the relevant functions of the data service to be performed by the node.
[0042] In combination with the second aspect, in some implementations of the second aspect, the first information further includes parameter information associated with the first function information.
[0043] In combination with the second aspect, in certain implementations of the second aspect, before the second device obtains the first data packet, the method also includes: the second device sends first reporting information to the first device, the first reporting information includes second identification information and second function information, the second identification information is used to indicate the second device, and the second function information is used to indicate the relevant functions of the data service supported by the second device; the second device receives first response information from the first device, and the first response information is used to confirm the first reporting information.
[0044] In combination with the second aspect, in certain implementations of the second aspect, before the second device obtains the first data packet, the method also includes: the second device sends second reporting information to the first device, the second reporting information includes second functional information, and the second functional information is used to indicate the relevant functions of the data service supported by the second device; the second device receives second response information from the first device, and the second response information includes identification information assigned to the second device.
[0045] In combination with the second aspect, in certain implementations of the second aspect, the second device performs related functions of the data service, including: the second device obtains first function information based on at least one first information of the cascade; the second device performs related functions of the data service indicated by the first function information.
[0046] Based on the above solution, the first device configures the first function information of the second device in the corresponding first information. The second device can obtain the first function information from the corresponding first information and then execute the relevant functions of the data service indicated by the first function information.
[0047] In combination with the second aspect, in some implementations of the second aspect, the first information includes a network address of the node.
[0048] In combination with the second aspect, in certain implementations of the second aspect, before the second device obtains the first data packet, the method also includes: the second device sends second reporting information to the first device, the second reporting information includes second functional information, and the second functional information is used to indicate the relevant functions of the data service supported by the second device; the second device receives third response information from the first device, and the third response information is used to confirm the second reporting information.
[0049] In combination with the second aspect, in certain implementations of the second aspect, the second device performs the relevant functions of the data service, including: the second device receives first function information from the first device, the first function information is used to indicate the relevant functions of the data service to be performed by the second device; the second device performs the relevant functions of the data service indicated by the first function information.
[0050] Based on the above scheme, the first device can send first function information to the second device, and the second device can determine the relevant functions of the data service to be executed based on the received first function information, and then execute the relevant functions of the data service indicated by the first function information.
[0051] In combination with the second aspect, in certain implementations of the second aspect, when there is first information indicating a multicast node, the transmission path information further includes second information, where the second information is used to indicate multiple target nodes associated with the multicast node.
[0052] In combination with the second aspect, in some implementations of the second aspect, the second information includes multiple third information, and the third information is used to indicate one target node among the multiple target nodes.
[0053] In combination with the second aspect, in certain implementations of the second aspect, the third information includes third identification information and third function information, the third identification information is used to indicate the target node, and the third function information is used to indicate the relevant functions of the data service to be performed by the target node.
[0054] In combination with the second aspect, in some implementations of the second aspect, the third information includes a network address of the target node.
[0055] In combination with the second aspect, in certain implementations of the second aspect, when the second device is a multicast node, the second device performs relevant functions of the data service, including: the second device obtains multiple associated target nodes based on the second information; the second device sends the second data packet to the next node, including: the second device sends the second data packet to each of the multiple target nodes.
[0056] Based on the above scheme, the first device configures the information of multiple target nodes associated with the multicast node in the second information. When the second device is a multicast node, the second device can determine multiple target nodes based on the second information and send a second data packet to each target node.
[0057] In combination with the second aspect, in certain implementations of the second aspect, the transmission path information includes a segment routing header based on Internet Protocol version 6 (IPv6), the segment routing header includes at least one segment identifier, the segment identifier includes a first field and a second field, wherein the first field is used to indicate a node on the transmission path, and the second field is used to indicate the relevant functions of the data service to be performed by the node.
[0058] In combination with the second aspect, in some implementations of the second aspect, the segment identifier also includes a third field, and the third field is used to indicate parameters that need to be used in the process of the node performing related functions of the data service.
[0059] In combination with the second aspect, in some implementations of the second aspect, the second device is a data processing device.
[0060] The beneficial effects of the implementation method of the beneficial effects not described in the above second aspect can be referred to the description of the beneficial effects in the corresponding implementation method of the first aspect, and will not be repeated here.
[0061] In a third aspect, a data service transmission device is provided. The data transmission device is a first device, which can be a functional network element in a 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, and is not limited in this application.
[0062] The transmission device of the data service includes a processing unit and a transceiver unit, wherein: the processing unit is used to generate transmission path information, the transmission path information includes at least one cascaded first information, the first information is used to indicate a node on the transmission path, and the node is used to implement the relevant functions of the data service; the transceiver unit is used to send the transmission path information to a first node, and the first node is the node indicated by the first first information in the at least one cascaded first information.
[0063] In combination with the third aspect, in certain implementations of the third aspect, the relevant functions of the data service include one or more of the following: data collection, data preprocessing, data storage, data analysis, data security and privacy protection, data multicasting and data service interface.
[0064] In combination with the third aspect, in certain implementations of the third aspect, the first information includes first identification information and first function information, the first identification information is used to indicate the node, and the first function information is used to indicate the relevant functions of the data service to be performed by the node.
[0065] In combination with the third aspect, in certain implementations of the third aspect, the first information further includes parameter information associated with the first function information.
[0066] In combination with the third aspect, in certain implementations of the third aspect, before the processing unit generates the transmission path information, the transceiver unit is also used to: receive first reporting information from a second node in the network, the first reporting information including second identification information and second function information, the second identification information is used to indicate the second node, and the second function information is used to indicate the relevant functions of the data service supported by the second node; send first response information to the second node, and the first response information is used to confirm the first reporting information.
[0067] In combination with the third aspect, in certain implementations of the third aspect, before the processing unit generates the transmission path information, the transceiver unit is also used to: receive second reporting information from a second node in the network, the second reporting information including second functional information, and the second functional information is used to indicate the relevant functions of the data service supported by the second node; and send second response information to the second node, the second response information including identification information assigned to the second node.
[0068] In combination with the third aspect, in certain implementations of the third aspect, the first information includes a network address of the node.
[0069] In combination with the third aspect, in certain implementations of the third aspect, before the processing unit generates the transmission path information, the transceiver unit is also used to: receive second reporting information from a second node in the network, the second reporting information including second functional information, and the second functional information is used to indicate the relevant functions of the data service supported by the second node; and send third response information to the second node, the third response information being used to confirm the second reporting information.
[0070] In combination with the third aspect, in certain implementations of the third aspect, the transceiver unit is further used to: send first function information to each of the nodes, where the first function information is used to indicate functions related to the data service to be performed by the node.
[0071] In combination with the third aspect, in certain implementations of the third aspect, when there is first information indicating a multicast node, the transmission path information further includes second information, where the second information is used to indicate multiple target nodes associated with the multicast node.
[0072] In combination with the third aspect, in certain implementations of the third aspect, the second information includes multiple third information, and the third information is used to indicate one target node among the multiple target nodes.
[0073] In combination with the third aspect, in certain implementations of the third aspect, the third information includes third identification information and third function information, the third identification information is used to indicate the target node, and the third function information is used to indicate the relevant functions of the data service to be performed by the target node.
[0074] In combination with the third aspect, in some implementations of the third aspect, the third information includes a network address of the target node.
[0075] In combination with the third aspect, in certain implementations of the third aspect, the transmission path information includes a segment routing header based on Internet Protocol version 6 (IPv6), the segment routing header includes at least one segment identifier, the segment identifier includes a first field and a second field, wherein the first field is used to indicate a node on the transmission path, and the second field is used to indicate the relevant functions of the data service to be performed by the node.
[0076] In combination with the third aspect, in certain implementations of the third aspect, the segment identifier further includes a third field, and the third field is used to indicate parameters that need to be used in the process of the node performing related functions of the data service.
[0077] In a fourth aspect, a data service transmission device is provided. The data transmission device is a second 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, maintenance, and 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, maintenance, and management device. This application does not limit this.
[0078] The transmission device of the data service includes: a transceiver unit and a processing unit, wherein: the transceiver unit is used to obtain a first data packet, the first data packet includes transmission path information, the transmission path information includes at least one cascaded first information, the first information is used to indicate a node on the transmission path, and the node is used to implement the relevant functions of the data service; the processing unit is used to execute the relevant functions of the data service and generate a second data packet; the transceiver unit is also used to send the second data packet to the next node, and the second data packet includes the transmission path information.
[0079] In combination with the fourth aspect, in certain implementations of the fourth aspect, the relevant functions of the data service include one or more of the following: data collection, data preprocessing, data storage, data analysis, data security and privacy protection, data multicasting and data service interface.
[0080] In combination with the fourth aspect, in certain implementations of the fourth aspect, when acquiring the first data packet, the transceiver unit is specifically used to receive transmission path information from the first device, and obtain the first data packet based on the service data and the transmission path information.
[0081] In combination with the fourth aspect, in certain implementations of the fourth aspect, when the transceiver unit obtains the first data message, it is specifically used to receive the first data message from the previous node.
[0082] In combination with the fourth aspect, in certain implementations of the fourth aspect, the first information includes first identification information and first function information, the first identification information is used to indicate the node, and the first function information is used to indicate the relevant functions of the data service to be performed by the node.
[0083] In combination with the fourth aspect, in certain implementations of the fourth aspect, the first information also includes parameter information associated with the first function information.
[0084] In combination with the fourth aspect, in certain implementations of the fourth aspect, before the transceiver unit obtains the first data packet, the transceiver unit is also used to: send first reporting information to the first device, the first reporting information including second identification information and second function information, the second identification information is used to indicate the second device, and the second function information is used to indicate the relevant functions of the data service supported by the second device; receive first response information from the first device, and the first response information is used to confirm the first reporting information.
[0085] In combination with the fourth aspect, in certain implementations of the fourth aspect, before the transceiver unit obtains the first data packet, the transceiver unit is also used to: send second reporting information to the first device, the second reporting information including second functional information, and the second functional information is used to indicate the relevant functions of the data service supported by the second device; receive second response information from the first device, the second response information including identification information assigned to the second device.
[0086] In combination with the fourth aspect, in certain implementations of the fourth aspect, when the processing unit executes the relevant functions of the data service, it is specifically used to obtain first function information based on at least one first information of the cascade, and execute the relevant functions of the data service indicated by the first function information.
[0087] In combination with the fourth aspect, in certain implementations of the fourth aspect, the first information includes a network address of the node.
[0088] In combination with the fourth aspect, in certain implementations of the fourth aspect, before the transceiver unit obtains the first data packet, the transceiver unit is also used to: send second reporting information to the first device, the second reporting information includes second functional information, and the second functional information is used to indicate the relevant functions of the data service supported by the second device; receive third response information from the first device, and the third response information is used to confirm the second reporting information.
[0089] In combination with the fourth aspect, in certain implementations of the fourth aspect, the transceiver unit is also used to: receive first function information from the first device, the first function information being used to indicate the data service-related function to be performed by the second device; when the processing unit executes the data service-related function, it is specifically used to execute the data service-related function indicated by the first function information.
[0090] In combination with the fourth aspect, in certain implementations of the fourth aspect, when there is first information indicating a multicast node, the transmission path information further includes second information, where the second information is used to indicate multiple target nodes associated with the multicast node.
[0091] In combination with the fourth aspect, in certain implementations of the fourth aspect, the second information includes multiple third information, and the third information is used to indicate one target node among the multiple target nodes.
[0092] In combination with the fourth aspect, in certain implementations of the fourth aspect, the third information includes third identification information and third function information, the third identification information is used to indicate the target node, and the third function information is used to indicate the relevant functions of the data service to be performed by the target node.
[0093] In combination with the fourth aspect, in certain implementations of the fourth aspect, the third information includes a network address of the target node.
[0094] In combination with the fourth aspect, in certain implementations of the fourth aspect, when the transmission device of the data service is a multicast node, the processing unit is specifically used to obtain multiple associated target nodes based on the second information when executing relevant functions of the data service; and the transceiver unit is specifically used to send the second data packet to each of the multiple target nodes when sending the second data packet to the next node.
[0095] In combination with the fourth aspect, in certain implementations of the fourth aspect, the transmission path information includes a segment routing header based on Internet Protocol version 6 (IPv6), the segment routing header includes at least one segment identifier, the segment identifier includes a first field and a second field, wherein the first field is used to indicate a node on the transmission path, and the second field is used to indicate the relevant functions of the data service to be performed by the node.
[0096] In combination with the fourth aspect, in certain implementations of the fourth aspect, the segment identifier further includes a third field, and the third field is used to indicate parameters that need to be used in the process of the node performing related functions of the data service.
[0097] In a fifth aspect, a data service transmission device is provided, comprising a processor coupled to a memory and configured to execute instructions in the memory to implement the method of the first aspect and any possible implementation of the first aspect. 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.
[0098] In one implementation, the communication interface may be a transceiver, or an input / output interface.
[0099] 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 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 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.
[0100] Optionally, the transceiver may be a transceiver circuit. Optionally, the input / output interface may be an input / output circuit.
[0101] 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.
[0102] In a sixth aspect, a data service transmission device is provided, comprising a processor coupled to a memory and configured to execute instructions in the memory to implement the method of the aforementioned second aspect and any possible implementation of the second aspect. 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.
[0103] In one implementation, the communication interface may be a transceiver, or an input / output interface.
[0104] In another implementation, the device is a second 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.
[0105] Optionally, the transceiver may be a transceiver circuit. Optionally, the input / output interface may be an input / output circuit.
[0106] 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.
[0107] In the seventh aspect, a data service transmission 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 above-mentioned first to second aspects, and any possible implementation method of the first to second aspects.
[0108] In an eighth aspect, a data service transmission system is provided, the system comprising a first device and a second device, the first device being used to execute the above-mentioned first aspect and the method in any possible implementation manner of the first aspect; the second device being used to execute the above-mentioned second aspect and the method in any possible implementation manner of the second aspect.
[0109] In the ninth aspect, a computer-readable storage medium is provided, which stores a computer program (also referred to as code, or instructions) which, when run on a computer, enables the computer to execute any one of the above-mentioned first to second aspects, and any possible implementation of the first to second aspects.
[0110] In the tenth 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 second aspects, and any possible implementation of the first to second aspects.
[0111] The beneficial effects brought about by the third to tenth aspects mentioned above can be referred to the description of the beneficial effects in the first to second aspects, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0112] FIG1 is a schematic diagram of a network architecture provided in an embodiment of the present application.
[0113] FIG2 is a flow chart of an interaction method for transmitting a data service provided in an embodiment of the present application.
[0114] FIG3 is a process interaction diagram of capability reporting provided in an embodiment of the present application.
[0115] FIG4 is another process interaction diagram of capability reporting provided in an embodiment of the present application.
[0116] FIG5 is another process interaction diagram of capability reporting provided in an embodiment of the present application.
[0117] FIG6 is a schematic diagram of an IPv6-based SRH provided in an embodiment of the present application.
[0118] FIG7 is an application diagram of a data service transmission method provided in an embodiment of the present application.
[0119] FIG8 is an application diagram of another data service transmission method provided in an embodiment of the present application.
[0120] FIG9 is an application diagram of another data service transmission method provided in an embodiment of the present application.
[0121] FIG10 is a schematic structural diagram of a transmission device for a data service provided in an embodiment of the present application.
[0122] FIG11 is a schematic structural diagram of a transmission device for another data service provided in an embodiment of the present application.
[0123] FIG12 is a schematic structural diagram of a transmission device for another data service provided in an embodiment of the present application. DETAILED DESCRIPTION
[0124] In the description of this application, unless otherwise specified, " / " means "or", for example, A / B can mean A or B. "And / or" in this application is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, "at least one" can refer to one or more, and "a plurality" can refer to two or more. "First", "second", etc. do not limit the quantity and execution order, and "first", "second", etc. do not limit them to be necessarily different.
[0125] It should be noted that, in this application, words such as "exemplarily" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design described in this application as "exemplary" or "for example" should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplarily" or "for example" is intended to present the relevant concepts in a concrete manner.
[0126] In the description of this application, "indication" may include direct indication and indirect indication, and may also include explicit indication and implicit indication. The information indicated by a certain information is called information to be indicated. In the specific implementation process, there are many ways to indicate the information to be indicated. For example, the information to be indicated can be directly indicated, such as indicating the information to be indicated itself or the index of the information to be indicated. For another example, the information to be indicated can also be indirectly indicated by indicating other information, and there is an association between the other indicated information and the information to be indicated. For another example, only a part of the information to be indicated can be indicated, while the other parts of the information to be indicated are known or agreed in advance. In addition, the indication of specific information can be achieved by means of the pre-agreed (such as specified in the protocol) order of arrangement of each information, thereby reducing the indication overhead to a certain extent.
[0127] The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings.
[0128] Please refer to Figure 1, which is a schematic diagram of a network architecture provided in an embodiment of the present application.
[0129] The network architecture shown in Figure 1 includes data sources, a data plane, and data consumers. Data sources (e.g., data source 00 and data source 01) can be devices that generate business data. The data plane is responsible for data processing, such as data collection, data storage, data preprocessing, data analysis, and data service application program interfaces (APIs), to implement data services (DS). Data consumers (e.g., data consumers 40 and 41) can be devices that use the processed data.
[0130] The data plane includes a data orchestration device 10 and data processing devices (e.g., data processing device 21, data processing device 22, data processing device 23, data processing device 31, data processing device 32, and data processing device 33). The data orchestration device 10 is communicatively connected to each data processing device, and different data processing devices can communicate with each other, for example, by exchanging data via a bus.
[0131] The data processing device may be a processing node for service data. The data orchestration device 10 may determine the data processing device used to implement the data service based on the data service requirements, orchestrate the functions of each data processing device, and establish a transmission path. Different data services may involve different data processing devices, and therefore, different data services may correspond to different transmission paths.
[0132] For example, Figure 1 shows two transmission paths. The first transmission path includes, in order of data transmission direction, data processing device 21, data processing device 22, and data processing device 23. This path is used to obtain service data from data source 00, process the data, and provide the processed data to data consumer 41. The second transmission path includes, in order of data transmission direction, data processing device 31, data processing device 32, and data processing device 33. This path is used to obtain service data from data source 01, process the data, and provide the processed data to data consumer 40.
[0133] Exemplarily, the data processing device may be a data agent (DA) network element. The data processing device may perform processing operations 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, an access network 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.
[0134] Exemplarily, the data orchestration device can be a data orchestration (DO) network element or a data control (DC) network element. The data orchestration device can receive data service requests (such as data acquisition, federated learning, distributed learning, etc.) from applications, and determine the data processing device based on the data service request, and dynamically establish an end-to-end (E2E) overlay topology network (topology). The overlay topology network is the data processing network, and the nodes in the network (i.e., data processing devices) are data processing nodes, and data flows in the network. The data orchestration device can also feed back the response to the data service request to the application, for example, feeding back 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, and the data orchestration device can also be built into the network node, for example, built into the access network node or CN node, and this application does not limit this.
[0135] 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.
[0136] Optionally, the data plane also includes a trusted anchor (TA), which can provide trusted services such as authentication, authorization and access control (AAA), and can also store tamper-proof data to protect data from attacks.
[0137] Optionally, the data plane further includes a data storage function (DSF) network element. When a large amount of data needs to be stored, or when data needs to be stored for a long time, the DSF can serve as a storage extension of the data processing device.
[0138] It can be understood that the names described above or shown in Figure 1 (such as data arrangement device, data processing device, DO, DC, DA, etc.) are only examples. The above-mentioned devices can also be called other names, and this application does not limit this.
[0139] The network architecture shown in Figure 1 is applicable to the transmission method of the data service provided in the embodiment of the present application. The transmission method of the data service provided in the embodiment of the present application may only involve some of the devices or communication nodes shown in Figure 1, and may also involve devices or communication nodes not shown in Figure 1. This application does not impose any restrictions on this.
[0140] It can be understood that the above network architecture is an example, and the network architecture applicable to the embodiments of the present application is not limited to this. Any network architecture that can realize the functions of some or all of the above devices is applicable to the embodiments of the present application.
[0141] In the above description, the terminal device can be a wireless terminal device capable of receiving network device scheduling and instruction information. The terminal device can be a device that provides voice and / or data connectivity to a user, a handheld device with wireless connection capabilities, or other processing devices connected to a wireless modem.
[0142] A terminal device 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 device 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 the fifth generation (5G) network or terminals in future evolution networks, etc.
[0143] Wearable devices, also known as wearable smart devices, are a general term for wearable devices that use wearable technology to intelligently design and develop wearable devices for daily wear, such as glasses, gloves, watches, clothing, and shoes. Wearable devices are portable devices that are worn directly on the body or integrated into the user's clothing or accessories. Wearable devices are not just hardware devices, but also achieve powerful functions through software support, data interaction, and cloud interaction. In a broad sense, wearable smart devices include those 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 those that only focus on a certain 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.
[0144] 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 to provide wireless communication capabilities for terminal devices. Another example is a radio access network (RAN) node that connects terminal devices to a wireless network, also known as an access network device.
[0145] Access network nodes include, but are not limited to, base stations, the next generation Node B (gNB), evolved Node B (eNB), radio network controller (RNC), Node B (NB), base station controller (BSC), base transceiver station (BTS), home evolved NodeB (HeNB, or home Node B, HNB), baseband unit (BBU), server, wearable device, vehicle-mounted device, access point (AP) in wireless fidelity (WIFI) system, wireless relay node, wireless backhaul node, transmission point (TP) or transmission and reception point (TRP), etc., and may also be 5G, such as gNB, TRP or TP in new radio (NR) system, one or a group of antenna panels of a base station in 5G system, or network nodes constituting gNB or transmission point, such as baseband unit (BBU) or distributed unit (DBU). The base station may be a macro base station, a micro base station, a pico base station, a small station, a relay station, or a balloon station.
[0146] 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.
[0147] 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), world-wide interoperability for microwave access (WiMAX) communication system, fifth generation (5G) system, future evolved communication systems such as sixth generation (6G) mobile communication system, vehicle-to-X (V2X) communication system, where V2X can include vehicle to network (V2N), vehicle to vehicle (V2V), vehicle to infrastructure (V2I), vehicle to pedestrian (V2I), and vehicle to pedestrian (V2P), long term 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.
[0148] The following describes the data transmission method provided by this application.
[0149] Please refer to Figure 2, which is a flow chart of a data service transmission method provided by an embodiment of the present application. The data service transmission method shown in Figure 2 includes the following steps S201 to S208.
[0150] S201: A first device generates transmission path information, where the transmission path information includes at least one cascaded first information, where the first information is used to indicate a node on the transmission path, where the node is used to implement relevant functions of a data service.
[0151] The first device may receive a data service request and generate corresponding transmission path information according to the data service request, wherein the transmission path information is used to indicate a transmission path. It is understood that the transmission path information is associated with the data service, and the transmission path information corresponding to different data services may be different or the same.
[0152] A data service may include one or more related functions. Each related function of the data service may be completed by one or more nodes, and each node may execute one or more related functions of the data service.
[0153] The relevant functions of data services may include, but are not limited to, data collection, data preprocessing, data storage, data analysis, data security and privacy protection, data multicasting, and data service interfaces. Data collection may include functions such as interval data collection, batch data collection, and streaming data collection. Data preprocessing may include functions such as data cleaning, data filtering, data fusion, data deduplication, and data aggregation. Data storage may include functions such as centralized storage, distributed storage, storage expansion, and on-chain storage. Data analysis may include functions such as big data analysis, model training, model inference, knowledge graphs, and federated learning. Data security and privacy protection may include functions such as differential privacy, homomorphic encryption, multi-party computing, and zero-knowledge proofs. Data multicasting refers to the multicasting of data to multiple target nodes. The data service interface is the interface through which data consumers obtain processed data.
[0154] In some examples, the transmission path information may include multiple cascaded first information, i.e., the transmission path includes multiple cascaded nodes, each of which can perform some of the relevant functions of the data service, and the multiple cascaded nodes jointly implement the data service. The multiple cascaded nodes can be understood as multiple nodes arranged in sequence, with the output of the previous node serving as the input of the next node.
[0155] In other examples, the transmission path information may include a first information, ie, there is only one node on the transmission path, ie, all relevant functions of the data service can be completed through one node to realize the data service.
[0156] In the example of Figure 2, the transmission path includes three nodes (also called second devices), namely second device #1, second device #2, and second device #3. The transmission path information generated by the first device is recorded as transmission path information L0. The transmission path information L0 includes three cascaded first information, which are used to indicate second device #1, second device #2, and second device #3 respectively. It should be understood that Figure 2 is only an example. In this example, the transmission path includes three second devices. In actual deployment, the transmission path may include one, two, or more second devices. This application does not limit the number of second devices on the transmission path or the related functions of the data service to be completed by each second device.
[0157] Exemplarily, the first device may be the data arrangement device shown in FIG. 1 , and the second device may be the data processing device shown in FIG. 1 .
[0158] Optionally, the first device converts the data service request into a request to construct a data pipeline (DP). A data pipeline can be understood as a transmission path (such as the first transmission path or the second transmission path shown in Figure 1), and the nodes in the data pipeline can be understood as nodes on the transmission path. The first device determines which nodes are included in the data pipeline and the relevant functions of the data service to be performed by each node. For example, the first device can establish a data pipeline based on the data service request and the capabilities of each node. After the data pipeline is established, the nodes in the data pipeline and the relevant functions of the data service to be performed by each node are determined. Data flows in the data pipeline and completes the relevant functions of the corresponding data service at the nodes it flows through.
[0159] S202: The first device sends transmission path information L0 to the second device #1. Correspondingly, the second device #1 receives the transmission path information L0 from the first device.
[0160] The second device #1 is the first node on the transmission path, and may also be called an ingress node. For example, the second device #1 may be the data processing device 21 on the first transmission path shown in FIG1 , or the data processing device 31 on the second transmission path.
[0161] S203, the second device #1 obtains the data packet W0.
[0162] Exemplarily, second device #1 can obtain service data from a data source (e.g., data source 00 or data source 01 shown in FIG1 ), and obtain data packet W0 based on the service data and transmission path information L0. Data packet W0 includes a data payload P0 and transmission path information L0. Data payload P0 is the service data obtained from the data source. Exemplarily, after encapsulating the service data into data packet W0, it is recorded as data payload P0.
[0163] S204, the second device #1 executes the data service related function F1 and generates a data message W1.
[0164] The data service-related function F1 refers to a data service-related function to be performed by the second device #1. The second device #1 performs the data service-related function F1 on the data payload P0, obtains the data payload P1, and generates a data packet W1 based on the data payload P1 and the transmission path information L0. The data packet W1 includes the data payload P1 and the transmission path information L1. It should be understood that the data payload P1 is different from the data payload P0.
[0165] In one example, the transmission path information L1 may be the same as the transmission path information L0. For example, the transmission path information L0 includes first information a, first information b, and first information c, which are used to indicate the second device #1, the second device #2, and the second device #3, respectively. The transmission path information L1 is the same as the transmission path information L0, that is, the transmission path information L0 includes the first information a, the first information b, and the first information c.
[0166] In another example, transmission path information L1 may be different from transmission path information L0. For example, transmission path information L0 includes first information a, first information b, and first information c. Second device #1 may delete first information a corresponding to second device #1 from transmission path information L0, and retain first information corresponding to second device #2 and second device #3 following second device #1, thereby obtaining transmission path information L1. That is, transmission path information L1 includes first information b and first information c.
[0167] S205 , the second device # 1 sends a data packet W1 to the second device # 2 , and correspondingly, the second device # 2 receives the data packet W1 from the second device # 1 .
[0168] Second device #2 refers to the first node after second device #1 on the transmission path, i.e., the next node after second device #1. For example, if second device #1 is data processing device 21 on the first transmission path shown in FIG1 , second device #2 is data processing device 22 on the first transmission path shown in FIG1 . Alternatively, if second device #1 is data processing device 31 on the second transmission path shown in FIG1 , second device #2 is data processing device 32 on the second transmission path shown in FIG1 .
[0169] Second device #1 can determine second device #2 based on transmission path information L0. For example, transmission path information L0 includes first information a, first information b, and first information c, which are used to identify second device #1, second device #2, and second device #3, respectively. The index data associated with first information a, first information b, and first information c are 2, 1, and 0, respectively. After first device #1 obtains transmission path information L0, it can determine that the index data associated with its corresponding first information a is 2, i.e., the current index data is 2. After second device #1 executes data service-related function F1, it decrements the current index data by one, resulting in a next index data of 1. It can then determine that the first information associated with the next index data is first information b, and then determine second device #2 based on the node indicated by first information b.
[0170] S206: The second device #2 executes the data service related function F2 and generates a data message W2.
[0171] The data service-related function F2 refers to a data service-related function to be executed by the second device #2. The second device #2 executes the data service-related function F2 on the data payload P1 in the data message W1, obtains the data payload P2, and generates the data message W2 based on the data payload P2 and the transmission path information L1. The data message W2 includes the data payload P2 and the transmission path information L2. It should be understood that the data payload P2 is different from the data payload P1.
[0172] In one example, transmission path information L2 can be the same as transmission path information L1. For example, transmission path information L1 includes first information a, first information b, and first information c, and transmission path information L2 is the same as transmission path information L1, that is, transmission path information L2 includes first information a, first information b, and first information c. For another example, transmission path information L1 includes first information b and first information c, and transmission path information L2 is the same as transmission path information L1, that is, transmission path information L2 includes first information b and first information c.
[0173] In another example, transmission path information L2 may be different from transmission path information L1. For example, if transmission path information L1 includes first information b and first information c, second device #2 may delete first information b corresponding to second device #2 from transmission path information L0, and retain first information corresponding to second device #3 following second device #2, thereby obtaining transmission path information L2, i.e., transmission path information L2 includes first information c.
[0174] S207: The second device #2 sends a data packet W2 to the second device #3. Correspondingly, the second device #3 receives the data packet W2 from the second device #2.
[0175] Second device #3 refers to the first node after second device #2 on the transmission path, i.e., the node immediately following second device #2. For example, if second device #2 is data processing device 22 on the first transmission path shown in FIG1 , second device #3 is data processing device 23 on the first transmission path shown in FIG1 . Alternatively, if second device #2 is data processing device 32 on the second transmission path shown in FIG1 , second device #3 is data processing device 33 on the second transmission path shown in FIG1 .
[0176] The second device #2 can determine the second device #3 based on the transmission path information L1. For example, the transmission path information L1 includes first information a, first information b, and first information c, which are used to indicate the second device #1, the second device #2, and the second device #3, respectively. The index data associated with the first information a, the first information b, and the first information c are 2, 1, and 0, respectively. After obtaining the transmission path information L1, the second device #2 can know that the index data associated with its corresponding first information b is 1, that is, the current index data is 1. After the second device #2 executes the data service-related function F2, it subtracts one from the current index data to obtain the next index data of 0. It can then determine that the first information associated with the next index data is the first information c, and then determine the second device #3 based on the node indicated by the first information c.
[0177] S208, the second device #3 executes a function F3 related to the data service.
[0178] The data service related function F3 refers to the data service related function to be executed by the second device #3. The second device #3 executes the data service related function F3 on the data payload P2 in the data message W2 to obtain the data payload P3.
[0179] In the example of Figure 2 , second device #3 is the last node on the transmission path, also known as an egress node. Therefore, after processing is completed, second device #3 obtains the final processing result. Second device #3 can provide a data service interface for data consumers (such as data consumer 40 or data source 41 shown in Figure 1 ) to obtain the final processing result.
[0180] In the above scheme, the transmission path information includes at least one cascaded first information, which can indicate each node on the transmission path and the transmission order. The first device sends the transmission path information to the first node, so that each node on the transmission path can transmit data packets in accordance with the transmission order, and process the data packets according to the relevant functions of the data service, thereby realizing data service.
[0181] Before step S201 in Figure 2, that is, before the first device generates the transmission path information, each node in the network can report capability information to the first device. After the first device knows the capability information of each node in the network, it can determine the second device for implementing the data service and the relevant functions of the data service to be performed based on the data service request and the capability information of each node, thereby realizing dynamic configuration of the transmission path information, making the transmission path more flexible.
[0182] Please refer to Figure 3, which is an interactive diagram of a capability reporting process provided by an embodiment of the present application. In the example of Figure 3, the transmission path includes three nodes: second device #1, second device #2, and second device #3. It should be understood that Figure 3 is merely an example. In this example, the transmission path includes three second devices. In actual deployments, the transmission path may include one, two, or more second devices. The process shown in Figure 3 includes the following steps: S301 to S302.
[0183] In step S301, second device #1 sends first reporting information A1 to first device #1. Accordingly, first device #1 receives first reporting information A1 from second device #1. Second device #2 sends first reporting information A2 to first device #1. Accordingly, first device #1 receives first reporting information A2 from second device #2. Second device #3 sends first reporting information A3 to first device #1. Accordingly, first device #1 receives first reporting information A3 from second device #3.
[0184] The first reporting information A1 includes identification information locator1 and supported function information sp_func1. The identification information locator1 is used to indicate the second device #1, and the supported function information sp_func1 is used to indicate the relevant functions of the data service supported by the second device #1. The first reporting information A2 includes identification information locator2 and supported function information sp_func2. The identification information locator2 is used to indicate the second device #2, and the supported function information sp_func2 is used to indicate the relevant functions of the data service supported by the second device #2. The first reporting information A3 includes identification information locator3 and supported function information sp_func3. The identification information locator3 is used to indicate the second device #3, and the supported function information sp_func3 is used to indicate the relevant functions of the data service supported by the second device #3.
[0185] It should be understood that a second device can support related functions of one or more data services. Accordingly, the supported function information reported by the second device to the first device can be indication information of one function information or multiple function information.
[0186] S302: The first device sends a first response message X1 to the second device #1, the first device sends a first response message X2 to the second device #2, and the first device sends a first response message X3 to the second device #3.
[0187] The first response information X1 is used to confirm the first reporting information A1, the first response information X2 is used to confirm the first reporting information A2, and the first response information X3 is used to confirm the first reporting information A3.
[0188] Based on the above solution, the identification information of the second device is configured by the second device itself, and each second device reports the identification information and supported function information to the first device so that the first device knows and then arranges the functions to be performed by each second device in the data service.
[0189] The first device can determine the execution function information func1 of the second device #1, the execution function information func2 of the second device #2, and the execution function information func3 of the second device #3 based on the data service request, the supported function information sp_func1 of the second device #1, the supported function information sp_func2 of the second device #2, and the supported function information sp_func3 of the second device #3.
[0190] The execution function information func1 indicates the data service-related function F1 to be executed by the second device #1, the execution function information func2 indicates the data service-related function F2 to be executed by the second device #2, and the execution function information func3 indicates the data service-related function F3 to be executed by the second device #3. The execution function information func1 is a subset of the support function information sp_func1, the execution function information func2 is a subset of the support function information sp_func2, and the execution function information func3 is a subset of the support function information sp_func3.
[0191] It should be understood that a second device can perform one or more related functions in a data service. Accordingly, the execution function information of the second device can be indication information of one function information or multiple function information.
[0192] For example, if the support function information sp_func1 only indicates the relevant function of one data service (e.g., F1), then the execution function information func1 is the same as the support function information sp_func1, i.e., the execution function information func1 only indicates F1. For another example, if the support function information sp_func1 indicates the relevant functions of multiple data services (e.g., F1, F2, and F3), then the execution function information func1 may indicate one or more of F1, F2, and F3, i.e., it may indicate only F1, or only F2, or F3, or both F1 and F2, or both F1 and F3, or both F2 and F3, or F1, F2, and F3.
[0193] After the first device determines the relevant functions of the data service to be executed by each second device, it can also determine the execution order of the relevant functions of the data service, and then generate transmission path information based on the identification information reported by each second device, the relevant functions of the data service to be executed by each second device, and the execution order of the relevant functions of the data service.
[0194] In one possible implementation, the first device combines the identification information locator1 and the execution function information func1 of the second device #1 to obtain the first information a, combines the identification information locator2 and the execution function information func2 of the second device #2 to obtain the first information b, and combines the identification information locator3 and the execution function information func3 of the second device #3 to obtain the first information c, and then sorts the first information a, the first information b and the first information c accordingly according to the execution order of the relevant functions of the data service to obtain the transmission path information.
[0195] For example, the transmission path information may be as shown in Table 1 below:
[0196] Table 1
[0197] DS_ID is a data service identifier, used to identify a specific data service task. The transmission path information is associated with the data service identifier. The transmission path information includes first information a, first information b, and first information c, which are locator1:func1, locator2:func2, and locator3:func3, respectively, and are used to implement the data service identified by DS_ID.
[0198] In other examples, the first information may also include parameter information associated with the execution function information, where the parameter information indicates parameters that the second device needs to use when executing the data service-related function. For example, a data service-related function such as data collection may be associated with a time parameter to indicate a time period for data collection.
[0199] In one possible implementation, the first device combines the identification information locator1, execution function information func1 and associated parameter information args1 of the second device #1 to obtain first information a, combines the identification information locator2, execution function information func2 and associated parameter information args2 of the second device #2 to obtain first information b, and combines the identification information locator3, execution function information func3 and associated parameter information args3 of the second device #3 to obtain first information c, and then sorts the first information a, first information b and first information c accordingly according to the execution order of the relevant functions of the data service to obtain transmission path information.
[0200] For example, the transmission path information may be as shown in Table 2 below:
[0201] Table 2
[0202] DS_ID is a data service identifier, used to identify a specific data service task. Transmission path information is associated with the data service identifier. The transmission path information sequentially includes first information a, first information b, and first information c. First information a, first information b, and first information c are locator1:func1:args1, locator2:func2:args2, and locator3:func3:args3, respectively, and are used to implement the data service identified by DS_ID.
[0203] Based on the above solution, the first device includes the identification information and execution function information of each second device in the transmission path information. Each second device can obtain the execution function information from the transmission path information to determine the relevant function of the data service it wants to execute. It can also obtain the next identification information from the transmission path information to determine its next node on the transmission path. In addition, the first device can also include parameter information associated with the execution function information in the transmission path information. The second device can also obtain the parameter information associated with the execution function information from the transmission path information to determine the parameters it needs to use when executing the relevant function of the data service, which is conducive to meeting more detailed functional requirements.
[0204] Please refer to Figure 4, which is an interactive diagram of another capability reporting process provided by an embodiment of the present application. In the example of Figure 4, the transmission path includes three nodes: second device #1, second device #2, and second device #3. It should be understood that Figure 4 is merely an example. In this example, the transmission path includes three second devices. In actual deployments, the transmission path may include one, two, or more second devices. The process shown in Figure 4 includes the following steps S401 to S402.
[0205] In step S401, second device #1 sends second reporting information B1 to first device #1. Accordingly, first device #1 receives second reporting information B1 from second device #1. Second device #2 sends second reporting information B2 to first device #2. Accordingly, first device #2 receives second reporting information B2 from second device #2. Second device #3 sends second reporting information B3 to first device #3. Accordingly, first device #3 receives second reporting information B3 from second device #3.
[0206] The second reporting information B1 includes supported function information sp_func1, which indicates functions related to data services supported by the second device #1. The second reporting information B2 includes supported function information sp_func2, which indicates functions related to data services supported by the second device #2. The second reporting information B3 includes supported function information sp_func3, which indicates functions related to data services supported by the second device #3.
[0207] S402: The first device sends second response information Y1 to the second device #1, the first device sends second response information Y2 to the second device #2, and the first device sends second response information Y3 to the second device #3.
[0208] The second response message Y1 is used to confirm the second reported information B1 and includes the identification information locator4 assigned to the second device #1, which indicates the second device #1. The second response message Y2 is used to confirm the second reported information B2 and includes the identification information locator5 assigned to the second device #2, which indicates the second device #2. The second response message Y3 is used to confirm the second reported information B3 and includes the identification information locator6 assigned to the second device #3, which indicates the second device #3.
[0209] After receiving the information reported by each second device, the first device can determine the network address of each second device, that is, the identity of each second device, and can then assign unique identification information to each second device. For example, the identification information assigned by the first device to the second device can be the same as the network address of the second device, or can correspond to or be indicative of the network address of the second device.
[0210] Based on the above scheme, each second device will report the supported function information to the first device so that the first device knows it, and then arrange the functions to be performed by each second device in the data service. The identification information of each second device is allocated by the first device, and the first device will send the allocated identification information to each second device so that each second device knows it.
[0211] The first device can determine execution function information func1 of second device #1, execution function information func2 of second device #2, and execution function information func3 of second device #3 based on the data service request, supported function information sp_func1 of second device #1, supported function information sp_func2 of second device #2, and supported function information sp_func3 of second device #3. The description of the execution function information of each second device corresponds to the relevant description in the previous embodiment and is not repeated here.
[0212] After the first device determines the relevant functions of the data service to be executed by each second device, it can also determine the execution order of the relevant functions of the data service, and then generate transmission path information based on the identification information assigned to each second device, the relevant functions of the data service to be executed by each second device, and the execution order of the relevant functions of the data service.
[0213] In one possible implementation, the first device combines the identification information locator4 and the execution function information func1 of the second device #1 to obtain the first information a, combines the identification information locator5 and the execution function information func2 of the second device #2 to obtain the first information b, and combines the identification information locator6 and the execution function information func3 of the second device #3 to obtain the first information c, and then sorts the first information a, the first information b and the first information c accordingly according to the execution order of the relevant functions of the data service to obtain the transmission path information.
[0214] For example, the transmission path information may be as shown in Table 3 below:
[0215] Table 3
[0216] DS_ID is a data service identifier, used to identify a specific data service task. The transmission path information is associated with the data service identifier. The transmission path information includes first information a, first information b, and first information c, which are locator4:func1, locator5:func2, and locator6:func3, respectively, and are used to implement the data service identified by DS_ID.
[0217] Based on the above scheme, the first device carries the identification information and execution function information of each second device in the transmission path information. Each second device can obtain its own execution function information from the transmission path information, thereby determining the relevant functions of the data service it wants to execute. It can also obtain the next identification information from the transmission path information, thereby determining its next node on the transmission path.
[0218] Please refer to Figure 5, which is an interactive diagram of another capability reporting process provided by an embodiment of the present application. In the example of Figure 5, the transmission path includes three nodes: second device #1, second device #2, and second device #3. It should be understood that Figure 4 is merely an example, and that the transmission path in this example includes three second devices. In actual deployments, the transmission path may include one, two, or more second devices. The process shown in Figure 5 includes the following steps: S501 to S503.
[0219] In step S501, second device #1 sends second reporting information B1 to first device #1. Accordingly, first device #1 receives second reporting information B1 from second device #1. Second device #2 sends second reporting information B2 to first device #2. Accordingly, first device #2 receives second reporting information B2 from second device #2. Second device #3 sends second reporting information B3 to first device #3. Accordingly, first device #3 receives second reporting information B3 from second device #3.
[0220] The second reporting information B1 includes supported function information sp_func1, which indicates functions related to data services supported by the second device #1. The second reporting information B2 includes supported function information sp_func2, which indicates functions related to data services supported by the second device #2. The second reporting information B3 includes supported function information sp_func3, which indicates functions related to data services supported by the second device #3.
[0221] S502: The first device sends third response information Z1 to the second device #1, the first device sends third response information Z2 to the second device #2, and the first device sends third response information Z3 to the second device #3.
[0222] The third response information Z1 is used to confirm the second reporting information B1, the third response information Z2 is used to confirm the second reporting information B2, and the third response information Z3 is used to confirm the second reporting information B3.
[0223] Based on the above solution, each second device reports the supported function information to the first device so that the first device can know and then arrange the functions to be performed by each second device in the data service.
[0224] The first device can determine execution function information func1 of second device #1, execution function information func2 of second device #2, and execution function information func3 of second device #3 based on the data service request, supported function information sp_func1 of second device #1, supported function information sp_func2 of second device #2, and supported function information sp_func3 of second device #3. For descriptions of the execution function information of each second device, please refer to the relevant descriptions in the previous embodiments and will not be repeated here.
[0225] S503: The first device sends execution function information func1 to the second device #1. Accordingly, the second device #1 receives the execution function information func1 from the first device. The first device sends execution function information func2 to the second device #2. Accordingly, the second device #2 receives the execution function information func2 from the first device. The first device sends execution function information func3 to the second device #3. Accordingly, the second device #3 receives the execution function information func3 from the first device.
[0226] Optionally, the execution function information func1, the execution function information func2, and the execution function information func3 may be associated with a data service identifier. After receiving the execution function information func1, the second device #1 may store the execution function information func1 in association with the data service identifier. After receiving the execution function information func2, the second device #2 may store the execution function information func2 in association with the data service identifier. After receiving the execution function information func3, the second device #3 may store the execution function information func3 in association with the data service identifier.
[0227] After receiving information reported by second device #1, the first device can know the network address address1 of second device #1. After receiving information reported by second device #2, the first device can know the network address address2 of second device #2. After receiving information reported by second device #3, the first device can know the network address address3 of second device #3. For example, the above network addresses can be addresses based on Internet Protocol version 6 (IPv6), i.e., IPv6 addresses.
[0228] After the first device determines the relevant functions of the data service to be executed by each second device, it can also determine the execution order of the relevant functions of the data service. Then, the transmission path information can be generated based on the network address of each second device and the execution order of the relevant functions of the data service.
[0229] In one possible implementation, the first device uses the network address address1 of the second device #1 as the first information a, the network address address2 of the second device #2 as the first information b, and the network address address3 of the second device #3 as the first information c, and then sorts the first information a, the first information b, and the first information c accordingly according to the execution order of the relevant functions of the data service to obtain the transmission path information.
[0230] For example, the transmission path information may be as shown in Table 4 below:
[0231] Table 4
[0232] DS_ID is a data service identifier, used to identify a specific data service task. Transmission path information is associated with the data service identifier. The transmission path information includes first information a, first information b, and first information c, where first information a, first information b, and first information c are address 1, address 2, and address 3, respectively, and are used to implement the data service identified by DS_ID.
[0233] Based on the above solution, there's no need to configure additional identification information for indicating the second device. Instead, the second device can be indicated using an existing network address. The first device includes the network address of each second device in the transmission path information. Each second device can then obtain the next network address from the transmission path information, thereby determining its next node on the transmission path. Furthermore, the transmission path information doesn't include information about the functions to be performed by each second device in the data service. The first device then sends function information associated with the data service identifier to each second device. Each second device can then obtain the function information to be performed based on the data service identifier, thereby determining the relevant function of the data service to be performed.
[0234] In other examples, the network address of the second device in Table 4 can also be replaced by the identification information of the second device, which can also indicate each node on the transmission path. For example, address1, address2, and address3 can be replaced by locator1, locator2, and locator3 in the above embodiment, respectively; for another example, address1, address2, and address3 can be replaced by locator4, locator5, and locator6 in the above embodiment, respectively.
[0235] In a possible implementation, the transmission path information includes a segment routing header (SRH) based on Internet Protocol version 6 (IPv6).
[0236] Segment routing (SR) is a source routing mechanism that allows nodes to explicitly specify the transmission path for data packets. SR can be applied in the IPv6 architecture, known as SRv6 (i.e., segment routing over IPv6). The corresponding SRH includes a list of segment identifiers (SIDs), each of which represents a segment. SRv6 uses IPv6 addresses as SIDs, so SRv6 SIDs have the natural properties of native IP addresses and are routable. If the IPv6 address is reachable, services can be delivered over SRv6.
[0237] Transmission path information can be carried by an SRH containing a SID list. Each SID in the SID list can represent a piece of first information, and the SID list can indicate multiple cascaded pieces of first information. SRv6 supports programming SIDs to support data service-related functions to guide nodes to perform corresponding operations and implement data message processing and forwarding.
[0238] Please refer to Figure 6, which is a schematic diagram of an IPv6-based SRH provided in an embodiment of the present application. As shown in Figure 6, the IPv6 header includes a source address (Source Address, denoted as SA) and a destination address (Destination Address, denoted as DE), and the SRH includes a SID list, and the SID list includes SID[0], SID[1], ..., SID[n-1], SID[n], where n is an integer greater than 0; each SID represents a first information, that is, it indicates a node on the transmission path, and the information in [] can be understood as the index of the first information, and can also indicate the transmission order of the node on the transmission path. The transmission direction shown in Figure 6 is from the bottom of the SID list to the top, that is, the transmission path includes the nodes indicated by SID[n], SID[n-1], ..., SID[1], and SID[0] in sequence. By carrying the information of the node through the SID list, the SID list can be flexibly segmented, and the SID therein can be configured as needed, which is conducive to the flexible implementation of transmission path planning.
[0239] The SID type proposed in the embodiment of the present application is a new SID type based on the SRv6 service function chain (Service Function Chain, SFC). For example, the SID type can be recorded as End.CN, which is used as a node SID to forward data packets and process related functions of data services, thereby realizing data services. As shown in Figure 6, the SID is divided into three fields: identification (locator), function (function) and parameters (args), among which the locator is used to indicate the node on the transmission path, the function is used to indicate the related functions of the data service to be performed by the node, and the args is used to indicate the parameters required to be used in the process of the node performing the related functions of the data service.
[0240] Exemplarily, the function in the SID can be represented by 8-bit binary data, and different functions indicate different data service-related functions. For example, if the function is 00000001, the indicated data service-related function is data acquisition; for another example, if the function is 00010001, the indicated data service-related function is data cleaning; for another example, if the function is 00100010, the indicated data service-related function is distributed storage; for another example, if the function is 01010101, the indicated data service-related function is federated learning; for another example, if the function is 00110010, the indicated data service-related function is homomorphic encryption; for another example, if the function is 11111111, the indicated data service-related function is data multicast; for another example, if the function is 11110000, the indicated data service-related function is a data service interface.
[0241] It should be understood that the SID can be divided into more or fewer fields than the three fields shown in Figure 6, and the information contained in the fields is not limited to the information shown in Figure 6. This application does not impose any restrictions on this. The SID can carry information related to data service functions, and the fields in the SID can be configured as needed, which is conducive to the flexible implementation of different data services.
[0242] In some examples, the SRH may also include metadata for recording information related to data multicast, such as target node information. The target node information may include a target SID list and may also include description information of the target SID list (such as a label and length). The target SID list includes multiple target SIDs, each target SID indicating a target node. As shown in Figure 6, the metadata includes a tag-length-value (TLV) option, where tag is used to indicate the label of the target SID list, length is used to indicate the length of the target SID list, and value is used to indicate the target SID list. The TLV option can carry target node information associated with data multicast, which facilitates support for data services that include multicast scenarios.
[0243] The following describes the application of the embodiments of the present application based on SRv6.
[0244] Please refer to Figure 7, which is a schematic diagram of an application of a data service transmission method provided by an embodiment of the present application, wherein DC represents a data arrangement device, DA1, DA2, and DA3 all represent data processing devices, Source represents a data source, and Consumer represents a data consumer.
[0245] DA1, DA2, and DA3 report their capabilities to the DC respectively. Based on the data service request and the capabilities reported by DA1, DA2, and DA3, the DC orchestrates the functions to be performed by D1, DA2, and DA3 in the data service, as well as the execution order, and constructs the SRH based on the orchestration results.
[0246] As shown in Figure 7, the SID list in the SRH is {A1::100:F1, A2::100:F2, A2::100:F3, A3::100:F4}, where A1::100, A2::100, and A3::100 are identifiers of DA1, DA2, and DA3, respectively. F1 indicates the function to be performed by DA1 in the data service, F2 and F3 indicate the functions to be performed by DA2 in the data service, and F4 indicates the function to be performed by DA3 in the data service. The execution order is DA1-F1, DA2-F2, DA2-F3, and DA3-F4.
[0247] The DC sends an SRH to DA1. DA1 obtains service data from the Source and, based on the service data and the SRH, generates data packet W0. In data packet W0, the IPv6 header includes the source address (SA) and destination address (DE). In this case, the destination address is A1::100:F1, indicating DA1.
[0248] DA1 determines function F1 based on the SID corresponding to the destination address in data packet W0. DA1 executes F1 on payload 0 in data packet W0, obtains payload 1, and generates data packet W1 based on payload 1 and the SRH. In data packet W1, the destination address in the IPv6 header is A2::100:F2, indicating DA2.
[0249] DA1 sends datagram W1 to DA2. DA2 determines function F2 based on the SID corresponding to the destination address in datagram W1. DA2 executes function F2 on payload 1 in datagram W1, obtains payload 2, and generates datagram W2 based on payload 2 and the SRH. In datagram W2, the destination address in the IPv6 header is A2::100:F3, indicating DA2.
[0250] DA2 determines function F3 based on the SID corresponding to the destination address in data packet W2. DA2 executes F3 on payload 2 in data packet W2, obtaining processed payload 3. DA2 then generates data packet W3 based on payload 3 and the SRH. In data packet W3, the destination address in the IPv6 header is A3::100:F4, indicating DA3.
[0251] DA2 sends datagram W3 to DA3. DA3 determines function F4 based on the SID corresponding to the destination address in datagram W3. DA3 executes F4 on payload 3 in datagram W3 to obtain the final processing result. DA3 provides a data service interface for the consumer to obtain the final processing result.
[0252] Based on the above scheme, the SRH indicates the identifier of each DA, the relevant functions of the data service to be executed, and the execution order. Each DA can transmit data messages according to the identifier and execution order indicated by the SRH, and can process the data payload in the data message accordingly according to the relevant functions of the data service indicated by the SRH, thereby realizing data services.
[0253] Please refer to Figure 8, which is an application diagram of another data service transmission method provided by an embodiment of the present application. In which, DC represents a data arrangement device, DA1, DA2 and DA3 each represent a data processing device, Source represents a data source, Consumer represents a data consumer, and DS_ID represents a data service identifier.
[0254] DA1, DA2, and DA3 report their capabilities to the DC respectively. Based on the data service request and the capabilities reported by DA1, DA2, and DA3, the DC orchestrates the functions to be performed by D1, DA2, and DA3 in the data service, as well as the execution order, and constructs the SRH based on the orchestration results.
[0255] As shown in Figure 8, the DC sends indication information of function F1 to DA1, which is used to instruct DA1 to execute function F1 in the data service represented by DS_ID. The DC sends indication information of functions F2 and F3 to DA2, which is used to instruct DA2 to execute functions F2 and F3 in the data service represented by DS_ID. The DC sends indication information of function F4 to DA3, which is used to instruct DA3 to execute function F4 in the data service represented by DS_ID. The SID list in the SRH is {A1::100:1, A2::100:1, A3::100:1}, where A1::100:1, A2::100:1, and A3::100:1 are the identifiers of DA1, DA2, and DA3, respectively (for example, they can be IPv6 addresses), that is, they indicate DA1, DA2, and DA3, respectively, and the execution order is DA1-F1, DA2-F2, DA2-F3, and DA3-F4.
[0256] DC sends an SRH to DA1. DA1 obtains service data from Source and generates data packet W0 based on the service data and SRH. In data packet W0, the IPv6 header includes the source address SA and the destination address DE. The destination address is A1::100:1, indicating DA1.
[0257] DA1 determines function F1 based on the data service identifier DS_ID. DA1 executes F1 on data payload Payload0 in data packet W0, obtains data payload Payload1, and generates data packet W1 based on data payload Payload1 and the SRH. In data packet W1, the destination address in the IPv6 header is A2::100:1, indicating DA2.
[0258] DA1 sends data packet W1 to DA2. DA2 determines functions F2 and F3 based on the data service identifier DS_ID. DA2 executes F2 and F3 on payload 1 in W1, obtaining payload 2. It then generates W2 based on payload 2 and the SRH. In W2, the destination address in the IPv6 header is A3::100:1, indicating DA3.
[0259] DA3 determines the function F4 to be executed based on the data service identifier DS_ID. DA3 executes F4 on the data payload Payload2 in the data message W2 to obtain the final processing result. DA3 provides a data service interface for the consumer to obtain the final processing result.
[0260] Based on the above scheme, the SRH indicates the identification and execution order of each DA. In addition, the DC issues function indication information to each DA. Each DA can transmit data messages according to the identification and execution order indicated by the SRH, and can process the data payload in the data message accordingly according to the relevant functions of the data service indicated by the received function indication information, thereby realizing data services.
[0261] Please refer to Figure 9, which is a schematic diagram of another data service transmission method provided in an embodiment of the present application. This data service involves data multicasting. In this diagram, DC represents a data orchestration device, DA1, DA2, DA3, DA4, and DA5 each represent a data processing device, Source represents a data source, and Consumer represents a data consumer.
[0262] DA1, DA2, DA3, DA4, and DA5 report their capabilities to the DC. Based on the data service request and the capabilities reported by DA1, DA2, DA3, DA4, and DA5, the DC orchestrates the functions to be performed by D1, DA2, DA3, DA4, and DA5 in the data service, as well as the order in which they are performed. The DC then constructs the SRH based on the orchestration results.
[0263] As shown in FIG9 , the SID list in the SRH is {A1::100:F1, A2::100:F2, A2::100:FF, A5::100:F4}, where A1::100, A2::100, and A5::100 are identifiers of DA1, DA2, and DA5, respectively. F1 indicates the function to be performed by DA1 in the data service, F2 and FF indicate the functions to be performed by DA2 in the data service, and F4 indicates the function to be performed by DA5 in the data service. FF indicates the data multicast function, and 0xFFFF indicates the multicast information tag, which is used to indicate the target SID list associated with the data multicast function FF. The target SID list is {A3::100:F3, A4::100:F3}, where A3::100 and A4::100 are the identifiers of DA3 and DA4, respectively. F3 indicates the functions to be performed by DA3 and DA4 in the data service. The execution order is DA1-F1, DA2-F2, DA3-F3, DA4-F3, and DA5-F4.
[0264] DC sends an SRH to DA1. DA1 obtains service data from Source and generates data packet W0 based on the service data and SRH. In data packet W0, the IPv6 header includes the source address SA and the destination address DA. The destination address is A1::100:F1, indicating DA1.
[0265] DA1 determines function F1 based on the SID corresponding to the destination address in data packet W0. DA1 executes F1 on payload 0 in data packet W0, obtains payload 1, and generates data packet W1 based on payload 1 and the SRH. In data packet W1, the destination address in the IPv6 header is A2::100:F2, indicating DA2.
[0266] DA1 sends data packet W1 to DA2. DA2 determines the function F2 to be executed based on the SID corresponding to the target address in data packet W1. DA2 executes F2 on the data payload Payload1 in data packet W1, obtains data payload Payload2, and determines the next target address as A2::100:FF, instructing DA2.
[0267] DA2 continues executing FF, obtaining the multicast destination SIDs A3::100:F3 and A4::100:F3. It then generates datagrams W2 and W3 based on payload 2 and the SRH. In datagram W2, the destination address in the IPv6 header is A3::100:F3, indicating DA3. In datagram W3, the destination address in the IPv6 header is A4::100:F3, indicating DA4.
[0268] DA2 sends data packet W2 to DA3, which then sends data packet W3 to DA4. DA3 determines function F3 based on the SID corresponding to the destination address in data packet W2. DA3 executes F3 on data payload Payload2 in data packet W2, obtains data payload Payload3, and generates data packet W4 based on data payload Payload3 and the SRH. In data packet W4, the destination address in the IPv6 header is A5::100:F4, indicating DA5. DA4 determines function F3 based on the SID corresponding to the destination address in data packet W3. DA4 executes F3 on data payload Payload2, obtains data payload Payload4, and generates data packet W5 based on data payload Payload4 and the SRH. In data packet W5, the destination address in the IPv6 header is A5::100:F4, indicating DA5.
[0269] DA3 sends data packet W4 to DA5, and DA4 sends data packet W5 to DA5. DA5 determines function F4 based on the SIDs corresponding to the destination addresses in data packets W4 and W5. DA5 executes F4 on payloads Payload3 in W4 and Payload4 in W5 to obtain the final processing result. DA5 provides a data service interface for the consumer to obtain the final processing result.
[0270] Based on the above solution, the SRH also includes a target SID list associated with the data multicast function. The multicast node can send data packets to multiple target nodes indicated by the target SID list according to the target SID list in the SRH, thereby realizing data services including multicast scenarios.
[0271] The order of the steps in the above flowchart 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.
[0272] 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.
[0273] It should be noted that the execution entities shown in Figures 2-5 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-5. This application does not impose any restrictions on this.
[0274] 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.
[0275] It is understood that in the above-mentioned various method embodiments, the methods and operations implemented by the first device may also be implemented by components (e.g., chips or circuits) in the first device. The methods and operations implemented by the second device may also be implemented by components (e.g., chips or circuits) in the second device.
[0276] 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.
[0277] 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.
[0278] Please refer to Figure 10, which is a schematic diagram of the structure of a data service transmission device provided in an embodiment of the present application. The data service transmission device 1000 shown in Figure 10 includes a processing unit 1001 and a transceiver unit 1002. The processing unit 1001 is used to process data. The transceiver unit 1002 can communicate with the outside world. The transceiver unit 1002 can also be referred to as a communication interface or a communication unit.
[0279] Optionally, the transceiver unit 1002 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.
[0280] It should be noted that the data service transmission device 1000 may include a sending unit but not a receiving unit. Alternatively, the data service transmission device 1000 may include a receiving unit but not a sending unit. The specific implementation depends on whether the above-mentioned solution executed by the data service transmission device 1000 includes both sending and receiving actions.
[0281] Optionally, the data service transmission device 1000 may further include a storage unit, which may be used to store instructions and / or data, and the processing unit 1001 may read the instructions and / or data in the storage unit.
[0282] In one design, the data service transmission device 1000 can be used to perform the actions performed by the first device in the method embodiment above. The first device can be a functional network element in the network, a chip or circuit in a network device or core network device, or a logical module or software that can implement all or part of the functions of the network device or core network device, which is not limited in this application. In one possible implementation, the first device is a data orchestration device.
[0283] Optionally, the transmission device 1000 of the data service can be a first device, the processing unit 1001 is used to perform the internal processing operations of the first device in the above method embodiment, and the transceiver unit 1002 is used to perform the receiving or sending operations of the first device in the above method embodiment.
[0284] Optionally, the data service transmission device 1000 may be a device comprising a first device. Alternatively, the data service transmission device 1000 may be a component configured in the first device, such as a chip in the first device. In this case, the transceiver unit 1002 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 1001 may include a processing circuit.
[0285] In one possible implementation, the processing unit 1001 is used to generate transmission path information, which includes at least one cascaded first information, where the first information is used to indicate a node on the transmission path, and the node is used to implement related functions of the data service; the transceiver unit 1002 is used to send the transmission path information to the first node, where the first node is the node indicated by the first first information in the at least one cascaded first information.
[0286] In one possible implementation, the relevant functions of the data service include one or more of the following: data collection, data preprocessing, data storage, data analysis, data security and privacy protection, data multicasting, and data service interface.
[0287] In a possible implementation, the first information includes first identification information and first function information, the first identification information is used to indicate the node, and the first function information is used to indicate a function related to the data service to be performed by the node.
[0288] In a possible implementation manner, the first information further includes parameter information associated with the first function information.
[0289] In one possible implementation, before the processing unit 1001 generates the transmission path information, the transceiver unit 1002 is also used to: receive first reporting information from a second node in the network, the first reporting information including second identification information and second function information, the second identification information is used to indicate the second node, and the second function information is used to indicate the relevant functions of the data service supported by the second node; send first response information to the second node, and the first response information is used to confirm the first reporting information.
[0290] In one possible implementation, before the processing unit 1001 generates the transmission path information, the transceiver unit 1002 is also used to: receive second reporting information from a second node in the network, the second reporting information includes second functional information, and the second functional information is used to indicate the relevant functions of the data service supported by the second node; send second response information to the second node, and the second response information includes identification information assigned to the second node.
[0291] In a possible implementation, the first information includes a network address of the node.
[0292] In one possible implementation, before the processing unit 1001 generates the transmission path information, the transceiver unit 1002 is also used to: receive second reporting information from a second node in the network, the second reporting information includes second functional information, and the second functional information is used to indicate the relevant functions of the data service supported by the second node; send third response information to the second node, and the third response information is used to confirm the second reporting information.
[0293] In a possible implementation, the transceiver unit 1002 is further configured to: send first function information to each node, where the first function information is used to indicate a function related to a data service to be performed by the node.
[0294] In a possible implementation, when there is first information indicating a multicast node, the transmission path information further includes second information, where the second information is used to indicate multiple target nodes associated with the multicast node.
[0295] In a possible implementation manner, the second information includes multiple third information, and the third information is used to indicate one target node among multiple target nodes.
[0296] In a possible implementation, the third information includes third identification information and third function information, the third identification information is used to indicate the target node, and the third function information is used to indicate the relevant function of the data service to be performed by the target node.
[0297] In a possible implementation, the third information includes a network address of the target node.
[0298] In one possible implementation, the transmission path information includes a segment routing header based on Internet Protocol version 6 (IPv6), the segment routing header including at least one segment identifier, the segment identifier including a first field and a second field, wherein the first field is used to indicate a node on the transmission path, and the second field is used to indicate a related function of the data service to be performed by the node.
[0299] In a possible implementation, the segment identifier further includes a third field, and the third field is used to indicate parameters that need to be used when the node executes related functions of the data service.
[0300] In another design, the data service transmission device 1000 shown in Figure 10 can be used to perform the actions performed by the second device in the method embodiment above. The second device 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 logical 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, which is not limited in this application. In one possible implementation, the second device is a data processing device.
[0301] Optionally, the transmission device 1000 of the data service can be a second device, the processing unit 1001 is used to execute the internal processing operations of the second device in the above method embodiment, and the transceiver unit 1002 is used to execute the receiving or sending operations of the second device in the above method embodiment.
[0302] Optionally, the data service transmission device 1000 may be a device comprising a second device. Alternatively, the data service transmission device 1000 may be a component configured in the first device, such as a chip in the first device. In this case, the transceiver unit 1002 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 1001 may include a processing circuit.
[0303] In one possible implementation, the transceiver unit 1002 is used to obtain a first data packet, which includes transmission path information, and the transmission path information includes at least one cascaded first information, and the first information is used to indicate a node on the transmission path, and the node is used to implement related functions of the data service; the processing unit 1001 is used to execute related functions of the data service and generate a second data packet; the transceiver unit 1002 is also used to send a second data packet to the next node, and the second data packet includes the transmission path information.
[0304] In one possible implementation, the relevant functions of the data service include one or more of the following: data collection, data preprocessing, data storage, data analysis, data security and privacy protection, data multicasting, and data service interface.
[0305] In a possible implementation, when acquiring the first data message, the transceiver unit 1002 is specifically configured to receive transmission path information from the first device, and obtain the first data message according to the service data and the transmission path information.
[0306] In a possible implementation, when acquiring the first data message, the transceiver unit 1002 is specifically configured to receive the first data message from the previous node.
[0307] In a possible implementation, the first information includes first identification information and first function information, the first identification information is used to indicate the node, and the first function information is used to indicate a function related to the data service to be performed by the node.
[0308] In a possible implementation manner, the first information further includes parameter information associated with the first function information.
[0309] In one possible implementation, before the transceiver unit 1002 obtains the first data message, the transceiver unit 1002 is also used to: send first reporting information to the first device, the first reporting information including second identification information and second function information, the second identification information is used to indicate the second device, and the second function information is used to indicate the relevant functions of the data service supported by the second device; receive first response information from the first device, and the first response information is used to confirm the first reporting information.
[0310] In one possible implementation, before the transceiver unit 1002 obtains the first data message, the transceiver unit 1002 is also used to: send second reporting information to the first device, the second reporting information including second functional information, and the second functional information is used to indicate the relevant functions of the data service supported by the second device; receive second response information from the first device, the second response information including identification information assigned to the second device.
[0311] In a possible implementation, when executing functions related to the data service, the processing unit 1001 is specifically configured to obtain first function information according to at least one first information of the cascade, and execute functions related to the data service indicated by the first function information.
[0312] In a possible implementation, the first information includes a network address of the node.
[0313] In one possible implementation, before the transceiver unit 1002 obtains the first data message, the transceiver unit 1002 is also used to: send second reporting information to the first device, the second reporting information includes second functional information, and the second functional information is used to indicate the relevant functions of the data service supported by the second device; receive third response information from the first device, and the third response information is used to confirm the second reporting information.
[0314] In one possible implementation, the transceiver unit 1002 is also used to: receive first function information from the first device, where the first function information is used to indicate the data service-related function to be performed by the second device; and when the processing unit 1001 executes the data service-related function, it is specifically used to execute the data service-related function indicated by the first function information.
[0315] In a possible implementation, when there is first information indicating a multicast node, the transmission path information further includes second information, where the second information is used to indicate multiple target nodes associated with the multicast node.
[0316] In a possible implementation manner, the second information includes multiple third information, and the third information is used to indicate one target node among multiple target nodes.
[0317] In a possible implementation, the third information includes third identification information and third function information, the third identification information is used to indicate the target node, and the third function information is used to indicate the relevant function of the data service to be performed by the target node.
[0318] In a possible implementation, the third information includes a network address of the target node.
[0319] In one possible implementation, when the transmission device of the data service is a multicast node, the processing unit 1001 is specifically used to obtain multiple associated target nodes based on the second information when performing relevant functions of the data service; and the transceiver unit 1002 is specifically used to send the second data message to each of the multiple target nodes when sending the second data message to the next node.
[0320] In one possible implementation, the transmission path information includes a segment routing header based on Internet Protocol version 6 (IPv6), the segment routing header including at least one segment identifier, the segment identifier including a first field and a second field, wherein the first field is used to indicate a node on the transmission path, and the second field is used to indicate a related function of the data service to be performed by the node.
[0321] In a possible implementation, the segment identifier further includes a third field, and the third field is used to indicate parameters that need to be used when the node executes related functions of the data service.
[0322] Please refer to Figure 11, which is a schematic diagram of the structure of another data service transmission device provided in an embodiment of the present application. The data service transmission device 1100 shown in Figure 11 includes a processor 1101, which is coupled to a memory 1102. The memory 1102 is used to store computer programs (or instructions) and / or data. The processor 1101 is used to execute the computer programs (or instructions) and / or data stored in the memory 1102, so that the method in the above method embodiment is executed.
[0323] Optionally, the data service transmission device 1100 includes one or more processors 1101.
[0324] Optionally, as shown in FIG11 , the data service transmission device 1100 may further include a memory 1102 .
[0325] Optionally, the data service transmission device 1100 includes one or more memories 1102 .
[0326] Optionally, the memory 1102 may be integrated with the processor 1101 or provided separately.
[0327] Optionally, as shown in FIG11 , the data service transmission device 1100 may further include a transceiver 1103 and / or a communication interface, where the transceiver 1103 and / or the communication interface are configured to receive and / or transmit signals. For example, the processor 1101 may be configured to control the transceiver 1103 and / or the communication interface to receive and / or transmit signals.
[0328] Alternatively, the device in transceiver 1103 that implements a receiving function may be considered a receiving module, and the device in transceiver 1103 that implements a transmitting function may be considered a transmitting module. That is, transceiver 1103 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.
[0329] As a solution, the data service transmission device 1100 is used to implement the operations performed by the first device in the above method embodiment. For example, the processor 1101 is used to implement the operations performed by the first device in the above method embodiment (for example, the operation of S201), and the transceiver 1103 is used to implement the receiving or sending operations performed by the first device in the above method embodiment (for example, the operations of S202, S301, S302, S401, S402, S501, S502, and S503).
[0330] As another solution, the data service transmission device 1100 is used to implement the operations performed by the second device in the above method embodiment. For example, the processor 1101 is used to implement the operations performed by the second device in the above method embodiment (for example, operations S204, S206, and S208), and the transceiver 1103 is used to implement the receiving or sending operations performed by the second device in the above method embodiment (for example, operations S202, S205, S207, S301, S302, S401, S402, S501, S502, and S503).
[0331] Please refer to Figure 12, which is a schematic diagram of the structure of another data service transmission device provided by an embodiment of the present application. The data service transmission device 1200 shown in Figure 12 includes a logic circuit 1201 and an input / output interface 1202.
[0332] Logic circuit 1201 may be a processing circuit within data service transmission device 1200. Logic circuit 1201 may be coupled to a storage unit and invoke instructions within the storage unit, enabling data service transmission device 1200 to implement the methods and functions of various embodiments of the present application. Input / output interface 1202 may be an input / output circuit within data service transmission device 1200, outputting information processed by data service transmission device 1200 or inputting data or signaling information to be processed into data service transmission device 1200 for processing.
[0333] As a solution, the data service transmission device 1200 is used to implement the operations performed by the first device in the above various method embodiments.
[0334] For example, logic circuit 1201 is used to implement the processing-related operations performed by the first apparatus in the above method embodiments, such as the processing operations of the first apparatus in S201. Input / output interface 1202 is used to implement the sending and / or receiving-related operations performed by the first apparatus in the above method embodiments, such as the transceiver operations of the first apparatus in S202, S301, S302, S401, S402, S501, S502, and S503. The operations performed by logic circuit 1201 can be found in the above description of processing unit 1001, and the operations performed by input / output interface 1202 can be found in the above description of transceiver unit 1002, and will not be further described here.
[0335] As another solution, the data service transmission device 1200 is used to implement the operations performed by the second device in the above various method embodiments.
[0336] For example, the logic circuit 1201 is used to implement the processing-related operations performed by the second device in the above method embodiments, such as the processing operations of the second device in S204, S206, and S208. The input / output interface 1202 is used to implement the sending and / or receiving-related operations performed by the second device in the above method embodiments, such as the transceiver operations of the second device in S202, S205, S207, S301, S302, S401, S402, S501, S502, and S503. The operations performed by the logic circuit 1201 can be specifically described in the above description of the processing unit 1001, and the operations performed by the input / output interface 1202 can be specifically described in the above description of the transceiver unit 1002, and will not be repeated here.
[0337] It should be understood that the transmission device of the above-mentioned data service may be one or more chips. For example, the transmission device of the data service 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.
[0338] 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 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 embodiment in conjunction with its hardware. To avoid repetition, it will not be described in detail here.
[0339] 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 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.
[0340] 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.
[0341] The explanation of the relevant contents and beneficial effects of any of the data service transmission devices provided above can be referred to the corresponding method embodiments provided above, and will not be repeated here.
[0342] According to the method provided in the embodiments of the present application, the embodiments of the present application also provide a computer-readable storage medium, which stores a computer program or instructions. When the computer program or instructions are executed on a computer, the computer performs the method described in the above method embodiments. For example, when the computer program or instructions are executed by a computer, the computer implements the method performed by the first device or the method performed by the second device in the above method embodiments.
[0343] The present application also provides a computer program product comprising a computer program or instructions, which, when executed by a computer, causes the computer to perform the method described in the above method embodiments. For example, when executed by a computer, the computer program or instructions causes the computer to implement the method performed by the first device or the method performed by the second device in the above method embodiments.
[0344] An embodiment of the present application also provides a data service transmission system, including a first device and a second device, wherein the first device is used to execute the method executed by the first device in the above method embodiment, and the second device is used to execute the method executed by the second device in the above method embodiment.
[0345] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is executed in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer program or instructions can 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 can 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 can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that integrates one or more available media. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a digital video disc (DVD)), or a semiconductor medium (eg, a solid state drive (SSD)).
[0346] 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.
[0347] 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.
[0348] 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.
[0349] 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.
[0350] 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.
[0351] 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.
[0352] The above is only a specific implementation method of the present application, but the scope of protection of the present application is not limited thereto. Any technician familiar with this technical field can easily think of changes or replacements within the technical scope disclosed in this application, which should be covered by the scope of protection of the present application.
Claims
1. A data service transmission method, It is characterized in that include: A first device generates transmission path information, the transmission path information including at least one cascaded first information, the first information being used to indicate a node on the transmission path, the node being used to implement a related function of the data service; The first device sends the transmission path information to a first node, where the first node is a node indicated by a first first information in the at least one first information of the cascade.
2. The method according to claim 1, It is characterized in that The relevant functions of the data service include one or more of the following: data collection, data preprocessing, data storage, data analysis, data security and privacy protection, data multicasting and data service interface.
3. The method according to claim 1 or 2, It is characterized in that The first information includes first identification information and first function information, the first identification information is used to indicate the node, and the first function information is used to indicate a function related to a data service to be performed by the node.
4. The method according to claim 3, It is characterized in that The first information also includes parameter information associated with the first function information.
5. The method according to claim 3 or 4, It is characterized in that Before the first device generates the transmission path information, the method further includes: The first device receives first reporting information from a second node in the network, the first reporting information including second identification information and second function information, the second identification information is used to indicate the second node, and the second function information is used to indicate related functions of a data service supported by the second node; The first device sends first response information to the second node, where the first response information is used to confirm the first reported information.
6. The method according to claim 3 or 4, It is characterized in that Before the first device generates the transmission path information, the method further includes: The first device receives second reporting information from a second node in the network, where the second reporting information includes second function information, where the second function information is used to indicate functions related to a data service supported by the second node; The first device sends second response information to the second node, where the second response information includes identification information allocated to the second node.
7. The method according to claim 1 or 2, It is characterized in that The first information includes a network address of the node.
8. The method according to claim 7, It is characterized in that Before the first device generates the transmission path information, the method further includes: The first device receives second reporting information from a second node in the network, where the second reporting information includes second function information, where the second function information is used to indicate functions related to a data service supported by the second node; The first device sends third response information to the second node, where the third response information is used to confirm the second reported information.
9. The method according to claim 7 or 8, It is characterized in that The method further comprises: The first device sends first function information to the node, where the first function information is used to indicate a function related to a data service to be performed by the node.
10. The method according to any one of claims 1 to 9, It is characterized in that When there is first information indicating a multicast node, the transmission path information further includes second information, where the second information is used to indicate a plurality of target nodes associated with the multicast node.
11. The method according to claim 1 or 2, It is characterized in that The transmission path information includes a segment routing header based on Internet Protocol version 6 (IPv6), the segment routing header includes at least one segment identifier, the segment identifier includes a first field and a second field, wherein the first field is used to indicate a node on the transmission path, and the second field is used to indicate a related function of a data service to be performed by the node.
12. A method for transmitting data services, It is characterized in that include: The second device acquires a first data message, where the first data message includes transmission path information, where the transmission path information includes at least one cascaded first information, where the first information is used to indicate a node on the transmission path, where the node is used to implement a related function of the data service; The second device performs the relevant functions of the data service to generate a second data message; The second device sends the second data packet to a next node, and the second data packet includes the transmission path information.
13. The method according to claim 12, It is characterized in that The relevant functions of the data service include one or more of the following: data collection, data preprocessing, data storage, data analysis, data security and privacy protection, data multicasting and data service interface.
14. The method according to claim 12 or 13, It is characterized in that The second device obtains the first data message, including: The second device receives the transmission path information from the first device, and obtains a first data message according to the service data and the transmission path information.
15. The method according to claim 12 or 13, It is characterized in that The second device obtains the first data message, including: The second device receives a first data message from a previous node.
16. The method according to any one of claims 12 to 15, It is characterized in that The first information includes first identification information and first function information, the first identification information is used to indicate the node, and the first function information is used to indicate a function related to a data service to be performed by the node.
17. The method according to claim 16, It is characterized in that The first information also includes parameter information associated with the first function information.
18. The method according to claim 16 or 17, It is characterized in that Before the second device obtains the first data message, the method further includes: The second device sends first reporting information to the first device, where the first reporting information includes second identification information and second function information, where the second identification information is used to indicate the second device, and the second function information is used to indicate related functions of the data service supported by the second device; The second device receives first response information from the first device, where the first response information is used to confirm the first reported information.
19. The method according to claim 16 or 17, It is characterized in that Before the second device obtains the first data message, the method further includes: The second device sends second reporting information to the first device, where the second reporting information includes second function information. The second function information is used to indicate functions related to the data service supported by the second device; The second device receives second response information from the first device, where the second response information includes identification information allocated to the second device.
20. The method according to any one of claims 16 to 19, It is characterized in that The second device performs functions related to the data service, including: The second device obtains first functional information according to at least one first information of the cascade; The second device performs functions related to the data service indicated by the first function information.
21. The method according to any one of claims 12 to 15, It is characterized in that The first information includes a network address of the node.
22. The method according to claim 21, It is characterized in that Before the second device obtains the first data message, the method further includes: The second device sends second reporting information to the first device, where the second reporting information includes second function information, where the second function information is used to indicate functions related to the data service supported by the second device; The second device receives third response information from the first device, where the third response information is used to confirm the second reported information.
23. The method according to claim 21 or 22, It is characterized in that The second device performs functions related to the data service, including: The second device receives first function information from the first device, where the first function information is used to indicate a function related to a data service to be performed by the second device; The second device performs functions related to the data service indicated by the first function information.
24. The method according to any one of claims 12 to 23, It is characterized in that When there is first information indicating a multicast node, the transmission path information further includes second information, where the second information is used to indicate a plurality of target nodes associated with the multicast node.
25. The method according to claim 24, It is characterized in that When the second device is a multicast node, the second device performs functions related to the data service, including: The second device obtains a plurality of associated target nodes according to the second information; The second device sending the second data message to a next node includes: The second device sends the second data message to each of the multiple target nodes.
26. The method according to any one of claims 12 to 15, It is characterized in that The transmission path information includes a segment routing header based on Internet Protocol version 6 (IPv6), the segment routing header includes at least one segment identifier, the segment identifier includes a first field and a second field, wherein the first field is used to indicate a node on the transmission path, and the second field is used to indicate a related function of a data service to be performed by the node.
27. A transmission device for data services, It is characterized in that The device comprises means for performing the steps of the method according to any one of claims 1 to 11, or the device comprises means for performing the steps of the method according to any one of claims 12 to 26.
28. A transmission device for data services, It is characterized in that The device includes a processor, wherein the processor is 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 11, or executes the method according to any one of claims 12 to 26.
29. A transmission device for data services, It is characterized in that The device comprises a logic circuit, wherein the logic circuit is configured to be coupled to an input / output interface and transmit data through the input / output interface so as to execute the method according to any one of claims 1 to 11 or execute the method according to any one of claims 12 to 26.
30. A data service transmission system, It is characterized in that The system comprises a first device and a second device, wherein the first device is used to perform the method according to any one of claims 1 to 11, and the second device is used to perform the method according to any one of claims 12 to 26.
31. A computer-readable storage medium, It is 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 11, or execute the method according to any one of claims 12 to 26.
32. A computer program product, It is 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 11 is implemented, or the method according to any one of claims 12 to 26 is implemented.
Citation Information
Patent Citations
Segment routing service processing method and device, routing equipment and storage medium
CN112511427A
Message transmission method, device, equipment, storage medium and system
CN114666259A
Data transmission method, network node and storage medium
CN115442295A
SRv6 path authentication method, node, system, device and medium based on encryption and decryption
CN115801656A
