Data transmission method, server and computer readable storage medium

By obtaining the load and transmission error rate of the cell network where the terminal is located, determining the transmission rate of 4G and 5G networks, and performing data transmission, the problem of low communication transmission efficiency when the 4G and 5G networks exist at the same time is solved, and the network resources are sufficient use.

CN110049516BActive Publication Date: 2025-02-21NUBIA TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN201910359979.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-04-28
Publication Date
2025-02-21
Estimated Expiration
2039-04-28

AI Technical Summary

Technical Problem

When 4G and 5G networks exist simultaneously, communication transmission efficiency is low and network utilization efficiency is not high.

Method used

By obtaining the load and transmission error rate of the cell network where the terminal is located, the transmission rate of the terminal in the first preset network and the second preset network is determined, and data transmission is carried out according to these rates.

Benefits of technology

It improves the efficiency and accuracy of data transmission, avoids the situation where the resource occupancy rate is high and the resource waste on the other side is wasted, and realizes the full utilization of network resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110049516B_ABST
    Figure CN110049516B_ABST
Patent Text Reader

Abstract

The present invention discloses a data transmission method, a server and a computer-readable storage medium, the method comprising: when receiving a data transmission request, obtaining the load and transmission bit error rate of the cell network where the terminal is located; determining the first transmission rate of the terminal in the first preset network and the second transmission rate of the terminal in the second preset network according to the load and the transmission bit error rate, wherein the cell network includes the first preset network and the second preset network; according to the first transmission rate and the second transmission rate, transmitting the data to be transmitted corresponding to the data transmission request. This scheme combines the first preset network and the second preset network for data transmission to be transmitted, avoiding the situation where one side of the preset network has a high resource occupancy rate while the other side wastes resources, making the transmission more accurate and effective, and realizing full utilization of network resources.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of Internet technology, and in particular to a data transmission method, a server and a computer-readable storage medium. Background Art

[0002] With the development of 5G technology, network communication transmission has gradually switched from 4G network to 5G network. Although 5G network can use independent networking mode, considering network evolution and existing investment, it is necessary to take into account the existing 4G network, that is, to use 4G network and 5G network for communication transmission at the same time.

[0003] At present, the simultaneous communication transmission of 4G network and 5G network will automatically switch to the 4G network for transmission when the 5G network architecture is in an unstable state and there may be communication anomalies. When the 5G communication is normal, the 4G network will not be used for communication. In this way, the simultaneous communication of 4G and 5G networks is actually the separate communication of a certain network, resulting in a high occupancy rate of one network resource and a waste of the other network resource. The efficiency of communication transmission is low, and the utilization efficiency of network resources is not high. Summary of the invention

[0004] The main purpose of the present invention is to provide a data transmission method, a server and a computer-readable storage medium, aiming to solve the problems of low communication transmission efficiency and low network utilization efficiency in the prior art when 4G and 5G networks exist at the same time.

[0005] To achieve the above object, the present invention provides a data transmission method, which comprises the following steps:

[0006] When receiving a data transmission request, obtain the load and transmission bit error rate of the cell network where the terminal is located;

[0007] Determine, according to the load and the transmission bit error rate, a first transmission rate of the terminal in a first preset network and a second transmission rate of the terminal in a second preset network, wherein the cell network includes the first preset network and the second preset network;

[0008] The to-be-transmitted data corresponding to the data transmission request is transmitted according to the first transmission rate and the second transmission rate.

[0009] Optionally, the data to be transmitted includes first data to be transmitted and second data to be transmitted, and the step of transmitting the data to be transmitted corresponding to the data transmission request according to the first transmission rate and the second transmission rate includes:

[0010] receiving first data to be transmitted transmitted by the terminal based on the first transmission rate, and second data to be transmitted transmitted based on the second transmission rate, and determining a transmission mode of a receiving end corresponding to the terminal;

[0011] When the transmission mode is a dual transmission mode, transmitting the first data to be transmitted to the receiving end based on the first preset network, and transmitting the second data to be transmitted to the receiving end based on the second preset network;

[0012] When the transmission mode is a single transmission mode, the first data to be transmitted and the second data to be transmitted are transmitted to the receiving end according to the transmission type of the single transmission mode.

[0013] Optionally, the step of transmitting the first data to be transmitted and the second data to be transmitted to the receiving end according to the transmission type of the single transmission mode includes:

[0014] Reading a transmission identifier of the receiving end, and determining a transmission type of the single transmission mode according to the transmission identifier;

[0015] Integrate the first data to be transmitted and the second data to be transmitted to form combined data;

[0016] When the transmission type matches the first preset network, transmitting the combined data to the receiving end based on the first preset network;

[0017] When the transmission type matches the second preset network, the combined data is transmitted to the receiving end based on the second preset network.

[0018] Optionally, when receiving a data transmission request, the step of obtaining a load and a transmission bit error rate of a cell network where the terminal is located includes:

[0019] When receiving a data transmission request, determining the cell network where the terminal is located according to the terminal identifier carried in the data transmission request;

[0020] A first load and a first transmission bit error rate of the cell network on the first preset network, and a second load and a second transmission bit error rate of the cell network on the second preset network are obtained.

[0021] Optionally, the step of determining, according to the load and the transmission bit error rate, a first transmission rate of the terminal in the first preset network and a second transmission rate of the terminal in the second preset network comprises:

[0022] Counting a first occupied bandwidth corresponding to the first load, and reading a first limit bandwidth of the first preset network;

[0023] Determine a first remaining rate according to the first occupied bandwidth and the first limit bandwidth, and determine a first transmission rate of the terminal in the first preset network according to the first remaining rate and the first transmission bit error rate;

[0024] Counting a second occupied bandwidth corresponding to the second load, and reading a second limit bandwidth of the second preset network;

[0025] A second residual rate is determined according to the second occupied bandwidth and the second limit bandwidth, and a second transmission rate of the terminal in the second preset network is determined according to the second residual rate and the second transmission bit error rate.

[0026] Optionally, the step of determining a first residual rate according to the first occupied bandwidth and the first limit bandwidth, and determining a first transmission rate of the terminal in the first preset network according to the first residual rate and the first transmission bit error rate includes:

[0027] Determine a first remaining bandwidth according to the first occupied bandwidth and the first limit bandwidth, and determine a first remaining rate corresponding to the first remaining bandwidth according to a preset correspondence relationship between bandwidth and rate;

[0028] Calling a preset correspondence relationship between a bit error rate and a parameter to determine a first parameter corresponding to the first transmission bit error rate;

[0029] A first transmission rate of the terminal in the first preset network is determined according to a first preset coefficient of the terminal, the first parameter and the first residual rate.

[0030] Optionally, before the step of transmitting the to-be-transmitted data corresponding to the data transmission request according to the first transmission rate and the second transmission rate, the step includes:

[0031] Reading a first maximum rate of the first preset network and a second maximum rate of the second preset network, and generating the first maximum rate and the second maximum rate as a network maximum rate;

[0032] Reading a first limit rate of the terminal and a second limit rate of a receiving end corresponding to the terminal, and determining a minimum value among the first limit rate, the second limit rate and the maximum rate of the network as the maximum transmission rate of the terminal;

[0033] Determining an allocated transmission rate of the terminal according to the first transmission rate and the second transmission rate, and judging whether the allocated transmission rate is less than the maximum transmission rate;

