Data transmission method and apparatus

By identifying alternative nodes through a data communication proxy device, the problems of resource waste and deployment difficulty caused by disaster recovery backup are solved, and the continuity and cost optimization of data transmission are achieved.

WO2026061248A1PCT designated stage Publication Date: 2026-03-26HUAWEI TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2025-09-01
Publication Date
2026-03-26

AI Technical Summary

Technical Problem

In existing technologies, disaster recovery and backup solutions require the configuration of a large number of backup nodes in the network, which increases the difficulty of deployment and wastes resources.

Method used

By using a data communication proxy device and mapping relationships, alternative nodes can be identified, backup nodes can be avoided, and the continuity of data transmission can be ensured.

Benefits of technology

It reduces resource waste, lowers the difficulty and cost of network deployment, and ensures the continuity of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025118244_26032026_PF_FP_ABST
    Figure CN2025118244_26032026_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of communications, and in particular to a data transmission method and an apparatus, aiming to guarantee the continuity of data transmission, reduce the waste of resources caused by disaster recovery backup, and reduce the difficulty and cost of network deployment. The method can be executed by a data communication proxy apparatus. The method comprises: receiving first data, wherein a next-hop node for the first data is a first node; in response to a failure of the first node, determining a second node identifier on the basis of a first node identifier of the first node and a first mapping relationship, wherein a second node corresponding to the second node identifier is an alternative node to the first node, and the first mapping relationship is used for indicating that the second node can replace the first node; and sending the first data to the second node.
Need to check novelty before this filing date? Find Prior Art

Description

Data transmission method and device

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to the Chinese Patent Application No. 202411315208.2, filed on September 20, 2024, and entitled “A data transmission method and device”, the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD

[0003] The present application relates to the field of communication technology, and in particular, to a data transmission method and device. BACKGROUND

[0004] Data is generated, flows and consumed in a communication network, and plays a significant role. With the development of network scale, new technologies, applications, etc., the data in the network is increasing and becoming more and more important. Therefore, efficient use of data requires a complete service architecture to run through the entire life cycle from data generation, collection, storage, transmission, processing, analysis, exchange and sharing, etc. Data service refers to a service that provides data collection, data preprocessing, data transmission, data publishing or data analysis, etc. Data processing meets the requirements of data laws and regulations, and can balance data sharing and security, and provides data as a service product. A data service task refers to a series of data services provided to implement a certain data business. Data service task supports arbitrary topology and in-line computing, and usually needs to pre-configure a plurality of data processing nodes for executing data service tasks, and pre-configure routing information of data service tasks between the plurality of data processing nodes, to realize continuous transmission of data of data service tasks.

[0005] At present, a disaster recovery backup scheme is usually used to ensure the continuity of data transmission. For example, device-level backup is performed on each node in the network, and each node in the network corresponds to one or more backup nodes, and when a node fails, a certain backup node corresponding to the node takes over the work of the node.

[0006] However, the disaster recovery backup scheme needs to configure a large number of backup nodes in the network, which increases the difficulty and cost of network deployment, and a large number of configured backup nodes will cause resource idling and waste of resources. SUMMARY

[0007] The embodiments of the present application provide a data transmission method and device to ensure the continuity of data transmission, reduce the waste of resources caused by disaster recovery backup, and reduce the difficulty and cost of network deployment.

[0008] In a first aspect, an embodiment of the present application provides a data transmission method, which can be executed by a data communication proxy device. The data communication proxy device can refer to a data communication proxy node, a component (for example, a processor, a module, a chip, or a chip system) in the data communication proxy node, a logic module or software capable of implementing all or part of the function of the data communication proxy node, and the like. The method comprises the following steps: receiving first data, wherein a next hop node of the first data is a first node; in response to a failure of the first node, determining a second node identifier according to a first node identifier of the first node and a first mapping relationship, wherein the second node corresponding to the second node identifier is a replaceable node of the first node, and the first mapping relationship is used to indicate that the second node can replace the first node; and sending the first data to the second node.

[0009] Through the above method, when the data communication proxy device determines that the first node fails in data transmission next hop, and cannot complete data processing service, the second node that can replace the first node can be determined according to the first mapping relationship, and the data processing service that needs to be completed by the first node can be completed by the second node, which can avoid data transmission interruption and ensure data transmission continuity. Meanwhile, the second node is not a backup node of the first node, and the second node normally executes data processing service that needs to be executed by the second node in the network, and only in the case that the first node fails, the data processing service that needs to be completed by the first node can be completed, so it is not necessary to backup each node in the network, which can reduce resource waste caused by disaster recovery backup and reduce network deployment difficulty and cost.

[0010] In a possible design, the first data comprises path indication information and hop number indication information, the path indication information is used to indicate a data chain of the first data transmission, the hop number indication information is used to indicate a remaining hop number corresponding to the first data, and the path indication information and the hop number indication information are used to determine the first node.

[0011] Through the above design, the data communication proxy device can determine the next hop node of the first data transmission according to the path indication information and the hop number indication information carried by the first data, which can avoid configuring routing information of each node in the data chain of the first data transmission in the data communication proxy device, and can reduce data transmission complexity.

[0012] In a possible design, the path indication information is determined according to node identifiers and remaining hop numbers corresponding to each node in the data chain and a coprime array, and the data chain comprises the first node.

[0013] Through the above design, the first path indication information can be determined based on the identifiers and the remaining hop numbers of the nodes in the first data chain and the coprime array, so that the data communication proxy device can determine the identifiers of the nodes in the first data chain according to the first path indication information and the coprime array in the data transmission process, thereby reducing the complexity of data transmission without additional indication of the information of the data nodes in the first data chain.

[0014] In a possible design, the method further includes: receiving first capability information, the first capability information indicating one or more capabilities supported by the first node; receiving second capability information, the second capability information indicating one or more capabilities supported by the second node; and determining the first mapping relationship in response to the first capability information and the second capability information satisfying a first condition.

[0015] Through the above design, the data communication proxy device can determine the replaceable relationship between the nodes according to the capability information of different nodes, to ensure that the replaced node can complete the data processing service that needs to be performed by the original node.

[0016] In a possible design, the first capability information and the second capability information satisfying the first condition includes that the one or more capabilities supported by the second node as indicated by the second capability information include the one or more capabilities supported by the first node as indicated by the first capability information.

[0017] Through the above design, the data communication proxy device can determine the replaceable relationship between the nodes in the case that the replaced node has all the capabilities of the original node, to ensure that the replaced node can complete the data processing service that needs to be performed by the original node, and ensure the continuity of data transmission.

[0018] In a possible design, the first capability information and the second capability information satisfying the first condition includes that the one or more capabilities supported by the second node include a first capability, and the first capability is a capability (such as a data processing capability) applied by the first node in the data chain of the first data transmission.

[0019] Through the above design, the data communication proxy device can determine the replaceable relationship between the nodes in the case that the replaced node has the capability of the original node in the first data transmission process, to ensure that the replaced node can complete the data processing service that needs to be performed by the original node, and ensure the continuity of data transmission.

[0020] In a possible design, the first mapping relationship is contained in a first mapping table, and the first mapping table includes node identifiers and address information of one or more nodes in the data chain of the first data transmission, and a node identifier of a replaceable node corresponding to at least one node of the one or more nodes, and the data chain includes the first node.

[0021] Through the above design, the data communication proxy device can maintain, in the first mapping table, the node identifier of the replaceable node corresponding to at least one node of one or more nodes in the data chain (or transmission path) of the first data transmission, so as to replace the failed node with the replaceable node when a node in the data chain of the first data transmission fails, thereby guaranteeing the continuity of data transmission.

