[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

WO2022143395A1 - Redundant path creating method, apparatus, and system - Google Patents

Redundant path creating method, apparatus, and system Download PDF

Info

Publication number
WO2022143395A1
WO2022143395A1 PCT/CN2021/140803 CN2021140803W WO2022143395A1 WO 2022143395 A1 WO2022143395 A1 WO 2022143395A1 CN 2021140803 W CN2021140803 W CN 2021140803W WO 2022143395 A1 WO2022143395 A1 WO 2022143395A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal device
message
response
packet
network
Prior art date
Application number
PCT/CN2021/140803
Other languages
French (fr)
Chinese (zh)
Inventor
周汉
胡伟华
李汉成
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2022143395A1 publication Critical patent/WO2022143395A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers

Definitions

  • the present application relates to the field of wireless communication technologies, and in particular, to a method, apparatus, and system for creating a redundant path.
  • terminal devices are mostly connected to the wireless network in a linear topology.
  • the first node on the production line is connected to the wireless network, and other terminal devices on the production line are connected to the wireless network through the first node. If the network quality between the first node and the wireless network is unstable, the links between other terminal devices on the production line and the wireless network will fail.
  • Terminal devices can also use star topology or tree topology to access the wireless network.
  • star topology or tree topology each terminal device on the production line can be directly connected to the wireless network.
  • the industrial application server Master If the forwarding rules are not changed, the industrial application server Master only sends one packet, and then forwards the packet in each terminal device according to the forwarding rules of the line topology. The network quality between the networks is unstable, and the links between other end devices and the wireless network also fail. If the forwarding rule is changed, the network device needs to unpack the packet sent by the master and then forward it to each terminal device, which will waste the processing resources of the network device, and the network device does not necessarily have the function of packet unpacking. Higher requirements are placed on wireless networks, and network deployment is more difficult.
  • the terminal device accesses the wireless network, the reliability of communication cannot be guaranteed, and the processing resources of the network device are wasted, and the difficulty of network deployment is increased.
  • Embodiments of the present application provide a method, device, and system for creating a redundant path, so as to ensure the reliability of communication while saving terminal costs and reducing network deployment difficulty.
  • a method for creating a redundant path including: a terminal device 10 receives a packet 30 from a user plane function 20, the terminal device 10 serves the terminal device 11; the terminal device 10 receives a message from the terminal device 12 The terminal device 10 deduplicates the packet 30 from the user plane function 20 and the packet 30 from the terminal device 12; the terminal device 10 deduplicates the packet 30 from the terminal device 12 The repeated message 30 is sent to the terminal device 11 .
  • all terminal devices can access the wireless network through terminal devices with network access capabilities, and terminal devices with network access capabilities can transparently forward packets to achieve mutual backup and load sharing of wireless connections.
  • the existing communication system architecture combined with the actual networking model of the industrial Ethernet protocol, the reliability of communication is guaranteed while saving terminal costs and reducing the difficulty of network deployment.
  • the terminal device 10 may also receive a response 31 from the terminal device 11, where the response 31 corresponds to the deduplicated packet 30; the terminal device 10 sends the The terminal device 12 sends a response 32 corresponding to the message 30 from the terminal device 12 .
  • a terminal device with network access capability can also forward a response (ie, an uplink message) to improve communication reliability.
  • the terminal device 10 may also receive the packet 35 from the terminal device 12, and convert the packet 35 to the terminal device 11 .
  • the terminal device 10 may also receive first information from the session management function 21, where the first information indicates that the packet from the user plane function 20 and the The packet is sent to the terminal device 11 after deduplication.
  • the session management function 21 can instruct the terminal device 10 to deduplicate multiple identical packets received, so as to ensure the reliability of communication even when the industrial topology network does not support redundant transmission.
  • the terminal device 10 may also receive second information from the session management function 21 , where the second information indicates to establish a transmission path with the terminal device 12 .
  • the session management function 21 can instruct the terminal device 10 to establish a transmission path with the terminal device 12 to ensure communication when the industrial topology network does not support redundant transmission reliability.
  • a method for creating a redundant path includes: the session management function 21 obtains the terminal device 11 served by the terminal device 10; the session management function 21 obtains the terminal device 14 served by the terminal device 12; the The session management function 21 determines that there is a correspondence between the terminal device 10 and the terminal device 12; the session management function 21 sends a forwarding rule to the user plane function 20, and the forwarding rule indicates that the terminal device 10 is sent to the terminal device 11 through the terminal device 10. The message is sent and the message is sent to the terminal device 14 through the terminal device 12 .
  • the session management function can create reliable redundant transmission paths for multiple terminal devices with corresponding relationships. Multiple terminal devices with corresponding relationships have a reliability backup relationship. Multiple terminal devices with a reliability backup relationship can be integrated into An industrial terminal device, or it can be deployed on multiple industrial terminals, so as to ensure reliable transmission when the terminal device is connected to the wireless network.
  • the forwarding rule also instructs to duplicate the message.
  • the session management function can instruct the user plane function to copy the message to ensure the reliability of communication.
  • the session management function 21 may also send first information to the terminal device 10, where the first information indicates that the packets from the user plane function 20 and the packets from the terminal device The packet of 12 is deduplicated and sent to the terminal device 11 .
  • the session management function 21 can instruct the terminal device 10 to deduplicate multiple identical packets received, so as to ensure the reliability of communication even when the industrial topology network does not support redundant transmission.
  • the session management function 21 may also send second information to the terminal device 10 , where the second information indicates to establish a transmission path with the terminal device 12 .
  • the session management function 21 may also send third information to the terminal device 12 , where the third information indicates to establish a transmission path with the terminal device 10 .
  • the session management function 21 can instruct the terminal device 10 to establish a transmission path with the terminal device 12 to ensure communication when the industrial topology network does not support redundant transmission reliability.
  • the session management function 21 when the session management function 21 acquires the terminal device 11 served by the terminal device 10 , the session management function 21 may receive information from the terminal device 11 of the terminal device 10 .
  • the terminal device 10 can report the information of the terminal device 11 served by the terminal device 10 to the session management function 21 , so that the session management function 21 can obtain the information of the industrial terminal served by the terminal device 10 .
  • the session management function 21 when the session management function 21 acquires the terminal device 14 served by the terminal device 12 , the session management function 21 receives information from the terminal device 14 of the terminal device 12 .
  • the terminal device 12 can report the information of the terminal device 14 served by the terminal device 12 to the session management function 21 , so that the session management function 21 can obtain the information of the industrial terminal served by the terminal device 12 .
  • the session management function 21 determines that there is a correspondence between the terminal device 10 and the terminal device 12, the session management function 21 acquires the subscription data of the terminal device 10, and the terminal device 10 and/or the session management function 21 acquires the subscription data of the terminal device 12, and the subscription data of the terminal device 12 indicates that the subscription data of the terminal device 12 corresponds to the terminal device 10 There is a corresponding relationship between them.
  • the session management function 21 can obtain the subscription data of the terminal device 10 and/or the subscription data of the terminal device 12, and according to the indication of the subscription data, determine that there is a reliable backup relationship between the terminal device 10 and the terminal device 12, thereby A reliable redundant transmission path is created for the terminal device 10 and the terminal device 12 .
  • a redundant path transmission method comprising: a terminal device 11 receiving a message 30 from a terminal device 10; the terminal device 11 receiving the message 30 from a terminal device 12; the The terminal device 11 sends a response 33 to the terminal device 10, the response 33 corresponds to the message 30 from the terminal device 10; the terminal device 11 sends a response 34 to the terminal device 12, the response 34 corresponds to the message 30 from the terminal device 12 .
  • the terminal device 11 can access the wireless network through the terminal device 10 and the terminal device 12 with network access capability, which saves terminal cost and reduces network deployment while ensuring the reliability of communication.
  • the terminal device 11 receives the packet 30 from the terminal device 10, and after receiving the packet 30 from the terminal device 12, the method further includes:
  • the terminal device 11 deduplicates the packet 30 from the terminal device 10 and the packet 30 from the terminal device 12;
  • the terminal device 11 sends a response 38 to the terminal device 10, where the response 38 corresponds to the packet 30 after deduplication.
  • the method further includes:
  • the terminal device 11 copies the response 38 and sends the response 39 obtained by copying the response 38 to the terminal device 12 .
  • the data in the response 39 and the data in the response 38 may be partially identical, or may be all identical.
  • the terminal device 11 may also receive packets from the terminal device 12 35.
  • a redundant path transmission method includes: the terminal device 11 receives the message 30 from the terminal device 10 ; the terminal device 11 receives the message from the terminal device 12 through the terminal device 10 message 30; the terminal device 11 sends a response 36 to the terminal device 10, the response 36 corresponds to the message 30 from the terminal device 10; The terminal device 12 sends a response 37 corresponding to the message 30 from the terminal device 12 .
  • the terminal device 11 can access the wireless network through the terminal device 10 and the terminal device 12 with network access capability, which saves the terminal cost and reduces the difficulty of network deployment while ensuring the reliability of communication.
  • the terminal device 11 may also receive packets from the terminal device 12 35.
  • a communication apparatus in a fifth aspect, is provided, and the communication apparatus may be a terminal device 10, including a processing unit and a transceiver unit;
  • the transceiver unit is configured to receive the message 30 from the user plane function 20, and the communication device serves the terminal device 11; receives the message 30 from the terminal device 12;
  • the processing unit configured to de-duplicate the packet 30 from the user plane function 20 and the packet 30 from the terminal device 12;
  • the transceiver unit is further configured to send the deduplicated packet 30 to the terminal device 11 .
  • the transceiver unit is further configured to receive a response 31 from the terminal device 11, where the response 31 corresponds to the deduplicated packet 30; 12 sends a response 32 corresponding to the message 30 from the terminal device 12 .
  • the transceiver unit is further configured to receive the message 35 from the terminal device 12 if a failure occurs between the communication device and the user plane function 20, and send the message 35 to the terminal device 11 .
  • the transceiver unit is further configured to receive first information from the session management function 21 , where the first information indicates to send the packet from the user plane function 20 to the terminal device 12
  • the packet is deduplicated and sent to the terminal device 11 .
  • the transceiver unit is further configured to receive second information from the session management function 21 , where the second information indicates establishing a transmission path with the terminal device 12 .
  • a communication device in a sixth aspect, is provided, and the communication device may be a session management function 21, including a processing unit and a transceiver unit;
  • the transceiver unit is used to obtain the terminal device 11 served by the terminal device 10; obtain the terminal device 14 served by the terminal device 12;
  • the processing unit is used to determine that there is a corresponding relationship between the terminal device 10 and the terminal device 12;
  • the transceiver unit is further configured to send a forwarding rule to the user plane function 20, where the forwarding rule indicates to send a message to the terminal device 11 through the terminal device 10 and to the terminal device 14 through the terminal device 12 Send message.
  • the forwarding rule also instructs to duplicate the message.
  • the transceiver unit is further configured to send first information to the terminal device 10, where the first information indicates that the packet from the user plane function 20 and the packet from the terminal device are to be sent to the terminal device 10.
  • the packet of 12 is deduplicated and sent to the terminal device 11 .
  • the transceiver unit is further configured to send second information to the terminal device 10 , where the second information indicates to establish a transmission path with the terminal device 12 .
  • the transceiver unit is specifically configured to receive information from the terminal device 11 of the terminal device 10 .
  • the transceiver unit is specifically configured to receive information from the terminal device 14 of the terminal device 12 .
  • the processing unit is specifically configured to acquire the subscription data of the terminal device 10, and the subscription data of the terminal device 10 indicates that there is a corresponding relationship between the terminal device 12; and/or The subscription data of the terminal device 12 is acquired, and the subscription data of the terminal device 12 indicates that there is a corresponding relationship between the terminal device 10 .
  • a communication apparatus may be a terminal device 11, including a processing unit and a transceiver unit;
  • the transceiver unit is configured to receive the message 30 from the terminal device 10; receive the message 30 from the terminal device 12;
  • the processing unit configured to determine the message 30
  • the transceiver unit is further configured to send a response 33 to the terminal device 10, where the response 33 corresponds to the message 30 from the terminal device 10; and send a response 34 to the terminal device 12, the response 34 corresponds to the message 30 from the terminal device 12 .
  • the processing unit is further configured to deduplicate the packet 30 from the terminal device 10 and the packet 30 from the terminal device 12;
  • the transceiver unit is further configured to send a response 38 to the terminal device 10, where the response 38 corresponds to the packet 30 after deduplication.
  • the processing unit is further configured to replicate the response 38;
  • the transceiver unit is further configured to send the response 39 obtained by duplicating the response 38 to the terminal device 12 .
  • the transceiver unit is further configured to receive a report from the terminal device 12 if a fault occurs between the terminal device 10 and the user plane function 20 or if the terminal device 10 fails Text 35.
  • a communication apparatus may be a terminal device 11, including a processing unit and a transceiver unit;
  • the transceiver unit is configured to receive the message 30 from the terminal device 10; receive the message 30 from the terminal device 12 through the terminal device 10;
  • the processing unit configured to determine the message 30
  • the transceiver unit is further configured to send a response 36 to the terminal device 10, where the response 36 corresponds to the message 30 from the terminal device 10; and send a response 37 to the terminal device 12 through the terminal device 10 , the response 37 corresponds to the message 30 from the terminal device 12 .
  • the transceiver unit is further configured to receive a report from the terminal device 12 if a fault occurs between the terminal device 10 and the user plane function 20 or if the terminal device 10 fails Text 35.
  • a communication device having the function of implementing any possible design method in the first aspect or the second aspect or the third aspect or the fourth aspect.
  • This function can be implemented by hardware or by executing corresponding software by hardware.
  • the hardware or software includes one or more modules corresponding to the above functions.
  • a communication device comprising: a transceiver, a processor and a memory; the transceiver is used to send and receive data or information, the memory is used to store computer-executed instructions, and when the device is running, the processor executes the The computer-executed instructions stored in the memory cause the apparatus to perform a method as implemented in any possible design of the first aspect or the second aspect or the third aspect or the fourth aspect above.
  • a communication apparatus comprising: comprising means or means for performing various steps in any possible designs of the above first aspect or second aspect or third aspect or fourth aspect.
  • a twelfth aspect provides a communication device, comprising a processor and an interface circuit, the processor is configured to communicate with other devices through the interface circuit, and executes the above first aspect or the second aspect or the third aspect or the fourth aspect Any possible design provides a method.
  • the processor includes one or more.
  • a thirteenth aspect provides a communication device, comprising a processor for invoking a program stored in a coupled memory to execute any possible design of the first aspect or the second aspect or the third aspect or the fourth aspect. method.
  • the memory may be located within the device or external to the device.
  • the processor includes one or more.
  • a fourteenth aspect provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, which, when executed on a computer, cause a processor to execute the first aspect or the second aspect or the third aspect or any possible design method in the fourth aspect.
  • a fifteenth aspect provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of any possible design of the first or second or third or fourth aspects above.
  • a sixteenth aspect provides a system-on-a-chip, comprising: a processor configured to execute any possible design method in the first aspect or the second aspect or the third aspect or the fourth aspect.
  • a seventeenth aspect provides a system-on-chip
  • the system-on-chip includes a transceiver for implementing the functions in any possible design method of the first aspect or the second aspect or the third aspect or the fourth aspect, for example, for example, receiving or Send the data and/or information involved in the above method.
  • the chip system further includes a memory for storing program instructions and/or data.
  • the chip system may be composed of chips, or may include chips and other discrete devices.
  • a communication system comprising a session management function 21 performing any possible design method in the second aspect, and the user receiving the forwarding rule from the session management function 21 Face function 20.
  • the communication system may further include a terminal device 10 and a terminal device 12 that perform any possible design method in the first aspect, and a terminal device 11 that performs any possible design method in the third aspect or the fourth aspect.
  • FIGS. 1 and 11 are schematic diagrams of a network architecture
  • Fig. 2 is a kind of Ethernet frame format
  • FIG. 3 is a schematic diagram of a layer 2 switching
  • Fig. 5 is a kind of Ethernet message frame structure
  • Fig. 6, Fig. 7 are a kind of message forwarding schematic diagram
  • FIG. 8 is a schematic diagram of a network architecture
  • Figure 9, Figure 10, Figure 13, Figure 17, Figure 18, Figure 19 are schematic diagrams of an industrial network topology
  • 12 and 14 are schematic diagrams of a redundant path creation process
  • 20 and 21 are schematic diagrams of a communication device.
  • the word "exemplary” is used to mean serving as an example, illustration or illustration. Any embodiment or design described in this application as "exemplary” should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of the word example is intended to present a concept in a concrete way.
  • the network architecture and service scenarios described in the embodiments of the present application are for the purpose of illustrating the technical solutions of the embodiments of the present application more clearly, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application.
  • the evolution of the architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
  • Terminal equipment including but not limited to user equipment (user equipment, UE) and industrial terminals in the embodiments of this application.
  • UE user equipment
  • a wireless module may be installed in the industrial terminal, and the industrial terminal may communicate with the network device through the wireless module.
  • the UE may be installed in the industrial terminal as a wireless module. Unless otherwise specified in the embodiments of the present application, the concepts of UE and wireless module may be used interchangeably.
  • a UE In a wireless network, a UE is a device with a wireless transceiver function, which can communicate with one or more access network devices (or also referred to as access devices) in a radio access network (RAN) with one or more A core network (core network, CN) device (or also referred to as a core device) communicates.
  • RAN radio access network
  • core network core network, CN
  • user equipment may also be referred to as an access terminal, terminal, subscriber unit, subscriber station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, user agent, or user device, and the like.
  • User equipment can be deployed on land, including indoor or outdoor, handheld or vehicle; it can also be deployed on water (such as ships, etc.); it can also be deployed in the air (such as aircraft, balloons and satellites, etc.).
  • the user equipment may be a cellular phone (cellular phone), a cordless phone, a session initiation protocol (SIP) phone, a smart phone (smart phone), a mobile phone (mobile phone), a wireless local loop (WLL) station, personal digital assistant (PDA), etc.
  • SIP session initiation protocol
  • PDA personal digital assistant
  • the user equipment may also be a handheld device with a wireless communication function, a computing device or other device connected to a wireless modem, an in-vehicle device, a wearable device, a drone device, or a terminal in the Internet of Things, the Internet of Vehicles, the fifth generation Mobile communication (5th-generation, 5G) network and any form of terminal in future network, relay user equipment or terminal in future evolved PLMN, etc.
  • the relay user equipment may be, for example, a 5G home gateway (residential gateway, RG).
  • the user equipment may be a virtual reality (VR) terminal, an augmented reality (AR) terminal, a wireless terminal in industrial control, a wireless terminal in self driving, telemedicine Wireless terminals in remote medical, wireless terminals in smart grid, wireless terminals in transportation safety, wireless terminals in smart city, wireless terminals in smart home wireless terminals, etc.
  • VR virtual reality
  • AR augmented reality
  • This embodiment of the present application does not limit the type or type of the terminal device.
  • Network equipment which refers to equipment that can provide wireless access functions for terminals.
  • the network equipment can support at least one wireless communication technology, such as long term evolution (long term evolution, LTE), new radio (new radio, NR), wideband code division multiple access (wideband code division multiple access, WCDMA) and the like.
  • network equipment may include access network equipment.
  • the network equipment includes, but is not limited to: a next-generation base station or a next-generation node B (generation nodeB, gNB), an evolved node B (evolved node B, eNB), a radio network controller (radio network controller, RNC), node B (node B, NB), base station controller (BSC), base transceiver station (base transceiver station, BTS), home base station (for example, home evolved node B, or home node B, HNB ), baseband unit (BBU), transmitting and receiving point (TRP), transmitting point (TP), mobile switching center, small station, micro station, etc.
  • generation nodeB, gNB next-generation node B
  • eNB evolved node B
  • RNC radio network controller
  • node B node B
  • BSC base station controller
  • BTS base transceiver station
  • home base station for example, home evolved node B, or home node B, HNB
  • the network device may also be a wireless controller, a centralized unit (CU), and/or a distributed unit (DU) in a cloud radio access network (CRAN) scenario, or the network device may It is a relay station, an access point, a vehicle-mounted device, a terminal, a wearable device, and a network device in future mobile communications or a network device in a future evolved public land mobile network (PLMN).
  • CU centralized unit
  • DU distributed unit
  • CRAN cloud radio access network
  • PLMN public land mobile network
  • the network device may include a core network (CN) device, and the core network device includes, for example, an AMF and the like.
  • CN core network
  • the network device may include user plane functions (eg, UPF), control plane functions (eg, SMF), and the like.
  • user plane functions eg, UPF
  • control plane functions eg, SMF
  • Industrial Ethernet also known as industrial network, a network that uses a special industrial protocol encapsulated in the Ethernet protocol.
  • the industrial Ethernet protocols adopted by the industrial Ethernet network include but are not limited to the following protocols: Modbus TCP/IP, EtherCat, EtherNet/IP and Profinet. Due to its inherent reliability, high performance and interoperability, Industrial Ethernet has penetrated the factory floor and has become the primary means of communication for automation and control systems.
  • the industrial Ethernet network mainly includes the following parts: a master (Master) device, a network device and a (slave) slave device.
  • the Master device can send a message to the Slave device through the network device, and the Slave device can reply to the Master device through the network device.
  • the Master device is an industrial application server, which may also be called a controller (Controller).
  • the network equipment may include user plane functions and control plane functions.
  • the Slave device is an industrial terminal, and a wireless module is installed in the industrial terminal.
  • the Slave device may also be referred to as a device (device), or D for short.
  • Slave devices in an industrial Ethernet network may or may not support redundant transmission.
  • the master device in the industrial Ethernet network may support redundant transmission, or may not support redundant transmission.
  • the master device in the industrial Ethernet network may support redundant transmission, or may not support redundant transmission. Whether the slave device supports redundant transmission can be regarded as whether the slave device supports the industrial reliability protocol. Whether the Master device supports redundant transmission can be regarded as whether the Master device supports the industrial reliability protocol.
  • the redundant path creation method provided in the embodiment of the present application is mainly applied to an industrial Ethernet network, and may also be applied to other networks, which is not limited.
  • the technical solutions of the embodiments of the present application can be applied to various communication systems.
  • the technical solutions provided in the embodiments of the present application may be applied to an LTE system, an LTE frequency division duplex (FDD) system, an LTE time division duplex (TDD), a universal mobile telecommunication system (universal mobile telecommunication system, UMTS), worldwide interoperability for microwave access (WiMAX) communication system, 5G communication system or NR, and other future communication systems such as 6G, etc.
  • the 3rd generation partnership project (3GPP) standard group formulated the next generation mobile communication network architecture (Next Generation System) at the end of 2016, called 5G network architecture.
  • the 5G network architecture supports wireless technologies (such as LTE, 5G RAN, etc.) defined by the 3GPP standard group, and access methods such as fixed networks access the core network side.
  • the 5G network architecture shown in FIG. 1 is used as an example to describe the application scenarios used in the present application.
  • Figure 1 shows the 5G network architecture based on the service-oriented architecture in the non-roaming scenario defined in the 3GPP standardization process.
  • the network architecture may include: a terminal device part, a network device part, and a data network (DN) part. Specifically, it relates to a process in which a terminal device accesses a core network (or an operator network) through an access device, creates a packet data unit session (PDU session), and then performs protocol data communication.
  • PDU session packet data unit session
  • the network equipment part includes network exposure function (NEF) 131, network storage function (network function repository function, NRF) 132, policy control function (policy control function, PCF) 133, unified data management function (unified data management, UDM) 134, Authentication Server Function (AUSF) 136, AMF 137, Session Management Function (SMF) 138, User Plane Function (UPF) 139, Access Network (AN, AN) ) 140, a network slice selection function (NSSF) 141 and the like.
  • NRF network exposure function
  • NRF network storage function repository function
  • policy control function policy control function
  • PCF policy control function
  • PCF policy control function
  • UDM unified data management function
  • AUSF Authentication Server Function
  • SMF Session Management Function
  • UPF User Plane Function
  • NSF network slice selection function
  • the part other than the access network 140 part may be referred to as the core network part.
  • the core network part includes user plane functions and control plane functions.
  • the user plane function is mainly responsible for packet forwarding, quality of service (QoS) control, and accounting information statistics.
  • the control plane function is mainly responsible for business process interaction, delivering data packet forwarding policies and QoS control policies to the user plane functions.
  • the data network DN 120 which may also be referred to as a packet data network (PDN), may typically be deployed outside the operator's network, such as a third-party network.
  • the operator network may access multiple data network DNs 120, and multiple services may be deployed on the data network DNs 120, so as to provide the terminal device 110 with services such as data and/or voice.
  • the above-mentioned third party may be a service provider other than the operator's network and the terminal device 110 , and may provide other data and/or voice services for the terminal device 110 .
  • the specific expression form of the above third party can be specifically determined according to the actual application scenario, and is not limited here.
  • the application function (application function, AF) 135 may or may not be affiliated to the operator network. However, under normal circumstances, the AF belongs to a third party rather than the operator's network, but has an agreement relationship with the operator's network. AF is used to provide functional network elements of various business services. It can support functions that affect data routing through applications, access network open functions NEF, and interact with policy frameworks for policy control.
  • the AN 140 also called a wireless (Radio) AN, is a sub-network of the operator's network, and is an implementation system between a service node (or network function) and the terminal device 110 in the operator's network.
  • the terminal device 110 To access the operator's network, the terminal device 110 first passes through the AN 140, and then connects with the service node in the operator's network through the AN 140.
  • the AN 140 in the embodiment of the present application may refer to the access network itself, or may refer to the access network equipment, which is not distinguished here.
  • the access network device is a device that provides a wireless communication function for the terminal device 110, and may also be referred to as an access device, a (R)AN device, or a network device.
  • the access network equipment includes but is not limited to: gNB in 5G system, eNB, RNC, NB in LTE system, base station controller BSC, BTS, HNB, BBU, TRP, TP, small base station equipment (pico), mobile switching center, or network equipment in future networks, etc. It is understandable that the present application does not limit the specific type of the access network device. In systems using different wireless access technologies, the names of devices with access network device functions may be different.
  • the access device may include CUs, DUs, and the like.
  • Network Open Function NEF also known as Network Open Function Entity
  • Network Open Function NEF 131 is a control plane function provided by the operator, providing the framework, authentication and interface related to network capability openness, and between network functions and other network functions in the 5G system Send message.
  • Network Open Function NEF 131 An external two-way interface to open the network's capabilities to third parties in a secure manner.
  • the NEF network function 131 can act as a relay for communicating with a third-party network entity.
  • the NEF network function 131 can also serve as a translator of the identification information of the subscriber, as well as the translation of the identification information of the third party's network function.
  • the NEF network function 131 when the NEF network function 131 sends the subscriber permanent identifier (SUPI) of the subscriber from the PLMN to the third party, the SUPI can be translated into its corresponding generic public subscription identifier (GPSI) for external public use. ). Conversely, the NEF network function 131 forwards the external information to the PLMN network, preventing other network functions inside the PLMN from directly contacting the outside.
  • SUPI subscriber permanent identifier
  • GPSI generic public subscription identifier
  • the network storage function NRF 132 is a control plane function provided by the operator and can be used to maintain real-time information of all network function services in the network.
  • the policy control function PCF 133 is a control plane function provided by the operator for generating and managing user, session, and QoS flow processing policies. It supports a unified policy framework to govern network behavior, provide policy rules to other control functions, and contract information related to policy decisions.
  • the unified data management UDM 134 is a control plane function provided by the operator, and is responsible for storing information such as security context (security context) and subscription data of subscribers in the PLMN.
  • security context security context
  • the above-mentioned subscribers of the operator network may specifically be users who use services provided by the operator network, such as users using China Telecom's terminal equipment core cards, or users using China Mobile's terminal equipment core cards.
  • the above-mentioned security context may be data (cookie) or token (token) stored on a local terminal device (for example, a mobile phone).
  • the contract data of the above-mentioned contract user may be the supporting services of the terminal device chip card, such as the data package of the mobile phone chip card, and the like.
  • the authentication server function AUSF 136 is a control plane function provided by the operator, and is usually used for first-level authentication, that is, network authentication between the terminal device 110 (subscriber) and the operator's network.
  • Access and Mobility Management Function AMF 137 is a control plane network function provided by the operator's network, and is responsible for the access control and mobility management of the terminal device 110 accessing the operator's network, including, for example, mobility state management, assigning user temporary identities , authentication and authorization of users and other functions.
  • the session management function SMF 138 is a control plane network function provided by the operator network, and is responsible for managing the protocol data unit (protocol data unit, PDU) session of the terminal device 110.
  • the PDU session is a channel for transmitting PDUs, and the terminal device needs to transmit data to and from the DN 120 through the PDU session.
  • PDU sessions may be established, maintained, deleted, etc. by the SMF 138.
  • SMF 138 includes session management (such as session establishment, modification and release, including tunnel maintenance between UPF 139 and AN 140, etc.), UPF 139 selection and control, service and session continuity (service and session continuity, SSC) mode selection , roaming and other session-related functions.
  • the user plane function UPF 139 is a gateway provided by the operator and is the gateway for the operator network to communicate with the DN 120.
  • UPF 139 includes user plane-related functions such as packet routing and transmission, packet detection, service usage reporting, QoS processing, legal interception, upstream packet detection, and downstream packet storage.
  • the network slice selection function NSSF 141 is a control plane network function provided by the operator network, and is used for determining the network slice instance, selecting the AMF network function 137 and so on.
  • Nnef, Nausf, Nnrf, Npcf, Nudm, Naf, Namf, Nsmf, Nnssf, N1, N2, N3, N4, and N6 are interface serial numbers.
  • N1 is an interface between the terminal device 110 and the control plane function of the core network, and is used to transmit non-access stratum (non access stratum, NAS) signaling.
  • N2 is the communication interface between the access network equipment and the core network control plane function.
  • N3 is the communication interface between the access network equipment and the core network user plane function, and is used to transmit user data.
  • N4 is a communication interface between the control plane function SMF and the user plane function UPF, and is used for policy configuration and the like for the UPF. It should be noted that, in FIG. 1, only the terminal device 110 is used as an example for the UE, and the interface names between various network functions in FIG. 1 are only an example. In the specific implementation, the interface names of the system architecture Other names may also be used, which are not limited in this application.
  • the session management function SMF 138 is abbreviated as SMF in the embodiment of the present application
  • the unified data management UDM 134 is abbreviated as UDM, that is, the AMF described later in the embodiment of the present application can be replaced by the mobility management network function.
  • UDM can be replaced by unified data management. It can be understood that other network functions not shown are also applicable to this alternative method.
  • the network architecture shown in Figure 1 (eg, 5G network architecture) adopts a service-based architecture and common interfaces, and traditional network element functions are divided into several self-contained and self-managed based on network function virtualization (NFV) technology.
  • NFV network function virtualization
  • Reusable network function service module by flexibly defining the service module set, customized network function reconstruction can be realized, and the external business process can be formed through a unified service invocation interface.
  • the schematic diagram of the network architecture shown in FIG. 1 can be understood as a schematic diagram of a service-based 5G network architecture in a non-roaming scenario.
  • Network slicing technology can enable operators to respond more flexibly and quickly to customer needs and support flexible allocation of network resources.
  • Ethernet sessions (such as Ethernet PDU sessions) are supported in the 5G network, and the data packets of the Ethernet sessions are called Ethernet frames/Ether frames.
  • Figure 2 is a possible Ethernet frame format
  • the destination address (DA) is the destination MAC address
  • the source address (SA) is the source MAC address
  • the type (Type) is the ether type
  • the data (Data) is In the data segment
  • the cyclic redundancy check (CRC) is the check bit.
  • the ether type is 0x8100, it means that virtual local area network (VLAN) information is inserted, including the priority (Priority) field, the control format indicator (CFI) word and the VLAN identification (ID) field, where The Priority field contains a 3-bit class of service value.
  • Layer 2 switching in the Ethernet network belongs to the link layer switching, based on media access control (media access control, MAC) address forwarding, the switching device obtains the forwarding port by querying the MAC address learning table. For the MAC address that is not recorded in the MAC address learning table , the switching device can forward it by broadcasting.
  • Figure 3 shows the principle of Layer 2 switching.
  • the switch saves a MAC address learning table to record the correspondence between user MAC addresses and ports. If forwarding is based on VLAN and MAC address, the MAC address learning table will also include the corresponding VLAN information. .
  • the MAC address learning table includes MAC addresses such as MACA, MACB, MACC, and MACD.
  • the port corresponding to the MACA address is port 1
  • the port corresponding to the MACB address is port 1
  • the port corresponding to the MACC address is port 2
  • the switch receives a packet whose destination address is MACD from port 1, it queries the MAC learning table to obtain the port information corresponding to the MACD as port 2, and then sends the packet out from port 2.
  • the MACD entry in the MAC address learning table may be learned when port 2 receives a packet whose source MAC address is MACD, or may be obtained through configuration information.
  • the forwarding logic of user plane functions (such as UPF, gateway GW) is defined in the CU separation of 4G network and 5G network.
  • the user plane function receives the packet, determines the packet forwarding control protocol (PFCP) session, matches the packet detection rule (PDR) according to the priority in the determined PFCP session, and determines The forwarding action rules (FAR) specified in the matched FDR are processed, and the received packet is processed according to the policy in the FAR.
  • the user plane function may determine the PFCP session after matching information such as a network instance (network instance), an address of a terminal device, etc. according to the indication in the PDR.
  • the user plane function When processing the received packet according to the policy in the FAR, if the packet is a downlink packet, the user plane function follows the instructions in the FAR, such as forwarding behavior rules FARs, QoS enforcement rules (QoS enforcement rules) rules, QERs), use reporting rules (usage reporting rules, URRs) to add headers and send them to terminal devices.
  • forwarding behavior rules FARs QoS enforcement rules (QoS enforcement rules) rules, QERs)
  • QERs QoS enforcement rules
  • use reporting rules usage reporting rules, URRs
  • Ethernet control automation technology is an Ethernet-based bus system that allows Ethernet to be used in automation applications.
  • EtherCAT is used in industrial Ethernet networks.
  • EtherCAT packets can be encapsulated based on Ethernet (for example, the Ethernet type is 0x88A4), or encapsulated in IP packets (for example, encapsulated in user datagram protocol (UDP) packets, UDP purpose The port number is 0x88A4).
  • the Ethernet packet includes an Ethernet header (Ethernet header), an Ethernet packet data part (Ethernet data), and a frame check sequence (FCS) ), the Ethernet header occupies 14 bytes, and the FCS occupies 4 bytes.
  • Ethernet data includes the data length (Length), reserved bits (Res.), type (Type) and multiple EtherCAT sub-packets of EtherCAT sub-packets.
  • the multiple EtherCAT sub-grams include a first EtherCAT datagram (1 st EtherCAT Datagram), a second EtherCAT datagram (2 nd EtherCAT Datagram), ... an nth EtherCAT datagram (n th EtherCAT Datagram).
  • Each EtherCAT sub-gram includes a sub-gram header (Datagram Header), an EtherCAT data part (Data), and a working counter (WKC).
  • the sub-message header includes addressing and read/write mode (Cmd), frame code (Idx), address information (Address), EtherCAT sub-message data area length (Len), reserved bit (R), frame cycle flag (C) , subsequent message flag (M) and status bit (IRQ) and other information.
  • the industrial Ethernet network of the EtherCAT protocol includes a master device and multiple slave devices, etc.
  • the network interface of each device includes the sending function and the receiving function, and various physical topologies can be realized through the wired connection between the devices. Packet forwarding is always forwarded on a linear path: after the packet is sent by the master device, it is forwarded between slave terminals and finally returned to the master terminal.
  • the EtherCAT network includes a Master device and 6 Slave devices.
  • the Master device sends an EtherCAT packet.
  • Slave device 1 determines whether to process the sub-packet according to the address segment in the EtherCAT sub-packet.
  • the EtherCAT packet is forwarded to Slave device 2 after no processing or processing is completed.
  • Slave device 2 Slave device 3, Slave device 4, Slave device 5 and Slave device 6 respectively perform similar operations.
  • the EtherCAT message is forwarded to the Master device, and the processing of the sub-message includes reading the data segment therein and inserting data into the sub-message. It can be seen that although the physical topology is tree-shaped, data packets need to be forwarded between slave devices and loopback forwarded within the slave to form a linear forwarding path.
  • the Profinet protocol is also a widely used industrial Ethernet protocol. Profinet packets are encapsulated by ordinary Ethernet packets, and the packets sent to each device are sent independently.
  • the Profinet protocol supports various topologies. As shown in Figure 7, when there is a linear topology between the controller (Controller) and the industrial terminal (Device), the isochronous real-time (IRT) time between the Controller and the industrial terminal The windows are aligned, and the IRT message sent by the Controller to each industrial terminal is sent to each industrial terminal within the IRT time window. Considering the difference in distance and hop count in the line topology, the delay between each industrial terminal and the Controller is different.
  • the Controller will first send the packets of the remote terminal (such as Device3) in the cycle, and then send the near-end terminal. (eg Device1). After receiving the message, Device3 replies to the Controller, Device2 replies to the Controller after receiving the message, and Device1 replies to Device3 after receiving the message.
  • the remote terminal such as Device3
  • Device2 replies to the Controller after receiving the message
  • Device1 replies to Device3 after receiving the message.
  • the existing 5G network supports the Ethernet session, the Ethernet communication between the terminal device and the data network DN, and supports the user plane function UPF on the DN side interface and the Ethernet session binding of the terminal device.
  • an interface (which can be a physical interface or a logical interface) on the DN side of the switch (switch) on the DN side passes the Ethernet session between the UPF and the terminal device in the 5G network core network (5G core, 5GC). Binding, and then the packets of the terminal device on the Ethernet session can be directly forwarded through the bound N6 interface.
  • the Ethernet session may be a PDU session.
  • a wireless module is installed on the first slave device (ie, Slave terminal 1) on the production line, so that each slave device on the production line interacts with the Master device through 5GC, and the production Industrial terminals on the line are adapted to wireless connections.
  • Slave Terminal 1 the network quality between the first node in the production line (that is, the first Slave device) and the wireless network is unstable, other industrial terminals (such as Slave Terminal 2 and Slave Terminal 3) in the entire production line will not be connected to the wireless network. The link between them will fail, and normal communication with the Master device will not be possible. It can be seen that the reliability of communication cannot be guaranteed.
  • the terminal equipment can also use the star topology or tree topology that supports the Ethernet protocol to access the wireless network.
  • a possible tree topology can be shown in Figure 10.
  • Wireless modules are installed on each slave device on the production line. Each slave device interacts with the master device through 5GC to adapt the industrial terminals on the production line. to a wireless connection. If wireless modules are installed at each node of the production line, the cost of industrial terminals will increase sharply. In addition, for industrial protocols such as EtherCAT, in which packets are sent together, this method will lead to detours in the data path, resulting in uncontrollable delays and failure to guarantee the reliability of communication.
  • EtherCAT in which packets are sent together
  • the master only sends one packet, and then forwards the packet in each terminal device according to the forwarding rules of the line topology.
  • the network quality between the terminal device and the wireless network described in the message is unstable, and the links between other terminal devices and the wireless network will also fail, and the reliability of communication cannot be guaranteed.
  • the network device needs to unpack the packet sent by the master and then forward it to each terminal device, which will waste the processing resources of the network device, and the network device does not necessarily have the function of packet unpacking. Higher requirements are placed on wireless networks, and network deployment is more difficult.
  • the wireless network needs to support dual-site overlapping coverage, and the wireless module of the terminal device also needs to support dual-link communication. This puts forward high requirements for wireless networking in the factory floor, and also increases the cost of wireless modules. Therefore, in the actual networking of the Industrial Ethernet protocol, it will increase the difficulty of network deployment and the cost of terminals.
  • URLLC ultra-reliable and low latency communications
  • terminal equipment especially an industrial terminal
  • the reliability of communication cannot be guaranteed, and processing resources of network equipment may be wasted, network deployment becomes more difficult, and terminal costs also increase.
  • an embodiment of the present application provides a method for creating a redundant path.
  • the terminal device 10 can receive the packet 30 from the user plane function 20 and the packet 30 from the terminal device 12.
  • the device 10 may deduplicate the packet 30 from the user plane function 20 and the packet 30 from the terminal device 12 , and then send the deduplicated packet 30 to the terminal device 11 served by the terminal device 10 .
  • the redundant path creation method provided by the embodiment of the present application is equivalent to selecting two or more terminal devices in the terminal devices of the industrial network topology. All the terminal devices in the industrial network topology can communicate with each other through traditional fixed network transmission. Wireless connections can be shared between them, so that all terminal devices can access the wireless network through terminal devices with network access capabilities.
  • the wireless connection point located between the network equipment and the industrial terminal can transparently forward the packets communicated by other nodes through the mobile network, so as to realize the mutual backup and load sharing of the wireless connection. Therefore, under the existing communication system architecture, combined with the actual networking model of the industrial Ethernet protocol, the reliability of communication can be guaranteed while saving terminal costs and reducing the difficulty of network deployment.
  • the terminal equipment involved in the embodiments of the present application may be industrial terminals, wireless modules, or may also be independent wireless access terminal equipment, such as customer premise equipment (customer premise equipment, CPE).
  • customer premise equipment customer premise equipment, CPE
  • the embodiments of the present application are applicable to industrial terminals and/or industrial applications of an industrial Ethernet protocol (such as an EtherCAT protocol or a Profinet protocol, etc.) to realize interconnection and intercommunication through an access network. It can be understood that, the embodiments of the present application may also be applicable to other communication protocols other than industrial Ethernet protocols and/or other applications that are not industrial applications.
  • the embodiments of the present application mainly take an industrial terminal in an industrial Ethernet network as an example for description.
  • the redundant path creation method provided in the embodiment of the present application can be applied to the communication system as shown in FIG. 1 .
  • the redundant path creation method provided by the embodiment of the present application may be applied to the communication system shown in FIG. 11 , and the communication system shown in FIG. 11 further includes a time-sensitive network application function (TSNAF)
  • TNAF time-sensitive network application function
  • the function of the UE can be implemented by a device-side TSN translator (DS-TT)
  • the function of the UPF can be implemented by a network-side TSN translator (NW-TT).
  • DS-TT can be deployed in one with UE
  • NW-TT can be deployed in one with UPF.
  • the Slave device can access the wireless network through DS-TT
  • the Master device can connect to the NW-TT user plane (User plane/U-plane).
  • the embodiments of the present application can also be used for interworking between 5G networks and other networks, or for independent 5G network systems, such as for network interworking with similar requirements to industrial message forwarding, and it does not limit whether there are external 5G networks.
  • Other networks are not limited in the embodiments of this application.
  • the communication between the Master device and the Slave device is mainly used as an example, but the specific names of the network functions in the network are not limited, and it is not limited whether the network functions are deployed in the DN (for example, the Master device and the Slave device can be located in UE side).
  • the session management function in the embodiment of the present application may create a reliable redundant transmission path for multiple terminal devices with a reliability backup relationship, and the multiple terminal devices with a reliability backup relationship may be respectively deployed on multiple industrial terminals.
  • the multiple terminal devices are integrated into one industrial terminal, so as to ensure reliable transmission when the terminal device is accessed through a wireless network.
  • the process of the session management function creating redundant paths for multiple terminal devices with a reliable backup relationship is shown in Figure 12, and the specific process includes:
  • the session management function 21 acquires the terminal device 11 served by the terminal device 10 .
  • the terminal device 10 may send the information of the terminal device 11 to the session management function 21 to inform the session management function 21 that the terminal device 10 serves the terminal device 11, wherein the terminal device
  • the terminal device 11 served by the terminal device 10 may also be a terminal device 11 subordinate to the terminal device 10 .
  • the terminal device 10 may be a UE, and the terminal device 11 may be a Slave terminal.
  • the session management function 21 receives information from the terminal device 11 of the terminal device 10 , so as to obtain the information of the terminal device 11 served by the terminal device 10 .
  • the information of the terminal device 11 may be the MAC address of the terminal device 11 .
  • the terminal device 10 may report the information of the terminal device 11 to the session management function 21 during the registration process, for example, during the attach process or the PDU session creation process.
  • the session management function 21 acquires the terminal device 14 served by the terminal device 12.
  • the terminal device 12 may send the information of the terminal device 14 to the session management function 21 to inform the session management function 21 that the terminal device 12 serves the terminal device 14, wherein the terminal device
  • the terminal device 14 served by 12 may also be a terminal device 14 subordinate to the terminal device 12 .
  • the terminal device 12 may be a UE, and the terminal device 14 may be a Slave terminal.
  • the session management function 21 receives information from the terminal device 14 of the terminal device 12 , so as to obtain the information of the terminal device 14 served by the terminal device 12 .
  • the information of the terminal device 14 may be the MAC address of the terminal device 14 .
  • the terminal device 11 and the terminal device 14 may be the same terminal device, or may be different terminal devices. If the terminal device 11 and the terminal device 14 are different terminal devices, other industrial terminals may also be deployed between the terminal device 11 and the terminal device 14 .
  • the terminal device 12 may report the information of the terminal device 14 to the session management function 21 during the registration process, for example, during the attach process or the PDU session creation process.
  • the session management function 21 determines that there is a corresponding relationship between the terminal device 10 and the terminal device 12.
  • the corresponding relationship between the terminal device 10 and the terminal device 12 may be that the terminal device 10 and the terminal device 12 have a reliability pairing relationship, that is, the terminal device 10 and the terminal device 12 have a reliability pairing relationship.
  • Backup relationship that is, the terminal device 10 and the terminal device 12 trust each other.
  • terminal devices having a corresponding relationship including the terminal device 10 and the terminal device 12 are used as examples for description, and the same applies to the scenario where more than two terminal devices have a corresponding relationship. .
  • the session management function 21 can obtain the terminal device 10 and the terminal device 12 accessing the wireless network, and can obtain the terminal device corresponding to the terminal device 10 and the terminal device corresponding to the terminal device 12 .
  • the session management function 21 can obtain the subscription data of the UE, and the subscription data has the reliability pairing relationship of the UE subscribed, such as Reliability Group (UE1, UE2 and UE3).
  • This subscription method describes The three terminal devices UE1, UE2 and UE3 have a reliable pairing relationship with each other.
  • Another example is Reliability Group (UE1, UE2), Reliability Group (UE2, UE3)
  • the contracting method indicates that there is reliability between UE1 and UE2 Pairing relationship, UE2 and UE3 have a reliable pairing relationship.
  • the session management function 21 may obtain the subscription data of the UE, and the session management function 21 may determine the UE according to the subscription data. For example, the session management function 21 acquires the subscription data of the UE from the subscription database, and acquires the reliability pairing relationship between the UEs from the subscription data.
  • the session management function 21 may store the subscription data of the UE itself, or alternatively, the session management function 21 may acquire the subscription data of the UE from other devices (eg, UDM).
  • the session management function 21 acquires the subscription data of the terminal device 10, and according to the subscription data of the terminal device 10, determines that the terminal device 10 and the terminal device 12 have a corresponding relationship, and the session management function 21 further The subscription data of the terminal device 12 may be acquired, and according to the subscription data of the terminal device 12, it is determined that the terminal device 12 and the terminal device 10 have a corresponding relationship.
  • the reliability pairing relationship of the UE in the subscription data may be statically subscribed through the UE's subscription data, or dynamically created by modifying the subscription data. If the reliability pairing relationship of the UE is dynamically created, the third-party network element (such as AF) can modify the UE's subscription data through the network open function NEF or PCF, that is, the third-party network element can be in the UE's subscription data. , adding the information of the UEs that are in a mutual reliability pairing relationship (such as UE identifiers, etc.), and indicating that the UEs and the added UEs are in a mutual reliability pairing relationship.
  • a mutual reliability pairing relationship such as UE identifiers, etc.
  • the subscription data of the UE may also include the master-slave relationship between the UEs with a reliable pairing relationship, for example, the terminal device 10 and the terminal device 12 have a corresponding relationship, the terminal device 10 is the master UE, and the terminal device 10 is the master UE.
  • Device 12 is a standby UE.
  • the terminal device 10 and the terminal device 12 have a master-slave relationship with each other.
  • the terminal device 10 serves as the master UE to serve one or more slave devices
  • the terminal device 12 is the slave UE of the terminal device 10
  • the terminal device 12 is the master UE.
  • the terminal device 10 is the standby UE of the terminal device 12 .
  • the session management function 21 may also send the information of the terminal device 10 and/or the information of the terminal device 11 to the terminal device 12, and the terminal device The information of 12 and/or the information of terminal 14 is sent to terminal 10 .
  • the execution sequence of S1201, S1202 and S1203 is not limited here.
  • the session management function 21 sends a forwarding rule to the user plane function 20, where the forwarding rule instructs to send a message to the terminal device 11 through the terminal device 10 and to send the message to the terminal device 14 through the terminal device 12 Send message.
  • the user plane function 20 receives the forwarding rules.
  • the forwarding rule may instruct the user plane function 20 to send a packet (ie, a downlink packet or a downlink data packet) from the Master device to the industrial terminal.
  • the forwarding rule may instruct the user plane function 20 to send a packet to the terminal device 11 through the terminal device 10 and to send a packet to the terminal device 14 through the terminal device 12 .
  • the forwarding rule may further instruct the user plane function 20 to send a packet to the terminal device 11 through the terminal device 12 , and to send a packet to the terminal device 14 through the terminal device 10 .
  • the forwarding rule may further instruct the user plane function 20 to report the response from the industrial terminal (ie, an uplink packet, an uplink data packet, or an uplink response packet) to the Master device.
  • the forwarding rule may instruct the user plane function 20 to receive the response from the terminal device 11 through the terminal device 10 , then report the response to the Master device, and receive the response from the terminal device through the terminal device 12 . 14, and then report the response to the Master device.
  • the forwarding rule may also instruct the user plane function 20 to receive the response from the terminal device 11 through the terminal device 12, then report the response to the Master device, and receive the response from the terminal device through the terminal device 10. 14, and then report the response to the Master device.
  • the session management function 21 may further formulate different forwarding rules for the user plane function 20 according to whether the slave device supports redundant transmission. If the slave device supports redundant paths, the slave device can deduplicate packets. If the slave device does not support redundant transmission, the slave device may not have the capability of duplicating or deduplicating packets.
  • the Master device may or may not support redundant transmission.
  • the Master device may or may not support redundant transmission. If the Master device supports redundant transmission, the Master can copy or deduplicate packets. If the Master device does not support redundant transmission, the Master may not have the ability to copy or deduplicate packets.
  • the slave device supports redundant transmission and the master device supports redundant transmission.
  • the Master can copy the message and send the message and the copied message to the user plane function 20, and the forwarding rule can instruct the user plane function 20 to pass the terminal device 10 Send the message to the terminal device 11 and send the copied message to the terminal device 11 through the terminal device 12 .
  • the terminal device 11 may process two packets. Or because the Slave device can deduplicate packets, the terminal device 11 deduplicates two packets, and then processes the packets obtained by deduplication.
  • the slave device can copy the response, send the response to the user plane function 20 through the terminal device 10, and send the copied response to the user plane function 20 through the terminal device 12.
  • the forwarding rule may instruct the user plane function 20 to report the received response to the Master device.
  • the Master device may process two responses. Or because the Master device can deduplicate responses, the Master device can deduplicate two responses, and then process the responses obtained by deduplication.
  • the slave device supports redundant transmission and the master device does not support redundant transmission.
  • the master device does not have the capability of copying the message, and sends the message to the user plane function 20.
  • the forwarding rule can instruct the user plane function 20 to copy the message, and the terminal sends the message to the user plane function 20.
  • the device 10 sends the message to the terminal device 11 and sends the copied message to the terminal device 11 through the terminal device 12 .
  • the terminal device 11 may process two packets. Or because the Slave device can deduplicate packets, the terminal device 11 deduplicates two packets, and then processes the packets obtained by deduplication.
  • the slave device may copy the response, and send the response to the user plane function 20 through the terminal device 10 . Since the master device does not have the ability to deduplicate packets, the forwarding rule may instruct the user plane function 20 to deduplicate a response, and report the response obtained by deduplication to the master device. The Master device processes the received response from deduplication.
  • the slave device does not support redundant transmission and the master device supports redundant transmission.
  • the Master can copy the message and send the message and the copied message to the user plane function 20, and the forwarding rule can instruct the user plane function 20 to pass the terminal device 10 Send the message to the terminal device 11 and send the copied message to the terminal device 11 through the terminal device 12 .
  • the terminal device 11 may process two packets. Or because the Slave device does not have the ability to deduplicate packets, the terminal device 10 serving the terminal device 11 can deduplicate the two packets, and the terminal device 11 processes the packets obtained by deduplication. . In the process of uplink message transmission, the Slave device does not have the capability of duplicating the response.
  • the terminal device 11 may send the response to the user plane function 20 through the terminal device 10 or the terminal device 12, and the forwarding rule may instruct the user plane function 20 to copy the response, and copy the response and the copy.
  • the obtained response is reported to the Master device.
  • the terminal device 10 serving the terminal device 11 may copy the response, send the response and the copied response to the user plane function 20, and the forwarding rule may instruct to report the response and the copied response to the master device.
  • the optional Master device can process two responses. Alternatively, since the Master device can deduplicate responses, the Master device can deduplicate two responses, and then process the responses obtained by deduplication.
  • the slave device does not support redundant transmission and the master device does not support redundant transmission.
  • the master device does not have the capability of copying the message, and sends the message to the user plane function 20.
  • the forwarding rule can instruct the user plane function 20 to copy the message, and the terminal sends the message to the user plane function 20.
  • the device 10 sends the message to the terminal device 11 and sends the copied message to the terminal device 11 through the terminal device 12 .
  • the terminal device 11 may process two packets. Or because the Slave device does not have the ability to deduplicate packets, the terminal device 10 serving the terminal device 11 can deduplicate the two packets, and the terminal device 11 processes the packets obtained by deduplication. .
  • the Slave device does not have the capability of duplicating the response.
  • the terminal device 10 serving the terminal device 11 may copy the response, and send the response and the copied response to the user plane function 20, and the forwarding rule may instruct the user plane function 20 to deduplicate the response and deduplicate the response.
  • the obtained response is reported to the Master device.
  • the Master device processes the received response from deduplication.
  • the session management function 21 establishes and sends an uplink and downlink packet forwarding rule for the terminal device 10 and the terminal device 10, and establishes and sends an uplink and downlink packet forwarding rule for the terminal device 12.
  • the terminal device 10 and the terminal device 12 respectively receive uplink and downlink packet forwarding rules.
  • the process of S1205 can be regarded as the session management function 21 creating a reliable redundant transmission path for UEs having a reliable pairing relationship. That is to say, the session management function 21 internally establishes a routing map of data packets for UEs with a reliable pairing relationship.
  • the session management function 21 may formulate a differentiated forwarding rule for the UE according to whether the slave device served by the UE supports redundant transmission.
  • the context packet forwarding rules established by the network device for the active UE and the uplink and downlink packet forwarding rules established for the standby UE may be the same or different.
  • slave devices eg, terminal device 11 and/or terminal device 14
  • support redundant transmission In this scenario, the slave device can replicate and deduplicate context packets.
  • the Master device may or may not support redundant transmission.
  • the terminal device 10 is the master UE
  • the terminal device 12 is the standby UE
  • the master device sends a message to the terminal device 11 .
  • the downlink packet forwarding rule established by the session management function 21 for the terminal device 10 may be: if the terminal device 10 receives a packet sent to the terminal device 11, the terminal device 10 sends the packet to the terminal device 11.
  • the downlink packet forwarding rule established for the terminal device 12 may be: if the terminal device 12 receives a packet sent to the terminal device 11 , the terminal device 14 sends the packet to the terminal device 11 . That is, the Master device may send a downlink message to the Slave device served by the master UE through the master UE and the standby UE.
  • the downlink packet sending rules established by the master UE and the backup UE are the same.
  • the slave device can deduplicate the received downlink message.
  • the terminal device 10 is the master UE
  • the terminal device 12 is the standby UE
  • the terminal device 11 sends a response (ie, an uplink message) to the master device.
  • the uplink packet forwarding rule established for the terminal device 10 may be: if the terminal device 10 receives a response sent by the terminal device 11, the terminal device 10 sends the response to the Master device.
  • the uplink packet forwarding rule established for the terminal device 12 may be: if the terminal device 12 receives a response sent by the terminal device 11, the terminal device 12 sends the response to the Master device. That is, the Master device can receive the uplink message from the Slave device served by the master UE through the master UE and the standby UE.
  • the forwarding rules of downlink data packets established by the master UE and the backup UE are the same.
  • the slave device can copy the uplink packets, and then send the same uplink packets to the master UE and the standby UE.
  • the slave devices do not support redundant transmission.
  • the UPF and/or the UE may perform duplication and deduplication of the context message.
  • the Master device may or may not support redundant transmission.
  • the terminal device 10 is the master UE
  • the terminal device 12 is the standby UE
  • the master device sends a message to the terminal device 11 .
  • the downlink packet forwarding rule established by the Master device for the terminal device 12 may be: if the terminal device 12 receives a packet sent to the terminal device 11, the terminal device 12 sends the packet to the terminal device 10. .
  • the downlink packet forwarding rule established for the terminal device 10 may be: the terminal device 10 deduplicates the packet sent by the user plane function 20 and the packet sent by the terminal device 12, and then sends the deduplicated packet to the Terminal equipment 11 . That is, the Master device may send a downlink message to the Slave device served by the master UE through the master UE and the standby UE.
  • the downlink packet forwarding rules established for the master UE and the backup UE are different.
  • the terminal device 10 is the master UE
  • the terminal device 12 is the standby UE
  • the terminal device 11 sends a response (ie, an uplink message) to the master device.
  • the uplink packet forwarding rule established for the terminal device 10 may be: if the terminal device 10 receives a response sent by the terminal device 11, the terminal device 10 sends the response to the user plane function 20, optionally, the terminal The device 10 replicates the response, and sends the replicated response to the terminal device 12 .
  • the uplink packet forwarding rule established for the terminal device 12 may be: if the terminal device 12 receives a response sent by the terminal device 11 , the terminal device 12 sends the response to the user plane function 20 . That is, the Master device may receive, through the master UE and the optional standby UE, the data packets of the slave devices served by the master UE.
  • the uplink packet forwarding rules established for the active UE and the standby UE are different.
  • the session management function 21 may send first information to the terminal device 10, where the first information instructs the terminal device 10 to combine the packets from the user plane function 20 with the packets from the terminal device 10. 12 is deduplicated and sent to the terminal device 11, that is, the terminal device 10 deduplicates the packet from the user plane function 20 and the packet from the terminal device 12 and sends them to the terminal device 11 according to the first information. .
  • the session management function 21 may instruct the terminal device 10 to deduplicate the packet from the user plane function 20 and the packet from the terminal device 12 through one cell or multiple cells and send it to the terminal device 11 . In the case of indicating by a plurality of information elements, the plurality of information elements may be referred to as the first information.
  • the network device may establish a direct link (such as a side link SideLink) between UEs having a reliable pairing relationship.
  • the network device may determine whether to establish a direct link between the UEs according to the network topology between the UEs having the reliable pairing relationship. Taking the UEs with the reliability pairing relationship as the master and backup UEs as an example, if there is an available network topology connection between the master and backup UEs, the network device may not establish a direct link between the master and backup UEs. There is no available network topology connection between the two, and the network device can establish a direct link between the active and standby UEs.
  • a direct link such as a side link SideLink
  • the session management function 21 may determine that there is an available network topology connection between the active and standby UEs when determining that the slave device supports redundant transmission, and determine that there is no network topology connection between the active and standby UEs when determining that the slave device does not support redundant transmission Available network topology connections.
  • the communication port of the slave device can support bidirectional transmission, for example, it supports master UE->Slave device->standby UE, and supports standby UE->Slave device->master UE. Slave devices are connected between them, which can be regarded as an available network topology connection between the active and standby UEs. Conversely, when the Slave device does not support redundant transmission, the communication port of the Slave device does not support bidirectional transmission.
  • the session management function 21 sends second information to the terminal device 10 , where the second information instructs the terminal device 10 to establish a transmission path with the terminal device 12 .
  • the session management function 21 sends third information to the terminal device 12 , where the third information instructs the terminal device 12 to establish a transmission path with the terminal device 10 .
  • the session management function in the embodiment of the present application creates a reliable redundant transmission path for multiple terminal devices having a reliable pairing relationship, so as to ensure reliable transmission when the terminal device accesses through a wireless network.
  • the above-mentioned embodiment shown in FIG. 12 is described below by taking the serial industrial terminal supporting the EtherCAT protocol accessing the 5G network as a specific embodiment.
  • the industrial terminal D accesses the wireless network through an integrated wireless module or an external wireless device (such as a CPE), and conducts business interaction with the Master device through the wireless network.
  • the communication model is shown in (a) of Figure 13, and the transmission path is Master->UE1->D1->D2->D3->D4->D3->D2->D1->UE1->Master .
  • the communication model of the embodiment of the present application is shown in (b) of FIG. 13 .
  • UE1 and UE2 have a reliability pairing relationship, and a loop redundant transmission mechanism is formed inside the 5G network.
  • UE1 and UE2 can access the same or different connections.
  • the network access devices, UE1 and UE2 can access the same or different user plane functions, which are not limited here to ensure the transmission reliability of the 5G network.
  • the UDM stores the subscription data of UE1 (such as the above-mentioned terminal device 10) and UE2 (such as the above-mentioned terminal device 12).
  • the subscription data of UE1 contains information about UEs that have a reliable pairing relationship with UE1, and the subscription data of UE2 Information about UEs that have a reliable pairing relationship with UE2 is subscribed.
  • UE1 and UE2 have a reliability pairing relationship
  • the subscription data of UE1 has subscription information of UE2
  • the subscription data of UE2 has subscription information of UE1.
  • the reliability pairing relationship may also indicate the master-slave relationship of the UE, for example, UE1 is the master UE and UE2 is the backup UE.
  • S1402 UE1 sends a session creation request to the SMF, where the session creation request carries information of a slave device (such as terminal device 11) subordinate to or served by UE1. For example, the session creation request carries the MAC address of the slave device served by UE1.
  • the UE2 sends a session creation request to the SMF, where the session creation request carries the information of the slave device (such as the terminal device 14) subordinate to or serving the UE2.
  • the session creation request carries the MAC address of the slave device served by UE2.
  • the SMF obtains the subscription data of the UE1 and the subscription data of the UE2 from the UDM, and the SMF determines that there is a reliable pairing relationship between the UE1 and the UE2 according to the subscription data of the UE1 and the subscription data of the UE2.
  • the SMF determines that UE1 is the master UE and UE2 is the standby UE according to the subscription data of UE1 and the subscription data of UE2.
  • S1405 The SMF establishes or modifies the forwarding rules of UE1 and UE2 on the user plane function UPF.
  • the SMF creates or modifies the uplink and downlink packet forwarding rules (eg, PDU session context or PDR, etc.) on the UPF related to UE1 and UE2 respectively through the N4 session creation or modification message.
  • the SMF may send the downlink ingress port identifiers and uplink egress port identifiers corresponding to the PDU sessions of UE1 and UE2 to the UPF through the N4 session creation or modification message.
  • the downlink inbound port identifier and the uplink outbound port identifier may be represented by port numbers or VLAN tags.
  • UE2 In the context message forwarding rule of UE1, it is recorded that UE2 is a UE that has a reliable pairing relationship with UE1, and optionally, it is recorded that UE2 is a standby UE of UE1. In the context message forwarding rule of UE2, it is recorded that UE1 is a UE that has a reliable pairing relationship with UE2, and optionally, it is recorded that UE1 is the master UE of UE2.
  • the slave device supports redundant paths.
  • the UPF receives the downlink packet through the N6 port, and matches the UE1 and UE1 that transmit the downlink packet according to the PDR and the port identifier of the downlink packet (which can also be combined with the source MAC address S-MAC and/or the destination MAC address D-MAC). /or the PDU session of UE2, the PDU session is sent to UE1 and/or UE2 through the N3 port based on FAR1. At this time, the downlink ingress identifier corresponding to the PDU session of UE1 and UE2 is N3.
  • the UPF receives the uplink packet through the N3 port and determines the uplink outgoing port identifier of the uplink packet according to the PDR and the port identifier of the uplink packet, sends the uplink packet from UE1 to the SMF through the N6 port, and sends the uplink packet through the N6 port to the SMF.
  • the uplink message from UE2 is sent to SMF.
  • the port identifier of the uplink packet may be an N3 label, such as a tunnel end point identifier (TEID).
  • the slave device does not support redundant transmission.
  • the SMF instructs the UPF to copy the downlink packets received through the N6 port, and send the downlink packets to UE1 and UE2.
  • the SMF instructs the UPF to deduplicate the uplink packets from UE1 and UE2 received through the N3 port, and deduplicate the deduplicated uplink packets through the N6 port.
  • the message is sent to the SMF.
  • the SMF instructs the UPF to forward the uplink packet received through the N3 port to the UE1.
  • the SMF includes the address information of the slave device served by UE1 or a multicast/broadcast/special address as the packet filtering condition in the forwarding rule of UE2 in the forwarding rule of UE2.
  • the SMF sends a session creation response message to UE1, where the session creation response message includes the address of UE2 and/or the address of a slave device subordinate to or served by UE2.
  • the session creation response message indicates that UE1 is the master UE and/or indicates that UE2 is the standby UE.
  • the SMF sends a session creation response message to UE2, where the session creation response message includes the address of UE1 and/or the address of a slave device subordinate to or served by UE1.
  • the session creation response message indicates that UE1 is the master UE and/or indicates that UE2 is the standby UE.
  • S1408 UE1 and UE2 create internal data forwarding rules according to the session creation response message received from the SMF.
  • the slave device supports redundant transmission, as shown in Figure 17.
  • UE2 In the downlink packet forwarding rule of UE2, if UE2 receives a downlink packet sent to the slave device served by UE1, UE2 sends the downlink packet to the slave device served by UE1. UE2 may determine that the downlink packet is a data packet sent by SMF to the slave device served by UE1 according to the address of UE1 and/or the address of the slave device subordinate to or served by UE1 included in the session creation response message in S1406.
  • UE1 In the downlink packet forwarding rule of UE1, if UE1 receives a downlink packet sent to the slave device served by UE1, UE1 sends the downlink packet to the slave device served by UE1.
  • the UE2 In the forwarding rule of the uplink message of the UE2, if the UE2 receives the uplink message sent by the slave device served by the UE1, the UE2 sends the uplink message to the network device such as the base station/UPF/SMF.
  • the network device such as the base station/UPF/SMF.
  • UE1 In the uplink packet forwarding rule of UE1, if UE1 receives an uplink packet sent by a slave device served by UE1, UE1 sends the uplink packet to a network device such as a base station/UPF/SMF.
  • a network device such as a base station/UPF/SMF.
  • the slave device does not support redundant paths, as shown in Figure 18.
  • UE2 sends a downlink message to the Slave device served by UE1, UE2 sends the downlink message to UE1.
  • UE1 receives the downlink packet from UPF and the downlink packet from UE2, it deduplicates the downlink packet from UPF and the downlink packet from UE2, and deduplicates the downlink packet from UE2.
  • the downlink message is sent to the Slave device served by UE1.
  • UE2 In the uplink packet forwarding rule of UE2, if UE2 receives an uplink packet sent by UE1, UE2 sends the uplink packet to network devices such as a base station/UPF/SMF.
  • network devices such as a base station/UPF/SMF.
  • UE1 In the uplink packet forwarding rule of UE1, if UE1 receives an uplink packet sent by a slave device served by UE1, UE1 sends the uplink packet to the network device, and UE1 replicates the uplink packet, and will copy the uplink packet to the network device. The obtained uplink message is sent to UE2.
  • the industrial terminal supporting the EtherCAT protocol communicates through the 5G network
  • the industrial terminal can ensure reliable transmission when accessing through the wireless network, and improve the reliability of the wireless network.
  • the embodiment of the present application further provides a reliable transmission process based on the foregoing redundant path.
  • the slave device supports redundant transmission.
  • UE1 is terminal device 10
  • UE2 is terminal device 12
  • D1 is terminal device 11
  • D4 is terminal device 14 .
  • the master device sends a message 30 to the user plane function 20 , and the user plane function 20 sends the message 30 to the terminal device 10 and the terminal device 12 .
  • the terminal device 10 sends the message 30 to the terminal device 11 , and the terminal device 11 receives the message 30 from the terminal device 10 .
  • the terminal device 12 sends the message 30 to the terminal device 14, the terminal device 14 sends the message 30 to the terminal device 11 through D3 and D2, and the terminal device 11 receives the message from the terminal device 12. message 30.
  • the terminal device 11 sends a response 33 to the terminal device 10 for the message 30 from the terminal device 10 .
  • the terminal device 10 sends the response 33 to the user plane function 20, and the user plane function 20 sends the response 33 to the Master device.
  • the terminal device 11 sends a response 34 to the terminal device 12 through D2, D3, and the terminal device 14 for the message 30 from the terminal device 12 .
  • the terminal device 12 sends the response 34 to the Master device.
  • the terminal device 11 may de-duplicate the packet 30 from the terminal device 10 and the packet 30 from the terminal device 12 .
  • the terminal device 11 sends a response 38 to the terminal device 10 for the packet 30 after deduplication.
  • the terminal device 10 sends the response 38 to the user plane function 20, and the user plane function 20 sends the response 28 to the Master device.
  • the terminal device 11 may also copy the response 38 to obtain the response 39 .
  • the terminal device 11 sends the response 39 to the terminal device 12 through D2, D3, and the terminal device 14.
  • the terminal device 12 sends the response 39 to the Master device.
  • the response 39 is copied from the response 38, and the data included in the response 30 and the data included in the response 38 may be identical, or may be partially identical.
  • the Slave device does not support redundant transmission.
  • UE1 is the terminal device 10
  • UE2 is the terminal device 12
  • D1 is the terminal device 11
  • D4 is the terminal device 14
  • a transmission path is established between the terminal devices 12 .
  • the master device sends the message 30 to the user plane function 20 , and the user plane function 20 sends the message 30 to the terminal device 10 and the terminal device 12 .
  • the terminal device 10 receives the message 30 from the user plane function 20 .
  • the terminal device 12 sends the message 30 to the terminal device 10 , and the terminal device 10 receives the message 30 from the terminal device 12 .
  • the terminal device 10 deduplicates the packet 30 from the user plane function 20 and the packet 30 from the terminal device 12 .
  • the terminal device 10 sends the deduplicated packet to the terminal device 11 .
  • the terminal device 11 receives the deduplicated packet 30 from the terminal device 10 , and sends a response 36 to the terminal device 10 for the deduplicated packet 30 from the terminal device 10 .
  • the terminal device 10 sends the response 36 to the user plane function 20, and the user plane function 20 sends the response 36 to the Master device.
  • the terminal device 11 receives the message 30 from the terminal device 12 through the terminal device 10, and sends a response 37 to the terminal device 10 for the message 30 from the terminal device 12.
  • the terminal device 10 sends the response 37 to the terminal device 12, the terminal device 12 sends the response 37 to the user plane function 20, and the user plane function 20 sends the response 37 to the Master device.
  • the embodiment of the present application also provides a reliable transmission process based on the above-created redundant path, which can realize data transmission Transmission reliability protection.
  • the possible failures of the data transmission link are shown in Figure 19. The failure may occur in: (1) the mobile network access part, such as between UE and UPF, (2) UE (such as industrial CPE, etc.), (3) Slave device.
  • the reliable transmission process when a fault occurs in this embodiment of the present application can be applied to the architecture shown in FIG. 17 or the architecture shown in FIG. 18 .
  • a failure occurs in the access part of the mobile network, such as a failure between the UE and the network equipment. Assuming a failure occurs between UE1 and UPF, the Master device sends downlink packets to UE2 (such as terminal device 12), and UE2 sends the received downlink packets to UE1. Therefore, even if the mobile network access part on UE1 side fails, UE1 The downlink message sent by the Master device may also be received from the mobile network access link on the UE2 side. For the uplink message sent by the slave device D1 to the master device, the UE1 sends the received uplink message to the UE2, and the UE2 sends the uplink message to the master device through the mobile network.
  • the UE1 side mobile network access unavailable state may be notified to UE2.
  • UE1 a control plane network element or a user plane network element notifies UE2 that mobile network access on the UE1 side is unavailable.
  • the UE2 can directly send the downlink message to the Slave device.
  • the slave device can directly send uplink packets to UE2.
  • the transmission process of downlink packets may include: Master->UPF->AN->UE2->D4->D3->D2->D1, or Master->UPF->AN->UE2->D4->D3- >D2->D1->UE1->D1. That is, the terminal device 11 (ie, D1 ) can receive the packet 35 from the terminal device 12 (ie, UE2 ) through the industrial terminal D.
  • the transmission process of uplink packets may include: D1->D2->D3->D4->UE2->AN->UPF->Master, or D1->UE1->D1->D2->D3->D4- >UE2->AN->UPF->Master.
  • the transmission process of the downlink message may include: Master->UPF->AN->UE2->UE1->D1. That is, the above-mentioned terminal device 10 (ie, UE1 ) can receive the message 35 from the terminal device 12 (ie, UE2 ), and send the message 35 to the terminal device 11 (ie, D1 ). That is, the terminal device 11 (ie, D1 ) can receive the packet 35 from the terminal device 12 (ie, UE2 ).
  • the transmission process of the uplink message may include: D1->UE1->UE2->AN->UPF->Master.
  • UE fails Assuming that UE1 is faulty, a fault detection mechanism may exist between UE1 and UE2, and a fault detection mechanism may also exist between UE1 and D1.
  • UE1 fails, UE2 and/or D1 can quickly detect the failure of UE1, D1 can interrupt the link between D1 and UE1, and connect the port connected to D1 and UE1 to form a loop.
  • UE2 After UE2 receives the downlink message sent by the Master, UE2 sends the downlink message to the Slave device. Since D1 forms a loop with the port connecting D1 and UE1, D1 sends the uplink message to the Master device through UE2.
  • the transmission process of the downlink message may include: Master->UPF->AN->UE2->D4->D3->D2->D1. That is, the terminal device 11 (ie, D1 ) can receive the packet 35 from the terminal device 12 (ie, UE2 ) through the industrial terminal D.
  • the transmission process of the uplink message may include: D1->D2->D3->D4->UE2->AN->UPF->Master.
  • the Slave equipment fails. Assuming that D2 is faulty, D1 and D3 can detect that D2 is faulty through the fault detection mechanism. When the link with D2 is detected to be faulty, D1 and D3 respectively generate fault detection packets, and in the fault detection report The fault point D2 is carried in the text, and the fault detection packet is sent to the Master device.
  • the UE1 may receive the fault detection packet from D1, parse the fault detection packet, determine that the fault point is D2, and send the fault detection packet to the Master device.
  • UE2 may receive the fault detection packet from D3, parse the fault detection packet, determine that the fault point is D2, and send the fault detection packet to the Master device.
  • the master device After receiving the fault detection messages from UE1 and UE2, the master device can construct the downlink message sent to the slave device into two messages and send them to D1, D3 and D4 respectively.
  • the Master device sends downlink packets to D1 through UE1, and sends downlink packets to D3 and D4 through UE2.
  • UE1 and UE2 After UE1 and UE2 receive the downlink message from the Master device, since it was previously determined that the fault point is D2, UE1 sends the downlink message to D1, and UE2 sends the downlink message to D3 and D4.
  • the transmission process of the downlink message may include: Master->UPF->AN->UE1->D1 and Master->UPF->AN->UE2->D4->D3.
  • the transmission process of the uplink message may include: D1->UE1->AN->UPF->Master and D3->D4->UE2->AN->UPF->Master.
  • the transmission process of downlink messages may include: Master->UPF->AN->UE1->D1 or Master->UPF->AN->UE2->UE1->D1; or Master->UPF->AN-> UE2->D4->D3, or Master->UPF->AN->UE1->UE2->D4->D3.
  • the transmission process of the uplink message may include: D1->UE1->AN->UPF->Master or D1->UE1->UE2->AN->UPF->Master; or D3->D4->UE2-> UE1->AN->UPF->Master.
  • UE1 and UE2 only two UEs (UE1 and UE2) and four slave devices (D1, D2, D3, and D4) are used as examples for description.
  • the number of UEs and the number of slave devices is not limited.
  • the rapid detection and location of faults are realized, and different redundant transmission strategies can be implemented according to different fault points, so as to ensure the continuity of services. High reliability.
  • the embodiment of the present application further provides a communication device, as shown in FIG. 20 .
  • the communication apparatus 2000 includes a processing unit 2001 and a transceiver unit 2002, and the apparatus 2000 can be used to implement the methods described in the foregoing method embodiments applied to network equipment or network equipment.
  • the apparatus 2000 is applied to a terminal device, where the terminal device may be the terminal device 10 .
  • the transceiver unit 2002 is configured to receive the message 30 from the user plane function 20, and the communication device serves the terminal device 11; receives the message 30 from the terminal device 12;
  • the processing unit 2001 configured to deduplicate the packet 30 from the user plane function 20 and the packet 30 from the terminal device 12;
  • the transceiver unit 2002 is further configured to send the deduplicated packet 30 to the terminal device 11 .
  • the transceiver unit 2002 is further configured to receive a response 31 from the terminal device 11, where the response 31 corresponds to the deduplicated packet 30; A response 32 is sent, which corresponds to the message 30 from the terminal device 12 .
  • the transceiver unit 2002 is further configured to receive the packet 35 from the terminal device 12 if a fault occurs between the communication device and the user plane function 20, and send the packet 35 sent to the terminal device 11 .
  • the transceiver unit 2002 is further configured to receive first information from the session management function 21 , where the first information indicates that the packet from the user plane function 20 is to be sent to the terminal device 12 .
  • the packet is sent to the terminal device 11 after deduplication.
  • the transceiver unit 2002 is further configured to receive second information from the session management function 21 , where the second information indicates establishing a transmission path with the terminal device 12 .
  • the apparatus 2000 is applied to a network device, wherein the network device is the session management function 21 .
  • the transceiver unit 2002 is used to obtain the terminal device 11 served by the terminal device 10; obtain the terminal device 14 served by the terminal device 12;
  • the processing unit 2001 is used to determine that there is a corresponding relationship between the terminal device 10 and the terminal device 12;
  • the transceiver unit 2002 is further configured to send a forwarding rule to the user plane function 20, where the forwarding rule indicates to send a message to the terminal device 11 through the terminal device 10 and to send a message to the terminal device through the terminal device 12 14 Send the message.
  • the forwarding rule further indicates to duplicate the message.
  • the transceiver unit 2002 is further configured to send first information to the terminal device 10, where the first information indicates that the packet from the user plane function 20 is to be sent to the terminal device 12
  • the packet is deduplicated and sent to the terminal device 11 .
  • the transceiver unit 2002 is further configured to send second information to the terminal device 10 , where the second information indicates to establish a transmission path with the terminal device 12 .
  • the transceiver unit is further configured to send third information to the terminal device 12 , where the third information indicates to establish a transmission path with the terminal device 10 .
  • the transceiver unit 2002 is specifically configured to receive information from the terminal device 11 of the terminal device 10 .
  • the transceiver unit 2002 is specifically configured to receive information from the terminal device 14 of the terminal device 12 .
  • the processing unit 2001 is specifically configured to acquire the subscription data of the terminal device 10, and the subscription data of the terminal device 10 indicates that there is a corresponding relationship between the terminal device 12; and/or acquire The subscription data of the terminal device 12 indicates that there is a corresponding relationship between the subscription data of the terminal device 12 and the terminal device 10 .
  • the apparatus 2000 is applied to a terminal device, where the terminal device may be the terminal device 11 .
  • the transceiver unit 2002 is configured to receive the message 30 from the terminal device 10; receive the message 30 from the terminal device 12;
  • the processing unit 2001 configured to determine the message 30;
  • the transceiver unit 2002 is further configured to send a response 33 to the terminal device 10, where the response 33 corresponds to the message 30 from the terminal device 10; and send a response 34 to the terminal device 12, the The response 34 corresponds to the message 30 from the terminal device 12 .
  • the transceiver unit 2002 is further configured to receive a packet from the terminal device 12 if a failure occurs between the terminal device 10 and the user plane function 20 or if the terminal device 10 fails 35.
  • the apparatus 2000 is applied to a terminal device, where the terminal device may be the terminal device 11 .
  • the transceiver unit 2002 is configured to receive the message 30 from the terminal device 10; receive the message 30 from the terminal device 12 through the terminal device 10;
  • the processing unit 2001 configured to determine the message 30;
  • the transceiver unit 2002 is further configured to send a response 36 to the terminal device 10, where the response 36 corresponds to the message 30 from the terminal device 10; sending a response to the terminal device 12 through the terminal device 10 37 , the response 37 corresponds to the message 30 from the terminal device 12 .
  • the transceiver unit 2002 is further configured to receive a packet from the terminal device 12 if a failure occurs between the terminal device 10 and the user plane function 20 or if the terminal device 10 fails 35.
  • each functional unit in each embodiment of the present application It can be integrated in one processing unit, or it can exist physically alone, or two or more units can be integrated in one unit.
  • the above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as an independent product, may be stored in a computer-readable storage medium.
  • the technical solutions of the present application can be embodied in the form of software products in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, and the computer software products are stored in a storage medium , including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes .
  • an embodiment of the present application further provides a schematic structural diagram of a communication apparatus 2100 .
  • the apparatus 2100 may be configured to implement the methods described in the foregoing method embodiments applied to network equipment or terminal equipment, and reference may be made to the descriptions in the foregoing method embodiments.
  • the apparatus 2100 may be located in a network device or a terminal device or be a network device or a terminal device.
  • the apparatus 2100 includes one or more processors 2101 .
  • the processor 2101 may be a general-purpose processor or a special-purpose processor or the like.
  • it may be a baseband processor, or a central processing unit.
  • the baseband processor may be used to process communication protocols and communication data
  • the central processing unit may be used to control communication devices (eg, base stations, terminals, or chips, etc.), execute software programs, and process data of software programs.
  • the communication device may include a transceiving unit for implementing signal input (reception) and output (transmission).
  • the transceiver unit may be a transceiver, a radio frequency chip, or the like.
  • the apparatus 2100 includes one or more of the processors 2101, and the one or more processors 2101 can implement the method of the network device or the terminal device in the above-mentioned embodiments.
  • processor 2101 may implement other functions in addition to implementing the methods in the above-described embodiments.
  • the processor 2101 may execute an instruction, so that the apparatus 2100 executes the method described in the foregoing method embodiment.
  • the instructions may be stored in whole or in part in the processor, such as instruction 2103, or may be stored in whole or in part in a memory 2102 coupled to the processor, such as instruction 2104, or may be jointly caused by instructions 2103 and 2104.
  • the apparatus 2100 executes the methods described in the above method embodiments.
  • the communication apparatus 2100 may also include a circuit, and the circuit may implement the functions of the network device or the terminal device in the foregoing method embodiments.
  • the apparatus 2100 may include one or more memories 2102 having stored thereon instructions 2104 that may be executed on the processor to cause the apparatus 2100 to perform the above-described method methods described in the examples.
  • data may also be stored in the memory.
  • Instructions and/or data may also be stored in the optional processor.
  • the one or more memories 2102 may store the correspondences described in the foregoing embodiments, or related parameters or tables involved in the foregoing embodiments, and the like.
  • the processor and the memory can be provided separately or integrated together.
  • the apparatus 2100 may further include a transceiver unit 2105 and an antenna 2106 .
  • the processor 2101 may be called a processing unit, and controls the device (terminal or base station).
  • the transceiver unit 2105 may be referred to as a transceiver, a transceiver circuit, or a transceiver, etc., and is used to implement the transceiver function of the device through the antenna 2106 .
  • the processor in this embodiment of the present application may be an integrated circuit chip, which has a signal processing capability.
  • each step of the above method embodiments may be completed by a hardware integrated logic circuit in a processor or an instruction in the form of software.
  • the above-mentioned processor can be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other available Programming logic devices, discrete gate or transistor logic devices, discrete hardware components.
  • DSP Digital Signal Processor
  • ASIC Application Specific Integrated Circuit
  • FPGA Field Programmable Gate Array
  • a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the steps of the method disclosed in conjunction with the embodiments of the present application may be directly embodied as executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor.
  • the software modules may be located in random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers and other storage media mature in the art.
  • 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.
  • the memory in this embodiment of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory.
  • the non-volatile memory may be a read-only memory (Read-Only Memory, ROM), a programmable read-only memory (Programmable ROM, PROM), an erasable programmable read-only memory (Erasable PROM, EPROM), an electrically programmable read-only memory (Erasable PROM, EPROM). Erase programmable read-only memory (Electrically EPROM, EEPROM) or flash memory.
  • Volatile memory may be Random Access Memory (RAM), which acts as an external cache.
  • RAM Static RAM
  • DRAM Dynamic RAM
  • SDRAM Synchronous DRAM
  • SDRAM double data rate synchronous dynamic random access memory
  • Double Data Rate SDRAM DDR SDRAM
  • enhanced SDRAM ESDRAM
  • synchronous link dynamic random access memory Synchlink DRAM, SLDRAM
  • Direct Rambus RAM Direct Rambus RAM
  • Embodiments of the present application further provide a computer-readable medium on which a computer program is stored, and when the computer program is executed by a computer, implements the redundant path creation described in any of the foregoing method embodiments applied to a network device or a terminal device method.
  • Embodiments of the present application further provide a computer program product, which implements the redundant path creation method described in any of the foregoing method embodiments applied to a network device or a terminal device when the computer program product is executed by a computer.
  • the above-mentioned embodiments it may be implemented in whole or in part by software, hardware, firmware or any combination thereof.
  • 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 instructions. When the computer instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated.
  • the computer may be a general purpose computer, special purpose computer, computer network, or other programmable device.
  • the computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server, or data center Transmission to another website site, computer, server or data center via wired (eg coaxial cable, optical fiber, Digital Subscriber Line, DSL) or wireless (eg infrared, wireless, microwave, etc.) means.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that includes an integration of one or more available media.
  • the available media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, high-density digital video discs (DVDs)), or semiconductor media (eg, solid state disks, SSD)) etc.
  • An embodiment of the present application further provides a processing apparatus, including a processor and an interface; the processor is configured to execute the redundant path creation method described in any of the foregoing method embodiments applied to a network device or a terminal device.
  • the above-mentioned processing device may be a chip, and the processor may be implemented by hardware or software.
  • the processor When implemented by hardware, the processor may be a logic circuit, an integrated circuit, etc.; when implemented by software
  • the processor can be a general-purpose processor, which is realized by reading the software codes stored in the memory, and the memory can be integrated in the processor, and can be located outside the processor and exist independently.
  • An embodiment of the present application further provides a communication system, where the communication system includes the session management function 21 described in any of the foregoing embodiments, and the user plane function 20 that receives the forwarding rule from the session management function 21 .
  • the communication system may be applied to an industrial Ethernet network, and the terminal device 11 may or may not support redundant transmission.
  • the communication system may further include, execute the terminal device 10 described in any of the foregoing embodiments, execute the terminal device 12 described in any of the foregoing embodiments, and execute the terminal device 11 described in any of the foregoing embodiments.
  • the terminal device 11 may support redundant transmission, or may not support redundant transmission.
  • the communication system may further include a terminal device 14 served by the terminal device 12 .
  • the terminal device 14 may or may not support redundant transmission.
  • the disclosed system, apparatus and method may be implemented in other manners.
  • the apparatus embodiments described above are only illustrative.
  • the division of units is only a logical function division.
  • there may be other division methods for example, multiple units or components may be combined or integrated. to another system, or some features can be ignored, or not implemented.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may also be electrical, mechanical or other forms of connection.
  • Units described as separate components may or may not be physically separated, and components shown as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solutions of the embodiments of the present application.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
  • Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another.
  • a storage medium can be any available medium that a computer can access.
  • computer readable media may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage media or other magnetic storage devices, or be capable of carrying or storing instructions or data structures in the form of desired program code and any other medium that can be accessed by a computer. also.
  • any connection can be appropriately made into a computer-readable medium.
  • the software is transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave
  • the coaxial cable , fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, wireless, and microwave are included in the fusing of the pertinent medium.
  • Disk and disc includes compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk, and blu-ray disc, where disks generally reproduce data magnetically, and discs Lasers are used to optically copy data. Combinations of the above are also included within the scope of computer-readable media.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Embodiments of the present application provide a redundant path creating method, apparatus, and system, being used for ensuring the reliability of communication while saving terminal cost and reducing network deployment. The redundant path creating method comprises: a terminal device 10 receives a message 30 from a user plane function 20, and the terminal device 10 serves a terminal device 11; the terminal device 10 receives a message 30 from a terminal device 12; the terminal device 10 performs deduplication on the message 30 from the user plane function 20 and the message 30 from the terminal device 12; and the terminal device 10 transmits the deduplicated messages 30 to the terminal device 11.

