CN114158070A - 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
CN114158070A
CN114158070A CN202111425328.4A CN202111425328A CN114158070A CN 114158070 A CN114158070 A CN 114158070A CN 202111425328 A CN202111425328 A CN 202111425328A CN 114158070 A CN114158070 A CN 114158070A
Authority
CN
China
Prior art keywords
data
terminal
transmission
network device
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.)
Granted
Application number
CN202111425328.4A
Other languages
Chinese (zh)
Other versions
CN114158070B (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

Images

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 method is not when the first network equipment fails, but when the first network equipment has a risk of reliable transmission, namely the network equipment does not fail but the performance of data transmission is reduced, the second network equipment is started in advance, 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 uninterrupted, and the time delay of the data transmission is further reduced.

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
A fifth 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 that the data transmission by adopting the 5G private network 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, 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 device fails and cannot transmit data, the standby network device in the dormant state can be started to transmit data.
In the current 5G private network, in a scenario where a main network device and a standby network device serve one terminal, there are problems of data transmission interruption and large time delay when the main network device and the standby network device are switched.
Disclosure of Invention
The application provides a method and a device for data transmission in a private network, which can avoid interruption of terminal data transmission and reduce time delay of data transmission.
A first 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 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, where the method includes:
in response to the fact that the transmission reliability parameter value of the first network device is lower than a preset parameter value, detecting whether the terminal supports data transmission to a plurality of network devices at the same time, 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 identifier sent by the terminal to the second network equipment is test data.
In one possible implementation, the method further includes: if the terminal does not support simultaneous data transmission to a plurality of network devices, sending 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 the terminal sends any data to the first network device; in response to detecting that the terminal initiates a test request for the second network equipment, closing the first network equipment and starting the second network equipment; 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 sending the test data to the second network equipment.
In one possible implementation, the method further includes: acquiring transmission information of data which is transmitted by the second network equipment and identified as test data, wherein the transmission information comprises at least one of the following items: 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, sending 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 device; when the terminal supports data transmission to a plurality of network devices at the same time, determining a target mode of sending 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 determining, according to the transmission reliability parameter value and the transmission quality, a target manner in which the terminal sends data to the UPF includes: acquiring the level of the transmission reliability of the first network equipment according to the transmission reliability parameter value; and determining a target mode of sending data to the UPF by the terminal according to the transmission reliability grade and the transmission quality.
In one possible implementation, when the terminal supports simultaneous data transmission to multiple network devices, the method further includes: detecting the moment when the first network equipment 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 less than a second preset transmission quality.
In a possible implementation manner, the detecting a time when the first network device receives the second data from the terminal includes: receiving a message from the first network device that reception of the second data is completed; 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, the target mode includes any one of: a first transmission mode, a second transmission mode, a third transmission mode and a fourth transmission mode; the first transmission mode is as follows: the terminal sends data to the UPF through the first network device, 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: 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: and the terminal selects target network equipment from the first network equipment and the second network equipment and sends data to the UPF through the target network equipment.
In a possible implementation manner, the determining, according to the level of the transmission reliability and the transmission quality, a target manner in which the terminal sends data to the UPF includes: if the grade of the transmission reliability is a first grade and the transmission quality is less than a second preset transmission quality, determining that a target mode is the first transmission mode; if the level of the transmission reliability is the first level and the transmission quality is greater than or equal to the first preset transmission quality, determining that a target mode is the third transmission mode, wherein the first preset transmission quality is higher than the second preset transmission quality; if the level of the transmission reliability is a second level and the transmission quality is greater than or equal to a second preset transmission quality, determining that a target mode is the second transmission mode, wherein the first level is higher than the second level; and if the grade of the transmission reliability is a second grade and the transmission quality is less 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, and the method is applied to the terminal, and the method includes: transmitting first data to a user plane function network element 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; sending one of the second data to the first network equipment; and sending another piece of second data to the second network equipment.
In a possible implementation manner, the sending another piece of second data to the second network device includes: identifying the further second data as test data; and sending second data identified as test data to the second network device.
In a possible implementation manner, after 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, the target mode includes any one of: a first transmission mode, a second transmission mode, a third transmission mode and a fourth transmission mode; the first transmission mode is as follows: the terminal sends data to the UPF through the first network device, 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: 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: and the terminal selects target network equipment from the first network equipment and the second network equipment and sends data to the UPF through the target network equipment.
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, and the method is applied to the terminal, and the method includes: transmitting first data to a user plane function network element 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; when second data is sent to the first network equipment, sending a test request for the second network equipment to the first network equipment; receiving third information, where the third information is used to instruct the terminal to send the last data packet in the second data identified as test data to the second network device; and sending the data packet marked as the test data to the second network equipment.
In a possible implementation manner, after sending the data packet identified as the test data to the second network device, 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, comprising:
and the processing module is used for responding to the detection that the transmission reliability parameter value of the first network equipment is lower than a preset parameter value, detecting whether the terminal supports data transmission to a plurality of network equipment at the same time, wherein the transmission reliability parameter value is used for representing the transmission reliability of the first network equipment, and if so, starting the second network equipment.
And the transceiver module is 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 a possible implementation manner, the same data is second data, and the first information is further used to indicate: and the second data identifier sent by the terminal to the second network equipment is 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 simultaneous data transmission to multiple network devices, 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 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.
And the transceiver module is further configured to send third information to the terminal, where the third information is used to instruct the terminal to send the test data, which is identified as the last data packet in any data, to the second network device.
In a possible implementation manner, the processing module is further configured to acquire transmission information of data identified as test data by the second network device, 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 data transmission 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 data transmission to a plurality of network devices at the same time, the processing module is further configured to determine a target mode for the terminal to send 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 a possible implementation manner, the processing module is specifically configured to obtain, according to the transmission reliability parameter value, a level of transmission reliability of the first network device; and determining a target mode of sending data to the UPF by the terminal according to the transmission reliability grade and the transmission quality.
In a possible implementation manner, when the terminal supports data transmission to multiple network devices simultaneously, 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 less 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 reception of the second data is completed. And the processing module is specifically configured to use 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 mode includes any one of: a first transmission mode, a second transmission mode, a third transmission mode and a fourth transmission mode; the first transmission mode is as follows: the terminal sends data to the UPF through the first network device, 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: 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: and the terminal selects target network equipment from the first network equipment and the second network equipment and sends data to the UPF through the target network equipment.
In a 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 level of the transmission reliability is the first level and the transmission quality is greater than or equal to the first preset transmission quality, determining that a target mode is the third transmission mode, wherein the first preset transmission quality is higher than the second preset transmission quality; if the level of the transmission reliability is a second level and the transmission quality is greater than or equal to a second preset transmission quality, determining that a target mode is the second transmission mode, wherein the first level is higher than the second level; and if the grade of the transmission reliability is a second grade and the transmission quality is less 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, comprising:
a transceiver module, configured to transmit first data to a user plane function network element UPF through the first network device, where the second network device is in a dormant state, 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.
And the processing module is used for copying the second data into two copies.
And the transceiver module is further configured to send one of the second data to the first network device and send the other of the second data to the second network device.
In a possible implementation manner, the processing module is further configured to identify the another piece of second data as test data.
And the transceiver module is specifically configured to send second data identified as test data to the second network device.
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 the target manner.
In one possible implementation, the target mode includes any one of: a first transmission mode, a second transmission mode, a third transmission mode and a fourth transmission mode; the first transmission mode is as follows: the terminal sends data to the UPF through the first network device, 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: 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: and the terminal selects target network equipment from the first network equipment and the second network equipment and sends data to the UPF through the target network equipment.
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 sending any data to the first network device, and to send a test request for the second network device to the first network device when sending second data to the first network device, and receive third information, where the third information is used to instruct the terminal to send the last data packet in the second data identified as test data to the second network device; and sending the data packet marked as the 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 apparatus comprising: at least one processor, memory, and transceiver;
the memory stores computer-executable instructions;
the at least one processor executing the computer-executable instructions stored by the memory causes the electronic device to perform the method for data transmission in a private network according to the first to third aspects;
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 for data transmission in a private network in the first to third aspects.
An eighth aspect of the present application provides a computer program product containing instructions which, when run on a computer, cause the computer to perform the method of the first to third aspects described above.
In the method, whether a terminal supports data transmission to a plurality of network devices simultaneously is detected in response to the fact that the transmission reliability parameter value of a first network device is lower than a preset parameter value. And if the terminal supports data transmission to a plurality of network devices at the same time, starting the second network device, and sending first information to the terminal to indicate the terminal to send the same data to the first network device and the second network device. In the embodiment of the application, when the first network device is not in fault but in the presence of a risk of reliable transmission of the first network device, that is, when the network device is not in fault but the performance of data transmission is reduced, the second network device is started in advance, so that the first network device and the second network device jointly transmit data from the terminal, the data transmission of the terminal is uninterrupted, and the time delay of data transmission is further reduced.
Drawings
Fig. 1 is a schematic view of a scenario in which the method for data transmission in a private network according to the embodiment of the present application is applied;
fig. 2 is a schematic view of another scenario in which the method for data transmission in a private network according to the embodiment of the present application is applied;
fig. 3 is a schematic view of another scenario in which the method for data transmission in a private network according to the embodiment of the present application is applied;
fig. 4 is a flowchart illustrating 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 schematic flow chart of a method for data transmission in a private network according to an embodiment of the present application;
fig. 7 is another schematic flow chart of a method for data transmission in a private network according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an apparatus for data transmission in a private network according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of an apparatus 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
In order to make the objects, technical solutions and advantages of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the embodiments of the present application, and it is obvious that the described embodiments are some but not all of the embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The private network in the embodiment of the present application may include, but is not limited to: a fifth generation mobile communication technology (5th generation mobile communication technology, 5G) private network, a 4G private network, and the like. The following description will be given by taking a 5G private network as an example. Fig. 1 is a schematic view of a scenario in which the method for data transmission in a private network according to the embodiment of the present application is applied. Referring to fig. 1, the private network scenario may include: the system comprises a terminal, network equipment, a core network element and a server. It should be understood that the private network scenario illustrated in fig. 1 does not constitute a specific limitation to 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.
The terminal in this embodiment may be referred to as a User Equipment (UE), for example, the terminal may be a mobile phone, a tablet computer (PAD), a 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 (AR) terminal device, a wireless terminal in industrial control (industrial control), and the like, and a form of the terminal is not particularly limited in this embodiment.
Private networks are different and network devices are different. For example, in a 5G private network, the network devices may be, but are not limited to: a base station, a 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 nodeB, gNB), a new generation evolved base station (NG-eNB), a Central Unit (CU), a Distributed Unit (DU), a gNB in a separate form), or other nodes.
Core network elements include, but are not limited to: a User Plane Function (UPF) network element, an edge computing technology (MEC) network element, a 5G core control plane (5 GC-CP) network element, and a unified data management function (UDM) network element. In an embodiment, the core network element may further include more or fewer network elements, which is not limited in this embodiment of the present application.
The UPF is mainly responsible for routing and forwarding data packets externally connected to a Data Network (DN) and a user plane, filtering packets, and performing quality of service (QoS) control related functions. The MEC is used for deploying services with high-density calculation, large flow and low time delay requirements, and meets multiple requirements of users on safety, speed and reliability. The 5GC-CP is used to assist in the transmission of user plane data. The UDM is used to manage control plane data and user plane data. The functions of the network elements involved in the embodiment of the present application may also refer to related descriptions in the existing 5G private network, which are not described herein again.
The server side can comprise: a server or a cluster of servers. In the following embodiments, a server is taken as an example for explanation.
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 device, and after receiving the data, the network device can send the data from the terminal to the UPF. After receiving the data, the UPF may send the data to the server. In an embodiment, data sent by the terminal to the server may be referred to as uplink data, and the uplink data may be service data. In one embodiment, upstream data may be sent in the form of data packets.
In order to ensure the reliability of data transmission in the private network, in the private network scenario, a plurality of network devices may be configured for the terminal to serve. Illustratively, as shown in fig. 2, both the first network device and the second network device serve as terminals, and it should be understood that fig. 2 illustrates two network devices as an example. In one embodiment, the first network device or the second network device may be a master network device and the other network device is a standby 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 an embodiment, a process of sending data from a terminal to a server may be as follows:
when transmitting data, the terminal can copy the data (indicated by packet 1 in fig. 2) into two copies. The terminal sends one of the data to the first network equipment and sends the other data to the second network equipment. 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. Thus, the UPF needs to receive data from all network devices serving the terminal, e.g., the UPF can 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 of the data to send to the server.
It should be understood that the scenarios in the embodiment of the present application are: the first network device and the second network device serve a scenario of one terminal. In one embodiment, although the private network provides the first network device and the second network device for the terminal to serve, in order to save 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 sleep state with low power consumption, as shown in a in fig. 3. And when the first network device fails and cannot transmit data for the terminal, the second network device may be started to transmit data for the terminal, as shown in b in fig. 3. Fig. 3 illustrates the data packet 1 as an example.
In the data transmission shown in fig. 3, when the first network device fails, data cannot be transmitted for the terminal, that is, in a process from the failure of the first network device to the start of the second network device, no network device transmits data for the terminal, and data transmission of the terminal is interrupted, which results in a large data transmission delay of the terminal. It should be understood that the embodiment of the present application is proposed based on the scenario shown in fig. 3.
In order to solve the above problem, an embodiment of the present application provides a method for data transmission in a private network, where when a network device serving a terminal has a probability of failure, that is, when the network device does not have a failure but performance of data transmission is reduced (or transmission quality is poor), a second network device is started in advance, so that a first network device and the second network device transmit data from the terminal together, so that data transmission of the terminal is not interrupted, and further, a time delay of data transmission is reduced.
It should be understood that the following embodiments are described by taking the implementation subject of the method for performing data transmission in the private network as an example of the decision device. In one embodiment, the decision device may be a first network device, a second network device, or other separately configured devices, and the following embodiments are described by taking the decision device as a separately configured device as an example.
The following describes a method for data transmission in a private network according to an embodiment of the present application with reference to a specific embodiment. The following several embodiments may be combined with each other and may not be described in detail in some embodiments for the same or similar concepts or processes. Fig. 4 is a flowchart illustrating a method for data transmission in a private network according to an embodiment of the present application. Fig. 4 illustrates a method for transmitting data in a private network according to an embodiment of the present application in terms of interaction between a terminal, a decision device, network devices (a first network device and a second network device), a UPF, and a server.
As shown in fig. 4, a method for data transmission in a private network according to an embodiment of the present application may include:
s401, the terminal sends first data to the first network equipment.
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 equipment sends first data to the server through the UPF.
S401-S402 characterize that the terminal transmits data to the server side through a network device serving the terminal. In one embodiment, the first network device may be a primary network device.
And S403, in response to the fact that the transmission reliability parameter value of the first network device is lower than the preset parameter value, the decision device detects whether the terminal supports simultaneous data transmission to multiple network devices.
It should be understood that S403 is not sequentially distinguished from S401 to S402, and in this embodiment, the example that after S402, the decision device detects that the transmission reliability parameter value of the first network device is lower than the preset parameter value is described.
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 a numerical 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. For example, the lower the bit 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 in a surrounding manner.
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 an embodiment, when the decision device exists independently from the first network device, the first network device may obtain a transmission reliability parameter value of itself, and send the transmission reliability parameter value of the first network device to the decision device, so that the decision device may obtain the transmission reliability parameter value of the first network device.
The decision device stores a preset parameter value, and the preset parameter value represents that the transmission reliability of the first network device has a 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 indicates that the first network device has not failed, but 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 a 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 related to in the embodiment of the present application include: the terminal may support the simultaneous transmission of data to multiple network devices and the terminal may not support the simultaneous transmission of data to multiple network devices.
Therefore, the decision device may detect whether the terminal supports simultaneous data transmission to multiple network devices in response to detecting that the transmission reliability parameter value of the first network device is lower than a preset parameter value.
In an embodiment, when the private network provides the first network device and the second network device for the terminal service, the terminal may report the terminal information to the first network device and the second network device, where the terminal information may include: the type of the terminal, i.e. whether or not it supports simultaneous data transmission to multiple network devices. Thus, in this embodiment, the decision device may obtain the information of the terminal by requesting the first network device, so as to detect whether the terminal supports data transmission to multiple network devices simultaneously.
In an embodiment, when the private network provides the first network device and the second network device for the terminal service, the terminal may report the terminal information to the decision device, where the terminal information may include: the type of terminal.
S404, if the terminal supports data transmission to a plurality of network devices at the same time, the decision device starts a second network device.
If the terminal supports data transmission to multiple 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 for the terminal service, so as to ensure reliability of data transmission of the terminal.
In one embodiment, the decision device initiating the second network device may be understood as: and the decision-making equipment sends a starting instruction to the second network equipment. 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 to serve the terminal. It should be understood that fig. 4 illustrates an example where the decision device sends the start instruction to the second network device.
S405, the decision device sends first information to the terminal.
The first information is used for instructing 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 notify 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 may transmit the data of the terminal by referring to the method shown in fig. 2.
S406, the terminal copies the second data into two copies.
S407, the terminal sends one of the second data to the first network device.
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.
For example, the second data may be regarded as a data packet 1, and a process of the terminal sending the second data to the UPF through the first network device and the second network device may refer to the relevant description in fig. 2. It should be understood that the process of transmitting the second data among 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 data transmission in a private network provided by the embodiment of the application, the decision device detects whether the terminal supports data transmission to multiple network devices simultaneously in response to detecting that the transmission reliability parameter value of the first network device is lower than a preset parameter value. And if the terminal supports data transmission to a plurality of network devices at the same time, starting the second network device, and sending first information to the terminal to indicate the terminal to send the same data to the first network device and the second network device. In the embodiment of the application, when the first network device is not in fault but in the presence of a risk of reliable transmission of the first network device, that is, when the network device is not in fault but the performance of data transmission is reduced, the second network device is started in advance, so that the first network device and the second network device jointly transmit data from the terminal, the data transmission of the terminal is uninterrupted, and the time delay of data transmission is further reduced.
In one embodiment, in order to further ensure reliability of data transmission, before the terminal uses the second network device to formally transmit data, the terminal may first test the transmission quality of the second network device, and when the transmission quality of the second network device is higher (e.g., greater than a preset quality), the terminal uses the first network device and the second network device to simultaneously transmit the same data to the UPF.
In this 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 equipment and the second network equipment, and marks the data sent to the second network equipment as test data. For example, the data sent by the terminal to the first network device and the second network device are both the second data, and in an 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 the 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:
s601, the terminal identifies another piece of second data as test data and sends the identified second data to the second network equipment.
The purpose of the terminal for identifying the other piece of second data as the test data is as follows: and instructing the second network equipment to test and acquire the transmission quality of the second network equipment based on the second data.
After S601, the method may further include:
s602, the decision device obtains the transmission information of the data which is transmitted and identified as the test data by the second network device.
After the terminal sends the second data identifier as the test data to the second network device, the decision device may obtain transmission information of the second data identifier as the test data transmitted by the second network device, that is, the decision device may obtain the transmission information of the second network device based on the second network device receiving the second data identifier as the test data. Wherein the transmission information comprises at least one of: bit error rate, transmission rate, and transmission delay.
S603, the decision device obtains 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 in order to obtain the transmission information, and then obtains the transmission quality of the second network device based on the transmission information.
In the embodiment of the present application, the decision device obtains, according to the transmission information, transmission quality of the second network device with respect to the terminal (in the following embodiment, simply referred to as transmission quality). 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 a value (i.e., a parameter value) of a parameter included in the transmission information.
In an embodiment, the decision device stores a mapping relationship between the value of each parameter and the transmission quality, and the decision device may obtain the transmission quality based on the value of each parameter in the transmission information and the mapping relationship. Illustratively, taking the example that the transmission information includes the bit error rate, 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. Illustratively, taking 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 greater than or equal to the first preset transmission quality, and when the value of the bit error rate is within a second preset range, the transmission quality is less than the second preset transmission quality.
It is to be understood that the first predetermined transmission quality and the second predetermined transmission quality are predetermined, the first predetermined transmission quality being higher than the second predetermined transmission quality.
Table one is a mapping relation of the values of each parameter with the transmission quality:
watch 1
Figure BDA0003378125110000161
As in the first table above, for example, when the bit error rate is in the range of a1-a2, the transmission rate is in the range of B1-B2, and the transmission delay is in the range of C1-C2, the transmission quality of the second network device with respect to the terminal is greater than or equal to the first preset transmission quality.
In one embodiment, the decision device may also detect a time when the first network device receives the second data from the terminal, e.g., 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 less than a second preset transmission quality.
When the decision device is set independently from the first network device and the second network device, the first network device may send a message of completing receiving the second data to the decision device in response to receiving the second data from the terminal, and similarly, the second network device may send a message of completing receiving the second data to the decision device in response to receiving the second data from the terminal. In this way, the decision device may regard the time when the message is received as the time T1 when the first network device receives the second data from the terminal, and within the preset verification time window after T1, if the decision device does not receive the message that the second network device completes receiving the second data, it may determine that the second network device does not receive the second data within the preset verification time window after T1. If within the predetermined verification time window after T1, the decision device receives a message from the second network device that the second data reception is complete, it may be determined that the second network device received the second data within the predetermined verification time window after T1.
When the decision device is the first network device, the second network device may send a message of completing receiving the second data to the first network device 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 may determine that the second network device has not received the second data within the preset verification time window after T1 if the first network device does not receive the message of completing the reception of the second data from the second network device within the preset verification time window after T1. If within the preset verification time window after T1, the first network device receives a message from the second network device that the second data reception is complete, it may be determined that the second network device did not receive the second data within the preset verification time window after T1.
The scenario where the decision device is the second network device may refer to the above-mentioned description of "when the decision device is the first network device".
And S604, determining a target mode of sending data to the UPF by the terminal according to the transmission reliability parameter value and the transmission quality by the decision equipment.
The transmission reliability represents the reliability of the first network device for transmitting the data from the terminal, and the higher the transmission reliability is, the more the smooth transmission of the data from the terminal can be ensured. The transmission quality represents the reliability of the data transmitted from the terminal by the second network device, and the higher the transmission quality is, the more the smooth transmission of the data from the terminal can be ensured.
In one embodiment, the target mode includes any one of: a first transmission mode, a second transmission mode, a third transmission mode and a fourth transmission mode. Wherein, 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: the terminal selects target network equipment from the first network equipment and the second network equipment, and sends data to the UPF through the target network equipment.
It should be noted that the fourth transmission mode is a target network device that is determined by the terminal itself to send data to the UPF. In one embodiment, the target network device is a master network device, such as a first network device, or a second network device, or both a first network device and a second network device. In one embodiment, the target network device is pre-provisioned. In other words, when the target mode is the fourth transmission mode, the terminal sends data to the UPF according to the appointed network device (i.e. the target network device).
In this embodiment, the decision device may obtain the level of the transmission reliability of the first network device according to the transmission reliability parameter value, and further determine a target mode in which the terminal sends data to the UPF according to the level of the transmission reliability and the transmission quality. The higher the level of the transmission reliability is, the higher the representation transmission reliability is, that is, the more the smooth transmission of the data from the terminal can be ensured.
In one embodiment, the level of transmission reliability may be divided into a first level and a second level, the first level being higher than the second level. When the transmission reliability is of a first grade, the risk of representing the transmission reliability of the first network device is small, and when the transmission reliability is of a second grade, the risk of representing the transmission reliability of the first network device is large. In addition, the decision device may pre-store a first preset quality and a second preset quality, and further divide the transmission quality into three levels, where the first preset quality is greater (or higher) than the second preset transmission quality.
Based on the above classification of the transmission reliability level and the transmission quality, the following teaching is made to determine the manner in which the terminal transmits data to the UPF by the decision device:
first, if the level of the transmission reliability is a first level and the transmission quality is less than a second preset transmission quality, the decision device determines that the target mode is a first transmission mode.
Secondly, if the level of the transmission reliability 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.
And thirdly, if the level of the transmission reliability is the second level and the transmission quality is greater than or equal to the second preset transmission quality, the decision equipment determines that the target mode is the second transmission mode.
And fourthly, if the level of the transmission reliability is the second level and the transmission quality is less than the second preset transmission quality, the decision equipment determines that the target mode is the fourth transmission mode.
And S605, the decision equipment 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.
Corresponding to the first one in S605, the fifth information is used to instruct the terminal to send data to the UPF in the first transmission mode, that is, instruct the terminal to send data to the UPF through the first network device. In this manner, when the decision device sends the fifth information to the terminal, the first warning information may be further output, where the first warning information is used to indicate that the second network device is poor in transmission quality and unavailable.
In one embodiment, the manner in which the decision device outputs the first warning information may include, but is not limited to: the decision device displays a text prompt message of 'the transmission quality of the second network device is poor or the second network device is unavailable', or the decision device plays a voice of 'the transmission quality of the second network device is poor or the second network device is unavailable', and then a manager of the network device is reminded.
Corresponding to "two thereof" in S605, the fifth information is used to instruct the terminal to send data to the UPF in the third transmission mode, that is, instruct the terminal to send data to the UPF through the first network device and the second network device, and notify the terminal that the service data does not need to be identified as the test data.
Corresponding to "third of S605, 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. In this manner, when the decision device sends the fifth information to the terminal, the second warning information may be further output, where the second warning information is used to indicate that the transmission reliability of the first network device is low and the first network device is unavailable.
Corresponding to "the fourth of S605, 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. In this manner, when the decision device sends the fifth information to the terminal, the decision device may further output third warning information, where the third warning information is used to indicate that the transmission reliability of the first network device is low, the transmission quality of the second network device is poor, and for example, the level of the transmission reliability of the first network device is the second level, and the transmission quality of the second network device is smaller than the second preset transmission quality.
The mode of the decision device outputting the second alarm information and the third alarm information may refer to the relevant description of the first alarm information.
And 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 mode, the terminal may transmit data to the UPF through the first network device.
And when the fifth information is used for indicating the terminal to send data to the UPF by adopting a third transmission mode, the terminal can send data to the UPF through the first network equipment and the second network equipment.
And when the fifth information is used for indicating the terminal to send data to the UPF by adopting the second transmission mode, the terminal can send the data to the UPF through the second network equipment.
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 data transmission to multiple network devices at the same time, 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 may 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 send the same data to the UPF, so that smooth transmission of the terminal data can be ensured.
In the above embodiment, which explains an example that the terminal supports simultaneous data transmission to a plurality of network devices, and the following embodiment explains a method that the terminal does not support simultaneous data transmission to a plurality of network devices, 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 steps, and FIG. 7 is an addition of S701-S709 to FIG. 4, and in one embodiment, S701-S709 may also be added to the illustration shown in FIG. 6.
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 an embodiment, if the terminal does not support simultaneous data transmission to multiple network devices, 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 for the second network device when sending any data to the first network device. That is, the decision device may instruct the terminal to detect the transmission quality of the second network device first, so as to send data to the UPF by using the second network device when the transmission quality of the second network device is good.
The following description will be given taking any one data as the second data.
S702, when the terminal sends the second data to the first network equipment, the terminal sends a test request for the second network equipment to the first network equipment.
And when the terminal sends the second data to the first network equipment, sending a test request for the second network equipment to the first network equipment. In one embodiment, the terminal device may send a test request for the second network device to the first network device during an idle time (e.g., an idle time slot) when the second data is sent to the first network device.
The terminal sends a test request for a second network device to a first network device, which can be understood as: the terminal sends a test request to the first network device, wherein the test request is used for requesting to test the transmission quality of the second network device.
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 an embodiment, if the decision device is a first network device, the terminal initiates a test request for a second network device to the first network device, and the first network device may receive the test request from the terminal. In an embodiment, if the decision device is set independently of the first network device, when the first network device receives a test request from the terminal, the first network device may send the test request to the decision device, so that the decision device may detect that the terminal initiates a test request for the second network device.
The decision device may, in response to detecting that the terminal initiates a test request for the second network device, turn off the first network device and turn on the second network device to start testing the transmission quality of the second network device. In one embodiment, the decision device turning off the first network device may be: the decision device sends a shutdown instruction to the first network device, and the first network device may enter the sleep mode in response to the shutdown instruction. The manner in which the decision device initiates the second network device may refer to the relevant description in the above embodiments.
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.
The decision device may send the third information to the terminal after starting the second network device. The third information is used for instructing 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 to the second network device as test data to test the transmission quality of the second network device.
S705, the terminal sends a data packet identified as test data to the second network device.
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 at an idle time when sending a data packet earlier than 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 then send the data packet identified as the test data to the second network device.
S706, the decision device obtains the transmission information of the data which is identified as the test data and transmitted by the second network device.
In this embodiment, the decision device may obtain transmission information of data identified as the test data by the second network device. 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 refer to the related description 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-S707 may refer to the relevant descriptions in S602-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-making equipment sends fourth information to the terminal, and 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 equipment sends fourth information to the terminal. And 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 less than the second preset transmission quality, the decision device may start the first network device, close the second network device, and send information indicating that data is sent to the UPF through the first network device to the terminal. It should be understood that fig. 7 illustrates an example of "the transmission quality of the second network device is greater than or equal to the first preset transmission quality".
S709, the terminal sends 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. And after receiving the fourth information, the terminal can send third data to the UPF through the second network equipment.
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, in response to detecting that the transmission reliability parameter value of the first network device is lower than the preset parameter value and the terminal does not support simultaneous data transmission to multiple network devices, the decision device may close the first network device and instruct the terminal to send a data packet to test the transmission quality of the second network device. If the transmission quality of the second network device is greater than or equal to the first preset transmission quality, the terminal may be instructed to send data to the UPF through the second network device. On one hand, the reliability of terminal data transmission can be ensured because the transmission quality of the second network equipment is good, and on the other hand, when the transmission reliability parameter value of the first network equipment is lower than the preset parameter value but the first network equipment fails, the decision-making equipment instructs the terminal to send data to the UPF through the second network equipment, so that uninterrupted data transmission of the terminal can be ensured, and the data transmission efficiency is improved.
Fig. 8 is a schematic structural diagram of an apparatus for data transmission in a private network according to an embodiment of the present application. The data transmission device 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.
The processing module 801 is configured to detect, in response to detecting that a transmission reliability parameter value of the first network device is lower than a preset parameter value, whether the terminal supports simultaneous data transmission to multiple network devices, where the transmission reliability parameter value is used to represent transmission reliability of the first network device, and if so, start the second network device.
The transceiver module 802 is 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 a possible implementation manner, the same data is the second data, and the first information is further used to indicate: and the second data identifier sent by the terminal to the second network equipment is 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 simultaneous data transmission to multiple network devices, where the second information is used to instruct the terminal to initiate a test request for a second network device when sending any data to the first network device.
The processing module 801 is further configured to, in response to detecting that the terminal initiates a test request for the second network device, close the first network device, and start 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 send the test data, which is identified as the last data packet in any data, to the second network device.
In a possible implementation manner, the processing module 801 is further configured to obtain transmission information of 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 data transmission to multiple network devices, 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 data transmission to multiple network devices at the same time, the processing module 801 is further configured to determine a target mode for the terminal to send 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 a target mode.
In a possible implementation manner, the processing module 801 is specifically configured to obtain, according to the transmission reliability parameter value, a level of transmission reliability of the first network device; and determining a target mode of sending data to the UPF by the terminal according to the transmission reliability grade and the transmission quality.
In a possible implementation manner, when the terminal supports data transmission to multiple network devices simultaneously, the processing module 801 is further configured to detect a time when the first network device receives second data from the terminal; and if the second network equipment does not receive the second data from the terminal in the preset verification time window after the moment, determining that the transmission quality of the second network equipment relative to the terminal is less than a second preset transmission quality.
In a possible implementation manner, the transceiving module 802 is further configured to receive a message from the first network device that the reception of the second data is completed. The processing module 801 is specifically configured to use 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 objective mode includes any one of: a first transmission mode, a second transmission mode, a third transmission mode and a 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: the terminal selects target network equipment from the first network equipment and the second network equipment, and sends data to the UPF through the target network equipment.
In a possible implementation manner, the processing module 801 is specifically configured to determine that the target mode is the first transmission mode if the level of the transmission reliability is the first level and the transmission quality is less than the second preset transmission quality; if the grade of the transmission reliability is a first grade 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 a second preset transmission quality; if the grade of the transmission reliability is a second grade 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 grade is higher than the second grade; and if the level of the transmission reliability is the second level and the transmission quality is less than the second preset transmission quality, determining that the target mode is the fourth transmission mode.
Fig. 9 is a schematic structural diagram of an apparatus for data transmission in a private network according to an embodiment of the present application. The device 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.
A transceiver module 901, configured to transmit first data to a user plane function network element UPF through a first network device, where a second network device is in a dormant state, and receive first information, where the first information is used to instruct a terminal to send the same data to the first network device and the second network device.
A processing module 902 configured to copy 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 second data to the second network device.
In a possible implementation manner, the processing module 902 is further configured to identify another piece of second data as the 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 the target manner.
In one possible implementation, the objective mode includes any one of: a first transmission mode, a second transmission mode, a third transmission mode and a 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: the terminal selects target network equipment from the first network equipment and the second network equipment, and sends data to the UPF through the target network equipment.
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 sending any data to the first network device, send a test request for the second network device to the first network device when sending the second data 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 equipment.
In a possible implementation manner, 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 principle and technical effect of the apparatus for data transmission in a private network provided in this embodiment are similar to those of the method for data transmission in a private network, and are not described herein again.
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 apparatus 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 a private network in this embodiment when the program instructions are executed, and specific implementation principles may be referred to in the foregoing embodiments, which are not described herein again.
The electronic device 1000 may also include an 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 a general name output in the method embodiment, and the input data is a general name input in the method embodiment. The input/output interface 1003 is a transceiver module in the above-described apparatus for data transmission in each private network.
The present application further provides a readable storage medium, in which execution instructions are stored, and when at least one processor of the electronic device executes the execution instructions, the computer execution instructions, when executed by the processor, implement the method for data transmission in a private network in the foregoing embodiments.
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 instruction from the readable storage medium, and the execution of the execution instruction by the at least one processor causes the electronic device to implement the method for 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 ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical division, and in actual implementation, there may be other divisions, for example, multiple modules or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of the embodiments of the present application.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware form, and can also be realized in a form of hardware and a software functional module.
In the embodiment of the apparatus for data transmission in the private network, it should be understood that the Processing module may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. 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 directly implemented by a hardware processor, or may be implemented by a combination of hardware and software modules in a processor.
The integrated module implemented in the form of a software functional module may be stored in a computer-readable storage medium. The software functional module is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) 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: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The term "plurality" in the embodiments of the present application means two or more. The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship; in the formula, the character "/" indicates that the preceding and following related objects are in a relationship of "division". In addition, it is to be understood that the terms first, second, etc. in the description of the present application are used for distinguishing between the descriptions and not necessarily for describing a sequential or chronological order.
It is to be understood that the various numerical references referred to in the embodiments of the present application are merely for descriptive convenience 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 used for illustrating the technical solutions of the embodiments of the present application, and are not limited thereto; although the embodiments of the present application have been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (19)

