Data transmission method and device based on master-backup switching and computer device

By pre-backing up and storing base station and terminal information during the primary/backup switchover process, the problem of low backup efficiency in existing technologies is solved, and fast and efficient data transmission and communication recovery are achieved.

CN116033505BActive Publication Date: 2026-07-21COMBA TELECOM SYST CHINA LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
COMBA TELECOM SYST CHINA LTD
Filing Date
2022-12-09
Publication Date
2026-07-21

AI Technical Summary

Technical Problem

When 5G base station equipment malfunctions or has poor signal, the data backup process for primary and backup base stations in existing technologies is lengthy, resulting in low backup rates and low efficiency, which affects the rapid recovery of communication services.

Method used

During the primary/backup handover process, the target backup base station pre-backs up and stores the communication data of the primary base station, including equipment information and terminal information, and instructs the terminal to reset the protocol layer sequence number through a reset request message, thereby achieving fast and efficient data transmission using the backup data.

Benefits of technology

It simplifies backup operations, saves resources, improves primary/backup switching efficiency, quickly restores data transmission, and ensures the continuity of communication services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116033505B_ABST
    Figure CN116033505B_ABST
Patent Text Reader

Abstract

The embodiment of the present application provides a data transmission method based on master-backup switching, which comprises the following steps: in the case of switching a target backup base station into a target master base station, sending reset request information to a target terminal; in the case of receiving reset completion information from the target terminal, using first communication data, second communication data and an uplink sequence number to perform data transmission on the target terminal for to-be-transmitted data. The method provided by the embodiment of the present application simplifies backup operation, saves resources for backing up the uplink sequence number, realizes fast and efficient backup, thereby further improving the efficiency of master-backup switching, and the data transmission for to-be-transmitted data can be quickly recovered.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communications, and in particular to a data transmission method, apparatus, and computer equipment based on master-slave switching. Background Technology

[0002] With the continuous development and popularization of Generation Mobile Communication Technology (5G), the Industrial Internet is also accelerating its advancement. In many application scenarios, there is a high demand for reliable communication between base stations and terminals. Therefore, the "disaster recovery" backup function of 5G base station equipment is particularly important. For example, when equipment fails or the signal is extremely poor, a backup base station can be activated quickly and efficiently, while minimizing the impact on communication services between the base station and the corresponding target terminal. Currently, in the process of implementing backup data between the primary and backup base stations, the backup data is lengthy, resulting in low backup rates and low efficiency. Summary of the Invention

[0003] Therefore, it is necessary to provide a data transmission method, apparatus, and computer equipment that can achieve fast and efficient data transmission based on master-slave switching, addressing the aforementioned technical problems.

[0004] Firstly, this application provides a data transmission method based on primary / standby switchover. The method includes:

[0005] When the target backup base station is switched to the target primary base station, a reset request message is sent to the target terminal. The reset request message instructs the target terminal to reset the uplink sequence number of the data plane of the Packet Data Convergence Protocol (PDCP) and Radio Link Control (RANC) layers corresponding to the target terminal. The target backup base station pre-backs up and stores the first and second communication data of the target primary base station. The first communication data records the device information of the target primary base station and the device information of the target terminal. The second communication data includes the downlink superframe number and downlink sequence number of the data plane of the PCP and RAN layers, as well as the sequence number of the signaling plane of the PCP and RAN layers. The downlink superframe number and downlink sequence number are used to encrypt and decrypt each data packet of the data to be transmitted, and to indicate the transmission order of each data packet. The data to be transmitted is the data of the data plane. The sequence number of the signaling plane is used to establish an air interface connection between the target backup base station and the target terminal.

[0006] Upon receiving reset completion information from the target terminal, the system uses the first communication data, the second communication data, and the uplink sequence number to perform data transmission for the data to be transmitted to the target terminal; the reset completion information corresponds to the reset request information.

[0007] In one embodiment, the method further includes: determining the current protocol layer from multiple protocol layers of the target backup base station; and obtaining backup data of the target primary base station corresponding to the target backup base station according to the data transmission mode corresponding to the current protocol layer.

[0008] In one embodiment, the plurality of protocol layers includes a first protocol layer and a second protocol layer; the backup data includes the first communication data and the second communication data; the step of obtaining the backup data of the target primary base station corresponding to the target backup base station according to the data transmission mode corresponding to the current protocol layer includes: when the current protocol layer is the first protocol layer, obtaining the first communication data of the target primary base station corresponding to the target backup base station; when the current protocol layer is the second protocol layer, obtaining the first communication data of the target primary base station corresponding to the target backup base station and the current second communication data corresponding to the current protocol layer.

[0009] In one embodiment, the method further includes: obtaining the detection result of the target primary base station; and, if the detection result indicates that the target primary base station is abnormal, switching the target backup base station to the target primary base station.

[0010] In one embodiment, the detection result includes a heartbeat detection result; obtaining the detection result of the target main base station includes: detecting the heartbeat information sent by the target main base station according to a preset period; if no heartbeat information is detected within a preset time threshold period, determining that the heartbeat detection result is a heartbeat abnormality; if the heartbeat detection result is a heartbeat abnormality, determining that the detection result is that the target main base station is abnormal.

[0011] In one embodiment, the detection result includes a signal detection result; obtaining the detection result of the target main base station includes: receiving a signal detection result from the target main base station; the signal detection result is determined by the target main base station based on the strength of the real-time radio frequency signal and a preset signal threshold; if the signal detection result is an abnormal signal, the detection result of the target main base station is determined to be an abnormality of the target main base station.

[0012] In one embodiment, the first radio frequency switch and the first external network port enable state of the target backup base station are pre-closed; the second radio frequency switch and the second external network port enable state of the target primary base station are pre-opened; the step of switching the target backup base station to the target primary base station when the detection result indicates that the target primary base station is abnormal includes: receiving an activation command from the target primary base station when the detection result indicates that the target primary base station is abnormal; activating the first radio frequency switch and the first external network port enable state in response to the activation command; the target primary base station is used to deactivate the second radio frequency switch and the second external network port enable state.

[0013] Secondly, this application provides a data transmission device based on primary / standby switching, the device comprising:

[0014] The sending module is used to send a reset request message to the target terminal when the target backup base station is switched to the target primary base station. The reset request message is used to instruct the target terminal to reset the uplink sequence number of the data plane of the Packet Data Convergence Protocol (PDCP) and Radio Link Control Protocol (RANC) corresponding to the target terminal. The target backup base station pre-backs up and stores the first communication data and the second communication data of the target primary base station. The first communication data is used to record the device information of the target primary base station and the device information of the target terminal. The second communication data includes the downlink superframe number and downlink sequence number of the data plane of the PCP and RANC, as well as the sequence number of the signaling plane of the PCP and RANC. The downlink superframe number and the downlink sequence number are used to encrypt and decrypt each data packet of the data to be transmitted, and to indicate the transmission order of each data packet. The data to be transmitted is the data of the data plane. The sequence number of the signaling plane is used to establish an air interface connection between the target backup base station and the target terminal.

[0015] The transmission module is configured to, upon receiving reset completion information from the target terminal, use the first communication data, the second communication data, and the uplink sequence number to perform data transmission for the data to be transmitted to the target terminal; the reset completion information corresponds to the reset request information.

[0016] Thirdly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to perform the following steps:

[0017] When the target backup base station is switched to the target primary base station, a reset request message is sent to the target terminal. The reset request message instructs the target terminal to reset the uplink sequence number of the data plane of the Packet Data Convergence Protocol (PDCP) and Radio Link Control (RANC) layers corresponding to the target terminal. The target backup base station pre-backs up and stores the first and second communication data of the target primary base station. The first communication data records the device information of the target primary base station and the device information of the target terminal. The second communication data includes the downlink superframe number and downlink sequence number of the data plane of the PCP and RAN layers, as well as the sequence number of the signaling plane of the PCP and RAN layers. The downlink superframe number and downlink sequence number are used to encrypt and decrypt each data packet of the data to be transmitted, and to indicate the transmission order of each data packet. The data to be transmitted is the data of the data plane. The sequence number of the signaling plane is used to establish an air interface connection between the target backup base station and the target terminal.

[0018] Upon receiving reset completion information from the target terminal, the system uses the first communication data, the second communication data, and the uplink sequence number to perform data transmission for the data to be transmitted to the target terminal; the reset completion information corresponds to the reset request information.

[0019] Fourthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, performs the following steps:

[0020] When the target backup base station is switched to the target primary base station, a reset request message is sent to the target terminal. The reset request message instructs the target terminal to reset the uplink sequence number of the data plane of the Packet Data Convergence Protocol (PDCP) and Radio Link Control (RANC) layers corresponding to the target terminal. The target backup base station pre-backs up and stores the first and second communication data of the target primary base station. The first communication data records the device information of the target primary base station and the device information of the target terminal. The second communication data includes the downlink superframe number and downlink sequence number of the data plane of the PCP and RAN layers, as well as the sequence number of the signaling plane of the PCP and RAN layers. The downlink superframe number and downlink sequence number are used to encrypt and decrypt each data packet of the data to be transmitted, and to indicate the transmission order of each data packet. The data to be transmitted is the data of the data plane. The sequence number of the signaling plane is used to establish an air interface connection between the target backup base station and the target terminal.

[0021] Upon receiving reset completion information from the target terminal, the system uses the first communication data, the second communication data, and the uplink sequence number to perform data transmission for the data to be transmitted to the target terminal; the reset completion information corresponds to the reset request information.

[0022] Fifthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, performs the following steps:

[0023] When the target backup base station is switched to the target primary base station, a reset request message is sent to the target terminal. The reset request message instructs the target terminal to reset the uplink sequence number of the data plane of the Packet Data Convergence Protocol (PDCP) and Radio Link Control (RANC) layers corresponding to the target terminal. The target backup base station pre-backs up and stores the first and second communication data of the target primary base station. The first communication data records the device information of the target primary base station and the device information of the target terminal. The second communication data includes the downlink superframe number and downlink sequence number of the data plane of the PCP and RAN layers, as well as the sequence number of the signaling plane of the PCP and RAN layers. The downlink superframe number and downlink sequence number are used to encrypt and decrypt each data packet of the data to be transmitted, and to indicate the transmission order of each data packet. The data to be transmitted is the data of the data plane. The sequence number of the signaling plane is used to establish an air interface connection between the target backup base station and the target terminal.

[0024] Upon receiving reset completion information from the target terminal, the system uses the first communication data, the second communication data, and the uplink sequence number to perform data transmission for the data to be transmitted to the target terminal; the reset completion information corresponds to the reset request information.

[0025] In the aforementioned data transmission method, apparatus, and computer equipment based on primary / backup handover, the target backup base station can send a reset request message to the target terminal when the target standby base station is switched to the target primary base station. The reset request message is used to instruct the target terminal to reset the uplink sequence number of the data plane of the packet data aggregation protocol layer and the radio link control protocol layer corresponding to the target terminal. Therefore, during the data backup process before primary / backup handover, it is not necessary to back up the uplink sequence number of the data plane of the packet data aggregation protocol layer and the radio link control protocol layer corresponding to the target terminal, which simplifies the backup operation, saves the resources for backing up the uplink sequence number, and achieves fast and efficient backup, thereby further accelerating the efficiency of primary / backup handover and enabling rapid recovery of data transmission for the data to be transmitted. Attached Figure Description

[0026] Figure 1 An application environment diagram for a data transmission method based on primary / backup switching provided in an embodiment of this application;

[0027] Figure 2 A flowchart illustrating a data transmission method based on primary / backup switching provided in an embodiment of this application;

[0028] Figure 3 This is a schematic diagram illustrating the process of obtaining backup data of the target primary base station corresponding to the target backup base station, provided in an embodiment of this application.

[0029] Figure 4 This is a schematic diagram of the process for obtaining the detection results of the target main base station according to an embodiment of this application;

[0030] Figure 5 A flowchart illustrating another data transmission method based on primary / standby switching provided in an embodiment of this application;

[0031] Figure 6 A structural block diagram of a data transmission device based on master-slave switching provided in an embodiment of this application;

[0032] Figure 7 This is an internal structural diagram of a computer device provided in an embodiment of this application. Detailed Implementation

[0033] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0034] The data transmission method provided in this application embodiment can be applied to, for example... Figure 1 In the application environment shown, in this embodiment, the target terminal 101 communicates with the target primary base station 102 and the target backup base station 103 via optical fiber; the target primary base station 102 and the target backup base station 103 communicate with each other via an internal network port; and the target primary base station 102 and the target backup base station 103 may have the same air interface and network side parameters.

[0035] The target main base station 102 has two network ports: a WAN port (external network port) and an internal network port (vEth4), referred to as vEth1 and vEth4 respectively. vEth1 is used for communication with the core network, while vEth4 is the network port for communication between the target main base station 102 and the target backup base station 103. It can be used to back up the network-side data of the target main base station 102 and the signaling plane and data plane context data of the connected target terminal 101 to the backup station, as well as a data communication link for fault detection functions. The second radio frequency switch and the second external network port of the target main base station 102 are pre-enabled. In this embodiment, the target primary base station 102 can back up the first communication data and the second communication data, and send them to the target backup base station 103 through the intranet port vEth4. The first communication data is used to record the device information of the target primary base station 102 and the device information of the target terminal 101, i.e., the context data of the target terminal 101. The second communication data includes the downlink superframe number and downlink sequence number of the data plane of the Packet Data Convergence Protocol (PDCP) layer and the Radio Link Control (RLC) layer, as well as the sequence number of the signaling plane of the Packet Data Convergence Protocol (PDCP) layer and the Radio Link Control (RLC) layer. The downlink superframe number and downlink sequence number are used to encrypt and decrypt each data packet to be transmitted, and to indicate the transmission order of each data packet. The data to be transmitted is the data of the data plane. The sequence number of the signaling plane is used to establish an air interface connection between the target backup base station and the target terminal 101.

[0036] The target backup base station 103 may also have two network ports: a WAN port (external network port) and an internal network port (vEth4), referred to as vEth1 and vEth4 respectively. vEth1 is used for communication with the core network, and vEth4 is the network port through which the target primary base station 102 and the target backup base station 103 can connect and communicate. It can be used to receive first communication data and second communication data from the target primary base station 102. For a description of the first and second communication data, please refer to the relevant description in the above description of the target primary base station 102, which will not be repeated here. In this embodiment, when the target backup base station 103 is switched to the target primary base station, it can send a reset request information to the target terminal 101. The reset request information is used to instruct the target terminal 101 to reset the uplink sequence number of the data plane of the packet data aggregation protocol layer and the radio link control protocol layer corresponding to the target terminal 101. Upon receiving the reset completion information from the target terminal 101, it can use the first communication data, the second communication data, and the uplink sequence number to perform data transmission for the data to be transmitted to the target terminal 101. The reset completion information corresponds to the reset request information.

[0037] The target terminal 101101 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices can include smart speakers, smart TVs, smart air conditioners, smart in-vehicle devices, etc. Portable wearable devices can include smartwatches, smart bracelets, head-mounted devices, etc.

[0038] In one embodiment, such as Figure 2 As shown, a data transmission method based on primary / standby switchover is provided, which is applied to... Figure 1 Taking the target backup base station 103 as an example, the explanation includes the following steps:

[0039] Step S201: When the target backup base station is switched to the target primary base station, a reset request message is sent to the target terminal.

[0040] The reset request information is used to instruct the target terminal to reset the uplink sequence number of the data plane of the corresponding Packet Data Convergence Protocol (PDCP) layer and Radio Link Control (RLC) layer. In this embodiment, the reset request information can be an RRC Reconfiguration message with reestablishPDCP and reestablishRLC set to true. After receiving the reset request information, the target terminal can reset the PDCP layer and RLC layer, so that the uplink sequence number of the data plane of the PDCP layer and RLC layer is reset to zero.

[0041] In addition, the target backup base station pre-backs up and stores the first and second communication data of the target primary base station; the first communication data is used to record the equipment information of the target primary base station and the equipment information of the target terminal; the first communication data can be the context data of the target terminal. The second communication data can include, but is not limited to, the downlink hyperframe number (HFN) and downlink sequence number (SN) of the data plane of the packet data convergence protocol layer and the radio link control protocol layer, and the sequence number SN of the signaling plane of the packet data convergence protocol layer and the radio link control protocol layer; the downlink hyperframe number and downlink sequence number are used to encrypt and decrypt each data packet to be transmitted, and to indicate the transmission order of each data packet; the data to be transmitted is the data of the data plane; the sequence number of the signaling plane is used to establish the air interface connection between the target backup base station and the target terminal.

[0042] Step S202: Upon receiving reset completion information from the target terminal, data transmission for the data to be transmitted is performed on the target terminal using the first communication data, the second communication data, and the uplink sequence number.

[0043] Among them, the reset completion information corresponds to the reset request information.