[0022] In a possible design, the data chain further includes a second node.

[0023] Through the above design, one node in the data chain can serve as a replaceable node of another node in the data chain, and additional backup nodes can be avoided, thereby reducing resource waste caused by node backup.

[0024] In a second aspect, an embodiment of the present application provides a communication device, which has a function of implementing the method in the first aspect, and the function can be implemented by hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions, such as an interface unit and a processing unit.

[0025] In a possible design, the device can be a chip or an integrated circuit.

[0026] In a possible design, the device includes a memory and a processor, the memory is used to store instructions executed by the processor, and when the instructions are executed by the processor, the device can perform the method in the first aspect.

[0027] In a third aspect, an embodiment of the present application provides a communication device, which includes an interface circuit and a processor, and the processor and the interface circuit are coupled to each other. The interface circuit is used to input and / or output signals, and the processor is used to implement the method in the first aspect through a logic circuit or executing instructions. It can be understood that the interface circuit can be a transceiver or a transceiver or a transceiving device or an input / output interface.

[0028] Optionally, the communication device can further include a memory, which is used to store instructions executed by the processor or store input data required by the processor to run instructions or store data generated after the processor runs instructions. The memory can be a physically independent unit, or can be coupled to the processor, or the processor includes the memory (that is, the processor and the memory are integrated together).

[0029] In a possible implementation, the communication device is a chip.

[0030] In a fourth aspect, an embodiment of the present application provides a computer readable storage medium, and the computer readable storage medium stores a computer program or instructions, and when the computer program or instructions are executed by a processor, the method in the first aspect can be implemented.

[0031] In a fifth aspect, the embodiments of the present application further provide a computer program product, comprising computer programs or instructions, which, when executed by a processor, can implement the method of the first aspect.

[0032] In a sixth aspect, the embodiments of the present application further provide a chip system, comprising a processor, and the processor is configured to be coupled with a memory, and the memory is configured to store programs or instructions, and when the programs or instructions are executed by the processor, the method of the first aspect can be implemented.

[0033] The technical effects achieved by the second aspect to the sixth aspect can refer to the technical effects achieved by the first aspect, which will not be repeated here. BRIEF DESCRIPTION OF DRAWINGS

[0034] FIG. 1 is a schematic diagram of an architecture of a communication network according to an embodiment of the present application;

[0035] FIG. 2 is a schematic diagram of a sensing architecture according to an embodiment of the present application;

[0036] FIG. 3 is a schematic diagram of a data transmission method according to an embodiment of the present application;

[0037] FIG. 4 is a schematic diagram of data transmission according to an embodiment of the present application;

[0038] FIG. 5 is a schematic diagram of an alternative mapping relationship determination according to an embodiment of the present application;

[0039] FIG. 6 is a schematic diagram of a node registration process according to an embodiment of the present application;

[0040] FIGS. 7 and 8 are schematic diagrams of the structure of a communication device according to an embodiment of the present application. DETAILED DESCRIPTION

[0041] The embodiments of the present application provide a data transmission method and device. The method and device are based on the same inventive concept. Since the principles of the method and device for solving problems are similar, the implementation of the device and the method can be referred to each other, and the repeated parts will not be repeated.

[0042] FIG. 1 shows a possible, non-limiting schematic diagram of a communication network. As shown in FIG. 1, the communication network 10 includes a radio access network (RAN) 100 and a core network (CN) 200. The RAN 100 includes at least one RAN node (e.g., 110a and 110b in FIG. 1, collectively referred to as RAN nodes 110) and at least one terminal device (e.g., 120a-120j in FIG. 1, collectively referred to as terminal devices 120). Other RAN nodes, such as wireless relay devices and / or wireless backhaul devices (not shown in FIG. 1), etc., can also be included in the RAN 100. The terminal devices 120 are connected to the RAN nodes 110 in a wireless manner. The RAN nodes 110 are connected to the core network 200 in a wireless or wired manner. The core network devices in the core network 200 and the RAN nodes 110 in the RAN 100 can be different physical devices respectively, or can be the same physical device integrated with the logical functions of the core network and the radio access network respectively.

[0043] The RAN 100 can be a 3rd generation partnership project (3GPP)-related cellular network, e.g., a 4G, 5G mobile communication network, or a future communication network. The RAN 100 can also be an open RAN (O-RAN or ORAN), a cloud radio access network (CRAN), or a wireless fidelity (WiFi) network. The RAN 100 can also be a communication network that combines two or more of the above systems.

[0044] It can be understood that FIG. 1 only shows a possible communication network to which the embodiments of the present application can be applied, and in other possible scenarios, other devices can also be included in the communication network.

[0045] The RAN nodes 110, which can also be referred to as access network devices, RAN entities or access nodes, network devices, etc., form part of a communication network and are configured to facilitate wireless access to the communication network for terminal devices. The RAN nodes 110 in the communication network 10 can be of the same type or different types. In some scenarios, the roles of the RAN nodes 110 and the terminal devices 120 are relative, e.g., the network element 120i in Figure 1 can be a helicopter or a drone, which can be configured to move as a mobile base station for terminal devices 120j accessing the RAN 100 via the network element 120i. For those terminal devices 120j, the network element 120i is a base station, but for the base station 110a, the network element 120i is a terminal device. The RAN nodes 110 and the terminal devices 120 are sometimes referred to as communication apparatuses, e.g., the network elements 110a and 110b in Figure 1 can be understood as communication apparatuses with base station functionalities, and the network elements 120a-120j can be understood as communication apparatuses with terminal device functionalities.

[0046] In a possible scenario, the RAN node can be a base station (BS), an evolved NodeB (eNodeB), an access point (AP), a transmission reception point (TRP), a next generation NodeB (gNB), a base station in a future communication network, or an access node in a WiFi network, etc. The RAN node can be a macro base station (e.g., 110a in Figure 1), a micro base station or an indoor station (e.g., 110b in Figure 1), a relay node or a donor node, or a wireless controller in a CRAN scenario. Optionally, the RAN node can also be a server, a wearable device, a vehicle or a vehicle-mounted device, etc. For example, the RAN node in a vehicle to everything (V2X) technology can be a road side unit (RSU). All or part of the functions of the RAN node in the present application can also be implemented by software functions running on hardware, or by virtualized functions instantiated on a platform (e.g., a cloud platform). The RAN node in the present application can also be a logic node, a logic module or software capable of implementing all or part of the functions of the RAN node.

[0047] In another possible scenario, a terminal device is assisted by multiple RAN nodes to implement wireless access, and different RAN nodes respectively implement part of functions of a base station. For example, a RAN node can be a central unit (CU), a distributed unit (DU), a CU-control plane (CP), a CU-user plane (UP), or a radio unit (RU), etc. The CU and the DU can be separately arranged, or can be included in the same network element, for example, in a baseband unit (BBU). The RU can be included in a radio frequency device or a radio frequency unit, for example, included in a remote radio unit (RRU), an active antenna processing unit (AAU), or a remote radio head (RRH).

[0048] In different systems, the CU (or CU-CP and CU-UP), DU or RU can also have different names, but those skilled in the art can understand their meanings. For example, in an O-RAN system, the CU can also be referred to as an O-CU (open CU), the DU can also be referred to as an O-DU, the CU-CP can also be referred to as an O-CU-CP, the CU-UP can also be referred to as an O-CU-UP, and the RU can also be referred to as an O-RU. For the convenience of description, the CU, CU-CP, CU-UP, DU and RU are taken as examples for description in this application. Any one of the CU (or CU-CP, CU-UP), DU and RU in this application can be implemented by a software module, a hardware module, or a combination of a software module and a hardware module.

