CN114158070B - Method and device for data transmission in private network - Google Patents

Method and device for data transmission in private network Download PDF

Info

Publication number
CN114158070B
CN114158070B CN202111425328.4A CN202111425328A CN114158070B CN 114158070 B CN114158070 B CN 114158070B CN 202111425328 A CN202111425328 A CN 202111425328A CN 114158070 B CN114158070 B CN 114158070B
Authority
CN
China
Prior art keywords
data
terminal
network device
transmission
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111425328.4A
Other languages
Chinese (zh)
Other versions
CN114158070A (en
Inventor
张勍
冯毅
秦小飞
从光磊
王杉
王磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202111425328.4A priority Critical patent/CN114158070B/en
Publication of CN114158070A publication Critical patent/CN114158070A/en
Application granted granted Critical
Publication of CN114158070B publication Critical patent/CN114158070B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic

Abstract

The application provides a method and a device for data transmission in a private network, wherein a first network device and a second network device in the private network serve a terminal, the terminal transmits first data to a user plane function network element UPF through the first network device, and the second network device is in a dormant state.

Description

Method and device for data transmission in private network
Technical Field
The present application relates to the field of private network communication technologies, and in particular, to a method and an apparatus for data transmission in a private network.
Background
The fifth generation mobile communication technology (5th generation mobile communication Technology,5G) private network provides a new transmission mode for data transmission. The 5G private network has the characteristics of large bandwidth, low time delay and wide connection, so the adoption of the 5G private network for transmitting data has the advantages of high speed, low time delay, good transmission stability, high transmission reliability and the like.
At present, the 5G private network adopts multilink redundancy to improve the reliability of data transmission. The 5G private network provides a main network device and a standby network device for the terminal to serve the main network device and the standby network device, and in a scene that the main network device and the standby network device serve one terminal, the terminal can send data to the server through the main network device and the user plane function network element, and the standby network device is in a dormant state. When the main network equipment fails and cannot transmit data, the standby network equipment in the dormant state can be started to transmit data.
In the existing 5G private network, in the scene of serving a terminal, the main network equipment and the standby network equipment have the problems of interruption of data transmission and large time delay when switching the main network equipment and the standby network equipment.
Disclosure of Invention
The application provides a method and a device for data transmission in a private network, which can avoid interruption of data transmission of a terminal and reduce time delay of the data transmission.
The first aspect of the present application provides a method for transmitting data in a private network, where a first network device and a second network device in the private network both serve a terminal, the terminal transmits first data to a user plane function network element UPF through the first network device, and the second network device is in a dormant state, and the method includes:
Detecting whether the terminal supports simultaneous data transmission to a plurality of network devices or not in response to detecting that the transmission reliability parameter value of the first network device is lower than a preset parameter value, wherein the transmission reliability parameter value is used for representing the transmission reliability of the first network device; if yes, starting the second network equipment; and sending first information to the terminal, wherein the first information is used for indicating the terminal to send the same data to the first network equipment and the second network equipment.
In a possible implementation manner, the same data is second data, and the first information is further used to indicate: and the second data sent by the terminal to the second network equipment is identified as test data.
In one possible implementation, the method further includes: if the terminal does not support transmitting data to a plurality of network devices at the same time, transmitting second information to the terminal, wherein the second information is used for indicating the terminal to initiate a test request for the second network device when any data is transmitted to the first network device; responsive to detecting that the terminal initiates a test request for the second network device, closing the first network device and starting the second network device; and sending third information to the terminal, wherein the third information is used for indicating the terminal to identify the last data packet in any data as test data and send the test data to the second network equipment.
In one possible implementation, the method further includes: acquiring transmission information of the second network device for transmitting data marked as test data, wherein the transmission information comprises at least one of the following: bit error rate, transmission rate and transmission delay; and acquiring the transmission quality of the second network equipment relative to the terminal according to the transmission information.
In one possible implementation, the method further includes: when the terminal does not support simultaneous data transmission to a plurality of network devices, if the transmission quality is greater than or equal to a first preset transmission quality, fourth information is sent to the terminal, wherein the fourth information is used for indicating the terminal to send data to the UPF through the second network device; when the terminal supports simultaneous data transmission to a plurality of network devices, determining a target mode of the terminal for transmitting data to the UPF according to the transmission reliability parameter value and the transmission quality; and sending fifth information to the terminal, wherein the fifth information is used for indicating the terminal to send data to the UPF in the target mode.
In one possible implementation manner, the determining, according to the transmission reliability parameter value and the transmission quality, a target manner of sending data to the UPF by the terminal includes: acquiring the grade of the transmission reliability of the first network equipment according to the transmission reliability parameter value; and determining a target mode of the terminal for sending data to the UPF according to the grade of the transmission reliability and the transmission quality.
In one possible implementation, when the terminal supports simultaneous transmission of data to a plurality of network devices, the method further includes: detecting a moment when the first network device receives the second data from the terminal; and if the second network equipment does not receive the second data from the terminal within a preset verification time window after the moment, determining that the transmission quality of the second network equipment relative to the terminal is smaller than a second preset transmission quality.
In a possible implementation manner, the detecting the time when the first network device receives the second data from the terminal includes: receiving a message from the first network device that the second data is received; and taking the moment when the message is received as the moment when the first network equipment receives the second data from the terminal.
In one possible implementation manner, the target manner includes any one of the following: the first transmission mode, the second transmission mode, the third transmission mode and the fourth transmission mode; the first transmission mode is as follows: the terminal sends data to the UPF through the first network equipment, and the second transmission mode is as follows: the terminal sends data to the UPF through the second network device, and the third transmission mode is as follows: the terminal sends the same data to the UPF through the first network device and the second network device, and the fourth transmission mode is as follows: the terminal selects a target network device from the first network device and the second network device, and sends data to the UPF through the target network device.
In one possible implementation manner, the determining, according to the level of the transmission reliability and the transmission quality, a target manner of sending data to the UPF by the terminal includes: if the transmission reliability grade is a first grade and the transmission quality is smaller than a second preset transmission quality, determining a target mode as the first transmission mode; if the transmission reliability grade is the first grade and the transmission quality is greater than or equal to the first preset transmission quality, determining a target mode as the third transmission mode, wherein the first preset transmission quality is higher than the second preset transmission quality; if the transmission reliability level is a second level and the transmission quality is greater than or equal to the second preset transmission quality, determining that the target mode is the second transmission mode, wherein the first level is higher than the second level; and if the transmission reliability grade is a second grade and the transmission quality is smaller than the second preset transmission quality, determining that the target mode is the fourth transmission mode.
A second aspect of the present application provides a method for data transmission in a private network, where a first network device and a second network device in the private network both serve a terminal, the method being applied to the terminal, the method comprising: transmitting first data to a User Plane Function (UPF) through the first network equipment, wherein the second network equipment is in a dormant state; receiving first information, wherein the first information is used for indicating the terminal to send the same data to the first network equipment and the second network equipment; copying the second data into two copies; transmitting one of the second data to the first network device; and sending another second data to the second network equipment.
In one possible implementation manner, the sending another second data to the second network device includes: identifying the other second data as test data; and sending second data identified as test data to the second network equipment.
In one possible implementation manner, after the sending the second data identified as the test data to the second network device, the method further includes: receiving fifth information, wherein the fifth information is used for indicating the terminal to send data to the UPF in a target mode; and sending data to the UPF in a target mode.
In one possible implementation manner, the target manner includes any one of the following: the first transmission mode, the second transmission mode, the third transmission mode and the fourth transmission mode; the first transmission mode is as follows: the terminal sends data to the UPF through the first network equipment, and the second transmission mode is as follows: the terminal sends data to the UPF through the second network device, and the third transmission mode is as follows: the terminal sends the same data to the UPF through the first network device and the second network device, and the fourth transmission mode is as follows: the terminal selects a target network device from the first network device and the second network device, and sends data to the UPF through the target network device.
A third aspect of the present application provides a method for data transmission in a private network, where a first network device and a second network device in the private network both serve a terminal, the method being applied to the terminal, the method comprising: transmitting first data to a User Plane Function (UPF) through the first network equipment, wherein the second network equipment is in a dormant state; receiving second information, wherein the second information is used for indicating the terminal to initiate a test request for the second network equipment when any data is sent to the first network equipment; transmitting a test request for the second network device to the first network device when transmitting second data to the first network device; receiving third information, wherein the third information is used for indicating the terminal to identify the last data packet in the second data as test data and send the test data to the second network equipment; and sending a data packet identified as test data to the second network equipment.
In one possible implementation manner, after the sending, to the second network device, a data packet identified as test data, the method further includes: receiving fourth information, wherein the fourth information is used for indicating the terminal to send data to the UPF through the second network equipment; and sending third data to the UPF through the second network equipment.
A fourth aspect of the present application provides an apparatus for data transmission in a private network, including:
and the processing module is used for detecting whether the terminal supports simultaneous data transmission to a plurality of network devices or not in response to detecting that the transmission reliability parameter value of the first network device is lower than a preset parameter value, wherein the transmission reliability parameter value is used for representing the transmission reliability of the first network device, and if so, the second network device is started.
And the receiving and transmitting module is used for sending first information to the terminal, wherein the first information is used for indicating the terminal to send the same data to the first network equipment and the second network equipment.
In a possible implementation manner, the same data is second data, and the first information is further used to indicate: and the second data sent by the terminal to the second network equipment is identified as test data.
In a possible implementation manner, the transceiver module is further configured to send second information to the terminal if the terminal does not support transmitting data to multiple network devices at the same time, where the second information is used to instruct the terminal to initiate a test request for the second network device when sending any data to the first network device.
And the processing module is also used for closing the first network equipment and starting the second network equipment in response to the detection that the terminal initiates the test request for the second network equipment.
The transceiver module is further configured to send third information to the terminal, where the third information is used to instruct the terminal to identify a last data packet in the arbitrary data as test data and send the test data to the second network device.
In a possible implementation manner, the processing module is further configured to obtain transmission information of the second network device for transmitting data identified as test data, where the transmission information includes at least one of the following: bit error rate, transmission rate and transmission delay; and acquiring the transmission quality of the second network equipment relative to the terminal according to the transmission information.
In a possible implementation manner, when the terminal does not support simultaneous transmission of data to multiple network devices, if the transmission quality is greater than or equal to a first preset transmission quality, the transceiver module is further configured to send fourth information to the terminal, where the fourth information is used to instruct the terminal to send data to the UPF through the second network device;
When the terminal supports transmitting data to a plurality of network devices at the same time, the processing module is further used for determining a target mode of transmitting data to the UPF by the terminal according to the transmission reliability parameter value and the transmission quality; and sending fifth information to the terminal, wherein the fifth information is used for indicating the terminal to send data to the UPF in the target mode.
In a possible implementation manner, the processing module is specifically configured to obtain a level of transmission reliability of the first network device according to the transmission reliability parameter value; and determining a target mode of the terminal for sending data to the UPF according to the grade of the transmission reliability and the transmission quality.
In a possible implementation manner, when the terminal supports transmitting data to a plurality of network devices at the same time, the processing module is further configured to detect a time when the first network device receives the second data from the terminal; and if the second network equipment does not receive the second data from the terminal within a preset verification time window after the moment, determining that the transmission quality of the second network equipment relative to the terminal is smaller than a second preset transmission quality.
In a possible implementation manner, the transceiver module is further configured to receive a message from the first network device that the receiving of the second data is completed. The processing module is specifically configured to take a time when the message is received as a time when the first network device receives the second data from the terminal.
In one possible implementation manner, the target manner includes any one of the following: the first transmission mode, the second transmission mode, the third transmission mode and the fourth transmission mode; the first transmission mode is as follows: the terminal sends data to the UPF through the first network equipment, and the second transmission mode is as follows: the terminal sends data to the UPF through the second network device, and the third transmission mode is as follows: the terminal sends the same data to the UPF through the first network device and the second network device, and the fourth transmission mode is as follows: the terminal selects a target network device from the first network device and the second network device, and sends data to the UPF through the target network device.
In one possible implementation manner, the processing module is specifically configured to determine that the target mode is the first transmission mode if the level of the transmission reliability is a first level and the transmission quality is less than a second preset transmission quality; if the transmission reliability grade is the first grade and the transmission quality is greater than or equal to the first preset transmission quality, determining a target mode as the third transmission mode, wherein the first preset transmission quality is higher than the second preset transmission quality; if the transmission reliability level is a second level and the transmission quality is greater than or equal to the second preset transmission quality, determining that the target mode is the second transmission mode, wherein the first level is higher than the second level; and if the transmission reliability grade is a second grade and the transmission quality is smaller than the second preset transmission quality, determining that the target mode is the fourth transmission mode.
A fifth aspect of the present application provides an apparatus for data transmission in a private network, including:
the receiving and transmitting module is used for transmitting first data to a user plane function network element UPF through the first network equipment, the second network equipment is in a dormant state, and receiving first information, wherein the first information is used for indicating the terminal to send the same data to the first network equipment and the second network equipment.
And the processing module is used for copying the second data into two parts.
And the transceiver module is also used for transmitting one second data to the first network equipment and transmitting the other second data to the second network equipment.
In a possible implementation, the processing module is further configured to identify the further second data as test data.
And the receiving and transmitting module is specifically used for transmitting second data which is identified as test data to the second network equipment.
In a possible implementation manner, the transceiver module is further configured to receive fifth information, where the fifth information is used to instruct the terminal to send data to the UPF in a target manner, and send data to the UPF in a target manner.
In one possible implementation manner, the target manner includes any one of the following: the first transmission mode, the second transmission mode, the third transmission mode and the fourth transmission mode; the first transmission mode is as follows: the terminal sends data to the UPF through the first network equipment, and the second transmission mode is as follows: the terminal sends data to the UPF through the second network device, and the third transmission mode is as follows: the terminal sends the same data to the UPF through the first network device and the second network device, and the fourth transmission mode is as follows: the terminal selects a target network device from the first network device and the second network device, and sends data to the UPF through the target network device.
In a possible implementation manner, the transceiver module is further configured to receive second information, where the second information is used to instruct the terminal to initiate a test request for the second network device when any data is sent to the first network device, and send a test request for the second network device to the first network device when the second data is sent to the first network device, and receive third information, where the third information is used to instruct the terminal to identify a last data packet in the second data as test data to send to the second network device; and sending a data packet identified as test data to the second network equipment.
In a possible implementation manner, the transceiver module is further configured to receive fourth information, where the fourth information is used to instruct the terminal to send data to the UPF through the second network device, and send third data to the UPF through the second network device.
A sixth aspect of the present application provides an electronic device comprising: at least one processor, memory, and transceiver;
the memory stores computer-executable instructions;
the at least one processor executing computer-executable instructions stored in the memory, causing the electronic device to perform the method of data transmission in a private network as described in the first to third aspects above;
The transceiver is configured to perform the transceiving actions in the first to third aspects under the control of the processor.
A seventh aspect of the present application provides a computer-readable storage medium having stored thereon computer-executable instructions which, when executed by a processor, implement the method of data transmission in a private network of the first to third aspects described above.
An eighth aspect of the application provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of the first to third aspects described above.
The application provides a method and a device for data transmission in a private network, wherein in the method, whether a terminal supports simultaneous data transmission to a plurality of network devices is detected in response to detecting that a transmission reliability parameter value of a first network device is lower than a preset parameter value. And if the terminal supports the simultaneous transmission of data to a plurality of network devices, starting the second network device, and sending first information to the terminal so as to instruct the terminal to send the same data to the first network device and the second network device. In the embodiment of the application, the second network equipment is started in advance when the first network equipment is not in failure, but the first network equipment has the risk of reliable transmission, namely the network equipment is not in failure, but the performance of data transmission is reduced, so that the first network equipment and the second network equipment jointly transmit the data from the terminal, the data transmission of the terminal is not interrupted, and the time delay of the data transmission is further reduced.
Drawings
Fig. 1 is a schematic diagram of a scenario where a method for data transmission in a private network according to an embodiment of the present application is applicable;
fig. 2 is a schematic diagram of another scenario where the method for data transmission in a private network according to the embodiment of the present application is applicable;
fig. 3 is a schematic diagram of another scenario where the method for data transmission in a private network according to the embodiment of the present application is applicable;
fig. 4 is a schematic flow chart of a method for data transmission in a private network according to an embodiment of the present application;
fig. 5 is a schematic diagram of data transmission in a private network according to an embodiment of the present application;
fig. 6 is another flow chart of a method for data transmission in a private network according to an embodiment of the present application;
fig. 7 is a schematic flow chart of another method for data transmission in a private network according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a device for data transmission in a private network according to an embodiment of the present application;
fig. 9 is a schematic diagram of another structure of a device for data transmission in a private network according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the technical solutions in the embodiments of the present application will be clearly and completely described in the following in conjunction with the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The private network in the embodiment of the application can include, but is not limited to: fifth generation mobile communication technology (5th generation mobile communication technology,5G) private network, 4G private network, etc. The following description will take a 5G private network as an example. Fig. 1 is a schematic diagram of a scenario where a method for data transmission in a private network according to an embodiment of the present application is applicable. Referring to fig. 1, the private network scenario may include: terminal, network equipment, core network element and server. It should be understood that the private network scenario shown in fig. 1 does not constitute a specific limitation on the private network scenario. In other embodiments of the present application, a private network scenario may include more or fewer devices than shown, or some devices may be combined, some devices may be split, or a different arrangement of devices may be used.
The terminal in the embodiment of the present application may be referred to as a User Equipment (UE), for example, the terminal may be a mobile phone, a tablet computer (portable android device, PAD), a personal digital assistant (personal digital assistant, PDA), a handheld device with a wireless communication function, a computing device, a wearable device, a Virtual Reality (VR) terminal device, an augmented reality (augmented reality, AR) terminal device, a wireless terminal in an industrial control (industrial control), and the form of the terminal in the embodiment of the present application is not specifically limited.
The private network is different and the network equipment is different. Illustratively, in a 5G private network, the network devices may be, but are not limited to: base station, next generation base station (which may be collectively referred to as a new generation radio access network node (NG-RAN node)). The next generation base station may include a new air interface base station (NR node b, gNB), a new generation evolved node b (NG-eNB), a Central Unit (CU), a Distributed Unit (DU), a gNB with a separate configuration, or other nodes.
The core network elements include, but are not limited to: a user plane function (user plane function, UPF) network element, an edge computation technology (mobile edge computing, MEC) network element, a 5G core network control plane (5th generation core control plane,5GC-CP) network element, and a unified data management function (unified data management, UDM) network element. In an embodiment, the core network element may further include more or fewer network elements, which is not limited by the embodiment of the present application.
The UPF is mainly responsible for routing and forwarding data packets, filtering messages, performing quality of service (quality of service, qoS) control related functions, etc. of a Data Network (DN) and a user plane. The MEC is used for deploying high-density computing, high-flow and low-delay service, and meets multiple requirements of users on safety, speed and reliability. The 5GC-CP is used for assisting in transmitting the user plane data. The UDM is used for managing control plane data and user plane data. The functions of the network elements involved in the embodiments of the present application may also refer to related descriptions in the existing 5G private network, which are not described herein.
The server may include: a server or a cluster of servers. The following examples illustrate the server side.
The following describes a data transmission process from a terminal to a server in a private network scenario with reference to the private network scenario shown in fig. 1. When the terminal transmits data to the server, the terminal can send the data to the network equipment, and after the network equipment receives the data, the network equipment can send the data from the terminal to the UPF. After the UPF receives the data, the UPF can send the data to the server. In one embodiment, the data sent by the terminal to the server may be referred to as uplink data, where the uplink data may be service data. In one embodiment, the upstream data may be transmitted in the form of data packets.
In order to ensure the reliability of data transmission in the private network, a plurality of network devices can be configured for the terminal to serve the terminal in the private network scene. By way of example, as shown in fig. 2, both the first network device and the second network device serve the terminal, and it should be understood that two network devices are illustrated in fig. 2 as examples. In one embodiment, the first network device or the second network device may be a primary network device, and the other network device is a backup network device. It should be understood that the devices in the private network involved in the embodiments of the present application are shown in fig. 2, and the MEC, 5GC-CP, and UDM are not shown.
Referring to fig. 2, in one embodiment, a procedure of transmitting data to a server by a terminal may be as follows:
when transmitting data, the terminal may copy the data (shown as data packet 1 in fig. 2) into two copies. The terminal transmits one of the data to the first network device and another of the data to the second network device. The first network device may send data to the UPF after receiving the data, and similarly, the second network device may send data to the UPF after receiving the data. As such, the UPF needs to receive data from all network devices serving the terminal, e.g., the UPF may receive two identical pieces of data from the terminal. In one embodiment, the UPF may send the data received first to the server, or the UPF may select any one of the data to send to the server.
It should be understood that the scenario in the embodiment of the present application is: the first network device and the second network device serve a scenario of one terminal. In one embodiment, the private network provides the first network device and the second network device for the terminal to serve the first network device and the second network device, but in order to save the energy consumption of the network devices, only one network device serves the terminal at the same time, and when one network device fails, the other network device can be started to serve the terminal. For example, when the first network device serves the terminal, the second network device may be in a dormant state, with low power consumption, as shown by a in fig. 3. And when the first network device fails, data cannot be transmitted to the terminal, the second network device may be started to transmit data to the terminal, as shown by b in fig. 3. In fig. 3, data is still illustrated as a data packet 1.
In the data transmission shown in fig. 3, when the first network device fails, data cannot be transmitted to the terminal, that is, in the process from the failure of the first network device to the start of the second network device, no network device transmits data to the terminal, and the data transmission of the terminal is interrupted, so that the data transmission delay of the terminal is large. It should be appreciated that embodiments of the present application have been presented based on the scenario illustrated in fig. 3.
In order to solve the above-mentioned problems, an embodiment of the present application provides a method for transmitting data in a private network, when there is a probability of failure in a network device serving a terminal, that is, when the network device does not fail, but the performance of transmitting data is reduced (or the transmission quality is poor), a second network device is started in advance, so that the first network device and the second network device jointly transmit data from the terminal, so that the data transmission of the terminal is not interrupted, and further, the delay of the data transmission is reduced.
It should be understood that the following embodiments take an execution body of a method for executing data transmission in a private network as an example of decision making equipment. In one embodiment, the decision device may be a first network device, a second network device, or another device that is separately configured, and in the following embodiment, the decision device is described as an example of a device that is separately configured.
The method for transmitting data in the private network according to the embodiment of the present application is described below with reference to specific embodiments. The following embodiments may be combined with each other, and some embodiments may not be repeated for the same or similar concepts or processes. Fig. 4 is a schematic flow chart of a method for data transmission in a private network according to an embodiment of the present application. In fig. 4, a method for transmitting data in a private network provided by an embodiment of the present application is illustrated in terms of a terminal, a decision device, a network device (a first network device and a second network device), a UPF, and a server interaction.
As shown in fig. 4, the method for transmitting data in a private network according to the embodiment of the present application may include:
s401, the terminal sends first data to the first network device.
It should be understood that in the embodiment of the present application, the terminal sends the first data to the server through the first network device and the UPF. The second network device is in a dormant state.
S402, the first network device sends first data to the server through UPF.
S401-S402 characterize the terminal transmitting data to the server through a network device serving it. In one embodiment, the first network device may be a master network device.
S403, the decision device detects whether the terminal supports simultaneous data transmission to a plurality of network devices in response to detecting that the transmission reliability parameter value of the first network device is lower than a preset parameter value.
It should be understood that S403 is not distinguished from the foregoing S401 to S402 in order, and in the embodiment of the present application, the decision device detects that the transmission reliability parameter value of the first network device is lower than the preset parameter value after S402 is taken as an example for illustration.
The transmission reliability parameter of the first network device may comprise at least one of: bit error rate, transmission rate and transmission delay of the first network device. The transmission reliability parameter value of the first network device is the value of the transmission reliability parameter of the first network device. The transmission reliability parameter value of the first network device is used to characterize the transmission reliability of the first network device. Illustratively, the lower the error rate of the first network device, the higher the transmission reliability of the first network device, the faster the transmission rate of the first network device, the higher the transmission reliability of the first network device, the smaller the transmission delay of the first network device, and the higher the transmission reliability of the first network device.
In one embodiment, the decision device may detect the transmission reliability parameter value of the first network device in real time or peripherally.
In one embodiment, when the decision device is a first network device, the first network device may obtain its own transmission reliability parameter value. In one embodiment, when the decision device exists independently of the first network device, the first network device may acquire its own transmission reliability parameter value and send the transmission reliability parameter value of the first network device to the decision device, so that the decision device may acquire the transmission reliability parameter value of the first network device.
The decision device stores a preset parameter value, and the preset parameter value characterizes that the transmission reliability of the first network device is at risk, that is, the transmission reliability of the first network device can ensure that the first network device transmits data, but the transmission reliability is reduced. It can also be said that the preset parameter value characterizes that the first network device has not failed, but that the probability of failure is high.
The decision device determines that the transmission reliability of the first network device is at risk in response to detecting that the transmission reliability parameter value of the first network device is lower than the preset parameter value, so that different data transmission modes can be provided for the terminal based on the type of the terminal. The types of the terminals involved in the embodiment of the application include: the terminal may support simultaneous transmission of data to multiple network devices and the terminal may not support simultaneous transmission of data to multiple network devices.
Therefore, the decision device may detect whether the terminal supports simultaneous transmission of data to a plurality of network devices in response to detecting that the transmission reliability parameter value of the first network device is lower than the preset parameter value.
In one embodiment, when the private network provides the first network device and the second network device to serve the terminal, the terminal may report information of the terminal to the first network device and the second network device, where the information of the terminal may include: the type of terminal, i.e. whether simultaneous transmission of data to multiple network devices is supported. Thus, in such an embodiment, the decision device may obtain the information of the terminal by requesting the first network device to detect whether the terminal supports simultaneous transmission of data to a plurality of network devices.
In one embodiment, when the private network provides the first network device and the second network device to serve the terminal, the terminal may report information of the terminal to the decision device, where the information of the terminal may include: the type of terminal.
And S404, if the terminal supports simultaneous data transmission to a plurality of network devices, the decision device starts the second network device.
If the terminal supports transmitting data to a plurality of network devices at the same time, the decision device may start the second network device to provide the first network device and the second network device to serve the terminal, so as to ensure the reliability of data transmission of the terminal.
In one embodiment, the decision device to start the second network device may be understood as: the decision device sends a start instruction to the second network device. And when the second network equipment receives the starting instruction, the second network equipment can be switched from the dormant state to the working state so as to serve the terminal. It should be understood that fig. 4 illustrates an example in which the decision device sends a start instruction to the second network device.
And S405, the decision device sends first information to the terminal.
The first information is used for indicating the terminal to send the same data to the first network device and the second network device. That is, the decision device may send the first information to the terminal to inform the terminal to send the same data to the UPF through the first network device and the second network device, so that the UPF selects one of the data to send to the server, and the data of the terminal may be transmitted with reference to the method shown in fig. 2.
And S406, the terminal copies the second data into two parts.
And S407, the terminal sends one second data to the first network device.
And S408, the terminal sends another second data to the second network equipment.
It should be understood that S407 and S408 are not sequentially distinguished, and may be performed simultaneously.
By way of example, the second data may be regarded as data packet 1, and the process of the terminal transmitting the second data to the UPF through the first network device and the second network device may be described with reference to fig. 2. It should be understood that the process of transferring the second data between the first network device, the second network device, the UPF, and the server is not shown in fig. 4.
Taking the first data as the data packet 1 and the second data as the data packet 2 as an example, referring to a in fig. 5, if the terminal sends the data packet 1 to the UPF through the first network device, the UPF may send the data packet 1 to the server. Referring to b in fig. 5, when the transmission reliability parameter value of the first network device is lower than the preset parameter value, the decision device may start the second network device and send the first information to the terminal. After receiving the first information, the terminal may send the same data, such as data packet 2, to the first network device and the second network device.
In the method for transmitting data in the private network provided by the embodiment of the application, the decision device detects whether the terminal supports simultaneous data transmission to a plurality of network devices in response to detecting that the transmission reliability parameter value of the first network device is lower than the preset parameter value. And if the terminal supports the simultaneous transmission of data to a plurality of network devices, starting the second network device, and sending first information to the terminal so as to instruct the terminal to send the same data to the first network device and the second network device. In the embodiment of the application, the second network equipment is started in advance when the first network equipment is not in failure, but the first network equipment has the risk of reliable transmission, namely the network equipment is not in failure, but the performance of data transmission is reduced, so that the first network equipment and the second network equipment jointly transmit the data from the terminal, the data transmission of the terminal is not interrupted, and the time delay of the data transmission is further reduced.
The above embodiments teach an example in which the decision device may directly instruct the terminal to send the same data to the UPF through the first network device and the second network device, in one embodiment, in order to further ensure the reliability of data transmission, before the terminal adopts the second network device to formally transmit the data, the transmission quality of the second network device may be tested first, and when the transmission quality of the second network device is relatively high (e.g. greater than a preset quality), the terminal adopts the first network device and the second network device to send the same data to the UPF at the same time.
In such an embodiment, the first information sent by the decision device to the terminal is used to indicate: the terminal sends the same data to the first network device and the second network device, and identifies the data sent to the second network device as test data. For example, the data sent by the terminal to the first network device and the second network device are both second data, and in one embodiment, the second data is service data.
The terminal may send second data (the second data being traffic data) to the first network device and may send second data (identified as test data) to the second network device.
Referring to fig. 6, S408 in the above embodiment may be replaced with S601:
And S601, the terminal identifies the other second data as test data and sends the identified second data to the second network equipment.
The terminal marks the other second data as test data, and aims to: and indicating the second network equipment to acquire the transmission quality of the second network equipment based on the second data.
After S601, it may further include:
s602, the decision device obtains transmission information of the second network device for transmitting the data identified as the test data.
After the terminal identifies the second data as the test data and sends the test data to the second network device, the decision device may acquire transmission information of the second network device for transmitting the second data identified as the test data, that is, the decision device may acquire the transmission information of the second network device based on the second network device receiving the second data identified as the test data. Wherein the transmission information includes at least one of: bit error rate, transmission rate and transmission delay.
And S603, the decision device acquires the transmission quality of the second network device relative to the terminal according to the transmission information.
In other words, the terminal sends the second data identified as the test data to the second network device, so as to obtain the transmission information, and further obtain the transmission quality of the second network device based on the transmission information.
In the embodiment of the present application, the decision device obtains the transmission quality (hereinafter, simply referred to as transmission quality in the embodiment) of the second network device with respect to the terminal according to the transmission information. It should be understood that the transmission quality of the second network device with respect to the terminal refers to: transmission quality when the second network device transmits data from the terminal. The decision device may obtain the transmission quality based on the value of the parameter (i.e. the parameter value) included in the transmission information.
In one embodiment, the mapping relation between the values of the parameters and the transmission quality is stored in the decision device, and the decision device may obtain the transmission quality based on the values of the parameters in the transmission information and the mapping relation. For example, taking the transmission information including the bit error rate as an example, when the value of the bit error rate is within a first preset range, the transmission quality is a first transmission quality, and when the value of the bit error rate is within a second preset range, the transmission quality is a second transmission quality, and the first transmission quality is higher than the second transmission quality.
In one embodiment, the decision device may also determine the range of transmission quality based on the values of the parameters in the transmission information. For example, taking the error rate as an example, when the value of the error rate is within a first preset range, the transmission quality is greater than or equal to the first preset transmission quality, and when the value of the error rate is within a second preset range, the transmission quality is less than the second preset transmission quality.
It should be appreciated that the first preset transmission quality and the second preset transmission quality are preset, the first preset transmission quality being higher than the second preset transmission quality.
Table one is a mapping relationship between the values of the parameters and the transmission quality:
list one
As shown in the above table, the transmission quality of the second network device with respect to the terminal is greater than or equal to the first preset transmission quality when the value of the error rate is in the range of A1-A2, the value of the transmission rate is in the range of B1-B2, and the transmission delay is in the range of C1-C2, by way of example.
In one embodiment, the decision device may also detect the moment in time when the first network device receives the second data from the terminal, like T1. If the decision device detects that the second network device does not receive the second data from the terminal within the preset verification time window after T1, the decision device may determine that the transmission quality is smaller than the second preset transmission quality.
When the decision device is set independently of the first network device and the second network device, the first network device can send a message for completing the reception of the second data to the decision device in response to receiving the second data from the terminal, and similarly, the second network device can send a message for completing the reception of the second data to the decision device in response to receiving the second data from the terminal. In this way, the decision device may take the time when the message is received as the time T1 when the first network device receives the second data from the terminal, and in a preset verification time window after T1, if the decision device does not receive the message from the second network device that completes receiving the second data, it may be determined that the second network device does not receive the second data in the preset verification time window after T1. If the decision device receives a message from the second network device that the second network device finishes receiving the second data within the preset verification time window after T1, it may be determined that the second network device receives the second data within the preset verification time window after T1.
When the decision device is the first network device, the second network device may send a message to the first network device that the second data is received in response to receiving the second data from the terminal. The first network device may record the received time T1 in response to receiving the second data from the terminal, and if the first network device does not receive a message from the second network device for completing receiving the second data within a preset verification time window after T1, it may be determined that the second network device does not receive the second data within the preset verification time window after T1. If the first network device receives a message from the second network device that the second data is received within the preset verification time window after T1, it may be determined that the second network device does not receive the second data within the preset verification time window after T1.
The scenario in which the decision device is the second network device may be referred to the description related to the above "when the decision device is the first network device".
And S604, the decision device determines a target mode of the terminal for sending data to the UPF according to the transmission reliability parameter value and the transmission quality.
The transmission reliability characterizes the reliability of the first network device for transmitting the data from the terminal, and the higher the transmission reliability is, the more smooth transmission of the data from the terminal can be ensured. The transmission quality characterizes the reliability of the second network device for transmitting the data from the terminal, and the higher the transmission quality is, the more smooth transmission of the data from the terminal can be ensured.
In one embodiment, the target means includes any one of the following: the first transmission mode, the second transmission mode, the third transmission mode and the fourth transmission mode. The first transmission mode is as follows: the terminal sends data to the UPF through the first network equipment, and the second transmission mode is as follows: the terminal sends data to the UPF through the second network equipment, and the third transmission mode is as follows: the terminal sends the same data to the UPF through the first network equipment and the second network equipment, and a fourth transmission mode is as follows: the terminal selects a target network device from the first network device and the second network device, and sends data to the UPF through the target network device.
It is noted that the fourth transmission mode is a target network device that the terminal decides to send data to the UPF. In one embodiment, the target network device is a primary network device, such as a first network device, or is a second network device, or both the first network device and the second network device. In one embodiment, the target network device is pre-configured. In other words, when the target mode is the fourth transmission mode, the terminal transmits data to the UPF according to the agreed network device (i.e., the target network device).
In the embodiment of the application, the decision device can acquire the grade of the transmission reliability of the first network device according to the transmission reliability parameter value, and then determine the target mode of the terminal for sending data to the UPF according to the grade of the transmission reliability and the transmission quality. The higher the transmission reliability level, the higher the transmission reliability is, namely, the more smooth transmission of the data from the terminal can be ensured.
In one embodiment, the transmission reliability level may be divided into a first level and a second level, the first level being higher than the second level. And when the transmission reliability is of the second level, the risk of the transmission reliability of the first network equipment is high. In addition, the decision device may store a first preset quality and a second preset quality in advance, so as to divide the transmission quality into three levels, where the first preset quality is greater than (or higher than) the second preset transmission quality.
Based on the above-mentioned classification of the level of transmission reliability and the classification of the transmission quality, the following teaches that the decision device determines the manner in which the terminal transmits data to the UPF:
First, if the transmission reliability is of a first level and the transmission quality is smaller than a second preset transmission quality, the decision device determines that the target mode is the first transmission mode.
And secondly, if the transmission reliability level is the first level and the transmission quality is greater than or equal to the first preset transmission quality, the decision device determines that the target mode is the third transmission mode.
Thirdly, if the transmission reliability level is a second level and the transmission quality is greater than or equal to a second preset transmission quality, the decision device determines that the target mode is a second transmission mode.
Fourth, if the transmission reliability is of the second level and the transmission quality is smaller than the second preset transmission quality, the decision device determines that the target mode is the fourth transmission mode.
And S605, the decision device sends fifth information to the terminal, wherein the fifth information is used for indicating the terminal to send data to the UPF in a target mode.
The fifth information is used to instruct the terminal to send data to the UPF in the first transmission manner, that is, instruct the terminal to send data to the UPF through the first network device, corresponding to "one" in S605. In this manner, when the decision device sends the fifth information to the terminal, the decision device may further output first alarm information, where the first alarm information is used to indicate that the transmission quality of the second network device is poor, and the second network device is unavailable.
In one embodiment, the manner in which the decision device outputs the first alert information may include, but is not limited to,: the decision device displays text prompt information of 'poor transmission quality of the second network device or unavailable' of the second network device, or the decision device plays voice of 'poor transmission quality of the second network device or unavailable' of the second network device, so as to prompt a manager of the network device in time.
And corresponding to the second step in S605, the fifth information is used for indicating the terminal to send data to the UPF in a third transmission mode, that is, indicating the terminal to send data to the UPF through the first network device and the second network device, and informing the terminal that the service data does not need to be identified as test data.
The fifth information is used to instruct the terminal to send data to the UPF in the second transmission mode, that is, instruct the terminal to send data to the UPF through the second network device, corresponding to "third" in S605. In this manner, when the decision device sends the fifth information to the terminal, the decision device may further output second alarm information, where the second alarm information is used to indicate that the transmission reliability of the first network device is low, and the first network device is not available.
The fifth information is used to instruct the terminal to select a target network device from the first network device and the second network device, and to send data to the UPF through the target network device, that is, instruct the terminal to send data to the UPF through a predetermined target network device, corresponding to "fourth" in S605. In this manner, when the decision device sends the fifth information to the terminal, third alarm information may be further output, where the third alarm information is used to indicate that the transmission reliability of the first network device is low, and the transmission quality of the second network device is poor, where the level of the transmission reliability of the first network device is a second level, and the transmission quality of the second network device is smaller than the second preset transmission quality.
The mode of outputting the second alarm information and the third alarm information by the decision device can refer to the related description of the first alarm information.
S606, the terminal sends data to the UPF in a target mode.
Referring to fig. 6, when the fifth information is used to instruct the terminal to transmit data to the UPF in the first transmission manner, the terminal may transmit data to the UPF through the first network device.
When the fifth information is used for indicating the terminal to send data to the UPF by adopting the third transmission mode, the terminal can send data to the UPF through the first network device and the second network device.
When the fifth information is used for indicating the terminal to send data to the UPF in the second transmission mode, the terminal can send data to the UPF through the second network device.
When the fifth information is used to instruct the terminal to select a target network device from the first network device and the second network device, the terminal may send data to the UPF through a predetermined target network device.
In the embodiment of the application, when the decision device detects that the transmission reliability parameter value of the first network device is lower than the preset parameter value and the terminal supports the simultaneous transmission of data to a plurality of network devices, in order to ensure the transmission reliability of the terminal data, before the terminal adopts the second network device to formally transmit the data, the transmission quality of the second network device can be tested first, and when the transmission quality of the second network device is higher (if the transmission quality is higher than the preset quality), the terminal simultaneously adopts the first network device and the second network device to transmit the same data to the UPF, so that the smooth transmission of the terminal data can be ensured.
The above embodiments teach an example in which a terminal supports simultaneous transmission of data to a plurality of network devices, and the following embodiments teach a method in which a terminal does not support simultaneous transmission of data to a plurality of network devices, in which, referring to fig. 7, S701 to S709 may be further included after S403 as above. It should be understood that S701-S709 and S404-S408 are alternatively performed, and that S701-S709 may be added to the diagram shown in fig. 6 in fig. 7 on the basis of fig. 4, in an embodiment.
And S701, if the terminal does not support simultaneous data transmission to a plurality of network devices, the decision device sends second information to the terminal.
Accordingly, the terminal may receive the second information.
In one embodiment, if the terminal does not support transmitting data to multiple network devices at the same time, the decision device may send second information to the terminal, where the second information is used to instruct the terminal to initiate a test request to the second network device when any data is sent to the first network device. That is, the decision device may instruct the terminal to first detect the transmission quality of the second network device, so as to send data to the UPF using the second network device when the transmission quality of the second network device is good.
Any data will be described below as an example of the second data.
S702, when the terminal sends second data to the first network device, the terminal sends a test request for the second network device to the first network device.
And the terminal sends a test request for the second network equipment to the first network equipment when sending the second data to the first network equipment. In one embodiment, the terminal device may send a test request to the second network device to the first network device during an idle time (e.g., idle time slot) in which the second data is sent to the first network device.
The terminal sends a test request to the first network device for the second network device, which can be understood as: the terminal sends a test request to the first network device, the test request being used to request testing of the transmission quality of the second network device.
And S703, the decision device responds to the detection that the terminal initiates a test request for the second network device, closes the first network device and starts the second network device.
In one embodiment, if the decision device is a first network device, the terminal initiates a test request to the first network device for the second network device, and the first network device may receive the test request from the terminal. In one embodiment, if the decision device is set independently of the first network device, the first network device may send a test request to the decision device when the first network device receives the test request from the terminal, so that the decision device may detect that the terminal initiates the test request to the second network device.
The decision device may close the first network device and start the second network device to start testing the transmission quality of the second network device in response to detecting that the terminal initiates a test request for the second network device. In one embodiment, the decision device powering off the first network device may be: the decision device sends a shutdown instruction to the first network device, which, in response to the shutdown instruction, may enter a sleep mode. The manner in which the decision device activates the second network device may be referred to as related description in the above embodiments.
And S704, the decision device sends third information to the terminal, wherein the third information is used for indicating the terminal to identify the last data packet in any data as test data and send the test data to the second network device.
After the decision device starts the second network device, third information may be sent to the terminal. The third information is used for indicating the terminal to identify the last data packet in any data as test data and send the test data to the second network equipment. That is, the decision device instructs the terminal to send the last data packet in the second data as test data to the second network device to test the transmission quality of the second network device.
And S705, the terminal sends a data packet identified as test data to the second network equipment.
In one embodiment, the second data may be composed of a plurality of data packets, and the terminal sends the test request to the first network device during an idle time before sending the data packet before the "last data packet" to the first network device, so that the terminal may identify the "last data packet in the second data" as the test data, and further send the data packet identified as the test data to the second network device.
S706, the decision device obtains transmission information of the second network device for transmitting the data identified as the test data.
In the embodiment of the application, the decision device can acquire the transmission information of the second network device for transmitting the data marked as the test data. That is, the decision device may obtain the transmission information of the second network device based on the second network device receiving the last data packet in the second data identified as the test data. The transmission information may be described with reference to the correlation in S602 described above.
And S707, the decision device obtains the transmission quality of the second network device relative to the terminal according to the transmission information.
S706 to S707 can refer to the related descriptions in S602 to S603.
And S708, if the transmission quality of the second network equipment is greater than or equal to the first preset transmission quality, the decision device sends fourth information to the terminal, wherein the fourth information is used for indicating the terminal to send data to the UPF through the second network equipment.
And if the transmission quality of the second network equipment is greater than or equal to the first preset transmission quality, the decision device sends fourth information to the terminal. The fourth information is used for indicating the terminal to send data to the UPF through the second network equipment.
It is conceivable that if the transmission quality of the second network device is smaller than the second preset transmission quality, the decision device may start the first network device, shut down the second network device, and send information to the terminal indicating that data is sent to the UPF through the first network device. It should be understood that fig. 7 is illustrated by taking the example that the transmission quality of the second network device is greater than or equal to the first preset transmission quality.
S709, the terminal transmits the third data to the UPF through the second network device in response to the fourth information.
The third data is later than the second data. After receiving the fourth information, the terminal may send third data to the UPF through the second network device.
It should be understood that the step of the UPF sending the third data to the server is not shown in fig. 7.
In the embodiment of the application, the decision device can close the first network device to instruct the terminal to send the data packet to test the transmission quality of the second network device when the decision device responds to the detection that the transmission reliability parameter value of the first network device is lower than the preset parameter value and the terminal does not support the simultaneous transmission of data to a plurality of network devices. If the transmission quality of the second network device is greater than or equal to the first preset transmission quality, the terminal can be instructed to send data to the UPF through the second network device. On one hand, the transmission quality of the second network device is good, so that the reliability of terminal data transmission can be guaranteed, on the other hand, when the transmission reliability parameter value of the first network device is lower than the preset parameter value, and the first network device is not in fault, the decision device instructs the terminal to send data to the UPF through the second network device, the terminal data transmission can be guaranteed to be uninterrupted, and the data transmission efficiency is further improved.
Fig. 8 is a schematic structural diagram of a device for data transmission in a private network according to an embodiment of the present application. The means for data transmission in the private network may be a decision device or a chip in a decision device as in the above embodiments. As shown in fig. 8, the apparatus 800 for data transmission in the private network includes: a processing module 801 and a transceiver module 802.
A processing module 801, configured to detect, in response to detecting that the transmission reliability parameter value of the first network device is lower than a preset parameter value, whether the terminal supports simultaneous transmission of data to a plurality of network devices, where the transmission reliability parameter value is used to characterize transmission reliability of the first network device, and if so, start the second network device.
And a transceiver module 802, configured to send first information to the terminal, where the first information is used to instruct the terminal to send the same data to the first network device and the second network device.
In one possible implementation, the same data is second data, and the first information is further used to indicate: the second data sent by the terminal to the second network device is identified as test data.
In a possible implementation manner, the transceiver module 802 is further configured to send second information to the terminal if the terminal does not support transmitting data to multiple network devices at the same time, where the second information is used to instruct the terminal to initiate a test request for the second network device when sending any data to the first network device.
The processing module 801 is further configured to close the first network device and start the second network device in response to detecting that the terminal initiates a test request for the second network device.
The transceiver module 802 is further configured to send third information to the terminal, where the third information is used to instruct the terminal to identify a last data packet in any data as test data and send the test data to the second network device.
In a possible implementation manner, the processing module 801 is further configured to obtain transmission information of the second network device to transmit data identified as the test data, where the transmission information includes at least one of the following: bit error rate, transmission rate and transmission delay; and acquiring the transmission quality of the second network equipment relative to the terminal according to the transmission information.
In one possible implementation, when the terminal does not support transmitting data to the plurality of network devices at the same time, if the transmission quality is greater than or equal to the first preset transmission quality, the transceiver module 802 is further configured to send fourth information to the terminal, where the fourth information is used to instruct the terminal to send data to the UPF through the second network device;
when the terminal supports transmitting data to a plurality of network devices at the same time, the processing module 801 is further configured to determine, according to the transmission reliability parameter value and the transmission quality, a target mode of transmitting data to the UPF by the terminal; and sending fifth information to the terminal, wherein the fifth information is used for indicating the terminal to send data to the UPF in a target mode.
In one possible implementation manner, the processing module 801 is specifically configured to obtain a level of transmission reliability of the first network device according to the transmission reliability parameter value; and determining a target mode of transmitting data to the UPF by the terminal according to the grade of the transmission reliability and the transmission quality.
In a possible implementation, when the terminal supports transmitting data to a plurality of network devices at the same time, the processing module 801 is further configured to detect a time when the first network device receives the second data from the terminal; and if the second network equipment does not receive the second data from the terminal within the preset verification time window after the moment, determining that the transmission quality of the second network equipment relative to the terminal is smaller than a second preset transmission quality.
In one possible implementation, the transceiver module 802 is further configured to receive a message from the first network device that the second data is received. The processing module 801 is specifically configured to take a time when the message is received as a time when the first network device receives the second data from the terminal.
In one possible implementation, the target manner includes any one of the following: the first transmission mode, the second transmission mode, the third transmission mode and the fourth transmission mode; the first transmission mode is as follows: the terminal sends data to the UPF through the first network equipment, and the second transmission mode is as follows: the terminal sends data to the UPF through the second network equipment, and the third transmission mode is as follows: the terminal sends the same data to the UPF through the first network equipment and the second network equipment, and a fourth transmission mode is as follows: the terminal selects a target network device from the first network device and the second network device, and sends data to the UPF through the target network device.
In one possible implementation manner, the processing module 801 is specifically configured to determine that the target mode is the first transmission mode if the transmission reliability is ranked as the first level and the transmission quality is smaller than the second preset transmission quality; if the transmission reliability is of a first level and the transmission quality is greater than or equal to a first preset transmission quality, determining that the target mode is a third transmission mode, wherein the first preset transmission quality is higher than the second preset transmission quality; if the transmission reliability is of a second level and the transmission quality is greater than or equal to a second preset transmission quality, determining that the target mode is a second transmission mode, wherein the first level is higher than the second level; if the transmission reliability is of the second level and the transmission quality is smaller than the second preset transmission quality, determining that the target mode is a fourth transmission mode.
Fig. 9 is a schematic diagram of another structure of a device for data transmission in a private network according to an embodiment of the present application. The means for data transmission in the private network may be a terminal or a chip in a terminal as in the above embodiments. As shown in fig. 9, the apparatus 900 for data transmission in the private network includes: a transceiver module 901 and a processing module 902.
The transceiver module 901 is configured to transmit first data to the user plane function network element UPF through the first network device, and receive first information, where the first information is used to instruct the terminal to send the same data to the first network device and the second network device.
A processing module 902 for copying the second data into two copies.
The transceiver module 901 is further configured to send one of the second data to the first network device and send another of the second data to the second network device.
In one possible implementation, the processing module 902 is further configured to identify another second data as test data.
The transceiver module 901 is specifically configured to send second data identified as test data to the second network device.
In a possible implementation manner, the transceiver module 901 is further configured to receive fifth information, where the fifth information is used to instruct the terminal to send data to the UPF in a target manner, and send data to the UPF in a target manner.
In one possible implementation, the target manner includes any one of the following: the first transmission mode, the second transmission mode, the third transmission mode and the fourth transmission mode; the first transmission mode is as follows: the terminal sends data to the UPF through the first network equipment, and the second transmission mode is as follows: the terminal sends data to the UPF through the second network equipment, and the third transmission mode is as follows: the terminal sends the same data to the UPF through the first network equipment and the second network equipment, and a fourth transmission mode is as follows: the terminal selects a target network device from the first network device and the second network device, and sends data to the UPF through the target network device.
In a possible implementation manner, the transceiver module 901 is further configured to receive second information, where the second information is used to instruct the terminal to initiate a test request for the second network device when any data is sent to the first network device, and send a test request for the second network device to the first network device when the second data is sent to the first network device, and receive third information, where the third information is used to instruct the terminal to identify a last data packet in the second data as test data to send to the second network device; and sending the data packet identified as the test data to the second network device.
In a possible implementation, the transceiver module 901 is further configured to receive fourth information, where the fourth information is used to instruct the terminal to send data to the UPF through the second network device, and send third data to the UPF through the second network device.
The data transmission device in the private network provided in this embodiment is similar to the principle and technical effects achieved by the data transmission method in the private network, and will not be described herein.
Fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present application. The electronic device may be a decision device, a terminal as in the above embodiments. As shown in fig. 10, the electronic device 1000 includes: a memory 1001 and at least one processor 1002.
Memory 1001 for storing program instructions.
The processor 1002 is configured to implement the method for data transmission in the private network in this embodiment when the program instructions are executed, and the specific implementation principle can be referred to the above embodiment, which is not described herein again.
The electronic device 1000 may also include and input/output interface 1003. The input/output interface 1003 may include a separate output interface and input interface, or may be an integrated interface that integrates input and output. The output interface is used for outputting data, the input interface is used for acquiring input data, the output data is the generic name output in the method embodiment, and the input data is the generic name input in the method embodiment. The input/output interface 1003 is, for example, a transceiver module in the device for data transmission in each private network.
The present application also provides a readable storage medium having stored therein execution instructions which, when executed by at least one processor of an electronic device, when executed by the processor, implement a method for data transmission in a private network in the above embodiment.
The present application also provides a program product comprising execution instructions stored in a readable storage medium. The at least one processor of the electronic device may read the execution instructions from the readable storage medium, and execution of the execution instructions by the at least one processor causes the electronic device to implement the method of data transmission in a private network provided by the various embodiments described above.
In the several embodiments provided in the embodiments of the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, and for example, the division of the modules is merely a logical function division, and there may be additional divisions when actually implemented, for example, multiple modules or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or modules, which may be in electrical, mechanical, or other forms.
The modules described as separate components may or may not be physically separate, and components shown as modules may or may not be physical modules, i.e., may be located in one place, or may be distributed over a plurality of network modules. Some or all of the modules can be selected according to actual needs to achieve the purpose of the embodiment of the application.
In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module. The integrated modules may be implemented in hardware or in hardware plus software functional modules.
In the above embodiment of the apparatus for data transmission in a private network, it should be understood that the processing module may be a central processing unit (in english: central Processing Unit, abbreviated as CPU), or may be another general purpose processor, a digital signal processor (in english: digital Signal Processor, abbreviated as DSP), an application specific integrated circuit (in english: application Specific Integrated Circuit, abbreviated as ASIC), or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the embodiments of the present application may be embodied directly in a hardware processor for execution, or in a combination of hardware and software modules in the processor for execution.
The integrated modules, which are implemented in the form of software functional modules, may be stored in a computer readable storage medium. The software functional module is stored in a storage medium, and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (english: processor) to execute some steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: u disk, mobile hard disk, read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
The term "plurality" in embodiments of the present application refers to two or more. The term "and/or" is herein merely an association relationship describing an associated object, meaning that there may be three relationships, e.g., a and/or B, may represent: a exists alone, A and B exist together, and B exists alone. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship; in the formula, the character "/" indicates that the front and rear associated objects are a "division" relationship. In addition, it should be understood that in the description of the present application, the words "first," "second," and the like are used merely for distinguishing between the descriptions and not for indicating or implying any relative importance or order.
It will be appreciated that the various numerical numbers referred to in the embodiments of the present application are merely for ease of description and are not intended to limit the scope of the embodiments of the present application.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the embodiments of the present application, and are not limited thereto; although embodiments of the present application have been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims (15)

1. A method for data transmission in a private network, wherein a first network device and a second network device in the private network both serve a terminal, the terminal transmits first data to a user plane function network element UPF through the first network device, and the second network device is in a dormant state, the method comprising:
detecting whether the terminal supports simultaneous data transmission to a plurality of network devices or not in response to detecting that the transmission reliability parameter value of the first network device is lower than a preset parameter value, wherein the transmission reliability parameter value is used for representing the transmission reliability of the first network device;
if yes, starting the second network equipment;
transmitting first information to the terminal, wherein the first information is used for indicating the terminal to transmit the same data to the first network equipment and the second network equipment;
the method further comprises the steps of:
if the terminal does not support transmitting data to a plurality of network devices at the same time, transmitting second information to the terminal, wherein the second information is used for indicating the terminal to initiate a test request for the second network device when any data is transmitted to the first network device;
responsive to detecting that the terminal initiates a test request for the second network device, closing the first network device and starting the second network device;
And sending third information to the terminal, wherein the third information is used for indicating the terminal to identify the last data packet in any data as test data and send the test data to the second network equipment.
2. The method of claim 1, wherein the same data is second data, the first information further indicating: and the second data sent by the terminal to the second network equipment is identified as test data.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
acquiring transmission information of the second network device for transmitting data marked as test data, wherein the transmission information comprises at least one of the following: bit error rate, transmission rate and transmission delay;
and acquiring the transmission quality of the second network equipment relative to the terminal according to the transmission information.
4. A method according to claim 3, characterized in that the method further comprises:
when the terminal does not support simultaneous data transmission to a plurality of network devices, if the transmission quality is greater than or equal to a first preset transmission quality, fourth information is sent to the terminal, wherein the fourth information is used for indicating the terminal to send data to the UPF through the second network device;
When the terminal supports simultaneous data transmission to a plurality of network devices, determining a target mode of the terminal for transmitting data to the UPF according to the transmission reliability parameter value and the transmission quality;
and sending fifth information to the terminal, wherein the fifth information is used for indicating the terminal to send data to the UPF in the target mode.
5. The method of claim 4, wherein said determining a destination manner in which said terminal sends data to said UPF based on said transmission reliability parameter value and said transmission quality comprises:
acquiring the grade of the transmission reliability of the first network equipment according to the transmission reliability parameter value;
and determining a target mode of the terminal for sending data to the UPF according to the grade of the transmission reliability and the transmission quality.
6. The method of claim 2, wherein when the terminal supports simultaneous transmission of data to a plurality of network devices, the method further comprises:
detecting a moment when the first network device receives the second data from the terminal;
and if the second network equipment does not receive the second data from the terminal within a preset verification time window after the moment, determining that the transmission quality of the second network equipment relative to the terminal is smaller than a second preset transmission quality.
7. The method of claim 6, wherein the detecting the time at which the first network device receives the second data from the terminal comprises:
receiving a message from the first network device that the second data is received;
and taking the moment when the message is received as the moment when the first network equipment receives the second data from the terminal.
8. The method of claim 5, wherein the target means comprises any one of: the first transmission mode, the second transmission mode, the third transmission mode and the fourth transmission mode;
the first transmission mode is as follows: the terminal sends data to the UPF through the first network equipment, and the second transmission mode is as follows: the terminal sends data to the UPF through the second network device, and the third transmission mode is as follows: the terminal sends the same data to the UPF through the first network device and the second network device, and the fourth transmission mode is as follows: the terminal selects a target network device from the first network device and the second network device, and sends data to the UPF through the target network device.
9. The method of claim 8, wherein the determining the destination manner in which the terminal sends data to the UPF based on the level of transmission reliability and the transmission quality comprises:
if the transmission reliability grade is a first grade and the transmission quality is smaller than a second preset transmission quality, determining a target mode as the first transmission mode;
if the transmission reliability grade is the first grade and the transmission quality is greater than or equal to the first preset transmission quality, determining a target mode as the third transmission mode, wherein the first preset transmission quality is higher than the second preset transmission quality;
if the transmission reliability level is a second level and the transmission quality is greater than or equal to the second preset transmission quality, determining that the target mode is the second transmission mode, wherein the first level is higher than the second level;
and if the transmission reliability grade is a second grade and the transmission quality is smaller than the second preset transmission quality, determining that the target mode is the fourth transmission mode.
10. A method for data transmission in a private network, wherein a first network device and a second network device in the private network each serve a terminal, the method being applied to the terminal, the method comprising:
Transmitting first data to a User Plane Function (UPF) through the first network equipment, wherein the second network equipment is in a dormant state;
receiving first information, wherein the first information is used for indicating the terminal to send the same data to the first network equipment and the second network equipment;
copying the second data into two copies;
transmitting one of the second data to the first network device;
identifying another second data as test data;
transmitting second data identified as test data to the second network device;
receiving fifth information, wherein the fifth information is used for indicating the terminal to send data to the UPF in a target mode;
and sending data to the UPF in a target mode.
11. The method of claim 10, wherein the target means comprises any one of: the first transmission mode, the second transmission mode, the third transmission mode and the fourth transmission mode;
the first transmission mode is as follows: the terminal sends data to the UPF through the first network equipment, and the second transmission mode is as follows: the terminal sends data to the UPF through the second network device, and the third transmission mode is as follows: the terminal sends the same data to the UPF through the first network device and the second network device, and the fourth transmission mode is as follows: the terminal selects a target network device from the first network device and the second network device, and sends data to the UPF through the target network device.
12. A method for data transmission in a private network, wherein a first network device and a second network device in the private network each serve a terminal, the method being applied to the terminal, the method comprising:
transmitting first data to a User Plane Function (UPF) through the first network equipment, wherein the second network equipment is in a dormant state;
receiving second information, wherein the second information is used for indicating the terminal to initiate a test request for the second network equipment when any data is sent to the first network equipment;
transmitting a test request for the second network device to the first network device when transmitting second data to the first network device;
receiving third information, wherein the third information is used for indicating the terminal to identify the last data packet in the second data as test data and send the test data to the second network equipment;
and sending a data packet identified as test data to the second network equipment.
13. The method of claim 12, wherein after transmitting the data packet identified as the test data to the second network device, further comprising:
receiving fourth information, wherein the fourth information is used for indicating the terminal to send data to the UPF through the second network equipment;
And sending third data to the UPF through the second network equipment.
14. An electronic device, comprising: at least one processor, memory, and transceiver;
the memory stores computer-executable instructions;
the at least one processor executing computer-executable instructions stored in the memory to cause the electronic device to perform the method of any one of claims 1-13;
the transceiver is used for executing the transceiving action under the control of the processor.
15. A computer readable storage medium having stored thereon computer executable instructions which, when executed by a processor, implement the method of any of claims 1-13.
CN202111425328.4A 2021-11-26 2021-11-26 Method and device for data transmission in private network Active CN114158070B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111425328.4A CN114158070B (en) 2021-11-26 2021-11-26 Method and device for data transmission in private network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111425328.4A CN114158070B (en) 2021-11-26 2021-11-26 Method and device for data transmission in private network

Publications (2)

Publication Number Publication Date
CN114158070A CN114158070A (en) 2022-03-08
CN114158070B true CN114158070B (en) 2023-09-19

Family

ID=80458136

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111425328.4A Active CN114158070B (en) 2021-11-26 2021-11-26 Method and device for data transmission in private network

Country Status (1)

Country Link
CN (1) CN114158070B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012042375A3 (en) * 2010-09-28 2012-07-12 Alcatel Lucent Base station, user equipment and method of reducing energy consumption in a base station
CN108616945A (en) * 2017-02-10 2018-10-02 华为技术有限公司 A kind of method and relevant device of communication link switching
CN109548107A (en) * 2019-01-18 2019-03-29 中国科学院上海高等研究院 Method, system, medium and equipment based on the switching of communication network dual link
CN110913504A (en) * 2019-11-07 2020-03-24 Oppo(重庆)智能科技有限公司 Network connection method, terminal device and storage medium
CN110944368A (en) * 2018-09-25 2020-03-31 电信科学技术研究院有限公司 Method and equipment for transmitting data in switching process
CN111465072A (en) * 2019-01-22 2020-07-28 夏普株式会社 Handover method performed by user equipment and user equipment
CN111526566A (en) * 2019-02-02 2020-08-11 电信科学技术研究院有限公司 SCG state control method, device, UE, MN, SN and medium
WO2021027924A1 (en) * 2019-08-15 2021-02-18 中兴通讯股份有限公司 Data transmission method and device, and computer-readable storage medium
CN113301611A (en) * 2020-02-21 2021-08-24 华为技术有限公司 Communication method and device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012042375A3 (en) * 2010-09-28 2012-07-12 Alcatel Lucent Base station, user equipment and method of reducing energy consumption in a base station
CN108616945A (en) * 2017-02-10 2018-10-02 华为技术有限公司 A kind of method and relevant device of communication link switching
CN110944368A (en) * 2018-09-25 2020-03-31 电信科学技术研究院有限公司 Method and equipment for transmitting data in switching process
CN109548107A (en) * 2019-01-18 2019-03-29 中国科学院上海高等研究院 Method, system, medium and equipment based on the switching of communication network dual link
CN111465072A (en) * 2019-01-22 2020-07-28 夏普株式会社 Handover method performed by user equipment and user equipment
CN111526566A (en) * 2019-02-02 2020-08-11 电信科学技术研究院有限公司 SCG state control method, device, UE, MN, SN and medium
CN113596973A (en) * 2019-02-02 2021-11-02 大唐移动通信设备有限公司 SCG state control method, device, UE, MN, SN and medium
WO2021027924A1 (en) * 2019-08-15 2021-02-18 中兴通讯股份有限公司 Data transmission method and device, and computer-readable storage medium
CN110913504A (en) * 2019-11-07 2020-03-24 Oppo(重庆)智能科技有限公司 Network connection method, terminal device and storage medium
CN113301611A (en) * 2020-02-21 2021-08-24 华为技术有限公司 Communication method and device

Also Published As

Publication number Publication date
CN114158070A (en) 2022-03-08

Similar Documents

Publication Publication Date Title
CN110557777A (en) Network connection control method, terminal and storage medium
US20100098085A1 (en) Method, system, and device for implementing active/standby switchover
CN106330475B (en) Method and device for managing main and standby nodes in communication system and high-availability cluster
US8559322B2 (en) Link state detection method and system
JP2020519107A (en) Report sending method, report receiving method, device and system
US9288075B2 (en) Method and system for auto-configuration, and network node
US11770871B2 (en) Radio link recovery method and terminal
CN101867468A (en) Hot reboot processing method for power over Ethernet switch and power over Ethernet switch
US9621455B2 (en) Cross-device linear multiplex section protection method, gateway and controller
CN106603261A (en) Hot backup method, first master device, backup device and communication system
TW200920027A (en) Intelligent failover in a load-balanced networking environment
CN113746733A (en) Table item synchronization method, gateway equipment, networking system and storage medium
CN112218321A (en) Main/standby link switching method and device, communication equipment and storage medium
CN114158072B (en) Method and device for data transmission in private network
CN114158070B (en) Method and device for data transmission in private network
WO2019015036A1 (en) Repeater bridging method and gateway
CN112104548A (en) Communication method and device
CN102271049B (en) Method, device and system for setting state of communication equipment
CN111971984B (en) Low-power consumption Bluetooth communication method, electronic device, network and storage medium
CN114158068B (en) Method and device for data transmission in private network
CN109428814B (en) Multicast traffic transmission method, related equipment and computer readable storage medium
WO2022267937A1 (en) Protocol calculation method, switch, cross-device link aggregation system, and storage medium
US9203760B2 (en) Communication device and route search method
CN114158071B (en) Method and device for data transmission in private network
CN114362893A (en) Data transmitting method, data receiving method, terminal and computer storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant