CN110049516A - Data transmission method, server and computer readable storage medium - Google Patents

Data transmission method, server and computer readable storage medium Download PDF

Info

Publication number
CN110049516A
CN110049516A CN201910359979.4A CN201910359979A CN110049516A CN 110049516 A CN110049516 A CN 110049516A CN 201910359979 A CN201910359979 A CN 201910359979A CN 110049516 A CN110049516 A CN 110049516A
Authority
CN
China
Prior art keywords
transmission
data
rate
network
transmitted
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910359979.4A
Other languages
Chinese (zh)
Inventor
张建明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201910359979.4A priority Critical patent/CN110049516A/en
Publication of CN110049516A publication Critical patent/CN110049516A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/18Negotiating wireless communication parameters
    • H04W28/22Negotiating communication rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/26Reselection being triggered by specific parameters by agreed or negotiated communication parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of data transmission method, server and computer readable storage medium, which comprises when receiving data transfer request, the load and transmission error rates of subzone network where obtaining terminal;According to the load and the transmission error rates, determine the terminal in the first transmission rate of the first default network, and the terminal is in the second transmission rate of the second default network, wherein the subzone network includes the described first default network and the second default network;According to first transmission rate and second transmission rate, data to be transmitted corresponding with the data transfer request is transmitted.This programme combines the first default network and the transmission data transmission of the second default network handles, avoid that side's resources occupation rate in default network is high and the case where another party's wasting of resources, transmit it is more accurate effectively, realize making full use of for Internet resources.

Description