1. A method for data transmission in a private network is characterized in that 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 comprises the following steps:
in response to the fact that the transmission reliability parameter value of the first network device is lower than a preset parameter value, detecting whether the terminal supports data transmission to a plurality of network devices at the same time, 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.
2. The method of claim 1, wherein the same data is a second data, and wherein the first information is further used to indicate: and the second data identifier sent by the terminal to the second network equipment is test data.
3. The method of claim 1, further comprising:
if the terminal does not support simultaneous data transmission to a plurality of network devices, sending 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 the terminal sends any data to the first network device;
in response to detecting that the terminal initiates a test request for the second network equipment, closing the first network equipment and starting the second network equipment;
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 sending the test data to the second network equipment.
4. A method according to claim 2 or 3, characterized in that the method further comprises:
acquiring transmission information of data which is transmitted by the second network equipment and identified as test data, wherein the transmission information comprises at least one of the following items: 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.
5. The method of claim 4, further comprising:
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, sending 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 device;
when the terminal supports data transmission to a plurality of network devices at the same time, determining a target mode of sending 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.
6. The method according to claim 5, wherein the determining a target manner for the terminal to send data to the UPF according to the transmission reliability parameter value and the transmission quality comprises:
acquiring the level of the transmission reliability of the first network equipment according to the transmission reliability parameter value;
and determining a target mode of sending data to the UPF by the terminal according to the transmission reliability grade and the transmission quality.
7. The method of claim 2, wherein when the terminal supports simultaneous data transmission to multiple network devices, the method further comprises:
detecting the moment when the first network equipment 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 less than a second preset transmission quality.
8. The method of claim 7, wherein the detecting the time when the first network device receives the second data from the terminal comprises:
receiving a message from the first network device that reception of the second data is completed;
and taking the moment when the message is received as the moment when the first network equipment receives the second data from the terminal.
9. The method of claim 6, wherein the target mode comprises any one of: a first transmission mode, a second transmission mode, a third transmission mode and a fourth transmission mode;
the first transmission mode is as follows: the terminal sends data to the UPF through the first network device, 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: 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: and the terminal selects target network equipment from the first network equipment and the second network equipment and sends data to the UPF through the target network equipment.
10. The method according to claim 9, wherein the determining a target manner for the terminal to send data to the UPF according to the level of transmission reliability and the transmission quality comprises:
if the grade of the transmission reliability is a first grade and the transmission quality is less than a second preset transmission quality, determining that a target mode is the first transmission mode;
if the level of the transmission reliability is the first level and the transmission quality is greater than or equal to the first preset transmission quality, determining that a target mode is the third transmission mode, wherein the first preset transmission quality is higher than the second preset transmission quality;
if the level of the transmission reliability is a second level and the transmission quality is greater than or equal to a second preset transmission quality, determining that a target mode is the second transmission mode, wherein the first level is higher than the second level;
and if the grade of the transmission reliability is a second grade and the transmission quality is less than the second preset transmission quality, determining that the target mode is the fourth transmission mode.
11. 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, and the method is applied to the terminal, and the method comprises the following steps:
transmitting first data to a user plane function network element 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;
sending one of the second data to the first network equipment;
and sending another piece of second data to the second network equipment.
12. The method of claim 11, wherein sending another second data to the second network device comprises:
identifying the further second data as test data;
and sending second data identified as test data to the second network device.
13. The method of claim 12, wherein after sending the second data identified as test data to the second network device, further comprising:
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.
14. The method of claim 13, wherein the target mode comprises any one of: a first transmission mode, a second transmission mode, a third transmission mode and a fourth transmission mode;
the first transmission mode is as follows: the terminal sends data to the UPF through the first network device, 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: 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: and the terminal selects target network equipment from the first network equipment and the second network equipment and sends data to the UPF through the target network equipment.
15. 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, and the method is applied to the terminal, and the method comprises the following steps:
transmitting first data to a user plane function network element 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;
when second data is sent to the first network equipment, sending a test request for the second network equipment to the first network equipment;
receiving third information, where the third information is used to instruct the terminal to send the last data packet in the second data identified as test data to the second network device;
and sending the data packet marked as the test data to the second network equipment.
16. The method of claim 15, wherein after sending the data packet identified as 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.
17. An electronic device, comprising: at least one processor, memory, and transceiver;
the memory stores computer-executable instructions;
the at least one processor executing the computer-executable instructions stored by the memory causes the electronic device to perform the method of any of claims 1-16;
the transceiver is used for executing transceiving action under the control of the processor.
18. A computer-readable storage medium having computer-executable instructions stored thereon which, when executed by a processor, implement the method of any one of claims 1-16.
19. A computer program product comprising a computer program or instructions, characterized in that the computer program or instructions, when executed by a processor, implement the method of any of claims 1-16.
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 true CN114158070A (en) 2022-03-08
CN114158070B 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
WO2012042375A2 (en) * 2010-09-28 2012-04-05 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
WO2012042375A2 (en) * 2010-09-28 2012-04-05 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
CN114158070B (en) 2023-09-19