[0044] In the aforementioned data transmission method based on primary / backup handover, the target backup base station can send a reset request to the target terminal when switching from the target standby base station to the target primary base station. The reset request is used to instruct the target terminal to reset the uplink sequence number of the data plane of the packet data aggregation protocol layer and the radio link control protocol layer corresponding to the target terminal. Therefore, during the data backup process before primary / backup handover, it is not necessary to back up the uplink sequence number of the data plane of the packet data aggregation protocol layer and the radio link control protocol layer corresponding to the target terminal. This simplifies the backup operation, saves resources for backing up the uplink sequence number, and achieves fast and efficient backup, thereby further accelerating the efficiency of primary / backup handover and enabling rapid recovery of data transmission for the data to be transmitted.

[0045] In one embodiment, such as Figure 3 As shown, the data transmission method based on primary / standby switching provided in this application embodiment may further include the following steps:

[0046] Step S301: Determine the current protocol layer from multiple protocol layers of the target backup base station.

[0047] Typically, a fifth-generation mobile communication technology (5G) system includes a core network, an access network, and a terminal. The access network and the terminal are connected through a radio interface protocol stack. The radio interface protocol stack can be divided into three layers and two planes: the three layers are the physical layer (PHY), the data link layer, and the network layer; the two planes are the control plane and the user plane.

[0048] The data link layer may include the Packet Data Convergence Protocol (PDCP) layer, the Service Data Adaptation Protocol (SDAP) layer, the Medium Access Control (MAC) layer, and the Radio Link Control (RLC) layer.

[0049] In this embodiment, for the four protocol layers PHY, MAC, SDAP, and NGU, the superframe number and sequence number are only used to indicate the transmission order of each data packet in the data to be transmitted, and do not need to implement encryption and integrity protection functions. Therefore, for the four protocol layers PHY, MAC, SDAP, and NGU, the backup data may include first communication data. When the target backup base station is switched to the target primary base station, the first communication data is used to perform data transmission of the data to be transmitted to the transmission terminal.

[0050] For the RLC and PDCP protocol layers, superframe numbers and sequence numbers are required to implement encryption and integrity protection functions. Therefore, it is necessary to back up the second communication data. When the target backup base station is switched to the target primary base station, the first and second communication data are used to perform data transmission for the data to be transmitted to the transmission terminal.

[0051] Step S302: Obtain the backup data of the target primary base station corresponding to the target backup base station according to the data transmission mode corresponding to the current protocol layer.

[0052] In this embodiment of the application, each of the multiple protocol layers corresponds to a set of second communication data corresponding to the data to be transmitted; the data transmission mode is divided based on whether to back up the current second communication data corresponding to the current protocol layer.

[0053] The data transmission mode may include a first transmission mode and a second transmission mode. The backup data for the first transmission mode is the first communication data; the backup data for the second transmission mode is both the first communication data and the second communication data.

[0054] Among the methods for obtaining backup data described above, data backup can be performed according to the data transmission mode of each protocol layer, allowing for precise location. Alternatively, the purpose of backup can be simplified first, thereby achieving rapid backup.

[0055] In one embodiment, obtaining backup data of the target primary base station corresponding to the target backup base station according to the data transmission mode corresponding to the current protocol layer may include the following steps:

[0056] Step 1: When the current protocol layer is the first protocol layer, obtain the first communication data of the target primary base station corresponding to the target backup base station.

[0057] The current protocol layer corresponding to this first transmission mode may include four protocol layers: PHY, MAC, SDAP, and NGU.

[0058] In this embodiment, for the four protocol layers PHY, MAC, SDAP, and NGU, the superframe number and sequence number are only used to indicate the transmission order of each data packet in the data to be transmitted, and do not need to implement encryption and integrity protection functions. Therefore, for the four protocol layers PHY, MAC, SDAP, and NGU, the backup data may include first communication data. When the target backup base station is switched to the target primary base station, the first communication data is used to perform data transmission of the data to be transmitted to the transmission terminal.

[0059] Step 2: When the current protocol layer is the second protocol layer, obtain the first communication data of the target primary base station corresponding to the target backup base station and the current second communication data corresponding to the current protocol layer.

[0060] In this context, the current protocol layer corresponding to the second transmission mode can be either the PDCP layer or the RLC layer.

[0061] In this embodiment of the application, the current second communication data may include the downlink superframe number and downlink sequence number of the data plane of the packet data convergence protocol layer and the radio link control protocol layer, as well as the sequence number of the signaling plane of the packet data convergence protocol layer and the radio link control protocol layer.

[0062] For the RLC and PDCP protocol layers, superframe numbers and sequence numbers are required to implement encryption and integrity protection functions. Therefore, it is necessary to back up the second communication data. When the target backup base station is switched to the target primary base station, the first communication data, the second communication data, and the uplink sequence number are used to perform data transmission for the data to be transmitted to the transmission terminal.

[0063] In the above method for obtaining backup data, the data transmission mode is determined based on whether the second communication data is backed up. On the one hand, not every protocol layer needs to back up the second communication data, which reduces the backup workload and improves backup efficiency. On the other hand, backing up the second communication data can avoid the problem of data packet loss, thereby effectively preventing the base station from transmitting data to the terminal and quickly restoring the terminal's communication services.

[0064] In one embodiment, such as Figure 4 As shown, the data transmission method based on primary / standby switching provided in this application embodiment may further include the following steps:

[0065] Step S401: Obtain the detection results of the target main base station.

[0066] In this embodiment of the application, the detection results include heartbeat detection results and signal detection results.

[0067] Step S402: If the detection result indicates that the target primary base station is abnormal, switch the target backup base station to the target primary base station.

[0068] Typically, an access network can include base stations and terminals. Base stations, acting as local central nodes of the access network, provide wireless signal coverage, while terminals access the base station via wireless channels to access the local wireless communication network within its coverage area. If a base station malfunctions or is damaged, the local wireless communication network will be paralyzed, affecting the normal communication of the access network. To achieve resilience and reconfiguration of the access network, backup base stations can be established.