[0034] If it is less than the maximum transmission rate, a step of transmitting the to-be-transmitted data corresponding to the data transmission request according to the first transmission rate and the second transmission rate is executed.

[0035] Optionally, the step of determining whether the allocated transmission rate is less than the maximum transmission rate includes:

[0036] If the allocated transmission rate is not less than the maximum transmission rate, the first transmission rate and / or the second transmission rate are adjusted to adjust the allocated transmission rate to be less than the maximum transmission rate.

[0037] In addition, to achieve the above-mentioned purpose, the present invention further proposes a server, the server comprising: a memory, a processor, a communication bus, and a data transmission program stored in the memory:

[0038] The communication bus is used to realize the connection and communication between the processor and the memory;

[0039] The processor is used to execute the data transmission program to implement the following steps:

[0040] When receiving a data transmission request, obtain the load and transmission bit error rate of the cell network where the terminal is located;

[0041] Determine, according to the load and the transmission bit error rate, a first transmission rate of the terminal in a first preset network and a second transmission rate of the terminal in a second preset network, wherein the cell network includes the first preset network and the second preset network;

[0042] The to-be-transmitted data corresponding to the data transmission request is transmitted according to the first transmission rate and the second transmission rate.

[0043] In addition, to achieve the above-mentioned object, the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors for:

[0044] When receiving a data transmission request, obtain the load and transmission bit error rate of the cell network where the terminal is located;

[0045] Determine, according to the load and the transmission bit error rate, a first transmission rate of the terminal in a first preset network and a second transmission rate of the terminal in a second preset network, wherein the cell network includes the first preset network and the second preset network;

[0046] The to-be-transmitted data corresponding to the data transmission request is transmitted according to the first transmission rate and the second transmission rate.

[0047] The data transmission method of the technical solution of the present invention, when receiving a data transmission request, first obtains the load and transmission bit error rate of the cell network where the terminal is located; then determines the first transmission rate of the terminal in the first preset network and the second transmission rate of the second preset network according to the load and the transmission bit error rate; thereafter, according to the first transmission rate and the second transmission rate, transmits the data to be transmitted corresponding to the data transmission request. In this scheme, the first transmission rate and the second transmission rate of the data transmission to be transmitted are respectively related to the first preset network and the second preset network, and both are determined by the load and transmission bit error rate of the cell network where the terminal is located; because the cell network includes the first preset network and the second preset network, the load and the transmission bit error rate are actually the load and the transmission bit error rate related to the first preset network and the second preset network; the transmission of the data to be transmitted combines the resource usage characterized by the load in the first preset network and the second preset network and the transmission accuracy characterized by the transmission bit error rate, avoiding the situation where one of the two has a high resource occupancy rate and the other wastes resources, and the transmission is more accurate and effective, realizing the full utilization of network resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Figure 1 A schematic diagram of the hardware structure of an optional server for implementing various embodiments of the present invention;

[0049] Figure 2 For Figure 1 A first schematic diagram of a wireless communication system of a server shown;

[0050] Figure 3 For Figure 1 A second schematic diagram of the wireless communication system of the server shown;

[0051] Figure 4 A schematic diagram of a flow chart of a first embodiment of a data transmission method of the present invention;

[0052] Figure 5 A schematic diagram of a scenario in which a terminal transmits data in the data transmission method of the present invention;

[0053] Figure 6 The present invention is a schematic diagram of a scenario in which data is transmitted to a receiving end in the data transmission method of the present invention.

[0054] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0055] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0056] In the subsequent description, the suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present invention, and have no specific meanings. Therefore, "module", "component" or "unit" can be used in a mixed manner.

[0057] The server can be implemented in various forms. For example, the server described in the present invention can include terminals such as tablet computers, notebook computers, palmtop computers, personal digital assistants (PDAs), desktop computers, etc.

[0058] The following description will be made by taking a desktop computer as an example, and those skilled in the art will understand that, in addition to the components specifically used for fixing purposes, the structure according to the embodiment of the present invention can also be applied to other types of servers.

[0059] See also Figure 1 , which is a hardware structure diagram of a server for implementing various embodiments of the present invention, the server 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A / V (audio / video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110 (such as CPU), communication bus 1002 and power supply 111 and other components. Those skilled in the art can understand that Figure 1 The server structure shown in the figure does not constitute a limitation on the server. The server may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. For example, a user interface, a network interface, a camera, etc. are added. The user interface may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface may also include a standard wired interface and a wireless interface. The network interface may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface).

[0060] Combine the following Figure 1 A detailed introduction to each component of the server:

[0061] The radio frequency unit 101 can be used for receiving and sending signals during information transmission or communication. Specifically, after receiving the downlink information of the base station, it is sent to the processor 110 for processing; in addition, the uplink data is sent to the base station. Generally, the radio frequency unit 101 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc. In addition, the radio frequency unit 101 can also communicate with the network and other devices through wireless communication. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA2000 (Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division Duplexing-Long Term Evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution), etc.

[0062] WiFi is a short-range wireless transmission technology. The server can help users send and receive emails, browse web pages, and access streaming media through the WiFi module 102. It provides users with wireless broadband Internet access. Figure 1 The WiFi module 102 is shown, but it is understandable that it is not a necessary component of the server and can be omitted as needed without changing the essence of the invention.

[0063] The audio output unit 103 can convert the audio data received by the RF unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output it as sound when the server 100 is in a call signal receiving mode, a talk mode, a recording mode, a voice recognition mode, a broadcast receiving mode, etc. Moreover, the audio output unit 103 can also provide audio output related to a specific function performed by the server 100 (e.g., a call signal receiving sound, a message receiving sound, etc.). The audio output unit 103 may include a speaker, a buzzer, etc.

[0064] The A / V input unit 104 is used to receive audio or video signals. The A / V input unit 104 may include a graphics processor (GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The processed image frame can be displayed on the display unit 106. The image frame processed by the graphics processor 1041 can be stored in the memory 109 (or other storage medium) or sent via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 can receive sound (audio data) via the microphone 1042 in a telephone call mode, a recording mode, a voice recognition mode, and other operating modes, and can process such sound into audio data. The processed audio (voice) data can be converted into a format output that can be sent to a mobile communication base station via the radio frequency unit 101 in the case of a telephone call mode. The microphone 1042 can implement various types of noise elimination (or suppression) algorithms to eliminate (or suppress) noise or interference generated in the process of receiving and sending audio signals.

[0065] The server 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light. In addition, other sensors such as fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. can also be configured, which will not be repeated here.

[0066] The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.

[0067] The user input unit 107 can be used to receive input digital or character information, and to generate key signal input related to the user settings and function control of the server. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 1071 or near the touch panel 1071 using any suitable object or accessory such as a finger, stylus, etc.), and drive the corresponding connection device according to a pre-set program. The touch panel 1071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the touch point coordinates, and then sends it to the processor 110, and can receive and execute the command sent by the processor 110. In addition, the touch panel 1071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 1071, the user input unit 107 may also include other input devices 1072. Specifically, the other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, a function key (such as a volume control key, a switch key, etc.), a trackball, a mouse, a joystick, etc., which are not specifically limited here.

[0068] Furthermore, the touch panel 1071 may cover the display panel 1061. When the touch panel 1071 detects a touch operation on or near it, it transmits the information to the processor 110 to determine the type of the touch event. Then, the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Figure 1 In the embodiment, the touch panel 1071 and the display panel 1061 are used as two independent components to implement the input and output functions of the server, but in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated to implement the input and output functions of the server, which is not limited here.

