CN103442415A - Data sending method and mobile terminal - Google Patents
Data sending method and mobile terminal Download PDFInfo
- Publication number
- CN103442415A CN103442415A CN2013103735861A CN201310373586A CN103442415A CN 103442415 A CN103442415 A CN 103442415A CN 2013103735861 A CN2013103735861 A CN 2013103735861A CN 201310373586 A CN201310373586 A CN 201310373586A CN 103442415 A CN103442415 A CN 103442415A
- Authority
- CN
- China
- Prior art keywords
- data
- upper layer
- radio
- layer application
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 42
- 238000004891 communication Methods 0.000 claims abstract description 65
- 230000005540 biological transmission Effects 0.000 claims description 89
- 230000000295 complement effect Effects 0.000 claims description 19
- 230000008878 coupling Effects 0.000 claims description 17
- 238000010168 coupling process Methods 0.000 claims description 17
- 238000005859 coupling reaction Methods 0.000 claims description 17
- 238000012545 processing Methods 0.000 abstract description 16
- 238000010295 mobile communication Methods 0.000 abstract description 4
- 230000008569 process Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 8
- 238000004590 computer program Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 238000012986 modification Methods 0.000 description 5
- 230000004044 response Effects 0.000 description 5
- 230000011664 signaling Effects 0.000 description 5
- 238000012546 transfer Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000002045 lasting effect Effects 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 241000931705 Cicada Species 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000005059 dormancy Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
Images
Classifications
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The invention relates to the field of mobile communication, in particular to a data sending method and a mobile terminal. The data sending method and the mobile terminal are used for solving the problem that because application programs of a mobile terminal in the existing mode has frequent access to a network in the background operation mode, the processing loads of the network and the mobile terminal are increased. The data sending method includes the steps of caching data needing to be sent by upper layer applications, and sending the cached data needing to be sent by the upper layer applications through a communication link corresponding to at least one radio frequency module in the continuous opening state when preset data sending conditions are satisfied. According to the method, due to the fact that the data needing to be sent by the upper layer applications are cached and the cached data are sent when the preset data sending conditions are satisfied, the mobile terminal is prevented from having frequent access to the network, and the processing loads of the network and the mobile terminal are reduced.
Description
Technical field
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.
Background technology
Along with the development of mobile communication technology, mobile terminal is comprehensively developed to speech, data, image, music and multimedia direction by original single call function.The application program of moving on mobile terminal is also day by day abundant, comprising the application program such as micro-letter.The characteristics of this class method are, when the user uses such application program, and application program and network side interaction data; And, when the user stops using such application program, application program enters the mode of running background, now, can triggering mobile terminals the periodic access network, the server corresponding with this application program operation such as shaken hands.
This type of application program is frequent accesses network under the running background mode, and access each time all needs mobile terminal and the mutual signaling of network side, connects, and has 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, and in order to the application program frequent accesses network under the running background mode that solves mobile terminal in existing mode, emphasis network and mobile terminal are processed the problem of load.
The embodiment of the present invention provides a kind of method that sends data, comprising:
The data that the buffer memory upper layer application need to send;
When meeting default data transmission condition, the data that the upper layer application of corresponding communication link transmission buffer memory need to send by least one radio-frequency module in continuous opening.
In this programme, the data that need to send by the buffer memory upper layer application, meeting when default data send condition the data that send again buffer memory, avoided the frequent accesses network of mobile terminal, alleviated the processing load of network and mobile terminal; By at least one radio-frequency module in continuous opening corresponding communication link send buffer memory data, avoid the radio-frequency module in discontinuous opening is transformed into to continuous opening, reduced the overall power consumption of each radio-frequency module of mobile terminal.
Preferably, the upper layer application that described upper layer application is the background mode operation.
In this programme, for the upper layer application of background mode operation, solved this kind of upper layer application and frequently to network side, sent 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 surpassing default buffer memory duration;
The quantity of the upper layer application of buffer memory surpasses 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 meeting under which kind of condition, send the data that the upper layer application of buffer memory need to send.
Preferably, the data that the upper layer application of corresponding communication link transmission buffer memory need to send by least one radio-frequency module in continuous opening comprise:
The radio-frequency module that the data desired data transmission rate that need to send with the upper layer application that sends buffer memory in definite radio-frequency module in continuous opening is complementary;
The data that the upper layer application of corresponding communication link transmission buffer memory need to send by a radio-frequency module in the radio-frequency module of coupling.
In this programme, the radio-frequency module be complementary by the data desired data transmission rate that need to send with the upper layer application that sends buffer memory in continuous opening radio-frequency module sends the data of buffer memory, thereby guarantees transfer of data.
Preferably, when meeting default data transmission condition, if the radio-frequency module that the data desired data transmission rate that all radio-frequency modules, all in discontinuous opening, are determined and the upper layer application of transmission buffer memory need to send is complementary;
The radio-frequency module of closing with the shortest cycle of closing in the radio-frequency module of coupling is transformed into to continuous opening;
Be transformed into by this data that upper layer application that communication link that radio-frequency module of continuous opening is corresponding sends buffer memory need to send.
In this programme, in the situation that all radio-frequency modules are all in discontinuous opening, the radio-frequency module of closing with the shortest cycle of closing in the radio-frequency module of coupling is transformed into to continuous opening, communication link corresponding to the radio-frequency module that utilizes this to be transformed into continuous opening sends the data that the upper layer application of buffer memory need to send, and further reduces the overall power consumption of 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 the buffer memory upper layer application;
Sending module, for when meeting default data transmission condition, the data that the upper layer application of corresponding communication link transmission buffer memory need to send by least one radio-frequency module in continuous opening.
In this programme, the data that need to send by the buffer memory upper layer application, meeting when default data send condition the data that send again buffer memory, avoided the frequent accesses network of mobile terminal, alleviated the processing load of network and mobile terminal; By at least one radio-frequency module in continuous opening corresponding communication link send buffer memory data, avoid the radio-frequency module in discontinuous opening is transformed into to continuous opening, reduced the overall power consumption of each radio-frequency module of mobile terminal.
Preferably, the upper layer application that described upper layer application is the background mode operation.
In this programme, for the upper layer application of background mode operation, solved this kind of upper layer application and frequently to network side, sent 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 surpassing default buffer memory duration;
The quantity of the upper layer application of buffer memory surpasses 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 meeting under which kind of condition, send the data that the upper layer application of buffer memory need to send.
Preferably, described sending module specifically for:
The radio-frequency module that the data desired data transmission rate that need to send with the upper layer application that sends buffer memory in definite radio-frequency module in continuous opening is complementary;
The data that the upper layer application of corresponding communication link transmission buffer memory need to send by a radio-frequency module in the radio-frequency module of coupling.
In this programme, the radio-frequency module be complementary by the data desired data transmission rate that need to send with the upper layer application that sends buffer memory in continuous opening radio-frequency module sends the data of buffer memory, thereby guarantees transfer of data.
Preferably, described sending module also for:
When meeting default data transmission condition, if the radio-frequency module that the data desired data transmission rate that all radio-frequency modules, all in discontinuous opening, are determined and the upper layer application of transmission buffer memory need to send is complementary;
The radio-frequency module of closing with the shortest cycle of closing in the radio-frequency module of coupling is transformed into to continuous opening;
Be transformed into by this data that upper layer application that communication link that radio-frequency module of continuous opening is corresponding sends buffer memory need to send.
In this programme, in the situation that all radio-frequency modules are all in discontinuous opening, the radio-frequency module of closing with the shortest cycle of closing in the radio-frequency module of coupling is transformed into to continuous opening, communication link corresponding to the radio-frequency module that utilizes this to be transformed into continuous opening sends the data that the upper layer application of buffer memory need to send, and further reduces the overall power consumption of each radio-frequency module of mobile terminal.
The accompanying drawing explanation
The procedure schematic diagram of the transmission data that Fig. 1 provides for the embodiment of the present invention;
The flow chart of the transmission data method that Fig. 2 is 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.
Embodiment
The embodiment of the present invention provides a kind of method and a kind of mobile terminal that sends data.In the method provided in the embodiment of the present invention, the data that the buffer memory upper layer application need to send; When meeting default data transmission condition, the data that the upper layer application of corresponding communication link transmission buffer memory need to send by least one radio-frequency module in continuous opening.The data that need to send by the buffer memory upper layer application, meeting when default data send condition the data that send again buffer memory, avoided the frequent accesses network of mobile terminal, alleviated the processing load of network and mobile terminal; By at least one radio-frequency module in continuous opening corresponding communication link send buffer memory data, avoid the radio-frequency module in discontinuous opening is transformed into to continuous opening, reduced the overall power consumption of each radio-frequency module of mobile terminal.
In the embodiment of the present invention, mobile terminal can comprise one or more radio-frequency modules, the corresponding communication link of each radio-frequency module.Wherein, the standard of the communication link that radio-frequency module is corresponding includes but not limited to: global system for mobile communications (Global System of Mobile communication, GSM), code division multiple access (Code Division Multiple Access, CDMA) IS-95, code division multiple access (Code Division Multiple Access, CDMA) 2000, TD SDMA (Time Division-Synchronous Code Division Multiple Access, TD-SCDMA), Wideband Code Division Multiple Access (WCDMA) (Wideband Code Division Multiple Access, WCDMA), time division duplex-Long Term Evolution (Time Division Duplexing-Long Term Evolution, TDD LTE), Frequency Division Duplexing (FDD)-Long Term Evolution (Frequency Division Duplexing-Long Term Evolution, FDD LTE), Long Term Evolution-enhancing (Long Term Evolution-Advanced, LTE-advanced), personal handyphone system (Personal Handy-phone System, 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, the method comprises the following steps:
S101: the data that the buffer memory upper layer application need to send;
S102: when meeting default data transmission condition, the data that the upper layer application of corresponding communication link transmission buffer memory need to send by least one radio-frequency module in continuous opening.
In prior art, when upper layer application need to send data, if mobile terminal is in idle condition, at first it need to carry out Signalling exchange with network side, to establish a communications link, after communication connection has been set up, to network side, send the data that upper strata need to send.In the prior art, when mobile terminal determines that upper layer application need to send data, connect with network immediately and send data, when upper layer application requires to send data continually, needing mobile terminal to connect with network equally continually, sending data.Although such processing 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, when upper layer application need to send data, the data that at first the buffer memory upper layer application sends, when meeting default data transmission condition, more together send the data of the upper layer application of buffer memory.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 the control command for server handshaking etc.).
Usually mobile terminal has a plurality of upper layer application, when a plurality of 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 each upper layer application of mode mark such as upper layer application sign to send, when determining that meeting default data sends condition, the data that can each upper layer application need to be sent according to each upper layer application sign send on destination server or target device separately like this.
Alternatively, can control by unified application programming interfaces (Application Programming Interface, API) transmission of each upper layer application data.When upper layer application need to send data, call unified api interface, this api interface distributes upper layer application sign (application identification for each upper layer application, app id), and control each upper layer application of buffer memory data to be sent, when determining that meeting default data sends condition, unified api interface is controlled the data of each upper layer application of buffer memory is together sent.
In embodiments of the present invention, by making radio-frequency module in discontinuous transmission state, reduce the power consumption of radio-frequency module.In mobile terminal, three modules that power consumption is larger are respectively: application processor, lcd screen and radio-frequency module.When the user who uses mobile terminal does not have operating mobile terminal, application processor and lcd screen all can dormancy, but radio-frequency module still opens, and make mobile terminal power consumption larger.Therefore, the power consumption of reduction 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 all continues to open, and works as mobile terminal standby, and while there is no transceiving data, radio-frequency module still continues to open, and the lasting unlatching of radio-frequency module causes larger power consumption.In the embodiment of the present invention, after mobile terminal-opening, the operating state of radio-frequency module comprises: continuous opening and discontinuous opening.When radio-frequency module during in continuous opening, can transceiving data, need consumed power; During in discontinuous opening, close to intermittence radio-frequency module when radio-frequency module, to reduce the power consumption of radio-frequency module, and under discontinuous opening, the gap of closing at radio-frequency module, open radio-frequency module, so that mobile terminal and network side carry out Signalling exchange.During specific implementation, can realize turning on and off between the supply module of radio-frequency module and mobile terminal by hardware or software switch, realize respectively the opening and closing of radio-frequency module.At present, the realization of hardware or software switch has a lot of methods, repeats no more here.
In the embodiment of the present invention, can by certain trigger mechanism, make radio-frequency module enter discontinuous opening.Such as, when the time interval of the last transfer of data of distance is not less than default free time length, make radio-frequency module enter discontinuous opening, the gap of closing at radio-frequency module, open radio-frequency module, so that mobile terminal and network side carry out Signalling exchange.When the signaling according to receiving from network side, determine that in the time of need to carrying out transfer of data, radio-frequency module exits discontinuous opening, enters lasting opening.
Although, can enter discontinuous opening by making radio-frequency module, reduce the power consumption of radio-frequency module, but a plurality of upper stratas require to send data continually, if while requiring to send data each time, all the radio-frequency module in discontinuous opening is transformed into to continuous opening, can increases the power consumption of radio-frequency module, and then increased the power consumption of mobile terminal.Therefore, in the embodiment of the present invention, the data that need to send by the buffer memory upper layer application send when meeting default data transmission condition again, can avoid continually the radio-frequency module in discontinuous opening being transformed into to continuous opening, to reduce the power consumption of radio-frequency module.In addition, when there is a plurality of radio-frequency module in mobile terminal, and when meeting default data transmission condition, during the radio-frequency module of existence in continuous opening, by at least one radio-frequency module in opening, corresponding communication link sends the data of buffer memory, can further reduce the probability that the radio-frequency module in discontinuous opening is transformed into to continuous opening, reduce to a greater degree the overall power consumption of each radio-frequency module.
Preferably, the upper layer application that described upper layer application is the 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 with using accesses network continually, require to send data, the method of using the embodiment of the present invention to provide, can reduce the processing load of network side and mobile terminal side, reduce the power consumption of mobile terminal, can not reduce significantly again 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 surpassing default buffer memory duration;
The quantity of the upper layer application of condition two, buffer memory surpasses 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 meeting under which kind of condition, send the data that the upper layer application of buffer memory need to send.
For condition one, can be when the data that beginning buffer memory upper layer application will send, start a timer, when this timer expiry, be 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 controlled by unified api interface startup and the zero clearing of this timer.
For condition two, can to the quantity of the upper layer application of buffer memory, be counted by unified api interface, when count value surpass default buffer memory upper layer application amount threshold (such as: 3) time, the data of buffer memory are sent.
For condition three, can carry out real-time statistics to the data volume of each upper layer application of buffer memory by unified api interface, when statistical value surpassed default buffer data size threshold value (such as: in the time of 1M bytes), the data of buffer memory are sent.
Alternatively, above-mentioned default buffer memory duration, buffer memory upper layer application amount threshold and default buffer data size threshold value, the its communication ability of communication link that can be corresponding according to each real-time radio-frequency module of acquisition for mobile terminal is determined, such as, when its communication ability of communication link is stronger, be that representation unit time mobile terminal transmission data volume is larger, default buffer memory duration, buffer memory upper layer application amount threshold and default buffer data size threshold value can be adjusted into to larger value; When its communication ability of communication link is weak, representation unit time mobile terminal transmission data volume is less, default buffer memory duration, buffer memory upper layer application amount threshold and default buffer data size threshold value can be adjusted into to less value.In addition, the user who also can be mobile terminal provides the interface that relevant parameter is set, such as, the user of mobile terminal can arrange upper layer application data buffer storage 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; When grade point is set to when middle, corresponding default buffer memory duration, buffer memory upper layer application amount threshold and default buffer data size threshold value are adjusted into less value; When grade point is set to hang down, corresponding default buffer memory duration, buffer memory upper layer application amount threshold and default buffer data size threshold value are adjusted into the minimum value of each parameter, or the 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, unified api interface judges whether the data that the upper layer application of buffer memory will send, if having, sends the data of buffer memory, if nothing, wait for default sense cycle again, repeat top judgement and process of transmitting.Default sense cycle can be 2 minutes, 5 minutes etc.
Preferably, the data that the upper layer application of corresponding communication link transmission buffer memory need to send by least one radio-frequency module in continuous opening comprise:
The radio-frequency module that the data desired data transmission rate that need to send with the upper layer application that sends buffer memory in definite radio-frequency module in continuous opening is complementary;
The data that the upper layer application of corresponding communication link transmission buffer memory need to send by a radio-frequency module in the radio-frequency module of coupling.
In this preferred version, determine that the mode that data desired data transmission rate that radio-frequency module and the upper layer application that sends buffer memory need to send is complementary has a lot.Such as, if the message transmission rate that the communication link that radio-frequency module is corresponding can provide is not less than the data desired data transmission rate that the upper layer application of transmission buffer memory need to send, determine that radio-frequency module and the data desired data transmission rate that the upper layer application that sends buffer memory need to send are complementary.
Perhaps, if the message transmission rate that the communication link that radio-frequency module is corresponding can provide is not less than the product of data desired data transmission rate that the upper layer application that sends buffer memory need to send and default rate matching attribute, determine that radio-frequency module and the data desired data transmission rate that the upper layer application that sends buffer memory need to send are complementary, wherein, this default rate matching attribute is greater than 0 and be not more than 1.
The method that the data desired data transmission rate that the upper layer application of above-mentioned definite radio-frequency module and transmission buffer memory need to send is complementary is applicable to all needs in the embodiment of the present invention and determines the scheme whether radio-frequency module and the upper strata that sends buffer memory should mate in the data desired data transmission rate of needs transmission.
In this preferred version, when having the radio-frequency module of a plurality of couplings, the method of selection radio-frequency module has multiple, such as: therefrom an optional radio-frequency module sends data, or the radio-frequency module of the message transmission rate maximum of selecting corresponding communication link to provide sends data.
Preferably, when meeting default data transmission condition, if the radio-frequency module that the data desired data transmission rate that all radio-frequency modules, all in discontinuous opening, are determined and the upper layer application of transmission buffer memory need to send is complementary;
The radio-frequency module of closing with the shortest cycle of closing in the radio-frequency module of coupling is transformed into to continuous opening;
Be transformed into by this data that upper layer application that communication link that radio-frequency module of continuous opening is corresponding sends buffer memory need to send.
In this programme, in the situation that all radio-frequency modules are all in discontinuous opening, the radio-frequency module of closing with the shortest cycle of closing in the radio-frequency module of coupling is transformed into to continuous opening, communication link corresponding to the radio-frequency module that utilizes this to be transformed into continuous opening sends the data that the upper layer application of buffer memory need to send, and further reduces the overall power consumption of each radio-frequency module of mobile terminal.
When radio-frequency module, in discontinuous opening, and, with under the pent condition of the cycle of closing of fixing, the cycle of closing is longer, and the radio-frequency module power consumption is less.Therefore when meeting default data transmission condition, if all radio-frequency modules are all in discontinuous opening, and the radio-frequency module that the data desired data transmission rate that exists a plurality of upper layer application with sending buffer memory to send is complementary, the radio-frequency module of closing with the shortest cycle of closing in the radio-frequency module of coupling is transformed into to continuous opening, be transformed into by this data that upper layer application that communication link that radio-frequency module of continuous opening is corresponding sends buffer memory need to send, to reduce the overall power of each radio-frequency module.
Below, illustrate the method for the transmission data that the embodiment of the present invention provides by specific embodiment one.
In embodiment mono-, mobile terminal comprises 2 radio-frequency modules, 1 corresponding LTE communication link of radio-frequency module, the corresponding 2/3G communication link of another 1 radio-frequency module.Actual mobile terminal also can comprise 3 and above radio-frequency module, and the corresponding communication standard of each radio-frequency module, such as difference corresponding LTE, 2G, 3G communication link.
In embodiment mono-, 1 the upper layer application app x of take is example, and during specific implementation, unified api interface is the solicited message of a plurality of 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 app x access services device, and preserve relevant solicited message (such as: the service response of the COS of server address, request, the service content of request, expectation etc.), perform step afterwards S202;
S202: judge whether to meet default data send condition (such as: the time of buffer memory upper layer application data is while surpassing default buffer memory duration), if, perform step S203, if not, return to step S201;
S203: judge that whether radio-frequency module that the LTE communication link is corresponding is in discontinuous opening, if perform step S204; Otherwise execution step S206;
S204: send handshake request and judge whether receive the server response in Preset Time by the 2/3G communication link, if, perform step S205, otherwise execution step S207;
S205: unified api interface reception server is issued the response of upper layer application app x, and returns to upper layer application app x;
S206: select communication link according to default communication link selection algorithm, if select the 2/3G communication link, perform step S204, if select the LTE communication link, perform step S207;
S207: send handshake request by the LTE communication link, and judge whether receive the server response in Preset Time, if perform step S205, otherwise return to step S201.
In above-mentioned steps S206, select the strategy of communication link to include but not limited to: at first to judge that whether radio-frequency module that the LTE link is corresponding is in discontinuous opening, if select the 2/3G communication link to send data; Otherwise, according to default communication link selection algorithm select communication link (such as: if radio-frequency module corresponding to 2/3 communication link is in discontinuous opening, and, when the message transmission rate that the radio-frequency module that the LTE link is corresponding can provide is greater than the data desired data transmission rate that the upper layer application that sends buffer memory need to send, select the LTE communication link to send data; If radio-frequency module corresponding to the radio-frequency module that the LTE link is corresponding and 2/3G communication link, all in continuous opening, can select can provide in two kinds of communication links the communication link of larger data transmission rate.
When the result that performs step S207 is not receive the server response in Preset Time, return to step S201, wait for when meeting default data sends condition next time and again send data.
Based on same inventive concept, a kind of mobile terminal also is provided in the embodiment of the present invention, the method of the transmission data that the principle of dealing with problems due to this mobile terminal provides to the embodiment of the present invention is similar, therefore the enforcement of this mobile terminal can, referring to the enforcement of the method that sends 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 mobile terminal comprises:
Sending module 302, for when meeting default data transmission condition, the data that the upper layer application of corresponding communication link transmission buffer memory need to send by least one radio-frequency module in continuous opening.
Preferably, the upper layer application that upper layer application is the 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 surpassing default buffer memory duration;
The quantity of the upper layer application of buffer memory surpasses 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:
The radio-frequency module that the data desired data transmission rate that need to send with the upper layer application that sends buffer memory in definite radio-frequency module in continuous opening is complementary;
The data that the upper layer application of corresponding communication link transmission buffer memory need to send by a radio-frequency module in the radio-frequency module of coupling.
Preferably, sending module also for:
When meeting default data transmission condition, if the radio-frequency module that the data desired data transmission rate that all radio-frequency modules, all in discontinuous opening, are determined and the upper layer application of transmission buffer memory need to send is complementary;
The radio-frequency module of closing with the shortest cycle of closing in the radio-frequency module of coupling is transformed into to continuous opening;
Be transformed into by this data that upper layer application that communication link that radio-frequency module of continuous opening is corresponding sends buffer memory need to send.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt complete hardware implementation example, implement software example or in conjunction with the form of the embodiment of software and hardware aspect fully.And the present invention can adopt the form that wherein includes the upper computer program of implementing of computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) of computer usable program code one or more.
The present invention describes with reference to flow chart and/or the block diagram of method, equipment (system) and computer program according to the embodiment of the present invention.Should understand can be in computer program instructions realization flow figure and/or block diagram each flow process and/or the 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 the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, make the instruction of carrying out by the processor of computer or other programmable data processing device produce for realizing the device in the function of flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, make the instruction be stored in this computer-readable memory produce the manufacture that comprises command device, this command device is realized the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
These computer program instructions also can be loaded on computer or other programmable data processing device, make and carry out the sequence of operations step to produce computer implemented processing on computer or other programmable devices, thereby the instruction of carrying out on computer or other programmable devices is provided for realizing the step of the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
Although described the preferred embodiments of the present invention, once those skilled in the art obtain the basic creative concept of cicada, can make other change and modification to these embodiment.So claims are intended to all changes and the modification that are interpreted as comprising preferred embodiment and fall into the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification and not break away from the spirit and scope of the present invention the present invention.Like this, if within of the present invention these are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention also is intended to comprise these changes and modification interior.
Claims (10)
1. a method that sends data, is characterized in that, comprising:
The data that the buffer memory upper layer application need to send;
When meeting default data transmission condition, the data that the upper layer application of corresponding communication link transmission buffer memory need to send by least one radio-frequency module in continuous opening.
2. the method for claim 1, is characterized in that, the upper layer application that described upper layer application is the background mode operation.
3. the method for claim 1, is characterized in that, described default data transmission condition comprises at least one in following condition:
The time of buffer memory upper layer application data is while surpassing default buffer memory duration;
The quantity of the upper layer application of buffer memory surpasses 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 for claim 1, is characterized in that, the data that the upper layer application of corresponding communication link transmission buffer memory need to send by least one radio-frequency module in continuous opening comprise:
The radio-frequency module that the data desired data transmission rate that need to send with the upper layer application that sends buffer memory in definite radio-frequency module in continuous opening is complementary;
The data that the upper layer application of corresponding communication link transmission buffer memory need to send by a radio-frequency module in the radio-frequency module of coupling.
5. described method as arbitrary as claim 1~4, is characterized in that, the method also comprises:
When meeting default data transmission condition, if the radio-frequency module that the data desired data transmission rate that all radio-frequency modules, all in discontinuous opening, are determined and the upper layer application of transmission buffer memory need to send is complementary;
The radio-frequency module of closing with the shortest cycle of closing in the radio-frequency module of coupling is transformed into to continuous opening;
Be transformed into by this data that upper layer application that communication link that radio-frequency module of continuous opening is corresponding sends buffer memory need to send.
6. a mobile terminal, is characterized in that, comprising:
Cache module, the data that need to send for the buffer memory upper layer application;
Sending module, for when meeting default data transmission condition, the data that the upper layer application of corresponding communication link transmission buffer memory need to send by least one radio-frequency module in continuous opening.
7. mobile terminal as claimed in claim 6, is characterized in that, the upper layer application that described upper layer application is the background mode operation.
8. mobile terminal as claimed in claim 6, is characterized in that, described default data transmission condition comprises at least one in following condition:
The time of buffer memory upper layer application data is while surpassing default buffer memory duration;
The quantity of the upper layer application of buffer memory surpasses 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.
9. mobile terminal as claimed in claim 6, is characterized in that, described sending module specifically for:
The radio-frequency module that the data desired data transmission rate that need to send with the upper layer application that sends buffer memory in definite radio-frequency module in continuous opening is complementary;
The data that the upper layer application of corresponding communication link transmission buffer memory need to send by a radio-frequency module in the radio-frequency module of coupling.
10. described mobile terminal as arbitrary as claim 6~9, is characterized in that, described sending module also for:
When meeting default data transmission condition, if the radio-frequency module that the data desired data transmission rate that all radio-frequency modules, all in discontinuous opening, are determined and the upper layer application of transmission buffer memory need to send is complementary;
The radio-frequency module of closing with the shortest cycle of closing in the radio-frequency module of coupling is transformed into to continuous opening;
Be transformed into by this data that upper layer application that communication link that radio-frequency module of continuous opening is corresponding sends buffer memory need to send.
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 true CN103442415A (en) | 2013-12-11 |
CN103442415B 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) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104572980A (en) * | 2014-12-31 | 2015-04-29 | 北京奇虎科技有限公司 | Data processing method and device |
CN106162834A (en) * | 2015-03-23 | 2016-11-23 | 联想(北京)有限公司 | A kind of data transmission method for uplink and electronic equipment |
CN106658686A (en) * | 2016-12-30 | 2017-05-10 | 广东欧珀移动通信有限公司 | Data forwarding method and access device |
CN106817305A (en) * | 2016-12-30 | 2017-06-09 | 广东欧珀移动通信有限公司 | A kind of transmission control method, and access device |
CN106851737A (en) * | 2016-12-30 | 2017-06-13 | 广东欧珀移动通信有限公司 | A kind of method for sending upstream data, and terminal device |
CN110012521A (en) * | 2018-01-05 | 2019-07-12 | 中国移动通信有限公司研究院 | A kind of scheduling request transmission method, device and computer readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040266493A1 (en) * | 2003-06-30 | 2004-12-30 | Microsoft Corporation | Energy-aware communications for a multi-radio system |
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 |
-
2013
- 2013-08-23 CN CN201310373586.1A patent/CN103442415B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040266493A1 (en) * | 2003-06-30 | 2004-12-30 | Microsoft Corporation | Energy-aware communications for a multi-radio system |
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 |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104572980A (en) * | 2014-12-31 | 2015-04-29 | 北京奇虎科技有限公司 | Data processing method and device |
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 |
CN106658686A (en) * | 2016-12-30 | 2017-05-10 | 广东欧珀移动通信有限公司 | Data forwarding method and access device |
CN106817305A (en) * | 2016-12-30 | 2017-06-09 | 广东欧珀移动通信有限公司 | A kind of transmission control method, and access device |
CN106851737A (en) * | 2016-12-30 | 2017-06-13 | 广东欧珀移动通信有限公司 | A kind of method for sending upstream data, and terminal device |
CN106658686B (en) * | 2016-12-30 | 2020-01-14 | Oppo广东移动通信有限公司 | Data forwarding method and access device |
CN106851737B (en) * | 2016-12-30 | 2020-01-14 | Oppo广东移动通信有限公司 | Method for sending uplink data and terminal equipment |
CN110012521A (en) * | 2018-01-05 | 2019-07-12 | 中国移动通信有限公司研究院 | A kind of scheduling request transmission method, device and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN103442415B (en) | 2016-06-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103442415A (en) | Data sending method and mobile terminal | |
EP2871809B1 (en) | Message processing method, device and system for internet of things | |
US8112475B2 (en) | Managing data delivery based on device state | |
US10455509B2 (en) | Energy efficient data handling for mobile devices | |
CN105306681A (en) | Management method and device supporting multiple SIM cards to share RF processor | |
CN102857999A (en) | Multimode terminal and service implementation method for multimode terminal | |
CN108419281A (en) | A kind of method for switching network, device and communication terminal | |
CN102014021A (en) | Method and device for controlling connection/disconnection of data link | |
CN109246815B (en) | Communication method, paging method and device, storage medium, terminal, and base station | |
CN101621833A (en) | Message flux control method and base station controller | |
CN108770050B (en) | Control method and device for carrier aggregation function | |
CN110493855A (en) | Communication mode control method, device, storage medium and terminal | |
CN103376875A (en) | Information processing method and electronic device | |
CN106034320A (en) | Virtual SIM card switching method and apparatus | |
CN103442416A (en) | Data transmission method and device | |
CN105764127A (en) | Method for sending data, and mobile terminal | |
CN106211346A (en) | Merge the application data activity from multiple application | |
CN102740281B (en) | Data transmission method for uplink, communication equipment and communication system | |
CN102858031A (en) | Method for providing content services by wireless access point | |
CN103634757A (en) | Short message group sending method and mobile terminal | |
CN217216573U (en) | Multi-mode group communication system | |
CN113271648B (en) | USIM management method, USIM and user terminal | |
WO2024027681A1 (en) | Ue capability control method and apparatus, terminal, and network side device | |
CN107911356A (en) | A kind of smart machine finds method, apparatus, control terminal and system | |
WO2023207947A1 (en) | Cell reconfiguration method, apparatus, terminal, and network side device |
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 |