[0069] In this embodiment, the target primary base station is the currently used base station that performs data transmission for the data to be transmitted to the transmission terminal. The target backup base station is the base station used to replace and restore the data transmission for the data to be transmitted to the transmission terminal when the target primary base station fails.

[0070] In one embodiment, obtaining the detection results of the target main base station may include the following steps:

[0071] Step 1: Detect the heartbeat information sent by the target main base station according to the preset cycle.

[0072] Among them, the heartbeat information is used to detect whether the communication link between the target primary base station and the target backup base station can communicate normally, and whether the target primary base station and the target terminal can communicate normally.

[0073] Step 2: If no heartbeat information is detected within the preset time threshold period, the heartbeat detection result is determined to be an abnormal heartbeat.

[0074] In some possible implementations, if no heartbeat information is detected within a preset time threshold period, it can be determined that the transmission link between the target main base station and the target terminal is abnormal, as is the communication link between the target main base station and the target backup base station. In this case, the heartbeat detection result can be determined to be an abnormal heartbeat.

[0075] Step 3: If the heartbeat detection result is abnormal, determine that the target main base station is abnormal.

[0076] In one embodiment, obtaining the detection results of the target main base station may include the following steps:

[0077] Step 1: Receive the signal detection results from the target main base station.

[0078] The signal detection result is determined by the target main base station based on the strength of the real-time radio frequency signal and a preset signal threshold. If the real-time radio frequency signal is slightly lower than the preset signal threshold, the signal detection result can be determined as an abnormal signal; if the real-time radio frequency signal is slightly greater than or equal to the preset signal threshold, the signal detection result can be determined as a normal signal.

[0079] Step 2: If the signal detection result is abnormal, determine that the detection result of the target main base station is abnormal.

[0080] In one embodiment, switching the target backup base station to the target primary base station when the detection result indicates an anomaly may include the following steps:

[0081] Step 1: If the detection result indicates that the target main base station is abnormal, receive the start command from the target main base station.

[0082] Step 2: In response to the enable command, turn on the first RF switch and enable the first external network port.

[0083] The target main base station is used to disable the second radio frequency switch and the second external network port enable state.

[0084] The first radio frequency switch and the first external network port of the target backup base station are pre-activated and the second radio frequency switch and the second external network port of the target main base station are pre-activated.

[0085] In one embodiment, such as Figure 5 As shown, another data transmission method based on primary / standby switchover is provided, which may include the following steps:

[0086] Step S501: Determine the current protocol layer from multiple protocol layers of the target backup base station.

[0087] Typically, a fifth-generation mobile communication technology (5G) system includes a core network, an access network, and a terminal. The access network and the terminal are connected through a radio interface protocol stack. The radio interface protocol stack can be divided into three layers and two planes: the three layers are the physical layer (PHY), the data link layer, and the network layer; the two planes are the control plane and the user plane.

[0088] The data link layer may include the Packet Data Convergence Protocol (PDCP) layer, the Service Data Adaptation Protocol (SDAP) layer, the Medium Access Control (MAC) layer, and the Radio Link Control (RLC) layer.

[0089] In this embodiment, for the four protocol layers PHY, MAC, SDAP, and NGU, the superframe number and sequence number are only used to indicate the transmission order of each data packet in the data to be transmitted, and do not need to implement encryption and integrity protection functions. Therefore, for the four protocol layers PHY, MAC, SDAP, and NGU, the backup data may include first communication data. When the target backup base station is switched to the target primary base station, the first communication data is used to perform data transmission of the data to be transmitted to the transmission terminal.

[0090] For the RLC and PDCP protocol layers, superframe numbers and sequence numbers are required to implement encryption and integrity protection functions. Therefore, it is necessary to back up the second communication data. When the target backup base station is switched to the target primary base station, the first and second communication data are used to perform data transmission for the data to be transmitted to the transmission terminal.

[0091] Step S502: Obtain the backup data of the target primary base station corresponding to the target backup base station according to the data transmission mode corresponding to the current protocol layer.

[0092] In this embodiment of the application, each of the multiple protocol layers corresponds to a set of second communication data corresponding to the data to be transmitted; the data transmission mode is divided based on whether to back up the current second communication data corresponding to the current protocol layer.

[0093] The data transmission mode may include a first transmission mode and a second transmission mode. The backup data for the first transmission mode is the first communication data; the backup data for the second transmission mode is both the first communication data and the second communication data.

[0094] Among the methods for obtaining backup data described above, data backup can be performed according to the data transmission mode of each protocol layer, allowing for precise location. Alternatively, the purpose of backup can be simplified first, thereby achieving rapid backup.

[0095] In one embodiment, obtaining backup data of the target primary base station corresponding to the target backup base station according to the data transmission mode corresponding to the current protocol layer may include the following steps:

[0096] Step 1: When the current protocol layer is the first protocol layer, obtain the first communication data of the target primary base station corresponding to the target backup base station.

[0097] The current protocol layer corresponding to this first transmission mode may include four protocol layers: PHY, MAC, SDAP, and NGU.

[0098] In this embodiment, for the four protocol layers PHY, MAC, SDAP, and NGU, the superframe number and sequence number are only used to indicate the transmission order of each data packet in the data to be transmitted, and do not need to implement encryption and integrity protection functions. Therefore, for the four protocol layers PHY, MAC, SDAP, and NGU, the backup data may include first communication data. When the target backup base station is switched to the target primary base station, the first communication data is used to perform data transmission of the data to be transmitted to the transmission terminal.

[0099] Step 2: When the current protocol layer is the second protocol layer, obtain the first communication data of the target primary base station corresponding to the target backup base station and the current second communication data corresponding to the current protocol layer.

[0100] In this context, the current protocol layer corresponding to the second transmission mode can be either the PDCP layer or the RLC layer.

