[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN103442415B - A kind of method and a kind of mobile terminal that sends data - Google Patents

A kind of method and a kind of mobile terminal that sends data Download PDF

Info

Publication number
CN103442415B
CN103442415B CN201310373586.1A CN201310373586A CN103442415B CN 103442415 B CN103442415 B CN 103442415B CN 201310373586 A CN201310373586 A CN 201310373586A CN 103442415 B CN103442415 B CN 103442415B
Authority
CN
China
Prior art keywords
data
send
radio
upper layer
buffer memory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310373586.1A
Other languages
Chinese (zh)
Other versions
CN103442415A (en
Inventor
杨林
李加将
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications 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 Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201310373586.1A priority Critical patent/CN103442415B/en
Priority to CN201610248034.1A priority patent/CN105764127B/en
Publication of CN103442415A publication Critical patent/CN103442415A/en
Application granted granted Critical
Publication of CN103442415B publication Critical patent/CN103442415B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention relates to moving communicating field, relate in particular to a kind of method and a kind of mobile terminal that sends data. In order to solve application program frequent accesses network under running background mode of mobile terminal in existing mode, emphasizer and mobile terminal are processed the problem of load. The method of the transmission data that the embodiment of the present invention provides comprises: deposit the data that upper layer application need to send; In the time meeting default data transmission condition, the data that need to send by the upper layer application of communication link transmission buffer memory corresponding at least one radio-frequency module in continuous opening. In the method, the data that need to send by buffer memory upper layer application, meeting the data that send again buffer memory when default data send condition, have avoided the frequent accesses network of mobile terminal, have alleviated the processing load of network and mobile terminal.

Description

A kind of method and a kind of mobile terminal that sends data
Technical field
The present invention relates to moving communicating field, relate in particular to a kind of method and a kind of movement eventually that sends dataEnd.
Background technology
Along with the development of mobile communication technology, mobile terminal by original single call function to speech,Data, image, music and multimedia direction comprehensively develop. The application program of moving on mobile terminal also day by dayAbundant, comprising the application program such as micro-letter. The feature of this class method is to answer when user uses suchWhile using program, application program and network side interaction data; And in the time that user stops using such application program,Application program enters the mode of running background, and now, meeting triggering mobile terminals periodic access network, with thisThe operation such as shake hands of server corresponding to application program.
This type of application program is frequent accesses network under running background mode, and access each time all needs eventually mobileEnd and the mutual signaling of network side, connect, and so greatly increased the weight of the processing load of network and mobile terminal.
Summary of the invention
The embodiment of the present invention provides a kind of method and a kind of mobile terminal that sends data, in order to solve existing sideThe application program of mobile terminal frequent accesses network under running background mode in formula, emphasizer and eventually mobileEnd is processed the problem of load.
The embodiment of the present invention provides a kind of method that sends data, comprising:
The data that buffer memory upper layer application need to send;
In the time meeting default data transmission condition, by least one the radio frequency mould in continuous openingThe data that the upper layer application of the communication link transmission buffer memory that piece is corresponding need to send.
In this programme, the data that need to send by buffer memory upper layer application, are meeting default data transmission barWhen part, send again the data of buffer memory, avoided the frequent accesses network of mobile terminal, alleviated network and eventually mobileThe processing load of end; By sending out in communication link corresponding at least one radio-frequency module of continuous openingSend buffer memory data, avoid being transformed into continuous unlatching shape in the radio-frequency module of discontinuous openingState, has reduced the overall power consumption of the each radio-frequency module of mobile terminal.
Preferably, described upper layer application is the upper layer application of background mode operation.
In this programme, for the upper layer application of background mode operation, solve this kind of upper layer application frequently to netNetwork side sends network and the heavy problem of mobile terminal processing load that data cause.
Preferably, described default data transmission condition comprises at least one in following condition:
The time of buffer memory upper layer application data is while exceeding default buffer memory duration;
The quantity of the upper layer application of buffer memory exceedes default buffer memory upper layer application amount threshold;
The data volume summation of the upper layer application of buffer memory is greater than default buffer data size threshold value.
In this programme, default data transmission condition is limited, clear and definite is meeting under which kind of condition,The data that the upper layer application of transmission buffer memory need to send.
Preferably, send by communication link corresponding at least one radio-frequency module in continuous openingThe data that the upper layer application of buffer memory need to send, comprising:
Determine in radio-frequency module in continuous opening with the upper layer application that sends buffer memory and need to sendThe radio-frequency module that data desired data transfer rate matches;
Send the upper strata of buffer memory by communication link corresponding to a radio-frequency module in the radio-frequency module of couplingApplication needs the data that send.
In this programme, by needing with the upper layer application that sends buffer memory in continuous opening radio-frequency moduleThe radio-frequency module that the data desired data transfer rate sending matches sends the data of buffer memory, thereby protectsCard transfer of data.
Preferably, in the time meeting default data transmission condition, if all radio-frequency modules are all opened in discontinuousOpen state, determine that the data desired data transfer rate that need to send with the upper layer application that sends buffer memory matchesRadio-frequency module;
The radio-frequency module of closing with the shortest cycle of closing in the radio-frequency module of coupling is transformed into continuous unlatchingState;
Send the upper strata of buffer memory by this communication link corresponding to radio-frequency module that is transformed into continuous openingApplication needs the data that send.
In this programme, at all radio-frequency modules all in discontinuous opening in the situation that, by penetrating of couplingThe radio-frequency module of closing with the shortest cycle of closing in frequency module is transformed into continuous opening, utilizes this conversionNeed to send to the upper layer application of communication link transmission buffer memory corresponding to the radio-frequency module of continuous openingData, further reduce the overall power consumption of the each radio-frequency module of mobile terminal.
The embodiment of the present invention also provides a kind of mobile terminal, and this mobile terminal comprises:
Cache module, the data that need to send for buffer memory upper layer application;
Sending module, in the time meeting default data and send condition, by continuous openingThe data that the upper layer application of the communication link transmission buffer memory that at least one radio-frequency module is corresponding need to send.
In this programme, the data that need to send by buffer memory upper layer application, are meeting default data transmission barWhen part, send again the data of buffer memory, avoided the frequent accesses network of mobile terminal, alleviated network and eventually mobileThe processing load of end; By sending out in communication link corresponding at least one radio-frequency module of continuous openingSend buffer memory data, avoid being transformed into continuous unlatching shape in the radio-frequency module of discontinuous openingState, has reduced the overall power consumption of the each radio-frequency module of mobile terminal.
Preferably, described upper layer application is the upper layer application of background mode operation.
In this programme, for the upper layer application of background mode operation, solve this kind of upper layer application frequently to netNetwork side sends network and the heavy problem of mobile terminal processing load that data cause.
Preferably, described default data transmission condition comprises at least one in following condition:
The time of buffer memory upper layer application data is while exceeding default buffer memory duration;
The quantity of the upper layer application of buffer memory exceedes default buffer memory upper layer application amount threshold;
The data volume summation of the upper layer application of buffer memory is greater than default buffer data size threshold value.
In this programme, default data transmission condition is limited, clear and definite is meeting under which kind of condition,The data that the upper layer application of transmission buffer memory need to send.
Preferably, described sending module specifically for:
Determine in radio-frequency module in continuous opening with the upper layer application that sends buffer memory and need to sendThe radio-frequency module that data desired data transfer rate matches;
Send the upper strata of buffer memory by communication link corresponding to a radio-frequency module in the radio-frequency module of couplingApplication needs the data that send.
In this programme, by needing with the upper layer application that sends buffer memory in continuous opening radio-frequency moduleThe radio-frequency module that the data desired data transfer rate sending matches sends the data of buffer memory, thereby protectsCard transfer of data.
Preferably, described sending module also for:
In the time meeting default data and send condition, if all radio-frequency modules all in discontinuous opening,The radio frequency that definite data desired data transfer rate that need to send with the upper layer application that sends buffer memory matchesModule;
The radio-frequency module of closing with the shortest cycle of closing in the radio-frequency module of coupling is transformed into continuous unlatchingState;
Send the upper strata of buffer memory by this communication link corresponding to radio-frequency module that is transformed into continuous openingApplication needs the data that send.
In this programme, at all radio-frequency modules all in discontinuous opening in the situation that, by penetrating of couplingThe radio-frequency module of closing with the shortest cycle of closing in frequency module is transformed into continuous opening, utilizes this conversionNeed to send to the upper layer application of communication link transmission buffer memory corresponding to the radio-frequency module of continuous openingData, further reduce the overall power consumption of the each radio-frequency module of mobile terminal.
Brief description of the drawings
The procedure schematic diagram of the transmission data that Fig. 1 provides for the embodiment of the present invention;
Fig. 2 is the flow chart of the transmission data method of the embodiment of the present invention one;
The structural representation of the mobile terminal that Fig. 3 provides for the embodiment of the present invention.
Detailed description of the invention
The embodiment of the present invention provides a kind of method and a kind of mobile terminal that sends data. In the embodiment of the present inventionIn the method providing, the data that buffer memory upper layer application need to send; In the time meeting default data transmission condition,Send the upper strata of buffer memory by communication link corresponding at least one radio-frequency module in continuous openingApplication needs the data that send. The data that need to send by buffer memory upper layer application, are meeting default dataWhen transmission condition, send again the data of buffer memory, avoided the frequent accesses network of mobile terminal, alleviated network andThe processing load of mobile terminal; By in communication corresponding at least one radio-frequency module of continuous openingLink send buffer memory data, avoid being transformed into continuously and opening in the radio-frequency module of discontinuous openingOpen state, reduced the overall power consumption of the each radio-frequency module of mobile terminal.
In the embodiment of the present invention, mobile terminal can comprise one or more radio-frequency modules, each radio-frequency module pairAnswer a communication link. The standard of the communication link that wherein, radio-frequency module is corresponding includes but not limited to: the whole worldGSM (GlobalSystemofMobilecommunication, GSM), CDMA (CodeDivisionMultipleAccess, CDMA) IS-95, CDMA (CodeDivisionMultipleAccess, CDMA) 2000, TD SDMA (TimeDivision-SynchronousCodeDivisionMultipleAccess, TD-SCDMA), WCDMA (WidebandCodeDivisionMultipleAccess, WCDMA), time division duplex-Long Term Evolution (TimeDivisionDuplexing-LongTermEvolution, TDDLTE), FDD-Long Term Evolution (FrequencyDivisionDuplexing-LongTermEvolution, FDDLTE), Long Term Evolution-enhancing (LongTermEvolution-Advanced, LTE-advanced), personal handyphone system (PersonalHandy-phoneSystem, PHS) etc.
The procedure schematic diagram of the transmission data that Fig. 1 provides for the embodiment of the present invention. As shown in Figure 1, shouldMethod comprises the following steps:
S101: the data that buffer memory upper layer application need to send;
S102: in the time meeting default data and send condition, by least one of continuous openingThe data that the upper layer application of the communication link transmission buffer memory that radio-frequency module is corresponding need to send.
In prior art, in the time that upper layer application need to send data, if mobile terminal is in idle condition,First it need to carry out Signalling exchange with network side, to establish a communications link, and after communication connection has been set up,Send to network side the data that upper strata need to send. In the prior art, when mobile terminal is determined upper layer applicationNeed to send data time, connect with network immediately and send data, when upper layer application requires to send out continuallyWhile sending data, need mobile terminal to connect with network equally continually, send data. Locating like thisAlthough reason mode can realize instant messaging, cause the processing load of network side and mobile terminal to increase the weight of.
In the embodiment of the present invention, in the time that upper layer application need to send data, first buffer memory upper layer application sendsData, in the time meeting default data transmission condition, more together send out the data of the upper layer application of buffer memoryGo. So just avoid the frequent region of mobile terminal network to connect, sent data.
In the embodiment of the present invention, data include but not limited to business datum, the control command that upper layer application sends(such as for control command of server handshaking etc.).
Conventionally mobile terminal has multiple upper layer application, in the time that multiple upper layer application need to send data respectively,The method that also can adopt the embodiment of the present invention to provide, the data that these upper layer application of buffer memory need to send respectively,And by the data of distributing the each upper layer application of mode mark such as upper layer application mark to send, determining completely like thisWhen the default data of foot send condition, can each upper layer application be needed to send according to each upper layer application markData send on destination server or target device separately.
Alternatively, can by unified application programming interfaces (ApplicationProgrammingInterface,API) control the transmission of each upper layer application data. In the time that upper layer application need to send data, call unifiedApi interface, this api interface is that each upper layer application is distributed upper layer application mark (applicationIdentification, appid), and control the each upper layer application of buffer memory data to be sent, preset when determining to meetData send when condition, unified api interface control together sends out the data of each upper layer application of buffer memoryGo.
In embodiments of the present invention, by making radio-frequency module in discontinuous transmission state, reduce radio frequency mouldThe power consumption of piece. In mobile terminal, three modules that power consumption is larger are respectively: application processor,Lcd screen and radio-frequency module. In the time using the user of mobile terminal there is no operating mobile terminal, application is processedDevice and lcd screen all can dormancy, but radio-frequency module still opens, and make mobile terminal power consumption larger. Therefore,The power consumption that reduces radio-frequency module becomes and reduces the important means that mobile phone power consumes.
In existing mobile terminal solution, after mobile terminal-opening, each radio-frequency module of mobile terminal is all heldContinuous unlatching, works as mobile terminal standby, and while thering is no transceiving data, radio-frequency module still continues to open, radio-frequency moduleLasting unlatching cause larger power consumption. In the embodiment of the present invention, after mobile terminal-opening, radio frequencyThe duty of module comprises: opening and discontinuous opening continuously. When radio-frequency module is in continuouslyWhen opening, can transceiving data, need consumed power; When radio-frequency module is in discontinuous openingTime, close to intermittence radio-frequency module, to reduce the power consumption of radio-frequency module, and in discontinuous unlatchingUnder state, the gap of closing at radio-frequency module, opens radio-frequency module, so that mobile terminal and network side carry outSignalling exchange. When specific implementation, can realize radio-frequency module and mobile terminal by hardware or software switchTurning on and off between supply module, realizes respectively the opening and closing of radio-frequency module. At present, hardware orThe realization of software switch has a lot of methods, repeats no more here.
In the embodiment of the present invention, can make radio-frequency module enter discontinuous unlatching shape by certain trigger mechanismState. Such as, in the time that the time interval of the last transfer of data of distance is not less than default free time length, make to penetrateFrequency module enters discontinuous opening, and radio-frequency module is opened, to move in the gap of closing at radio-frequency moduleMoving terminal and network side carry out Signalling exchange. When according to the signaling receiving from network side, determine and need to countWhen reportedly defeated, radio-frequency module exits discontinuous opening, enters lasting opening.
Although, can by making radio-frequency module enter discontinuous opening, the power that reduces radio-frequency module disappearsConsumption, but multiple upper strata requires to send data continually, if while requiring to send data each time, all will be in non-The radio-frequency module of opening is transformed into continuous opening continuously, and the power that can increase radio-frequency module disappearsConsume, and then increased the power consumption of mobile terminal. Therefore, in the embodiment of the present invention, by buffer memory upper strataApplication needs the data that send, and in the time meeting default data transmission condition, sends again, continually will can avoidBe transformed into continuous opening in the radio-frequency module of discontinuous opening, to reduce the power of radio-frequency moduleConsume. In addition, in the time that mobile terminal exists multiple radio-frequency module, and meeting default data transmission barWhen part, while there is radio-frequency module in continuous opening, by penetrating at least one of openingThe communication link that frequency module is corresponding sends the data of buffer memory, and can further reduce will be in discontinuous openingRadio-frequency module be transformed into the probability of continuous opening, reduce to a greater degree the overall merit of each radio-frequency moduleRate consumes.
Preferably, described upper layer application is the upper layer application of background mode operation.
Generally, the upper layer application of background mode operation is less demanding to the instantaneity of communication, if this type of upper strata is usedBy accesses network continually, require to send data, the method that uses the embodiment of the present invention to provide, can fallThe processing load of low network side and mobile terminal side, the power consumption of reduction mobile terminal, again can be not significantlyReduce the quality of service of mobile terminal.
Preferably, default data transmission condition comprises at least one in following condition:
The time of condition one, buffer memory upper layer application data is while exceeding default buffer memory duration;
The quantity of the upper layer application of condition two, buffer memory exceedes default buffer memory upper layer application amount threshold;
The data volume summation of the upper layer application of condition three, buffer memory is greater than default buffer data size threshold value.
In this programme, default data transmission condition is limited, clear and definite is meeting under which kind of condition,The data that the upper layer application of transmission buffer memory need to send.
For condition one, can, in the time of the data that beginning buffer memory upper layer application will send, start a timer,In the time of this timer expiry, i.e. timer timing duration reached default buffer memory duration (such as: 1 minute),The data that upper layer application of buffer memory need to send are sent, stop the timing of this timer simultaneously,Alternatively, timer zero clearing. Preferably, can be by startup and the zero clearing of unified this timer of api interface control.
For condition two, can be counted by the quantity of unifying the upper layer application of api interface to buffer memory, work as meterNumerical value exceed default buffer memory upper layer application amount threshold (such as: 3) time, the data of buffer memory are sentGo out.
For condition three, can be united in real time by the data volume of unifying the each upper layer application of api interface to buffer memoryMeter, when statistical value exceeded default buffer data size threshold value (such as: 1Mbytes) time, by buffer memoryData send.
Alternatively, above-mentioned default buffer memory duration, buffer memory upper layer application amount threshold and default buffer memory numberAccording to amount threshold value, can be logical according to the data of communication link corresponding to real-time each radio-frequency module of acquisition for mobile terminalLetter ability and determining, such as its communication ability of, communication link is when stronger, the representation unit time is moved endIt is larger that end sends data volume, can be by default buffer memory duration, buffer memory upper layer application amount threshold and defaultBuffer data size threshold value be adjusted into larger value; In the time that its communication ability of communication link is weak, i.e. tableShow that unit interval mobile terminal sends data volume less, can be by default buffer memory duration, buffer memory upper layer applicationAmount threshold and default buffer data size threshold value are adjusted into less value. In addition, also can be mobile terminalUser the interface that relevant parameter is set is provided, such as, the user of mobile terminal can arrange upper layer application dataBuffer memory grade: high, medium and low, such as, when grade point is set to when high, corresponding default buffer memory duration,Buffer memory upper layer application amount threshold and default buffer data size threshold value are adjusted into larger value; Work as grade pointBe set to when middle corresponding default buffer memory duration, buffer memory upper layer application amount threshold and default buffer memoryData volume threshold value is adjusted into less value; When grade point is set to when low, corresponding default buffer memory duration,Buffer memory upper layer application amount threshold and default buffer data size threshold value are adjusted into the minimum of a value of each parameter, orPerson's forbidden moves terminal realizes the function of buffer memory upper layer application data.
In addition, default data send condition and also can comprise, every default sense cycle, and unified APIInterface judges whether the data that the upper layer application of buffer memory will send, if having, sends the data of buffer memory, ifNothing, waits for default sense cycle again, repeats judgement and process of transmitting above. Default sense cycleCan be 2 minutes, 5 minutes etc.
Preferably, send by communication link corresponding at least one radio-frequency module in continuous openingThe data that the upper layer application of buffer memory need to send, comprising:
Determine in radio-frequency module in continuous opening with the upper layer application that sends buffer memory and need to sendThe radio-frequency module that data desired data transfer rate matches;
Send the upper strata of buffer memory by communication link corresponding to a radio-frequency module in the radio-frequency module of couplingApplication needs the data that send.
In this preferred version, determine that radio-frequency module is required with the data that the upper layer application that sends buffer memory need to sendThe mode that message transmission rate matches has a lot. Such as, if communication link corresponding to radio-frequency module can be carriedThe message transmission rate of confession is not less than and sends the data desired data transmission that the upper layer application of buffer memory need to sendSpeed, determines the data desired data transmission speed that radio-frequency module and the upper layer application that sends buffer memory need to sendRate matches.
Or, if the message transmission rate that communication link corresponding to radio-frequency module can provide is not less than transmission buffer memoryThe upper layer application data desired data transfer rate that need to send and the product of default rate matching attribute,Determine the data desired data transfer rate phase that radio-frequency module and the upper layer application that sends buffer memory need to sendCoupling, wherein, this default rate matching attribute is greater than 0 and be not more than 1.
Above-mentioned definite radio-frequency module transmits with the data desired data that the upper layer application that sends buffer memory need to sendThe method that speed matches be applicable in the embodiment of the present invention all need to determine radio-frequency module with send buffer memoryThe upper strata scheme that whether mate of data desired data transfer rate that should send in needs.
In this preferred version, in the time there is the radio-frequency module of multiple couplings, select the method for radio-frequency module to have manyKind, such as: therefrom an optional radio-frequency module sends data, or selects corresponding communication link energyThe radio-frequency module of the message transmission rate maximum enough providing sends data.
Preferably, in the time meeting default data transmission condition, if all radio-frequency modules are all opened in discontinuousOpen state, determine that the data desired data transfer rate that need to send with the upper layer application that sends buffer memory matchesRadio-frequency module;
The radio-frequency module of closing with the shortest cycle of closing in the radio-frequency module of coupling is transformed into continuous unlatchingState;
Send the upper strata of buffer memory by this communication link corresponding to radio-frequency module that is transformed into continuous openingApplication needs the data that send.
In this programme, at all radio-frequency modules all in discontinuous opening in the situation that, by penetrating of couplingThe radio-frequency module of closing with the shortest cycle of closing in frequency module is transformed into continuous opening, utilizes this conversionNeed to send to the upper layer application of communication link transmission buffer memory corresponding to the radio-frequency module of continuous openingData, further reduce the overall power consumption of the each radio-frequency module of mobile terminal.
When radio-frequency module is in discontinuous opening, and pent condition of the cycle of closing to fixUnder, the cycle of closing is longer, and radio-frequency module power consumption is less. Therefore meeting default data transmission barWhen part, if all radio-frequency modules all in discontinuous opening, and exist multiple with send buffer memory upperThe radio-frequency module that layer application needs the data desired data transfer rate sending to match, by the radio frequency of couplingThe radio-frequency module of closing with the shortest cycle of closing in module is transformed into continuous opening, is transformed into by thisThe number that the upper layer application of the communication link transmission buffer memory that the radio-frequency module of opening is corresponding continuously need to sendAccording to, to reduce the overall power of each radio-frequency module.
Illustrate the side of the transmission data that the embodiment of the present invention provides below, by specific embodiment oneMethod.
In embodiment mono-, mobile terminal comprises 2 radio-frequency modules, 1 the corresponding LTE communication of radio-frequency moduleLink, the corresponding 2/3G communication link of another 1 radio-frequency module. Actual mobile terminal also can comprise 3 andAbove radio-frequency module, the corresponding communication standard of each radio-frequency module, such as corresponding LTE, 2G respectively,3G communication link.
In embodiment mono-, taking 1 upper layer application appx as example, when specific implementation, unified api interface canThe solicited message of the multiple upper layer application of buffer memory simultaneously.
As shown in Figure 2, the method for the transmission data of embodiment mono-comprises the steps:
S201: unified api interface receives the request of upper layer application appx access services device, and preserve relevantSolicited message (such as: the COS of server address, request, the service content of request, expectationService response etc.), perform step afterwards S202;
S202: judge whether to meet default data send condition (such as: buffer memory upper layer application data timeBetween while exceeding default buffer memory duration), if so, perform step S203, if not, return to step S201;
S203: judge that whether radio-frequency module that LTE communication link is corresponding is in discontinuous opening, if so,Perform step S204; Otherwise execution step S206;
S204: send handshake request and judge whether receive clothes in Preset Time by 2/3G communication linkThe response of business device, if so, performs step S205, otherwise execution step S207;
S205: unified api interface reception server is issued the response of upper layer application appx, and returns toLayer application appx;
S206: select communication link according to default communication link selection algorithm, if select 2/3G communication chainRoad, performs step S204, if select LTE communication link, performs step S207;
S207: send handshake request by LTE communication link, and judge whether receive clothes in Preset TimeThe response of business device, if so, performs step S205, otherwise returns to step S201.
In above-mentioned steps S206, select the strategy of communication link to include but not limited to: first to judge LTERadio-frequency module corresponding to link, whether in discontinuous opening, if so, selected 2/3G communication linkSend data; Otherwise, according to default communication link selection algorithm select communication link (such as: if 2/3Radio-frequency module corresponding to communication link is in discontinuous opening, and radio-frequency module energy corresponding to LTE linkThe message transmission rate enough providing is greater than and sends data requisite number that the upper layer application of buffer memory need to send reportedlyWhen defeated speed, select LTE communication link to send data; If the radio-frequency module that LTE link is corresponding and 2/3GRadio-frequency module corresponding to communication link is all in continuous opening, and can select can provide in two kinds of communication linksThe communication link of larger data transfer rate.
When the result of execution step S207 is not receive server response in Preset Time, return to stepS201, wait sends data next time again while meeting default data transmission condition.
Based on same inventive concept, in the embodiment of the present invention, also provide a kind of mobile terminal, because this movesThe method of the transmission data that the principle that terminal is dealt with problems provides to the embodiment of the present invention is similar, and therefore this movesThe enforcement of terminal can, referring to the enforcement of the method for transmission data, repeat part and repeat no more.
The structural representation of the mobile terminal that Fig. 3 provides for the embodiment of the present invention. As shown in Figure 3, this movesTerminal comprises:
Cache module 301, the data that need to send for buffer memory upper layer application;
Sending module 302, in the time meeting default data and send condition, by continuous unlatching shapeThe communication link that at least one radio-frequency module of state is corresponding sends the data that the upper layer application of buffer memory need to send.
Preferably, upper layer application is the upper layer application of background mode operation.
Preferably, default data transmission condition comprises at least one in following condition:
The time of buffer memory upper layer application data is while exceeding default buffer memory duration;
The quantity of the upper layer application of buffer memory exceedes default buffer memory upper layer application amount threshold;
The data volume summation of the upper layer application of buffer memory is greater than default buffer data size threshold value.
Preferably, sending module specifically for:
Determine in radio-frequency module in continuous opening with the upper layer application that sends buffer memory and need to sendThe radio-frequency module that data desired data transfer rate matches;
Send the upper strata of buffer memory by communication link corresponding to a radio-frequency module in the radio-frequency module of couplingApplication needs the data that send.
Preferably, sending module also for:
In the time meeting default data and send condition, if all radio-frequency modules all in discontinuous opening,The radio frequency that definite data desired data transfer rate that need to send with the upper layer application that sends buffer memory matchesModule;
The radio-frequency module of closing with the shortest cycle of closing in the radio-frequency module of coupling is transformed into continuous unlatchingState;
Send the upper strata of buffer memory by this communication link corresponding to radio-frequency module that is transformed into continuous openingApplication needs the data that send.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or meterCalculation machine program product. Therefore, the present invention can adopt complete hardware implementation example, completely implement software example or knotClose the form of the embodiment of software and hardware aspect. And the present invention can adopt at one or more wherein bagsThe computer-usable storage medium that contains computer usable program code (include but not limited to magnetic disc store,CD-ROM, optical memory etc.) form of the upper computer program of implementing.
The present invention is that reference is according to the method for the embodiment of the present invention, equipment (system) and computer program productThe flow chart of product and/or block diagram are described. Should understand can be by computer program instructions realization flow figure and/ or block diagram in each flow process and/or flow process in square frame and flow chart and/or block diagram and/Or the combination of square frame. Can provide these computer program instructions to all-purpose computer, special-purpose computer, embeddingThe processor of formula processor or other programmable data processing device, to produce a machine, makes by calculatingThe instruction that the processor of machine or other programmable data processing device is carried out produces for realizing at flow chart oneThe device of the function of specifying in square frame of individual flow process or multiple flow process and/or block diagram or multiple square frame.
These computer program instructions also can be stored in energy vectoring computer or other programmable data processing are establishedIn the standby computer-readable memory with ad hoc fashion work, make to be stored in this computer-readable memoryInstruction produce and comprise the manufacture of command device, this command device is realized in flow process or multiple of flow chartThe function of specifying in square frame of flow process and/or block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, makeMust on computer or other programmable devices, carry out sequence of operations step to produce computer implemented placeReason, thus the instruction of carrying out on computer or other programmable devices is provided for realizing one of flow chartThe step of the function of specifying in square frame of flow process or multiple flow process and/or block diagram or multiple square frame.
Although described the preferred embodiments of the present invention, once those skilled in the art obtain cicada baseThis creative concept, can make other change and amendment to these embodiment. So appended right is wantedAsk and be intended to be interpreted as comprising preferred embodiment and fall into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification and not depart from this present inventionBright spirit and scope. Like this, if of the present invention these amendment and modification belong to the claims in the present invention andWithin the scope of its equivalent technologies, the present invention be also intended to comprise these change and modification interior.

Claims (8)

1. a method that sends data, is characterized in that, comprising:
The data that buffer memory upper layer application need to send;
In the time meeting default data transmission condition, determine in the radio-frequency module in continuous opening and send outThe radio-frequency module that send data desired data transfer rate that the upper layer application of buffer memory need to send to match;
Send the upper strata of buffer memory by communication link corresponding to a radio-frequency module in the radio-frequency module of couplingApplication needs the data that send.
2. the method for claim 1, is characterized in that, described upper layer application is background mode fortuneThe upper layer application of row.
3. the method for claim 1, is characterized in that, described default data send condition bagDraw together at least one in following condition:
The time of buffer memory upper layer application data is while exceeding default buffer memory duration;
The quantity of the upper layer application of buffer memory exceedes default buffer memory upper layer application amount threshold;
The data volume summation of the upper layer application of buffer memory is greater than default buffer data size threshold value.
4. the method as described in as arbitrary in claim 1~3, is characterized in that, the method also comprises:
In the time meeting default data and send condition, if all radio-frequency modules all in discontinuous opening,The radio frequency that definite data desired data transfer rate that need to send with the upper layer application that sends buffer memory matchesModule;
The radio-frequency module of closing with the shortest cycle of closing in the radio-frequency module of coupling is transformed into continuous unlatchingState;
Send the upper strata of buffer memory by this communication link corresponding to radio-frequency module that is transformed into continuous openingApplication needs the data that send.
5. a mobile terminal, is characterized in that, comprising:
Cache module, the data that need to send for buffer memory upper layer application;
Sending module, in the time meeting default data and send condition, determines in continuous openingThe data desired data transfer rate that need to send with the upper layer application that sends buffer memory in radio-frequency module matchesRadio-frequency module; The communication link corresponding by a radio-frequency module in the radio-frequency module of coupling sends buffer memoryThe upper layer application data that need to send.
6. mobile terminal as claimed in claim 5, is characterized in that, described upper layer application is backstage sideThe upper layer application of formula operation.
7. mobile terminal as claimed in claim 5, is characterized in that, described default data send barPart comprises at least one in following condition:
The time of buffer memory upper layer application data is while exceeding default buffer memory duration;
The quantity of the upper layer application of buffer memory exceedes default buffer memory upper layer application amount threshold;
The data volume summation of the upper layer application of buffer memory is greater than default buffer data size threshold value.
8. the mobile terminal as described in as arbitrary in claim 5~7, is characterized in that, described sending module alsoBe used for:
In the time meeting default data and send condition, if all radio-frequency modules all in discontinuous opening,The radio frequency that definite data desired data transfer rate that need to send with the upper layer application that sends buffer memory matchesModule;
The radio-frequency module of closing with the shortest cycle of closing in the radio-frequency module of coupling is transformed into continuous unlatchingState;
Send the upper strata of buffer memory by this communication link corresponding to radio-frequency module that is transformed into continuous openingApplication needs the data that send.
CN201310373586.1A 2013-08-23 2013-08-23 A kind of method and a kind of mobile terminal that sends data Active CN103442415B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310373586.1A CN103442415B (en) 2013-08-23 2013-08-23 A kind of method and a kind of mobile terminal that sends data
CN201610248034.1A CN105764127B (en) 2013-08-23 2013-08-23 A kind of method sending data and a kind of mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310373586.1A CN103442415B (en) 2013-08-23 2013-08-23 A kind of method and a kind of mobile terminal that sends data

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN201610248034.1A Division CN105764127B (en) 2013-08-23 2013-08-23 A kind of method sending data and a kind of mobile terminal

Publications (2)

Publication Number Publication Date
CN103442415A CN103442415A (en) 2013-12-11
CN103442415B true CN103442415B (en) 2016-06-08

Family

ID=49696065

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310373586.1A Active CN103442415B (en) 2013-08-23 2013-08-23 A kind of method and a kind of mobile terminal that sends data

Country Status (1)

Country Link
CN (1) CN103442415B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104572980B (en) * 2014-12-31 2019-06-04 北京奇虎科技有限公司 Data processing method and device
CN106162834A (en) * 2015-03-23 2016-11-23 联想(北京)有限公司 A kind of data transmission method for uplink and electronic equipment
CN106851737B (en) * 2016-12-30 2020-01-14 Oppo广东移动通信有限公司 Method for sending uplink data and terminal equipment
CN106817305B (en) * 2016-12-30 2020-03-10 Oppo广东移动通信有限公司 Forwarding control method and access equipment
CN106658686B (en) * 2016-12-30 2020-01-14 Oppo广东移动通信有限公司 Data forwarding method and access device
CN110012521A (en) * 2018-01-05 2019-07-12 中国移动通信有限公司研究院 A kind of scheduling request transmission method, device and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101146031A (en) * 2006-12-05 2008-03-19 中兴通讯股份有限公司 Service-data oriented storage method and processing method in radio communication system
CN102546582A (en) * 2010-12-30 2012-07-04 中国科学院声学研究所 Method and system of improving transmission speed of embedded data transmission system
CN103095330A (en) * 2011-10-28 2013-05-08 美国博通公司 Dual mode local area network transceiver and methods for use therewith

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7099689B2 (en) * 2003-06-30 2006-08-29 Microsoft Corporation Energy-aware communications for a multi-radio system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101146031A (en) * 2006-12-05 2008-03-19 中兴通讯股份有限公司 Service-data oriented storage method and processing method in radio communication system
CN102546582A (en) * 2010-12-30 2012-07-04 中国科学院声学研究所 Method and system of improving transmission speed of embedded data transmission system
CN103095330A (en) * 2011-10-28 2013-05-08 美国博通公司 Dual mode local area network transceiver and methods for use therewith

Also Published As

Publication number Publication date
CN103442415A (en) 2013-12-11

Similar Documents

Publication Publication Date Title
CN103442415B (en) A kind of method and a kind of mobile terminal that sends data
CN103384992B (en) Multiple cpu architecture platform network firewall
US10893573B2 (en) D2D communication method, remote user equipment, and relay user equipment
CN106131185B (en) Video data processing method, device and system
CN103080920A (en) A system and methods for multi-tasking in a clientless mobile phone
CN105915250A (en) Method, device and system for wearable device to synchronize with information in mobile terminal
CN108770050B (en) Control method and device for carrier aggregation function
CN102202132B (en) Method, system and equipment for initializing networking equipment
CN106211289B (en) A kind of method and device of data transmission
CN104811965B (en) A kind of method and device of terminal optimized Internet resources
CN102624765A (en) Shared service call system of intelligent terminal and method
CN105764127B (en) A kind of method sending data and a kind of mobile terminal
CN110134655A (en) A kind of method for managing resource, device and equipment
US20240188047A1 (en) Computing session update method and apparatus, and communication device
CN102238089A (en) Service interaction method, device and system
CN117939560A (en) Execution result reporting method, receiving method, terminal and network equipment
CN109429215A (en) Data transmission method, relevant device and computer readable storage medium
CN111178572A (en) Agricultural machinery reservation method and device, electronic equipment and storage medium
WO2024149288A1 (en) Ai model distribution method, ai model receiving method, and terminal and network-side device
WO2024027681A1 (en) Ue capability control method and apparatus, terminal, and network side device
WO2023207947A1 (en) Cell reconfiguration method, apparatus, terminal, and network side device
WO2024001985A1 (en) Communication method and terminal
WO2024001952A1 (en) Parameter determination method, terminal, and network side device
CN117528712A (en) Network selection method and terminal
CN118055397A (en) Information transmission method, device, terminal, network equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Shandong City, Qingdao Province, Jiangxi City Road No. 11

Patentee after: Qingdao Hisense Mobile Communication Technology Co.,Ltd.

Country or region after: China

Address before: Shandong City, Qingdao Province, Jiangxi City Road No. 11

Patentee before: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY Co.,Ltd.

Country or region before: China