Similar Documents

Publication Publication Date Title
CN110557777B (en) Network connection control method, terminal and storage medium
WO2018201407A1 (en) Report sending method, report receiving method, device and system
JP2020523939A (en) Wireless link monitoring method and wireless link monitoring device
US9288075B2 (en) Method and system for auto-configuration, and network node
EP2391061B1 (en) Method, apparatus and system for configuring master-slave network devices
CN106330475A (en) Method and device for managing main and standby nodes in communication system and high availability cluster
TW202032950A (en) Information transmission method and apparatus, and communication device
US20210051755A1 (en) Radio link recovery method and terminal
CN106603261A (en) Hot backup method, first master device, backup device and communication system
CN112218321B (en) Master-slave link switching method, device, communication equipment and storage medium
CN112218342A (en) Method, device and system for realizing core network sub-slice disaster tolerance
EP2472793A1 (en) Method, device and system for transmitting e1 bidirectional looped network data
CN112383948A (en) Data transmission method, device, storage medium and electronic equipment
CN114158072B (en) Method and device for data transmission in private network
CN107534853A (en) A kind of method and apparatus for starting relay function
CN114158070B (en) Method and device for data transmission in private network
WO2019015036A1 (en) Repeater bridging method and gateway
CN102271049B (en) Method, device and system for setting state of communication equipment
US9203760B2 (en) Communication device and route search method
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
CN114158071B (en) Method and device for data transmission in private network
CN109428814B (en) Multicast traffic transmission method, related equipment and computer readable storage medium
CN113261249A (en) Data transmission method, related equipment and computer storage medium
WO2021098477A1 (en) Signal degradation processing method, apparatus and system

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