Data transmission method, server and computer readable storage medium
Technical field
The present invention relates to Internet technical field more particularly to a kind of data transmission methods, server and computer-readable Storage medium.
Background technique
With the development of 5G technology, network communication and transmission is gradually 5G network by 4G network switching, although 5G network can To use in a manner of independence networking, it is contemplated that e-learning quality and having investment, it is necessary to take into account existing 4G network, i.e., using 4G Network and 5G network carry out the mode of communications simultaneously.
4G network and communications while 5G network at present, play pendulum in the 5G network architecture, it is understood that there may be In the case where communication abnormality, 4G network is automatically switched to, is transmitted by 4G network;And normal situation is communicated in 5G, then not It is communicated using 4G network;In this way, communicate while 4G and 5G network, it is substantially the independent communication of a certain network, Cause a resource occupying rate high, and the case where another network resources waste, the low efficiency of communications, and Internet resources Utilization efficiency it is not high.
Summary of the invention
The main purpose of the present invention is to provide a kind of data transmission method, server and computer readable storage medium, Aim to solve the problem that the prior art in the case where 4G and 5G network exists simultaneously, the low efficiency of communications, and network using effect The low problem of rate.
To achieve the above object, a kind of data transmission method provided by the invention, the data transmission method include following Step:
When receiving data transfer request, the load and transmission error rates of subzone network where obtaining terminal;
According to the load and the transmission error rates, determine the terminal in the first transmission speed of the first default network Rate and the terminal the second default network the second transmission rate, wherein the subzone network includes described first default Network and the second default network;
According to first transmission rate and second transmission rate, transmit it is corresponding with the data transfer request to Transmit data.
Optionally, the data to be transmitted includes the first data to be transmitted and the second data to be transmitted, described according to The step of first transmission rate and second transmission rate, transmission data to be transmitted corresponding with the data transfer request, wraps It includes:
The first data to be transmitted that the terminal is transmitted based on first transmission rate is received, and is based on described second Second data to be transmitted of transmission rate transmission, and determine the transmission mode of receiving end corresponding with the terminal;
When the transmission mode is double-transmission mode, first data to be transmitted is based on the described first default network It is transferred to the receiving end, and second data to be transmitted is based on the described second default network transmission to the receiving end;
When the transmission mode is single transmission mode, according to the transport-type of the single transmission mode, by described first Data to be transmitted and second data to be transmitted are transferred to the receiving end.
Optionally, the transport-type according to the single transmission mode, by first data to be transmitted and described The step of two data to be transmitted are transferred to the receiving end include:
The transmission mark of the receiving end is read, and determines the transmission class of the single transmission mode according to the transmission mark Type;
First data to be transmitted and second data to be transmitted are integrated, merging data is formed;
When the transport-type and the first default net mate, the merging data is based on described first and is preset Network transmission is to the receiving end;
When the transport-type and the second default net mate, the merging data is based on described second and is preset Network transmission is to the receiving end.
Optionally, described when receiving data transfer request, the load of subzone network where obtaining terminal and transmission miss The step of code rate includes:
When receiving data transfer request, according to terminal iidentification entrained by the data transfer request, determine described in Subzone network where terminal;
Obtain first load and first transmission error rates of the subzone network on the described first default network, Yi Ji The second load and the second transmission error rates on the second default network.
Optionally, described according to the load and the transmission error rates, determine the terminal in the first default network First transmission rate and the terminal include: in the step of the second transmission rate of the second default network
The first occupied bandwidth corresponding with first load is counted, and reads first limit of the described first default network Bandwidth;
According to first occupied bandwidth and first extreme bandwidth, the first remaining rate is determined, and according to described the One remaining rate and first transmission error rates, determine the terminal in the first transmission rate of the described first default network;
The second occupied bandwidth corresponding with second load is counted, and reads second limit of the described second default network Bandwidth;
According to second occupied bandwidth and second extreme bandwidth, the second remaining rate is determined, and according to described the Two remaining rates and second transmission error rates, determine the terminal in the second transmission rate of the described second default network.
Optionally, described that first remaining rate is determined according to first occupied bandwidth and first extreme bandwidth, and According to the described first remaining rate and first transmission error rates, determine the terminal the first of the described first default network The step of transmission rate includes:
Width and first extreme bandwidth are occupied according to described first, determines the first remaining bandwidth, and according to preset Corresponding relationship between bandwidth and rate determines the corresponding with first remaining bandwidth first remaining rate;
It calls the corresponding relationship between the preset bit error rate and parameter, determines corresponding with first transmission error rates the One parameter;
According to the first predetermined coefficient of the terminal, first parameter and the first remaining rate, the end is determined Hold the first transmission rate in the described first default network.
Optionally, described according to first transmission rate and second transmission rate, transmission is transmitted with the data Include: before the step of requesting corresponding data to be transmitted
Read the first maximum rate of the described first default network and the second maximum speed of the second default network Rate, and first maximum rate and second maximum rate are generated as network maximum rate;
The first hump speed of the terminal, and the second hump speed of receiving end corresponding with the terminal are read, and Minimum value in first hump speed, second hump speed and the network maximum rate is determined as the terminal Peak transfer rate;
According to first transmission rate and second transmission rate, the distribution transmission rate of the terminal is determined, and Judge whether the distribution transmission rate is less than the peak transfer rate;
If being less than the peak transfer rate, execute according to first transmission rate and second transmission rate, The step of transmitting data to be transmitted corresponding with the data transfer request.
Optionally, described to judge to wrap after the step of whether the distribution transmission rate is less than the peak transfer rate It includes:
If the distribution transmission rate is not less than the peak transfer rate, to first transmission rate and/or the Two transmission rates are adjusted, and the distribution transmission rate is adjusted to be less than the peak transfer rate.
In addition, to achieve the above object, the present invention also proposes that a kind of server, the server include: memory, processing Device, communication bus and the data distributing program being stored on the memory:
The communication bus is for realizing the connection communication between processor and memory;
The processor is for executing the data distributing program, to perform the steps of
When receiving data transfer request, the load and transmission error rates of subzone network where obtaining terminal;
According to the load and the transmission error rates, determine the terminal in the first transmission speed of the first default network Rate and the terminal the second default network the second transmission rate, wherein the subzone network includes described first default Network and the second default network;
According to first transmission rate and second transmission rate, transmit it is corresponding with the data transfer request to Transmit data.
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer readable storage medium Storage medium be stored with one perhaps more than one program the one or more programs can by one or one with On processor execute to be used for:
When receiving data transfer request, the load and transmission error rates of subzone network where obtaining terminal;
According to the load and the transmission error rates, determine the terminal in the first transmission speed of the first default network Rate and the terminal the second default network the second transmission rate, wherein the subzone network includes described first default Network and the second default network;
According to first transmission rate and second transmission rate, transmit it is corresponding with the data transfer request to Transmit data.
It is small first to obtain terminal place when receiving data transfer request for the data transmission method of technical solution of the present invention The load and transmission error rates of area's network;Further according to load and the transmission error rates, determine terminal in the first default network First transmission rate, and the second transmission rate in the second default network;It is transmitted thereafter according to the first transmission rate and second Rate transmits data to be transmitted corresponding with data transfer request.This programme is passed to data to be transmitted is transmitted first Defeated rate and the second transmission rate are related to the first default network and the second default network respectively, and the two cell where terminal The load and transmission error rates of network determine;Because subzone network includes the first default network and the second default network, so that load Its load substantially relevant to the first default network and the second default network and transmission error rates with transmission error rates;It is to be transmitted The transmission of data combines in the first default network and the second default network by the resource service condition of load characterization and by transmitting The transmission accuracy of bit error rate characterization avoids in the two that side's resources occupation rate is high the case where another party's wasting of resources, passes It is defeated more accurate effective, realize making full use of for Internet resources.
Detailed description of the invention
The hardware structural diagram of Fig. 1 each embodiment one optional server to realize the present invention;
Fig. 2 is the first schematic diagram of wireless telecommunication system of server as shown in Figure 1;
Fig. 3 is the second schematic diagram of wireless telecommunication system of server as shown in Figure 1;
Fig. 4 is the flow diagram of data transmission method first embodiment of the present invention;
Fig. 5 is the schematic diagram of a scenario of terminal transmission data in data transmission method of the present invention;
Fig. 6 is the schematic diagram of a scenario that data are transferred to receiving end in data transmission method of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
Server can be implemented in a variety of manners.For example, server described in the present invention may include such as plate Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), desk-top meter The terminals such as calculation machine.
It will be illustrated by taking desktop computer as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to spy Yong Yu not be except the element of fixed purpose, the construction of embodiment according to the present invention can also apply to other kinds of service Device.
Referring to Fig. 1, a kind of hardware structural diagram of its server of each embodiment to realize the present invention, the service Device 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, storage The components such as device 109, processor 110 (such as CPU), communication bus 1002 and power supply 111.Those skilled in the art can manage It solves, server architecture shown in Fig. 1 does not constitute the restriction to server, and server may include more more or less than illustrating Component, perhaps combine certain components or different component layouts.Such as increase user interface, network interface, camera. Wherein user interface may include display screen (Display), input unit such as keyboard (Keyboard), and optional user interface is also It may include standard wireline interface and wireless interface.Network interface optionally may include standard wireline interface and wireless interface (such as WI-FI interface).
It is specifically introduced below with reference to all parts of the Fig. 1 to server:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and server can help user's transceiver electronics by WiFi module 102 Mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 is shown WiFi module 102, but it is understood that, and it is not belonging to must be configured into for server, it can according to need completely Do not change in the range of the essence of invention and omits.
Audio output unit 103 can server 100 be in call signal reception pattern, call mode, logging mode, When under the isotypes such as speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 is also Audio output relevant to the specific function that server 100 executes can be provided (for example, call signal receives sound, message connects Quiet down sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model. Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
Server 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other sensings Device.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment light The light and shade of line adjusts the brightness of display panel 1061.Furthermore fingerprint sensor, the pressure sensor, iris sensing that can also configure The other sensors such as device, molecule sensor, gyroscope, barometer, hygrometer, thermometer, infrared sensor, it is no longer superfluous herein It states.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the user with server Setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 and Other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071 Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel 1061 be the function that outputs and inputs of realizing server as two independent components, but in some embodiments it is possible to The function that outputs and inputs of touch panel 1071 and display panel 1061 being integrated and realized server, does not limit specifically herein It is fixed.
Interface unit 108 be used as at least one external device (ED) connect with server 100 can by interface.For example, outer Part device may include wired or wireless headphone port, external power supply (or battery charger) port, wired or wireless Data port, memory card port, for connect the port of device with identification module, the port audio input/output (I/O), Video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, data Information, electric power etc.) and by one or more elements that the input received is transferred in server 100 or can be used for Data are transmitted between server 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area, which can be stored, uses created data (ratio according to server Such as audio data, text data) etc..In addition, memory 109 may include high-speed random access memory, can also include Nonvolatile memory, for example, at least a disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of server, utilizes each portion of various interfaces and the entire server of connection Point, by running or execute the software program and/or module that are stored in memory 109, and calls and be stored in memory 109 Interior data, the various functions and processing data of execute server, to carry out integral monitoring to server.Processor 110 can Including one or more processing units;Preferably, processor 110 can integrate application processor and modem processor, wherein The main processing operation system of application processor, user interface and application program etc., modem processor mainly handles channel radio Letter.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Communication bus 1002 is for realizing the connection communication between processor 110 and memory 109.Memory 109 can be with It is high speed RAM memory, is also possible to stable memory (non-volatile memory), such as magnetic disk storage.Storage Device 109 optionally can also be the storage device independently of aforementioned processor 110.
Server 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 can With logically contiguous by power-supply management system and processor 110, thus charged, discharged by power-supply management system realization management, And the functions such as power managed.
Although Fig. 1 is not shown, server 100 can also be including bluetooth module etc., and details are not described herein.
As shown in Figure 1, as may include that operating system, network are logical in a kind of memory 109 of computer storage medium Believe module and data distributing program.Operating system is to manage and control the program of server hardware and software resource, supports number According to the operation of transfer program and other softwares and/or program.Network communication module is for realizing the 109 each component in inside of memory Between communication, and communicated between hardware and softwares other in server.
In server shown in Fig. 1, processor 110 is real for executing the data distributing program stored in memory 109 Existing following steps:
When receiving data transfer request, the load and transmission error rates of subzone network where obtaining terminal;
According to the load and the transmission error rates, determine the terminal in the first transmission speed of the first default network Rate and the terminal the second default network the second transmission rate, wherein the subzone network includes described first default Network and the second default network;
According to first transmission rate and second transmission rate, transmit it is corresponding with the data transfer request to Transmit data.
Further, the data to be transmitted includes the first data to be transmitted and the second data to be transmitted, described according to institute The step of stating the first transmission rate and second transmission rate, transmitting data to be transmitted corresponding with the data transfer request Include:
The first data to be transmitted that the terminal is transmitted based on first transmission rate is received, and is based on described second Second data to be transmitted of transmission rate transmission, and determine the transmission mode of receiving end corresponding with the terminal;
When the transmission mode is double-transmission mode, first data to be transmitted is based on the described first default network It is transferred to the receiving end, and second data to be transmitted is based on the described second default network transmission to the receiving end;
When the transmission mode is single transmission mode, according to the transport-type of the single transmission mode, by described first Data to be transmitted and second data to be transmitted are transferred to the receiving end.
Further, the transport-type according to the single transmission mode, by first data to be transmitted and described The step of second data to be transmitted is transferred to the receiving end include:
The transmission mark of the receiving end is read, and determines the transmission class of the single transmission mode according to the transmission mark Type;
First data to be transmitted and second data to be transmitted are integrated, merging data is formed;
When the transport-type and the first default net mate, the merging data is based on described first and is preset Network transmission is to the receiving end;
When the transport-type and the second default net mate, the merging data is based on described second and is preset Network transmission is to the receiving end.
Further, described when receiving data transfer request, the load of subzone network and transmission where obtaining terminal The step of bit error rate includes:
When receiving data transfer request, according to terminal iidentification entrained by the data transfer request, determine described in Subzone network where terminal;
Obtain first load and first transmission error rates of the subzone network on the described first default network, Yi Ji The second load and the second transmission error rates on the second default network.
Further, described according to the load and the transmission error rates, determine the terminal in the first default network The first transmission rate and the terminal in the step of the second transmission rate of the second default network include:
The first occupied bandwidth corresponding with first load is counted, and reads first limit of the described first default network Bandwidth;
According to first occupied bandwidth and first extreme bandwidth, the first remaining rate is determined, and according to described the One remaining rate and first transmission error rates, determine the terminal in the first transmission rate of the described first default network;
The second occupied bandwidth corresponding with second load is counted, and reads second limit of the described second default network Bandwidth;
According to second occupied bandwidth and second extreme bandwidth, the second remaining rate is determined, and according to described the Two remaining rates and second transmission error rates, determine the terminal in the second transmission rate of the described second default network.
It is further, described that first remaining rate is determined according to first occupied bandwidth and first extreme bandwidth, And according to the described first remaining rate and first transmission error rates, determine the terminal the of the described first default network The step of one transmission rate includes:
Width and first extreme bandwidth are occupied according to described first, determines the first remaining bandwidth, and according to preset Corresponding relationship between bandwidth and rate determines the corresponding with first remaining bandwidth first remaining rate;
It calls the corresponding relationship between the preset bit error rate and parameter, determines corresponding with first transmission error rates the One parameter;
According to the first predetermined coefficient of the terminal, first parameter and the first remaining rate, the end is determined Hold the first transmission rate in the described first default network.
Further, described according to first transmission rate and second transmission rate, transmission is passed with the data Before the step of defeated request corresponding data to be transmitted, processor 110 is used to execute the data transmission journey stored in memory 109 Sequence performs the steps of
Reading the first maximum rate that the described first default network can be provided and the second default network can mention The second maximum rate supplied, and first maximum rate and second maximum rate are generated as network maximum rate;
The first hump speed of the terminal, and the second hump speed of receiving end corresponding with the terminal are read, and Minimum value in first hump speed, second hump speed and the network maximum rate is determined as the terminal Peak transfer rate;
According to first transmission rate and second transmission rate, the distribution transmission rate of the terminal is determined, and Judge whether the distribution transmission rate is less than the peak transfer rate;
If being less than the peak transfer rate, execute according to first transmission rate and second transmission rate, The step of transmitting data to be transmitted corresponding with the data transfer request.
Further, it is described judge the step of whether the distribution transmission rate is less than the peak transfer rate after, Processor 110 is performed the steps of for executing the data distributing program stored in memory 109
If the distribution transmission rate is not less than the peak transfer rate, to first transmission rate and/or the Two transmission rates are adjusted, and the distribution transmission rate is adjusted to be less than the peak transfer rate.
Server Best Mode of the present invention and each embodiment of following data transmission methods are essentially identical, no longer superfluous herein It states.
Embodiment to facilitate the understanding of the present invention below carries out the communications network system that server of the invention is based on Description.
Referring to Fig. 2, Fig. 2 provides a kind of communications network system architecture diagram, the communications network system is logical for General Mobile The LTE system of letter technology, the LTE system include the UE (User Equipment, user equipment) 201, E- of successively communication connection UTRAN (Evolved UMTS Terrestrial Radio Access Network, evolved UMTS Terrestrial radio access network) The IP operation 204 of 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator.
Specifically, UE201 can be the terminal communicated with above-mentioned server 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers Such as the function of home location register (not shown) etc, and preserves some related service features, data rates etc. and use The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201 Address distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resource Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art should know the present invention is not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And the following new network system etc., herein without limitation.
It increases part network element on the basis of communications network system architecture diagram shown in Fig. 2 of the embodiment of the present invention newly, forms the whole network Framework, it is specific as shown in figure 3, wherein newly-increased part network element include NG_RAN (NG_Radio Access Network, wirelessly Access net), AMF (Access and Mobility Management Function, access and mobile management function to ps domain), PGW_U (the user face of PGW separation), PGW_C (control plane of PGW separation) and PCRF etc..
Based on above-mentioned server hardware structure, communication apparatus structure, each embodiment of data transmission method of the present invention is proposed.
Referring to Fig. 4, the present invention provides a kind of data transmission method, in data transmission method first embodiment, the data Transmission method includes:
Step S10, when receiving data transfer request, the load and transmission error code of subzone network where obtaining terminal Rate;
The data transmission method of the present embodiment is applied to server, and the network supported suitable for server according to terminal passes Defeated mode carries out data transmission, and wherein terminal is the equipment that the responsible network such as mobile phone, tablet computer carries out data transmission;Terminal The network transmission mode supported includes the transmission mode of only support 5G (the 5th third-generation mobile communication technology) network transmission, or only Support the transmission mode of 4G (fourth generation mobile communication technology) network transmission, or the transmission mould for supporting 4G and 5G to transmit simultaneously Formula;The transmission mode for only supporting 4G or 5G network transmission is single transmission mode, while supporting the transmission mould of 4G and 5G network transmission Formula is double-transmission mode.
The data of terminal are transferred to another terminal by server by the present embodiment, realize the communication between two side's terminals, Single transmission mode may be only supported between two side's terminals, it is also possible to which two Fang Jun support double-transmission mode, and only for two Fang Jun The case where supporting single transmission mode, the single transmission mode possibility that two sides are supported is identical may not also be identical;Such as possible two Fang Jun Support 4G network transmission, it is also possible to which two sides Fang Zhongyi support 4G network transmission, and another party supports 5G network transmission.Server institute The transmission mode of support is double-transmission mode, and the transmission mode that terminal is supported with its own will need to transmit data and be sent to clothes Business device;The transmission mode that server is then supported according to data receiver, sends recipient for its received transmission data.
Understandably, the position where terminal is different, and the network accessed is different, i.e., by different networks to different Geographical location provides service.Using the position where terminal as the cell where terminal, the network which is covered is as small Area's network;The number of users that different time is linked into subzone network is different, causes subzone network to have in different time different Load, accessing user's quantity is more, and possessed load is bigger, on the contrary then smaller;Different community is because of signal strength quality simultaneously Otherness causes errors number in data transmission procedure and extent of error different, and number is more, the extent of error the high, draws Higher transmission error rates are played, otherwise transmission error rates are lower.When terminal user needs to another terminal transmission data, pass through Its terminal to server initiates data transfer request;When server receives the data transfer request of terminal transmission, first really Determine the subzone network where terminal currently corresponds to, and then obtain the load and transmission error rates of the subzone network, to pass through load The transmission quality of subzone network is determined with transmission error rates.Wherein load has real-time, and characterization is currently accessed subzone network Number of users how much, transmission error rates then have a history, and characterization subzone network transmitted the correct degree height of data in the past; When load is lower and transmission error rates are lower, then explanation be linked into subzone network number of users it is few, the correct degree of subzone network The transmission quality of height, network is good;The on the contrary then poor transmission of network.
Step S20 determines the terminal the first of the first default network according to the load and the transmission error rates Transmission rate and the terminal the second default network the second transmission rate, wherein the subzone network includes described One default network and the second default network;
Further, subzone network is previously provided with the first default network and the second default network, the first default network and A side is 4G network in second default network, and another party is 5G network.It is adapted with this, identified load and transmission error rates The load and transmission error rates of load and transmission error rates and the second default network including the first default network, the two it Between distinguished by different identifiers.And then determine terminal first by the load and transmission error rates of the first default network The first transmission rate in default network, and determine that terminal is pre- second by the load of the second default network and transmission error rates If the second transmission rate in network.In the low situation of the load of the first default network or the second default network and transmission error rates Under, identified first transmission rate or the second transmission rate are high, characterize the first default network or the second default network currently has There is preferable transmission quality, can support higher transmission rate;On the contrary then the first default network of explanation or the second default network are worked as Preceding transmission quality is bad, cannot support higher transmission rate, and the first transmission rate or the second transmission rate that determine are low.
Step S30, according to first transmission rate and second transmission rate, transmission and the data transfer request Corresponding data to be transmitted.
Further, transmission in need is carried in the data transfer request that terminal user is initiated by terminal to server Data, the data which is transmitted are as data to be transmitted corresponding with data transfer request.Server is determining support Terminal is fast in the second transmission of the second default network transmission in the first transmission rate and support terminal of the first default network transmission After rate, then data to be transmitted can be transmitted according to first transmission rate and the second transmission rate.
It should be noted that the transmission operation of the server includes the data to be transmitted that reception terminal uploads and will be to be passed Transmission of data is sent to two aspect of receiving end communicated with terminal.Specifically, before receiving the data to be transmitted that terminal uploads, clothes Device be engaged in as terminal distribution first transmission rate and the second transmission rate, terminal will be to be transmitted according to its transmission mode supported Data are transferred to server;When the transmission mode that terminal is supported is single transmission mode, then by data to be transmitted according to the patrilineal line of descent with only one son in each generation The corresponding transmission rate of defeated mode is uploaded onto the server, and if single transmission mode is 5G transmission, and the first transmission rate correspond to 5G and passes It is defeated, then data to be transmitted is based on the first default network and server is transferred to the first transmission rate.When the biography that terminal is supported Data to be transmitted is then divided into multiple data packets, and the respectively first default network and second to double-transmission mode by defeated mode The first data packet group and the second data packet group of default network distribution transmission;And then by the first data packet group according to the first default net Network is transferred to server with the first transmission rate, and the second data packet group is transmitted according to the second default network with the second transmission rate To server.Specifically transmission process can be characterized by Fig. 5, in terminal UE and as the 4G network and work of the first default network Signaling connection is established between 5G network for the second default network, and sends data transfer request MO_Data_ to 4G and 5G network req;Hereafter after authentication, encryption and the interaction of UE ability between UE and 4G and 5G network, in UE and 4G and 5G network Between carry out dedicated bearer foundation (i.e. diagram in DEDICATED BEARER ESTABLISHMENT), and then realize UE and 4G And between 5G network data transmission (i.e. diagram in DATA TRANSFER).
Further, data to be transmitted is transferred to the part of the receiving end communicated with terminal for server, accordingly The transmission mode supported according to receiving end carries out;It is when receiving end is single transmission mode, data to be transmitted is defeated with the patrilineal line of descent with only one son in each generation The corresponding network mode of mode and transmission rate are sent to receiving end;When receiving end is double-transmission mode, by data to be transmitted The first default network and the second default network is based respectively on to send with respective first transmission rate and the second transmission rate To receiving end.Specifically transmission process can be characterized by Fig. 6, similarly, the UE and 4G as the first default network in receiving end Signaling connection is established between network and 5G network as the second default network, 4G and 5G network is initiated data to receiving end and exhaled It cries, sends data page, receiving end sends data page to 4G and 5G network and replys Data_page_Resp;Hereafter by UE and After authentication, encryption and the interaction of UE ability between 4G and 5G network, dedicated bearer is carried out between UE and 4G and 5G network (the DEDICATED BEARER ESTABLISHMENT i.e. in diagram) is established, and then realizes number between UE and 4G and 5G network According to transmission (i.e. diagram in DATA TRANSFER).
It is small first to obtain terminal place when receiving data transfer request for the data transmission method of technical solution of the present invention The load and transmission error rates of area's network;Further according to load and the transmission error rates, determine terminal in the first default network First transmission rate, and the second transmission rate in the second default network;It is transmitted thereafter according to the first transmission rate and second Rate transmits data to be transmitted corresponding with data transfer request.This programme is passed to data to be transmitted is transmitted first Defeated rate and the second transmission rate are related to the first default network and the second default network respectively, and the two cell where terminal The load and transmission error rates of network determine;Because subzone network includes the first default network and the second default network, so that load Its load substantially relevant to the first default network and the second default network and transmission error rates with transmission error rates;It is to be transmitted The transmission of data combines in the first default network and the second default network by the resource service condition of load characterization and by transmitting The transmission accuracy of bit error rate characterization avoids in the two that side's resources occupation rate is high the case where another party's wasting of resources, passes It is defeated more accurate effective, realize making full use of for Internet resources.
Further, in another embodiment of data transmission method of the present invention, the data to be transmitted include first to Transmit data and the second data to be transmitted, described according to first transmission rate and second transmission rate, transmission and institute The step of stating data transfer request corresponding data to be transmitted include:
Step S31 receives the first data to be transmitted that the terminal is transmitted based on first transmission rate, and is based on Second data to be transmitted of the second transmission rate transmission, and determine the transmission mode of receiving end corresponding with the terminal;
First data to be transmitted is based on described first when the transmission mode is double-transmission mode by step S32 Network transmission is preset to the receiving end, and second data to be transmitted is based on the described second default network transmission described in Receiving end;
Step S33, will according to the transport-type of the single transmission mode when the transmission mode is single transmission mode First data to be transmitted and second data to be transmitted are transferred to the receiving end.
In the present embodiment by based on the first default network using the first data packet group that the first transmission rate is transmitted as first Data to be transmitted, and the second data packet group transmitted based on the second default network using the second transmission rate is to be transmitted as second Data.It is single transmission mode for terminal, data to be transmitted is transferred to by service with the first default network or the second default network The case where device, directly using the data to be transmitted as the first data to be transmitted or the second data to be transmitted, and by it is another not The default network of transmission operation is carried out as another data to be transmitted, only the data volume of another data to be transmitted is 0.As incited somebody to action Data to be transmitted to server, then using the data to be transmitted as the first data to be transmitted, and is incited somebody to action with the first default network transmission The data volume of second data to be transmitted is set as 0.Server after receiving the first data to be transmitted and the second data to be transmitted, The transmission mode of the receiving end communicated with terminal is determined, to determine the first data to be transmitted with which kind of transmission mode and Second data to be transmitted is transferred to receiving end.
Further, the receiving end for characterizing and being communicated required for it is carried in the data transfer request that terminal is initiated Mark, the transmission mode that server is supported according to the corresponding receiving end of receiving end identifier lookup and the receiving end.Work as warp When determining that transmission mode is double-transmission mode, then the first data to be transmitted biography is continued based on the first default network with the first transmission Second data to be transmitted is based on the second default network transmission to receiving end to receiving end by speed rates.In view of first to The case where data volume that may relate to a certain item data in transmission data and the second data to be transmitted is 0, at this time can be to wherein Data volume is not that 0 data to be transmitted is repartitioned, and is separated in the data to be transmitted that a part is 0 to data volume, so that It obtains the first default network and the second default network carries out data transmission, improve the efficiency of transmission of data to be transmitted data.It is such as right In above-mentioned second data to be transmitted data volume be 0 the case where, the extracting part from the first data packet group of the first data to be transmitted Divided data packet forms the second new data to be transmitted;And then by the first data to be transmitted after extraction by the first default network into Row transmission, and the second data to be transmitted newly formed is transmitted by the second default network;By the first default network and Second default network improves efficiency of transmission and network utilizes to the common transport of the first data to be transmitted of original individual event Rate.
Further, when through determine transmission mode be single transmission mode when, then according to single transmission mode transport-type, First data to be transmitted and the second data to be transmitted are transferred to receiving end.The transport-type of single transmission mode include with it is first pre- If the corresponding type of network, and type corresponding with the second default network, i.e. 4G transport-type and 5G transport-type.Work as transmission When corresponding with the first default network type of type, the first data to be transmitted and the second data to be transmitted are based on the first default net Network is transferred to receiving end;When transport-type type corresponding with the second default network, then by the first data to be transmitted and second Data to be transmitted is based on the second default network transmission to receiving end.Because of the first data to be transmitted and the second data to be transmitted of transmission For from the data of two kinds of approach, to need to close the first data to be transmitted and the second data to be transmitted before transmission And and then the data after merging are transmitted based on default network corresponding with transport-type.Specifically, according to the defeated mould of patrilineal line of descent with only one son in each generation The transport-type of formula, the step of the first data to be transmitted and the second data to be transmitted are transferred to receiving end include:
Step S331 reads the transmission mark of the receiving end, and determines the defeated mould of patrilineal line of descent with only one son in each generation according to transmission mark The transport-type of formula;
Step S332 integrates first data to be transmitted and second data to be transmitted, forms merging data;Eventually It is single-ended for holding, and does not need to integrate
The merging data is based on institute when the transport-type and the first default net mate by step S333 The first default network transmission is stated to the receiving end;
The merging data is based on institute when the transport-type and the second default net mate by step S334 The second default network transmission is stated to the receiving end.
Further, server reads its transmission mark, receiving end to receiving end request after lookup obtains receiving end It transmits and identifies to server feedback according to the request;Server receives the transmission mark of the feedback, and according to its table The type of sign determines the transport-type of single transmission mode.Server is by the first data to be transmitted and the second data to be transmitted simultaneously It is integrated, the sequence identification for characterizing each data arrangement sequence is carried in 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 are arranged according to the sequence identification, form merging data.It needs to illustrate , in the first data to be transmitted and the second data to be transmitted there are a certain item data amount be 0 the case where, then do not need to close And directly using wherein data volume be not 0 data to be transmitted as merging data.
Further, when the corresponding first default network type of transport-type, i.e., when being matched with the first default network type, Merging data is then based on the first default network transmission to receiving end;When the corresponding second default network type of transport-type, i.e., with When second default network type matches, then merging data is based on the second default network transmission to receiving end.
It is to be transmitted that the present embodiment terminal is divided into first when data to be transmitted is uploaded onto the server, by data to be transmitted Data and the second data to be transmitted are transmitted respectively, are taken full advantage of the first default network and the second default network, are improved transmission Efficiency;Simultaneously when data to be transmitted is issued to receiving end, then the transport-type supported according to receiving end carries out classifying type Transmission realizes the data transmission between the terminal for supporting different transmission mode.
Further, described to receive data transfer request in another embodiment of data transmission method of the present invention When, obtain terminal where subzone network load and transmission error rates the step of include:
Step S11, when receiving data transfer request, according to terminal iidentification entrained by the data transfer request, Determine the subzone network where the terminal;
Step S12 obtains first load and first transmission error code of the subzone network on the described first default network Rate, and the second load and the second transmission error rates on the described second default network.
Understandably, because subzone network includes the first default network and the second default network, the load and biography of subzone network The load and transmission error code of load and transmission error rates and the second default network in the defeated bit error rate comprising the first default network Rate;Using the load of the first default network and transmission error rates as the first load and the first transmission error rates, and second is preset The load and transmission error rates of network are as the second load and the second transmission error rates.Server is receiving transmitted by terminal When data transfer request, the first terminal iidentification according to wherein entrained characterization terminal place cell is determined small where terminal Area, and then the network that the cell is covered is searched, the network searched is the subzone network where terminal.Hereafter server Lookup is currently accessed the mistake that the user volume of the first default network and the first default network transmitted in the past in the subzone network Accidentally rate, and using the user volume as the first load, and using the error rate as the first transmission error rates.Server lookup simultaneously is worked as Before be linked into the error rate that the user volume of the second default network and the second default network transmitted in the past in the subzone network, And using this user volume as the second load, and using this error rate as the second transmission error rates.
Further, described according to the load and the transmission error rates, determine the terminal in the first default network The first transmission rate and the terminal in the step of the second transmission rate of the second default network include:
Step S21 counts the first occupied bandwidth corresponding with first load, and reads the described first default network First extreme bandwidth;
Step S22 determines the first remaining rate, and root according to first occupied bandwidth and first extreme bandwidth According to the described first remaining rate and first transmission error rates, determine that the terminal is passed the first of the described first default network Defeated rate;
Understandably, user be linked into network its substantially to the occupancy of network bandwidth, be linked into the difference of subzone network User, it is different to the service condition of Internet resources;The first load of the first default network is linked into Internet usage Summation constitutes the summation occupied to network bandwidth.It is carried out using the summation as with the first occupied bandwidth corresponding to the first load Statistics, while the first extreme bandwidth of the first default network is read, which is that the first default network can be provided Maximum bandwidth.First occupied bandwidth characterization passes through the first occupied bandwidth and the currently to the service condition of the first extreme bandwidth One extreme bandwidth is that can determine the usable bandwidth of the first default residue of network organization.
Further, between bandwidth and rate there is correlativity to refer to 1Mbps (megabits per second), i.e., such as the broadband 1M 1x1024/8=128KB/sec, the upper limit of transmission rate are 112KB/sec or so.To according to the phase between bandwidth and rate Pass relationship can determine the first remaining rate corresponding with the usable bandwidth of residue in the first default network;In advance in view of first If being also possible to access other terminals in network, which equally wants Internet resources, and cannot be by remaining usable bandwidth Terminal use is distributed to entirely.Include at this time according to the first remaining rate and the first transmission error rates, determines in terminal that first is pre- If the first transmission rate in network.Specifically, according to the first occupied bandwidth and the first extreme bandwidth, the first remaining speed is determined Rate, and according to the first remaining rate and the first transmission error rates determines terminal in the first transmission rate of the first default network Step includes:
Step S221 occupies width and first extreme bandwidth according to described first, determines the first remaining bandwidth, and root According to the corresponding relationship between preset bandwidth and rate, the corresponding with first remaining bandwidth first remaining rate is determined;
Step S222 calls the corresponding relationship between the preset bit error rate and parameter, determining and first transmission error code Corresponding first parameter of rate;
Step S223, according to the first predetermined coefficient of the terminal, first parameter and the first remaining rate, really First transmission rate of the fixed terminal in the described first default network.
Further, the first extreme bandwidth and the first occupied bandwidth are done into difference, the result of difference is first default Remaining usable bandwidth in network, can be used bandwidth as the first remaining bandwidth this.In addition, by between bandwidth and rate Correlativity is redefined for corresponding relationship between the two, and the first remaining bandwidth and corresponding relationship are compared, and determines and corresponds to Relationship neutralizes the corresponding target bandwidth of the first remaining bandwidth, and then target bandwidth corresponding rate in corresponding relationship, as with The corresponding first remaining rate of first remaining bandwidth, characterizes the remaining rate that can support transmission in the first default network.
Further, corresponding relationship is set between the bit error rate and parameter in advance, with the height of the parameter characterization bit error rate, In the case where the bit error rate is 0, parameter has maximum value 1.The corresponding relationship and the first transmission error rates is called to compare, determining pair It should be related to that neutralizing the first transmission error rates corresponds to consistent target error rate, target error rate corresponding ginseng in corresponding relationship Number, as the first parameter with the first transmission error rates Corresponding matching.In addition, pre- for different hardware configurations possessed by terminal It is first set with different coefficients, the communication efficiency that the hardware configuration possessed by the terminal is supported is good, then gets over the configuration of its coefficient Height, on the contrary then lower, the numerical value of coefficient is between 0 to 1.Server reading terminals hardware configuration, and search and the hardware configuration Corresponding coefficient is as the first predetermined coefficient.According to the remaining rate of first predetermined coefficient, the first parameter and first, terminal is determined In the first transmission rate of the first default network;Three is multiplied obtained multiplied result as the first transmission rate, characterization The transmission rate that terminal is supported in the first default network.
Step S23 counts the second occupied bandwidth corresponding with second load, and reads the described second default network Second extreme bandwidth;
Step S24 determines the second remaining rate, and root according to second occupied bandwidth and second extreme bandwidth According to the described second remaining rate and second transmission error rates, determine that the terminal is passed the second of the described second default network Defeated rate.
Further, mode identical with the first extreme bandwidth of generation and the first transmission rate, statistics and the second load Corresponding second occupied bandwidth, and the second extreme bandwidth of the second default network is read out;And then it makes the difference therebetween Value generates second remaining bandwidth that can be used of the second default residue of network organization, then according to the corresponding relationship between bandwidth and rate, really Fixed corresponding with the second remaining bandwidth second remaining rate.Hereafter according to the corresponding relationship between the bit error rate and parameter, determine with Corresponding second parameter of second transmission error rates, and the second predetermined coefficient of terminal is read out;According to second parameter, Two predetermined coefficients and the second remaining rate realize according to the second remaining rate and the second transmission error rates, determine terminal the First transmission rate of two default networks.
The present embodiment determines the first transmission rate according to the first load and the first transmission error rates, according to the first load and the One transmission error rates determine the second transmission rate;Fully consider that the first default network and the Current resource of the second default network make With situation and previous transmission accuracy, identified first transmission rate and the second transmission rate are with reasonability and accurately Property.
Further, described according to first transmission rate in another embodiment of data transmission method of the present invention With second transmission rate, transmit data to be transmitted corresponding with the data transfer request the step of before include:
Step S40 reads the first maximum rate and the second default net that the first default network can be provided The second maximum rate that network can be provided, and first maximum rate and second maximum rate are generated as network maximum Rate;
Step S50 reads the first hump speed of the terminal, and second limit of receiving end corresponding with the terminal Rate, and the minimum value in first hump speed, second hump speed and the network maximum rate is determined as The peak transfer rate of the terminal;
Step S60 determines the distribution transmission of the terminal according to first transmission rate and second transmission rate Rate, and judge whether the distribution transmission rate is less than the peak transfer rate;
Step S70 is executed and is passed according to first transmission rate and described second if being less than the peak transfer rate The step of defeated rate, transmission data to be transmitted corresponding with the data transfer request.
Understandably, the first default network and the second default network are collectively as the subzone network of cell where terminal Cell provides net source service;Different terminals support the maximum rate of transmission different, and subzone network is the biography that terminal provides Defeated rate is no more than the maximum rate that the terminal can be supported.Specifically, the first default network and the second default network are read The first maximum rate and the second maximum rate that can be provided respectively, and the first maximum rate and the second maximum rate are subjected to phase Add processing, generates network maximum rate.Hereafter the maximum rate that terminal can be supported transmission is read as the first hump speed, it will The maximum rate that the receiving end communicated with terminal can be supported transmission is read as the second hump speed.In the first hump speed, It is compared between two hump speeds and network maximum rate, determines minimum value therein, and the minimum value is determined as terminal reality On can be supported transmission peak transfer rate.
Further, the first transmission rate is added with the second transmission rate, the result that will add up is determined as terminal Distribution transmission rate, characterization subzone network can be terminal distribution transmission rate.In distribution transmission rate and maximum ship's speed speed It is compared between rate, judges to distribute whether ship's speed rate is less than peak transfer rate;If being less than, illustrate distributed transmission rate Rationally, data can be transmitted according to the first transmission rate and the second transmission rate, transmission belt.When distribution transmission rate is not less than maximum When transmission rate, then the first transmission rate and/or the second transmission rate that generate distribution transmission rate will be adjusted, so that Transmission rate must be distributed less than peak transfer rate.Because distribution transmission rate is added by the first transmission rate with the second transmission rate , adjustment when can be adjusted to one of in the first transmission rate and the second transmission rate, can also to the two into It goes while adjusting, as long as being less than maximum ship's speed rate by the distribution transmission rate that the two generates after adjustment.It needs to illustrate It is, it, can be according to the two in adjustment because the transmission quality that can be provided between the first default network and the second default network is different The quality of provided transmission quality is adjusted;Preferentially the transmission rate for providing the poor default network of transmission quality is adjusted Section, if the transmission quality of the first default network is worse than the second default network, is then preferentially adjusted the second transmission rate.
This programme passes through the restriction to distribution transmission rate, it is ensured that the transmission rate distributed by terminal was supported at it Within the scope of peak transfer rate, be conducive to the reliable transmission to data to be transmitted.
The present invention provides a kind of computer readable storage medium, the computer-readable recording medium storage have one or More than one program of person, the one or more programs can also be executed by one or more than one processor with In:
When receiving data transfer request, the load and transmission error rates of subzone network where obtaining terminal;
According to the load and the transmission error rates, determine the terminal in the first transmission speed of the first default network Rate and the terminal the second default network the second transmission rate, wherein the subzone network includes described first default Network and the second default network;
According to first transmission rate and second transmission rate, transmit it is corresponding with the data transfer request to Transmit data.
Further, the data to be transmitted includes the first data to be transmitted and the second data to be transmitted, described according to institute The step of stating the first transmission rate and second transmission rate, transmitting data to be transmitted corresponding with the data transfer request Include:
The first data to be transmitted that the terminal is transmitted based on first transmission rate is received, and is based on described second Second data to be transmitted of transmission rate transmission, and determine the transmission mode of receiving end corresponding with the terminal;
When the transmission mode is double-transmission mode, first data to be transmitted is based on the described first default network It is transferred to the receiving end, and second data to be transmitted is based on the described second default network transmission to the receiving end;
When the transmission mode is single transmission mode, according to the transport-type of the single transmission mode, by described first Data to be transmitted and second data to be transmitted are transferred to the receiving end.
Further, the transport-type according to the single transmission mode, by first data to be transmitted and described The step of second data to be transmitted is transferred to the receiving end include:
The transmission mark of the receiving end is read, and determines the transmission class of the single transmission mode according to the transmission mark Type;
First data to be transmitted and second data to be transmitted are integrated, merging data is formed;
When the transport-type and the first default net mate, the merging data is based on described first and is preset Network transmission is to the receiving end;
When the transport-type and the second default net mate, the merging data is based on described second and is preset Network transmission is to the receiving end.
Further, described when receiving data transfer request, the load of subzone network and transmission where obtaining terminal The step of bit error rate includes:
When receiving data transfer request, according to terminal iidentification entrained by the data transfer request, determine described in Subzone network where terminal;
Obtain first load and first transmission error rates of the subzone network on the described first default network, Yi Ji The second load and the second transmission error rates on the second default network.
Further, described according to the load and the transmission error rates, determine the terminal in the first default network The first transmission rate and the terminal in the step of the second transmission rate of the second default network include:
The first occupied bandwidth corresponding with first load is counted, and reads first limit of the described first default network Bandwidth;
According to first occupied bandwidth and first extreme bandwidth, the first remaining rate is determined, and according to described the One remaining rate and first transmission error rates, determine the terminal in the first transmission rate of the described first default network;
The second occupied bandwidth corresponding with second load is counted, and reads second limit of the described second default network Bandwidth;
According to second occupied bandwidth and second extreme bandwidth, the second remaining rate is determined, and according to described the Two remaining rates and second transmission error rates, determine the terminal in the second transmission rate of the described second default network.
It is further, described that first remaining rate is determined according to first occupied bandwidth and first extreme bandwidth, And according to the described first remaining rate and first transmission error rates, determine the terminal the of the described first default network The step of one transmission rate includes:
Width and first extreme bandwidth are occupied according to described first, determines the first remaining bandwidth, and according to preset Corresponding relationship between bandwidth and rate determines the corresponding with first remaining bandwidth first remaining rate;
It calls the corresponding relationship between the preset bit error rate and parameter, determines corresponding with first transmission error rates the One parameter;
According to the first predetermined coefficient of the terminal, first parameter and the first remaining rate, the end is determined Hold the first transmission rate in the described first default network.
Further, described according to first transmission rate and second transmission rate, transmission is passed with the data Before the step of defeated request corresponding data to be transmitted, the one or more programs can also by one or one with On processor execute to be used for:
Reading the first maximum rate that the described first default network can be provided and the second default network can mention The second maximum rate supplied, and first maximum rate and second maximum rate are generated as network maximum rate;
The first hump speed of the terminal, and the second hump speed of receiving end corresponding with the terminal are read, and Minimum value in first hump speed, second hump speed and the network maximum rate is determined as the terminal Peak transfer rate;
According to first transmission rate and second transmission rate, the distribution transmission rate of the terminal is determined, and Judge whether the distribution transmission rate is less than the peak transfer rate;
If being less than the peak transfer rate, execute according to first transmission rate and second transmission rate, The step of transmitting data to be transmitted corresponding with the data transfer request.
Further, it is described judge the step of whether the distribution transmission rate is less than the peak transfer rate after, The one or more programs can also be executed by one or more than one processor to be used for:
If the distribution transmission rate is not less than the peak transfer rate, to first transmission rate and/or the Two transmission rates are adjusted, and the distribution transmission rate is adjusted to be less than the peak transfer rate.
Computer readable storage medium specific embodiment of the present invention and the basic phase of each embodiment of above-mentioned data transmission method Together, details are not described herein.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form, all of these belong to the protection of the present invention.