[0049] The terminal device can also be referred to as a terminal, a user equipment (UE), a mobile station, a mobile terminal, etc., or a device used to provide voice or data connectivity to a user, or an Internet of Things device. The terminal device can be widely applied to various scenarios, such as device-to-device (D2D) communication, vehicle-to-everything (V2X) communication, machine-type communication (MTC), Internet of Things (IoT), virtual reality, augmented reality, industrial control, automatic driving, remote medical treatment, smart power grid, smart home, smart office, smart wear, smart transportation, smart city, etc. The terminal device can be a mobile phone, a tablet computer, a notebook computer, a palm computer, a mobile Internet device (MID), a wearable device (such as a smart watch, a smart bracelet, a pedometer, smart glasses, etc.), a vehicle-mounted device (such as a car, a bicycle, an electric vehicle, an airplane, a ship, a train, a high-speed rail, etc.), a satellite terminal, a virtual reality (VR) device, an augmented reality (AR) device, a smart point of sale (POS) machine, a customer-premises equipment (CPE), a light UE, a reduced capability UE (REDCAP UE), a wireless terminal in industrial control, a smart home device (such as a refrigerator, a television, an air conditioner, an electricity meter, etc.), a smart robot, a mechanical arm, a workshop device, a wireless terminal in unmanned driving, a wireless terminal in remote medical treatment, a wireless terminal in a smart grid, a wireless terminal in transportation safety, a wireless terminal in a smart city, or a wireless terminal in a smart home, a flight device (such as a smart robot, a hot air balloon, a drone, an airplane), etc. The terminal device can also be a vehicle device, such as a whole vehicle device, a vehicle-mounted module, a vehicle-mounted chip, an on board unit (OBU), or a telematics box (T-BOX), etc. The terminal device can also be other devices with terminal functions, for example, the terminal device can also be a device with terminal functions in D2D communication. Embodiments of the present application do not limit the device form of the terminal device.

[0050] A plurality of network function (NF) entities can be included in the CN, such as an access and mobility management function (AMF), a network exposure function (NEF), a policy control function (PCF), a session management function (SMF), a charging function (CHF), and the like.

[0051] For the convenience of those skilled in the art, some terms in this application are explained below.

[0052] 1) Data service and data service task.

[0053] Data service refers to a service that provides data collection, data preprocessing, data transmission, data publishing, data analysis, data storage, data privacy and security protection, data sharing or data transaction, data traceability, or data dictionary, and the like. It should be understood that the type of data service is not limited in the embodiments of the present application.

[0054] Data service task refers to a series of data services required (or provided) to achieve a certain data service. Data service task supports arbitrary topology and in-line computing, and usually requires pre-configuration of a plurality of data processing nodes for executing data service task, and pre-configuration of routing information of data service task between the plurality of data processing nodes, to realize continuous transmission of data of data service task.

[0055] 2) Wireless sensing (or sensing).

[0056] Wireless sensing is sensing using wireless signals. Sensing is a process of collecting, processing, and generating sensing results from collected data. For example, by collecting data to determine the distance, shape, type, and the like of surrounding obstacles, and for example, by collecting data to determine the breathing frequency, heartbeat, and the like of a sensing object. Among them, the collected data can be data collected by a sensor, or data collected by a wireless signal.

[0057] 3) Sensing entity (SE).

[0058] The sensing entity can also be referred to as a sensing network element. The sensing entity can refer to a data source that converts a wireless signal into raw sensing data through data processing. The sensing entity can be deployed together with other devices (or combined) or independently deployed. For example, the sensing entity can be deployed on an access network device or a terminal device, that is, an access network device or a terminal device with sensing capability can serve as a sensing entity. The sensing entity can also be independently deployed, such as a sensor, a camera, and the like.

[0059] 4) Sensing data process function (SDPF).

[0060] The SDPF is mainly responsible for calculating sensing measurement data from raw sensing data and calculating sensing results from the sensing measurement data; data routing and forwarding, policy implementation (such as quality of service (QoS), charging, incentives, security), providing an interface for data exposure to the NEF, data privacy protection (such as encryption), and assigning an internet protocol (IP) address for a sensing entity (such as a terminal device) and the like.

[0061] The raw sensing data refers to basic information of the sensing signal, such as amplitude, phase, and the like. The measurement data refers to data obtained by processing the raw sensing data, which is used to represent the measurement dimension, and can include but is not limited to one or more of the following information: time delay of a sampling point, receiving angle of the sensing signal, signal strength of the sensing signal, Doppler (i.e., frequency offset of the sensing signal), position of a target object, speed of the target object, and the like. The sensing result can refer to a result obtained by processing the sensing data, wherein the sensing data can include the raw sensing data and / or the measurement data, and the sensing result can include but is not limited to the following information: distance between the sensing entity and the target object, speed of the target object, position of the target object, angle between the sensing entity and the target object, movement path of the target object, breathing rate of the target object, heartbeat of the target object, and the like.

[0062] 5) Data orchestration (DO).

[0063] The DO can be used to receive a data service task, select a data processing node (such as an SDPF) according to the requirements of the data service task, and orchestrate the functions of the data processing node, thereby dynamically establishing an end-to-end (E2E) data transmission network topology for the data service task.

[0064] 6)、In the description of the present application, the words "first", "second", etc. are used only to distinguish multiple objects, and are not used to limit the size, content, order, timing, priority or importance of the multiple objects. For example, the first node and the second node do not mean that the priority or importance of the two nodes is different.

[0065] 7)、In the embodiments of the present application, the number of nouns, unless otherwise specified, represents "singular noun or plural noun", that is, "one or more". "At least one" means one or more, and "multiple" means two or more. The word "and / or" describes the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B can represent the following cases: A exists alone, A and B exist together, and B exists alone, where A and B can be singular or plural. The character " / " generally represents an "or" relationship between the associated objects. For example, A / B means A or B. "At least one of the following" or similar expressions means any combination of these items, including any combination of single item or multiple items. For example, at least one of a, b, or c means a, b, c, a and b, a and c, b and c, or a and b and c, where a, b, and c can be single or multiple.

[0066] 8)、In the present application, "sending information" can be understood as one device sending information to another device, or also can be understood as one logical module in a device sending information to another logical module. For example, "device A sends information" can be understood as device A sending information to another device (device B), or can be understood as logical module 1 in device A sending information to logical module 2 in device A. In the present application, "receiving information" can be understood as one device receiving information from another device, or also can be understood as one logical module in a device receiving information from another logical module. For example, "device A receives information" can be understood as device A receiving information from another device (such as device B), or can be understood as logical module 1 in device A receiving information from logical module 2 in device A. In the present application, "sending information to … (for example, device B)" or related diagrams in the drawings can be understood as that the destination of the information is device B. It can include directly or indirectly sending information to device B. "Receiving information from … (for example, device A)" or "receiving information from … (for example, device A)" or "receiving information sent by … (for example, device A)", or related diagrams in the drawings can be understood as that the source of the information is device A, which can include directly or indirectly receiving information from device A. The information between the source and the destination of the information sending can be processed as necessary, such as format change, etc., but the destination can understand the valid information from the source. Similar expressions in the present application can be understood similarly, which will not be repeated here.

[0067] In addition, in the embodiments of the present application, the term "data transmission" can also be described as "information transmission", "transmission", "communication", or "wireless communication", and the like.

