Data transmission method and system
Through the active-standby networking and active-standby switching mechanism of the dual-terminal UE system, the problem of data transmission failure caused by single point failure in the 5GtoB system is solved, the reliability and availability of the system are improved, and additional costs are avoided.
Patent Information
- Application Number
- CN202311228552.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-21
- Publication Date
- 2025-10-24
- Estimated Expiration
- 2043-09-21
AI Technical Summary
The data transmission solution in the existing 5GtoB system that relies on dual-transmitter and selective receiver routers is prone to data transmission failure due to single point failure, and the external router networking method is costly and cannot support large-scale deployment.
A dual-terminal UE system is adopted, and the master-slave UE network is used. The master and slave roles are determined through heartbeat competition to achieve two-way data stream transmission. In the event of a fault, master-slave switching is performed to avoid single point failure and improve reliability.
The reliability of data transmission and system availability are improved, single point failures are avoided, and no additional costs are added.
Smart Images

Figure CN119676742B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the communication technology field, and particularly relates to a data transmission method and system. BACKGROUND
[0002] The main application scenario of 5GtoB is currently industrial manufacturing, and the core demand is low latency and high reliability.
[0003] Currently, the reliability of 5GtoB mainly depends on an external router in networking, for example, for uplink data of industrial equipment, a dual-transmit-receive router at the industrial equipment end is used to copy the data sent by the factory equipment, and then two copies of the data are sent to the 5G system through two terminals (User Equipment, UE), and the 5G system transmits the two copies of the data to the network equipment of the server, and the network equipment of the server transmits the two copies of the data to the server after deduplication.
[0004] The above scheme relying on the dual-transmit-receive router will cause all data transmission to fail once a single point fault occurs at the dual-transmit-receive router. SUMMARY
[0005] The present application provides a data transmission method and system, which avoids single point failure and improves the reliability of 5GtoB.
[0006] In a first aspect, the present application provides a data transmission method applied to a dual-terminal UE system, wherein the dual-UE system is used to transmit data sent by a client to a server through a 5G system, two UEs of the dual-UE system each include an application processor and a communication processor, one of the two UEs is a primary UE, and the other is a backup UE; and the method comprises the following steps:
[0007] The application processor of the primary UE receives first to-be-transmitted data sent by the client, and copies the first to-be-transmitted data to obtain second to-be-transmitted data;
[0008] The application processor of the primary UE sends the first to-be-transmitted data to the communication processor of the primary UE, and the communication processor of the primary UE sends the first to-be-transmitted data to the 5G system;
[0009] The application processor of the primary UE sends the second to-be-transmitted data to the application processor of the backup UE, the application processor of the backup UE sends the second to-be-transmitted data to the communication processor of the backup UE, and the communication processor of the backup UE sends the second to-be-transmitted data to the 5G system.
[0010] In an embodiment, the dual-UE system is further configured to transmit the data sent by the server to the client through the 5G system, and the method further comprises:
[0011] The communication processor of the primary UE receives third to-be-transmitted data sent by the 5G system, and sends the third to-be-transmitted data to the application processor of the primary UE;
[0012] The communication processor of the secondary UE receives fourth to-be-transmitted data sent by the 5G system, and sends the fourth to-be-transmitted data to the application processor of the secondary UE, wherein one of the fourth to-be-transmitted data and the third to-be-transmitted data is data sent by the server, and the other is data copied from the data sent by the server;
[0013] The application processor of the secondary UE sends the fourth to-be-transmitted data to the application processor of the primary UE;
[0014] The application processor of the primary UE sends the third to-be-transmitted data and the fourth to-be-transmitted data to the client after deduplication.
[0015] In an embodiment, before the application processor of the primary UE receives the first to-be-transmitted data sent by the client, the method further comprises:
[0016] The two UEs compete for the primary and secondary roles through the heartbeat between the two UEs.
[0017] In an embodiment, before the two UEs compete for the primary and secondary roles through the heartbeat between the two UEs, the ports in the two UEs used for communication with the client are all in a disabled state;
[0018] After the primary UE is determined through the competition for the primary and secondary roles, the primary UE enables the ports in the primary UE used for communication with the client.
[0019] In an embodiment, the user plane link used for transmitting data and the control plane link used for transmitting the heartbeat between the two UEs are isolated through a virtual local area network (VLAN).
[0020] In an embodiment, the method further comprises:
[0021] The primary UE and the secondary UE both periodically perform fault detection and synchronize fault codes to each other through the heartbeat.
[0022] In an embodiment, the method further comprises:
[0023] If the master UE detects a failure, and the detected failure is not a link failure or a link port failure between the application processor of the master UE and the application processor of the backup UE, and the master UE determines that the backup UE is not faulty, the master UE initiates a master-backup switching.
[0024] In an embodiment, the master UE initiates the master-backup switching, comprising:
[0025] The master UE notifies the backup UE of the master-backup switching through a heartbeat;
[0026] The master UE disables a port in the master UE for communication with the client, changes a routing state of an application processor of the master UE, and configures the application processor of the master UE to be used for backhaul data, so as to switch to a new backup UE;
[0027] The backup UE enables a port in the backup UE for communication with the client, changes a routing state of an application processor of the backup UE, and configures the application processor of the backup UE to be used for replication data and used for deduplication data, so as to switch to a new master UE;
[0028] The master UE and the backup UE notify each other of completion of the switching through a heartbeat.
[0029] In a second aspect, the application provides a dual-terminal UE system, comprising two UEs, each of which comprises an application processor and a communication processor, one of the two UEs is a master UE, and the other is a backup UE, and the dual-terminal UE system is configured to implement the method according to any one of claims 1-8.
[0030] In a third aspect, the application provides a computer-readable storage medium, which stores a computer program, and the computer program, when executed by a processor, implements the method according to the first aspect.
[0031] In a third aspect, the application provides a computer program product, comprising a computer program, and the computer program, when executed by a processor, implements the method according to the first aspect.
[0032] The application provides a data transmission method and system, which utilizes dual UEs to implement transmission of two-way data streams, and guarantees reliability of data transmission. On this basis, a master-backup group network formed by the two UEs can implement master-backup switching, avoids single-point failure, and further improves reliability. BRIEF DESCRIPTION OF DRAWINGS
[0033] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the accompanying drawings needed to be used in the embodiments or prior art description will be briefly introduced as follows. Obviously, the accompanying drawings in the following description are some embodiments of the present application, and for those skilled in the art, other drawings can also be obtained on the basis of these drawings without creative labor.
[0034] Figure 1 A networking schematic diagram of a 5GtoB application scenario is provided.
[0035] Figure 2 A networking schematic diagram of a 5GtoB application scenario is provided.
[0036] Figure 3 An uplink data flow schematic of a 5GtoB networking provided by the embodiment of the present application Figure 1 ;
[0037] Figure 4 A downlink data flow schematic of a 5GtoB networking provided by the embodiment of the present application Figure 1 ;
[0038] Figure 5 An uplink data flow schematic of a 5GtoB networking provided by the embodiment of the present application Figure 2 ;
[0039] Figure 6 A downlink data flow schematic of a 5GtoB networking provided by the embodiment of the present application Figure 2 ;
[0040] Figure 7 A port schematic diagram of a 5GtoB networking provided by the embodiment of the present application.
[0041] Figure 8 A flow schematic of a data transmission method provided by the embodiment of the present application Figure 1 ;
[0042] Figure 9 A flow schematic of a data transmission method provided by the embodiment of the present application Figure 2 ;
[0043] Figure 10 A structure schematic diagram of a UE provided by the embodiment of the present application. DETAILED DESCRIPTION
[0044] In order to make the purposes, technical solutions, and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are some but not all of the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without creative work fall within the protection scope of the present application.
[0045] Figure 1 A networking schematic diagram for a 5G to B application scenario is shown, which includes an industry device 101, a first router 102, a first terminal 103, a second terminal 104, a 5G system 105, a second router 106, and a server 107. The industry device 101 is a client, for example, a factory programmable logic controller (PLC) device, and the server 107 is a server device corresponding to the industry device. The first router 102 and the second router 106 are both dual-transmit and selective-receive routers, and need to support L2 tunneling. The first terminal 103 and the second terminal 104 are 5G backhaul devices, for example, the first terminal 103 and the second terminal 104 can be customer premise equipment (CPE).
[0046] In the above networking, the uplink data of the industry device 101 is transmitted to the first router 102, the first router 102 duplicates the uplink data to obtain two copies of the uplink data, and then transmits the two copies of the uplink data to the 5G system through two CPEs. The 5G system transmits the two copies of the uplink data to the second router 106, and the second router 106 transmits the two copies of the uplink data to the server 107 after deduplication. The downlink data of the server 107 is transmitted to the second router 106, the second router 106 duplicates the downlink data to obtain two copies of the downlink data, and then transmits the two copies of the downlink data to the 5G system. The 5G system transmits the two copies of the downlink data to the two CPEs respectively, and the two CPEs transmit the downlink data received by themselves to the first router 102. The first router 102 transmits the two copies of the downlink data to the server 107 after deduplication.
[0047] The networking scheme relies on the first router 102 and the two CPEs to form two-way data transmission, ensuring the reliability of data transmission. However, once the first router 102 in the networking has a single point failure, all data transmission will fail. Moreover, using the networking mode of externally connecting the router and the two CPEs in series will reduce the mean time between failures (MTBF) of the system, and further reduce the availability index of the entire system. If a multi-router stack or a router redundancy backup based on a virtual router redundancy protocol (VRRP) is used at the client end, there is a problem of high cost, which cannot support the large-scale deployment of 5GtoB.
[0048] Therefore, embodiments of the present application propose a networking scheme for the application scenario of 5GtoB, which uses dual UE for networking and does not rely on an external router or switch. Both the two UEs include an application processor (AP) and a communication processor (CP) to realize two-way data transmission. In the case that one of the two UEs is a master UE and the other is a backup UE, the master-standby networking is used to avoid single point failure, improve the reliability of 5GtoB networking, improve the availability of the system, and does not increase additional cost.
[0049] Figure 2 A networking diagram for the application scenario of 5GtoB provided by embodiments of the present application is shown in FIG. 1. Figure 2 As shown in FIG. 1, a master-standby system composed of the first UE 201 and the second UE 202 is referred to as a dual UE system. The dual UE system is used to transmit data sent by the client 203 to the server 206 through the 5G system 204. The 5G system 204 transmits the data to the server 206 through the switch 205. The switch 205 can also be replaced by other network devices, such as a router. The dual UE system is also used to transmit data sent by the server 206 to the client 203 through the 5G system 204. The server 206 sends the data to the 5G system 204 through the switch 205. The first UE 201 includes a first application processor AP1 and a first communication processor CP1, and the second UE includes a second application processor AP2 and a second communication processor CP2.
[0050] In the above networking, the first UE 201 and the second UE 202 form a master-standby system, and the master-standby competition or master-standby switching is performed through the heartbeat between the AP1 and the AP2. Here, the first UE 201 is taken as an example of the master UE and the second UE 202 is taken as an example of the backup UE, and the data flow in the above networking is described.
[0051] Figure 3 The uplink data flow diagram of the 5GtoB networking provided by the embodiment of the present application is shown in the figure, in which the direction of the data flow is indicated by arrows. As shown in the figure, the client 203 sends the original uplink data to the AP1, the AP1 acts as a Talker in the uplink FRER, duplicates the received uplink data and encodes the sequence number (SQN), and sends the duplicated two copies of the uplink data to the CP1 and the AP2, which forms two uplink data flows, one of which is transmitted through the AP1, the CP1, the 5G system 204 to the switch 205, and the other of which is transmitted through the AP1, the AP2, the CP2, the 5G system 204 to the switch 205. The switch 205 acts as a Listener in the uplink FRER, removes the duplicate data and preserves the sequence of the uplink data in the two uplink data flows, and obtains the original uplink data, which is sent to the server 206. Figure 3
[0052] Figure 4 The downlink data flow diagram of the 5GtoB networking provided by the embodiment of the present application is shown in the figure, in which the direction of the data flow is indicated by arrows. As shown in the figure, the server 206 sends the original downlink data to the switch 205, the switch 205 acts as a Talker in the downlink FRER, duplicates the received downlink data and encodes the SQN, and sends the duplicated two copies of the downlink data to the 5G system 204, which sends them to the CP1 and the CP2, respectively, which forms two downlink data flows, one of which is transmitted through the switch 205, the 5G system 204, the CP1 to the AP1, and the other of which is transmitted through the switch 205, the 5G system 204, the CP2, the AP2 to the AP1. The AP1 acts as a Listener in the downlink FRER, removes the duplicate data and preserves the sequence of the downlink data in the two downlink data flows, and obtains the original downlink data, which is sent to the client 203. Figure 4
[0053] The above-mentioned networking utilizes dual UE to realize the transmission of two data flows, and guarantees the reliability of data transmission. In the examples of Figure 3 and Figure 4 , the first UE 201 is the primary UE, in which the AP1 acts as a Talker in the uplink and acts as a Listener in the downlink. If the primary and backup switching is performed in the case of failure of the first UE 201, etc., the AP2 acts as a Talker in the uplink in the case of switching of the second UE 202 to the primary UE, and the uplink data flow is as shown in the figure. Figure 5 As shown, AP2 acts as a Listener in the downlink, and the downlink data flow is as shown in Figure 6 . Figure 5 and Figure 6 The data transmission process in Figure 3 and Figure 4 is the same in principle, and will not be described here. By using master-slave switching between two UEs, single point failure is avoided, and reliability is improved.
[0054] Figure 7 is a port schematic diagram of 5GtoB networking provided by an embodiment of the present application. P01-P02, P11-P15, P21-P25, P31-P33, P41-P41 and P51 in the figure are used to illustrate communication ports. In combination with Figure 7 the master-slave competition of the dual UE is described.
[0055] In order to realize master-slave networking, AP1 and AP2 communicate with the client 203 through ports, and there is a communication link between AP1 and AP2. In order to avoid forming a loop of the client 203, AP1 and AP2, before the first UE 201 and the second UE 202 compete for master-slave, the downlink ports P11 and P21 through which the two UEs communicate with the client 203 are in a Disable state.
[0056] The first UE 201 and the second UE 202 are connected through the P12 port of AP1 and the P22 port of AP2, a heartbeat mechanism is established, and the master-slave is competed through the heartbeat signal. For example, AP1 and AP2 each generate a random number and send it to the other party through the heartbeat, and the two parties compare the size of the random number to determine the party with the larger random number as the master UE. Alternatively, the master-slave UE can also be pre-configured in the present embodiment, and in the case that both UEs are fault-free, the master-slave UE is determined in priority according to the configuration. For example, in the first UE 201 or the second UE 202, the generated random number is configured to be the maximum value, so that when the master-slave is competed through the random number, the UE will be determined as the master UE. After becoming the master UE, the master UE enables the port for communicating with the client 203, for example, if the first UE 201 competes to become the master UE, the first UE 201 will enable the P11 port to realize the transmission of uplink and downlink data between the client 203. In addition, CP1 and CP2 trigger 5G LAN based on Ethernet PDU Session Type dialing, supporting L2 MAC message forwarding.
[0057] In addition to transmitting the heartbeat, the P12 port of the AP1 and the P22 port of the AP2 also transmit uplink and downlink data, that is, there is a user plane link for transmitting data and a control plane link for transmitting the heartbeat between the P12 port and the P22 port, and the user plane link and the control plane link are isolated by a VLAN.
[0058] After the master and standby UEs are determined, the uplink and downlink data are transmitted through the ports shown in FIG. 1. Figure 7 The flow of transmitting the uplink and downlink data through the ports shown in FIG. 1 can be seen from the foregoing description, and will not be described here again.
[0059] On the basis of the foregoing embodiments, in order to ensure normal data transmission, the master and standby UEs need to periodically perform fault detection, and synchronize the fault code to the other party through the heartbeat, so as to reduce the detection delay, timely perform master and standby switching or perform other fault processing measures, and meet the low delay requirement in the industrial scene. For example, the fault code is 1 byte long, and is defined as follows:
[0060] 0x01: downlink link: link fault between the master UE and the client (detected by the master UE, not detected by the standby UE), for example, in the case where the first UE 201 is the master UE, the P11<—>P01 link is faulty.
[0061] 0x02: downlink port: port fault in the master UE for communication with the client (detected by the master UE, not detected by the standby UE), for example, in the case where the first UE 201 is the master UE, the P11 port is faulty.
[0062] 0x03: internal link: UE internal link fault, for example, P13<—>P14 or P23<—>P24 link fault.
[0063] 0x04: uplink module: module fault in the UE for communication with the 5G system, for example, CP1 or CP2 fault.
[0064] 0x05: uplink link: UE link fault for communication with the 5G system, for example, P15 or P25 air interface fault.
[0065] 0x06: interconnection port: interconnection port fault between the two UEs, for example, P12 or P22 port fault.
[0066] 0x07: interconnection link: interconnection link fault between the two UEs, for example, P12<—>P22 link fault.
[0067] In order to avoid the double master scenario or ping-pong switching, the master UE initiates the master-backup switching according to the following principles: in the case that the master UE detects a fault, the fault code is not 0x06 or 0x07, and the master UE judges that the backup UE has no fault through the synchronization fault code between the two UEs, the master UE notifies the backup UE to perform the master-backup switching through the heartbeat interface. In the case that the master UE detects a fault, but the master UE judges that the backup UE has any fault through the synchronization fault code between the two UEs, the master-backup switching is not initiated. In the case that the master UE detects a fault, but the fault code is 0x06 or 0x07, the master UE does not initiate the master-backup switching.
[0068] After the master UE initiates the switching, the master UE disables the downlink port, such as Figure 7 In the first UE 201, the P11 port is disabled, referred to as a new backup UE; the backup UE enables the downlink interface, such as Figure 7 In the second UE 202, the P21 port is enabled, referred to as a new master UE. The master-backup UEs change the internal routing state to transmit data according to the new routing mode, for example Figure 7 In the first UE 201, data is transmitted according to the routing mode of the backup UE as described above, and in the second UE 202, data is transmitted according to the routing mode of the master UE as described above. The FRER strategy of the master-backup UEs also needs to be reconfigured, the new master UE configures the duplication distribution of uplink data and the deduplication of downlink data, and the new backup UE configures the corresponding forwarding strategy. Then, the master-backup UEs notify each other of the completion of the switching through the heartbeat interface. The client 203 passively completes the link switching after detecting the state change of the master-backup UE port.
[0069] Through the above fault detection and the corresponding master-backup switching mechanism, single point failure is avoided, abnormal scenarios in master-backup switching are avoided, and the reliability of data transmission is ensured.
[0070] On the basis of the above-mentioned dual-UE networking, the embodiment of the application provides a data transmission method, Figure 8 The flowchart of the data transmission method provided by the embodiment of the application is shown in Figure 1 As shown in Figure 8 The method comprises the following steps:
[0071] S801, the application processor of the master UE receives the first to-be-transmitted data sent by the client, and duplicates the first to-be-transmitted data to obtain the second to-be-transmitted data.
[0072] S802, the application processor of the master UE sends the first to-be-transmitted data to the communication processor of the master UE, and the communication processor of the master UE sends the first to-be-transmitted data to the 5G system.
[0073] S803, the application processor of the main UE sends the second to-be-transmitted data to the application processor of the backup UE, the application processor of the backup UE sends the second to-be-transmitted data to the communication processor of the backup UE, and the communication processor of the backup UE sends the second to-be-transmitted data to the 5G system.
[0074] In the embodiment, the main UE in the dual-UE system receives uplink data from the client, copies the uplink data to obtain two copies of the uplink data, and sends the two copies of the uplink data to the 5G system through the main UE and the backup UE respectively. Then, the 5G system transmits the two copies of the data to the switch or routing device of the server, and sends the data to the server after deduplication. In the embodiment, the data transmission process can refer to the description in the foregoing embodiments, and will not be described here again. Since the master-slave networking is adopted, in the case of failure of the current main UE, the backup UE can be switched to a new main UE, thereby improving the reliability of data transmission.
[0075] In an embodiment, the dual-UE system is also used for transmitting data sent by the server through the 5G system to the client, Figure 9 A flowchart of a data transmission method provided by the embodiment of the application Figure 2 . As Figure 9 shown, the method comprises the following steps.
[0076] S901, the communication processor of the main UE receives third to-be-transmitted data sent by the 5G system, and sends the third to-be-transmitted data to the application processor of the main UE.
[0077] S902, the communication processor of the backup UE receives fourth to-be-transmitted data sent by the 5G system, and sends the fourth to-be-transmitted data to the application processor of the backup UE, wherein one of the fourth to-be-transmitted data and the third to-be-transmitted data is data sent by the server, and the other is data obtained by copying the data sent by the server.
[0078] S903, the application processor of the backup UE sends the fourth to-be-transmitted data to the application processor of the main UE.
[0079] S904, the application processor of the main UE sends the third to-be-transmitted data and the fourth to-be-transmitted data to the client after deduplication.
[0080] In the embodiment, the main UE and the backup UE respectively receive downlink data through the 5G system, and the main UE sends the two copies of the downlink data to the client after deduplication. Since the master-slave networking is adopted, in the case of failure of the current main UE, the backup UE can be switched to a new main UE, thereby improving the reliability of data transmission.
[0081] In an embodiment, before the application processor of the main UE receives the first to-be-transmitted data sent by the client, the method of the embodiment of the application further comprises:
[0082] Two UEs compete for master / backup status through heartbeat between the two UEs.
[0083] In one embodiment, before two UEs perform active / standby contention through a heartbeat between the two UEs, ports in the two UEs used for communicating with the client are both in a disabled state;
[0084] After the master UE is determined through the master-standby competition, the master UE enables a port in the master UE for communicating with the client.
[0085] In one embodiment, a user plane link for transmitting data and a control plane link for transmitting heartbeats between two UEs are isolated by a virtual local area network (VLAN).
[0086] In one embodiment, both the master UE and the backup UE periodically perform fault detection and synchronize fault codes with each other through heartbeats.
[0087] In one embodiment, if the master UE detects a fault, and the detected fault is not a link fault or a link port fault between the application processor of the master UE and the application processor of the backup UE, and the master UE determines that the backup UE has no fault, the master UE initiates a master-backup switch.
[0088] In one embodiment, the master UE initiates a master-slave switch, including: the master UE notifies the standby UE through a heartbeat to perform the master-slave switch; the master UE disenables a port in the master UE for communicating with a client, changes a routing state of an application processor of the master UE, and configures the application processor of the master UE to be used for backhauling data, so as to switch to a new standby UE; the standby UE enables a port in the standby UE for communicating with a client, changes a routing state of an application processor of the standby UE, and configures the application processor of the standby UE to be used for replicating data and for deduplicating data, so as to switch to a new master UE; the master UE and the standby UE notify each other through a heartbeat that the switch is complete.
[0089] The processes of the above-mentioned master-slave competition, fault detection and master-slave switching can be referred to the description in the above-mentioned embodiment and will not be repeated here.
[0090] Figure 10 This is a structural diagram of a UE provided in an embodiment of the present application. Figure 10 As shown, the UE 1000 includes: a memory 1001, an application processor 1002, and a communication processor 1003, wherein the memory 1001 communicates with the application processor 1002 and the communication processor 1003; exemplarily, the memory 1001, the application processor 1002, and the communication processor 1003 can communicate via a communication bus 1004, the memory 1001 is used to store a computer program, and the application processor 1002 and the communication processor 1003 execute the computer program to implement the above method.
[0091] Optionally, the processor can be a central processing unit (CPU), and can also be other general-purpose processors, a digital signal processor (DSP), an application specific integrated circuit (ASIC), or the like. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method embodiments disclosed in the present application can be directly embodied as the execution of hardware processor, or be executed by the combination of hardware and software modules in the processor.
[0092] The embodiments of the present application further provide a computer readable storage medium, which stores a computer program. The computer program is executed by a processor to implement the method in any of the above method embodiments.
[0093] The embodiments of the present application further provide a computer program product, which comprises a computer program. The computer program is executed by a processor to implement the method in any of the above method embodiments.
[0094] All or part of the steps of the above method embodiments can be completed by program instruction related hardware. The above program can be stored in a readable memory. When the program is executed, the steps of the above method embodiments are executed; and the above memory (storage medium) comprises a read-only memory (ROM), a RAM, a flash memory, a hard disk, a solid state disk, a magnetic tape, a floppy disk, an optical disc, and any combination thereof.
[0095] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, and the combination of the flows and / or blocks in the flowcharts and / or block diagrams can be implemented by computer program instructions. These computer program instructions can be provided to a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to produce a machine, so that the instructions executed by the computer or other programmable data processing devices produce a device that implements the functions specified in the flowcharts and / or block diagrams. Figure 1 The functions specified in one flow or multiple flows and / or blocks Figure 1 The device that implements the functions specified in one flow or multiple flows and / or blocks.
[0096] These computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture including instructions which implement the flow Figure 1 of the flow or flows and / or blocks Figure 1 of the block or blocks specified in the flow.
[0097] These computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the flow Figure 1 of the flow or flows and / or blocks Figure 1 of the block or blocks specified in the flow.
[0098] Obviously, persons having ordinary skill in the art can make various modifications and variations to the embodiments of the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the embodiments of the present application belong to the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
[0099] In the present application, the term "comprising" and its variants can refer to non-limiting inclusion; the term "or" and its variants can refer to "and / or". In the present application, the terms "first", "second" and the like are used to distinguish similar objects, and do not necessarily indicate a specific order or sequence. In the present application, "a plurality of" means two or more. "And / or", which describes the association relationship of the associated objects, means that there can be three kinds of relationships, for example, A and / or B, which can represent: A exists alone, A and B exist together, B exists alone, these three cases. The character " / " generally represents that the front and rear associated objects are a "or" relationship.
Claims
1. A data transmission method, characterized by, The application is applied to a dual-terminal UE system for transmitting data sent by a client to a server through a 5G system, two UEs of the dual-terminal UE system each include an application processor and a communication processor, one of the two UEs is a master UE and the other is a backup UE, and the method comprises the following steps: The application processor of the master UE receives first to-be-transmitted data sent by the client and copies the first to-be-transmitted data to obtain second to-be-transmitted data; The application processor of the master UE sends the first to-be-transmitted data to the communication processor of the master UE, and the communication processor of the master UE sends the first to-be-transmitted data to the 5G system; The application processor of the master UE sends the second to-be-transmitted data to the application processor of the backup UE, the application processor of the backup UE sends the second to-be-transmitted data to the communication processor of the backup UE, and the communication processor of the backup UE sends the second to-be-transmitted data to the 5G system.
2. The method of claim 1, wherein, The dual-terminal UE system is also used for transmitting data sent by the server to the client through the 5G system, and the method further comprises the following steps: The communication processor of the master UE receives third to-be-transmitted data sent by the 5G system and sends the third to-be-transmitted data to the application processor of the master UE; The communication processor of the backup UE receives fourth to-be-transmitted data sent by the 5G system and sends the fourth to-be-transmitted data to the application processor of the backup UE, wherein one of the fourth to-be-transmitted data and the third to-be-transmitted data is data sent by the server, and the other is data obtained by copying the data sent by the server; The application processor of the backup UE sends the fourth to-be-transmitted data to the application processor of the master UE; The application processor of the master UE sends the third to-be-transmitted data and the fourth to-be-transmitted data to the client after deduplication.
3. The method according to claim 1 or 2, characterized in that, Before the application processor of the master UE receives the first to-be-transmitted data sent by the client, the method further comprises the following steps: The two UEs compete for master and backup through heartbeats between the two UEs.
4. The method of claim 3, wherein, Before the two UEs compete for master and backup through heartbeats between the two UEs, ports used for communication with the client in the two UEs are in a disabled state; After the master UE is determined through the competition for master and backup, the master UE enables the ports used for communication with the client in the master UE.
5. The method of claim 3, wherein, A user plane link used for transmitting data and a control plane link used for transmitting heartbeats between the two UEs are isolated through a virtual local area network (VLAN).
6. The method of claim 3, wherein, Further comprising: The master UE and the backup UE each periodically perform fault detection and synchronize fault codes to each other through heartbeats.
7. The method of claim 6, wherein, Further comprising: If the master UE detects a fault, and the detected fault is not a link fault or a link port fault between the application processor of the master UE and the application processor of the backup UE, and the master UE determines that the backup UE has no fault, the master UE initiates master-backup switching.
8. The method of claim 6, wherein, The master UE initiates master-backup switching, comprising: The master UE switches to the standby UE through heartbeat notification; The master UE disables the port in the master UE for communication with the client, changes the routing state of the application processor of the master UE, and configures the application processor of the master UE to be used for backhaul data, so as to switch to a new standby UE; The standby UE enables the port in the standby UE for communication with the client, changes the routing state of the application processor of the standby UE, and configures the application processor of the standby UE to be used for copying data and for deduplication data, so as to switch to a new master UE; The master UE and the standby UE complete the switching through heartbeat notification.
9. A dual-terminal UE system, characterized by The system comprises: Two UEs, each of which comprises an application processor and a communication processor, one of the two UEs being a master UE and the other being a standby UE, the dual-terminal UE system being used to implement the method according to any one of claims 1-8.
10. A computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by a processor to implement the method according to any one of claims 1-8.
11. A computer program product, characterised in that, The computer program is executed by a processor to implement the method according to any one of claims 1-8.
Citation Information
Patent Citations
Fault weakening processing method, base station, trunking terminal and communication system
CN115052308A
Identification of traceroute nodes and associated devices
US20180077043A1