Claims (10)

1. a kind of data transmission method, which is characterized in that the data transmission method the following steps are included:
When receiving data transfer request, the load and transmission error rates of subzone network where obtaining terminal;
According to the load and the transmission error rates, determine the terminal in the first transmission rate of the first default network, with And the terminal is in the second transmission rate of the second default network, wherein the subzone network include the described first default network and The second default network;
According to first transmission rate and second transmission rate, transmit corresponding with the data transfer request to be transmitted Data.
2. data transmission method as described in claim 1, which is characterized in that the data to be transmitted includes the first number to be transmitted According to the second data to be transmitted, described according to first transmission rate and second transmission rate, transmission and the data Transmitting the step of requesting corresponding data to be transmitted includes:
The first data to be transmitted that the terminal is transmitted based on first transmission rate is received, and based on second transmission Second data to be transmitted of speed rates, and determine the transmission mode of receiving end corresponding with the terminal;
When the transmission mode is double-transmission mode, first data to be transmitted is based on the described first default network transmission The described second default network transmission is based on to the receiving end to the receiving end, and by second data to be transmitted;
It is to be passed by described first according to the transport-type of the single transmission mode when the transmission mode is single transmission mode Transmission of data and second data to be transmitted are transferred to the receiving end.
3. data transmission method as claimed in claim 2, which is characterized in that the transmission class according to the single transmission mode Type, the step of first data to be transmitted and second data to be transmitted are transferred to the receiving end include:
The transmission mark of the receiving end is read, and determines the transport-type of the single transmission mode according to the transmission mark;
First data to be transmitted and second data to be transmitted are integrated, merging data is formed;
When the transport-type and the first default net mate, the merging data is based on the described first default network It is transferred to the receiving end;
When the transport-type and the second default net mate, the merging data is based on the described second default network It is transferred to the receiving end.
4. data transmission method as described in claim 1, which is characterized in that it is described when receiving data transfer request, it obtains The step of load and transmission error rates of subzone network, includes: where taking terminal
When receiving data transfer request, according to terminal iidentification entrained by the data transfer request, the terminal is determined The subzone network at place;
First load and first transmission error rates of the subzone network on the described first default network are obtained, and described The second load and the second transmission error rates on second default network.
5. data transmission method as claimed in claim 4, which is characterized in that described according to the load and the transmission error code Rate determines the terminal in the first transmission rate of the first default network and the terminal the second of the second default network The step of transmission rate includes:
The first occupied bandwidth corresponding with first load is counted, and reads the first limit band of the described first default network It is wide;
According to first occupied bandwidth and first extreme bandwidth, the first remaining rate is determined, and surplus according to described first Leaving velocity rate and first transmission error rates determine the terminal in the first transmission rate of the described first default network;
The second occupied bandwidth corresponding with second load is counted, and reads the second limit band of the described second default network It is wide;
According to second occupied bandwidth and second extreme bandwidth, the second remaining rate is determined, and surplus according to described second Leaving velocity rate and second transmission error rates determine the terminal in the second transmission rate of the described second default network.
6. data transmission method as claimed in claim 5, which is characterized in that described according to first occupied bandwidth and described First extreme bandwidth determines the first remaining rate, and according to the described first remaining rate and first transmission error rates, determines The terminal includes: in the step of the first transmission rate of the described first default network
Width and first extreme bandwidth are occupied according to described first, determines the first remaining bandwidth, and according to preset bandwidth Corresponding relationship between rate determines the corresponding with first remaining bandwidth first remaining rate;
The corresponding relationship between the preset bit error rate and parameter is called, determines the first ginseng corresponding with first transmission error rates Number;
According to the first predetermined coefficient of the terminal, first parameter and the first remaining rate, determine that the terminal exists First transmission rate of the first default network.
7. data transmission method as claimed in any one of claims 1 to 6, which is characterized in that described according to the first transmission speed Include: before the step of rate and second transmission rate, transmission data to be transmitted corresponding with the data transfer request
The first maximum rate of the described first default network and the second maximum rate of the second default network are read, and First maximum rate and second maximum rate are generated as network maximum rate;
Read the first hump speed of the terminal, and the second hump speed of receiving end corresponding with the terminal, and by institute The minimum value stated in the first hump speed, second hump speed and the network maximum rate is determined as the terminal most Big transmission rate;
According to first transmission rate and second transmission rate, the distribution transmission rate of the terminal is determined, and judge Whether the distribution transmission rate is less than the peak transfer rate;
If being less than the peak transfer rate, execute according to first transmission rate and second transmission rate, transmission The step of data to be transmitted corresponding with the data transfer request.
8. data transmission method as claimed in claim 7, which is characterized in that described to judge whether the distribution transmission rate is small Include: later in the step of peak transfer rate
If the distribution transmission rate is not less than the peak transfer rate, first transmission rate and/or second are passed Defeated rate is adjusted, and the distribution transmission rate is adjusted to be less than the peak transfer rate.
9. a kind of server, which is characterized in that the server includes: memory, processor, communication bus and is stored in institute State the data distributing program on memory:
The communication bus is for realizing the connection communication between processor and memory;
The processor is for executing the data distributing program, to realize such as data of any of claims 1-8 The step of transmission method.
10. a kind of computer readable storage medium, which is characterized in that be stored with data biography on the computer readable storage medium Defeated program realizes that data of any of claims 1-8 such as are transmitted when the data distributing program is executed by processor The step of method.
CN201910359979.4A 2019-04-28 2019-04-28 Data transmission method, server and computer readable storage medium Pending CN110049516A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910359979.4A CN110049516A (en) 2019-04-28 2019-04-28 Data transmission method, server and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910359979.4A CN110049516A (en) 2019-04-28 2019-04-28 Data transmission method, server and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN110049516A true CN110049516A (en) 2019-07-23