[0068] With the diversified development of data (such as perception data, artificial intelligence (AI) data, IoT data, and the like) transmission, the way of signaling or data transmission is also constantly updated and changed. The current existing signaling or data transmission mode can not meet the future data transmission requirements. Based on this, in order to improve the data transmission efficiency, the present application considers introducing a new network function in the 3GPP network, for example, a data communication proxy (DCP). It should be understood that the DCP is only an example of a name, and the DCP can also be replaced by other names. The device with the same function as the DCP can be regarded as the DCP, and the present application does not limit this. The DCP can be deployed as a standalone network element in the 3GPP network, or can be co-located with the network element or device in the 3GPP network, and the present application does not limit this.

[0069] The DCP can support multiple transmission protocols, such as transmission control protocol (TCP), user datagram protocol (UDP), or quick UDP internet connection (QUIC) protocol, or other transmission protocols, and the like. The data producer can send data to the DCP, and the data consumer can subscribe to and pull data from the DCP.

[0070] FIG. 2 shows a schematic diagram of a possible perception architecture in which the DCP network element is introduced in the 3GPP network. In this perception architecture, the access network device can be directly connected to the DCP network element. Among them, the access network device 1 acts as a perception source (or data source) and directly transmits the perception data to the DCP network element. The access network device 2 obtains the perception data from the terminal device and transmits the perception data to the DCP network element.

[0071] In the sensing architecture, a sensing service control function (SSCF) network element can be used to implement a control plane function of a sensing service, for example, the SSCF network element is used to receive sensing capability information of a sensing entity, and orchestrate a sensing service based on the sensing capability information of the sensing entity (including selection of a sensing signal receiving / transmitting entity). The SSCF can be connected to a service-based interface (SBI) bus to communicate with other core network elements through an SBI.

[0072] An SDPF network element can be used to implement a data plane function of a sensing service, for example, the SDPF network element is used to process sensing data of a sensing service to obtain a sensing result of the sensing service. The SDPF can be mounted to an SBI bus to communicate with other core network elements through an SBI, or can communicate through a separate interface, for example, communicate with other SDPFs through a separate interface, or communicate with the SSCF through a separate interface.

[0073] A data storage function (DSF) network element can store sensing data.

[0074] A sensing service subscriber management (SSSM) network element can be used for registration of a sensing user, subscription and unsubscription of a sensing service, or authentication and authorization, etc.

[0075] Among them, other core network elements in the sensing architecture, such as AMF network elements, NEF network elements, PCF network elements, CHF network elements, service communication proxy (SCP) network elements, etc. can act as data consumers to subscribe to data from the DCP network element, or as data producers to send data to the DCP network element.

[0076] For a data service task, a plurality of data processing nodes (such as SDPFs) for executing the data service task can be configured by an orchestration node (such as an SSCF network element), and routing information of the data service task between the plurality of data processing nodes to realize continuous transmission of data of the data service task.

[0077] In addition, it needs to be understood that in the embodiments of the present application, the entity can also be referred to as a network element, similarly, the network element can also be referred to as an entity, and the entity / network element can also be referred to as a network function instance (NFI), an apparatus or a module, etc. The present application does not limit this. The above-mentioned AMF network element, NEF network element, PCF network element, SCP network element, etc. can also be referred to as AMF, NEF, PCF, SCP, etc.

[0078] It should also be understood that the AMF, NEF, PCF, or SCP, etc. described above can be understood as network elements in the core network for implementing different functions. These core network network elements can be independent devices or can be integrated into the same device to implement different functions, and the specific form of the network elements is not limited in the present application.

[0079] In addition, the above naming is only defined for the convenience of distinguishing different functions and should not constitute any limitation on the present application. The present application does not exclude the possibility of using other names in 5G networks and future other networks. For example, in future networks, part or all of the above network elements can use the terms in 5G or other names, etc.

[0080] Currently, a disaster recovery backup scheme is usually used to ensure the continuity of data transmission. For example, device-level backup is performed on each node in the network, and each node in the network corresponds to one or more backup nodes, and when a node fails, a certain backup node corresponding to the node takes over the work of the node.

[0081] However, the disaster recovery backup scheme requires a large number of backup nodes to be configured in the network, which increases the difficulty and cost of network deployment, and a large number of configured backup nodes will cause resource idling and waste of resources.

[0082] Therefore, the embodiments of the present application provide a data transmission method and device to ensure the continuity of data transmission, reduce resource waste caused by disaster recovery backup, and reduce the difficulty and cost of network deployment. The embodiments of the present application will be described in detail below with reference to the accompanying drawings.

[0083] The data transmission method provided by the embodiments of the present application can be executed by a data communication proxy device, which can refer to a data communication proxy node (such as DCP), a component (such as a processor, a module, a chip, or a chip system) in the data communication proxy node that implements the method, or a logic module or software that can implement all or part of the functions of the data communication proxy node. Taking the data communication proxy device as an example, the DCP can support multiple transmission protocols, such as TCP, UDP, or QUIC protocol or other transmission protocols, and can proxy data communication between different nodes (or network elements). The data producer can send data to the DCP, and the data consumer can obtain data from the DCP. For example, node A as a data producer can send generated data to the DCP, and node B as a data consumer can obtain the data generated by node A from the DCP. The data producer (i.e. node A) and the data consumer (i.e. node B) do not directly communicate data, but communicate data through the DCP proxy, that is, the data is transmitted through the DCP.

[0084] FIG. 3 is a schematic diagram of a data transmission method provided by an embodiment of the present application, which comprises the following steps:

[0085] S301: The data communication proxy device receives first data, and the next hop node of the first data is the first node.

[0086] Data service refers to a service of providing data collection, data preprocessing, data transmission, data publishing, data analysis, data storage, data privacy and security protection, data sharing or data transaction, data traceability, or data dictionary, etc. A data service task can refer to a series of data services required (or provided) for implementing a certain data business. In an embodiment of the present application, when a data service task is received, the orchestration node can configure one or more data chains (DC) for data transmission for the data service task according to the requirements (or needs) of the data service task, so as to implement the data service task. The orchestration node can be a DO or an SSCF in a communication system.

[0087] FIG. 4 is a schematic diagram of a data chain provided by an embodiment of the present application. The data communication proxy device (DCP1 in FIG. 4) manages (or is associated with or connected to) nodes with identifiers (also referred to as network element identifiers (IDs), i.e., NF_IDs) 0, 1, …, 9, respectively, wherein the node corresponding to the identifier 9 is RAN1, the node corresponding to the identifier 7 is SDPF1, the node corresponding to the identifier 5 is SDPF2, and the node corresponding to the identifier 4 is application server (AS) 2. The SDPF1 supports X1 data processing capability, and the SDPF2 supports X2 data processing capability. The orchestration node (such as SSCF / DO) receives a data service task from a requester (such as AS2), and the data service task requires that AS2 needs to process the data collected by RAN1 after X1 and X2 processing. The orchestration node can configure a data chain A: RAN1— SDPF1— SDPF2— AS2 for the data service task.

[0088] It should be noted that in the embodiments of the present application, X1, X2, etc. are used to represent different data processing capabilities. For example, the above-mentioned X1 data processing capability can be the capability of calculating the Doppler (i.e., the frequency offset of the perception signal) of the perception signal based on the original perception data (such as the amplitude and phase of the perception signal), and the above-mentioned X2 data processing capability can be the capability of calculating the intensity of the perception signal based on the original perception data; or the above-mentioned X1 data processing capability can be the capability of calculating the Doppler of the perception signal based on the original perception data, and the above-mentioned X2 data processing capability can be the capability of calculating the moving speed of the perception object based on the Doppler of the perception signal, etc.