[0101] In this embodiment, the current second communication data may include the downlink superframe number and downlink sequence number of the data plane of the packet data convergence protocol layer and the radio link control protocol layer, as well as the sequence number of the signaling plane of the packet data convergence protocol layer and the radio link control protocol layer. The downlink superframe number and downlink sequence number are used to encrypt and decrypt each data packet to be transmitted, and to indicate the transmission order of each data packet; the data to be transmitted is the data of the data plane; the sequence number of the signaling plane is used to establish an air interface connection between the target backup base station and the target terminal.

[0102] For the RLC and PDCP protocol layers, superframe numbers and sequence numbers are required to implement encryption and integrity protection functions. Therefore, it is necessary to back up the second communication data. When the target backup base station is switched to the target primary base station, the first communication data, the second communication data, and the uplink sequence number are used to perform data transmission for the data to be transmitted to the transmission terminal.

[0103] In step S503, the target backup base station can obtain the detection results of the target main base station in real time.

[0104] In this embodiment of the application, the detection results include heartbeat detection results and signal detection results.

[0105] In one embodiment, obtaining the heartbeat detection result of the target main base station may include the following steps:

[0106] Step 1: Detect the heartbeat information sent by the target main base station according to the preset cycle.

[0107] Among them, the heartbeat information is used to detect whether the communication link between the target primary base station and the target backup base station can communicate normally, and whether the target primary base station and the target terminal can communicate normally.

[0108] Step 2: If no heartbeat information is detected within the preset time threshold period, the heartbeat detection result is determined to be an abnormal heartbeat.

[0109] In some possible implementations, if no heartbeat information is detected within a preset time threshold period, it can be determined that the transmission link between the target main base station and the target terminal is abnormal, as is the communication link between the target main base station and the target backup base station. In this case, the heartbeat detection result can be determined to be an abnormal heartbeat.

[0110] Step 3: If the heartbeat detection result is abnormal, determine that the target main base station is abnormal.

[0111] In one embodiment, obtaining the signal detection result of the target main base station may include the following steps:

[0112] Step 1: Receive the signal detection results from the target main base station.

[0113] The signal detection result is determined by the target main base station based on the strength of the real-time radio frequency signal and a preset signal threshold. If the strength of the real-time radio frequency signal is less than the preset signal threshold, the signal detection result can be determined as an abnormal signal; if the strength of the real-time radio frequency signal is greater than or equal to the preset signal threshold, the signal detection result can be determined as a normal signal.

[0114] Step 2: If the signal detection result is abnormal, determine that the detection result of the target main base station is abnormal.

[0115] Step S504: If the detection result indicates that the target primary base station is abnormal, switch the target backup base station to the target primary base station.

[0116] Typically, an access network can include base stations and terminals. Base stations, acting as local central nodes of the access network, provide wireless signal coverage, while terminals access the base station via wireless channels to access the local wireless communication network within its coverage area. If a base station malfunctions or is damaged, the local wireless communication network will be paralyzed, affecting the normal communication of the access network. To achieve resilience and reconfiguration of the access network, backup base stations can be established.

[0117] In this embodiment, the target primary base station is the currently used base station that performs data transmission for the data to be transmitted to the transmission terminal. The target backup base station is the base station used to replace and restore the data transmission for the data to be transmitted to the transmission terminal when the target primary base station fails.

[0118] In one embodiment, switching the target backup base station to the target primary base station when the detection result indicates an anomaly may include the following steps:

[0119] Step 1: If the detection result indicates that the target main base station is abnormal, receive the start command from the target main base station.

[0120] Step 2: In response to the enable command, turn on the first RF switch and enable the first external network port.

[0121] The target main base station is used to disable the second radio frequency switch and the second external network port enable state.

[0122] The first radio frequency switch and the first external network port of the target backup base station are pre-activated and the second radio frequency switch and the second external network port of the target main base station are pre-activated.

[0123] Step S505: When the target backup base station is switched to the target primary base station, a reset request message is sent to the target terminal.

[0124] The reset request information is used to instruct the target terminal to reset the uplink sequence number of the data plane of the corresponding Packet Data Convergence Protocol (PDCP) layer and Radio Link Control (RLC) layer. In this embodiment, the reset request information can be an RRC Reconfiguration message with reestablishPDCP and reestablishRLC set to true. After receiving the reset request information, the target terminal can reset the PDCP layer and RLC layer, so that the uplink sequence number of the data plane of the PDCP layer and RLC layer is reset to zero.

[0125] Step S506: Upon receiving reset completion information from the target terminal, data transmission for the data to be transmitted is performed on the target terminal using the first communication data, the second communication data, and the uplink sequence number.

[0126] In one embodiment, step S506 may include:

[0127] When the current protocol layer is the first protocol layer, the first communication data is used to perform data transmission of the data to be transmitted to the target terminal;

[0128] When the current protocol layer is the second protocol layer, the target terminal performs data transmission for the data to be transmitted using the first communication data, the current second communication data, and the uplink sequence number.

[0129] Specifically, when the target backup base station acts as the transmitting end, the first communication data and the current second communication data are used to perform data transmission of the data to be transmitted to the target terminal; when the target backup base station acts as the receiving end, the first communication data and the uplink sequence number are used to perform data transmission of the data to be transmitted to the target terminal.

[0130] In the aforementioned data transmission method based on primary / backup handover, the target backup base station can send a reset request to the target terminal when switching from the target standby base station to the target primary base station. The reset request is used to instruct the target terminal to reset the uplink sequence number of the data plane of the packet data aggregation protocol layer and the radio link control protocol layer corresponding to the target terminal. Therefore, during the data backup process before primary / backup handover, it is not necessary to back up the uplink sequence number of the data plane of the packet data aggregation protocol layer and the radio link control protocol layer corresponding to the target terminal. This simplifies the backup operation, saves resources for backing up the uplink sequence number, and achieves fast and efficient backup, thereby further accelerating the efficiency of primary / backup handover and enabling rapid recovery of data transmission for the data to be transmitted.