Family

ID=67280401

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910359979.4A Pending CN110049516A (en) 2019-04-28 2019-04-28 Data transmission method, server and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110049516A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111050366A (en) * 2019-12-04 2020-04-21 路邦科技授权有限公司 Intelligent network automatic switching system and network switching method thereof
CN111434177A (en) * 2020-03-05 2020-07-17 北京小米移动软件有限公司 Wireless network access method, device, communication equipment and storage medium
CN115694809A (en) * 2022-11-01 2023-02-03 深圳易思智科技有限公司 Multi-terminal data transmission system based on Hongmong system
CN116390142A (en) * 2023-02-23 2023-07-04 荣耀终端有限公司 Network detection method and electronic equipment
WO2024027242A1 (en) * 2022-08-04 2024-02-08 深圳市星卡软件技术开发有限公司 Data transmission system, method, apparatus, device, and medium

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111050366A (en) * 2019-12-04 2020-04-21 路邦科技授权有限公司 Intelligent network automatic switching system and network switching method thereof
CN111434177A (en) * 2020-03-05 2020-07-17 北京小米移动软件有限公司 Wireless network access method, device, communication equipment and storage medium
CN111434177B (en) * 2020-03-05 2023-08-22 北京小米移动软件有限公司 Wireless network access method, wireless network access device, communication equipment and storage medium
WO2024027242A1 (en) * 2022-08-04 2024-02-08 深圳市星卡软件技术开发有限公司 Data transmission system, method, apparatus, device, and medium
CN115694809A (en) * 2022-11-01 2023-02-03 深圳易思智科技有限公司 Multi-terminal data transmission system based on Hongmong system
CN116390142A (en) * 2023-02-23 2023-07-04 荣耀终端有限公司 Network detection method and electronic equipment
CN116390142B (en) * 2023-02-23 2023-11-28 荣耀终端有限公司 Network detection method and electronic equipment

Similar Documents

Publication Publication Date Title
CN110049516A (en) Data transmission method, server and computer readable storage medium
CN108391025A (en) A kind of network access management method, mobile terminal and computer readable storage medium
CN110401473A (en) Dynamic adjusts method, mobile terminal and the storage medium of transmission power
CN108684068A (en) network search method, mobile terminal and computer readable storage medium
CN107182097A (en) A kind of method for switching network, terminal and computer-readable recording medium
CN110012515A (en) A kind of call failure processing method, terminal and computer readable storage medium
CN109618316A (en) Network share method, mobile terminal and storage medium
CN109005574A (en) Cell selecting method, mobile terminal and computer readable storage medium
CN109982402A (en) Terminal voice call method, mobile terminal and computer readable storage medium
CN109862603A (en) APN adaptive approach, mobile terminal and readable storage medium storing program for executing
CN109445745A (en) Audio stream processing method, device, mobile terminal and storage medium
CN107580336A (en) A kind of method for connecting network, terminal and computer-readable recording medium
CN107343272A (en) A kind of data traffic sharing method and mobile terminal
CN109890022A (en) Data transfer control method, mobile terminal and computer readable storage medium
CN107094303A (en) Terminal network register method, device and computer-readable recording medium
CN110187808A (en) Dynamic wallpaper setting method, device and computer readable storage medium
CN108920917A (en) Log in end switching method, mobile terminal and computer readable storage medium
CN110069122A (en) A kind of screen control method, terminal and computer readable storage medium
CN107911422A (en) A kind of switching handling method, terminal and computer-readable recording medium
CN110087267A (en) Method for switching network, device, electronic equipment and readable storage medium storing program for executing
CN110198173A (en) A kind of adjusting method of mobile terminal, radio circuit, mobile terminal and storage medium
CN109639834A (en) A kind of synchronizing information processing method, system and mobile terminal
CN108541046A (en) A kind of network selecting method, terminal and storage medium
CN108040116A (en) Information push method, router and computer-readable recording medium
CN108306856A (en) A kind of interface merging method, client, server and computer readable storage medium

Legal Events

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