[0089] After configuring a data link for a data service task, the data communication agent can receive the first data sent by any node in the data link and send the received first data to the next hop node.

[0090] It should be understood that, in the embodiments of this application, the first data refers to the data being transmitted. During transmission, the first data may undergo corresponding data processing, such as format changes or data analysis. The format and / or content of the first data may change during transmission. For example, the first data may refer to data transmitted through data chain A: RAN1---SDPF1---SDPF2---AS2. The first data may undergo corresponding data processing at each node of data chain A, and the format and / or content of the first data may change after the data processing at each node.

[0091] S302: In response to a first node failure, the data communication proxy device determines a second node identifier based on the first node identifier of the first node and the first mapping relationship, wherein the second node corresponding to the second node identifier is a replaceable node of the first node, and the first mapping relationship is used to indicate that the second node can replace the first node.

[0092] S303: The data communication agent sends the first data to the second node.

[0093] In this embodiment, the data communication proxy device may be configured with a mapping relationship between at least one of the multiple nodes managed by the data communication proxy device and its corresponding alternative node. Taking a first mapping relationship used to indicate that a second node can replace a first node as an example, the first mapping relationship may include a mapping relationship between the second node identifier of the second node and the first node identifier of the first node, indicating that the second node can replace the first node.

[0094] After receiving the first data, if the heartbeat connection with the first node is interrupted and / or sending the first data to the first node fails, the data communication proxy device can determine that the first node is faulty. In the event of a first node failure, the data communication proxy device can respond to the first node failure by determining the second node identifier based on the first node identifier of the first node and a first mapping relationship indicating that a second node can replace the first node. After determining the second node identifier, the data communication proxy device can send the first data to the second node corresponding to the second node identifier, so that the second node can replace the faulty first node to complete the data processing service and ensure the continuity of data transmission.

[0095] In one possible implementation, the data communication agent can determine the mapping relationship between at least one of the multiple nodes and its corresponding alternative node based on the capability information of the multiple nodes managed by the data communication agent.

[0096] The data communication proxy device is DCP1, each node managed by DCP1 includes a first node and a second node, taking the first node as SDPF2 and the second node as SDPF3 as an example, referring to the alternative mapping relationship determination schematic diagram shown in FIG. 5. The first node (such as SDPF2) and the second node (such as SDPF3) can respectively report first capability information and second capability information to DCP1. DCP1 can determine a first mapping relationship for indicating that the second node can replace the first node in the case that the first capability information of the first node (such as SDPF2) and the second capability information of the second node (such as SDPF3) satisfy a first condition. For example: DCP1 can increase the identifier of the second node in the replaceable identifier (replaceable ID) column corresponding to the first node in the first mapping table maintained.

[0097] Wherein, the first condition satisfied by the first capability information and the second capability information can be that one or more capabilities supported by the second node indicated by the second capability information include one or more capabilities supported by the first node indicated by the first capability information.

[0098] As an example: the capabilities of the nodes include X1 data processing capability, X2 data processing capability, X3 data processing capability, …, Xn data processing capability, the capability information of the nodes (such as the first capability information of the first node and the second capability information of the second node) can be a bitmap of n bits, each bit in the bitmap corresponds to a processing capability, for example, the first bit in the n bits corresponds to the X1 data processing capability, and when the bit is 1, it indicates that the node supports the X1 data processing capability, and when the bit is 0, it indicates that the node does not support the X1 data processing capability; the second bit in the n bits corresponds to the X2 data processing capability, and when the bit is 1, it indicates that the node supports the X2 data processing capability, and when the bit is 0, it indicates that the node does not support the X2 data processing capability, and so on. The data communication proxy device receives the first capability information (capability1) of the first node and the second capability information (capability2) of the second node, and can perform an AND operation on the second capability information and the first capability information. If the operation result is still equal to the first capability information (i.e. capability2&capability1 = capability1), it indicates that one or more capabilities supported by the second node indicated by the second capability information include one or more capabilities supported by the first node indicated by the first capability information, and the second node can replace the first node. The data communication proxy device can determine a first mapping relationship for indicating that the second node can replace the first node, such as adding the second node identifier to the replaceable identifier column corresponding to the first node. For example: capability2 is 11000, capability1 is 01000, 11000&01000 = 01000, then the data communication proxy device can determine that the second node can replace the first node, and & represents the AND operation.

[0099] Referring to Table 1, an example of a first mapping maintained by the data communication proxy device is shown. The data communication proxy device manages nodes with identifiers (i.e. NF_ID) of 0, 1, …, 9, and the IP addresses mapped to the identifiers 0, 1, …, 9 are IP address 0, IP address 1, …, IP address 9 respectively. The replaceable ID record corresponding to the node with identifier 1 has an identifier of 7, indicating that the node with identifier 7 can replace the node with identifier 1; the replaceable ID record corresponding to the node with identifier 5 has an identifier of 2, indicating that the node with identifier 2 can replace the node with identifier 5; the replaceable ID record corresponding to the node with identifier 7 has an identifier of 1, indicating that the node with identifier 1 can replace the node with identifier 7.

[0100] Table 1

[0101] In a possible implementation, the data communication proxy device can also determine the first mapping relationship in the case that the one or more capability information supported by the second node includes the first capability, where the first capability is the capability applied by the first node in the data chain of the first data transmission (or the data service or data service task to which the data chain of the first data transmission belongs).

[0102] As an example: the first capability information of the first node indicates that the first node supports X2 data processing capability and X5 data processing capability, the capability applied by the first node in the data chain of the first data transmission is X2 data processing capability, the second capability information of the second node indicates that the second node supports X1 data processing capability and X2 data processing capability, the second node supports X2 data processing capability, the second node can replace the first node, and the data processing node can save, for the data chain of the first data transmission, the first mapping relationship (such as the first mapping relationship of the second node identifier of the second node and the first node identifier of the first node) indicating that the second node can replace the first node.

[0103] Taking the first mapping table maintained by the data communication proxy device as shown in Table 1 and the data chain of the first data transmission as data chain A: RAN1---SDPF1---SDPF2---AS2 as an example, the next hop node of the first data transmission is SDPF2 (that is, the first node), the data communication proxy device determines that SDPF2 fails, and can determine the identifier 2 (that is, the second node identifier) of SDPF3 (that is, the second node) according to the identifier 5 (that is, the first node identifier) of SDPF2 and the first mapping relationship (such as the mapping relationship of identifier 2 (replaceable ID column) and identifier 5 (NF_ID column) in Table 1, row 7), and send the first data to SDPF3 corresponding to the identifier 2.

[0104] For the identifiers of the nodes managed by the data communication proxy device, the identifiers of the nodes managed by the data communication proxy device can be configured by the data communication proxy device, or the identifiers of the nodes managed by the data communication proxy device can be configured by an orchestration node and the like, and then the identifiers configured for the nodes managed by the data communication proxy device are sent to the data communication proxy device. Taking the data communication proxy device as DCP1, the nodes managed by the data communication proxy device including SDPF2 and SDPF3, and the identifiers of the nodes managed by the data communication proxy device being configured by the data communication proxy device in a node registration process as an example, FIG. 6 is a node registration process provided by an embodiment of the present application, and the process includes:

[0105] S601: SDPF2 sends a first registration request to DCP1, and correspondingly, DCP1 receives the first registration request.

[0106] In the first registration request, a first IP address of the SDPF2, first capability information, etc. can be included. The first capability information can indicate one or more capabilities supported by the SDPF2, such as support for X2 data processing capability, etc.