[0069] The interface unit 108 serves as an interface through which at least one external device can be connected to the server 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, etc. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the server 100 or may be used to transmit data between the server 100 and an external device.

[0070] The memory 109 can be used to store software programs and various data. The memory 109 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the server (such as audio data, text data, etc.), etc. In addition, the memory 109 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0071] The processor 110 is the control center of the server. It uses various interfaces and lines to connect various parts of the entire server. It executes various functions of the server and processes data by running or executing software programs and / or modules stored in the memory 109, and calling data stored in the memory 109, so as to monitor the server as a whole. The processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 110.

[0072] The communication bus 1002 is used to realize the connection and communication between the processor 110 and the memory 109. The memory 109 can be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 109 can also be a storage device independent of the aforementioned processor 110.

[0073] The server 100 may further include a power supply 111 (such as a battery) for supplying power to various components. Preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, thereby implementing functions such as charging, discharging, and power consumption management through the power management system.

[0074] although Figure 1 Not shown, the server 100 may also include a Bluetooth module, etc., which will not be described in detail here.

[0075] like Figure 1 As shown, the memory 109 as a computer storage medium may include an operating system, a network communication module and a data transmission program. The operating system is a program that manages and controls the server hardware and software resources, and supports the operation of the data transmission program and other software and / or programs. The network communication module is used to realize the communication between the components inside the memory 109, and the communication with other hardware and software in the server.

[0076] exist Figure 1 In the server shown, the processor 110 is used to execute the data transmission program stored in the memory 109 to implement the following steps:

[0077] When receiving a data transmission request, obtain the load and transmission bit error rate of the cell network where the terminal is located;

[0078] Determine, according to the load and the transmission bit error rate, a first transmission rate of the terminal in a first preset network and a second transmission rate of the terminal in a second preset network, wherein the cell network includes the first preset network and the second preset network;

[0079] The to-be-transmitted data corresponding to the data transmission request is transmitted according to the first transmission rate and the second transmission rate.

[0080] Further, the data to be transmitted includes first data to be transmitted and second data to be transmitted, and the step of transmitting the data to be transmitted corresponding to the data transmission request according to the first transmission rate and the second transmission rate includes:

[0081] receiving first data to be transmitted transmitted by the terminal based on the first transmission rate, and second data to be transmitted transmitted based on the second transmission rate, and determining a transmission mode of a receiving end corresponding to the terminal;

[0082] When the transmission mode is a dual transmission mode, transmitting the first data to be transmitted to the receiving end based on the first preset network, and transmitting the second data to be transmitted to the receiving end based on the second preset network;

[0083] When the transmission mode is a single transmission mode, the first data to be transmitted and the second data to be transmitted are transmitted to the receiving end according to the transmission type of the single transmission mode.

[0084] Further, the step of transmitting the first data to be transmitted and the second data to be transmitted to the receiving end according to the transmission type of the single transmission mode includes:

[0085] Reading a transmission identifier of the receiving end, and determining a transmission type of the single transmission mode according to the transmission identifier;

[0086] Integrate the first data to be transmitted and the second data to be transmitted to form combined data;

[0087] When the transmission type matches the first preset network, transmitting the combined data to the receiving end based on the first preset network;

[0088] When the transmission type matches the second preset network, the combined data is transmitted to the receiving end based on the second preset network.

[0089] Furthermore, when a data transmission request is received, the step of obtaining the load and transmission bit error rate of the cell network where the terminal is located includes:

[0090] When receiving a data transmission request, determining the cell network where the terminal is located according to the terminal identifier carried in the data transmission request;

[0091] A first load and a first transmission bit error rate of the cell network on the first preset network, and a second load and a second transmission bit error rate of the cell network on the second preset network are obtained.

[0092] Further, the step of determining a first transmission rate of the terminal in the first preset network and a second transmission rate of the terminal in the second preset network according to the load and the transmission bit error rate includes:

[0093] Counting a first occupied bandwidth corresponding to the first load, and reading a first limit bandwidth of the first preset network;

[0094] Determine a first remaining rate according to the first occupied bandwidth and the first limit bandwidth, and determine a first transmission rate of the terminal in the first preset network according to the first remaining rate and the first transmission bit error rate;

[0095] Counting a second occupied bandwidth corresponding to the second load, and reading a second limit bandwidth of the second preset network;

[0096] A second residual rate is determined according to the second occupied bandwidth and the second limit bandwidth, and a second transmission rate of the terminal in the second preset network is determined according to the second residual rate and the second transmission bit error rate.

[0097] Further, the step of determining a first residual rate according to the first occupied bandwidth and the first limit bandwidth, and determining a first transmission rate of the terminal in the first preset network according to the first residual rate and the first transmission bit error rate includes:

[0098] Determine a first remaining bandwidth according to the first occupied bandwidth and the first limit bandwidth, and determine a first remaining rate corresponding to the first remaining bandwidth according to a preset correspondence relationship between bandwidth and rate;

[0099] Calling a preset correspondence relationship between a bit error rate and a parameter to determine a first parameter corresponding to the first transmission bit error rate;

[0100] A first transmission rate of the terminal in the first preset network is determined according to a first preset coefficient of the terminal, the first parameter and the first residual rate.

[0101] Further, before the step of transmitting the data to be transmitted corresponding to the data transmission request according to the first transmission rate and the second transmission rate, the processor 110 is used to execute the data transmission program stored in the memory 109 to implement the following steps:

[0102] Reading a first maximum rate that can be provided by the first preset network and a second maximum rate that can be provided by the second preset network, and generating the first maximum rate and the second maximum rate as a network maximum rate;

[0103] Reading a first limit rate of the terminal and a second limit rate of a receiving end corresponding to the terminal, and determining a minimum value among the first limit rate, the second limit rate and the maximum rate of the network as the maximum transmission rate of the terminal;

[0104] Determining an allocated transmission rate of the terminal according to the first transmission rate and the second transmission rate, and judging whether the allocated transmission rate is less than the maximum transmission rate;

[0105] If it is less than the maximum transmission rate, a step of transmitting the to-be-transmitted data corresponding to the data transmission request according to the first transmission rate and the second transmission rate is executed.

[0106] Further, after the step of determining whether the allocated transmission rate is less than the maximum transmission rate, the processor 110 is used to execute the data transmission program stored in the memory 109 to implement the following steps:

[0107] If the allocated transmission rate is not less than the maximum transmission rate, the first transmission rate and / or the second transmission rate are adjusted to adjust the allocated transmission rate to be less than the maximum transmission rate.

[0108] The specific implementation of the server of the present invention is basically the same as the various embodiments of the data transmission method described below, and will not be repeated here.

[0109] To facilitate understanding of the embodiments of the present invention, the communication network system on which the server of the present invention is based is described below.

[0110] See also Figure 2 , Figure 2A communication network system architecture diagram is provided, which is an LTE system of universal mobile communication technology. The LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203 and an operator's IP service 204, which are connected in sequence for communication.

[0111] Specifically, UE201 may be a terminal for communicating with the above-mentioned server 100, which will not be described in detail here.

[0112] E-UTRAN 202 includes eNodeB 2021 and other eNodeBs 2022 , etc. Among them, eNodeB 2021 can be connected to other eNodeBs 2022 through a backhaul (eg, an X2 interface), and eNodeB 2021 is connected to EPC 203 , and eNodeB 2021 can provide UE 201 with access to EPC 203 .