Description

一种冗余路径创建方法、装置及系统A method, device and system for creating redundant paths
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请要求在2020年12月28日提交中国专利局、申请号为202011578654.4、申请名称为“一种冗余路径创建方法、装置及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202011578654.4 and the application title "A method, device and system for creating redundant paths", which was filed with the China Patent Office on December 28, 2020, the entire contents of which are incorporated by reference in this application.
技术领域technical field
本申请涉及无线通信技术领域,尤其涉及一种冗余路径创建方法、装置及系统。The present application relates to the field of wireless communication technologies, and in particular, to a method, apparatus, and system for creating a redundant path.
背景技术Background technique
相关技术中终端设备大多以线型拓扑接入无线网络,在线型拓扑中,产线上的首节点与无线网络连接,产线上的其他终端设备通过所述首节点接入无线网络。如果所述首节点与无线网络之间的网络质量不稳定,产线上的其他终端设备与无线网络之间的链路均会失败。In the related art, terminal devices are mostly connected to the wireless network in a linear topology. In the linear topology, the first node on the production line is connected to the wireless network, and other terminal devices on the production line are connected to the wireless network through the first node. If the network quality between the first node and the wireless network is unstable, the links between other terminal devices on the production line and the wireless network will fail.
终端设备也可以采用星型拓扑或树形拓扑接入无线网络,在星型拓扑或树形拓扑中,产线上的各终端设备均可以直接与无线网络连接。若不改变转发规则,工业应用服务器Master只发送一个报文,然后按照线型拓扑的转发规则在每个终端设备中转发所述报文,若第一个接收所述报文的终端设备与无线网络之间的网络质量不稳定,其他终端设备与无线网络之间的链路也会失败。若改变转发规则,就需要网络设备对Master发送的报文进行拆包然后分别转发给每个终端设备,会导致浪费网络设备的处理资源,并且网络设备不一定具备报文拆包的功能,因此对无线网络提出了更高的要求,网络部署难度增大。Terminal devices can also use star topology or tree topology to access the wireless network. In star topology or tree topology, each terminal device on the production line can be directly connected to the wireless network. If the forwarding rules are not changed, the industrial application server Master only sends one packet, and then forwards the packet in each terminal device according to the forwarding rules of the line topology. The network quality between the networks is unstable, and the links between other end devices and the wireless network also fail. If the forwarding rule is changed, the network device needs to unpack the packet sent by the master and then forward it to each terminal device, which will waste the processing resources of the network device, and the network device does not necessarily have the function of packet unpacking. Higher requirements are placed on wireless networks, and network deployment is more difficult.
因此,终端设备接入无线网络时,通信的可靠性无法得到保障,且浪费网络设备的处理资源,及网络部署难度增大。Therefore, when the terminal device accesses the wireless network, the reliability of communication cannot be guaranteed, and the processing resources of the network device are wasted, and the difficulty of network deployment is increased.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供一种冗余路径创建方法、装置及系统,用以在节约终端成本和降低网络部署难度的同时,保障通信的可靠性。Embodiments of the present application provide a method, device, and system for creating a redundant path, so as to ensure the reliability of communication while saving terminal costs and reducing network deployment difficulty.
第一方面,提供一种冗余路径创建方法,包括:终端设备10接收来自用户面功能20的报文30,所述终端设备10服务于终端设备11;所述终端设备10接收来自终端设备12的所述报文30;所述终端设备10对来自所述用户面功能20的所述报文30和来自所述终端设备12的所述报文30进行去重;所述终端设备10将去重后的所述报文30发送给所述终端设备11。In a first aspect, a method for creating a redundant path is provided, including: a terminal device 10 receives a packet 30 from a user plane function 20, the terminal device 10 serves the terminal device 11; the terminal device 10 receives a message from the terminal device 12 The terminal device 10 deduplicates the packet 30 from the user plane function 20 and the packet 30 from the terminal device 12; the terminal device 10 deduplicates the packet 30 from the terminal device 12 The repeated message 30 is sent to the terminal device 11 .
在工业网络拓扑中,所有终端设备都可以通过具有网络接入能力的终端设备接入无线网络,而具有网络接入能力的终端设备可以透明转发报文,实现无线连接的相互备份和负荷分担。在现有通信系统架构下,结合工业以太协议的实际组网模型,在节约终端成本和降低网络部署难度的同时,保障通信的可靠性。In an industrial network topology, all terminal devices can access the wireless network through terminal devices with network access capabilities, and terminal devices with network access capabilities can transparently forward packets to achieve mutual backup and load sharing of wireless connections. Under the existing communication system architecture, combined with the actual networking model of the industrial Ethernet protocol, the reliability of communication is guaranteed while saving terminal costs and reducing the difficulty of network deployment.
在一种可能的设计中,所述终端设备10还可以接收来自所述终端设备11的响应31, 所述响应31对应于所述去重后的所述报文30;所述终端设备10向所述终端设备12发送响应32,所述响应32对应于来自所述终端设备12的所述报文30。In a possible design, the terminal device 10 may also receive a response 31 from the terminal device 11, where the response 31 corresponds to the deduplicated packet 30; the terminal device 10 sends the The terminal device 12 sends a response 32 corresponding to the message 30 from the terminal device 12 .
在该设计中,具有网络接入能力的终端设备还可以转发响应(即上行报文),以提高通信的可靠性。In this design, a terminal device with network access capability can also forward a response (ie, an uplink message) to improve communication reliability.
在一种可能的设计中,若所述终端设备10和所述用户面功能20之间发生故障,所述终端设备10还可以接收来自所述终端设备12的报文35,将所述报文35发送给所述终端设备11。In a possible design, if a fault occurs between the terminal device 10 and the user plane function 20, the terminal device 10 may also receive the packet 35 from the terminal device 12, and convert the packet 35 to the terminal device 11 .
在该设计中,当数据传输链路发生故障时,可以实现故障的检测定位,并根据故障点的不同,实施不同的冗余传输策略,从而进一步保障通信的可靠性。In this design, when the data transmission link fails, the detection and location of the fault can be realized, and different redundant transmission strategies can be implemented according to the different fault points, so as to further ensure the reliability of communication.
在一种可能的设计中,所述终端设备10还可以接收来自会话管理功能21的第一信息,所述第一信息指示将来自所述用户面功能20的报文和所述终端设备12的报文去重后发给所述终端设备11。In a possible design, the terminal device 10 may also receive first information from the session management function 21, where the first information indicates that the packet from the user plane function 20 and the The packet is sent to the terminal device 11 after deduplication.
在该设计中,会话管理功能21可以指示终端设备10对接收到的多个相同的报文进行去重,以在工业拓扑网络不支持冗余传输时也能够保障通信的可靠性。In this design, the session management function 21 can instruct the terminal device 10 to deduplicate multiple identical packets received, so as to ensure the reliability of communication even when the industrial topology network does not support redundant transmission.
在一种可能的设计中,所述终端设备10还可以接收来自所述会话管理功能21的第二信息,所述第二信息指示建立和所述终端设备12之间的传输路径。In a possible design, the terminal device 10 may also receive second information from the session management function 21 , where the second information indicates to establish a transmission path with the terminal device 12 .
在该设计中,在工业拓扑网络不支持冗余传输时,会话管理功能21可以指示终端设备10建立与终端设备12之间的传输路径,以在工业拓扑网络不支持冗余传输时能够保障通信的可靠性。In this design, when the industrial topology network does not support redundant transmission, the session management function 21 can instruct the terminal device 10 to establish a transmission path with the terminal device 12 to ensure communication when the industrial topology network does not support redundant transmission reliability.
第二方面,提供一种冗余路径创建方法,所述方法包括:会话管理功能21获取终端设备10服务的终端设备11;所述会话管理功能21获取终端设备12服务的终端设备14;所述会话管理功能21确定终端设备10和终端设备12之间具有对应关系;所述会话管理功能21向用户面功能20发送转发规则,所述转发规则指示通过所述终端设备10向所述终端设备11发送报文和通过所述终端设备12向所述终端设备14发送报文。In a second aspect, a method for creating a redundant path is provided. The method includes: the session management function 21 obtains the terminal device 11 served by the terminal device 10; the session management function 21 obtains the terminal device 14 served by the terminal device 12; the The session management function 21 determines that there is a correspondence between the terminal device 10 and the terminal device 12; the session management function 21 sends a forwarding rule to the user plane function 20, and the forwarding rule indicates that the terminal device 10 is sent to the terminal device 11 through the terminal device 10. The message is sent and the message is sent to the terminal device 14 through the terminal device 12 .
会话管理功能可以为具备对应关系的多个终端设备创建可靠性冗余传输路径,具备对应关系的多个终端设备之间具备可靠性备份关系,具备可靠性备份关系的多个终端设备可以集成于一个工业终端设备,或者可以分别部署于多个工业终端上,从而保障终端设备接入无线网络时的可靠性传输。The session management function can create reliable redundant transmission paths for multiple terminal devices with corresponding relationships. Multiple terminal devices with corresponding relationships have a reliability backup relationship. Multiple terminal devices with a reliability backup relationship can be integrated into An industrial terminal device, or it can be deployed on multiple industrial terminals, so as to ensure reliable transmission when the terminal device is connected to the wireless network.
在一种可能的设计中,所述转发规则还指示复制报文。In a possible design, the forwarding rule also instructs to duplicate the message.
在该设计中,在工业拓扑网络不支持冗余传输时,会话管理功能可以指示用户面功能进行报文的复制,以保障通信的可靠性。In this design, when the industrial topology network does not support redundant transmission, the session management function can instruct the user plane function to copy the message to ensure the reliability of communication.
在一种可能的设计中,所述会话管理功能21还可以向所述终端设备10发送第一信息,所述第一信息指示将来自所述用户面功能20的报文和来自所述终端设备12的报文去重后发给所述终端设备11。In a possible design, the session management function 21 may also send first information to the terminal device 10, where the first information indicates that the packets from the user plane function 20 and the packets from the terminal device The packet of 12 is deduplicated and sent to the terminal device 11 .
在该设计中,会话管理功能21可以指示终端设备10对接收到的多个相同的报文进行去重,以在工业拓扑网络不支持冗余传输时也能够保障通信的可靠性。In this design, the session management function 21 can instruct the terminal device 10 to deduplicate multiple identical packets received, so as to ensure the reliability of communication even when the industrial topology network does not support redundant transmission.
在一种可能的设计中,所述会话管理功能21还可以向所述终端设备10发送第二信息,所述第二信息指示建立和所述终端设备12之间的传输路径。In a possible design, the session management function 21 may also send second information to the terminal device 10 , where the second information indicates to establish a transmission path with the terminal device 12 .
可选的,所述会话管理功能21还可以向终端设备12发送第三信息,所述第三信息指示建立和所述终端设备10之间的传输路径。Optionally, the session management function 21 may also send third information to the terminal device 12 , where the third information indicates to establish a transmission path with the terminal device 10 .
在该设计中,在工业拓扑网络不支持冗余传输时,会话管理功能21可以指示终端设备10建立与终端设备12之间的传输路径,以在工业拓扑网络不支持冗余传输时能够保障通信的可靠性。In this design, when the industrial topology network does not support redundant transmission, the session management function 21 can instruct the terminal device 10 to establish a transmission path with the terminal device 12 to ensure communication when the industrial topology network does not support redundant transmission reliability.
在一种可能的设计中,所述会话管理功能21获取终端设备10服务的终端设备11时,所述会话管理功能21可以接收来自所述终端设备10的终端设备11的信息。In a possible design, when the session management function 21 acquires the terminal device 11 served by the terminal device 10 , the session management function 21 may receive information from the terminal device 11 of the terminal device 10 .
在该设计中,终端设备10可以将其服务的终端设备11的信息上报给会话管理功能21,以使会话管理功能21获取到终端设备10服务的工业终端的信息。In this design, the terminal device 10 can report the information of the terminal device 11 served by the terminal device 10 to the session management function 21 , so that the session management function 21 can obtain the information of the industrial terminal served by the terminal device 10 .
在一种可能的设计中,所述会话管理功能21获取终端设备12服务的终端设备14时,所述会话管理功能21接收来自所述终端设备12的终端设备14的信息。In a possible design, when the session management function 21 acquires the terminal device 14 served by the terminal device 12 , the session management function 21 receives information from the terminal device 14 of the terminal device 12 .
在该设计中,终端设备12可以将其服务的终端设备14的信息上报给会话管理功能21,以使会话管理功能21获取到终端设备12服务的工业终端的信息。In this design, the terminal device 12 can report the information of the terminal device 14 served by the terminal device 12 to the session management function 21 , so that the session management function 21 can obtain the information of the industrial terminal served by the terminal device 12 .
在一种可能的设计中,所述会话管理功能21确定终端设备10和终端设备12之间具有对应关系时,所述会话管理功能21获取所述终端设备10的签约数据,所述终端设备10的签约数据指示与所述终端设备12之间具有对应关系;和/或所述会话管理功能21获取所述终端设备12的签约数据,所述终端设备12的签约数据指示与所述终端设备10之间具有对应关系。In a possible design, when the session management function 21 determines that there is a correspondence between the terminal device 10 and the terminal device 12, the session management function 21 acquires the subscription data of the terminal device 10, and the terminal device 10 and/or the session management function 21 acquires the subscription data of the terminal device 12, and the subscription data of the terminal device 12 indicates that the subscription data of the terminal device 12 corresponds to the terminal device 10 There is a corresponding relationship between them.
在该设计中,会话管理功能21可以获取终端设备10的签约数据和/或终端设备12的签约数据,根据签约数据的指示,确定终端设备10和终端设备12之间具备可靠性备份关系,从而为终端设备10和终端设备12创建可靠性冗余传输路径。In this design, the session management function 21 can obtain the subscription data of the terminal device 10 and/or the subscription data of the terminal device 12, and according to the indication of the subscription data, determine that there is a reliable backup relationship between the terminal device 10 and the terminal device 12, thereby A reliable redundant transmission path is created for the terminal device 10 and the terminal device 12 .
第三方面,提供一种冗余路径传输方法,所述方法包括:终端设备11接收来自终端设备10的报文30;所述终端设备11接收来自终端设备12的所述报文30;所述终端设备11向所述终端设备10发送响应33,所述响应33对应于来自所述终端设备10的所述报文30;所述终端设备11向所述终端设备12发送响应34,所述响应34对应于来自所述终端设备12的所述报文30。In a third aspect, a redundant path transmission method is provided, the method comprising: a terminal device 11 receiving a message 30 from a terminal device 10; the terminal device 11 receiving the message 30 from a terminal device 12; the The terminal device 11 sends a response 33 to the terminal device 10, the response 33 corresponds to the message 30 from the terminal device 10; the terminal device 11 sends a response 34 to the terminal device 12, the response 34 corresponds to the message 30 from the terminal device 12 .
在工业网络拓扑中,终端设备11可以通过具有网络接入能力的终端设备10和终端设备12接入无线网,在节约终端成本和降低网络部署的同时,保障通信的可靠性。In the industrial network topology, the terminal device 11 can access the wireless network through the terminal device 10 and the terminal device 12 with network access capability, which saves terminal cost and reduces network deployment while ensuring the reliability of communication.
在一种可能的设计中,所述终端设备11接收来自终端设备10的报文30,接收来自终端设备12的所述报文30之后,所述方法还包括:In a possible design, the terminal device 11 receives the packet 30 from the terminal device 10, and after receiving the packet 30 from the terminal device 12, the method further includes:
所述终端设备11对来自所述终端设备10的所述报文30和来自所述终端设备12的所述报文30进行去重;The terminal device 11 deduplicates the packet 30 from the terminal device 10 and the packet 30 from the terminal device 12;
所述终端设备11向所述终端设备10发送响应38,所述响应38对应于去重后的所述报文30。The terminal device 11 sends a response 38 to the terminal device 10, where the response 38 corresponds to the packet 30 after deduplication.
在一种可能的设计中,所述方法还包括:In a possible design, the method further includes:
所述终端设备11对所述响应38进行复制,向所述终端设备12发送复制所述响应38后得到的响应39。The terminal device 11 copies the response 38 and sends the response 39 obtained by copying the response 38 to the terminal device 12 .
所述响应39中的数据与所述响应38中的数据可以部分相同,或者可以全部相同。The data in the response 39 and the data in the response 38 may be partially identical, or may be all identical.
在一种可能的设计中,若所述终端设备10和用户面功能20之间发生故障或若所述终端设备10发生故障,所述终端设备11还可以接收来自所述终端设备12的报文35。In a possible design, if a failure occurs between the terminal device 10 and the user plane function 20 or if the terminal device 10 fails, the terminal device 11 may also receive packets from the terminal device 12 35.
在该设计中,当数据传输链路发生故障时,可以实现故障的检测定位,并根据故障点的不同,实施不同的冗余传输策略,从而进一步保障通信的可靠性。In this design, when the data transmission link fails, the detection and location of the fault can be realized, and different redundant transmission strategies can be implemented according to the different fault points, so as to further ensure the reliability of communication.
第四方面,提供一种冗余路径传输方法,所述方法包括:终端设备11接收来自终端设备10的报文30;所述终端设备11通过所述终端设备10接收来自终端设备12的所述报文30;所述终端设备11向所述终端设备10发送响应36,所述响应36对应于来自所述终端设备10的所述报文30;所述终端设备11通过终端设备10向所述终端设备12发送响应37,所述响应37对应于来自所述终端设备12的所述报文30。In a fourth aspect, a redundant path transmission method is provided. The method includes: the terminal device 11 receives the message 30 from the terminal device 10 ; the terminal device 11 receives the message from the terminal device 12 through the terminal device 10 message 30; the terminal device 11 sends a response 36 to the terminal device 10, the response 36 corresponds to the message 30 from the terminal device 10; The terminal device 12 sends a response 37 corresponding to the message 30 from the terminal device 12 .
在工业网络拓扑中,终端设备11可以通过具有网络接入能力的终端设备10和终端设备12接入无线网,在节约终端成本和降低网络部署难度的同时,保障通信的可靠性。In the industrial network topology, the terminal device 11 can access the wireless network through the terminal device 10 and the terminal device 12 with network access capability, which saves the terminal cost and reduces the difficulty of network deployment while ensuring the reliability of communication.
在一种可能的设计中,若所述终端设备10和用户面功能20之间发生故障或若所述终端设备10发生故障,所述终端设备11还可以接收来自所述终端设备12的报文35。In a possible design, if a failure occurs between the terminal device 10 and the user plane function 20 or if the terminal device 10 fails, the terminal device 11 may also receive packets from the terminal device 12 35.
第五方面,提供一种通信装置,所述通信装置可以为终端设备10,包括处理单元和收发单元;In a fifth aspect, a communication apparatus is provided, and the communication apparatus may be a terminal device 10, including a processing unit and a transceiver unit;
所述收发单元,用于接收来自用户面功能20的报文30,所述通信装置服务于终端设备11;接收来自终端设备12的所述报文30;The transceiver unit is configured to receive the message 30 from the user plane function 20, and the communication device serves the terminal device 11; receives the message 30 from the terminal device 12;
所述处理单元,用于对来自所述用户面功能20的所述报文30和来自所述终端设备12的所述报文30进行去重;the processing unit, configured to de-duplicate the packet 30 from the user plane function 20 and the packet 30 from the terminal device 12;
所述收发单元,还用于将去重后的所述报文30发送给所述终端设备11。The transceiver unit is further configured to send the deduplicated packet 30 to the terminal device 11 .
在一种可能的设计中,所述收发单元,还用于接收来自所述终端设备11的响应31,所述响应31对应于所述去重后的所述报文30;向所述终端设备12发送响应32,所述响应32对应于来自所述终端设备12的所述报文30。In a possible design, the transceiver unit is further configured to receive a response 31 from the terminal device 11, where the response 31 corresponds to the deduplicated packet 30; 12 sends a response 32 corresponding to the message 30 from the terminal device 12 .
在一种可能的设计中,所述收发单元,还用于若所述通信装置和所述用户面功能20之间发生故障,接收来自所述终端设备12的报文35,将所述报文35发送给所述终端设备11。In a possible design, the transceiver unit is further configured to receive the message 35 from the terminal device 12 if a failure occurs between the communication device and the user plane function 20, and send the message 35 to the terminal device 11 .
在一种可能的设计中,所述收发单元,还用于接收来自会话管理功能21的第一信息,所述第一信息指示将来自所述用户面功能20的报文和所述终端设备12的报文去重后发给所述终端设备11。In a possible design, the transceiver unit is further configured to receive first information from the session management function 21 , where the first information indicates to send the packet from the user plane function 20 to the terminal device 12 The packet is deduplicated and sent to the terminal device 11 .
在一种可能的设计中,所述收发单元,还用于接收来自所述会话管理功能21的第二信息,所述第二信息指示建立和所述终端设备12之间的传输路径。In a possible design, the transceiver unit is further configured to receive second information from the session management function 21 , where the second information indicates establishing a transmission path with the terminal device 12 .
第六方面,提供一种通信装置,所述通信装置可以为会话管理功能21,包括处理单元和收发单元;In a sixth aspect, a communication device is provided, and the communication device may be a session management function 21, including a processing unit and a transceiver unit;
所述收发单元,用于获取终端设备10服务的终端设备11;获取终端设备12服务的终端设备14;The transceiver unit is used to obtain the terminal device 11 served by the terminal device 10; obtain the terminal device 14 served by the terminal device 12;
所述处理单元,用于确定终端设备10和终端设备12之间具有对应关系;The processing unit is used to determine that there is a corresponding relationship between the terminal device 10 and the terminal device 12;
所述收发单元,还用于向用户面功能20发送转发规则,所述转发规则指示通过所述终端设备10向所述终端设备11发送报文和通过所述终端设备12向所述终端设备14发送报文。The transceiver unit is further configured to send a forwarding rule to the user plane function 20, where the forwarding rule indicates to send a message to the terminal device 11 through the terminal device 10 and to the terminal device 14 through the terminal device 12 Send message.
在一种可能的设计中,所述转发规则还指示复制报文。In a possible design, the forwarding rule also instructs to duplicate the message.
在一种可能的设计中,所述收发单元,还用于向所述终端设备10发送第一信息,所述第一信息指示将来自所述用户面功能20的报文和来自所述终端设备12的报文去重后发给所述终端设备11。In a possible design, the transceiver unit is further configured to send first information to the terminal device 10, where the first information indicates that the packet from the user plane function 20 and the packet from the terminal device are to be sent to the terminal device 10. The packet of 12 is deduplicated and sent to the terminal device 11 .
在一种可能的设计中,所述收发单元,还用于向所述终端设备10发送第二信息,所述第二信息指示建立和所述终端设备12之间的传输路径。In a possible design, the transceiver unit is further configured to send second information to the terminal device 10 , where the second information indicates to establish a transmission path with the terminal device 12 .
在一种可能的设计中,所述收发单元,具体用于接收来自所述终端设备10的终端设备11的信息。In a possible design, the transceiver unit is specifically configured to receive information from the terminal device 11 of the terminal device 10 .
在一种可能的设计中,所述收发单元,具体用于接收来自所述终端设备12的终端设备14的信息。In a possible design, the transceiver unit is specifically configured to receive information from the terminal device 14 of the terminal device 12 .
在一种可能的设计中,所述处理单元,具体用于获取所述终端设备10的签约数据,所述终端设备10的签约数据指示与所述终端设备12之间具有对应关系;和/或获取所述终端设备12的签约数据,所述终端设备12的签约数据指示与所述终端设备10之间具有对应关系。In a possible design, the processing unit is specifically configured to acquire the subscription data of the terminal device 10, and the subscription data of the terminal device 10 indicates that there is a corresponding relationship between the terminal device 12; and/or The subscription data of the terminal device 12 is acquired, and the subscription data of the terminal device 12 indicates that there is a corresponding relationship between the terminal device 10 .
第七方面,提供一种通信装置,所述通信装置可以为终端设备11,包括处理单元和收发单元;In a seventh aspect, a communication apparatus is provided, and the communication apparatus may be a terminal device 11, including a processing unit and a transceiver unit;
所述收发单元,用于接收来自终端设备10的报文30;接收来自终端设备12的所述报文30;The transceiver unit is configured to receive the message 30 from the terminal device 10; receive the message 30 from the terminal device 12;
所述处理单元,用于确定所述报文30;the processing unit, configured to determine the message 30;
所述收发单元,还用于向所述终端设备10发送响应33,所述响应33对应于来自所述终端设备10的所述报文30;向所述终端设备12发送响应34,所述响应34对应于来自所述终端设备12的所述报文30。The transceiver unit is further configured to send a response 33 to the terminal device 10, where the response 33 corresponds to the message 30 from the terminal device 10; and send a response 34 to the terminal device 12, the response 34 corresponds to the message 30 from the terminal device 12 .
在一种可能的设计中,所述处理单元,还用于对来自所述终端设备10的所述报文30和来自所述终端设备12的所述报文30进行去重;In a possible design, the processing unit is further configured to deduplicate the packet 30 from the terminal device 10 and the packet 30 from the terminal device 12;
所述收发单元,还用于向所述终端设备10发送响应38,所述响应38对应于去重后的所述报文30。The transceiver unit is further configured to send a response 38 to the terminal device 10, where the response 38 corresponds to the packet 30 after deduplication.
在一种可能的设计中,所述处理单元,还用于对所述响应38进行复制;In a possible design, the processing unit is further configured to replicate the response 38;
所述收发单元,还用于向所述终端设备12发送复制所述响应38后得到的响应39。The transceiver unit is further configured to send the response 39 obtained by duplicating the response 38 to the terminal device 12 .
在一种可能的设计中,所述收发单元,还用于若所述终端设备10和用户面功能20之间发生故障或若所述终端设备10发生故障,接收来自所述终端设备12的报文35。In a possible design, the transceiver unit is further configured to receive a report from the terminal device 12 if a fault occurs between the terminal device 10 and the user plane function 20 or if the terminal device 10 fails Text 35.
第八方面,提供一种通信装置,所述通信装置可以为终端设备11,包括处理单元和收发单元;In an eighth aspect, a communication apparatus is provided, and the communication apparatus may be a terminal device 11, including a processing unit and a transceiver unit;
所述收发单元,用于接收来自终端设备10的报文30;通过所述终端设备10接收来自终端设备12的所述报文30;The transceiver unit is configured to receive the message 30 from the terminal device 10; receive the message 30 from the terminal device 12 through the terminal device 10;
所述处理单元,用于确定所述报文30;the processing unit, configured to determine the message 30;
所述收发单元,还用于向所述终端设备10发送响应36,所述响应36对应于来自所述终端设备10的所述报文30;通过终端设备10向所述终端设备12发送响应37,所述响应37对应于来自所述终端设备12的所述报文30。The transceiver unit is further configured to send a response 36 to the terminal device 10, where the response 36 corresponds to the message 30 from the terminal device 10; and send a response 37 to the terminal device 12 through the terminal device 10 , the response 37 corresponds to the message 30 from the terminal device 12 .
在一种可能的设计中,所述收发单元,还用于若所述终端设备10和用户面功能20之间发生故障或若所述终端设备10发生故障,接收来自所述终端设备12的报文35。In a possible design, the transceiver unit is further configured to receive a report from the terminal device 12 if a fault occurs between the terminal device 10 and the user plane function 20 or if the terminal device 10 fails Text 35.
第九方面,提供一种通信装置,该装置具有实现上述第一方面或第二方面或第三方面或第四方面中任意可能设计的方法的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。In a ninth aspect, a communication device is provided, the device having the function of implementing any possible design method in the first aspect or the second aspect or the third aspect or the fourth aspect. This function can be implemented by hardware or by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the above functions.
第十方面,提供一种通信装置,包括:收发器、处理器和存储器;收发器,用于收发 数据或信息,该存储器用于存储计算机执行指令,当该装置运行时,该处理器执行该存储器存储的该计算机执行指令,以使该装置执行如上述第一方面或第二方面或第三方面或第四方面中任意可能设计中的实现方法。In a tenth aspect, a communication device is provided, comprising: a transceiver, a processor and a memory; the transceiver is used to send and receive data or information, the memory is used to store computer-executed instructions, and when the device is running, the processor executes the The computer-executed instructions stored in the memory cause the apparatus to perform a method as implemented in any possible design of the first aspect or the second aspect or the third aspect or the fourth aspect above.
第十一方面,提供一种通信装置,包括:包括用于执行以上第一方面或第二方面或第三方面或第四方面中任意可能设计中的各个步骤的单元或手段(means)。In an eleventh aspect, there is provided a communication apparatus comprising: comprising means or means for performing various steps in any possible designs of the above first aspect or second aspect or third aspect or fourth aspect.
第十二方面,提供一种通信装置,包括处理器和接口电路,所述处理器用于通过接口电路与其它装置通信,并执行以上第一方面或第二方面或第三方面或第四方面中任意可能设计提供的方法。该处理器包括一个或多个。A twelfth aspect provides a communication device, comprising a processor and an interface circuit, the processor is configured to communicate with other devices through the interface circuit, and executes the above first aspect or the second aspect or the third aspect or the fourth aspect Any possible design provides a method. The processor includes one or more.
第十三方面,提供一种通信装置,包括处理器,用于调用耦合的存储器中存储的程序,以执行上述第一方面或第二方面或第三方面或第四方面中任意可能设计中的方法。该存储器可以位于该装置之内,也可以位于该装置之外。且该处理器包括一个或多个。A thirteenth aspect provides a communication device, comprising a processor for invoking a program stored in a coupled memory to execute any possible design of the first aspect or the second aspect or the third aspect or the fourth aspect. method. The memory may be located within the device or external to the device. And the processor includes one or more.
第十四方面,提供一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得处理器执行上述第一方面或第二方面或第三方面或第四方面中任意可能设计的方法。A fourteenth aspect provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, which, when executed on a computer, cause a processor to execute the first aspect or the second aspect or the third aspect or any possible design method in the fourth aspect.
第十五方面,提供一种包括指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第一方面或第二方面或第三方面或第四方面中任意可能设计的方法。A fifteenth aspect provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of any possible design of the first or second or third or fourth aspects above.
第十六方面,提供一种芯片系统,包括:处理器,用于执行上述第一方面或第二方面或第三方面或第四方面中任意可能设计的方法。A sixteenth aspect provides a system-on-a-chip, comprising: a processor configured to execute any possible design method in the first aspect or the second aspect or the third aspect or the fourth aspect.
第十七方面,提供一种芯片系统,该芯片系统包括收发器,用于实现上述第一方面或第二方面或第三方面或第四方面任意可能设计方法中的功能,例如,例如接收或发送上述方法中所涉及的数据和/或信息。在一种可能的设计中,所述芯片系统还包括存储器,用于保存程序指令和/或数据。该芯片系统,可以由芯片构成,也可以包括芯片和其他分立器件。A seventeenth aspect provides a system-on-chip, the system-on-chip includes a transceiver for implementing the functions in any possible design method of the first aspect or the second aspect or the third aspect or the fourth aspect, for example, for example, receiving or Send the data and/or information involved in the above method. In a possible design, the chip system further includes a memory for storing program instructions and/or data. The chip system may be composed of chips, or may include chips and other discrete devices.
第十八方面,提供一种通信系统,所述通信系统包括执行第二方面中任意可能设计的方法的会话管理功能21、和接收来自所述会话管理功能21的所述转发规则的所述用户面功能20。In an eighteenth aspect, a communication system is provided, the communication system comprising a session management function 21 performing any possible design method in the second aspect, and the user receiving the forwarding rule from the session management function 21 Face function 20.
可选的,所述通信系统还可以包括执行第一方面中任意可能设计的方法的终端设备10、终端设备12,以及执行第三方面或第四方面中任意可能设计的方法的终端设备11。Optionally, the communication system may further include a terminal device 10 and a terminal device 12 that perform any possible design method in the first aspect, and a terminal device 11 that performs any possible design method in the third aspect or the fourth aspect.
上述第五方面至第十八方面中任一方面及其任一方面中任意一种可能的实现可以达到的技术效果,请参照上述任意方面可以带来的技术效果描述,这里不再重复赘述。For the technical effects that can be achieved by any one of the fifth aspect to the eighteenth aspect and any one of the possible implementations thereof, please refer to the description of the technical effects that can be brought about by any of the above-mentioned aspects, which will not be repeated here.
附图说明Description of drawings
图1、图11为一种网络架构示意图;1 and 11 are schematic diagrams of a network architecture;
图2为一种以太帧格式;Fig. 2 is a kind of Ethernet frame format;
图3为一种二层交换示意图;3 is a schematic diagram of a layer 2 switching;
图4、图15、图16为一种用户面功能的转发逻辑示意图;4, 15 and 16 are schematic diagrams of forwarding logic of a user plane function;
图5为一种以太报文帧结构;Fig. 5 is a kind of Ethernet message frame structure;
图6、图7为一种报文转发示意图;Fig. 6, Fig. 7 are a kind of message forwarding schematic diagram;
图8为一种网络架构示意图;8 is a schematic diagram of a network architecture;
图9、图10、图13、图17、图18、图19为一种工业网络拓扑结构示意图;Figure 9, Figure 10, Figure 13, Figure 17, Figure 18, Figure 19 are schematic diagrams of an industrial network topology;
图12、图14为一种冗余路径创建过程示意图;12 and 14 are schematic diagrams of a redundant path creation process;
图20、图21为一种通信装置示意图。20 and 21 are schematic diagrams of a communication device.
具体实施方式Detailed ways
下面将结合附图对本申请作进一步地详细描述。The present application will be described in further detail below with reference to the accompanying drawings.
本申请将围绕可包括多个设备、组件、模块等的系统来呈现各个方面、实施例或特征。应当理解和明白的是,各个系统可以包括另外的设备、组件、模块等,并且/或者可以并不包括结合附图讨论的所有设备、组件、模块等。此外,还可以使用这些方案的组合。This application will present various aspects, embodiments, or features around a system that may include a plurality of devices, components, modules, and the like. It is to be understood and appreciated that the various systems may include additional devices, components, modules, etc., and/or may not include all of the devices, components, modules, etc. discussed in connection with the figures. In addition, combinations of these schemes can also be used.
另外,在本申请实施例中,“示例的”一词用于表示作例子、例证或说明。本申请中被描述为“示例”的任何实施例或设计方案不应被解释为比其他实施例或设计方案更优选或更具优势。确切而言,使用示例的一词旨在以具体方式呈现概念。In addition, in the embodiments of the present application, the word "exemplary" is used to mean serving as an example, illustration or illustration. Any embodiment or design described in this application as "exemplary" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of the word example is intended to present a concept in a concrete way.
本申请实施例描述的网络架构以及业务场景是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定,本领域普通技术人员可知,随着网络架构的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。The network architecture and service scenarios described in the embodiments of the present application are for the purpose of illustrating the technical solutions of the embodiments of the present application more clearly, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. The evolution of the architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
以下对本申请实施例的部分用语进行解释说明,以便于本领域技术人员理解。Some terms in the embodiments of the present application are explained below to facilitate understanding by those skilled in the art.
1)终端设备,在本申请实施例中包括但不限于用户设备(user equipment,UE)和工业终端。为了实现工业终端接入无线网络,所述工业终端中可以安装有无线模组,所述工业终端可以通过所述无线模组与网络设备进行通信。其中所述UE可以作为无线模组安装在所述工业终端中,在本申请实施例中除特别说明之外,UE和无线模组的概念可以替换使用。1) Terminal equipment, including but not limited to user equipment (user equipment, UE) and industrial terminals in the embodiments of this application. In order to realize the access of the industrial terminal to the wireless network, a wireless module may be installed in the industrial terminal, and the industrial terminal may communicate with the network device through the wireless module. The UE may be installed in the industrial terminal as a wireless module. Unless otherwise specified in the embodiments of the present application, the concepts of UE and wireless module may be used interchangeably.
在无线网络中,UE是一种具有无线收发功能的设备,可以经无线接入网(radio access network,RAN)中的接入网设备(或者也可以称为接入设备)与一个或多个核心网(core network,CN)设备(或者也可以称为核心设备)进行通信。In a wireless network, a UE is a device with a wireless transceiver function, which can communicate with one or more access network devices (or also referred to as access devices) in a radio access network (RAN) with one or more A core network (core network, CN) device (or also referred to as a core device) communicates.
例如用户设备也可称为接入终端、终端、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、用户代理或用户装置等。用户设备可以部署在陆地上,包括室内或室外、手持或车载;也可以部署在水面上(如轮船等);还可以部署在空中(例如飞机、气球和卫星上等)。用户设备可以是蜂窝电话(cellular phone)、无绳电话、会话启动协议(session initiation protocol,SIP)电话、智能电话(smart phone)、手机(mobile phone)、无线本地环路(wireless local loop,WLL)站、个人数字处理(personal digital assistant,PDA)等。或者,用户设备还可以是具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它设备、车载设备、可穿戴设备、无人机设备或物联网、车联网中的终端、第五代移动通信(5th-generation,5G)网络以及未来网络中的任意形态的终端、中继用户设备或者未来演进的PLMN中的终端等。其中,中继用户设备例如可以是5G家庭网关(residential gateway,RG)。例如用户设备可以是虚拟现实(virtual reality,VR)终端、增强现实(augmented reality,AR)终端、工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程医疗(remote medical)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端等。本申请实施例对终端设备的类型或种类等并不限定。For example, user equipment may also be referred to as an access terminal, terminal, subscriber unit, subscriber station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, user agent, or user device, and the like. User equipment can be deployed on land, including indoor or outdoor, handheld or vehicle; it can also be deployed on water (such as ships, etc.); it can also be deployed in the air (such as aircraft, balloons and satellites, etc.). The user equipment may be a cellular phone (cellular phone), a cordless phone, a session initiation protocol (SIP) phone, a smart phone (smart phone), a mobile phone (mobile phone), a wireless local loop (WLL) station, personal digital assistant (PDA), etc. Alternatively, the user equipment may also be a handheld device with a wireless communication function, a computing device or other device connected to a wireless modem, an in-vehicle device, a wearable device, a drone device, or a terminal in the Internet of Things, the Internet of Vehicles, the fifth generation Mobile communication (5th-generation, 5G) network and any form of terminal in future network, relay user equipment or terminal in future evolved PLMN, etc. The relay user equipment may be, for example, a 5G home gateway (residential gateway, RG). For example, the user equipment may be a virtual reality (VR) terminal, an augmented reality (AR) terminal, a wireless terminal in industrial control, a wireless terminal in self driving, telemedicine Wireless terminals in remote medical, wireless terminals in smart grid, wireless terminals in transportation safety, wireless terminals in smart city, wireless terminals in smart home wireless terminals, etc. This embodiment of the present application does not limit the type or type of the terminal device.
2)网络设备,指可以为终端提供无线接入功能的设备。其中,网络设备可以支持至 少一种无线通信技术,例如长期演进(long term evolution,LTE)、新无线(new radio,NR)、宽带码分多址(wideband code division multiple access,WCDMA)等。2) Network equipment, which refers to equipment that can provide wireless access functions for terminals. Wherein, the network equipment can support at least one wireless communication technology, such as long term evolution (long term evolution, LTE), new radio (new radio, NR), wideband code division multiple access (wideband code division multiple access, WCDMA) and the like.
例如网络设备可以包括接入网设备。示例的,网络设备包括但不限于:5G网络中的下一代基站或下一代节点B(generation nodeB,gNB)、演进型节点B(evolved node B,eNB)、无线网络控制器(radio network controller,RNC)、节点B(node B,NB)、基站控制器(base station controller,BSC)、基站收发台(base transceiver station,BTS)、家庭基站(例如,home evolved node B、或home node B,HNB)、基带单元(baseband unit,BBU)、收发点(transmitting and receiving point,TRP)、发射点(transmitting point,TP)、移动交换中心、小站、微型站等。网络设备还可以是云无线接入网络(cloud radio access network,CRAN)场景下的无线控制器、集中单元(centralized unit,CU)、和/或分布单元(distributed unit,DU),或者网络设备可以为中继站、接入点、车载设备、终端、可穿戴设备以及未来移动通信中的网络设备或者未来演进的公共移动陆地网络(public land mobile network,PLMN)中的网络设备等。For example, network equipment may include access network equipment. Exemplarily, the network equipment includes, but is not limited to: a next-generation base station or a next-generation node B (generation nodeB, gNB), an evolved node B (evolved node B, eNB), a radio network controller (radio network controller, RNC), node B (node B, NB), base station controller (BSC), base transceiver station (base transceiver station, BTS), home base station (for example, home evolved node B, or home node B, HNB ), baseband unit (BBU), transmitting and receiving point (TRP), transmitting point (TP), mobile switching center, small station, micro station, etc. The network device may also be a wireless controller, a centralized unit (CU), and/or a distributed unit (DU) in a cloud radio access network (CRAN) scenario, or the network device may It is a relay station, an access point, a vehicle-mounted device, a terminal, a wearable device, and a network device in future mobile communications or a network device in a future evolved public land mobile network (PLMN).
又如,网络设备可以包括核心网(CN)设备,核心网设备例如包括AMF等。For another example, the network device may include a core network (CN) device, and the core network device includes, for example, an AMF and the like.
又如,网络设备可以包括用户面功能(如UPF)和控制面功能(如SMF)等。As another example, the network device may include user plane functions (eg, UPF), control plane functions (eg, SMF), and the like.
3)工业以太网络,也称工业网络,一种使用封装在以太网协议中的特殊工业协议的网络。所述工业以太网络采用的工业以太网协议包括但是不限于以下协议:Modbus TCP/IP、EtherCat、EtherNet/IP和Profinet。工业以太网络由于其固有的可靠性、高性能和互操作性,已经渗透到工厂车间,成为自动化和控制系统的主要通信方式。3) Industrial Ethernet, also known as industrial network, a network that uses a special industrial protocol encapsulated in the Ethernet protocol. The industrial Ethernet protocols adopted by the industrial Ethernet network include but are not limited to the following protocols: Modbus TCP/IP, EtherCat, EtherNet/IP and Profinet. Due to its inherent reliability, high performance and interoperability, Industrial Ethernet has penetrated the factory floor and has become the primary means of communication for automation and control systems.
所述工业以太网络中,主要包括以下几个部分:主(Master)设备、网络设备和(从)Slave设备。一般的,Master设备可以通过所述网络设备向Slave设备下发报文,Slave设备可以通过所述网络设备向Master设备回复响应。所述Master设备为工业应用服务器,也可以称为控制器(Controller)。所述网络设备可以包括用户面功能和控制面功能。所述Slave设备为工业终端,所述工业终端中安装有无线模组,所述Slave设备也可以称为设备(device),或简称为D。The industrial Ethernet network mainly includes the following parts: a master (Master) device, a network device and a (slave) slave device. Generally, the Master device can send a message to the Slave device through the network device, and the Slave device can reply to the Master device through the network device. The Master device is an industrial application server, which may also be called a controller (Controller). The network equipment may include user plane functions and control plane functions. The Slave device is an industrial terminal, and a wireless module is installed in the industrial terminal. The Slave device may also be referred to as a device (device), or D for short.
工业以太网络中的Slave设备可以支持冗余传输,或者可以不支持冗余传输。在所述工业以太网络中的Slave设备支持冗余传输时,所述工业以太网络中的Master设备可以支持冗余传输,或者可以不支持冗余传输。在所述工业以太网络中的Slave设备不支持冗余传输时,所述工业以太网络中的Master设备可以支持冗余传输,或者可以不支持冗余传输。所述Slave设备是否支持冗余传输,可以看作Slave设备是否支持工业可靠性协议。所述Master设备是否支持冗余传输,可以看作Master设备是否支持工业可靠性协议。Slave devices in an industrial Ethernet network may or may not support redundant transmission. When the slave device in the industrial Ethernet network supports redundant transmission, the master device in the industrial Ethernet network may support redundant transmission, or may not support redundant transmission. When the slave device in the industrial Ethernet network does not support redundant transmission, the master device in the industrial Ethernet network may support redundant transmission, or may not support redundant transmission. Whether the slave device supports redundant transmission can be regarded as whether the slave device supports the industrial reliability protocol. Whether the Master device supports redundant transmission can be regarded as whether the Master device supports the industrial reliability protocol.
可以理解的是,本申请实施例提供的冗余路径创建方法主要应用于工业以太网络,也可以应用于其他网络,对此不做限定。It can be understood that, the redundant path creation method provided in the embodiment of the present application is mainly applied to an industrial Ethernet network, and may also be applied to other networks, which is not limited.
本申请中的“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。In this application, "and/or" describes the association relationship between associated objects, and means that there can be three kinds of relationships, for example, A and/or B, which can mean that A exists alone, A and B exist simultaneously, and B exists alone. a situation. The character "/" generally indicates that the associated objects are an "or" relationship.
本申请中所涉及的多个,是指两个或两个以上。The plural referred to in this application refers to two or more.
另外,需要理解的是,在本申请的描述中,“第一”、“第二”等词汇,仅用于区分描述的目的,而不能理解为指示或暗示相对重要性,也不能理解为指示或暗示顺序。In addition, it should be understood that in the description of this application, words such as "first" and "second" are only used for the purpose of distinguishing the description, and should not be understood as indicating or implying relative importance, nor should it be understood as indicating or implied order.
本申请实施例的技术方案可以应用于各种通信系统。例如,本申请实施例提供的技术方案可以应用于LTE系统、LTE频分双工(frequency division duplex,FDD)系统、LTE时分双工(time division duplex,TDD)、通用移动通信系统(universal mobile telecommunication system,UMTS)、全球互联微波接入(worldwide interoperability for microwave access,WiMAX)通信系统、5G通信系统或NR以及未来的其他通信系统如6G等。The technical solutions of the embodiments of the present application can be applied to various communication systems. For example, the technical solutions provided in the embodiments of the present application may be applied to an LTE system, an LTE frequency division duplex (FDD) system, an LTE time division duplex (TDD), a universal mobile telecommunication system (universal mobile telecommunication system, UMTS), worldwide interoperability for microwave access (WiMAX) communication system, 5G communication system or NR, and other future communication systems such as 6G, etc.
第三代合作伙伴项目(3rd generation partnership project,3GPP)标准组在2016年底制定了下一代移动通信网络架构(Next Generation System),称为5G网络架构。5G网络架构支持3GPP标准组定义的无线技术(如LTE、5G RAN等),固定网络等接入方式接入核心网络侧。The 3rd generation partnership project (3GPP) standard group formulated the next generation mobile communication network architecture (Next Generation System) at the end of 2016, called 5G network architecture. The 5G network architecture supports wireless technologies (such as LTE, 5G RAN, etc.) defined by the 3GPP standard group, and access methods such as fixed networks access the core network side.
为了便于理解本申请实施例,以图1所示的5G网络架构为例对本申请使用的应用场景进行说明。图1为3GPP标准化过程中定义的非漫游场景下基于服务化架构的5G网络架构。所述网络架构中可以包括:终端设备部分、网络设备部分和数据网络(data network,DN)部分。具体涉及一种终端设备通过接入设备接入核心网络(或运营商网络),创建分组数据单元会话(packet data unit session,PDU session)后,进行协议数据通信的过程。To facilitate understanding of the embodiments of the present application, the 5G network architecture shown in FIG. 1 is used as an example to describe the application scenarios used in the present application. Figure 1 shows the 5G network architecture based on the service-oriented architecture in the non-roaming scenario defined in the 3GPP standardization process. The network architecture may include: a terminal device part, a network device part, and a data network (DN) part. Specifically, it relates to a process in which a terminal device accesses a core network (or an operator network) through an access device, creates a packet data unit session (PDU session), and then performs protocol data communication.
网络设备部分包括网络开放功能(network exposure function,NEF)131、网络存储功能(network function repository function,NRF)132、策略控制功能(policy control function,PCF)133、统一数据管理功能(unified data management,UDM)134、认证服务器功能(authentication server function,AUSF)136、AMF137、会话管理功能(session management function,SMF)138、用户面功能(user plane function,UPF)139、接入网(access network,AN)140、网络切片选择功能(network slice selection function,NSSF)141等。上述网络设备中,除接入网140部分之外的部分可以称为核心网部分。The network equipment part includes network exposure function (NEF) 131, network storage function (network function repository function, NRF) 132, policy control function (policy control function, PCF) 133, unified data management function (unified data management, UDM) 134, Authentication Server Function (AUSF) 136, AMF 137, Session Management Function (SMF) 138, User Plane Function (UPF) 139, Access Network (AN, AN) ) 140, a network slice selection function (NSSF) 141 and the like. Among the above network devices, the part other than the access network 140 part may be referred to as the core network part.
核心网部分包括用户面功能和控制面功能。用户面功能主要负责数据包的转发、服务质量(quality of service,QoS)控制、计费信息统计等。控制面功能主要负责业务流程交互、向用户面功能下发数据包转发策略、QoS控制策略等。The core network part includes user plane functions and control plane functions. The user plane function is mainly responsible for packet forwarding, quality of service (QoS) control, and accounting information statistics. The control plane function is mainly responsible for business process interaction, delivering data packet forwarding policies and QoS control policies to the user plane functions.
数据网络DN 120,也可以称为分组数据网络(packet data network,PDN),通常可以部署在运营商网络之外,例如第三方网络。示例性的,运营商网络可以接入多个数据网络DN 120,数据网络DN 120上可部署多种业务,从而为终端设备110提供数据和/或语音等服务。上述第三方可为运营商网络和终端设备110之外的服务方,可为终端设备110提供其他数据和/或语音等服务。其中,上述第三方的具体表现形式,具体可根据实际应用场景确定,在此不做限制。The data network DN 120, which may also be referred to as a packet data network (PDN), may typically be deployed outside the operator's network, such as a third-party network. Exemplarily, the operator network may access multiple data network DNs 120, and multiple services may be deployed on the data network DNs 120, so as to provide the terminal device 110 with services such as data and/or voice. The above-mentioned third party may be a service provider other than the operator's network and the terminal device 110 , and may provide other data and/or voice services for the terminal device 110 . Wherein, the specific expression form of the above third party can be specifically determined according to the actual application scenario, and is not limited here.
应用功能(application function,AF)135可以隶属于运营商网络,也可以不隶属于运营商网络。不过通常情况下,AF隶属于第三方而不属于运营商网络,但同运营商网络有协议关系。AF用于提供各种业务服务的功能网元,可以支持通过应用来影响数据路由的功能以及接入网络开放功能NEF、与策略框架交互进行策略控制等。The application function (application function, AF) 135 may or may not be affiliated to the operator network. However, under normal circumstances, the AF belongs to a third party rather than the operator's network, but has an agreement relationship with the operator's network. AF is used to provide functional network elements of various business services. It can support functions that affect data routing through applications, access network open functions NEF, and interact with policy frameworks for policy control.
示例性的,下面对运营商网络中的网络功能进行简要介绍。Exemplarily, the following briefly introduces network functions in the operator's network.
AN 140,也称无线(Radio)AN,是运营商网络的子网络,是运营商网络中业务节点(或网络功能)与终端设备110之间的实施系统。终端设备110要接入运营商网络,首先是经过AN 140,进而通过AN 140与运营商网络中的业务节点连接。本申请实施例中的AN 140,可以指代接入网本身,也可以指接入网设备,此处不作区分。接入网设备是一种 为终端设备110提供无线通信功能的设备,也可以称为接入设备、(R)AN设备或网络设备等。该接入网设备包括但不限于:5G系统中的gNB、LTE系统中的eNB、RNC、NB、基站控制器BSC、BTS、HNB、BBU、TRP、TP、小基站设备(pico)、移动交换中心,或者未来网络中的网络设备等。可理解,本申请对接入网设备的具体类型不作限定。采用不同无线接入技术的系统中,具备接入网设备功能的设备的名称可能会有所不同。The AN 140, also called a wireless (Radio) AN, is a sub-network of the operator's network, and is an implementation system between a service node (or network function) and the terminal device 110 in the operator's network. To access the operator's network, the terminal device 110 first passes through the AN 140, and then connects with the service node in the operator's network through the AN 140. The AN 140 in the embodiment of the present application may refer to the access network itself, or may refer to the access network equipment, which is not distinguished here. The access network device is a device that provides a wireless communication function for the terminal device 110, and may also be referred to as an access device, a (R)AN device, or a network device. The access network equipment includes but is not limited to: gNB in 5G system, eNB, RNC, NB in LTE system, base station controller BSC, BTS, HNB, BBU, TRP, TP, small base station equipment (pico), mobile switching center, or network equipment in future networks, etc. It is understandable that the present application does not limit the specific type of the access network device. In systems using different wireless access technologies, the names of devices with access network device functions may be different.
可选的,在接入设备的一些部署中,接入设备可以包括CU和DU等。Optionally, in some deployments of the access device, the access device may include CUs, DUs, and the like.
网络开放功能NEF(也可以称为网络开放功能实体)131是由运营商提供的控制面功能,提供网络能力开放相关的框架、鉴权和接口,在5G系统中网络功能和其他网络功能之间传递信息。网络开放功能NEF 131以安全的方式对第三方开放网络的能力的对外双向接口。在其他网络功能(如应用功能AF135等)需要与第三方的网络通信时,NEF网络功能131可作为与第三方的网络实体进行通信的中继。NEF网络功能131还可作为签约用户的标识信息的翻译,以及第三方的网络功能的标识信息的翻译。比如,NEF网络功能131将签约用户的用户永久标识符(subscriber permanent identifier,SUPI)从PLMN发送到第三方时,可以将SUPI翻译成其对应的外部公开使用的签约标识(generic public subscription identifier,GPSI)。反之,NEF网络功能131将外部信息转发送到PLMN网络,防止PLMN内部的其他网络功能与外部直接接触。Network Open Function NEF (also known as Network Open Function Entity) 131 is a control plane function provided by the operator, providing the framework, authentication and interface related to network capability openness, and between network functions and other network functions in the 5G system Send message. Network Open Function NEF 131 An external two-way interface to open the network's capabilities to third parties in a secure manner. When other network functions (such as the application function AF135, etc.) need to communicate with a third-party network, the NEF network function 131 can act as a relay for communicating with a third-party network entity. The NEF network function 131 can also serve as a translator of the identification information of the subscriber, as well as the translation of the identification information of the third party's network function. For example, when the NEF network function 131 sends the subscriber permanent identifier (SUPI) of the subscriber from the PLMN to the third party, the SUPI can be translated into its corresponding generic public subscription identifier (GPSI) for external public use. ). Conversely, the NEF network function 131 forwards the external information to the PLMN network, preventing other network functions inside the PLMN from directly contacting the outside.
网络存储功能NRF 132,是由运营商提供的控制面功能,可用于维护网络中所有网络功能服务的实时信息。The network storage function NRF 132 is a control plane function provided by the operator and can be used to maintain real-time information of all network function services in the network.
策略控制功能PCF 133是由运营商提供的控制面功能,用于生成、管理用户、会话、QoS流处理策略。它支持统一的策略框架来治理网络行为、向其他控制功能提供策略规则、策略决策相关的签约信息等。The policy control function PCF 133 is a control plane function provided by the operator for generating and managing user, session, and QoS flow processing policies. It supports a unified policy framework to govern network behavior, provide policy rules to other control functions, and contract information related to policy decisions.
统一数据管理UDM 134是由运营商提供的控制面功能,负责存储PLMN中签约用户的安全上下文(security context)、签约数据等信息。上述运营商网络的签约用户具体可为使用运营商网络提供的业务的用户,例如使用中国电信的终端设备芯卡的用户,或者使用中国移动的终端设备芯卡的用户等。示例性的,上述安全上下文可以为存储在本地终端设备(例如手机)上的数据(cookie)或者令牌(token)等。上述签约用户的签约数据可以为该终端设备芯卡的配套业务,例如该手机芯卡的流量套餐等。The unified data management UDM 134 is a control plane function provided by the operator, and is responsible for storing information such as security context (security context) and subscription data of subscribers in the PLMN. The above-mentioned subscribers of the operator network may specifically be users who use services provided by the operator network, such as users using China Telecom's terminal equipment core cards, or users using China Mobile's terminal equipment core cards. Exemplarily, the above-mentioned security context may be data (cookie) or token (token) stored on a local terminal device (for example, a mobile phone). The contract data of the above-mentioned contract user may be the supporting services of the terminal device chip card, such as the data package of the mobile phone chip card, and the like.
认证服务器功能AUSF 136是由运营商提供的控制面功能,通常用于一级认证,即终端设备110(签约用户)与运营商网络之间的网络认证。The authentication server function AUSF 136 is a control plane function provided by the operator, and is usually used for first-level authentication, that is, network authentication between the terminal device 110 (subscriber) and the operator's network.
接入与移动性管理功能AMF 137是由运营商网络提供的控制面网络功能,负责终端设备110接入运营商网络的接入控制和移动性管理,例如包括移动状态管理,分配用户临时身份标识,认证和授权用户等功能。Access and Mobility Management Function AMF 137 is a control plane network function provided by the operator's network, and is responsible for the access control and mobility management of the terminal device 110 accessing the operator's network, including, for example, mobility state management, assigning user temporary identities , authentication and authorization of users and other functions.
会话管理功能SMF 138是由运营商网络提供的控制面网络功能,负责管理终端设备110的协议数据单元(protocol data unit,PDU)会话。PDU会话是一个用于传输PDU的通道,终端设备需要通过PDU会话与DN 120互相传输数据。PDU会话可以由SMF 138负责建立、维护和删除等。SMF 138包括会话管理(如会话建立、修改和释放,包含UPF 139和AN 140之间的隧道维护等)、UPF 139的选择和控制、业务和会话连续性(service and session continuity,SSC)模式选择、漫游等会话相关的功能。The session management function SMF 138 is a control plane network function provided by the operator network, and is responsible for managing the protocol data unit (protocol data unit, PDU) session of the terminal device 110. The PDU session is a channel for transmitting PDUs, and the terminal device needs to transmit data to and from the DN 120 through the PDU session. PDU sessions may be established, maintained, deleted, etc. by the SMF 138. SMF 138 includes session management (such as session establishment, modification and release, including tunnel maintenance between UPF 139 and AN 140, etc.), UPF 139 selection and control, service and session continuity (service and session continuity, SSC) mode selection , roaming and other session-related functions.
用户面功能UPF 139是由运营商提供的网关,是运营商网络与DN 120通信的网关。UPF 139包括数据包路由和传输、包检测、业务用量上报、QoS处理、合法监听、上行包 检测、下行数据包存储等用户面相关的功能。The user plane function UPF 139 is a gateway provided by the operator and is the gateway for the operator network to communicate with the DN 120. UPF 139 includes user plane-related functions such as packet routing and transmission, packet detection, service usage reporting, QoS processing, legal interception, upstream packet detection, and downstream packet storage.
网络切片选择功能NSSF141,是由运营商网络提供的控制面网络功能,用于负责确定网络切片实例,选择AMF网络功能137等。The network slice selection function NSSF 141 is a control plane network function provided by the operator network, and is used for determining the network slice instance, selecting the AMF network function 137 and so on.
图1中Nnef、Nausf、Nnrf、Npcf、Nudm、Naf、Namf、Nsmf、Nnssf、N1、N2、N3、N4,以及N6为接口序列号。示例性的,上述接口序列号的含义可参见3GPP标准协议中定义的含义,本申请对于上述接口序列号的含义不做限制。例如,N1为终端设备110和核心网控制面功能之间的接口,用于传递非接入层(non access stratum,NAS)信令。N2为接入网设备和核心网控制面功能之间的通信接口。N3为接入网设备和核心网用户面功能之间的通信接口,用于传输用户数据。N4为控制面功能SMF和用户面功能UPF之间的通信接口,用于对UPF进行策略配置等。需要说明的是,图1中仅以终端设备110为UE作出了示例性说明,图1中的各个网络功能之间的接口名称也仅仅是一个示例,在具体实现中,该系统架构的接口名称还可能为其他名称,本申请对此不作限定。In Figure 1, Nnef, Nausf, Nnrf, Npcf, Nudm, Naf, Namf, Nsmf, Nnssf, N1, N2, N3, N4, and N6 are interface serial numbers. Exemplarily, for the meaning of the above-mentioned interface serial number, reference may be made to the meaning defined in the 3GPP standard protocol, and this application does not limit the meaning of the above-mentioned interface serial number. For example, N1 is an interface between the terminal device 110 and the control plane function of the core network, and is used to transmit non-access stratum (non access stratum, NAS) signaling. N2 is the communication interface between the access network equipment and the core network control plane function. N3 is the communication interface between the access network equipment and the core network user plane function, and is used to transmit user data. N4 is a communication interface between the control plane function SMF and the user plane function UPF, and is used for policy configuration and the like for the UPF. It should be noted that, in FIG. 1, only the terminal device 110 is used as an example for the UE, and the interface names between various network functions in FIG. 1 are only an example. In the specific implementation, the interface names of the system architecture Other names may also be used, which are not limited in this application.
为方便说明,本申请实施例中将会话管理功能SMF 138简称为SMF,将统一数据管理UDM 134简称为UDM,即本申请实施例中后文所描述的AMF均可替换为移动性管理网络功能,UDM均可替换为统一数据管理。可理解,其他未示出的网络功能同样适用该替换方法。For the convenience of description, the session management function SMF 138 is abbreviated as SMF in the embodiment of the present application, and the unified data management UDM 134 is abbreviated as UDM, that is, the AMF described later in the embodiment of the present application can be replaced by the mobility management network function. , UDM can be replaced by unified data management. It can be understood that other network functions not shown are also applicable to this alternative method.
图1中示出的网络架构(例如5G网络架构)采用基于服务的架构和通用接口,传统网元功能基于网络功能虚拟化(network function virtualization,NFV)技术拆分成若干个自包含、自管理、可重用的网络功能服务模块,通过灵活定义服务模块集合,可以实现定制化的网络功能重构,对外通过统一的服务调用接口组成业务流程。图1中示出的网络架构示意图可以理解为一种非漫游场景下基于服务的5G网络架构示意图。在该架构中,根据特定场景需求,将不同网络功能按需有序组合,可以实现网络的能力与服务的定制化,从而为不同业务部署专用网络,实现5G网络切片(network slicing)。网络切片技术可以使运营商能够更加灵活、快速地响应客户需求,支持网络资源的灵活分配。The network architecture shown in Figure 1 (eg, 5G network architecture) adopts a service-based architecture and common interfaces, and traditional network element functions are divided into several self-contained and self-managed based on network function virtualization (NFV) technology. , Reusable network function service module, by flexibly defining the service module set, customized network function reconstruction can be realized, and the external business process can be formed through a unified service invocation interface. The schematic diagram of the network architecture shown in FIG. 1 can be understood as a schematic diagram of a service-based 5G network architecture in a non-roaming scenario. In this architecture, according to the needs of specific scenarios, different network functions can be combined in an orderly manner on demand, which can realize the customization of network capabilities and services, so as to deploy dedicated networks for different services and realize 5G network slicing. Network slicing technology can enable operators to respond more flexibly and quickly to customer needs and support flexible allocation of network resources.
5G网络中支持以太会话(如以太网PDU会话),以太会话的数据包称为以太网帧/以太帧。图2为一种可能的以太帧格式,目的地址(destination address,DA)为目的MAC地址,源地址(source address,SA)为源MAC地址,类型(Type)为以太类型,数据(Data)为数据段,循环冗余校验(cyclic redundancy check,CRC)为校验位。当以太类型为0x8100时,表示插入了虚拟局域网(virtual local area network,VLAN)信息,包括优先级(Priority)字段,控制格式指示(control format indicator,CFI)字和VLAN标识(ID)字段,其中Priority字段包含3个bit位的服务类别(class of service)值。以太帧中可以没有VLAN Tag字段,或者可以有一个或多个VLAN Tag字段,如图2中,以太帧中包括一个VLAN Tag字段,所述VLAN Tag字段中包括插入的VLAN信息。Ethernet sessions (such as Ethernet PDU sessions) are supported in the 5G network, and the data packets of the Ethernet sessions are called Ethernet frames/Ether frames. Figure 2 is a possible Ethernet frame format, the destination address (DA) is the destination MAC address, the source address (SA) is the source MAC address, the type (Type) is the ether type, and the data (Data) is In the data segment, the cyclic redundancy check (CRC) is the check bit. When the ether type is 0x8100, it means that virtual local area network (VLAN) information is inserted, including the priority (Priority) field, the control format indicator (CFI) word and the VLAN identification (ID) field, where The Priority field contains a 3-bit class of service value. There may be no VLAN Tag field in the Ethernet frame, or there may be one or more VLAN Tag fields, as in Figure 2, the Ethernet frame includes a VLAN Tag field, and the VLAN Tag field includes the inserted VLAN information.
以太网络中的二层交换属于链路层交换,基于媒体访问控制(media access control,MAC)地址转发,交换设备通过查询MAC地址学习表获得转发端口,对于MAC地址学习表中没有记录的MAC地址,则所述交换设备可以通过广播方式进行转发。如图3所示为二层交换原理,交换机保存有MAC地址学习表,记录用户MAC地址和端口的对应关系,如果基于VLAN和MAC地址转发,所述MAC地址学习表还会包含对应的VLAN信息。所述MAC地址学习表包括MACA、MACB、MACC和MACD等MAC地址,MACA 地址对应的端口为端口1,MACB地址对应的端口为端口1,MACC地址对应的端口为端口2,MACD地址对应的端口为端口2。交换机从端口1接收到目的地址为MACD的报文时,查询MAC学习表获取MACD对应的端口信息为端口2,之后将报文从端口2发送出去。其中MAC地址学习表中的MACD的表项可以是当端口2接收到一个源MAC地址为MACD的报文时学习到的,或者可以是通过配置信息获得的。 Layer 2 switching in the Ethernet network belongs to the link layer switching, based on media access control (media access control, MAC) address forwarding, the switching device obtains the forwarding port by querying the MAC address learning table. For the MAC address that is not recorded in the MAC address learning table , the switching device can forward it by broadcasting. Figure 3 shows the principle of Layer 2 switching. The switch saves a MAC address learning table to record the correspondence between user MAC addresses and ports. If forwarding is based on VLAN and MAC address, the MAC address learning table will also include the corresponding VLAN information. . The MAC address learning table includes MAC addresses such as MACA, MACB, MACC, and MACD. The port corresponding to the MACA address is port 1, the port corresponding to the MACB address is port 1, the port corresponding to the MACC address is port 2, and the port corresponding to the MACD address. for port 2. When the switch receives a packet whose destination address is MACD from port 1, it queries the MAC learning table to obtain the port information corresponding to the MACD as port 2, and then sends the packet out from port 2. The MACD entry in the MAC address learning table may be learned when port 2 receives a packet whose source MAC address is MACD, or may be obtained through configuration information.
4G网络和5G网络的CU分离中定义了用户面功能(如UPF、网关GW)的转发逻辑。如图4所示,用户面功能接收报文,确定分组转发控制协议(packet forwarding control protocol,PFCP)会话,在确定的PFCP会话中按优先级匹配包检测规则(packet detection rule,PDR),确定匹配到的FDR中指定的转发行为规则(forwarding action rules,FAR),根据FAR中的策略处理接收到的所述报文。其中在确定PFCP会话时,所述用户面功能可以根据PDR中的指示,如网络实例(network instance)、终端设备的地址等信息匹配后确定PFCP会话。在根据FAR中的策略处理接收到的所述报文时,若所述报文为下行报文,所述用户面功能按照FAR中的指示,如根据转发行为规则FARs、QoS实施规则(QoS enforment rules,QERs)、使用报告规则(usage reporting rules,URRs)添加包头后发送给终端设备。The forwarding logic of user plane functions (such as UPF, gateway GW) is defined in the CU separation of 4G network and 5G network. As shown in Figure 4, the user plane function receives the packet, determines the packet forwarding control protocol (PFCP) session, matches the packet detection rule (PDR) according to the priority in the determined PFCP session, and determines The forwarding action rules (FAR) specified in the matched FDR are processed, and the received packet is processed according to the policy in the FAR. When determining the PFCP session, the user plane function may determine the PFCP session after matching information such as a network instance (network instance), an address of a terminal device, etc. according to the indication in the PDR. When processing the received packet according to the policy in the FAR, if the packet is a downlink packet, the user plane function follows the instructions in the FAR, such as forwarding behavior rules FARs, QoS enforcement rules (QoS enforcement rules) rules, QERs), use reporting rules (usage reporting rules, URRs) to add headers and send them to terminal devices.
以太网控制自动化技术(Ether control automation technology,EtherCAT)是一种以以太网为基础的总线系统,可以让以太网运用在自动化应用中。EtherCAT应用于工业以太网络,EtherCAT报文可以基于以太封装(例如以太类型为0x88A4),或者封装在IP报文中(例如封装在用户数据报协议(user datagram protocol,UDP)报文中,UDP目的端口号为0x88A4)。Ethernet control automation technology (EtherCAT) is an Ethernet-based bus system that allows Ethernet to be used in automation applications. EtherCAT is used in industrial Ethernet networks. EtherCAT packets can be encapsulated based on Ethernet (for example, the Ethernet type is 0x88A4), or encapsulated in IP packets (for example, encapsulated in user datagram protocol (UDP) packets, UDP purpose The port number is 0x88A4).
对于单次通信量很少的工业应用,如果每次发往单个设备的数据都使用以太报文封装,那么封装效率会很低。例如,一个驱动器周期性的发送4字节的实际值和状态信息,并相应的同时接收4字节的命令值和控制字信息,即使总线负荷为100%(即无限小的驱动响应时间)时,其可用数据率也只能达到4/84=4.8%(以太报文的最小封装及同步字段等合计84字节)。而EtherCAT通过将多个EtherCAT子报文集合在一个以太报文中,提高了传输效率。For industrial applications with a small amount of single communication, if each data sent to a single device is encapsulated using an Ethernet packet, the encapsulation efficiency will be very low. For example, a drive periodically sends 4 bytes of actual value and status information, and correspondingly receives 4 bytes of command value and control word information at the same time, even when the bus load is 100% (ie infinitely small drive response time) , the available data rate can only reach 4/84=4.8% (the minimum encapsulation and synchronization fields of the Ethernet message total 84 bytes). On the other hand, EtherCAT improves transmission efficiency by combining multiple EtherCAT sub-packets into one Ethernet packet.
将EtherCAT封装在以太报文中为例,如图5所示,以太报文包括以太报文头(Ethernet header)、以太报文数据部分(Ethernet data)和帧校验序列(frame check sequence,FCS),Ethernet header占14字节(Byte),FCS占4Byte。Ethernet data包括EtherCAT子报文数据长度(Length)、保留位(Res.)、类型(Type)和多个EtherCAT子报文。所述多个EtherCAT子报文包括第一EtherCAT数据报(1 st EtherCAT Datagram)、第二EtherCAT数据报(2 nd EtherCAT Datagram)、……第n EtherCAT数据报(n th EtherCAT Datagram)。每个EtherCAT子报文包括子报文头(Datagram Header)、EtherCAT数据部分(Data)和工作计数器(working counter,WKC)。子报文头包括寻址及读写方式(Cmd)、帧编码(Idx)、地址信息(Address)、EtherCAT子报文数据区长度(Len)、保留位(R)、帧循环标志(C)、后续报文标志(M)和状态位(IRQ)等信息。 Taking EtherCAT encapsulated in an Ethernet packet as an example, as shown in Figure 5, the Ethernet packet includes an Ethernet header (Ethernet header), an Ethernet packet data part (Ethernet data), and a frame check sequence (FCS) ), the Ethernet header occupies 14 bytes, and the FCS occupies 4 bytes. Ethernet data includes the data length (Length), reserved bits (Res.), type (Type) and multiple EtherCAT sub-packets of EtherCAT sub-packets. The multiple EtherCAT sub-grams include a first EtherCAT datagram (1 st EtherCAT Datagram), a second EtherCAT datagram (2 nd EtherCAT Datagram), ... an nth EtherCAT datagram (n th EtherCAT Datagram). Each EtherCAT sub-gram includes a sub-gram header (Datagram Header), an EtherCAT data part (Data), and a working counter (WKC). The sub-message header includes addressing and read/write mode (Cmd), frame code (Idx), address information (Address), EtherCAT sub-message data area length (Len), reserved bit (R), frame cycle flag (C) , subsequent message flag (M) and status bit (IRQ) and other information.
EtherCAT协议的工业以太网络包括一个Master设备和多个Slave设备等,各设备的网络接口包括发送功能和接收功能,通过设备之间的有线连接可以实现各类物理拓扑。报文的转发总在线型路径上转发:报文由Master设备发出后,经过Slave终端之间的转发处理, 最后返回Master终端。如图6所示,EtherCAT网络中包括一个Master设备和6个Slave设备,Master设备发出EtherCAT报文,Slave设备1根据EtherCAT子报文中的地址段确定是否对该段子报文进行处理,在确定不处理或处理完成后将EtherCAT报文转发给Slave设备2,Slave设备2、Slave设备3、Slave设备4、Slave设备5和Slave设备6分别进行类似的操作,Slave设备在确定不处理或处理完成后将EtherCAT报文转发给Master设备,其中对子报文进行处理包括读取其中的数据段以及向子报文中插入数据。可见,虽然物理拓扑是树形的,但是数据报文需要经过Slave设备之间的转发以及Slave内部的环回转发,最终形成线型的转发路径。The industrial Ethernet network of the EtherCAT protocol includes a master device and multiple slave devices, etc. The network interface of each device includes the sending function and the receiving function, and various physical topologies can be realized through the wired connection between the devices. Packet forwarding is always forwarded on a linear path: after the packet is sent by the master device, it is forwarded between slave terminals and finally returned to the master terminal. As shown in Figure 6, the EtherCAT network includes a Master device and 6 Slave devices. The Master device sends an EtherCAT packet. Slave device 1 determines whether to process the sub-packet according to the address segment in the EtherCAT sub-packet. The EtherCAT packet is forwarded to Slave device 2 after no processing or processing is completed. Slave device 2, Slave device 3, Slave device 4, Slave device 5 and Slave device 6 respectively perform similar operations. Afterwards, the EtherCAT message is forwarded to the Master device, and the processing of the sub-message includes reading the data segment therein and inserting data into the sub-message. It can be seen that although the physical topology is tree-shaped, data packets need to be forwarded between slave devices and loopback forwarded within the slave to form a linear forwarding path.
除EtherCAT协议,Profinet协议也是一种广泛应用的工业以太协议。Profinet报文采用普通以太报文封装,发往各设备的报文独立发送。Profinet协议支持各类拓扑,当如图7所示,控制器(Controller)和工业终端(Device)之间是线型拓扑时,Controller和工业终端的等时同步(isochronous real-time,IRT)时间窗口是对齐的,并且Controller发往各工业终端的IRT报文在IRT时间窗口内发送到各工业终端。考虑到线型拓扑上由于距离和跳数的差异,导致各工业终端和Controller之间的时延不同,Controller在周期内会先发送远端终端(如Device3)的报文,后发送近端终端(如Device1)的报文。Device3在接收到报文后,向Controller回复响应,Device2在接收到报文后,向Controller回复响应,Device1在接收到报文后,向Device3回复响应。In addition to the EtherCAT protocol, the Profinet protocol is also a widely used industrial Ethernet protocol. Profinet packets are encapsulated by ordinary Ethernet packets, and the packets sent to each device are sent independently. The Profinet protocol supports various topologies. As shown in Figure 7, when there is a linear topology between the controller (Controller) and the industrial terminal (Device), the isochronous real-time (IRT) time between the Controller and the industrial terminal The windows are aligned, and the IRT message sent by the Controller to each industrial terminal is sent to each industrial terminal within the IRT time window. Considering the difference in distance and hop count in the line topology, the delay between each industrial terminal and the Controller is different. The Controller will first send the packets of the remote terminal (such as Device3) in the cycle, and then send the near-end terminal. (eg Device1). After receiving the message, Device3 replies to the Controller, Device2 replies to the Controller after receiving the message, and Device1 replies to Device3 after receiving the message.
现有5G网络支持以太会话,终端设备和数据网络DN之间的以太通信,支持用户面功能UPF上DN侧接口和终端设备的以太会话绑定。如图8所示,DN侧的交换设备(switch)在DN侧的一个接口(可以是物理接口或逻辑接口),通过5G网络核心网(5G core,5GC)中的UPF和终端设备的以太会话绑定,进而终端设备在该以太会话上的报文可以直接通过绑定的N6接口转发。其中所述以太会话可以为PDU会话。The existing 5G network supports the Ethernet session, the Ethernet communication between the terminal device and the data network DN, and supports the user plane function UPF on the DN side interface and the Ethernet session binding of the terminal device. As shown in Figure 8, an interface (which can be a physical interface or a logical interface) on the DN side of the switch (switch) on the DN side passes the Ethernet session between the UPF and the terminal device in the 5G network core network (5G core, 5GC). Binding, and then the packets of the terminal device on the Ethernet session can be directly forwarded through the bound N6 interface. The Ethernet session may be a PDU session.
相关技术中对于支持以太协议的线型拓扑,终端设备大多以线型拓扑接入无线网络。一种可能的线性拓扑结构如图9所示,产线上的首个Slave设备(即Slave终端1)上安装无线模组,使产线上的各Slave设备通过5GC与Master设备交互,将产线上的工业终端适配到无线连接。在线型拓扑中,如果产线中首节点(即首个Slave设备)与无线网络之间的网络质量不稳定,整条产线的其他工业终端(如Slave终端2和Slave终端3)与无线网络之间的链路均会失败,无法与Master设备之间正常通信,可见通信的可靠性无法得到保障。In the related art, for the line topology supporting the Ethernet protocol, most terminal devices access the wireless network in the line topology. A possible linear topology is shown in Figure 9. A wireless module is installed on the first slave device (ie, Slave terminal 1) on the production line, so that each slave device on the production line interacts with the Master device through 5GC, and the production Industrial terminals on the line are adapted to wireless connections. In the online topology, if the network quality between the first node in the production line (that is, the first Slave device) and the wireless network is unstable, other industrial terminals (such as Slave Terminal 2 and Slave Terminal 3) in the entire production line will not be connected to the wireless network. The link between them will fail, and normal communication with the Master device will not be possible. It can be seen that the reliability of communication cannot be guaranteed.
终端设备也可以采用支持以太协议的星型拓扑或树形拓扑接入无线网络。一种可能的树形拓扑结构可以如图10所示,产线上的每个Slave设备上都安装无线模组,每个Salve设备通过5GC与Master设备交互,将产线上的工业终端适配到无线连接。如果产线上各个节点均安装无线模组,则会导致工业终端成本剧增。另外对于EtherCAT等报文合并发送的工业协议,这种方式会导致数据路径迂回,从而导致时延不可控,无法保障通信的可靠性。并且在星型拓扑或树形拓扑中,若不改变转发规则,Master只发送一个报文,然后按照线型拓扑的转发规则在每个终端设备中转发所述报文,若第一个接收所述报文的终端设备与无线网络之间的网络质量不稳定,其他终端设备与无线网络之间的链路也会失败,也无法保障通信的可靠性。若改变转发规则,就需要网络设备对Master发送的报文进行拆包然后分别转发给每个终端设备,会导致浪费网络设备的处理资源,并且网络设备不一定 具备报文拆包的功能,因此对无线网络提出了更高的要求,网络部署难度增大。以及如果采用3GPP定义的高可靠低延迟通信(ultra-reliable and low latency communications,URLLC)的可靠性保障机制,则无线网络需要支持双站重叠覆盖,终端设备的无线模组也需要支持双链接的能力,这对工厂车间内的无线组网提出了很高的要求,并且也提高了无线模组的成本,因此会在工业以太协议的实际组网中,增加网络部署难度和终端成本。The terminal equipment can also use the star topology or tree topology that supports the Ethernet protocol to access the wireless network. A possible tree topology can be shown in Figure 10. Wireless modules are installed on each slave device on the production line. Each slave device interacts with the master device through 5GC to adapt the industrial terminals on the production line. to a wireless connection. If wireless modules are installed at each node of the production line, the cost of industrial terminals will increase sharply. In addition, for industrial protocols such as EtherCAT, in which packets are sent together, this method will lead to detours in the data path, resulting in uncontrollable delays and failure to guarantee the reliability of communication. And in star topology or tree topology, if the forwarding rules are not changed, the master only sends one packet, and then forwards the packet in each terminal device according to the forwarding rules of the line topology. The network quality between the terminal device and the wireless network described in the message is unstable, and the links between other terminal devices and the wireless network will also fail, and the reliability of communication cannot be guaranteed. If the forwarding rule is changed, the network device needs to unpack the packet sent by the master and then forward it to each terminal device, which will waste the processing resources of the network device, and the network device does not necessarily have the function of packet unpacking. Higher requirements are placed on wireless networks, and network deployment is more difficult. And if the reliability guarantee mechanism of ultra-reliable and low latency communications (URLLC) defined by 3GPP is adopted, the wireless network needs to support dual-site overlapping coverage, and the wireless module of the terminal device also needs to support dual-link communication. This puts forward high requirements for wireless networking in the factory floor, and also increases the cost of wireless modules. Therefore, in the actual networking of the Industrial Ethernet protocol, it will increase the difficulty of network deployment and the cost of terminals.
综上所示,终端设备尤其是工业终端接入无线网络时,通信的可靠性无法得到保障,并且可能存在浪费网络设备的处理资源,网络部署难度增大,且终端成本也会增加。To sum up, when terminal equipment, especially an industrial terminal, is connected to a wireless network, the reliability of communication cannot be guaranteed, and processing resources of network equipment may be wasted, network deployment becomes more difficult, and terminal costs also increase.
基于此,本申请实施例提供一种冗余路径创建方法,在该方法中,终端设备10可以接收来自用户面功能20的报文30,以及接收来自终端设备12的报文30,所述终端设备10可以对来自用户面功能20的报文30和来自终端设备12的报文30进行去重,然后将去重后的报文30发送给终端设备10所服务的终端设备11。本申请实施例提供的冗余路径创建方法相当于在工业网络拓扑的终端设备中选择2个或2个以上终端设备,工业网络拓扑中所有终端设备通过传统固网传输互通可达,所有终端设备之间可以共享无线连接,这样通过具有网络接入能力的终端设备,所有终端设备都可以接入无线网络。位于网络设备和工业终端之间的无线连接点可以透明转发其他节点通过移动网络通信的报文,实现无线连接的相互备份、负荷分担。因此可以在现有通信系统架构下,结合工业以太协议的实际组网模型,在节约终端成本和降低网络部署难度的同时,保障通信的可靠性。Based on this, an embodiment of the present application provides a method for creating a redundant path. In this method, the terminal device 10 can receive the packet 30 from the user plane function 20 and the packet 30 from the terminal device 12. The device 10 may deduplicate the packet 30 from the user plane function 20 and the packet 30 from the terminal device 12 , and then send the deduplicated packet 30 to the terminal device 11 served by the terminal device 10 . The redundant path creation method provided by the embodiment of the present application is equivalent to selecting two or more terminal devices in the terminal devices of the industrial network topology. All the terminal devices in the industrial network topology can communicate with each other through traditional fixed network transmission. Wireless connections can be shared between them, so that all terminal devices can access the wireless network through terminal devices with network access capabilities. The wireless connection point located between the network equipment and the industrial terminal can transparently forward the packets communicated by other nodes through the mobile network, so as to realize the mutual backup and load sharing of the wireless connection. Therefore, under the existing communication system architecture, combined with the actual networking model of the industrial Ethernet protocol, the reliability of communication can be guaranteed while saving terminal costs and reducing the difficulty of network deployment.
本申请实施例涉及到的终端设备可以为工业终端、无线模组,或者也可以为独立的无线接入终端设备,如客户前置设备(customer premise equipment,CPE)等。The terminal equipment involved in the embodiments of the present application may be industrial terminals, wireless modules, or may also be independent wireless access terminal equipment, such as customer premise equipment (customer premise equipment, CPE).
本申请实施例适用于工业以太协议(如EtherCAT协议或Profinet协议等)的工业终端和/或工业应用通过接入网络实现互联互通。可以理解的是,本申请实施例也可以适用于非工业以太协议的其他通信协议和/或非工业应用的其他应用。本申请实施例中主要以工业以太网络中的工业终端为例进行说明。The embodiments of the present application are applicable to industrial terminals and/or industrial applications of an industrial Ethernet protocol (such as an EtherCAT protocol or a Profinet protocol, etc.) to realize interconnection and intercommunication through an access network. It can be understood that, the embodiments of the present application may also be applicable to other communication protocols other than industrial Ethernet protocols and/or other applications that are not industrial applications. The embodiments of the present application mainly take an industrial terminal in an industrial Ethernet network as an example for description.
本申请实施例提供的冗余路径创建方法可以应用于如图1所示的通信系统中。或者本申请实施例提供的冗余路径创建方法可以应用于如图11所示的通信系统中,图11所示的通信系统中还包括时延敏感网络应用功能(time sensitive network application function,TSNAF),UE的功能可以由设备侧TSN转换器(device-side TSN translator,DS-TT)实现,UPF的功能可以由网络侧TSN转换器(network-side TSN translator,NW-TT)实现。其中DS-TT可以与UE合一部署,NW-TT可以与UPF合一部署。Slave设备可以通过DS-TT接入无线网络,Master设备可以与NW-TT用户面(User plane/U-plane)连接。The redundant path creation method provided in the embodiment of the present application can be applied to the communication system as shown in FIG. 1 . Alternatively, the redundant path creation method provided by the embodiment of the present application may be applied to the communication system shown in FIG. 11 , and the communication system shown in FIG. 11 further includes a time-sensitive network application function (TSNAF) , the function of the UE can be implemented by a device-side TSN translator (DS-TT), and the function of the UPF can be implemented by a network-side TSN translator (NW-TT). Among them, DS-TT can be deployed in one with UE, and NW-TT can be deployed in one with UPF. The Slave device can access the wireless network through DS-TT, and the Master device can connect to the NW-TT user plane (User plane/U-plane).
可以理解的是,本申请实施例也可以用于5G网络和其他网络互通,或者独立5G网络系统,例如用于具有与工业报文转发类似需求的网络互通,也可以不限定5G网络外部是否有其他网络,在本申请实施例中不做限定。本申请实施例中主要以Master设备和Slave设备之间的通信为例,但不限定网络中网络功能的具体名称,同时不限定网络功能是否部署在DN中(例如Master设备和Slave设备都可以位于UE侧)。It can be understood that the embodiments of the present application can also be used for interworking between 5G networks and other networks, or for independent 5G network systems, such as for network interworking with similar requirements to industrial message forwarding, and it does not limit whether there are external 5G networks. Other networks are not limited in the embodiments of this application. In the embodiment of this application, the communication between the Master device and the Slave device is mainly used as an example, but the specific names of the network functions in the network are not limited, and it is not limited whether the network functions are deployed in the DN (for example, the Master device and the Slave device can be located in UE side).
本申请实施例中会话管理功能可以为具备可靠性备份关系的多个终端设备创建可靠性冗余传输路径,所述具备可靠性备份关系的多个终端设备可以分别部署于多个工业终端上,或者将所述多个终端设备集成于一个工业终端上,从而保障终端设备通过无线网络接入时能够保障可靠性传输。所述会话管理功能为具备可靠性备份关系的多个终端设备创建 冗余路径的过程如图12所示,具体过程包括:The session management function in the embodiment of the present application may create a reliable redundant transmission path for multiple terminal devices with a reliability backup relationship, and the multiple terminal devices with a reliability backup relationship may be respectively deployed on multiple industrial terminals. Alternatively, the multiple terminal devices are integrated into one industrial terminal, so as to ensure reliable transmission when the terminal device is accessed through a wireless network. The process of the session management function creating redundant paths for multiple terminal devices with a reliable backup relationship is shown in Figure 12, and the specific process includes:
S1201:会话管理功能21获取终端设备10服务的终端设备11。S1201 : The session management function 21 acquires the terminal device 11 served by the terminal device 10 .
在该S1201中,所述终端设备10可以向所述会话管理功能21发送终端设备11的信息,以告知所述会话管理功能21,所述终端设备10服务于终端设备11,其中所述终端设备10服务的终端设备11也可以为所述终端设备10下属的终端设备11。所述终端设备10可以为UE,终端设备11可以为Slave终端。所述会话管理功能21接收来自所述终端设备10的终端设备11的信息,从而获取到终端设备10服务的终端设备11的信息。例如终端设备11的信息可以为终端设备11的MAC地址。In this S1201, the terminal device 10 may send the information of the terminal device 11 to the session management function 21 to inform the session management function 21 that the terminal device 10 serves the terminal device 11, wherein the terminal device The terminal device 11 served by the terminal device 10 may also be a terminal device 11 subordinate to the terminal device 10 . The terminal device 10 may be a UE, and the terminal device 11 may be a Slave terminal. The session management function 21 receives information from the terminal device 11 of the terminal device 10 , so as to obtain the information of the terminal device 11 served by the terminal device 10 . For example, the information of the terminal device 11 may be the MAC address of the terminal device 11 .
可选的,所述终端设备10可以在注册过程中,例如所述终端设备10在附着过程或PDU会话创建过程中,将所述终端设备11的信息上报给所述会话管理功能21。Optionally, the terminal device 10 may report the information of the terminal device 11 to the session management function 21 during the registration process, for example, during the attach process or the PDU session creation process.
S1202:所述会话管理功能21获取终端设备12服务的终端设备14。S1202: The session management function 21 acquires the terminal device 14 served by the terminal device 12.
在该S1202中,所述终端设备12可以向所述会话管理功能21发送终端设备14的信息,以告知所述会话管理功能21,所述终端设备12服务于终端设备14,其中所述终端设备12服务的终端设备14也可以为所述终端设备12下属的终端设备14。所述终端设备12可以为UE,所述终端设备14可以为Slave终端。所述会话管理功能21接收来自所述终端设备12的终端设备14的信息,从而获取到终端设备12服务的终端设备14的信息。例如终端设备14的信息可以为终端设备14的MAC地址。In this S1202, the terminal device 12 may send the information of the terminal device 14 to the session management function 21 to inform the session management function 21 that the terminal device 12 serves the terminal device 14, wherein the terminal device The terminal device 14 served by 12 may also be a terminal device 14 subordinate to the terminal device 12 . The terminal device 12 may be a UE, and the terminal device 14 may be a Slave terminal. The session management function 21 receives information from the terminal device 14 of the terminal device 12 , so as to obtain the information of the terminal device 14 served by the terminal device 12 . For example, the information of the terminal device 14 may be the MAC address of the terminal device 14 .
所述终端设备11和所述终端设备14可以为同一个终端设备,可以为不同的终端设备。如果所述终端设备11和所述终端设备14为不同的终端设备,所述终端设备11和所述终端设备14之间还可以部署有其他的工业终端。The terminal device 11 and the terminal device 14 may be the same terminal device, or may be different terminal devices. If the terminal device 11 and the terminal device 14 are different terminal devices, other industrial terminals may also be deployed between the terminal device 11 and the terminal device 14 .
可选的,所述终端设备12可以在注册过程中,例如所述终端设备12在附着过程或PDU会话创建过程中,将所述终端设备14的信息上报给所述会话管理功能21。Optionally, the terminal device 12 may report the information of the terminal device 14 to the session management function 21 during the registration process, for example, during the attach process or the PDU session creation process.
S1203:所述会话管理功能21确定终端设备10和终端设备12之间具有对应关系。S1203: The session management function 21 determines that there is a corresponding relationship between the terminal device 10 and the terminal device 12.
所述终端设备10和所述终端设备12之间具有对应关系可以为所述终端设备10和所述终端设备12具备可靠性配对关系,即所述终端设备10和所述终端设备12具备可靠性备份关系,也就是说,所述终端设备10和所述终端设备12之间相互信任。当所述终端设备10和所述终端设备12中的一个UE发生故障,或其中一个UE所在的传输路径发生故障,另一个UE可以及时检测并响应,以保证可靠性传输。对于故障的检测和响应将在后续实施例进行说明。可以理解的是,为了便于描述,本申请实施例中,仅以具有对应关系的终端设备包括终端设备10和终端设备12为例进行说明,对于2个以上的终端设备具有对应关系的场景同样适用。The corresponding relationship between the terminal device 10 and the terminal device 12 may be that the terminal device 10 and the terminal device 12 have a reliability pairing relationship, that is, the terminal device 10 and the terminal device 12 have a reliability pairing relationship. Backup relationship, that is, the terminal device 10 and the terminal device 12 trust each other. When one UE in the terminal device 10 and the terminal device 12 fails, or the transmission path where one of the UEs is located fails, the other UE can detect and respond in time to ensure reliable transmission. The detection and response to faults will be described in subsequent embodiments. It can be understood that, for the convenience of description, in this embodiment of the present application, only the terminal devices having a corresponding relationship including the terminal device 10 and the terminal device 12 are used as examples for description, and the same applies to the scenario where more than two terminal devices have a corresponding relationship. .
所述会话管理功能21可以获取到接入无线网络的终端设备10和终端设备12,并可以获取到与终端设备10具有对应关系的终端设备,以及与终端设备12具有对应关系的终端设备。一种可能的方式,所述会话管理功能21可以获取到UE的签约数据,所述签约数据中签约有UE的可靠性配对关系,例如Reliability Group(UE1,UE2 and UE3),这种签约方式说明UE1、UE2和UE3三个终端设备之间两两互相具备可靠性配对关系,又如Reliability Group(UE1,UE2),Reliability Group(UE2,UE3)这种签约方式说明UE1和UE2之间具备可靠性配对关系,UE2和UE3之间具备可靠性配对关系。另一种可能的方式,UE注册过程(如附着流程或PDU会话创建流程)中,所述会话管理功能21可以获取到UE的签约数据,所述会话管理功能21可以根据所述签约数据确定UE之间的可靠性配对关系,例如,所述 会话管理功能21从签约数据库中获取UE的签约数据,并从所述签约数据中获取UE之间的可靠性配对关系。可选的,所述会话管理功能21可以自身保存有UE的签约数据,或者可选的,所述会话管理功能21可以从其他设备(如UDM)中获取到UE的签约数据。具体的,所述会话管理功能21获取终端设备10的签约数据,根据所述终端设备10的签约数据,确定所述终端设备10和所述终端设备12具有对应关系,所述会话管理功能21还可以获取终端设备12的签约数据,根据所述终端设备12的签约数据,确定所述终端设备12和所述终端设备10具有对应关系。The session management function 21 can obtain the terminal device 10 and the terminal device 12 accessing the wireless network, and can obtain the terminal device corresponding to the terminal device 10 and the terminal device corresponding to the terminal device 12 . In a possible way, the session management function 21 can obtain the subscription data of the UE, and the subscription data has the reliability pairing relationship of the UE subscribed, such as Reliability Group (UE1, UE2 and UE3). This subscription method describes The three terminal devices UE1, UE2 and UE3 have a reliable pairing relationship with each other. Another example is Reliability Group (UE1, UE2), Reliability Group (UE2, UE3) The contracting method indicates that there is reliability between UE1 and UE2 Pairing relationship, UE2 and UE3 have a reliable pairing relationship. In another possible way, in the UE registration process (such as the attach process or the PDU session creation process), the session management function 21 may obtain the subscription data of the UE, and the session management function 21 may determine the UE according to the subscription data. For example, the session management function 21 acquires the subscription data of the UE from the subscription database, and acquires the reliability pairing relationship between the UEs from the subscription data. Optionally, the session management function 21 may store the subscription data of the UE itself, or alternatively, the session management function 21 may acquire the subscription data of the UE from other devices (eg, UDM). Specifically, the session management function 21 acquires the subscription data of the terminal device 10, and according to the subscription data of the terminal device 10, determines that the terminal device 10 and the terminal device 12 have a corresponding relationship, and the session management function 21 further The subscription data of the terminal device 12 may be acquired, and according to the subscription data of the terminal device 12, it is determined that the terminal device 12 and the terminal device 10 have a corresponding relationship.
签约数据中的UE的可靠性配对关系可以通过UE的签约数据静态签约,也可以通过修改签约数据的方式动态创建。若UE的可靠性配对关系动态创建,则第三方网元(如AF)可以通过网络开放功能NEF或PCF等对UE的签约数据进行修改,即所述第三方网元可以在UE的签约数据中,添加互为可靠性配对关系的UE的信息(如UE标识等),并指示UE与所述添加的UE之间互为可靠性配对关系。The reliability pairing relationship of the UE in the subscription data may be statically subscribed through the UE's subscription data, or dynamically created by modifying the subscription data. If the reliability pairing relationship of the UE is dynamically created, the third-party network element (such as AF) can modify the UE's subscription data through the network open function NEF or PCF, that is, the third-party network element can be in the UE's subscription data. , adding the information of the UEs that are in a mutual reliability pairing relationship (such as UE identifiers, etc.), and indicating that the UEs and the added UEs are in a mutual reliability pairing relationship.
可选的,UE的签约数据中还可以包含具备可靠性配对关系的UE之间的主备关系,例如终端设备10和终端设备12具有对应关系,所述终端设备10为主UE,所述终端设备12为备UE。又如终端设备10和终端设备12之间互为主备关系,终端设备10作为主UE服务一个或多个Slave设备时,终端设备12是终端设备10的备UE,同时终端设备12作为主UE服务其他一个或多个Slave设备时,终端设备10是终端设备12的备UE。Optionally, the subscription data of the UE may also include the master-slave relationship between the UEs with a reliable pairing relationship, for example, the terminal device 10 and the terminal device 12 have a corresponding relationship, the terminal device 10 is the master UE, and the terminal device 10 is the master UE. Device 12 is a standby UE. Another example is that the terminal device 10 and the terminal device 12 have a master-slave relationship with each other. When the terminal device 10 serves as the master UE to serve one or more slave devices, the terminal device 12 is the slave UE of the terminal device 10, and the terminal device 12 is the master UE. When serving one or more other slave devices, the terminal device 10 is the standby UE of the terminal device 12 .
所述会话管理功能21确定终端设备10和终端设备12具有对应关系后,所述会话管理功能21还可以将终端设备10的信息和/或终端设备11的信息发送给终端设备12,将终端设备12的信息和/或终端设备14的信息发送给终端设备10。After the session management function 21 determines that the terminal device 10 and the terminal device 12 have a corresponding relationship, the session management function 21 may also send the information of the terminal device 10 and/or the information of the terminal device 11 to the terminal device 12, and the terminal device The information of 12 and/or the information of terminal 14 is sent to terminal 10 .
所述S1201、S1202和S1203的执行先后顺序在此不做限制。The execution sequence of S1201, S1202 and S1203 is not limited here.
S1204:所述会话管理功能21向用户面功能20发送转发规则,所述转发规则指示通过所述终端设备10向所述终端设备11发送报文和通过所述终端设备12向所述终端设备14发送报文。用户面功能20接收所述转发规则。S1204: The session management function 21 sends a forwarding rule to the user plane function 20, where the forwarding rule instructs to send a message to the terminal device 11 through the terminal device 10 and to send the message to the terminal device 14 through the terminal device 12 Send message. The user plane function 20 receives the forwarding rules.
所述转发规则可以指示用户面功能20将来自Master设备的报文(即下行报文或下行数据报文)发送给工业终端。例如所述转发规则可以指示所述用户面功能20通过所述终端设备10向所述终端设备11发送报文和通过终端设备12向所述终端设备14发送报文。所述转发规则还可以指示所述用户面功能20通过所述终端设备12向所述终端设备11发送报文,通过所述终端设备10向所述终端设备14发送报文。The forwarding rule may instruct the user plane function 20 to send a packet (ie, a downlink packet or a downlink data packet) from the Master device to the industrial terminal. For example, the forwarding rule may instruct the user plane function 20 to send a packet to the terminal device 11 through the terminal device 10 and to send a packet to the terminal device 14 through the terminal device 12 . The forwarding rule may further instruct the user plane function 20 to send a packet to the terminal device 11 through the terminal device 12 , and to send a packet to the terminal device 14 through the terminal device 10 .
可选的,所述转发规则还可以指示用户面功能20将来自工业终端的响应(即上行报文或上行数据报文或上行响应报文)上报给Master设备。例如所述转发规则可以指示所述用户面功能20通过所述终端设备10接收来自所述终端设备11的响应,然后将响应上报给Master设备,和通过所述终端设备12接收来自所述终端设备14的响应,然后将响应上报给Master设备。所述转发规则还可以指示所述用户面功能20通过所述终端设备12接收来自所述终端设备11的响应,然后将响应上报给Master设备,和通过所述终端设备10接收来自所述终端设备14的响应,然后将响应上报给Master设备。Optionally, the forwarding rule may further instruct the user plane function 20 to report the response from the industrial terminal (ie, an uplink packet, an uplink data packet, or an uplink response packet) to the Master device. For example, the forwarding rule may instruct the user plane function 20 to receive the response from the terminal device 11 through the terminal device 10 , then report the response to the Master device, and receive the response from the terminal device through the terminal device 12 . 14, and then report the response to the Master device. The forwarding rule may also instruct the user plane function 20 to receive the response from the terminal device 11 through the terminal device 12, then report the response to the Master device, and receive the response from the terminal device through the terminal device 10. 14, and then report the response to the Master device.
一种可能的方式中,所述会话管理功能21还可以根据Slave设备是否支持冗余传输,为所述用户面功能20制定不同的转发规则。如果Slave设备支持冗余路径,所述Slave设备可以去重报文,如果Slave设备不支持冗余传输,所述Slave设备可能不具备复制或去重报文的能力。In a possible manner, the session management function 21 may further formulate different forwarding rules for the user plane function 20 according to whether the slave device supports redundant transmission. If the slave device supports redundant paths, the slave device can deduplicate packets. If the slave device does not support redundant transmission, the slave device may not have the capability of duplicating or deduplicating packets.
在所述Slave设备支持冗余传输时,所述Master设备可以支持或不支持冗余传输。在所述Slave设备不支持冗余传输时,所述Master设备可以支持或不支持冗余传输。如果Master设备支持冗余传输,所述Master可以复制或去重报文,如果Master设备不支持冗余传输,所述Master可能不具备复制或去重报文的能力。When the Slave device supports redundant transmission, the Master device may or may not support redundant transmission. When the Slave device does not support redundant transmission, the Master device may or may not support redundant transmission. If the Master device supports redundant transmission, the Master can copy or deduplicate packets. If the Master device does not support redundant transmission, the Master may not have the ability to copy or deduplicate packets.
例如Slave设备支持冗余传输且Master设备支持冗余传输。在下行报文传输过程中,所述Master可以复制报文,将报文和复制得到的报文发送给用户面功能20,所述转发规则可以指示所述用户面功能20通过所述终端设备10向所述终端设备11发送报文和通过终端设备12向所述终端设备11发送复制得到的报文。可选的,所述终端设备11可以对两个报文进行处理。或者由于所述Slave设备可以去重报文,所述终端设备11对两个报文进行去重,然后对去重得到的报文进行处理。在上行报文传输过程中,所述Slave设备可以复制响应,将响应通过所述终端设备10发送给用户面功能20,将复制得到的响应通过所述终端设备12发送给用户面功能20,所述转发规则可以指示所述用户面功能20将接收到的响应上报给Master设备。可选的,所述Master设备可以对两个响应进行处理。或者由于所述Master设备可以去重响应,所述Master设备可以对两个响应进行去重,然后对去重得到的响应进行处理。For example, the slave device supports redundant transmission and the master device supports redundant transmission. In the process of downlink message transmission, the Master can copy the message and send the message and the copied message to the user plane function 20, and the forwarding rule can instruct the user plane function 20 to pass the terminal device 10 Send the message to the terminal device 11 and send the copied message to the terminal device 11 through the terminal device 12 . Optionally, the terminal device 11 may process two packets. Or because the Slave device can deduplicate packets, the terminal device 11 deduplicates two packets, and then processes the packets obtained by deduplication. In the process of uplink message transmission, the slave device can copy the response, send the response to the user plane function 20 through the terminal device 10, and send the copied response to the user plane function 20 through the terminal device 12. The forwarding rule may instruct the user plane function 20 to report the received response to the Master device. Optionally, the Master device may process two responses. Or because the Master device can deduplicate responses, the Master device can deduplicate two responses, and then process the responses obtained by deduplication.
又如Slave设备支持冗余传输且Master设备不支持冗余传输。在下行报文传输过程中,所述Master设备不具备复制报文的能力,将报文发送给用户面功能20,所述转发规则可以指示所述用户面功能20复制报文,通过所述终端设备10向所述终端设备11发送报文和通过终端设备12向所述终端设备11发送复制得到的报文。可选的,所述终端设备11可以对两个报文进行处理。或者由于所述Slave设备可以去重报文,所述终端设备11对两个报文进行去重,然后对去重得到的报文进行处理。在上行报文传输过程中,所述Slave设备可以复制响应,将响应通过所述终端设备10发送给用户面功能20。由于Master设备不具备去重报文的能力,所述转发规则可以指示所述用户面功能20去重响应,将去重得到的响应上报给Master设备。所述Master设备对接收到的去重得到的响应进行处理。Another example is that the slave device supports redundant transmission and the master device does not support redundant transmission. In the process of downlink message transmission, the master device does not have the capability of copying the message, and sends the message to the user plane function 20. The forwarding rule can instruct the user plane function 20 to copy the message, and the terminal sends the message to the user plane function 20. The device 10 sends the message to the terminal device 11 and sends the copied message to the terminal device 11 through the terminal device 12 . Optionally, the terminal device 11 may process two packets. Or because the Slave device can deduplicate packets, the terminal device 11 deduplicates two packets, and then processes the packets obtained by deduplication. In the process of uplink message transmission, the slave device may copy the response, and send the response to the user plane function 20 through the terminal device 10 . Since the master device does not have the ability to deduplicate packets, the forwarding rule may instruct the user plane function 20 to deduplicate a response, and report the response obtained by deduplication to the master device. The Master device processes the received response from deduplication.
又如Slave设备不支持冗余传输且Master设备支持冗余传输。在下行报文传输过程中,所述Master可以复制报文,将报文和复制得到的报文发送给用户面功能20,所述转发规则可以指示所述用户面功能20通过所述终端设备10向所述终端设备11发送报文和通过终端设备12向所述终端设备11发送复制得到的报文。可选的,所述终端设备11可以对两个报文进行处理。或者由于所述Slave设备不具备去重报文的能力,可以由服务所述终端设备11的终端设备10对两个报文进行去重,所述终端设备11对去重得到的报文进行处理。在上行报文传输过程中,所述Slave设备不具备复制响应的能力。可选的,所述终端设备11可以将响应通过所述终端设备10或所述终端设备12发送给用户面功能20,所述转发规则可以指示所述用户面功能20复制响应,将响应和复制得到的响应上报给Master设备。或者可选的,服务所述终端设备11的终端设备10可以复制响应,将响应和复制的响应发送给用户面功能20,所述转发规则可以指示将响应和复制得到的响应上报给Master设备。可选的所述Master设备可以对两个响应进行处理。或者可选的由于所述Master设备可以去重响应,所述Master设备可以对两个响应进行去重,然后对去重得到的响应进行处理。Another example is that the slave device does not support redundant transmission and the master device supports redundant transmission. In the process of downlink message transmission, the Master can copy the message and send the message and the copied message to the user plane function 20, and the forwarding rule can instruct the user plane function 20 to pass the terminal device 10 Send the message to the terminal device 11 and send the copied message to the terminal device 11 through the terminal device 12 . Optionally, the terminal device 11 may process two packets. Or because the Slave device does not have the ability to deduplicate packets, the terminal device 10 serving the terminal device 11 can deduplicate the two packets, and the terminal device 11 processes the packets obtained by deduplication. . In the process of uplink message transmission, the Slave device does not have the capability of duplicating the response. Optionally, the terminal device 11 may send the response to the user plane function 20 through the terminal device 10 or the terminal device 12, and the forwarding rule may instruct the user plane function 20 to copy the response, and copy the response and the copy. The obtained response is reported to the Master device. Alternatively, the terminal device 10 serving the terminal device 11 may copy the response, send the response and the copied response to the user plane function 20, and the forwarding rule may instruct to report the response and the copied response to the master device. The optional Master device can process two responses. Alternatively, since the Master device can deduplicate responses, the Master device can deduplicate two responses, and then process the responses obtained by deduplication.
又如Slave设备不支持冗余传输且Master设备不支持冗余传输。在下行报文传输过程中,所述Master设备不具备复制报文的能力,将报文发送给用户面功能20,所述转发规则可以指示所述用户面功能20复制报文,通过所述终端设备10向所述终端设备11发送报 文和通过终端设备12向所述终端设备11发送复制得到的报文。可选的,所述终端设备11可以对两个报文进行处理。或者由于所述Slave设备不具备去重报文的能力,可以由服务所述终端设备11的终端设备10对两个报文进行去重,所述终端设备11对去重得到的报文进行处理。在上行报文传输过程中,所述Slave设备不具备复制响应的能力。可选的,服务所述终端设备11的终端设备10可以复制响应,将响应和复制的响应发送给用户面功能20,所述转发规则可以指示所述用户面功能20去重响应,将去重得到的响应上报给Master设备。所述Master设备对接收到的去重得到的响应进行处理。Another example is that the slave device does not support redundant transmission and the master device does not support redundant transmission. In the process of downlink message transmission, the master device does not have the capability of copying the message, and sends the message to the user plane function 20. The forwarding rule can instruct the user plane function 20 to copy the message, and the terminal sends the message to the user plane function 20. The device 10 sends the message to the terminal device 11 and sends the copied message to the terminal device 11 through the terminal device 12 . Optionally, the terminal device 11 may process two packets. Or because the Slave device does not have the ability to deduplicate packets, the terminal device 10 serving the terminal device 11 can deduplicate the two packets, and the terminal device 11 processes the packets obtained by deduplication. . In the process of uplink message transmission, the Slave device does not have the capability of duplicating the response. Optionally, the terminal device 10 serving the terminal device 11 may copy the response, and send the response and the copied response to the user plane function 20, and the forwarding rule may instruct the user plane function 20 to deduplicate the response and deduplicate the response. The obtained response is reported to the Master device. The Master device processes the received response from deduplication.
S1205:所述会话管理功能21为终端设备10建立并向所述终端设备10发送上下行报文转发规则,以及为终端设备12建立并向所述终端设备12发送上下行报文转发规则。所述终端设备10和所述终端设备12分别接收上下行报文转发规则。S1205: The session management function 21 establishes and sends an uplink and downlink packet forwarding rule for the terminal device 10 and the terminal device 10, and establishes and sends an uplink and downlink packet forwarding rule for the terminal device 12. The terminal device 10 and the terminal device 12 respectively receive uplink and downlink packet forwarding rules.
该S1205的过程可以看作所述会话管理功能21为具备可靠性配对关系的UE创建可靠性冗余传输路径。也就是说,所述会话管理功能21为具备可靠性配对关系的UE在内部建立数据报文的路由映射。在该S1205中,所述会话管理功能21可以根据UE服务的Slave设备是否支持冗余传输,为UE差异化的制定转发规则。其中针对主备UE来说,所述网络设备为主UE建立的上下文报文转发规则和为备UE建立的上下行报文转发规则可以相同,可以不同。The process of S1205 can be regarded as the session management function 21 creating a reliable redundant transmission path for UEs having a reliable pairing relationship. That is to say, the session management function 21 internally establishes a routing map of data packets for UEs with a reliable pairing relationship. In this S1205, the session management function 21 may formulate a differentiated forwarding rule for the UE according to whether the slave device served by the UE supports redundant transmission. For the active and standby UEs, the context packet forwarding rules established by the network device for the active UE and the uplink and downlink packet forwarding rules established for the standby UE may be the same or different.
在一个实施例中,Slave设备(如终端设备11和/或终端设备14)支持冗余传输。在此场景下,Slave设备可以进行上下报文的复制和去重。所述Master设备可以支持或不支持冗余传输。In one embodiment, slave devices (eg, terminal device 11 and/or terminal device 14) support redundant transmission. In this scenario, the slave device can replicate and deduplicate context packets. The Master device may or may not support redundant transmission.
例如,终端设备10为主UE,终端设备12为备UE,所述Master设备向终端设备11发送报文。所述会话管理功能21为所述终端设备10建立的下行报文转发规则可以为:如果终端设备10接收到发送给终端设备11的报文,所述终端设备10将所述报文发送给终端设备11。为终端设备12建立的下行报文转发规则可以为:如果终端设备12接收到发送给终端设备11的报文,所述终端设备14将所述报文发送给终端设备11。即所述Master设备可以通过所述主UE和所述备UE向所述主UE服务的Slave设备发送下行报文。这里可以看作为主UE和备UE建立的下行报文发规则相同。For example, the terminal device 10 is the master UE, the terminal device 12 is the standby UE, and the master device sends a message to the terminal device 11 . The downlink packet forwarding rule established by the session management function 21 for the terminal device 10 may be: if the terminal device 10 receives a packet sent to the terminal device 11, the terminal device 10 sends the packet to the terminal device 11. The downlink packet forwarding rule established for the terminal device 12 may be: if the terminal device 12 receives a packet sent to the terminal device 11 , the terminal device 14 sends the packet to the terminal device 11 . That is, the Master device may send a downlink message to the Slave device served by the master UE through the master UE and the standby UE. Here, it can be considered that the downlink packet sending rules established by the master UE and the backup UE are the same.
由于主UE和备UE向所述主UE服务的Slave设备发送了相同的下行报文,Slave设备可以对接收到的下行报文进行去重。Since the master UE and the backup UE send the same downlink message to the slave device served by the master UE, the slave device can deduplicate the received downlink message.
例如,终端设备10为主UE,终端设备12为备UE,所述终端设备11向所述Master设备发送响应(即上行报文)。为终端设备10建立的上行报文转发规则可以为:如果终端设备10接收到终端设备11发送的响应,所述终端设备10将所述响应发送给所述Master设备。为终端设备12建立的上行报文转发规则可以为:如果终端设备12接收到终端设备11发送的响应,所述终端设备12将所述响应发送给所述Master设备。即所述Master设备可以通过所述主UE和所述备UE接收来自所述主UE服务的Slave设备的上行报文。这里可以看作为主UE和备UE建立的下行数据报文的转发规则相同。For example, the terminal device 10 is the master UE, the terminal device 12 is the standby UE, and the terminal device 11 sends a response (ie, an uplink message) to the master device. The uplink packet forwarding rule established for the terminal device 10 may be: if the terminal device 10 receives a response sent by the terminal device 11, the terminal device 10 sends the response to the Master device. The uplink packet forwarding rule established for the terminal device 12 may be: if the terminal device 12 receives a response sent by the terminal device 11, the terminal device 12 sends the response to the Master device. That is, the Master device can receive the uplink message from the Slave device served by the master UE through the master UE and the standby UE. Here, it can be considered that the forwarding rules of downlink data packets established by the master UE and the backup UE are the same.
Slave设备可以对上行报文进行复制,然后向主UE和备UE发送相同的上行报文。The slave device can copy the uplink packets, and then send the same uplink packets to the master UE and the standby UE.
在另一个实施例中,Slave设备(如终端设备11和/或终端设备14)不支持冗余传输。在此场景下,UPF和/或UE可以进行上下报文的复制和去重。所述Master设备可以支持或不支持冗余传输。In another embodiment, the slave devices (eg, terminal device 11 and/or terminal device 14) do not support redundant transmission. In this scenario, the UPF and/or the UE may perform duplication and deduplication of the context message. The Master device may or may not support redundant transmission.
例如,终端设备10为主UE,终端设备12为备UE,所述Master设备向终端设备11 发送报文。所述Master设备为所述终端设备12建立的下行报文转发规则可以为:如果终端设备12接收到发送给终端设备11的报文,所述终端设备12将所述报文发送给终端设备10。为终端设备10建立的下行报文转发规则可以为:终端设备10将用户面功能20发送的报文和终端设备12发送的报文进行去重,然后将去重后的报文发送给所述终端设备11。即所述Master设备可以通过所述主UE和所述备UE向所述主UE服务的Slave设备发送下行报文。这里为主UE和备UE建立的下行报文转发规则不同。For example, the terminal device 10 is the master UE, the terminal device 12 is the standby UE, and the master device sends a message to the terminal device 11 . The downlink packet forwarding rule established by the Master device for the terminal device 12 may be: if the terminal device 12 receives a packet sent to the terminal device 11, the terminal device 12 sends the packet to the terminal device 10. . The downlink packet forwarding rule established for the terminal device 10 may be: the terminal device 10 deduplicates the packet sent by the user plane function 20 and the packet sent by the terminal device 12, and then sends the deduplicated packet to the Terminal equipment 11 . That is, the Master device may send a downlink message to the Slave device served by the master UE through the master UE and the standby UE. Here, the downlink packet forwarding rules established for the master UE and the backup UE are different.
例如,终端设备10为主UE,终端设备12为备UE,所述终端设备11向所述Master设备发送响应(即上行报文)。为终端设备10建立的上行报文转发规则可以为:如果终端设备10接收到终端设备11发送的响应,所述终端设备10将所述响应发送给用户面功能20,可选的,所述终端设备10将所述响应进行复制,将复制的响应发送给终端设备12。为终端设备12建立的上行报文转发规则可以为:如果终端设备12接收到终端设备11发送的响应,所述终端设备12将所述响应发送给用户面功能20。即所述Master设备可以通过所述主UE和可选的所述备UE接收来所述主UE服务的Slave设备的数据报文。这里为主UE和备UE建立的上行报文转发规则不同。For example, the terminal device 10 is the master UE, the terminal device 12 is the standby UE, and the terminal device 11 sends a response (ie, an uplink message) to the master device. The uplink packet forwarding rule established for the terminal device 10 may be: if the terminal device 10 receives a response sent by the terminal device 11, the terminal device 10 sends the response to the user plane function 20, optionally, the terminal The device 10 replicates the response, and sends the replicated response to the terminal device 12 . The uplink packet forwarding rule established for the terminal device 12 may be: if the terminal device 12 receives a response sent by the terminal device 11 , the terminal device 12 sends the response to the user plane function 20 . That is, the Master device may receive, through the master UE and the optional standby UE, the data packets of the slave devices served by the master UE. Here, the uplink packet forwarding rules established for the active UE and the standby UE are different.
可选的,所述会话管理功能21可以向所述终端设备10发送第一信息,所述第一信息指示所述终端设备10将来自所述用户面功能20的报文和来自所述终端设备12的报文去重后发送给所述终端设备11,即终端设备10根据该第一信息,对来自用户面功能20的报文和来自终端设备12的报文去重后发送给终端设备11。其中所述会话管理功能21可以通过一个信元,或多个信元指示所述终端设备10将来自所述用户面功能20的报文和来自所述终端设备12的报文去重后发送给所述终端设备11。在通过多个信元指示的情况下,所述多个信元可以称为所述第一信息。Optionally, the session management function 21 may send first information to the terminal device 10, where the first information instructs the terminal device 10 to combine the packets from the user plane function 20 with the packets from the terminal device 10. 12 is deduplicated and sent to the terminal device 11, that is, the terminal device 10 deduplicates the packet from the user plane function 20 and the packet from the terminal device 12 and sends them to the terminal device 11 according to the first information. . The session management function 21 may instruct the terminal device 10 to deduplicate the packet from the user plane function 20 and the packet from the terminal device 12 through one cell or multiple cells and send it to the terminal device 11 . In the case of indicating by a plurality of information elements, the plurality of information elements may be referred to as the first information.
所述网络设备可以为具备可靠性配对关系的UE之间建立直通链路(如边链路SideLink)。所述网络设备可以根据具备可靠性配对关系的UE之间的网络拓扑确定是否为UE之间建立直通链路。以具备可靠性配对关系的UE为主备UE为例,如果主备UE之间存在可用的网络拓扑连接,所述网络设备可以不为主备UE之间建立直通链路,如果主备UE之间不存在可用的网络拓扑连接,所述网络设备可以为主备UE之间建立直通链路。其中所述会话管理功能21可以在确定Slave设备支持冗余传输时,确定主备UE之间存在可用的网络拓扑连接,在确定Slave设备不支持冗余传输时,确定主备UE之间不存在可用的网络拓扑连接。Slave设备支持冗余传输时,Slave设备的通信端口可以支持双向传输,例如支持主UE->Slave设备->备UE,且支持备UE->Slave设备->主UE,此时如果主备UE之间连接有Slave设备,可以看作主备UE之间存在可用的网络拓扑连接。反之Slave设备不支持冗余传输时,Slave设备的通信端口不支持双向传输,例如仅支持主UE->Slave设备->备UE,或仅支持备UE->Slave设备->主UE,此时如果主备UE之间连接有Slave设备,可以看作主备UE之间不存在可用的网络拓扑连接。可选的,所述会话管理功能21向所述终端设备10发送第二信息,所述第二信息指示所述终端设备10建立与所述终端设备12之间的传输路径。所述会话管理功能21向所述终端设备12发送第三信息,所述第三信息指示所述终端设备12建立与所述终端设备10之间的传输路径。The network device may establish a direct link (such as a side link SideLink) between UEs having a reliable pairing relationship. The network device may determine whether to establish a direct link between the UEs according to the network topology between the UEs having the reliable pairing relationship. Taking the UEs with the reliability pairing relationship as the master and backup UEs as an example, if there is an available network topology connection between the master and backup UEs, the network device may not establish a direct link between the master and backup UEs. There is no available network topology connection between the two, and the network device can establish a direct link between the active and standby UEs. The session management function 21 may determine that there is an available network topology connection between the active and standby UEs when determining that the slave device supports redundant transmission, and determine that there is no network topology connection between the active and standby UEs when determining that the slave device does not support redundant transmission Available network topology connections. When the slave device supports redundant transmission, the communication port of the slave device can support bidirectional transmission, for example, it supports master UE->Slave device->standby UE, and supports standby UE->Slave device->master UE. Slave devices are connected between them, which can be regarded as an available network topology connection between the active and standby UEs. Conversely, when the Slave device does not support redundant transmission, the communication port of the Slave device does not support bidirectional transmission. For example, only the main UE->Slave device->Slave UE is supported, or only the standby UE->Slave device->The main UE is supported. At this time, If a slave device is connected between the active and standby UEs, it can be considered that there is no available network topology connection between the active and standby UEs. Optionally, the session management function 21 sends second information to the terminal device 10 , where the second information instructs the terminal device 10 to establish a transmission path with the terminal device 12 . The session management function 21 sends third information to the terminal device 12 , where the third information instructs the terminal device 12 to establish a transmission path with the terminal device 10 .
本申请实施例中会话管理功能为具备可靠性配对关系的多个终端设备创建可靠性冗余传输路径,从而保障终端设备通过无线网络接入时能够保障可靠性传输。The session management function in the embodiment of the present application creates a reliable redundant transmission path for multiple terminal devices having a reliable pairing relationship, so as to ensure reliable transmission when the terminal device accesses through a wireless network.
下面以支持EtherCAT协议的串行工业终端接入5G网络作为具体的实施例对上述图 12所示的实施例进行说明。其中工业终端D通过集成无线模组或外接无线设备(如CPE)接入无线网络,通过无线网络与Master设备之间进行业务交互。一般的,通信模型如图13中的(a)所示,传输路径为Master->UE1->D1->D2->D3->D4->D3->D2->D1->UE1->Master。本申请实施例的通信模型如图13中的(b)所示,UE1和UE2具备可靠性配对关系,在5G网络内部形成环路冗余传输机制,UE1和UE2可以接入相同或不同的接入网设备,UE1和UE2可以接入相同或不同的用户面功能,在此不做限定,保障5G网络的传输可靠性。The above-mentioned embodiment shown in FIG. 12 is described below by taking the serial industrial terminal supporting the EtherCAT protocol accessing the 5G network as a specific embodiment. The industrial terminal D accesses the wireless network through an integrated wireless module or an external wireless device (such as a CPE), and conducts business interaction with the Master device through the wireless network. In general, the communication model is shown in (a) of Figure 13, and the transmission path is Master->UE1->D1->D2->D3->D4->D3->D2->D1->UE1->Master . The communication model of the embodiment of the present application is shown in (b) of FIG. 13 . UE1 and UE2 have a reliability pairing relationship, and a loop redundant transmission mechanism is formed inside the 5G network. UE1 and UE2 can access the same or different connections. The network access devices, UE1 and UE2 can access the same or different user plane functions, which are not limited here to ensure the transmission reliability of the 5G network.
基于图13中的(b)所示的通信模型,对会话管理功能SMF创建冗余路径进行说明,参见图14,包括以下步骤:Based on the communication model shown in (b) of FIG. 13 , the creation of redundant paths by the session management function SMF will be described, referring to FIG. 14 , including the following steps:
S1401:UDM保存有UE1(如上述终端设备10)和UE2(如上述终端设备12)的签约数据,UE1的签约数据中签约有与UE1具备可靠性配对关系的UE的信息,UE2的签约数据中签约有与UE2具备可靠性配对关系的UE的信息。S1401: The UDM stores the subscription data of UE1 (such as the above-mentioned terminal device 10) and UE2 (such as the above-mentioned terminal device 12). The subscription data of UE1 contains information about UEs that have a reliable pairing relationship with UE1, and the subscription data of UE2 Information about UEs that have a reliable pairing relationship with UE2 is subscribed.
例如UE1和UE2具备可靠性配对关系,UE1的签约数据中签约有UE2的信息,UE2的签约数据中签约有UE1的信息。可选的,可靠性配对关系中还可以指示UE的主备关系,例如,UE1为主UE,UE2为备UE。For example, UE1 and UE2 have a reliability pairing relationship, the subscription data of UE1 has subscription information of UE2, and the subscription data of UE2 has subscription information of UE1. Optionally, the reliability pairing relationship may also indicate the master-slave relationship of the UE, for example, UE1 is the master UE and UE2 is the backup UE.
S1402:UE1向SMF发送会话创建请求,所述会话创建请求中携带UE1下属的或服务的Slave设备(如终端设备11)的信息。例如会话创建请求中携带UE1服务的Slave设备的MAC地址。S1402: UE1 sends a session creation request to the SMF, where the session creation request carries information of a slave device (such as terminal device 11) subordinate to or served by UE1. For example, the session creation request carries the MAC address of the slave device served by UE1.
S1403:UE2向SMF发送会话创建请求,所述会话创建请求中携带UE2下属的或服务的Slave设备(如终端设备14)的信息。例如会话创建请求中携带UE2服务的Slave设备的MAC地址。S1403: The UE2 sends a session creation request to the SMF, where the session creation request carries the information of the slave device (such as the terminal device 14) subordinate to or serving the UE2. For example, the session creation request carries the MAC address of the slave device served by UE2.
S1404:SMF从UDM中获取UE1的签约数据和UE2的签约数据,SMF根据UE1的签约数据和UE2的签约数据,确定UE1和UE2之间具备可靠性配对关系。S1404: The SMF obtains the subscription data of the UE1 and the subscription data of the UE2 from the UDM, and the SMF determines that there is a reliable pairing relationship between the UE1 and the UE2 according to the subscription data of the UE1 and the subscription data of the UE2.
可选的,SMF根据UE1的签约数据和UE2的签约数据,确定UE1为主UE,UE2为备UE。Optionally, the SMF determines that UE1 is the master UE and UE2 is the standby UE according to the subscription data of UE1 and the subscription data of UE2.
S1405:SMF在用户面功能UPF上建立或修改UE1和UE2的转发规则。S1405: The SMF establishes or modifies the forwarding rules of UE1 and UE2 on the user plane function UPF.
例如,SMF通过N4会话创建或修改消息分别创建或修改UPF上的有关UE1和UE2的上下行报文转发规则(例如PDU会话上下文或PDR等)。例如SMF可以通过N4会话创建或修改消息将UE1和UE2的PDU会话对应的下行入端口标识和上行出端口标识发送给UPF。其中下行入端口标识和上行出端口标识可以用端口号或VLAN标签表示。For example, the SMF creates or modifies the uplink and downlink packet forwarding rules (eg, PDU session context or PDR, etc.) on the UPF related to UE1 and UE2 respectively through the N4 session creation or modification message. For example, the SMF may send the downlink ingress port identifiers and uplink egress port identifiers corresponding to the PDU sessions of UE1 and UE2 to the UPF through the N4 session creation or modification message. The downlink inbound port identifier and the uplink outbound port identifier may be represented by port numbers or VLAN tags.
在UE1的上下报文转发规则中,记录有UE2是与UE1具备可靠性配对关系的UE,可选的,记录UE2是UE1的备UE。在UE2的上下报文转发规则中,记录有UE1是与UE2具备可靠性配对关系的UE,可选的,记录UE1是UE2的主UE。In the context message forwarding rule of UE1, it is recorded that UE2 is a UE that has a reliable pairing relationship with UE1, and optionally, it is recorded that UE2 is a standby UE of UE1. In the context message forwarding rule of UE2, it is recorded that UE1 is a UE that has a reliable pairing relationship with UE2, and optionally, it is recorded that UE1 is the master UE of UE2.
在一个可能的场景中,Slave设备支持冗余路径。In one possible scenario, the slave device supports redundant paths.
如图15中的(a)所示,为UPF内保存的UE1和UE2的下行报文转发规则。UPF通过N6端口接收到下行报文,根据PDR和下行报文的端口标识(还可以结合源MAC地址S-MAC和/或目的MAC地址D-MAC),匹配传输所述下行报文的UE1和/或UE2的PDU会话,基于FAR1通过N3端口将所述PDU会话发送给UE1和/或UE2。此时,UE1和UE2的PDU会话对应的下行入端口标识为N3。As shown in (a) of FIG. 15 , it is the downlink packet forwarding rules of UE1 and UE2 stored in the UPF. The UPF receives the downlink packet through the N6 port, and matches the UE1 and UE1 that transmit the downlink packet according to the PDR and the port identifier of the downlink packet (which can also be combined with the source MAC address S-MAC and/or the destination MAC address D-MAC). /or the PDU session of UE2, the PDU session is sent to UE1 and/or UE2 through the N3 port based on FAR1. At this time, the downlink ingress identifier corresponding to the PDU session of UE1 and UE2 is N3.
如图15中的(b)所示,为UPF内保存的UE1和UE2的上行报文转发规则。UPF通过N3端口接收到上行报文根据PDR和上行报文的端口标识,确定所述上行报文的上行出 端口标识,通过N6端口将来自UE1的上行报文发送给SMF,并通过N6端口将来自UE2的上行报文发送给SMF。其中上行报文的端口标识可以为N3标签,如隧道端点标识(tunnel end point identifier,TEID)。As shown in (b) of FIG. 15 , it is the uplink packet forwarding rules of UE1 and UE2 stored in the UPF. The UPF receives the uplink packet through the N3 port and determines the uplink outgoing port identifier of the uplink packet according to the PDR and the port identifier of the uplink packet, sends the uplink packet from UE1 to the SMF through the N6 port, and sends the uplink packet through the N6 port to the SMF. The uplink message from UE2 is sent to SMF. The port identifier of the uplink packet may be an N3 label, such as a tunnel end point identifier (TEID).
在另一个可能的场景中,Slave设备不支持冗余传输。In another possible scenario, the slave device does not support redundant transmission.
如图16中的(a)所示,为UPF内保存的UE1和UE2的下行报文转发规则。在UPF内的UE1的上下行报文转发规则中,SMF指示UPF将通过N6端口接收到的下行报文进行复制,并将所述下行报文发送给UE1和UE2。As shown in (a) of FIG. 16 , it is the downlink packet forwarding rules of UE1 and UE2 stored in the UPF. In the uplink and downlink packet forwarding rules of UE1 in the UPF, the SMF instructs the UPF to copy the downlink packets received through the N6 port, and send the downlink packets to UE1 and UE2.
如图16中的(b)所示,为UPF内保存的UE1和UE2的上行转发规则。在UPF内的UE1的上行报文转发规则中,SMF指示UPF将通过N3端口接收到的来自UE1的上行报文和来自UE2的上行报文进行去重,并通过N6端口将去重后的上行报文发送给SMF。在UPF内的UE2的转发规则中,SMF指示UPF将通过N3端口接收到的上行报文转发给UE1。SMF将UE1服务的Slave设备的地址信息或者一个组播/广播/特殊的地址作为UE2的转发规则中的报文过滤条件包含于UE2的转发规则中。As shown in (b) of FIG. 16 , it is the uplink forwarding rules of UE1 and UE2 stored in the UPF. In the uplink packet forwarding rule of UE1 in the UPF, the SMF instructs the UPF to deduplicate the uplink packets from UE1 and UE2 received through the N3 port, and deduplicate the deduplicated uplink packets through the N6 port. The message is sent to the SMF. In the forwarding rule of UE2 in the UPF, the SMF instructs the UPF to forward the uplink packet received through the N3 port to the UE1. The SMF includes the address information of the slave device served by UE1 or a multicast/broadcast/special address as the packet filtering condition in the forwarding rule of UE2 in the forwarding rule of UE2.
S1406:SMF向UE1发送会话创建响应消息,所述会话创建响应消息包括UE2的地址和/或UE2下属或服务的Slave设备的地址。可选的,所述会话创建响应消息中指示UE1是主UE和/或指示UE2是备UE。S1406: The SMF sends a session creation response message to UE1, where the session creation response message includes the address of UE2 and/or the address of a slave device subordinate to or served by UE2. Optionally, the session creation response message indicates that UE1 is the master UE and/or indicates that UE2 is the standby UE.
S1407:SMF向UE2发送会话创建响应消息,所述会话创建响应消息包括UE1的地址和/或UE1下属或服务的Slave设备的地址。可选的,所述会话创建响应消息中指示UE1是主UE和/或指示UE2是备UE。S1407: The SMF sends a session creation response message to UE2, where the session creation response message includes the address of UE1 and/or the address of a slave device subordinate to or served by UE1. Optionally, the session creation response message indicates that UE1 is the master UE and/or indicates that UE2 is the standby UE.
S1408:UE1和UE2根据从SMF接收到的会话创建响应消息创建内部的数据转发规则。S1408: UE1 and UE2 create internal data forwarding rules according to the session creation response message received from the SMF.
在一个可能的场景中,Slave设备支持冗余传输,如图17所示。In one possible scenario, the slave device supports redundant transmission, as shown in Figure 17.
在UE2的下行报文转发规则中,如果UE2接收到发送给UE1服务的Slave设备的下行报文,UE2将所述下行报文发送给UE1服务的Slave设备。UE2可以根据S1406中所述会话创建响应消息包括的UE1的地址和/或UE1下属或服务的Slave设备的地址,确定下行报文是SMF发送给UE1服务的Slave设备的数据报文。In the downlink packet forwarding rule of UE2, if UE2 receives a downlink packet sent to the slave device served by UE1, UE2 sends the downlink packet to the slave device served by UE1. UE2 may determine that the downlink packet is a data packet sent by SMF to the slave device served by UE1 according to the address of UE1 and/or the address of the slave device subordinate to or served by UE1 included in the session creation response message in S1406.
在UE1的下行报文转发规则中,如果UE1接收到发送给UE1服务的Slave设备的下行报文,UE1将所述下行报文发送给UE1服务的Slave设备。In the downlink packet forwarding rule of UE1, if UE1 receives a downlink packet sent to the slave device served by UE1, UE1 sends the downlink packet to the slave device served by UE1.
在UE2的上行报文的转发规则中,如果UE2接收到UE1服务的Slave设备发送的上行报文,UE2将所述上行报文发送给基站/UPF/SMF等网络设备。In the forwarding rule of the uplink message of the UE2, if the UE2 receives the uplink message sent by the slave device served by the UE1, the UE2 sends the uplink message to the network device such as the base station/UPF/SMF.
在UE1的上行报文转发规则中,如果UE1接收到UE1服务的Slave设备发送的上行报文,UE1将所述上行报文发送给基站/UPF/SMF等网络设备。In the uplink packet forwarding rule of UE1, if UE1 receives an uplink packet sent by a slave device served by UE1, UE1 sends the uplink packet to a network device such as a base station/UPF/SMF.
在另一个可能的场景中,Slave设备不支持冗余路径,如图18所示。In another possible scenario, the slave device does not support redundant paths, as shown in Figure 18.
在UE2的下行报文转发规则中,如果UE2到发送给UE1服务的Slave设备的下行报文,UE2将所述下行报文发送给UE1。In the downlink message forwarding rule of UE2, if UE2 sends a downlink message to the Slave device served by UE1, UE2 sends the downlink message to UE1.
在UE1的下行报文转发规则中,如果UE1接收到来自UPF的下行报文和来自UE2的下行报文,将来自UPF的下行报文和来自UE2的下行报文进行去重,将去重后的下行报文发送给UE1服务的Slave设备。In the downlink packet forwarding rule of UE1, if UE1 receives the downlink packet from UPF and the downlink packet from UE2, it deduplicates the downlink packet from UPF and the downlink packet from UE2, and deduplicates the downlink packet from UE2. The downlink message is sent to the Slave device served by UE1.
在UE2的上行报文转发规则中,如果UE2接收到UE1发送的上行报文,UE2将所述上行报文发送给基站/UPF/SMF等网络设备。In the uplink packet forwarding rule of UE2, if UE2 receives an uplink packet sent by UE1, UE2 sends the uplink packet to network devices such as a base station/UPF/SMF.
在UE1的上行报文转发规则中,如果UE1接收到UE1服务的Slave设备发送的上行 报文,UE1将所述上行报文发送给网络设备,另外UE1将所述上行报文进行复制,将复制得到的上行报文发送给UE2。In the uplink packet forwarding rule of UE1, if UE1 receives an uplink packet sent by a slave device served by UE1, UE1 sends the uplink packet to the network device, and UE1 replicates the uplink packet, and will copy the uplink packet to the network device. The obtained uplink message is sent to UE2.
在本申请实施例中,支持EtherCAT协议的工业终端通过5G网络进行通信的实际组网场景下,实现了工业终端通过无线网络接入时能够保障可靠性传输,提高无线网络的可靠性。In the embodiment of the present application, in the actual networking scenario in which the industrial terminal supporting the EtherCAT protocol communicates through the 5G network, it is realized that the industrial terminal can ensure reliable transmission when accessing through the wireless network, and improve the reliability of the wireless network.
在上述创建冗余路径的实施例的基础上,当数据传输链路上的节点未发生故障时,本申请实施例还提供了一种基于上述冗余路径的可靠性传输过程。On the basis of the foregoing embodiment for creating a redundant path, when the node on the data transmission link is not faulty, the embodiment of the present application further provides a reliable transmission process based on the foregoing redundant path.
在一个可能的场景中,Slave设备支持冗余传输,结合图17进行说明,UE1为终端设备10,UE2为终端设备12,D1为终端设备11,D4为终端设备14。In a possible scenario, the slave device supports redundant transmission. For illustration in conjunction with FIG. 17 , UE1 is terminal device 10 , UE2 is terminal device 12 , D1 is terminal device 11 , and D4 is terminal device 14 .
Master设备向用户面功能20发送报文30,所述用户面功能20将所述报文30发送给终端设备10和所述终端设备12。所述终端设备10将所述报文30发送给终端设备11,所述终端设备11接收来自所述终端设备10的报文30。所述终端设备12将所述报文30发送给终端设备14,所述终端设备14通过D3、D2将所述报文30发送给终端设备11,所述终端设备11接收来自所述终端设备12的报文30。The master device sends a message 30 to the user plane function 20 , and the user plane function 20 sends the message 30 to the terminal device 10 and the terminal device 12 . The terminal device 10 sends the message 30 to the terminal device 11 , and the terminal device 11 receives the message 30 from the terminal device 10 . The terminal device 12 sends the message 30 to the terminal device 14, the terminal device 14 sends the message 30 to the terminal device 11 through D3 and D2, and the terminal device 11 receives the message from the terminal device 12. message 30.
一种可能的方式,所述终端设备11针对来自所述终端设备10的所述报文30,向所述终端设备10发送响应33。所述终端设备10将所述响应33发送给用户面功能20,所述用户面功能20将所述响应33发送给Master设备。所述终端设备11针对来自所述终端设备12的所述报文30,通过D2、D3、终端设备14向终端设备12发送响应34。所述终端设备12将所述响应34发送给Master设备。In a possible manner, the terminal device 11 sends a response 33 to the terminal device 10 for the message 30 from the terminal device 10 . The terminal device 10 sends the response 33 to the user plane function 20, and the user plane function 20 sends the response 33 to the Master device. The terminal device 11 sends a response 34 to the terminal device 12 through D2, D3, and the terminal device 14 for the message 30 from the terminal device 12 . The terminal device 12 sends the response 34 to the Master device.
另一种可能的方式,所述终端设备11可以对来自所述终端设备10的所述报文30和来自所述终端设备12的所述报文30进行去重。所述终端设备11针对去重后的所述报文30,向所述终端设备10发送响应38。所述终端设备10将所述响应38发送给用户面功能20,所述用户面功能20将所述响应28发送给Master设备。可选的,所述终端设备11还可以对所述响应38进行复制,得到响应39。所述终端设备11通过D2、D3、终端设备14向所述终端设备12发送所述响应39。所述终端设备12将所述响应39发送给Master设备。In another possible manner, the terminal device 11 may de-duplicate the packet 30 from the terminal device 10 and the packet 30 from the terminal device 12 . The terminal device 11 sends a response 38 to the terminal device 10 for the packet 30 after deduplication. The terminal device 10 sends the response 38 to the user plane function 20, and the user plane function 20 sends the response 28 to the Master device. Optionally, the terminal device 11 may also copy the response 38 to obtain the response 39 . The terminal device 11 sends the response 39 to the terminal device 12 through D2, D3, and the terminal device 14. The terminal device 12 sends the response 39 to the Master device.
所述响应39由所述响应38复制得到,所述响应30中包括的数据与所述响应38中包括的数据可以完全相同,或者可以部分相同。The response 39 is copied from the response 38, and the data included in the response 30 and the data included in the response 38 may be identical, or may be partially identical.
在另一个可能的场景中,Slave设备不支持冗余传输,结合图18进行说明,UE1为终端设备10,UE2为终端设备12,D1为终端设备11,D4为终端设备14,终端设备10和终端设备12之间建立有传输路径。In another possible scenario, the Slave device does not support redundant transmission. For illustration in conjunction with FIG. 18, UE1 is the terminal device 10, UE2 is the terminal device 12, D1 is the terminal device 11, D4 is the terminal device 14, and the terminal device 10 and A transmission path is established between the terminal devices 12 .
Master设备向用户面功能20发送报文30,所述用户面功能20将所述报文30发送给终端设备10和终端设备12。所述终端设备10接收来自用户面功能20的报文30。所述终端设备12将所述报文30发送给所述终端设备10,所述终端设备10接收来自所述终端设备12的所述报文30。所述终端设备10对来自所述用户面功能20的报文30和来自所述终端设备12的报文30进行去重。所述终端设备10将去重后的报文发送给所述终端设备11。The master device sends the message 30 to the user plane function 20 , and the user plane function 20 sends the message 30 to the terminal device 10 and the terminal device 12 . The terminal device 10 receives the message 30 from the user plane function 20 . The terminal device 12 sends the message 30 to the terminal device 10 , and the terminal device 10 receives the message 30 from the terminal device 12 . The terminal device 10 deduplicates the packet 30 from the user plane function 20 and the packet 30 from the terminal device 12 . The terminal device 10 sends the deduplicated packet to the terminal device 11 .
所述终端设备11接收来自终端设备10的去重后的报文30,针对来自所述终端设备10的去重后的报文30,向终端设备10发送响应36。所述终端设备10将所述响应36发送给用户面功能20,所述用户面功能20将所述响应36发送给Master设备。The terminal device 11 receives the deduplicated packet 30 from the terminal device 10 , and sends a response 36 to the terminal device 10 for the deduplicated packet 30 from the terminal device 10 . The terminal device 10 sends the response 36 to the user plane function 20, and the user plane function 20 sends the response 36 to the Master device.
所述终端设备11通过终端设备10接收来自终端设备12的报文30,针对来自所述终 端设备12的报文30,向终端设备10发送响应37。所述终端设备10将所述响应37发送给终端设备12,所述终端设备12将所述响应37发送给用户面功能20,所述用户面功能20将所述响应37发送给Master设备。The terminal device 11 receives the message 30 from the terminal device 12 through the terminal device 10, and sends a response 37 to the terminal device 10 for the message 30 from the terminal device 12. The terminal device 10 sends the response 37 to the terminal device 12, the terminal device 12 sends the response 37 to the user plane function 20, and the user plane function 20 sends the response 37 to the Master device.
在上述创建冗余路径的实施例的基础上,当数据传输链路上的节点发生故障时,本申请实施例还提供了一种基于上述创建的冗余路径的可靠性传输过程,可以实现数据传输的可靠性保护。数据传输链路的故障可能的情况如图19所示,故障可能发生在:(1)移动网络接入部分,如UE和UPF之间,(2)UE(如工业CPE等),(3)Slave设备。本申请实施例中对于故障发生时的可靠性传输过程可以应用于如图17所示的架构,也可以应用于如图18所示的架构。On the basis of the above-mentioned embodiment of creating a redundant path, when a node on a data transmission link fails, the embodiment of the present application also provides a reliable transmission process based on the above-created redundant path, which can realize data transmission Transmission reliability protection. The possible failures of the data transmission link are shown in Figure 19. The failure may occur in: (1) the mobile network access part, such as between UE and UPF, (2) UE (such as industrial CPE, etc.), (3) Slave device. The reliable transmission process when a fault occurs in this embodiment of the present application can be applied to the architecture shown in FIG. 17 or the architecture shown in FIG. 18 .
(1)移动网络接入部分发生故障,如UE和网络设备之间发生故障。假设UE1和UPF之间发生故障,Master设备将下行报文发送给UE2(如终端设备12),UE2将接收到下行报文发送给UE1,因此即使UE1侧的移动网络接入部分发生故障,UE1还可以从UE2侧的移动网络接入链路接收到Master设备发送的下行报文。对于Slave设备D1发送给Master设备的上行报文,UE1将接收到上行报文发送给UE2,UE2通过移动网络将所述上行报文发送给Master设备。(1) A failure occurs in the access part of the mobile network, such as a failure between the UE and the network equipment. Assuming a failure occurs between UE1 and UPF, the Master device sends downlink packets to UE2 (such as terminal device 12), and UE2 sends the received downlink packets to UE1. Therefore, even if the mobile network access part on UE1 side fails, UE1 The downlink message sent by the Master device may also be received from the mobile network access link on the UE2 side. For the uplink message sent by the slave device D1 to the master device, the UE1 sends the received uplink message to the UE2, and the UE2 sends the uplink message to the master device through the mobile network.
可选的,UE1侧移动网络接入不可用的状态可以通知给UE2。例如UE1、控制面网元或用户面网元向UE2通知UE1侧移动网络接入不可用。Optionally, the UE1 side mobile network access unavailable state may be notified to UE2. For example, UE1, a control plane network element or a user plane network element notifies UE2 that mobile network access on the UE1 side is unavailable.
当UE2确定UE1侧移动网络接入不可用时,UE2可以将下行报文直接发送给Slave设备。Slave设备可以将上行报文直接发送给UE2。When the UE2 determines that the mobile network access on the UE1 side is unavailable, the UE2 can directly send the downlink message to the Slave device. The slave device can directly send uplink packets to UE2.
在Slave设备支持冗余传输的场景下:In the scenario where the slave device supports redundant transmission:
下行报文的传输过程可以包括:Master->UPF->AN->UE2->D4->D3->D2->D1,或者Master->UPF->AN->UE2->D4->D3->D2->D1->UE1->D1。即终端设备11(即D1)可以通过工业终端D接收来自终端设备12(即UE2)的报文35。The transmission process of downlink packets may include: Master->UPF->AN->UE2->D4->D3->D2->D1, or Master->UPF->AN->UE2->D4->D3- >D2->D1->UE1->D1. That is, the terminal device 11 (ie, D1 ) can receive the packet 35 from the terminal device 12 (ie, UE2 ) through the industrial terminal D.
上行报文的传输过程可以包括:D1->D2->D3->D4->UE2->AN->UPF->Master,或者D1->UE1->D1->D2->D3->D4->UE2->AN->UPF->Master。The transmission process of uplink packets may include: D1->D2->D3->D4->UE2->AN->UPF->Master, or D1->UE1->D1->D2->D3->D4- >UE2->AN->UPF->Master.
在Slave设备不支持冗余传输的场景下:In the scenario where the slave device does not support redundant transmission:
下行报文的传输过程可以包括:Master->UPF->AN->UE2->UE1->D1。即上述终端设备10(即UE1)可以接收来自终端设备12(即UE2)的报文35,将所述报文35发送给终端设备11(即D1)。即终端设备11(即D1)可以接收来自终端设备12(即UE2)的报文35。The transmission process of the downlink message may include: Master->UPF->AN->UE2->UE1->D1. That is, the above-mentioned terminal device 10 (ie, UE1 ) can receive the message 35 from the terminal device 12 (ie, UE2 ), and send the message 35 to the terminal device 11 (ie, D1 ). That is, the terminal device 11 (ie, D1 ) can receive the packet 35 from the terminal device 12 (ie, UE2 ).
上行报文的传输过程可以包括:D1->UE1->UE2->AN->UPF->Master。The transmission process of the uplink message may include: D1->UE1->UE2->AN->UPF->Master.
(2)UE发生故障。假设UE1发生故障,UE1和UE2之间可以存在故障检测机制,UE1与D1之间也可以存在故障检测机制。当UE1发生故障后,UE2和/或D1可以快速检测到UE1发生故障,D1可以将D1与UE1之间的链路中断,将D1与UE1连接的端口连接起来,形成环路。UE2接收到Master发送的下行报文后,UE2将所述下行报文发送给Slave设备,由于D1将D1与UE1连接的端口形成环路,因此D1将上行报文通过UE2发送给Master设备。(2) UE fails. Assuming that UE1 is faulty, a fault detection mechanism may exist between UE1 and UE2, and a fault detection mechanism may also exist between UE1 and D1. When UE1 fails, UE2 and/or D1 can quickly detect the failure of UE1, D1 can interrupt the link between D1 and UE1, and connect the port connected to D1 and UE1 to form a loop. After UE2 receives the downlink message sent by the Master, UE2 sends the downlink message to the Slave device. Since D1 forms a loop with the port connecting D1 and UE1, D1 sends the uplink message to the Master device through UE2.
在Slave设备支持/不支持冗余传输的场景下:In the scenario where the slave device supports/does not support redundant transmission:
下行报文的传输过程可以包括:Master->UPF->AN->UE2->D4->D3->D2->D1。即终端设备11(即D1)可以通过工业终端D接收来自终端设备12(即UE2)的报文35。The transmission process of the downlink message may include: Master->UPF->AN->UE2->D4->D3->D2->D1. That is, the terminal device 11 (ie, D1 ) can receive the packet 35 from the terminal device 12 (ie, UE2 ) through the industrial terminal D.
上行报文的传输过程可以包括:D1->D2->D3->D4->UE2->AN->UPF->Master。The transmission process of the uplink message may include: D1->D2->D3->D4->UE2->AN->UPF->Master.
(3)Slave设备发生故障。假设D2发生故障,D1和D3可以通过故障检测机制检测到D2发生故障,当检测到与D2之间的链路发生故障后,D1和D3分别产生故障检测报文,并在所述故障检测报文中携带故障点D2,将所述故障检测报文发送给Master设备。UE1可以接收到来自D1的故障检测报文,对所述故障检测报文进行解析,确定故障点为D2,UE1将所述故障检测报文发送给Master设备。UE2可以接收来自D3的故障检测报文,对所述故障检测报文进行解析,确定故障点为D2,UE2将所述故障检测报文发送给Master设备。Master设备可以接收到来自UE1和UE2的故障检测报文后,将发送给Slave设备的下行报文构造成两个报文分别发送给D1,以及D3和D4。Master设备通过UE1向D1发送下行报文,通过UE2向D3和D4发送下行报文。当UE1和UE2接收到来自Master设备的下行报文后,由于之前确定故障点是D2,UE1将下行报文发送给D1,UE2将下行报文发送给D3和D4。(3) The Slave equipment fails. Assuming that D2 is faulty, D1 and D3 can detect that D2 is faulty through the fault detection mechanism. When the link with D2 is detected to be faulty, D1 and D3 respectively generate fault detection packets, and in the fault detection report The fault point D2 is carried in the text, and the fault detection packet is sent to the Master device. The UE1 may receive the fault detection packet from D1, parse the fault detection packet, determine that the fault point is D2, and send the fault detection packet to the Master device. UE2 may receive the fault detection packet from D3, parse the fault detection packet, determine that the fault point is D2, and send the fault detection packet to the Master device. After receiving the fault detection messages from UE1 and UE2, the master device can construct the downlink message sent to the slave device into two messages and send them to D1, D3 and D4 respectively. The Master device sends downlink packets to D1 through UE1, and sends downlink packets to D3 and D4 through UE2. After UE1 and UE2 receive the downlink message from the Master device, since it was previously determined that the fault point is D2, UE1 sends the downlink message to D1, and UE2 sends the downlink message to D3 and D4.
在Slave设备支持冗余传输的场景下:In the scenario where the slave device supports redundant transmission:
下行报文的传输过程可以包括:Master->UPF->AN->UE1->D1和Master->UPF->AN->UE2->D4->D3。The transmission process of the downlink message may include: Master->UPF->AN->UE1->D1 and Master->UPF->AN->UE2->D4->D3.
上行报文的传输过程可以包括:D1->UE1->AN->UPF->Master和D3->D4->UE2->AN->UPF->Master。The transmission process of the uplink message may include: D1->UE1->AN->UPF->Master and D3->D4->UE2->AN->UPF->Master.
在Slave设备不支持冗余传输的场景下:In the scenario where the slave device does not support redundant transmission:
下行报文的传输过程可以包括:Master->UPF->AN->UE1->D1或Master->UPF->AN->UE2->UE1->D1;或者Master->UPF->AN->UE2->D4->D3,或Master->UPF->AN->UE1->UE2->D4->D3。The transmission process of downlink messages may include: Master->UPF->AN->UE1->D1 or Master->UPF->AN->UE2->UE1->D1; or Master->UPF->AN-> UE2->D4->D3, or Master->UPF->AN->UE1->UE2->D4->D3.
上行报文的传输过程可以包括:D1->UE1->AN->UPF->Master或D1->UE1->UE2->AN->UPF->Master;或者D3->D4->UE2->UE1->AN->UPF->Master。The transmission process of the uplink message may include: D1->UE1->AN->UPF->Master or D1->UE1->UE2->AN->UPF->Master; or D3->D4->UE2-> UE1->AN->UPF->Master.
在本申请实施例中仅以两个UE(UE1和UE2)、4个Slave设备(D1、D2、D3和D4)为例进行说明,实际通信场景中对UE的数量和Slave设备的数量不做限定。本申请实施例中在支持EtherCAT协议的工业终端通过5G网络接入的场景中,实现了故障的快速检测和定位,并可以根据故障点的不同,实施不同的冗余传输策略,从而保障业务的高可靠性。In the embodiment of this application, only two UEs (UE1 and UE2) and four slave devices (D1, D2, D3, and D4) are used as examples for description. In the actual communication scenario, the number of UEs and the number of slave devices is not limited. In the embodiment of the present application, in the scenario where the industrial terminal supporting the EtherCAT protocol is accessed through the 5G network, the rapid detection and location of faults are realized, and different redundant transmission strategies can be implemented according to different fault points, so as to ensure the continuity of services. High reliability.
以上结合图12至图19详细说明了本申请实施例的冗余路径创建方法,基于与上述冗余路径创建方法的同一发明构思,本申请实施例还提供了一种通信装置,如图20所示,所述通信装置2000中包含处理单元2001和收发单元2002,装置2000可用于实现上述应用于网络设备或网络设备的方法实施例中描述的方法。The redundant path creation method according to the embodiment of the present application has been described in detail above with reference to FIGS. 12 to 19 . Based on the same inventive concept as the redundant path creation method described above, the embodiment of the present application further provides a communication device, as shown in FIG. 20 . As shown, the communication apparatus 2000 includes a processing unit 2001 and a transceiver unit 2002, and the apparatus 2000 can be used to implement the methods described in the foregoing method embodiments applied to network equipment or network equipment.
在一个实施例中,装置2000应用于终端设备,其中,所述终端设备可以为终端设备10。In one embodiment, the apparatus 2000 is applied to a terminal device, where the terminal device may be the terminal device 10 .
具体的,所述收发单元2002,用于接收来自用户面功能20的报文30,所述通信装置服务于终端设备11;接收来自终端设备12的所述报文30;Specifically, the transceiver unit 2002 is configured to receive the message 30 from the user plane function 20, and the communication device serves the terminal device 11; receives the message 30 from the terminal device 12;
所述处理单元2001,用于对来自所述用户面功能20的所述报文30和来自所述终端设备12的所述报文30进行去重;the processing unit 2001, configured to deduplicate the packet 30 from the user plane function 20 and the packet 30 from the terminal device 12;
所述收发单元2002,还用于将去重后的所述报文30发送给所述终端设备11。The transceiver unit 2002 is further configured to send the deduplicated packet 30 to the terminal device 11 .
在一个实现方式中,所述收发单元2002,还用于接收来自所述终端设备11的响应31, 所述响应31对应于所述去重后的所述报文30;向所述终端设备12发送响应32,所述响应32对应于来自所述终端设备12的所述报文30。In an implementation manner, the transceiver unit 2002 is further configured to receive a response 31 from the terminal device 11, where the response 31 corresponds to the deduplicated packet 30; A response 32 is sent, which corresponds to the message 30 from the terminal device 12 .
在一个实现方式中,所述收发单元2002,还用于若所述通信装置和所述用户面功能20之间发生故障,接收来自所述终端设备12的报文35,将所述报文35发送给所述终端设备11。In an implementation manner, the transceiver unit 2002 is further configured to receive the packet 35 from the terminal device 12 if a fault occurs between the communication device and the user plane function 20, and send the packet 35 sent to the terminal device 11 .
在一个实现方式中,所述收发单元2002,还用于接收来自会话管理功能21的第一信息,所述第一信息指示将来自所述用户面功能20的报文和所述终端设备12的报文去重后发给所述终端设备11。In an implementation manner, the transceiver unit 2002 is further configured to receive first information from the session management function 21 , where the first information indicates that the packet from the user plane function 20 is to be sent to the terminal device 12 . The packet is sent to the terminal device 11 after deduplication.
在一个实现方式中,所述收发单元2002,还用于接收来自所述会话管理功能21的第二信息,所述第二信息指示建立和所述终端设备12之间的传输路径。In an implementation manner, the transceiver unit 2002 is further configured to receive second information from the session management function 21 , where the second information indicates establishing a transmission path with the terminal device 12 .
在另一个实施例中,装置2000应用于网络设备,其中所述网络设备为会话管理功能21。In another embodiment, the apparatus 2000 is applied to a network device, wherein the network device is the session management function 21 .
具体的,所述收发单元2002,用于获取终端设备10服务的终端设备11;获取终端设备12服务的终端设备14;Specifically, the transceiver unit 2002 is used to obtain the terminal device 11 served by the terminal device 10; obtain the terminal device 14 served by the terminal device 12;
所述处理单元2001,用于确定终端设备10和终端设备12之间具有对应关系;The processing unit 2001 is used to determine that there is a corresponding relationship between the terminal device 10 and the terminal device 12;
所述收发单元2002,还用于向用户面功能20发送转发规则,所述转发规则指示通过所述终端设备10向所述终端设备11发送报文和通过所述终端设备12向所述终端设备14发送报文。The transceiver unit 2002 is further configured to send a forwarding rule to the user plane function 20, where the forwarding rule indicates to send a message to the terminal device 11 through the terminal device 10 and to send a message to the terminal device through the terminal device 12 14 Send the message.
在一个实现方式中,所述转发规则还指示复制报文。In one implementation, the forwarding rule further indicates to duplicate the message.
在一个实现方式中,所述收发单元2002,还用于向所述终端设备10发送第一信息,所述第一信息指示将来自所述用户面功能20的报文和来自所述终端设备12的报文去重后发给所述终端设备11。In an implementation manner, the transceiver unit 2002 is further configured to send first information to the terminal device 10, where the first information indicates that the packet from the user plane function 20 is to be sent to the terminal device 12 The packet is deduplicated and sent to the terminal device 11 .
在一个实现方式中,所述收发单元2002,还用于向所述终端设备10发送第二信息,所述第二信息指示建立和所述终端设备12之间的传输路径。In an implementation manner, the transceiver unit 2002 is further configured to send second information to the terminal device 10 , where the second information indicates to establish a transmission path with the terminal device 12 .
所述收发单元,还用于向所述终端设备12发送第三信息,所述第三信息指示建立和所述终端设备10之间的传输路径。The transceiver unit is further configured to send third information to the terminal device 12 , where the third information indicates to establish a transmission path with the terminal device 10 .
在一个实现方式中,所述收发单元2002,具体用于接收来自所述终端设备10的终端设备11的信息。In an implementation manner, the transceiver unit 2002 is specifically configured to receive information from the terminal device 11 of the terminal device 10 .
在一个实现方式中,所述收发单元2002,具体用于接收来自所述终端设备12的终端设备14的信息。In an implementation manner, the transceiver unit 2002 is specifically configured to receive information from the terminal device 14 of the terminal device 12 .
在一个实现方式中,所述处理单元2001,具体用于获取所述终端设备10的签约数据,所述终端设备10的签约数据指示与所述终端设备12之间具有对应关系;和/或获取所述终端设备12的签约数据,所述终端设备12的签约数据指示与所述终端设备10之间具有对应关系。In an implementation manner, the processing unit 2001 is specifically configured to acquire the subscription data of the terminal device 10, and the subscription data of the terminal device 10 indicates that there is a corresponding relationship between the terminal device 12; and/or acquire The subscription data of the terminal device 12 indicates that there is a corresponding relationship between the subscription data of the terminal device 12 and the terminal device 10 .
在又一个实施例中,装置2000应用于终端设备,其中所述终端设备可以为终端设备11。In yet another embodiment, the apparatus 2000 is applied to a terminal device, where the terminal device may be the terminal device 11 .
具体的,所述收发单元2002,用于接收来自终端设备10的报文30;接收来自终端设备12的所述报文30;Specifically, the transceiver unit 2002 is configured to receive the message 30 from the terminal device 10; receive the message 30 from the terminal device 12;
所述处理单元2001,用于确定所述报文30;the processing unit 2001, configured to determine the message 30;
所述收发单元2002,还用于向所述终端设备10发送响应33,所述响应33对应于来 自所述终端设备10的所述报文30;向所述终端设备12发送响应34,所述响应34对应于来自所述终端设备12的所述报文30。The transceiver unit 2002 is further configured to send a response 33 to the terminal device 10, where the response 33 corresponds to the message 30 from the terminal device 10; and send a response 34 to the terminal device 12, the The response 34 corresponds to the message 30 from the terminal device 12 .
在一个实现方式中,所述收发单元2002,还用于若所述终端设备10和用户面功能20之间发生故障或若所述终端设备10发生故障,接收来自所述终端设备12的报文35。In an implementation manner, the transceiver unit 2002 is further configured to receive a packet from the terminal device 12 if a failure occurs between the terminal device 10 and the user plane function 20 or if the terminal device 10 fails 35.
在又一个实施例中,装置2000应用于终端设备,其中所述终端设备可以为终端设备11。In yet another embodiment, the apparatus 2000 is applied to a terminal device, where the terminal device may be the terminal device 11 .
具体的,所述收发单元2002,用于接收来自终端设备10的报文30;通过所述终端设备10接收来自终端设备12的所述报文30;Specifically, the transceiver unit 2002 is configured to receive the message 30 from the terminal device 10; receive the message 30 from the terminal device 12 through the terminal device 10;
所述处理单元2001,用于确定所述报文30;the processing unit 2001, configured to determine the message 30;
所述收发单元2002,还用于向所述终端设备10发送响应36,所述响应36对应于来自所述终端设备10的所述报文30;通过终端设备10向所述终端设备12发送响应37,所述响应37对应于来自所述终端设备12的所述报文30。The transceiver unit 2002 is further configured to send a response 36 to the terminal device 10, where the response 36 corresponds to the message 30 from the terminal device 10; sending a response to the terminal device 12 through the terminal device 10 37 , the response 37 corresponds to the message 30 from the terminal device 12 .
在一个实现方式中,所述收发单元2002,还用于若所述终端设备10和用户面功能20之间发生故障或若所述终端设备10发生故障,接收来自所述终端设备12的报文35。In an implementation manner, the transceiver unit 2002 is further configured to receive a packet from the terminal device 12 if a failure occurs between the terminal device 10 and the user plane function 20 or if the terminal device 10 fails 35.
需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。It should be noted that the division of modules in the embodiments of the present application is schematic, and is only a logical function division. In actual implementation, there may be other division methods. In addition, each functional unit in each embodiment of the present application It can be integrated in one processing unit, or it can exist physically alone, or two or more units can be integrated in one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as an independent product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the present application can be embodied in the form of software products in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, and the computer software products are stored in a storage medium , including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes .
基于与上述冗余路径创建方法相同的构思,如图21所示,本申请实施例还提供了一种通信装置2100的结构示意图。装置2100可用于实现上述应用于网络设备或终端设备的方法实施例中描述的方法,可以参见上述方法实施例中的说明。所述装置2100可以处于网络设备或终端设备中或为网络设备或终端设备。Based on the same concept as the above redundant path creation method, as shown in FIG. 21 , an embodiment of the present application further provides a schematic structural diagram of a communication apparatus 2100 . The apparatus 2100 may be configured to implement the methods described in the foregoing method embodiments applied to network equipment or terminal equipment, and reference may be made to the descriptions in the foregoing method embodiments. The apparatus 2100 may be located in a network device or a terminal device or be a network device or a terminal device.
所述装置2100包括一个或多个处理器2101。所述处理器2101可以是通用处理器或者专用处理器等。例如可以是基带处理器、或中央处理器。基带处理器可以用于对通信协议以及通信数据进行处理,中央处理器可以用于对通信装置(如,基站、终端、或芯片等)进行控制,执行软件程序,处理软件程序的数据。所述通信装置可以包括收发单元,用以实现信号的输入(接收)和输出(发送)。例如,所述收发单元可以为收发器,射频芯片等。The apparatus 2100 includes one or more processors 2101 . The processor 2101 may be a general-purpose processor or a special-purpose processor or the like. For example, it may be a baseband processor, or a central processing unit. The baseband processor may be used to process communication protocols and communication data, and the central processing unit may be used to control communication devices (eg, base stations, terminals, or chips, etc.), execute software programs, and process data of software programs. The communication device may include a transceiving unit for implementing signal input (reception) and output (transmission). For example, the transceiver unit may be a transceiver, a radio frequency chip, or the like.
所述装置2100包括一个或多个所述处理器2101,所述一个或多个处理器2101可实现上述所示的实施例中网络设备或终端设备的方法。The apparatus 2100 includes one or more of the processors 2101, and the one or more processors 2101 can implement the method of the network device or the terminal device in the above-mentioned embodiments.
可选的,处理器2101除了实现上述所示的实施例的方法,还可以实现其他功能。Optionally, the processor 2101 may implement other functions in addition to implementing the methods in the above-described embodiments.
可选的,一种设计中,处理器2101可以执行指令,使得所述装置2100执行上述方法实施例中描述的方法。所述指令可以全部或部分存储在所述处理器内,如指令2103,也可以全部或部分存储在与所述处理器耦合的存储器2102中,如指令2104,也可以通过指令2103和2104共同使得装置2100执行上述方法实施例中描述的方法。Optionally, in one design, the processor 2101 may execute an instruction, so that the apparatus 2100 executes the method described in the foregoing method embodiment. The instructions may be stored in whole or in part in the processor, such as instruction 2103, or may be stored in whole or in part in a memory 2102 coupled to the processor, such as instruction 2104, or may be jointly caused by instructions 2103 and 2104. The apparatus 2100 executes the methods described in the above method embodiments.
在又一种可能的设计中,通信装置2100也可以包括电路,所述电路可以实现前述方法实施例中网络设备或终端设备的功能。In another possible design, the communication apparatus 2100 may also include a circuit, and the circuit may implement the functions of the network device or the terminal device in the foregoing method embodiments.
在又一种可能的设计中所述装置2100中可以包括一个或多个存储器2102,其上存有指令2104,所述指令可在所述处理器上被运行,使得所述装置2100执行上述方法实施例中描述的方法。可选的,所述存储器中还可以存储有数据。可选的处理器中也可以存储指令和/或数据。例如,所述一个或多个存储器2102可以存储上述实施例中所描述的对应关系,或者上述实施例中所涉及的相关的参数或表格等。所述处理器和存储器可以单独设置,也可以集成在一起。In yet another possible design, the apparatus 2100 may include one or more memories 2102 having stored thereon instructions 2104 that may be executed on the processor to cause the apparatus 2100 to perform the above-described method methods described in the examples. Optionally, data may also be stored in the memory. Instructions and/or data may also be stored in the optional processor. For example, the one or more memories 2102 may store the correspondences described in the foregoing embodiments, or related parameters or tables involved in the foregoing embodiments, and the like. The processor and the memory can be provided separately or integrated together.
在又一种可能的设计中,所述装置2100还可以包括收发单元2105以及天线2106。所述处理器2101可以称为处理单元,对装置(终端或者基站)进行控制。所述收发单元2105可以称为收发机、收发电路、或者收发器等,用于通过天线2106实现装置的收发功能。In yet another possible design, the apparatus 2100 may further include a transceiver unit 2105 and an antenna 2106 . The processor 2101 may be called a processing unit, and controls the device (terminal or base station). The transceiver unit 2105 may be referred to as a transceiver, a transceiver circuit, or a transceiver, etc., and is used to implement the transceiver function of the device through the antenna 2106 .
应注意,本申请实施例中的处理器可以是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法实施例的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器可以是通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。It should be noted that the processor in this embodiment of the present application may be an integrated circuit chip, which has a signal processing capability. In the implementation process, each step of the above method embodiments may be completed by a hardware integrated logic circuit in a processor or an instruction in the form of software. The above-mentioned processor can be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other available Programming logic devices, discrete gate or transistor logic devices, discrete hardware components. The methods, steps, and logic block diagrams disclosed in the embodiments of this application can be implemented or executed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in conjunction with the embodiments of the present application may be directly embodied as executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software modules may be located in random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers and other storage media mature in the art. 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.
可以理解,本申请实施例中的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DR RAM)。应注意,本文描述的系统和方法的存储器旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory in this embodiment of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory. Wherein, the non-volatile memory may be a read-only memory (Read-Only Memory, ROM), a programmable read-only memory (Programmable ROM, PROM), an erasable programmable read-only memory (Erasable PROM, EPROM), an electrically programmable read-only memory (Erasable PROM, EPROM). Erase programmable read-only memory (Electrically EPROM, EEPROM) or flash memory. Volatile memory may be Random Access Memory (RAM), which acts as an external cache. By way of illustration and not limitation, many forms of RAM are available, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (Synchlink DRAM, SLDRAM) ) and direct memory bus random access memory (Direct Rambus RAM, DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but not be limited to, these and any other suitable types of memory.
本申请实施例还提供了一种计算机可读介质,其上存储有计算机程序,该计算机程序被计算机执行时实现上述应用于网络设备或终端设备的任一方法实施例所述的冗余路径创建方法。Embodiments of the present application further provide a computer-readable medium on which a computer program is stored, and when the computer program is executed by a computer, implements the redundant path creation described in any of the foregoing method embodiments applied to a network device or a terminal device method.
本申请实施例还提供了一种计算机程序产品,该计算机程序产品被计算机执行时实现上述应用于网络设备或终端设备的任一方法实施例所述的冗余路径创建方法。Embodiments of the present application further provide a computer program product, which implements the redundant path creation method described in any of the foregoing method embodiments applied to a network device or a terminal device when the computer program product is executed by a computer.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(Digital Subscriber Line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质(例如,高密度数字视频光盘(Digital Video Disc,DVD))、或者半导体介质(例如,固态硬盘(Solid State Disk,SSD))等。In the above-mentioned embodiments, it may be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented in 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 instructions. When the computer instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated. The computer may be a general purpose computer, special purpose computer, computer network, or other programmable device. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server, or data center Transmission to another website site, computer, server or data center via wired (eg coaxial cable, optical fiber, Digital Subscriber Line, DSL) or wireless (eg infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that includes an integration of one or more available media. The available media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, high-density digital video discs (DVDs)), or semiconductor media (eg, solid state disks, SSD)) etc.
本申请实施例还提供了一种处理装置,包括处理器和接口;所述处理器,用于执行上述应用于网络设备或终端设备的任一方法实施例所述的冗余路径创建方法。An embodiment of the present application further provides a processing apparatus, including a processor and an interface; the processor is configured to execute the redundant path creation method described in any of the foregoing method embodiments applied to a network device or a terminal device.
应理解,上述处理装置可以是一个芯片,所述处理器可以通过硬件来实现也可以通过软件来实现,当通过硬件实现时,该处理器可以是逻辑电路、集成电路等;当通过软件来实现时,该处理器可以是一个通用处理器,通过读取存储器中存储的软件代码来实现,改存储器可以集成在处理器中,可以位于所述处理器之外,独立存在。It should be understood that the above-mentioned processing device may be a chip, and the processor may be implemented by hardware or software. When implemented by hardware, the processor may be a logic circuit, an integrated circuit, etc.; when implemented by software At the time, the processor can be a general-purpose processor, which is realized by reading the software codes stored in the memory, and the memory can be integrated in the processor, and can be located outside the processor and exist independently.
本申请实施例还提供了一种通信系统,所述通信系统包括执行上述任一实施例所述的会话管理功能21、和接收来自所述会话管理功能21的所述转发规则的用户面功能20。An embodiment of the present application further provides a communication system, where the communication system includes the session management function 21 described in any of the foregoing embodiments, and the user plane function 20 that receives the forwarding rule from the session management function 21 .
所述通信系统可以应用于工业以太网络,所述终端设备11可以支持冗余传输,可以不支持冗余传输。The communication system may be applied to an industrial Ethernet network, and the terminal device 11 may or may not support redundant transmission.
可选的,所述通信系统还可以包括、执行上述任一实施例所述的终端设备10、执行上述任一实施例所述的终端设备12以及执行上述任一实施例所述的终端设备11。所述终端设备11可以支持冗余传输,可以不支持冗余传输。Optionally, the communication system may further include, execute the terminal device 10 described in any of the foregoing embodiments, execute the terminal device 12 described in any of the foregoing embodiments, and execute the terminal device 11 described in any of the foregoing embodiments. . The terminal device 11 may support redundant transmission, or may not support redundant transmission.
可选的,所述通信系统还可以包括终端设备12服务的终端设备14。所述终端设备14可以支持冗余传输,可以不支持冗余传输。Optionally, the communication system may further include a terminal device 14 served by the terminal device 12 . The terminal device 14 may or may not support redundant transmission.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业 技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. Interchangeability, the above description has generally described the components and steps of each example in terms of function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system, device and unit described above may refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口、装置或单元的间接耦合或通信连接,也可以是电的,机械的或其它的形式连接。In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of units is only a logical function division. In actual implementation, there may be other division methods, for example, multiple units or components may be combined or integrated. to another system, or some features can be ignored, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may also be electrical, mechanical or other forms of connection.
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本申请实施例方案的目的。Units described as separate components may or may not be physically separated, and components shown as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solutions of the embodiments of the present application.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以是两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。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 alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到本申请可以用硬件实现,或固件实现,或它们的组合方式来实现。当使用软件实现时,可以将上述功能存储在计算机可读介质中或作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是计算机能够存取的任何可用介质。以此为例但不限于:计算机可读介质可以包括RAM、ROM、EEPROM、CD-ROM或其他光盘存储、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质。此外。任何连接可以适当的成为计算机可读介质。例如,如果软件是使用同轴电缆、光纤光缆、双绞线、数字用户线(DSL)或者诸如红外线、无线电和微波之类的无线技术从网站、服务器或者其他远程源传输的,那么同轴电缆、光纤光缆、双绞线、DSL或者诸如红外线、无线和微波之类的无线技术包括在所属介质的定影中。如本申请所使用的,盘(Disk)和碟(disc)包括压缩光碟(CD)、激光碟、光碟、数字通用光碟(DVD)、软盘和蓝光光碟,其中盘通常磁性的复制数据,而碟则用激光来光学的复制数据。上面的组合也包括在计算机可读介质的保护范围之内。From the description of the above embodiments, those skilled in the art can clearly understand that the present application can be implemented by hardware, firmware, or a combination thereof. When implemented in software, the functions described above may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage medium can be any available medium that a computer can access. By way of example and not limitation, computer readable media may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage media or other magnetic storage devices, or be capable of carrying or storing instructions or data structures in the form of desired program code and any other medium that can be accessed by a computer. also. Any connection can be appropriately made into a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable , fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, wireless, and microwave are included in the fusing of the pertinent medium. Disk and disc, as used in this application, includes compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk, and blu-ray disc, where disks generally reproduce data magnetically, and discs Lasers are used to optically copy data. Combinations of the above are also included within the scope of computer-readable media.
总之,以上所述仅为本申请技术方案的较佳实施例而已,并非用于限定本申请的保护范围。凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。In a word, the above descriptions are only preferred embodiments of the technical solutions of the present application, and are not intended to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this application shall be included within the protection scope of this application.

Claims (35)

  1. 一种冗余路径创建方法,其特征在于,包括:A method for creating redundant paths, comprising:
    终端设备10接收来自用户面功能20的报文30,所述终端设备10服务于终端设备11;The terminal device 10 receives the message 30 from the user plane function 20, and the terminal device 10 serves the terminal device 11;
    所述终端设备10接收来自终端设备12的所述报文30;the terminal device 10 receives the message 30 from the terminal device 12;
    所述终端设备10对来自所述用户面功能20的所述报文30和来自所述终端设备12的所述报文30进行去重;The terminal device 10 deduplicates the packet 30 from the user plane function 20 and the packet 30 from the terminal device 12;
    所述终端设备10将去重后的所述报文30发送给所述终端设备11。The terminal device 10 sends the deduplicated packet 30 to the terminal device 11 .
  2. 如权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1, wherein the method further comprises:
    所述终端设备10接收来自所述终端设备11的响应31,所述响应31对应于所述去重后的所述报文30;The terminal device 10 receives a response 31 from the terminal device 11, where the response 31 corresponds to the deduplicated packet 30;
    所述终端设备10向所述终端设备12发送响应32,所述响应32对应于来自所述终端设备12的所述报文30。The terminal device 10 sends a response 32 to the terminal device 12 , and the response 32 corresponds to the message 30 from the terminal device 12 .
  3. 如权利要求1或2所述的方法,其特征在于,若所述终端设备10和所述用户面功能20之间发生故障,所述方法还包括:The method according to claim 1 or 2, wherein if a fault occurs between the terminal device 10 and the user plane function 20, the method further comprises:
    所述终端设备10接收来自所述终端设备12的报文35,将所述报文35发送给所述终端设备11。The terminal device 10 receives the message 35 from the terminal device 12 and sends the message 35 to the terminal device 11 .
  4. 如权利要求1-3任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-3, wherein the method further comprises:
    所述终端设备10接收来自会话管理功能21的第一信息,所述第一信息指示将来自所述用户面功能20的报文和所述终端设备12的报文去重后发给所述终端设备11。The terminal device 10 receives the first information from the session management function 21, the first information indicates that the packet from the user plane function 20 and the packet of the terminal device 12 are deduplicated and sent to the terminal device 11.
  5. 如权利要求4所述的方法,其特征在于,所述方法还包括:The method of claim 4, wherein the method further comprises:
    所述终端设备10接收来自所述会话管理功能21的第二信息,所述第二信息指示建立和所述终端设备12之间的传输路径。The terminal device 10 receives second information from the session management function 21 , the second information indicating the establishment of a transmission path with the terminal device 12 .
  6. 一种冗余路径创建方法,其特征在于,包括:A method for creating redundant paths, comprising:
    会话管理功能21获取终端设备10服务的终端设备11;The session management function 21 obtains the terminal device 11 served by the terminal device 10;
    所述会话管理功能21获取终端设备12服务的终端设备14;The session management function 21 acquires the terminal device 14 served by the terminal device 12;
    所述会话管理功能21确定终端设备10和终端设备12之间具有对应关系;The session management function 21 determines that there is a correspondence between the terminal device 10 and the terminal device 12;
    所述会话管理功能21向用户面功能20发送转发规则,所述转发规则指示通过所述终端设备10向所述终端设备11发送报文和通过所述终端设备12向所述终端设备14发送报文。The session management function 21 sends a forwarding rule to the user plane function 20, and the forwarding rule instructs to send a message to the terminal device 11 through the terminal device 10 and to send a message to the terminal device 14 through the terminal device 12. arts.
  7. 如权利要求6所述的方法,其特征在于,所述转发规则还指示复制报文。The method of claim 6, wherein the forwarding rule further indicates to duplicate the message.
  8. 如权利要求6或7所述的方法,其特征在于,所述方法还包括:The method of claim 6 or 7, wherein the method further comprises:
    所述会话管理功能21向所述终端设备10发送第一信息,所述第一信息指示将来自所述用户面功能20的报文和来自所述终端设备12的报文去重后发给所述终端设备11。The session management function 21 sends first information to the terminal device 10, the first information indicating that the packet from the user plane function 20 and the packet from the terminal device 12 are deduplicated and sent to the terminal device 10. The terminal device 11 is described.
  9. 如权利要求6-8任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 6-8, wherein the method further comprises:
    所述会话管理功能21向所述终端设备10发送第二信息,所述第二信息指示建立和所述终端设备12之间的传输路径。The session management function 21 sends second information to the terminal device 10 , the second information indicating the establishment of a transmission path with the terminal device 12 .
  10. 如权利要求6-9任一项所述的方法,其特征在于,所述会话管理功能21获取终端设备10服务的终端设备11包括:The method according to any one of claims 6-9, wherein the session management function 21 acquiring the terminal equipment 11 served by the terminal equipment 10 comprises:
    所述会话管理功能21接收来自所述终端设备10的终端设备11的信息。The session management function 21 receives information from the terminal device 11 of the terminal device 10 .
  11. 如权利要求6-10任一项所述的方法,其特征在于,所述会话管理功能21获取终端设备12服务的终端设备14包括:The method according to any one of claims 6-10, wherein the session management function 21 acquiring the terminal device 14 served by the terminal device 12 comprises:
    所述会话管理功能21接收来自所述终端设备12的终端设备14的信息。The session management function 21 receives information from the terminal device 14 of the terminal device 12 .
  12. 如权利要求6-11任一项所述的方法,其特征在于,所述会话管理功能21确定终端设备10和终端设备12之间具有对应关系包括:The method according to any one of claims 6-11, wherein the session management function 21 determines that there is a corresponding relationship between the terminal device 10 and the terminal device 12, comprising:
    所述会话管理功能21获取所述终端设备10的签约数据,所述终端设备10的签约数据指示与所述终端设备12之间具有对应关系;和/或The session management function 21 acquires the subscription data of the terminal device 10, and the subscription data of the terminal device 10 indicates that there is a corresponding relationship between the terminal device 12; and/or
    所述会话管理功能21获取所述终端设备12的签约数据,所述终端设备12的签约数据指示与所述终端设备10之间具有对应关系。The session management function 21 acquires the subscription data of the terminal device 12 , and the subscription data of the terminal device 12 indicates that there is a corresponding relationship between the terminal device 10 .
  13. 一种冗余路径创建方法,其特征在于,包括:A method for creating redundant paths, comprising:
    终端设备11接收来自终端设备10的报文30;The terminal device 11 receives the message 30 from the terminal device 10;
    所述终端设备11接收来自终端设备12的所述报文30;the terminal device 11 receives the message 30 from the terminal device 12;
    所述终端设备11向所述终端设备10发送响应33,所述响应33对应于来自所述终端设备10的所述报文30;The terminal device 11 sends a response 33 to the terminal device 10, where the response 33 corresponds to the message 30 from the terminal device 10;
    所述终端设备11向所述终端设备12发送响应34,所述响应34对应于来自所述终端设备12的所述报文30。The terminal device 11 sends a response 34 to the terminal device 12 , and the response 34 corresponds to the message 30 from the terminal device 12 .
  14. 如权利要求13所述的方法,其特征在于,若所述终端设备10和用户面功能20之间发生故障或若所述终端设备10发生故障,则所述方法还包括:The method according to claim 13, wherein, if a failure occurs between the terminal device 10 and the user plane function 20 or if the terminal device 10 fails, the method further comprises:
    所述终端设备11接收来自所述终端设备12的报文35。The terminal device 11 receives the message 35 from the terminal device 12 .
  15. 一种冗余路径创建方法,其特征在于,包括:A method for creating redundant paths, comprising:
    终端设备11接收来自终端设备10的报文30;The terminal device 11 receives the message 30 from the terminal device 10;
    所述终端设备11通过所述终端设备10接收来自终端设备12的所述报文30;The terminal device 11 receives the message 30 from the terminal device 12 through the terminal device 10;
    所述终端设备11向所述终端设备10发送响应36,所述响应36对应于来自所述终端设备10的所述报文30;The terminal device 11 sends a response 36 to the terminal device 10, where the response 36 corresponds to the message 30 from the terminal device 10;
    所述终端设备11通过终端设备10向所述终端设备12发送响应37,所述响应37对应于来自所述终端设备12的所述报文30。The terminal device 11 sends a response 37 to the terminal device 12 through the terminal device 10 , and the response 37 corresponds to the message 30 from the terminal device 12 .
  16. 如权利要求15所述的方法,其特征在于,若所述终端设备10和用户面功能20之间发生故障或若所述终端设备10发生故障,则所述方法还包括:The method according to claim 15, wherein if a failure occurs between the terminal device 10 and the user plane function 20 or if the terminal device 10 fails, the method further comprises:
    所述终端设备11接收来自所述终端设备12的报文35。The terminal device 11 receives the message 35 from the terminal device 12 .
  17. 一种通信装置,其特征在于,包括处理单元和收发单元;A communication device, comprising a processing unit and a transceiver unit;
    所述收发单元,用于接收来自用户面功能20的报文30,所述通信装置服务于终端设备11;接收来自终端设备12的所述报文30;The transceiver unit is configured to receive the message 30 from the user plane function 20, and the communication device serves the terminal device 11; receives the message 30 from the terminal device 12;
    所述处理单元,用于对来自所述用户面功能20的所述报文30和来自所述终端设备12的所述报文30进行去重;the processing unit, configured to de-duplicate the packet 30 from the user plane function 20 and the packet 30 from the terminal device 12;
    所述收发单元,还用于将去重后的所述报文30发送给所述终端设备11。The transceiver unit is further configured to send the deduplicated packet 30 to the terminal device 11 .
  18. 如权利要求17所述的通信装置,其特征在于,所述收发单元,还用于接收来自所述终端设备11的响应31,所述响应31对应于所述去重后的所述报文30;向所述终端设备12发送响应32,所述响应32对应于来自所述终端设备12的所述报文30。The communication apparatus according to claim 17, wherein the transceiver unit is further configured to receive a response 31 from the terminal device 11, where the response 31 corresponds to the deduplicated packet 30 ; send a response 32 to the terminal device 12, the response 32 corresponding to the message 30 from the terminal device 12.
  19. 如权利要求17或18所述的通信装置,其特征在于,所述收发单元,还用于若所述 通信装置和所述用户面功能20之间发生故障,接收来自所述终端设备12的报文35,将所述报文35发送给所述终端设备11。The communication device according to claim 17 or 18, wherein the transceiver unit is further configured to receive a report from the terminal device 12 if a failure occurs between the communication device and the user plane function 20 The message 35 is sent to the terminal device 11 .
  20. 如权利要求17-19任一项所述的通信装置,其特征在于,所述收发单元,还用于接收来自会话管理功能21的第一信息,所述第一信息指示将来自所述用户面功能20的报文和所述终端设备12的报文去重后发给所述终端设备11。The communication device according to any one of claims 17-19, wherein the transceiver unit is further configured to receive first information from the session management function 21, the first information indicating The packet of the function 20 and the packet of the terminal device 12 are deduplicated and sent to the terminal device 11 .
  21. 如权利要求20所述的通信装置,其特征在于,所述收发单元,还用于接收来自所述会话管理功能21的第二信息,所述第二信息指示建立和所述终端设备12之间的传输路径。The communication apparatus according to claim 20, wherein the transceiver unit is further configured to receive second information from the session management function 21, the second information indicating that the communication between the terminal device 12 and the terminal device 12 is established. transmission path.
  22. 一种通信装置,其特征在于,包括处理单元和收发单元;A communication device, comprising a processing unit and a transceiver unit;
    所述收发单元,用于获取终端设备10服务的终端设备11;获取终端设备12服务的终端设备14;The transceiver unit is used to obtain the terminal device 11 served by the terminal device 10; obtain the terminal device 14 served by the terminal device 12;
    所述处理单元,用于确定终端设备10和终端设备12之间具有对应关系;The processing unit is used to determine that there is a corresponding relationship between the terminal device 10 and the terminal device 12;
    所述收发单元,还用于向用户面功能20发送转发规则,所述转发规则指示通过所述终端设备10向所述终端设备11发送报文和通过所述终端设备12向所述终端设备14发送报文。The transceiver unit is further configured to send a forwarding rule to the user plane function 20, where the forwarding rule indicates to send a message to the terminal device 11 through the terminal device 10 and to send a message to the terminal device 14 through the terminal device 12 Send message.
  23. 如权利要求22所述的通信装置,其特征在于,所述转发规则还指示复制报文。23. The communication apparatus of claim 22, wherein the forwarding rule further indicates to duplicate the message.
  24. 如权利要求22或23所述的通信装置,其特征在于,所述收发单元,还用于向所述终端设备10发送第一信息,所述第一信息指示将来自所述用户面功能20的报文和来自所述终端设备12的报文去重后发给所述终端设备11。The communication apparatus according to claim 22 or 23, wherein the transceiver unit is further configured to send first information to the terminal device 10, where the first information indicates that the communication from the user plane function 20 is to be transmitted. The packet and the packet from the terminal device 12 are deduplicated and sent to the terminal device 11 .
  25. 如权利要求22-24任一项所述的通信装置,其特征在于,所述收发单元,还用于向所述终端设备10发送第二信息,所述第二信息指示建立和所述终端设备12之间的传输路径。The communication apparatus according to any one of claims 22 to 24, wherein the transceiver unit is further configured to send second information to the terminal device 10, where the second information indicates that the 12 transmission paths between.
  26. 如权利要求22-25任一项所述的通信装置,其特征在于,所述收发单元,具体用于接收来自所述终端设备10的终端设备11的信息。The communication apparatus according to any one of claims 22 to 25, wherein the transceiver unit is specifically configured to receive information from the terminal equipment 11 of the terminal equipment 10.
  27. 如权利要求22-26任一项所述的通信装置,其特征在于,所述收发单元,具体用于接收来自所述终端设备12的终端设备14的信息。The communication apparatus according to any one of claims 22 to 26, wherein the transceiver unit is specifically configured to receive information from the terminal equipment 14 of the terminal equipment 12.
  28. 如权利要求22-27任一项所述的通信装置,其特征在于,所述处理单元,具体用于获取所述终端设备10的签约数据,所述终端设备10的签约数据指示与所述终端设备12之间具有对应关系;和/或获取所述终端设备12的签约数据,所述终端设备12的签约数据指示与所述终端设备10之间具有对应关系。The communication apparatus according to any one of claims 22 to 27, wherein the processing unit is specifically configured to acquire subscription data of the terminal device 10, and the subscription data of the terminal device 10 indicates the There is a corresponding relationship between the devices 12; and/or the subscription data of the terminal device 12 is acquired, and the subscription data of the terminal device 12 indicates that there is a corresponding relationship between the terminal device 10.
  29. 一种通信装置,其特征在于,包括处理单元和收发单元;A communication device, comprising a processing unit and a transceiver unit;
    所述收发单元,用于接收来自终端设备10的报文30;接收来自终端设备12的所述报文30;The transceiver unit is configured to receive the message 30 from the terminal device 10; receive the message 30 from the terminal device 12;
    所述处理单元,用于确定所述报文30;the processing unit, configured to determine the message 30;
    所述收发单元,还用于向所述终端设备10发送响应33,所述响应33对应于来自所述终端设备10的所述报文30;向所述终端设备12发送响应34,所述响应34对应于来自所述终端设备12的所述报文30。The transceiver unit is further configured to send a response 33 to the terminal device 10, where the response 33 corresponds to the message 30 from the terminal device 10; and send a response 34 to the terminal device 12, the response 34 corresponds to the message 30 from the terminal device 12 .
  30. 如权利要求29所述的通信装置,其特征在于,所述收发单元,还用于若所述终端 设备10和用户面功能20之间发生故障或若所述终端设备10发生故障,接收来自所述终端设备12的报文35。The communication device according to claim 29, characterized in that, the transceiver unit is further configured to receive data from the terminal device 10 if there is a failure between the terminal device 10 and the user plane function 20 or if the terminal device 10 fails The message 35 of the terminal device 12 is described.
  31. 一种通信装置,其特征在于,包括处理单元和收发单元;A communication device, comprising a processing unit and a transceiver unit;
    所述收发单元,用于接收来自终端设备10的报文30;通过所述终端设备10接收来自终端设备12的所述报文30;The transceiver unit is configured to receive the message 30 from the terminal device 10; receive the message 30 from the terminal device 12 through the terminal device 10;
    所述处理单元,用于确定所述报文30;the processing unit, configured to determine the message 30;
    所述收发单元,还用于向所述终端设备10发送响应36,所述响应36对应于来自所述终端设备10的所述报文30;通过终端设备10向所述终端设备12发送响应37,所述响应37对应于来自所述终端设备12的所述报文30。The transceiver unit is further configured to send a response 36 to the terminal device 10, where the response 36 corresponds to the message 30 from the terminal device 10; and send a response 37 to the terminal device 12 through the terminal device 10 , the response 37 corresponds to the message 30 from the terminal device 12 .
  32. 如权利要求31所述的通信装置,其特征在于,所述收发单元,还用于若所述终端设备10和用户面功能20之间发生故障或若所述终端设备10发生故障,接收来自所述终端设备12的报文35。The communication device according to claim 31, characterized in that, the transceiver unit is further configured to receive data from the terminal device 10 if there is a failure between the terminal device 10 and the user plane function 20 or if the terminal device 10 fails The message 35 of the terminal device 12 is described.
  33. 一种通信装置,其特征在于,所述装置包括处理器、收发器和存储器;A communication device, characterized in that the device includes a processor, a transceiver and a memory;
    所述收发器,用于收发消息;the transceiver for sending and receiving messages;
    所述存储器,用于存储计算机程序指令;the memory for storing computer program instructions;
    所述处理器,用于执行所述存储器中的部分或者全部计算机程序指令,以通过所述收发器执行如权利要求1-5任一项所述的方法,或者执行如权利要求6-12任一项所述的方法,或者执行如权利要求13-14任一项所述的方法,或者执行如权利要求15-16任一项所述的方法。The processor is configured to execute part or all of the computer program instructions in the memory, so as to execute the method according to any one of claims 1-5 through the transceiver, or to execute the method according to any one of claims 6-12. A method according to any one of claims 13-14, or a method according to any one of claims 15-16.
  34. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机可读指令,当计算机读取并执行所述计算机可读指令时,使得所述计算机执行如权利要求1-5任一项所述的方法,或者执行如权利要求6-12任一项所述的方法,或者执行如权利要求13-14任一项所述的方法,或者执行如权利要求15-16任一项所述的方法。A computer-readable storage medium, wherein computer-readable instructions are stored in the computer-readable storage medium, and when a computer reads and executes the computer-readable instructions, the computer is made to execute the method as claimed in claim 1. -5 The method of any one of claims 6-12, or the method of any one of claims 13-14, or the execution of any one of claims 15-16 The method of any one.
  35. 一种通信系统,其特征在于,所述通信系统包括执行如权利要求6-12任一项所述方法的会话管理功能21、和接收来自所述会话管理功能21的所述转发规则的所述用户面功能20。A communication system, characterized in that, the communication system includes a session management function 21 that executes the method according to any one of claims 6-12, and a session management function 21 that receives the forwarding rules from the session management function 21. User plane function 20.
PCT/CN2021/140803 2020-12-28 2021-12-23 Redundant path creating method, apparatus, and system WO2022143395A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011578654.4A CN114697999A (en) 2020-12-28 2020-12-28 Redundant path creating method, device and system
CN202011578654.4 2020-12-28

Publications (1)

Publication Number Publication Date
WO2022143395A1 true WO2022143395A1 (en) 2022-07-07

Family

ID=82129420

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/140803 WO2022143395A1 (en) 2020-12-28 2021-12-23 Redundant path creating method, apparatus, and system

Country Status (2)

Country Link
CN (1) CN114697999A (en)
WO (1) WO2022143395A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117171065A (en) * 2023-11-02 2023-12-05 摩尔线程智能科技(北京)有限责任公司 Address management method, address management device, electronic equipment and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117955813A (en) * 2022-10-31 2024-04-30 华为技术有限公司 Message transmission method, device and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106301986A (en) * 2015-06-03 2017-01-04 中兴通讯股份有限公司 Chain circuit detecting method and device
CN110351030A (en) * 2018-04-03 2019-10-18 华为技术有限公司 Message transmitting method, device and system
CN110719611A (en) * 2018-07-11 2020-01-21 华为技术有限公司 Message sending method and device
CN110798408A (en) * 2018-08-02 2020-02-14 华为技术有限公司 Message transmission method and device
CN110830276A (en) * 2018-08-09 2020-02-21 通号城市轨道交通技术有限公司 EtherCAT communication system and method based on cold redundancy mechanism

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110784432B (en) * 2018-07-31 2021-11-19 华为技术有限公司 Session creation method and device
US20200259896A1 (en) * 2019-02-13 2020-08-13 Telefonaktiebolaget Lm Ericsson (Publ) Industrial Automation with 5G and Beyond
CN112055383A (en) * 2020-08-26 2020-12-08 广东省新一代通信与网络创新研究院 Mobile communication system for improving data link transmission reliability by adopting double terminals

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106301986A (en) * 2015-06-03 2017-01-04 中兴通讯股份有限公司 Chain circuit detecting method and device
CN110351030A (en) * 2018-04-03 2019-10-18 华为技术有限公司 Message transmitting method, device and system
CN110719611A (en) * 2018-07-11 2020-01-21 华为技术有限公司 Message sending method and device
CN110798408A (en) * 2018-08-02 2020-02-14 华为技术有限公司 Message transmission method and device
CN110830276A (en) * 2018-08-09 2020-02-21 通号城市轨道交通技术有限公司 EtherCAT communication system and method based on cold redundancy mechanism

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ERICSSON: "Addressing wording comments from IEEE LS response on TSN support", 3GPP DRAFT; S2-2005886, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, vol. SA WG2, no. Electronic; 20200819 - 20200901, 27 August 2020 (2020-08-27), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France , XP051928567 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117171065A (en) * 2023-11-02 2023-12-05 摩尔线程智能科技(北京)有限责任公司 Address management method, address management device, electronic equipment and storage medium
CN117171065B (en) * 2023-11-02 2024-03-01 摩尔线程智能科技(北京)有限责任公司 Address management method, address management device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN114697999A (en) 2022-07-01

Similar Documents

Publication Publication Date Title
US20210399989A1 (en) Method and device for data transmission, method and device for quality of service flow management, and storage medium
WO2021057547A1 (en) Method for initiating time-sensitive communication service, terminal and storage medium
US9173244B2 (en) Methods for establishing and using public path, M2M communication method, and systems thereof
CN114124618B (en) Message transmission method and electronic equipment
WO2018059284A1 (en) Data transmission method and network equipment
US11736962B2 (en) Methods, apparatus and computer-readable mediums relating to configuration of redundant paths
WO2019185062A1 (en) Communication method and device
US10812292B2 (en) Packet processing method and device
EP4138443A1 (en) Communication method and apparatus
US10581735B2 (en) Packet processing method and apparatus
WO2023011217A1 (en) Communication method and apparatus
US11722883B2 (en) Transmission method and apparatus
WO2012155867A1 (en) Packet sending method and access controller
US20230049788A1 (en) Data transmission method, apparatus, and device
WO2022143395A1 (en) Redundant path creating method, apparatus, and system
WO2020098747A1 (en) Transmission path configuration method and apparatus
WO2021135650A1 (en) Communication method and apparatus
WO2022267950A1 (en) Communication method and apparatus
US20220361262A1 (en) Data transmission for artificial intelligence (ai) technologies
CN114365540B (en) Communication method, device and system
WO2022160665A1 (en) Packet forwarding method, packet processing method, and device
WO2021244356A1 (en) Data transmission method and apparatus
US20240224080A1 (en) Method and apparatus for processing detnet traffic
CN109120657B (en) Service configuration method and node
WO2023124875A1 (en) Communication method and apparatus

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21914132

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21914132

Country of ref document: EP

Kind code of ref document: A1