[0107] S602: The DCP1 sends a first registration response to the SDPF2, and correspondingly, the SDPF2 receives the first registration response.

[0108] The first registration response can include an identifier of the SDPF2 (such as “NF_ID1”).

[0109] After receiving the first registration request from the SDPF2, the DCP1 can assign an identifier (such as “NF_ID1”) to the SDPF2 and send the first registration response carrying the identifier to the SDPF2. In one possible implementation, the DCP1 can also save a mapping relationship between the identifier of the SDPF2 and the first IP address and / or the first capability information of the SDPF2.

[0110] S603: The SDPF3 sends a second registration request to the DCP1, and correspondingly, the DCP1 receives the second registration request.

[0111] In the second registration request, a second IP address of the SDPF3, second capability information, etc. can be included. The second capability information can indicate one or more capabilities supported by the SDPF3, such as support for X2 data processing capability, X3 data processing capability, etc.

[0112] S604: The DCP2 sends a second registration response to the SDPF3, and correspondingly, the SDPF3 receives the second registration response.

[0113] The second registration response can include an identifier of the SDPF3 (such as “NF_ID2”).

[0114] After receiving the second registration request from the SDPF3, the DCP1 can assign an identifier (such as “NF_ID2”) to the SDPF3 and send the second registration response carrying the identifier to the SDPF3. In one possible implementation, the DCP1 can also save a mapping relationship between the identifier of the SDPF3 and the second IP address and / or the second capability information of the SDPF3.

[0115] After the SDPF2 and the SDPF3 are registered to the DCP1, the DCP1 can further send the SDPF2 and the SDPF3 corresponding identification and capability information to the orchestration node, so that the orchestration node learns the SDPF2 and the SDPF3 corresponding identification and capability information, and according to the SDPF2 and the SDPF3 corresponding identification and capability information, the orchestration node schedules a data service task corresponding data chain and the like.

[0116] In a possible implementation, the DCP1 can further maintain a first mapping table (such as an IP mapping table) of the identification and address information (such as IP address) of each node managed by the DCP1, so as to determine the address information of the node according to the identification of the node. Referring to Table 1 shown above, the nodes managed by the DCP1 with the identification (namely NF_ID) of 0, 1, …, 9 are respectively mapped to the address information (taking IP address as an example) of IP address 0, IP address 1, …, IP address 9.

[0117] In addition, considering that the data communication proxy device can be used for data communication proxy of multiple data chains, the path indication information for indicating the data chain of the first data transmission can be further included in the first data, and the data communication proxy device can determine the data chain of the first data transmission according to the path indication information carried by the first data.

[0118] As an example: after the orchestration node configures the data chain (such as the data chain A described above) of the first data transmission, the orchestration node can send the path indication information for indicating the data chain to the data source corresponding to the data chain, and the first data can carry the path indication information in the transmission process.

[0119] If the data source is associated with multiple data communication proxy devices, the orchestration node can further send the identification of the data communication proxy device corresponding to the data chain to the data source, for indicating the data communication proxy device corresponding to the data chain, so that the data source sends the first data to the data communication device corresponding to the data chain. In addition, the orchestration node can further send one or more of the data service identification (data service ID, DS_ID), the hop indication information and the like information corresponding to the data chain to the data source, wherein the data service identification can be used to indicate the data service or the data service task to which the data chain belongs, and the hop indication information can be used to indicate the remaining hop number corresponding to the first data (namely the remaining hop number corresponding to the first data in the data chain of the first data transmission). The data service identification and the hop indication information can be further carried in the first data sent from the data source, for indicating the data service or the data service task to which the data chain transmitting the first data belongs, and the remaining hop number corresponding to the first data.

[0120] Taking the data communication proxy device as DCP1, the data chain of the first data transmission as the above data chain A: RAN1---SDPF1---SDPF2---AS2, and the path indication information as the index (or number) of the data chain A as an example. The path indication information can be included in the first data sent by SDPF1. After receiving the first data, DCP1 can determine the data chain for transmitting the first data as the data chain A: RAN1---SDPF1---SDPF2---AS2 according to the path indication information carried in the first data and the routing information (such as the identifiers 9, 7, 5, and 4 of RAN1, SDPF1, SDPF2, and AS2) corresponding to the path indication information saved by DCP1, and determine the next hop node (i.e., the first node) of the first data as SDPF2.

[0121] In a possible implementation, in order to further reduce the complexity of data transmission and avoid configuring the routing information of each node in the data chain in the data communication proxy device, the path indication information can be determined according to the identifier (or IP address, etc.) of each node in the data chain.

[0122] In addition, since the first node in the data chain is the data source corresponding to the data chain, the data (such as the first data) is sent by the data source without the need to additionally indicate the data source in the data chain, and therefore each node in the above data chain can be each data processing node in the data chain except the data source. Taking the data chain as the above data chain A: RAN1---SDPF1---SDPF2---AS2 as an example, the data source is RAN1, and each data processing node in the data chain can be SDPF1, SDPF2, and AS2.

[0123] Taking the data chain as the above data chain A: RAN1---SDPF1---SDPF2---AS2 as an example, wherein the identifiers configured for SDPF1, SDPF2, and AS2 by DCP1 are 7, 5, and 4 respectively, and the path indication information can be 754. The arrangement node can send the path indication information 754 to the data source (i.e., RAN1) to indicate the data chain A.

[0124] Taking the data communication proxy device as DCP1, the data chain of the first data transmission as the above data chain A: RAN1---SDPF1---SDPF2---AS2, and the path indication information as 754 as an example. The path indication information 754 can be included in the first data sent by SDPF1. After receiving the first data, the path indication information carried in the first data is 754, and the identifier of SDPF1 is 7, and the data communication proxy can determine the identifier of the next hop node (i.e., the first node) of the first data as 5, and the next hop node is SDPF2.

[0125] In a possible implementation, in order to avoid directly leaking the path of the data chain, the path indication information can be determined according to the respective identifiers and the remaining hop numbers of the data processing nodes in the data chain, and a co-prime array.

[0126] The co-prime array can also be referred to as a co-prime list. The co-prime array includes at least two co-prime numbers satisfying the co-prime relationship. Any two numbers in the co-prime array satisfy the co-prime relationship, that is, the co-prime array includes at least two co-prime numbers. For example, the co-prime array includes {3, 4}, or the co-prime array includes {3, 4, 5}, or the co-prime array includes {3, 4, 5, 7}, or the co-prime array includes {3, 4, 5, 7, 11}, and the like. For any data processing node in the data chain of the first data transmission, a co-prime number corresponding to the data processing node can be determined from the co-prime array according to the remaining hop number of the data processing node in the data chain. For example, the data processing node corresponding to the remaining hop number N can correspond to the Nth co-prime number in the co-prime array, or the data processing node corresponding to the remaining hop number N can correspond to the (N-1)th co-prime number in the co-prime array.

[0127] Taking the data chain A: RAN1---SDPF1---SDPF2---AS2 as an example, the co-prime array includes {10, 11, 13, 17, 19, 23, 29, 31}, the data processing node corresponding to the remaining hop number N corresponds to the Nth co-prime number in the co-prime array, and the data chain includes the data processing nodes SDPF1, SDPF2, and AS2 in addition to the data source. The identifier of SDPF1 is 7, the identifier of SDPF2 is 5, and the identifier of AS2 is 4. The scheduling node can determine the path indication information for indicating the data chain according to the Chinese Remainder Theorem (CRT). The data chain includes three data processing nodes SDPF1, SDPF2, and AS2, the remaining hop numbers of SDPF1, SDPF2, and AS2 in the data chain A are 3, 2, and 1 respectively, and three prime numbers in the co-prime array are selected: 13 (corresponding to 7, 7 is used to determine SDPF1), 11 (corresponding to 5, 5 is used to determine SDPF2), and 10 (corresponding to 4, 4 is used to determine AS2).