[0113] EPC203 may include MME (Mobility Management Entity) 2031, HSS (Home Subscriber Server) 2032, other MMEs 2033, SGW (Serving Gate Way) 2034, PGW (PDN Gate Way) 2035 and PCRF (Policy and Charging Rules Function) 2036, etc. Among them, MME2031 is a control node that processes signaling between UE201 and EPC203, and provides bearer and connection management. HSS2032 is used to provide some registers to manage functions such as home location register (not shown in the figure), and save some user-specific information such as service features and data rates. All user data can be sent through SGW2034, PGW2035 can provide IP address allocation and other functions for UE 201, PCRF2036 is the policy and charging control policy decision point for service data flow and IP bearer resources, which selects and provides available policy and charging control decisions for the policy and charging execution function unit (not shown in the figure).

[0114] The IP service 204 may include the Internet, an intranet, an IMS (IP Multimedia Subsystem) or other IP services.

[0115] Although the above introduction takes the LTE system as an example, those skilled in the art should know that the present invention is not only applicable to the LTE system, but also to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA and future new network systems, etc., which are not limited here.

[0116] The embodiment of the present invention is Figure 2 Based on the communication network system architecture diagram shown in the figure, some network elements are added to form the whole network architecture, as shown in the figure. Figure 3 As shown, some of the newly added network elements include NG_RAN (NG_Radio Access Network), AMF (Access and Mobility Management Function), PGW_U (PGW-separated user plane), PGW_C (PGW-separated control plane) and PCRF.

[0117] Based on the above server hardware structure and communication device structure, various embodiments of the data transmission method of the present invention are proposed.

[0118] Reference Figure 4 The present invention provides a data transmission method. In a first embodiment of the data transmission method, the data transmission method includes:

[0119] Step S10, when a data transmission request is received, obtaining the load and transmission bit error rate of the cell network where the terminal is located;

[0120] The data transmission method of this embodiment is applied to a server, and is suitable for the server to perform data transmission according to the network transmission mode supported by the terminal, wherein the terminal is a device such as a mobile phone and a tablet computer that can rely on the network for data transmission; the network transmission modes supported by the terminal include a transmission mode that only supports 5G (fifth-generation mobile communication technology) network transmission, or a transmission mode that only supports 4G (fourth-generation mobile communication technology) network transmission, or a transmission mode that supports both 4G and 5G transmission; the transmission mode that only supports 4G or 5G network transmission is a single transmission mode, and the transmission mode that supports both 4G and 5G network transmission is a dual transmission mode.

[0121] In this embodiment, the server transmits the data of the terminal to another terminal to realize the communication between the two terminals. The two terminals may only support a single transmission mode, or both may support a dual transmission mode. In the case where both parties only support a single transmission mode, the single transmission modes supported by the two parties may be the same or different; for example, both parties may support 4G network transmission, or one of the two parties may support 4G network transmission and the other may support 5G network transmission. The transmission mode supported by the server is a dual transmission mode. The terminal sends the data to be transmitted to the server in the transmission mode it supports; the server sends the received transmission data to the recipient according to the transmission mode supported by the data recipient.

[0122] Understandably, the different locations of the terminals have different access networks, that is, different networks provide services to different geographical locations. The location of the terminal is taken as the cell where the terminal is located, and the network covered by the cell is the cell network; the number of users accessing the cell network at different times is different, resulting in different loads of the cell network at different times. The more users access, the greater the load, and vice versa; at the same time, due to the differences in signal strength quality in different cells, the number of errors and the degree of error in the data transmission process are different. The more times and the higher the degree of error, the higher the transmission bit error rate, and vice versa. When the terminal user needs to transmit data to another terminal, it initiates a data transmission request to the server through its terminal; when the server receives the data transmission request sent by the terminal, it first determines the cell network where the terminal currently corresponds, and then obtains the load and transmission bit error rate of the cell network, so as to determine the transmission quality of the cell network through the load and transmission bit error rate. The load is real-time, representing the number of users currently connected to the cell network, while the transmission bit error rate is historical, representing the accuracy of the cell network's previous data transmission. When the load is lower and the transmission bit error rate is lower, it means that the number of users connected to the cell network is small, the cell network is more accurate, and the network transmission quality is good; otherwise, the network transmission quality is poor.

[0123] Step S20, determining a first transmission rate of the terminal in a first preset network and a second transmission rate of the terminal in a second preset network according to the load and the transmission bit error rate, wherein the cell network includes the first preset network and the second preset network;

[0124] Further, the cell network is pre-set with a first preset network and a second preset network, one of the first preset network and the second preset network is a 4G network and the other is a 5G network. Correspondingly, the determined load and transmission bit error rate include the load and transmission bit error rate of the first preset network and the load and transmission bit error rate of the second preset network, which are distinguished by different identifiers. Then, the first transmission rate of the terminal in the first preset network is determined by the load and transmission bit error rate of the first preset network, and the second transmission rate of the terminal in the second preset network is determined by the load and transmission bit error rate of the second preset network. When the load and transmission bit error rate of the first preset network or the second preset network are both low, the determined first transmission rate or the second transmission rate is high, indicating that the first preset network or the second preset network currently has good transmission quality and can support a higher transmission rate; otherwise, it means that the current transmission quality of the first preset network or the second preset network is not good and cannot support a higher transmission rate, and the determined first transmission rate or the second transmission rate is low.

[0125] Step S30: transmitting the to-be-transmitted data corresponding to the data transmission request according to the first transmission rate and the second transmission rate.

[0126] Furthermore, the data transmission request initiated by the terminal user to the server through the terminal carries the data to be transmitted, and the data to be transmitted is used as the data to be transmitted corresponding to the data transmission request. After determining a first transmission rate supporting the terminal to transmit on the first preset network and a second transmission rate supporting the terminal to transmit on the second preset network, the server can transmit the data to be transmitted according to the first transmission rate and the second transmission rate.

[0127] It should be noted that the transmission operation of the server includes two aspects: receiving the data to be transmitted uploaded by the terminal and sending the data to be transmitted to the receiving end communicating with the terminal. Specifically, before receiving the data to be transmitted uploaded by the terminal, the server allocates the first transmission rate and the second transmission rate to the terminal, and the terminal transmits the data to be transmitted to the server according to the transmission mode supported by it; when the transmission mode supported by the terminal is a single transmission mode, the data to be transmitted is uploaded to the server according to the transmission rate corresponding to the single transmission mode. For example, if the single transmission mode is 5G transmission, and the first transmission rate corresponds to 5G transmission, the data to be transmitted is transmitted to the server at the first transmission rate based on the first preset network. When the transmission mode supported by the terminal corresponds to the dual transmission mode, the data to be transmitted is divided into multiple data packets, and the first data packet group and the second data packet group for transmission are allocated to the first preset network and the second preset network respectively; then the first data packet group is transmitted to the server at the first transmission rate according to the first preset network, and the second data packet group is transmitted to the server at the second transmission rate according to the second preset network. The specific transmission process can be carried out through Figure 5Characterization, a signaling connection is established between the terminal UE and the 4G network as the first preset network and the 5G network as the second preset network, and a data transmission request MO_Data_req is sent to the 4G and 5G networks; thereafter, after authentication, encryption and UE capability interaction between the UE and the 4G and 5G networks, a dedicated bearer is established between the UE and the 4G and 5G networks (i.e., the DEDICATED BEARER ESTABLISHMENT in the figure), thereby realizing the data transmission between the UE and the 4G and 5G networks (i.e., the DATA TRANSFER in the figure).