[0131] It should be understood that although the steps in the flowcharts of the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0132] Based on the same inventive concept, this application also provides a data transmission device based on primary / backup switching for implementing the aforementioned data transmission method based on primary / backup switching. The solution provided by this device is similar to the solution described in the above method; therefore, the specific limitations in one or more embodiments of the data transmission device based on primary / backup switching provided below can be found in the limitations of the data transmission method based on primary / backup switching described above, and will not be repeated here.

[0133] In one embodiment, such as Figure 6 As shown, a data transmission device based on primary / standby switching is provided, comprising: a sending module 610 and a transmission module 620, wherein:

[0134] The sending module 610 is used to send a reset request message to the target terminal when the target backup base station is switched to the target primary base station. The reset request message is used to instruct the target terminal to reset the uplink sequence number of the data plane of the packet data convergence protocol layer and the radio link control protocol layer corresponding to the target terminal. The target backup base station pre-backs up and stores the first communication data and the second communication data of the target primary base station. The first communication data is used to record the equipment information of the target primary base station and the equipment information of the target terminal. The second communication data includes the downlink superframe number and downlink sequence number of the data plane of the packet data convergence protocol layer and the radio link control protocol layer, as well as the sequence number of the signaling plane of the packet data convergence protocol layer and the radio link control protocol layer. The downlink superframe number and downlink sequence number are used to encrypt and decrypt each data packet to be transmitted, and to indicate the transmission order of each data packet. The data to be transmitted is the data plane data. The sequence number of the signaling plane is used to establish an air interface connection between the target backup base station and the target terminal.

[0135] The transmission module 620 is used to perform data transmission of the data to be transmitted to the target terminal using the first communication data, the second communication data, and the uplink sequence number when it receives the reset completion information from the target terminal; the reset completion information corresponds to the reset request information.

[0136] Each module in the aforementioned data transmission device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the operations corresponding to each module.

[0137] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 7As shown, the computer device includes a processor, memory, communication interface, display screen, and input devices connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When executed by the processor, the computer program implements a defect identification method. The display screen can be an LCD screen or an e-ink screen. The input devices can be a touch layer covering the display screen, buttons, a trackball, or a touchpad mounted on the computer device casing, or an external keyboard, touchpad, or mouse.

[0138] Those skilled in the art will understand that Figure 7 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0139] In one embodiment, a computer device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:

[0140] When the target backup base station is switched to the target primary base station, a reset request message is sent to the target terminal. The reset request message is used to instruct the target terminal to reset the uplink sequence number of the data plane of the Packet Data Convergence Protocol (PDCP) and Radio Link Control Protocol (RANC) corresponding to the target terminal. The target backup base station pre-backs up and stores the first communication data and the second communication data of the target primary base station. The first communication data is used to record the equipment information of the target primary base station and the equipment information of the target terminal. The second communication data includes the downlink superframe number and downlink sequence number of the data plane of the PCP and RAN, as well as the sequence number of the signaling plane of the PCP and RAN. The downlink superframe number and downlink sequence number are used to encrypt and decrypt each data packet to be transmitted, and to indicate the transmission order of each data packet. The data to be transmitted is the data plane data. The sequence number of the signaling plane is used to establish an air interface connection between the target backup base station and the target terminal.

[0141] Upon receiving a reset completion message from the target terminal, the system uses the first communication data, the second communication data, and the uplink sequence number to perform data transmission for the data to be transmitted to the target terminal; the reset completion message corresponds to the reset request message.

[0142] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, performs the following steps:

[0143] When the target backup base station is switched to the target primary base station, a reset request message is sent to the target terminal. The reset request message is used to instruct the target terminal to reset the uplink sequence number of the data plane of the Packet Data Convergence Protocol (PDCP) and Radio Link Control Protocol (RANC) corresponding to the target terminal. The target backup base station pre-backs up and stores the first communication data and the second communication data of the target primary base station. The first communication data is used to record the equipment information of the target primary base station and the equipment information of the target terminal. The second communication data includes the downlink superframe number and downlink sequence number of the data plane of the PCP and RAN, as well as the sequence number of the signaling plane of the PCP and RAN. The downlink superframe number and downlink sequence number are used to encrypt and decrypt each data packet to be transmitted, and to indicate the transmission order of each data packet. The data to be transmitted is the data plane data. The sequence number of the signaling plane is used to establish an air interface connection between the target backup base station and the target terminal.

[0144] Upon receiving a reset completion message from the target terminal, the system uses the first communication data, the second communication data, and the uplink sequence number to perform data transmission for the data to be transmitted to the target terminal; the reset completion message corresponds to the reset request message.

[0145] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:

[0146] When the target backup base station is switched to the target primary base station, a reset request message is sent to the target terminal. The reset request message is used to instruct the target terminal to reset the uplink sequence number of the data plane of the Packet Data Convergence Protocol (PDCP) and Radio Link Control Protocol (RANC) corresponding to the target terminal. The target backup base station pre-backs up and stores the first communication data and the second communication data of the target primary base station. The first communication data is used to record the equipment information of the target primary base station and the equipment information of the target terminal. The second communication data includes the downlink superframe number and downlink sequence number of the data plane of the PCP and RAN, as well as the sequence number of the signaling plane of the PCP and RAN. The downlink superframe number and downlink sequence number are used to encrypt and decrypt each data packet to be transmitted, and to indicate the transmission order of each data packet. The data to be transmitted is the data plane data. The sequence number of the signaling plane is used to establish an air interface connection between the target backup base station and the target terminal.

[0147] Upon receiving a reset completion message from the target terminal, the system uses the first communication data, the second communication data, and the uplink sequence number to perform data transmission for the data to be transmitted to the target terminal; the reset completion message corresponds to the reset request message.