[0128] m1=13,m2=11,m3=10,s1=7,s2=5,s3=4;

[0129] P=m1*m2*m3=13*11*10=1430;

[0130] M1=P / m1=110,M2=P / m2=130,M3=P / m3=143;

[0131] M1 -1 = 11, M2 -1 = 5, M3 -1 = 7; (1)

[0132] From equation (1), the path indication information is: [(s1*M1*M1 -1 )+(s2*M2*M2 -1 )+(s3*M3*M3 -1 )] mod 1430 = 1424. Wherein, s1 = 1424 mod 13 = 7, s2 = 1424 mod 11 = 5, s3 = 1424 mod 10 = 4. Mod represents the remainder. Wherein, M1 -1 represents the inverse element of M1 to m1 (i.e. M1*M1 -1 mod m1 = 1), M2 -1 represents the inverse element of M2 to m2, M3 -1 represents the inverse element of M3 to m3.

[0133] Still taking the data chain A: RAN1---SDPF1---SDPF2---AS2, the path indication information 1430, the data processing node corresponding to the data chain and the Nth co-prime number in the co-prime number set as an example, after the data source (such as RAN1) receives the path indication information and the hop number indication information (such as 3, indicating 3 hops remaining) from the scheduling node, RAN1 can send the first data (such as perception data, etc.) including the path indication information (such as 1430) and the hop number indication information (such as 3) to DCP1; DCP1 can determine the co-prime number (i.e. the 3rd co-prime number in the co-prime number set) corresponding to the remaining hop number 3 in the co-prime number set {10, 11, 13, 17, 19, 23, 29, 31} according to the path indication information (such as 1424) and the remaining hop number 3 indicated by the hop number indication information, 1424 mod 13 = 7, then DCP1 sends the first data to SDPF1 identified by 7, the remaining hop number of the data chain -1, and the remaining hop number indicated by the hop number indication information changes to 2; after SDPF1 receives the data from DCP1, it can send the processed first data to DCP1 after processing the first data, DCP1 can determine the co-prime number (i.e. the 2nd co-prime number in the co-prime number set) corresponding to the remaining hop number 2 in the co-prime number set {10, 11, 13, 17, 19, 23, 29, 31} according to the path indication information (such as 1424) and the remaining hop number 2 indicated by the hop number indication information, 1424 mod 11 = 5, then DCP1 sends the data to SDPF2 identified by 5, wherein the remaining hop number of the data chain -1, and the remaining hop number indicated by the hop number indication information changes to 1; after SDPF2 receives the first data from DCP1, it can send the processed first data to DCP1 after processing the first data, DCP1 can determine the co-prime number (i.e. the 1st co-prime number in the co-prime number set) corresponding to the remaining hop number 1 in the co-prime number set {10, 11, 13, 17, 19, 23, 29, 31} according to the path indication information (such as 1424) and the remaining hop number 1 indicated by the hop number indication information, 1424 mod 10 = 4, then DCP1 sends the first data to AS2 identified by 4, wherein the remaining hop number of the data chain -1, and the remaining hop number indicated by the hop number indication information changes to 0.

[0134] Thus, after the data communication proxy device receives the first data including the path indication information and the hop indication information, the next hop node (i.e., the first node) of the first data can be determined, and the problem of path indication information leakage of the data chain is avoided. It can be understood that the alternative in the embodiments of the present application refers to the alternative in the node function rather than the node backup. The second node can replace the first node, which means that the second node can replace the first node to complete part or all of the data processing services required to be completed by the first node. The capability of the second node can include all capabilities (such as all data processing capabilities) of the first node, or cover the capability required by the first node in a certain data chain (or data service or data task). The second node that can replace the first node can be in the same data chain as the first node, or can not be in the same data chain as the first node, and the present application does not limit the comparison. For example, the second node and the first node can be in the data chain of the first data transmission, or the second node can not be in the data chain of the first data transmission.

[0135] Through the data transmission method provided in the embodiments of the present application, when the data communication proxy device determines that the first node of the next hop of data transmission fails and cannot complete the data processing service, the second node that can replace the first node can be determined according to the first mapping relationship, and the data processing service required to be completed by the first node is completed by the second node that replaces the failed first node, so that the data transmission interruption can be avoided, and the continuity of data transmission is ensured. Meanwhile, the second node is not a backup node of the first node, the second node normally performs the data processing service required to be performed by the second node in the network, and only in the case that the first node fails, the data processing service required to be completed by the first node is completed, so that it is not necessary to backup each node in the network, and the resource waste caused by disaster recovery backup can be reduced, and the difficulty and cost of network deployment are reduced.

[0136] The communication device provided in the embodiments of the present application is described below. Please refer to FIG. 7, which is a structural schematic diagram of the communication device according to an embodiment of the present application. The communication device can include units or modules corresponding to all or part of the steps in the above method embodiments, and can be used to execute the steps executed by the data communication proxy device in the above embodiments. For details, please refer to the related description in the above method embodiments.

[0137] As shown in FIG. 7, the communication device 700 includes a processing unit 710 and an interface unit 720, wherein the processing unit 710 can be a processor or a processing circuit, and the interface unit 720 can also be a transceiver unit or an input / output interface. The communication device 700 can be used to implement the steps executed by the data communication proxy device in the above embodiments.

[0138] When the communication device 700 is used to implement the steps executed by the data communication proxy device in the above embodiments, the following applies:

[0139] The interface unit 720 is configured to receive first data, and a next hop node of the first data is the first node.

[0140] The processing unit 710 is configured to, in response to a failure of the first node, determine a second node identifier according to the first node identifier of the first node and a first mapping relationship, wherein a second node corresponding to the second node identifier is a replaceable node of the first node, and the first mapping relationship is used to indicate that the second node can replace the first node.

[0141] The interface unit 720 is further configured to send the first data to the second node.

[0142] In a possible design, the first data includes path indication information and hop number indication information, the path indication information is used to indicate a data chain of the first data transmission, and the hop number indication information is used to indicate a remaining hop number corresponding to the first data, and the path indication information and the hop number indication information are used to determine the first node.

[0143] In a possible design, the path indication information is determined according to node identifiers respectively corresponding to nodes in the data chain and the remaining hop number, and a coprime array, and the data chain includes the first node.

[0144] In a possible design, the interface unit 720 is further configured to receive first capability information, the first capability information indicating one or more capabilities supported by the first node; receive second capability information, the second capability information indicating one or more capabilities supported by the second node; and the processing unit 710 is further configured to, in response to the first capability information and the second capability information satisfying a first condition, determine the first mapping relationship.

[0145] In a possible design, the first capability information and the second capability information satisfying the first condition includes that the one or more capabilities supported by the second node indicated by the second capability information include the one or more capabilities supported by the first node indicated by the first capability information.

[0146] In a possible design, the first capability information and the second capability information satisfying the first condition includes that the one or more capabilities supported by the second node include a first capability, and the first capability is a capability applied by the first node in the data chain of the first data transmission.

[0147] In a possible design, the first mapping relationship is contained in a first mapping table, the first mapping table includes node identifiers respectively corresponding to one or more nodes in a data chain (or a transmission path) of the first data transmission and address information of the one or more nodes, and a node identifier of a replaceable node corresponding to at least one node of the one or more nodes, and the data chain includes the first node.