[0128] Furthermore, for the part where the server transmits the data to be transmitted to the receiving end communicating with the terminal, it is performed according to the transmission mode supported by the receiving end; when the receiving end is in single transmission mode, the data to be transmitted is sent to the receiving end in the network mode and transmission rate corresponding to the single transmission mode; when the receiving end is in dual transmission mode, the data to be transmitted is sent to the receiving end based on the first preset network and the second preset network at the first transmission rate and the second transmission rate respectively. The specific transmission process can be Figure 6 Characterization, similarly, a signaling connection is established between the receiving end UE and the 4G network as the first preset network and the 5G network as the second preset network, the 4G and 5G networks initiate a data call to the receiving end, send a data page, and the receiving end sends a data page reply Data_page_Resp to the 4G and 5G networks; thereafter, after authentication, encryption and UE capability interaction between the UE and the 4G and 5G networks, a dedicated bearer is established between the UE and the 4G and 5G networks (i.e., the DEDICATED BEARER ESTABLISHMENT in the figure), thereby realizing data transmission between the UE and the 4G and 5G networks (i.e., the DATA TRANSFER in the figure).

[0129] The data transmission method of the technical solution of the present invention, when receiving a data transmission request, first obtains the load and transmission bit error rate of the cell network where the terminal is located; then determines the first transmission rate of the terminal in the first preset network and the second transmission rate of the second preset network according to the load and the transmission bit error rate; thereafter, according to the first transmission rate and the second transmission rate, transmits the data to be transmitted corresponding to the data transmission request. In this scheme, the first transmission rate and the second transmission rate of the data transmission to be transmitted are respectively related to the first preset network and the second preset network, and both are determined by the load and transmission bit error rate of the cell network where the terminal is located; because the cell network includes the first preset network and the second preset network, the load and the transmission bit error rate are actually the load and the transmission bit error rate related to the first preset network and the second preset network; the transmission of the data to be transmitted combines the resource usage characterized by the load in the first preset network and the second preset network and the transmission accuracy characterized by the transmission bit error rate, avoiding the situation where one of the two has a high resource occupancy rate and the other wastes resources, and the transmission is more accurate and effective, realizing the full utilization of network resources.

[0130] Further, in another embodiment of the data transmission method of the present invention, the data to be transmitted includes first data to be transmitted and second data to be transmitted, and the step of transmitting the data to be transmitted corresponding to the data transmission request according to the first transmission rate and the second transmission rate includes:

[0131] Step S31, receiving first data to be transmitted transmitted by the terminal based on the first transmission rate, and second data to be transmitted transmitted based on the second transmission rate, and determining a transmission mode of a receiving end corresponding to the terminal;

[0132] Step S32, when the transmission mode is a dual transmission mode, transmitting the first data to be transmitted to the receiving end based on the first preset network, and transmitting the second data to be transmitted to the receiving end based on the second preset network;

[0133] Step S33: When the transmission mode is a single transmission mode, the first data to be transmitted and the second data to be transmitted are transmitted to the receiving end according to the transmission type of the single transmission mode.

[0134] In this embodiment, the first data packet group transmitted based on the first preset network at the first transmission rate is used as the first data to be transmitted, and the second data packet group transmitted based on the second preset network at the second transmission rate is used as the second data to be transmitted. In the case where the terminal is in single transmission mode and transmits the data to be transmitted to the server via the first preset network or the second preset network, the data to be transmitted can be directly used as the first data to be transmitted or the second data to be transmitted, and the other preset network that has not performed the transmission operation is used as the other data to be transmitted, but the data volume of the other data to be transmitted is 0. If the data to be transmitted is transmitted to the server via the first preset network, the data to be transmitted is used as the first data to be transmitted, and the data volume of the second data to be transmitted is set to 0. After receiving the first data to be transmitted and the second data to be transmitted, the server determines the transmission mode of the receiving end communicating with the terminal to determine the transmission mode in which the first data to be transmitted and the second data to be transmitted are transmitted to the receiving end.

[0135] Furthermore, the data transmission request initiated by the terminal carries a receiving end identifier representing the communication it needs to carry out, and the server searches for the corresponding receiving end and the transmission mode supported by the receiving end based on the receiving end identifier. When it is determined that the transmission mode is a dual transmission mode, the first data to be transmitted is transmitted to the receiving end based on the first preset network at the first transmission rate, and the second data to be transmitted is transmitted to the receiving end based on the second preset network. Taking into account the situation that the data volume of a certain item of data in the first data to be transmitted and the second data to be transmitted may be 0, the data to be transmitted whose data volume is not 0 can be re-divided at this time, and a part of it can be divided into the data to be transmitted whose data volume is 0, so that both the first preset network and the second preset network perform data transmission, thereby improving the transmission efficiency of the data to be transmitted. For example, in the case where the amount of data of the second data to be transmitted is 0, some data packets are extracted from the first data packet group of the first data to be transmitted to form new second data to be transmitted; then, the extracted first data to be transmitted is transmitted through the first preset network, and the newly formed second data to be transmitted is transmitted through the second preset network; the original single-item first data to be transmitted is transmitted together through the first preset network and the second preset network, thereby improving the transmission efficiency and network utilization.

[0136] Furthermore, when it is determined that the transmission mode is a single transmission mode, the first data to be transmitted and the second data to be transmitted are transmitted to the receiving end according to the transmission type of the single transmission mode. The transmission type of the single transmission mode includes a type corresponding to the first preset network and a type corresponding to the second preset network, namely, a 4G transmission type and a 5G transmission type. When the transmission type corresponds to the first preset network, the first data to be transmitted and the second data to be transmitted are transmitted to the receiving end based on the first preset network; when the transmission type corresponds to the second preset network, the first data to be transmitted and the second data to be transmitted are transmitted to the receiving end based on the second preset network. Because the transmitted first data to be transmitted and the second data to be transmitted are data derived from two channels, the first data to be transmitted and the second data to be transmitted need to be merged before transmission, and then the merged data are transmitted based on the preset network corresponding to the transmission type. Specifically, according to the transmission type of the single transmission mode, the step of transmitting the first data to be transmitted and the second data to be transmitted to the receiving end includes:

[0137] Step S331, reading the transmission identifier of the receiving end, and determining the transmission type of the single transmission mode according to the transmission identifier;

[0138] Step S332: Integrate the first data to be transmitted and the second data to be transmitted to form combined data; if the terminal is a single-ended terminal, no integration is required.

[0139] Step S333: when the transmission type matches the first preset network, transmitting the combined data to the receiving end based on the first preset network;

[0140] Step S334: when the transmission type matches the second preset network, the combined data is transmitted to the receiving end based on the second preset network.

[0141] Furthermore, after finding the receiving end, the server requests the receiving end to read its transmission identifier, and the receiving end feeds back the transmission identifier to the server based on the request; the server receives the fed-back transmission identifier, and determines the transmission type of the single transmission mode based on the type represented by it. At the same time, the server integrates the first data to be transmitted and the second data to be transmitted. The first data to be transmitted and the second data to be transmitted carry a sequence identifier representing the arrangement order of each data. The first data to be transmitted and the second data to be transmitted are arranged according to the sequence identifier to form merged data. It should be noted that if there is a data volume of 0 in the first data to be transmitted and the second data to be transmitted, there is no need to merge, and the data to be transmitted whose data volume is not 0 is directly used as the merged data.