[0148] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.

[0149] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0150] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0151] The above embodiments are merely illustrative of several implementation methods of this application, and their descriptions are relatively specific and detailed. However, they should not be construed as limiting the scope of this application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A data transmission method based on primary / standby switchover, characterized in that, The method includes: When the target backup base station is switched to the target primary base station, a reset request message is sent to the target terminal. The reset request message is used to instruct the target terminal to reset the uplink sequence number of the data plane of the Packet Data Convergence Protocol (PDCP) and Radio Link Control Protocol (RANC) corresponding to the target terminal. The target backup base station pre-backs up and stores the first communication data and the second communication data of the target primary base station. The first communication data is used to record the device information of the target primary base station and the device information of the target terminal. The second communication data includes the downlink superframe number and downlink sequence number of the data plane of the PCP and RANC, as well as the sequence number of the signaling plane of the PCP and RANC. The downlink superframe number and the downlink sequence number are used to encrypt and decrypt each data packet to be transmitted, and to indicate the transmission order of each data packet. The data to be transmitted is the data of the data plane. The sequence number of the signaling plane is used to establish an air interface connection between the target backup base station and the target terminal. Upon receiving reset completion information from the target terminal, the system utilizes the first communication data, the second communication data, and the uplink sequence number to perform data transmission for the data to be transmitted to the target terminal; the reset completion information corresponds to the reset request information. The method further includes: The current protocol layer is determined from multiple protocol layers of the target backup base station; According to the data transmission mode corresponding to the current protocol layer, the backup data of the target primary base station corresponding to the target backup base station is obtained; the plurality of protocol layers include a first protocol layer and a second protocol layer; the backup data includes the first communication data and the second communication data; The step of obtaining backup data of the target primary base station corresponding to the target backup base station according to the data transmission mode corresponding to the current protocol layer includes: When the current protocol layer is the first protocol layer, the first communication data of the target primary base station corresponding to the target backup base station is obtained; When the current protocol layer is the second protocol layer, the first communication data of the target primary base station corresponding to the target backup base station and the current second communication data corresponding to the current protocol layer are obtained.

2. The data transmission method based on primary / standby switching according to claim 1, characterized in that, The method further includes: Obtain the detection results of the target main base station; If the detection result indicates that the target primary base station is abnormal, the target backup base station will be switched to the target primary base station.

3. The data transmission method based on primary / standby switching according to claim 2, characterized in that, The test results include heart rate detection results; The step of obtaining the detection result of the target main base station includes: The heartbeat information sent by the target main base station is detected according to a preset period; If no heartbeat information is detected within a preset time threshold period, the heartbeat detection result is determined to be an abnormal heartbeat. If the heartbeat detection result indicates an abnormal heartbeat, then the detection result is determined to indicate that the target main base station is abnormal.

4. The data transmission method based on primary / standby switching according to claim 2, characterized in that, The detection results include signal detection results; The step of obtaining the detection result of the target main base station includes: The system receives signal detection results from the target main base station; the signal detection results are determined by the target main base station based on the strength of the real-time radio frequency signal and a preset signal threshold. If the signal detection result indicates an abnormal signal, then the detection result of the target main base station is determined to be an abnormal target main base station.

5. The data transmission method based on primary / standby switching according to claim 2, characterized in that, The first radio frequency switch and the first external network port of the target backup base station are pre-closed; the second radio frequency switch and the second external network port of the target main base station are pre-opened. The step of switching the target backup base station to the target main base station when the detection result indicates that the target main base station is abnormal includes: If the detection result indicates that the target main base station is abnormal, an activation command is received from the target main base station; In response to the activation command, the first radio frequency switch is activated, and the first external network port is enabled; the target main base station is used to deactivate the second radio frequency switch and the second external network port.

6. A data transmission device based on master-slave switching, characterized in that, The device includes: The sending module is used to send a reset request message to the target terminal when the target backup base station is switched to the target primary base station. The reset request message is used to instruct the target terminal to reset the uplink sequence number of the data plane of the Packet Data Convergence Protocol (PDCP) and Radio Link Control Protocol (RANC) corresponding to the target terminal. The target backup base station pre-backs up and stores the first communication data and the second communication data of the target primary base station. The first communication data is used to record the device information of the target primary base station and the device information of the target terminal. The second communication data includes the downlink superframe number and downlink sequence number of the data plane of the PCP and RANC, as well as the sequence number of the signaling plane of the PCP and RANC. The downlink superframe number and the downlink sequence number are used to encrypt and decrypt each data packet to be transmitted, and to indicate the transmission order of each data packet. The data to be transmitted is the data of the data plane. The sequence number of the signaling plane is used to establish an air interface connection between the target backup base station and the target terminal. The transmission module is configured to, upon receiving reset completion information from the target terminal, use the first communication data, the second communication data, and the uplink sequence number to perform data transmission for the data to be transmitted to the target terminal; the reset completion information corresponds to the reset request information; The sending module is further configured to determine the current protocol layer from multiple protocol layers of the target backup base station; According to the data transmission mode corresponding to the current protocol layer, the backup data of the target primary base station corresponding to the target backup base station is obtained; the plurality of protocol layers include a first protocol layer and a second protocol layer; the backup data includes the first communication data and the second communication data; The sending module is further configured to, when the current protocol layer is the first protocol layer, acquire the first communication data of the target primary base station corresponding to the target backup base station; When the current protocol layer is the second protocol layer, the first communication data of the target primary base station corresponding to the target backup base station and the current second communication data corresponding to the current protocol layer are obtained.

7. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1-5.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method described in any one of claims 1-5.

9. A computer program product, comprising a computer program, characterized in that, When executed by a processor, the computer program implements the steps of the method described in any one of claims 1-5.