[0148] In a possible design, the data chain further includes the second node.

[0149] As shown in FIG. 8, the application further provides a communication device 800, which comprises a processor 810 and can further comprise a communication interface 820. The processor 810 and the communication interface 820 are coupled with each other. It can be understood that the communication interface 820 can be a transceiver, an input / output interface, an input interface, an output interface, an interface circuit, etc. Optionally, the communication device 800 can further comprise a memory 830 for storing instructions executed by the processor 810 or storing input data required by the processor 810 for executing instructions or storing data generated after the processor 810 executes instructions. The memory 830 can be a physically independent unit, or can be coupled with the processor 810, or the processor 810 comprises the memory 830.

[0150] When the communication device 800 is used to implement the steps performed by the data communication proxy device in the above-mentioned embodiments, the processor 810 can be used to implement the functions of the above-mentioned processing unit 710, and the communication interface 820 can be used to implement the functions of the above-mentioned interface unit 720.

[0151] In the embodiments of the application, the processor (for example, the processor 810) can be one or more central processing units (CPUs). When the processor is a CPU, the CPU can be a single-core CPU or a multi-core CPU. The processor can also be one or a combination of a CPU, a general processor, an application-specific integrated circuit (ASIC), a digital signal processor (DSP), a microprocessor unit (MPU), a microcontroller unit (MCU), a graphics processing unit (GPU), a field programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, an artificial intelligence processor (AI processor) or a neural processing unit (NPU), etc. The processor can implement or execute the methods, steps and logic block diagrams disclosed in the embodiments of the application. The steps of the methods disclosed in the embodiments of the application can be directly embodied as hardware processor execution or executed by a combination of hardware and software modules in the processor.

[0152] The memory (e.g., the memory 830) in the embodiments of the present application can include, but is not limited to, a cache, a read-only memory (ROM), a random access memory (RAM), a synchronous dynamic random access memory (SDRAM), a hard disk drive (HDD), or a solid-state drive (SSD), an erasable programmable ROM (EPROM), or a compact disc read-only memory (CD-ROM), and the like. The memory is any medium capable of carrying or storing desired program codes in the form of instructions or data structures and capable of being accessed by a computer, but is not limited thereto. The memory in the embodiments of the present application can also be a circuit or any other device capable of realizing a storage function, used for storing computer programs or instructions, and / or data.

[0153] It can be understood that the method steps in the embodiments of the present application can be realized by a hardware manner or by a manner of executing software instructions by a processor. The software instructions can be composed of corresponding software modules, and the software modules can be stored in a random access memory, a flash memory, a read-only memory, a programmable read-only memory, an electrically erasable programmable read-only memory, a register, a hard disk, a mobile hard disk, a CD-ROM, or any other form of storage medium well known in the art. An exemplary storage medium is coupled to the processor, so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be an integral part of the processor. The processor and the storage medium can be located in an ASIC. In addition, the ASIC can be located in a network device or a terminal device. Of course, the processor and the storage medium can also exist as discrete components in the network device or the terminal device.

[0154] In the above embodiments, all or part of the embodiments can be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments can be implemented in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer programs or instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments are performed. The computer can be a general purpose computer, a special purpose computer, a computer network, a network device, a user equipment or other programmable apparatus. The computer programs or instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer programs or instructions can be transferred from one network device, terminal, computer, server or data center to another network device, terminal, computer, server or data center through wired or wireless manner. 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, data center and the like integrated with one or more available media. The available media can be a magnetic medium, for example, a floppy disk, a hard disk, a magnetic tape; an optical medium, for example, a digital video disc; and a semiconductor medium, for example, a solid state disk. The computer readable storage medium can be a volatile or non-volatile storage medium, or can include both volatile and non-volatile storage media.

[0155] In various embodiments of the present application, the terms and / or descriptions of different embodiments are consistent and can be referred to each other if there is no special description and logical conflict, and the technical features in different embodiments can be combined to form new embodiments according to their inherent logical relationship.

[0156] In addition, it should be understood that the word "example" in the embodiments of the present application is used to mean by way of example, illustration or description. Any embodiment or design scheme described as "example" in the present application should not be interpreted as more preferred or more advantageous than other embodiments or design schemes. Rather, the word "example" is used to present the concept in a specific manner.

[0157] It can be understood that various numerical numbers involved in the embodiments of the present application are only for differentiation for convenience of description, and are not used to limit the scope of the embodiments of the present application. The size of the serial numbers of the above processes does not mean the order of execution, and the execution order of the processes should be determined according to their functions and inherent logic.

Claims

1. A data transmission method, characterized by, The method comprises: receiving first data, a next hop node of the first data being a first node; in response to failure of the first node, determining a second node identifier according to a first node identifier of the first node and a first mapping relationship, wherein a second node corresponding to the second node identifier is a replaceable node of the first node, and the first mapping relationship is used to indicate that the second node can replace the first node; sending the first data to the second node.

2. The method of claim 1, wherein, The first data comprises path indication information and hop count indication information, the path indication information is used to indicate a data chain of the first data transmission, and the hop count indication information is used to indicate a remaining hop count corresponding to the first data, and the path indication information and the hop count indication information are used to determine the first node.

3. The method of claim 2, wherein, The path indication information is determined according to node identifiers and remaining hop counts corresponding to respective nodes in the data chain and a set of coprime numbers, and the data chain comprises the first node.

4. The method of any one of claims 1-3, wherein, The method further comprises: receiving first capability information, the first capability information indicating one or more capabilities supported by the first node; receiving second capability information, the second capability information indicating one or more capabilities supported by the second node; in response to the first capability information and the second capability information satisfying a first condition, determining the first mapping relationship.

5. The method of claim 4, wherein, The first capability information and the second capability information satisfying the first condition comprises: the one or more capabilities supported by the second node indicated by the second capability information comprising one or more capabilities supported by the first node indicated by the first capability information.

6. The method of claim 4, wherein, The first capability information and the second capability information satisfying the first condition comprises: the one or more capabilities supported by the second node comprising a first capability, and the first capability being a capability applied by the first node in the data chain of the first data transmission.

7. The method of any one of claims 1-6, wherein, The first mapping relationship is contained in a first mapping table, the first mapping table comprising node identifiers and address information corresponding to respective nodes in a data chain of the first data transmission and node identifiers of replaceable nodes corresponding to at least one node of the one or more nodes, and the data chain comprising the first node.

8. The method of claim 7, wherein, The data chain further comprises the second node.

9. A communications device, characterized by The apparatus comprises a module or unit for performing the method of any of claims 1-8.

10. A communications device, characterized by The apparatus comprises a processor and an interface circuit for inputting and / or outputting signals, and the processor is configured to implement the method of any of claims 1-8 through a logic circuit or an execution instruction.

11. The apparatus of claim 10, wherein, The apparatus further comprises a memory for storing the instruction.

12. A computer program product, characterised in that, The computer program or instruction is executed by a processor to implement the method of any of claims 1-8.

13. A computer-readable storage medium, characterized in that, The storage medium stores the computer program or instruction, which is executed by a processor to implement the method of any of claims 1-8.

Citation Information

Patent Citations

  • Message transmission method, system and forwarding node

    CN101227399A

  • Node switching method and device, computer equipment and storage medium

    CN111294845A

  • Apparatus And Method For Establishing A Repair Path

    US20170126545A1

  • Communication system, method, and device

    WO2020057445A1