[0142] Furthermore, when the transmission type corresponds to the first preset network type, that is, matches the first preset network type, the merged data is transmitted to the receiving end based on the first preset network; when the transmission type corresponds to the second preset network type, that is, matches the second preset network type, the merged data is transmitted to the receiving end based on the second preset network.

[0143] When the terminal of this embodiment uploads the data to be transmitted to the server, the data to be transmitted is divided into first data to be transmitted and second data to be transmitted, and transmitted separately, making full use of the first preset network and the second preset network, thereby improving the transmission efficiency; at the same time, when the data to be transmitted is sent down to the receiving end, it is transmitted in different types according to the transmission type supported by the receiving end, thereby realizing data transmission between terminals supporting different transmission modes.

[0144] Further, in another embodiment of the data transmission method of the present invention, when receiving a data transmission request, the step of obtaining the load and transmission bit error rate of the cell network where the terminal is located includes:

[0145] Step S11, when a data transmission request is received, determining the cell network where the terminal is located according to the terminal identifier carried in the data transmission request;

[0146] Step S12, obtaining a first load and a first transmission bit error rate of the cell network on the first preset network, and a second load and a second transmission bit error rate of the cell network on the second preset network.

[0147] It can be understood that, since the cell network includes the first preset network and the second preset network, the load and transmission bit error rate of the cell network include the load and transmission bit error rate of the first preset network and the load and transmission bit error rate of the second preset network; the load and transmission bit error rate of the first preset network are used as the first load and the first transmission bit error rate, and the load and transmission bit error rate of the second preset network are used as the second load and the second transmission bit error rate. When the server receives the data transmission request sent by the terminal, it first determines the cell where the terminal is located based on the terminal identifier carried therein that represents the cell where the terminal is located, and then searches for the network covered by the cell, and the network found is the cell network where the terminal is located. Thereafter, the server searches for the number of users currently connected to the first preset network in the cell network, and the error rate of the previous transmission of the first preset network, and uses the number of users as the first load, and the error rate as the first transmission bit error rate. At the same time, the server searches for the number of users currently connected to the second preset network in the cell network, and the error rate of the previous transmission of the second preset network, and uses this number of users as the second load, and uses this error rate as the second transmission bit error rate.

[0148] Further, the step of determining a first transmission rate of the terminal in the first preset network and a second transmission rate of the terminal in the second preset network according to the load and the transmission bit error rate includes:

[0149] Step S21, counting a first occupied bandwidth corresponding to the first load, and reading a first limit bandwidth of the first preset network;

[0150] Step S22, determining a first residual rate according to the first occupied bandwidth and the first limit bandwidth, and determining a first transmission rate of the terminal in the first preset network according to the first residual rate and the first transmission bit error rate;

[0151] It is understandable that the essence of a user's access to the network is the occupation of the network bandwidth. Different users who access the cell network have different usage of network resources. The sum of the network resources used by the first load that accesses the first preset network constitutes the sum of the network bandwidth occupation. This sum is counted as the first occupied bandwidth corresponding to the first load, and the first limit bandwidth of the first preset network is read at the same time. The first limit bandwidth is the maximum bandwidth that the first preset network can provide. The first occupied bandwidth represents the current usage of the first limit bandwidth. The remaining usable bandwidth of the first preset network can be determined by the first occupied bandwidth and the first limit bandwidth.

[0152] Furthermore, there is a correlation between bandwidth and rate, such as 1M broadband, which refers to 1Mbps (megabits per second), that is, 1x1024 / 8=128KB / sec, and the upper limit of the transmission rate is about 112KB / sec. Therefore, based on the correlation between bandwidth and rate, the first residual rate corresponding to the remaining available bandwidth in the first preset network can be determined; considering that other terminals may be connected to the first preset network, the other terminals also need network resources, and the remaining available bandwidth cannot be fully allocated to the terminal for use. At this time, it involves determining the first transmission rate in the first preset network in the terminal based on the first residual rate and the first transmission bit error rate. Specifically, the first residual rate is determined based on the first occupied bandwidth and the first limit bandwidth, and the first transmission rate of the terminal in the first preset network is determined based on the first residual rate and the first transmission bit error rate. The steps include:

[0153] Step S221, determining a first remaining bandwidth according to the first occupied bandwidth and the first limit bandwidth, and determining a first remaining rate corresponding to the first remaining bandwidth according to a preset correspondence relationship between bandwidth and rate;

[0154] Step S222, calling a preset correspondence relationship between a bit error rate and a parameter to determine a first parameter corresponding to the first transmission bit error rate;

[0155] Step S223: determining a first transmission rate of the terminal in the first preset network according to a first preset coefficient of the terminal, the first parameter and the first remaining rate.

[0156] Furthermore, the first limit bandwidth and the first occupied bandwidth are subtracted, and the result of the difference is the remaining available bandwidth in the first preset network, and the available bandwidth is used as the first remaining bandwidth. In addition, the correlation between bandwidth and rate is pre-set as a corresponding relationship between the two, and the first remaining bandwidth is compared with the corresponding relationship to determine the target bandwidth corresponding to the first remaining bandwidth in the corresponding relationship, and then the rate corresponding to the target bandwidth in the corresponding relationship is the first remaining rate corresponding to the first remaining bandwidth, which represents the remaining supportable transmission rate in the first preset network.

[0157] Furthermore, a corresponding relationship is set in advance between the bit error rate and the parameter, and the parameter is used to characterize the high and low bit error rate. When the bit error rate is 0, the parameter has a maximum value of 1. The corresponding relationship is called and compared with the first transmission bit error rate to determine the target bit error rate that corresponds to the first transmission bit error rate in the corresponding relationship. The parameter corresponding to the target bit error rate in the corresponding relationship is the first parameter that matches the first transmission bit error rate. In addition, different coefficients are pre-set for different hardware configurations of the terminal. When the communication effect supported by the hardware configuration of the terminal is good, the higher the coefficient is configured, and vice versa. The value of the coefficient is between 0 and 1. The server reads the terminal hardware configuration and searches for the coefficient corresponding to the hardware configuration as the first preset coefficient. Based on the first preset coefficient, the first parameter and the first residual rate, the first transmission rate of the terminal in the first preset network is determined; the multiplication result obtained by multiplying the three is used as the first transmission rate to characterize the transmission rate supported by the terminal in the first preset network.

[0158] Step S23, counting the second occupied bandwidth corresponding to the second load, and reading the second limit bandwidth of the second preset network;

[0159] Step S24: determining a second residual rate according to the second occupied bandwidth and the second limit bandwidth, and determining a second transmission rate of the terminal in the second preset network according to the second residual rate and the second transmission bit error rate.

[0160] Furthermore, in the same manner as generating the first limit bandwidth and the first transmission rate, the second occupied bandwidth corresponding to the second load is counted, and the second limit bandwidth of the second preset network is read; then the difference between the two is made to generate the remaining usable second remaining bandwidth of the second preset network, and then the second remaining rate corresponding to the second remaining bandwidth is determined based on the correspondence between the bandwidth and the rate. Thereafter, based on the correspondence between the bit error rate and the parameter, the second parameter corresponding to the second transmission bit error rate is determined, and the second preset coefficient of the terminal is read; based on the second parameter, the second preset coefficient and the second remaining rate, the first transmission rate of the terminal in the second preset network is determined based on the second remaining rate and the second transmission bit error rate.

[0161] This embodiment determines the first transmission rate based on the first load and the first transmission bit error rate, and determines the second transmission rate based on the first load and the first transmission bit error rate; it fully considers the current resource usage and previous transmission accuracy of the first preset network and the second preset network, and the determined first transmission rate and second transmission rate are reasonable and accurate.

[0162] Further, in another embodiment of the data transmission method of the present invention, before the step of transmitting the data to be transmitted corresponding to the data transmission request according to the first transmission rate and the second transmission rate, the step includes:

[0163] Step S40, reading a first maximum rate that can be provided by the first preset network and a second maximum rate that can be provided by the second preset network, and generating the first maximum rate and the second maximum rate as a network maximum rate;

[0164] Step S50, reading a first limit rate of the terminal and a second limit rate of a receiving end corresponding to the terminal, and determining a minimum value among the first limit rate, the second limit rate and the maximum rate of the network as the maximum transmission rate of the terminal;

[0165] Step S60, determining the allocated transmission rate of the terminal according to the first transmission rate and the second transmission rate, and judging whether the allocated transmission rate is less than the maximum transmission rate;

[0166] Step S70: If the transmission rate is less than the maximum transmission rate, executing the step of transmitting the data to be transmitted corresponding to the data transmission request according to the first transmission rate and the second transmission rate.

[0167] It can be understood that the first preset network and the second preset network together serve as the cell network of the cell where the terminal is located, providing network resource services for the cell; different terminals support different maximum transmission rates, and the transmission rate provided by the cell network to the terminal cannot exceed the maximum rate that the terminal can support. Specifically, read the first maximum rate and the second maximum rate that can be provided by the first preset network and the second preset network respectively, and add the first maximum rate and the second maximum rate to generate the network maximum rate. Thereafter, the maximum rate of transmission that the terminal can support is read as the first limit rate, and the maximum rate of transmission that the receiving end communicating with the terminal can support is read as the second limit rate. Compare the first limit rate, the second limit rate and the network maximum rate to determine the minimum value, and determine the minimum value as the maximum transmission rate that the terminal can actually support.

[0168] Furthermore, the first transmission rate and the second transmission rate are added, and the result of the addition is determined as the allocated transmission rate of the terminal, which represents the transmission rate that the cell network can allocate to the terminal. The allocated transmission rate is compared with the maximum ship speed rate to determine whether the allocated ship speed rate is less than the maximum transmission rate; if it is less than, it means that the allocated transmission rate is reasonable, and the transmission band can transmit data based on the first transmission rate and the second transmission rate. When the allocated transmission rate is not less than the maximum transmission rate, the first transmission rate and / or the second transmission rate for generating the allocated transmission rate will be adjusted so that the allocated transmission rate is less than the maximum transmission rate. Since the allocated transmission rate is obtained by adding the first transmission rate and the second transmission rate, one of the first transmission rate and the second transmission rate can be adjusted during the adjustment, or both can be adjusted at the same time, as long as the allocated transmission rate generated by the two after the adjustment is less than the maximum ship speed rate. It should be noted that since the transmission qualities that can be provided by the first preset network and the second preset network are different, adjustments can be made based on the quality of the transmission qualities provided by the two. The transmission rate of the preset network that provides poorer transmission quality is adjusted first. If the transmission quality of the first preset network is worse than that of the second preset network, the second transmission rate is adjusted first.

[0169] This solution ensures that the transmission rate allocated to the terminal is within the maximum transmission rate range supported by the terminal by limiting the allocated transmission rate, which is conducive to the reliable transmission of the data to be transmitted.

[0170] The present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores one or more programs, and the one or more programs can also be executed by one or more processors for:

[0171] When receiving a data transmission request, obtain the load and transmission bit error rate of the cell network where the terminal is located;

[0172] Determine, according to the load and the transmission bit error rate, a first transmission rate of the terminal in a first preset network and a second transmission rate of the terminal in a second preset network, wherein the cell network includes the first preset network and the second preset network;

[0173] The to-be-transmitted data corresponding to the data transmission request is transmitted according to the first transmission rate and the second transmission rate.

[0174] Further, the data to be transmitted includes first data to be transmitted and second data to be transmitted, and the step of transmitting the data to be transmitted corresponding to the data transmission request according to the first transmission rate and the second transmission rate includes:

[0175] receiving first data to be transmitted transmitted by the terminal based on the first transmission rate, and second data to be transmitted transmitted based on the second transmission rate, and determining a transmission mode of a receiving end corresponding to the terminal;

[0176] When the transmission mode is a dual transmission mode, transmitting the first data to be transmitted to the receiving end based on the first preset network, and transmitting the second data to be transmitted to the receiving end based on the second preset network;

[0177] When the transmission mode is a single transmission mode, the first data to be transmitted and the second data to be transmitted are transmitted to the receiving end according to the transmission type of the single transmission mode.

[0178] Further, the step of transmitting the first data to be transmitted and the second data to be transmitted to the receiving end according to the transmission type of the single transmission mode includes:

[0179] Reading a transmission identifier of the receiving end, and determining a transmission type of the single transmission mode according to the transmission identifier;

[0180] Integrate the first data to be transmitted and the second data to be transmitted to form combined data;

[0181] When the transmission type matches the first preset network, transmitting the combined data to the receiving end based on the first preset network;

[0182] When the transmission type matches the second preset network, the combined data is transmitted to the receiving end based on the second preset network.

[0183] Furthermore, when a data transmission request is received, the step of obtaining the load and transmission bit error rate of the cell network where the terminal is located includes:

[0184] When receiving a data transmission request, determining the cell network where the terminal is located according to the terminal identifier carried in the data transmission request;

[0185] A first load and a first transmission bit error rate of the cell network on the first preset network, and a second load and a second transmission bit error rate of the cell network on the second preset network are obtained.

[0186] Further, the step of determining a first transmission rate of the terminal in the first preset network and a second transmission rate of the terminal in the second preset network according to the load and the transmission bit error rate includes:

[0187] Counting a first occupied bandwidth corresponding to the first load, and reading a first limit bandwidth of the first preset network;

[0188] Determine a first remaining rate according to the first occupied bandwidth and the first limit bandwidth, and determine a first transmission rate of the terminal in the first preset network according to the first remaining rate and the first transmission bit error rate;

[0189] Counting a second occupied bandwidth corresponding to the second load, and reading a second limit bandwidth of the second preset network;

[0190] A second residual rate is determined according to the second occupied bandwidth and the second limit bandwidth, and a second transmission rate of the terminal in the second preset network is determined according to the second residual rate and the second transmission bit error rate.

[0191] Further, the step of determining a first residual rate according to the first occupied bandwidth and the first limit bandwidth, and determining a first transmission rate of the terminal in the first preset network according to the first residual rate and the first transmission bit error rate includes:

[0192] Determine a first remaining bandwidth according to the first occupied bandwidth and the first limit bandwidth, and determine a first remaining rate corresponding to the first remaining bandwidth according to a preset correspondence relationship between bandwidth and rate;

[0193] Calling a preset correspondence relationship between a bit error rate and a parameter to determine a first parameter corresponding to the first transmission bit error rate;

[0194] A first transmission rate of the terminal in the first preset network is determined according to a first preset coefficient of the terminal, the first parameter and the first residual rate.

[0195] Further, before the step of transmitting the data to be transmitted corresponding to the data transmission request according to the first transmission rate and the second transmission rate, the one or more programs may also be executed by one or more processors to:

[0196] Reading a first maximum rate that can be provided by the first preset network and a second maximum rate that can be provided by the second preset network, and generating the first maximum rate and the second maximum rate as a network maximum rate;

[0197] Reading a first limit rate of the terminal and a second limit rate of a receiving end corresponding to the terminal, and determining a minimum value among the first limit rate, the second limit rate and the maximum rate of the network as the maximum transmission rate of the terminal;

[0198] Determining an allocated transmission rate of the terminal according to the first transmission rate and the second transmission rate, and judging whether the allocated transmission rate is less than the maximum transmission rate;

[0199] If it is less than the maximum transmission rate, a step of transmitting the to-be-transmitted data corresponding to the data transmission request according to the first transmission rate and the second transmission rate is executed.

[0200] Further, after the step of determining whether the allocated transmission rate is less than the maximum transmission rate, the one or more programs may also be executed by one or more processors to:

[0201] If the allocated transmission rate is not less than the maximum transmission rate, the first transmission rate and / or the second transmission rate are adjusted to adjust the allocated transmission rate to be less than the maximum transmission rate.

[0202] The specific implementation of the computer-readable storage medium of the present invention is basically the same as the above-mentioned embodiments of the data transmission method, and will not be described in detail here.

[0203] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0204] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0205] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0206] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the enlightenment of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the purpose of the present invention and the claims, which all fall within the protection of the present invention.

Claims

1. A data transmission method, characterized in that: The data transmission method comprises the following steps: When receiving a data transmission request, obtain the load and transmission bit error rate of the cell network where the terminal is located; Determine, according to the load and the transmission bit error rate, a first transmission rate of the terminal in a first preset network and a second transmission rate of the terminal in a second preset network, wherein the cell network includes the first preset network and the second preset network; transmitting the to-be-transmitted data corresponding to the data transmission request according to the first transmission rate and the second transmission rate; The data to be transmitted includes first data to be transmitted and second data to be transmitted, and the step of transmitting the data to be transmitted corresponding to the data transmission request according to the first transmission rate and the second transmission rate includes: receiving first data to be transmitted transmitted by the terminal based on the first transmission rate, and second data to be transmitted transmitted based on the second transmission rate, and determining a transmission mode of a receiving end corresponding to the terminal; When the transmission mode is a dual transmission mode, transmitting the first data to be transmitted to the receiving end based on the first preset network, and transmitting the second data to be transmitted to the receiving end based on the second preset network; When the transmission mode is a single transmission mode, transmitting the first data to be transmitted and the second data to be transmitted to the receiving end according to a transmission type of the single transmission mode; The step of transmitting the first data to be transmitted and the second data to be transmitted to the receiving end according to the transmission type of the single transmission mode includes: Reading a transmission identifier of the receiving end, and determining a transmission type of the single transmission mode according to the transmission identifier; Integrate the first data to be transmitted and the second data to be transmitted to form combined data; When the transmission type matches the first preset network, transmitting the combined data to the receiving end based on the first preset network; When the transmission type matches the second preset network, transmitting the combined data to the receiving end based on the second preset network; The step of obtaining the load and transmission bit error rate of the cell network where the terminal is located when receiving the data transmission request comprises: When receiving a data transmission request, determining the cell network where the terminal is located according to the terminal identifier carried in the data transmission request; Acquire a first load and a first transmission bit error rate of the cell network on the first preset network, and a second load and a second transmission bit error rate of the cell network on the second preset network; The step of determining the first transmission rate of the terminal in the first preset network and the second transmission rate of the terminal in the second preset network according to the load and the transmission bit error rate comprises: Counting a first occupied bandwidth corresponding to the first load, and reading a first limit bandwidth of the first preset network; Determine a first remaining rate according to the first occupied bandwidth and the first limit bandwidth, and determine a first transmission rate of the terminal in the first preset network according to the first remaining rate and the first transmission bit error rate; Counting a second occupied bandwidth corresponding to the second load, and reading a second limit bandwidth of the second preset network; A second residual rate is determined according to the second occupied bandwidth and the second limit bandwidth, and a second transmission rate of the terminal in the second preset network is determined according to the second residual rate and the second transmission bit error rate.

2. The data transmission method according to claim 1, characterized in that: The step of determining a first remaining rate according to the first occupied bandwidth and the first limit bandwidth, and determining a first transmission rate of the terminal in the first preset network according to the first remaining rate and the first transmission bit error rate includes: Determine a first remaining bandwidth according to the first occupied bandwidth and the first limit bandwidth, and determine a first remaining rate corresponding to the first remaining bandwidth according to a preset correspondence relationship between bandwidth and rate; Calling a preset correspondence relationship between a bit error rate and a parameter to determine a first parameter corresponding to the first transmission bit error rate, wherein the correspondence relationship is set in advance between the bit error rate and the parameter, the parameter is used to characterize the level of the bit error rate, and when the bit error rate is 0, the parameter has a maximum value of 1; The first transmission rate of the terminal in the first preset network is determined according to the first preset coefficient of the terminal, the first parameter and the first remaining rate, wherein different coefficients are pre-set according to different hardware configurations of the terminal. When the communication effect supported by the hardware configuration of the terminal is good, the higher the coefficient configuration is, and vice versa. The value of the coefficient is between 0 and 1. The server reads the hardware configuration of the terminal and searches for the coefficient corresponding to the hardware configuration as the first preset coefficient.

3. The data transmission method according to claim 2, characterized in that: Before the step of transmitting the to-be-transmitted data corresponding to the data transmission request according to the first transmission rate and the second transmission rate, the step includes: Reading a first maximum rate of the first preset network and a second maximum rate of the second preset network, and generating the first maximum rate and the second maximum rate as a network maximum rate; Reading a first limit rate of the terminal and a second limit rate of a receiving end corresponding to the terminal, and determining a minimum value among the first limit rate, the second limit rate and the maximum rate of the network as the maximum transmission rate of the terminal; Determining an allocated transmission rate of the terminal according to the first transmission rate and the second transmission rate, and judging whether the allocated transmission rate is less than the maximum transmission rate; If it is less than the maximum transmission rate, a step of transmitting the to-be-transmitted data corresponding to the data transmission request according to the first transmission rate and the second transmission rate is executed.

4. The data transmission method according to claim 3, characterized in that: The step of determining whether the allocated transmission rate is less than the maximum transmission rate comprises: If the allocated transmission rate is not less than the maximum transmission rate, the first transmission rate and / or the second transmission rate are adjusted to adjust the allocated transmission rate to be less than the maximum transmission rate.

5. A server, characterized in that: The server includes: a memory, a processor, a communication bus, and a data transmission program stored in the memory: The communication bus is used to realize the connection and communication between the processor and the memory; The processor is used to execute the data transmission program to implement the steps of the data transmission method according to any one of claims 1 to 4.

6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a data transmission program, and when the data transmission program is executed by a processor, the steps of the data transmission method according to any one of claims 1 to 4 are implemented.

Citation Information

Patent Citations

  • Method and apparatus for selecting wireless access network

    CN104429131A

  • Method and device for adjusting transmission rate in wireless network

    CN109348515A