CN105764127B - A kind of method sending data and a kind of mobile terminal - Google Patents
A kind of method sending data and a kind of mobile terminal Download PDFInfo
- Publication number
- CN105764127B CN105764127B CN201610248034.1A CN201610248034A CN105764127B CN 105764127 B CN105764127 B CN 105764127B CN 201610248034 A CN201610248034 A CN 201610248034A CN 105764127 B CN105764127 B CN 105764127B
- Authority
- CN
- China
- Prior art keywords
- data
- upper layer
- caching
- layer application
- radio
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 36
- 238000004891 communication Methods 0.000 claims abstract description 65
- 230000005540 biological transmission Effects 0.000 claims abstract description 51
- 238000012545 processing Methods 0.000 abstract description 14
- 238000010295 mobile communication Methods 0.000 abstract description 5
- 238000010586 diagram Methods 0.000 description 8
- 238000004590 computer program Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 6
- 230000004048 modification Effects 0.000 description 5
- 238000012986 modification Methods 0.000 description 5
- 230000011664 signaling Effects 0.000 description 5
- 230000008569 process Effects 0.000 description 4
- 238000001514 detection method Methods 0.000 description 3
- 230000007774 longterm Effects 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 238000004422 calculation algorithm Methods 0.000 description 2
- 238000000151 deposition Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000003860 storage Methods 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 230000002045 lasting effect 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
- 238000009304 pastoral farming Methods 0.000 description 1
- 230000000149 penetrating effect Effects 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0225—Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
-
- 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
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The present invention relates to mobile communication field more particularly to a kind of method for sending data and a kind of mobile terminals.Network and mobile terminal processing load are aggravated to solve the problem of that the application program of mobile terminal in existing way frequently accesses network under running background mode.The method provided in an embodiment of the present invention for sending data includes: the data deposited upper layer application and need to send;When meeting preset data transmission condition, the data that the upper layer application of caching needs to send are sent by the corresponding communication link of at least one radio-frequency module in the state that continuously opens.In this method, the data for needing to send by caching upper layer application retransmit the data of caching when meeting preset data and sending condition, avoid mobile terminal and frequently access network, alleviate the processing load of network and mobile terminal.
Description
The application is in a kind of a kind of on August 23rd, 2013 entitled " transmission data and the mobile terminals " proposed
The divisional application of state's application for a patent for invention 201310373586.1.
Technical field
The present invention relates to mobile communication field more particularly to a kind of method for sending data and a kind of mobile terminals.
Background technique
With the development of mobile communication technology, mobile terminal is via original single call function to speech, data, figure
Picture, music and multimedia direction are comprehensive to be developed.The application program run on mobile terminal is also increasingly enriched, including such as micro-
The application program of letter.The characteristics of this class method is that, when user uses such application program, application program interacts number with network side
According to;And when user stops using such application program, application program enters the mode of running background, at this point, movement can be triggered
Terminal periodic accesses network, and server corresponding with the application program carries out the operation such as shake hands.
Such application program frequently accesses network under running background mode, and access requires mobile terminal and net each time
The mutual signaling of network top-cross establishes connection, has aggravated the processing load of network and mobile terminal significantly in this way.
Summary of the invention
The embodiment of the present invention provides a kind of method for sending data and a kind of mobile terminal, moves in existing way to solve
The application program of dynamic terminal frequently accesses network under running background mode, aggravates network and mobile terminal handles asking for load
Topic.
The embodiment of the present invention provides a kind of method for sending data, comprising:
The data that caching upper layer application needs to send;
It is corresponding by least one radio-frequency module in the state that continuously opens when meeting preset data transmission condition
Communication link send the upper layer application of caching and need the data that send.
In the present solution, the data for needing to send by caching upper layer application, again when meeting preset data and sending condition
The data for sending caching, avoid mobile terminal and frequently access network, alleviate the processing load of network and mobile terminal;Pass through
The corresponding communication link of at least one radio-frequency module in the state that continuously opens sends the data of caching, avoids to be in non-
The radio-frequency module for continuously opening state is transformed into the state of continuously opening, and the overall power for reducing each radio-frequency module of mobile terminal disappears
Consumption.
Preferably, the upper layer application is the upper layer application of background mode operation.
In the present solution, solving such upper layer application for the upper layer application of background mode operation and frequently being sent out to network side
Network caused by data and mobile terminal is sent to handle the problem of load weight.
Preferably, it includes at least one of following condition that the preset data, which send condition:
When caching the time of upper layer application data more than preset caching duration;
The quantity of the upper layer application of caching is more than preset caching upper layer application amount threshold;
The data volume summation of the upper layer application of caching is greater than preset buffer data size threshold value.
It is defined, is specified under the conditions of which kind of meets in the present solution, sending condition to preset data, sent slow
The upper layer application deposited needs the data sent.
Preferably, sending caching by the corresponding communication link of at least one radio-frequency module in the state that continuously opens
Upper layer application needs the data sent, comprising:
Determine the data institute for needing to send with the upper layer application for sending caching in the radio-frequency module in the state that continuously opens
Need the radio-frequency module that message transmission rate matches;
It is needed by the upper layer application that the corresponding communication link of a radio-frequency module in matched radio-frequency module sends caching
The data to be sent.
In the present solution, need to send by being in the upper layer application for continuously opening and caching in status radio frequency module with transmission
The radio-frequency module that message transmission rate needed for data matches sends the data of caching, to guarantee that data are transmitted.
Preferably, when meeting preset data transmission condition, if all radio-frequency modules are in discontinuous open state,
Determine the radio-frequency module that message transmission rate needed for needing the data sent with the upper layer application for sending caching matches;
The state of continuously opening will be transformed into the radio-frequency module that the shortest closing period closes in matched radio-frequency module;
It is needed by the upper layer application that the corresponding communication link of the radio-frequency module for being transformed into the state of continuously opening sends caching
The data to be sent.
In the present solution, in the case where all radio-frequency modules are in discontinuous open state, by matched radio-frequency module
In with it is shortest closing the period close radio-frequency module be transformed into the state of continuously opening, be transformed into the state of continuously opening using this
The corresponding communication link of radio-frequency module sends the data that the upper layer application of caching needs to send, and is further reduced mobile terminal and respectively penetrates
The overall power consumption of frequency module.
The embodiment of the invention also provides a kind of mobile terminal, which includes:
Cache module, the data for needing to send for caching upper layer application;
Sending module, for continuously opening at least the one of state by being in when meeting preset data transmission condition
The corresponding communication link of a radio-frequency module sends the data that the upper layer application of caching needs to send.
In the present solution, the data for needing to send by caching upper layer application, again when meeting preset data and sending condition
The data for sending caching, avoid mobile terminal and frequently access network, alleviate the processing load of network and mobile terminal;Pass through
The corresponding communication link of at least one radio-frequency module in the state that continuously opens sends the data of caching, avoids to be in non-
The radio-frequency module for continuously opening state is transformed into the state of continuously opening, and the overall power for reducing each radio-frequency module of mobile terminal disappears
Consumption.
Preferably, the upper layer application is the upper layer application of background mode operation.
In the present solution, solving such upper layer application for the upper layer application of background mode operation and frequently being sent out to network side
Network caused by data and mobile terminal is sent to handle the problem of load weight.
Preferably, it includes at least one of following condition that the preset data, which send condition:
When caching the time of upper layer application data more than preset caching duration;
The quantity of the upper layer application of caching is more than preset caching upper layer application amount threshold;
The data volume summation of the upper layer application of caching is greater than preset buffer data size threshold value.
It is defined, is specified under the conditions of which kind of meets in the present solution, sending condition to preset data, sent slow
The upper layer application deposited needs the data sent.
Preferably, the sending module is specifically used for:
Determine the data institute for needing to send with the upper layer application for sending caching in the radio-frequency module in the state that continuously opens
Need the radio-frequency module that message transmission rate matches;
It is needed by the upper layer application that the corresponding communication link of a radio-frequency module in matched radio-frequency module sends caching
The data to be sent.
In the present solution, need to send by being in the upper layer application for continuously opening and caching in status radio frequency module with transmission
The radio-frequency module that message transmission rate needed for data matches sends the data of caching, to guarantee that data are transmitted.
Preferably, the sending module is also used to:
When meeting preset data and sending condition, if all radio-frequency modules are in discontinuous open state, determine with
Send the radio-frequency module that message transmission rate needed for the upper layer application cached needs the data sent matches;
The state of continuously opening will be transformed into the radio-frequency module that the shortest closing period closes in matched radio-frequency module;
It is needed by the upper layer application that the corresponding communication link of the radio-frequency module for being transformed into the state of continuously opening sends caching
The data to be sent.
In the present solution, in the case where all radio-frequency modules are in discontinuous open state, by matched radio-frequency module
In with it is shortest closing the period close radio-frequency module be transformed into the state of continuously opening, be transformed into the state of continuously opening using this
The corresponding communication link of radio-frequency module sends the data that the upper layer application of caching needs to send, and is further reduced mobile terminal and respectively penetrates
The overall power consumption of frequency module.
Detailed description of the invention
Fig. 1 is the method process schematic provided in an embodiment of the present invention for sending data;
Fig. 2 is the flow chart of the transmission data method of the embodiment of the present invention one;
Fig. 3 is the structural schematic diagram of mobile terminal provided in an embodiment of the present invention.
Specific embodiment
The embodiment of the present invention provides a kind of method for sending data and a kind of mobile terminal.Provided in an embodiment of the present invention
In method, the data that upper layer application needs to send are cached;When meeting preset data transmission condition, continuously opened by being in
The corresponding communication link of at least one radio-frequency module of state sends the data that the upper layer application of caching needs to send.Pass through caching
Upper layer application needs the data sent, and the data of caching are retransmited when meeting preset data and sending condition, avoid movement
Terminal frequently accesses network, alleviates the processing load of network and mobile terminal;At least the one of state is continuously opened by being in
The corresponding communication link of a radio-frequency module sends the data of caching, avoids turning the radio-frequency module in discontinuous open state
The state of continuously opening is changed to, the overall power consumption of each radio-frequency module of mobile terminal is reduced.
In the embodiment of the present invention, mobile terminal may include one or more radio-frequency modules, and each radio-frequency module is one corresponding
Communication link.Wherein, the standard of the corresponding communication link of radio-frequency module includes but is not limited to: global system for mobile communications
(Global System of Mobile communication, GSM), CDMA (Code Division Multiple
Access, CDMA) IS-95,2000, time division synchronous CDMA (Code Division Multiple Access, CDMA)
CDMA (Time Division-Synchronous Code Division Multiple Access, TD-SCDMA), width
Band CDMA (Wideband Code Division Multiple Access, WCDMA), time division duplex-long term evolution
(Time Division Duplexing- Long Term Evolution, TDD LTE), frequency division duplex-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..
Fig. 1 is the method process schematic provided in an embodiment of the present invention for sending data.As shown in Figure 1, this method includes
Following steps:
S101: the data that caching upper layer application needs to send;
S102: when meeting preset data transmission condition, pass through at least one radio frequency mould in the state that continuously opens
The corresponding communication link of block sends the data that the upper layer application of caching needs to send.
In the prior art, it when upper layer application needs to send data, if mobile terminal is in idle condition, needs first
Signalling exchange is carried out with network side, to establish communication connection, after the completion of communicating to connect foundation, sending upper layer to network side is needed
The data to be sent.In the prior art, it when mobile terminal determines that upper layer application needs to send data, is established immediately with network
Connect and send data, when upper layer application continually require send data when, then need mobile terminal equally frequently with network
Connection is established, data are sent.Although such processing mode can be realized instant messaging, but cause network side and mobile terminal
Processing load aggravate.
In the embodiment of the present invention, when upper layer application needs to send data, the data that upper layer application is sent are cached first,
When meeting preset data transmission condition, then the data of the upper layer application of caching are sent together.It avoids to move in this way
The dynamic frequent region network of terminal establishes connection, sends data.
In the embodiment of the present invention, data include but is not limited to business datum, control command that upper layer application is sent (for example use
In the control command etc. with server handshaking).
Usual mobile terminal has multiple upper layer applications, when multiple upper layer applications are respectively necessary for sending data, can also adopt
With method provided in an embodiment of the present invention, the data that these upper layer applications need to send are cached respectively, and are answered by distributing upper layer
The data for marking each upper layer application to be sent with modes such as marks, in this way when determining that meeting preset data sends condition, i.e.,
Can be identified according to each upper layer application needs the data sent to be sent to respective destination server or target each upper layer application
In equipment.
Optionally, unified application programming interfaces (Application Programming Interface, API) can be passed through
Control the transmission of each upper layer application data.When upper layer application needs to send data, unified api interface is called, the api interface
Upper layer application is distributed for each upper layer application and identifies (application identification, app id), and it is each to control caching
Upper layer application data to be sent, when determining that meeting preset data sends condition, unified API Interface Controller is by each of caching
The data of upper layer application are sent together.
In embodiments of the present invention, by making radio-frequency module be in discontinuous transmission state, to reduce the function of radio-frequency module
Rate consumption.In the terminal, biggish three modules of power consumption are respectively as follows: application processor, LCD screen and radio frequency mould
Block.When not operating mobile terminal using the user of mobile terminal, application processor and LCD screen all can suspend mode, but radio frequency
Module is still opened, so that mobile terminal power consumption is larger.Therefore, the power consumption for reducing radio-frequency module becomes reduction mobile phone power and disappears
One important means of consumption.
In existing mobile terminal solution, after mobile terminal-opening, each radio-frequency module of mobile terminal is persistently opened,
Work as mobile terminal standby, when not having sending and receiving data, radio-frequency module is still persistently opened, and the lasting unlatching of radio-frequency module causes biggish
Power consumption.In the embodiment of the present invention, after mobile terminal-opening, the working condition of radio-frequency module includes: to continuously open state
With discontinuous open state.When radio-frequency module be in continuously open state when, can sending and receiving data, need to consume power;When penetrating
When frequency module is in discontinuous open state, radio-frequency module is closed to intermittence, to reduce the power consumption of radio-frequency module, and
Under discontinuous open state, in the gap that radio-frequency module is closed, radio-frequency module is opened, so that mobile terminal and network side carry out
Signalling exchange.When specific implementation, can be realized by hardware or software switch radio-frequency module and mobile terminal power supply module it
Between turn on and off, respectively realize radio-frequency module opening and closing.Currently, the realization of hardware or software switch has many sides
Method, which is not described herein again.
In the embodiment of the present invention, radio-frequency module can be made to enter discontinuous open state by certain trigger mechanism.For example,
When the time interval of the last data transmission of distance is not less than preset free time length, radio-frequency module is made to enter discontinuous unlatching
State opens radio-frequency module in the gap that radio-frequency module is closed, so that mobile terminal and network side carry out Signalling exchange.Work as root
According to from the received signaling of network side, determines that then radio-frequency module exits discontinuous open state when needing to carry out data transmission, enter
Continue open state.
Although can be more to reduce the power consumption of radio-frequency module by making radio-frequency module enter discontinuous open state
A upper layer continually requires to send data, if require to send data each time, will all be in the radio frequency of discontinuous open state
Module is transformed into the state of continuously opening, then will increase the power consumption of radio-frequency module, and then the power for increasing mobile terminal disappears
Consumption.Therefore, in the embodiment of the present invention, the data for needing to send by caching upper layer application send item meeting preset data
It is retransmited when part, can avoid that the radio-frequency module in discontinuous open state is continually transformed into the state of continuously opening, with drop
The power consumption of grazing shot frequency module.In addition, when mobile terminal is there are when multiple radio-frequency modules, and meeting preset data hair
When sending condition, when there is the radio-frequency module in the state that continuously opens, pass through at least one radio-frequency module in the open state
Corresponding communication link sends the data of caching, can further decrease and be transformed into the radio-frequency module in discontinuous open state
The probability of state is continuously opened, reduces the overall power consumption of each radio-frequency module to a greater degree.
Preferably, the upper layer application is the upper layer application of background mode operation.
Generally, the upper layer application of background mode operation is of less demanding to the instantaneity of communication, if such upper layer is used with frequent
Ground accesses network, it is desirable that sends data, then uses method provided in an embodiment of the present invention, can reduce network side and mobile terminal
The processing load of side reduces the power consumption of mobile terminal, and will not significantly reduce the quality of service of mobile terminal.
Preferably, it includes at least one of following condition that preset data, which send condition:
When condition one, the time for caching upper layer application data are more than preset caching duration;
Condition two, the quantity of the upper layer application of caching are more than preset caching upper layer application amount threshold;
Condition three, the data volume summation of the upper layer application of caching are greater than preset buffer data size threshold value.
It is defined, is specified under the conditions of which kind of meets in the present solution, sending condition to preset data, sent slow
The upper layer application deposited needs the data sent.
For condition one, a timer can be started when starting to cache the upper layer application data to be sent, when the timing
When device time-out, i.e., timer timing duration has reached preset caching duration (such as: 1 minute), and buffered upper layer is answered
With needing the data sent to send, it is simultaneously stopped the timing of the timer, optionally, timer is reset.Preferably, can be by
The starting and clearing of the unified API Interface Controller timer.
For condition two, can be counted by quantity of the unified API interface to the upper layer application of caching, when count value is more than
Preset caching upper layer application amount threshold (such as: 3) when, the data of caching are sent.
For condition three, real-time statistics can be carried out by data volume of the unified API interface to each upper layer application of caching, work as system
Evaluation be more than preset buffer data size threshold value (such as: when 1M bytes), the data of caching are sent.
Optionally, above-mentioned preset caching duration, caching upper layer application amount threshold and preset buffer data size threshold
Value, can depending on the communication ability of the corresponding communication link of real-time each radio-frequency module of acquisition for mobile terminal, for example,
When the communication ability of communication link is stronger, i.e., expression unit time mobile terminal transmission data volume is larger, then can will preset
Caching duration, caching upper layer application amount threshold and preset buffer data size adjusting thresholds be biggish value;Work as communication
When the communication ability of link is weaker, i.e., expression unit time mobile terminal transmission data volume is smaller, then preset can will delay
Depositing duration, caching upper layer application amount threshold and preset buffer data size adjusting thresholds is lesser value.In addition, can also be
The user of mobile terminal provides the interface of setting relevant parameter, for example, the settable upper layer application data of the user of mobile terminal are slow
Deposit grade: it is high, medium and low, for example, when grade point is set as high, corresponding preset caching duration, caching upper layer application quantity
Threshold value and preset buffer data size adjusting thresholds are biggish value;It is corresponding preset slow when grade point is set as middle
Depositing duration, caching upper layer application amount threshold and preset buffer data size adjusting thresholds is lesser value;When grade point is set
When being set to low, corresponding preset caching duration, caching upper layer application amount threshold and preset buffer data size threshold value tune
Whole minimum value or forbidden moves terminal for each parameter realizes the function of caching upper layer application data.
It may also include in addition, preset data send condition, every preset detection cycle, the judgement of unified API interface is
The no upper layer application for the having caching data to be sent, if so, the data of caching are then sent, if nothing, then wait preset detection
Period repeats judgement and transmission process above.Preset detection cycle can be 2 minutes, 5 minutes etc..
Preferably, caching is sent by the corresponding communication link of at least one radio-frequency module in the state that continuously opens
Upper layer application needs the data sent, comprising:
Determine the data institute for needing to send with the upper layer application for sending caching in the radio-frequency module in the state that continuously opens
Need the radio-frequency module that message transmission rate matches;
It is needed by the upper layer application that the corresponding communication link of a radio-frequency module in matched radio-frequency module sends caching
The data to be sent.
In this preferred embodiment, radio-frequency module is determined and sends the data that the upper layer application cached needs to send that required data pass
The mode that defeated rate matches has very much.For example, if the message transmission rate that the corresponding communication link of radio-frequency module is capable of providing
Message transmission rate needed for the data for needing to send not less than the upper layer application for sending caching, it is determined that radio-frequency module and transmission are slow
Message transmission rate needed for the upper layer application deposited needs the data sent matches.
Alternatively, if the message transmission rate that the corresponding communication link of radio-frequency module can provide is not less than the upper layer for sending caching
Using the product of message transmission rate and preset rate matching attribute needed for needing the data that send, it is determined that radio-frequency module and
It sends message transmission rate needed for the upper layer application cached needs the data sent to match, wherein the preset rate-matched
The factor is greater than 0 and is not more than 1.
Message transmission rate phase needed for the data that above-mentioned determining radio-frequency module needs to send with the upper layer application for sending caching
Matched method is all suitable for the embodiment of the present invention it needs to be determined that radio-frequency module should be in needing to send out with the upper layer for sending caching
The whether matched scheme of message transmission rate needed for the data sent.
In this preferred embodiment, when there are multiple matched radio-frequency modules, select radio-frequency module there are many ways to, than
Such as: therefrom can send data, or the data transmission that the corresponding communication link of selection is capable of providing by an optional radio-frequency module
The maximum radio-frequency module of rate sends data.
Preferably, when meeting preset data transmission condition, if all radio-frequency modules are in discontinuous open state,
Determine the radio-frequency module that message transmission rate needed for needing the data sent with the upper layer application for sending caching matches;
The state of continuously opening will be transformed into the radio-frequency module that the shortest closing period closes in matched radio-frequency module;
It is needed by the upper layer application that the corresponding communication link of the radio-frequency module for being transformed into the state of continuously opening sends caching
The data to be sent.
In the present solution, in the case where all radio-frequency modules are in discontinuous open state, by matched radio-frequency module
In with it is shortest closing the period close radio-frequency module be transformed into the state of continuously opening, be transformed into the state of continuously opening using this
The corresponding communication link of radio-frequency module sends the data that the upper layer application of caching needs to send, and is further reduced mobile terminal and respectively penetrates
The overall power consumption of frequency module.
When radio-frequency module is in discontinuous open state, and with the fixed closing period it is pent under the conditions of, close
Period is longer, then radio-frequency module power consumption is smaller.Therefore when meeting preset data transmission condition, if all radio-frequency modules
It is in discontinuous open state, and there are data needed for multiple data for needing to send with upper layer application that is sending caching to pass
The radio-frequency module that defeated rate matches will then be converted in matched radio-frequency module with the radio-frequency module that the shortest closing period closes
To state is continuously opened, the upper layer of caching is sent by the corresponding communication link of the radio-frequency module for being transformed into the state of continuously opening
Using the data that needs are sent, to reduce the overall power of each radio-frequency module.
In the following, the method for illustrating the present invention the transmission data of embodiment offer by specific embodiment one.
In example 1, mobile terminal includes 2 radio-frequency modules, and 1 radio-frequency module corresponds to LTE communication link, and another 1
Radio-frequency module corresponds to 2/3G communication link.Actual mobile terminal may also comprise 3 or more radio-frequency modules, each radio frequency mould
Block corresponds to a communication standard, for example respectively corresponds LTE, 2G, 3G communication link.
In embodiment one, by taking 1 upper layer application app x as an example, when specific implementation, unified API interface can cache more simultaneously
The solicited message of a upper layer application.
As shown in Fig. 2, the method for the transmission data of embodiment one includes the following steps:
The request of S201: unified API interface upper layer application app x access server, and save relevant request letter
Breath (such as: server address, the service type of request, the service content of request, desired service response etc.), step is executed later
Rapid S202;
S202: judge whether to meet preset data send condition (such as: the time of caching upper layer application data is more than pre-
If caching duration when), if so, S203 is thened follow the steps, if it is not, then return step S201;
S203: judging whether the corresponding radio-frequency module of LTE communication link is in discontinuous open state, if so, executing
Step S204;It is no to then follow the steps S206;
S204: sending handshake request by 2/3G communication link and judges that whether receiving server within a preset time rings
It answers, if so, S205 is thened follow the steps, it is no to then follow the steps S207;
S205: unified API interface server issues the response of upper layer application app x, and returns to upper layer application app
x;
S206: selecting communication link according to preset communication link selection algorithm, if selection 2/3G communication link, executes
Step S204, if selection LTE communication link, thens follow the steps S207;
S207: sending handshake request by LTE communication link, and judges that whether receiving server within a preset time rings
It answers, if so, then follow the steps S205, otherwise return step S201.
In above-mentioned steps S206, the strategy of communication link is selected to may include but be not limited to: first determining whether that LTE link pair is answered
Radio-frequency module whether be in discontinuous open state, if so, selection 2/3G communication link send data;Otherwise, according to pre-
If communication link selection algorithm selection communication link (such as: discontinuous opened if the corresponding radio-frequency module of 2/3 communication link is in
State is opened, and the message transmission rate that the corresponding radio-frequency module of LTE link is capable of providing is needed greater than the upper layer application for sending caching
When message transmission rate needed for the data to be sent, LTE communication link is selected to send data;If the corresponding radio frequency mould of LTE link
Block and the corresponding radio-frequency module of 2/3G communication link are in the state of continuously opening, may be selected two kinds of communication links in can provide compared with
The communication link of big data transmission rate.
When executing step S207's the result is that do not receive server response within a preset time, then return step S201, etc.
Data are sent again when meeting preset data next time and sending condition.
Based on the same inventive concept, a kind of mobile terminal is additionally provided in the embodiment of the present invention, due to the mobile terminal solution
Certainly the principle of problem is similar to the transmission method of data provided in an embodiment of the present invention, therefore the implementation of the mobile terminal can be joined
See the implementation for sending the method for data, overlaps will not be repeated.
Fig. 3 is the structural schematic diagram of mobile terminal provided in an embodiment of the present invention.As shown in figure 3, the mobile terminal includes:
Cache module 301, the data for needing to send for caching upper layer application;
Sending module 302, for continuously opening state at least by being in when meeting preset data transmission condition
The corresponding communication link of one radio-frequency module sends the data that the upper layer application of caching needs to send.
Preferably, upper layer application is the upper layer application of background mode operation.
Preferably, it includes at least one of following condition that preset data, which send condition:
When caching the time of upper layer application data more than preset caching duration;
The quantity of the upper layer application of caching is more than preset caching upper layer application amount threshold;
The data volume summation of the upper layer application of caching is greater than preset buffer data size threshold value.
Preferably, sending module is specifically used for:
Determine the data institute for needing to send with the upper layer application for sending caching in the radio-frequency module in the state that continuously opens
Need the radio-frequency module that message transmission rate matches;
It is needed by the upper layer application that the corresponding communication link of a radio-frequency module in matched radio-frequency module sends caching
The data to be sent.
Preferably, sending module is also used to:
When meeting preset data and sending condition, if all radio-frequency modules are in discontinuous open state, determine with
Send the radio-frequency module that message transmission rate needed for the upper layer application cached needs the data sent matches;
The state of continuously opening will be transformed into the radio-frequency module that the shortest closing period closes in matched radio-frequency module;
It is needed by the upper layer application that the corresponding communication link of the radio-frequency module for being transformed into the state of continuously opening sends caching
The data to be sent.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (10)
1. a kind of method for sending data characterized by comprising
The data that caching upper layer application needs to send;
When meeting preset data transmission condition, judge whether the corresponding radio-frequency module of LTE communication link is in discontinuous and opens
Open state;
If so, the data for needing to send by the upper layer application that 2/3G communication link sends caching.
2. the method as described in claim 1, which is characterized in that further include:
If it is not, determining the data institute for needing to send with the upper layer application for sending caching in the radio-frequency module in the state that continuously opens
Need the radio-frequency module that message transmission rate matches;
The data for needing to send by the upper layer application that the corresponding communication link of matched radio-frequency module sends caching.
3. the method as described in claim 1, which is characterized in that
The upper layer application is the upper layer application of background mode operation.
4. the method as described in claim 1, which is characterized in that it includes in following condition that the preset data, which send condition,
At least one:
When caching the time of upper layer application data more than preset caching duration;
The quantity of the upper layer application of caching is more than preset caching upper layer application amount threshold;
The data volume summation of the upper layer application of caching is greater than preset buffer data size threshold value.
5. the method as described in claim 1, which is characterized in that this method further include:
If it is not, the data for needing to send by the upper layer application that the corresponding communication link of LTE radio frequency module sends caching.
6. a kind of mobile terminal characterized by comprising
Cache module, the data for needing to send for caching upper layer application;
Sending module, for whether judging the corresponding radio-frequency module of LTE communication link when meeting preset data transmission condition
In discontinuous open state;If so, the data for needing to send by the upper layer application that 2/3G communication link sends caching.
7. mobile terminal as claimed in claim 6, which is characterized in that the sending module is also used to:
If it is not, determining the data institute for needing to send with the upper layer application for sending caching in the radio-frequency module in the state that continuously opens
Need the radio-frequency module that message transmission rate matches;The upper layer of caching is sent by the corresponding communication link of matched radio-frequency module
The data sent using needs.
8. mobile terminal as claimed in claim 6, which is characterized in that the upper layer application is that the upper layer of background mode operation is answered
With.
9. mobile terminal as claimed in claim 6, which is characterized in that it includes following condition that the preset data, which send condition,
At least one of:
When caching the time of upper layer application data more than preset caching duration;
The quantity of the upper layer application of caching is more than preset caching upper layer application amount threshold;
The data volume summation of the upper layer application of caching is greater than preset buffer data size threshold value.
10. mobile terminal as claimed in claim 6, which is characterized in that the sending module is also used to:
If it is not, the data for needing to send by the upper layer application that the corresponding communication link of LTE radio frequency module sends caching.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
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 (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 |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310373586.1A Division CN103442415B (en) | 2013-08-23 | 2013-08-23 | A kind of method and a kind of mobile terminal that sends data |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105764127A CN105764127A (en) | 2016-07-13 |
CN105764127B true CN105764127B (en) | 2019-08-02 |
Family
ID=56325371
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610248034.1A Active CN105764127B (en) | 2013-08-23 | 2013-08-23 | A kind of method sending data and a kind of mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105764127B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107242851A (en) * | 2017-05-22 | 2017-10-13 | 上海青橙实业有限公司 | physiological monitoring method and device |
CN107242852A (en) * | 2017-05-22 | 2017-10-13 | 上海青橙实业有限公司 | Control method and device based on physiological characteristic data |
CN109640384A (en) * | 2019-02-01 | 2019-04-16 | 维沃移动通信有限公司 | A kind of data processing method, device and mobile terminal |
CN113295900A (en) * | 2021-05-26 | 2021-08-24 | 华北电力大学 | Cloud digital storage oscilloscope system based on 5G technology and measurement method |
Citations (2)
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 |
CN103095330A (en) * | 2011-10-28 | 2013-05-08 | 美国博通公司 | Dual mode local area network transceiver and methods for use therewith |
Family Cites Families (3)
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 |
CN101489251B (en) * | 2008-01-16 | 2012-09-05 | 电信科学技术研究院 | Receiving method and apparatus |
CN101621851B (en) * | 2009-08-12 | 2012-06-20 | 中兴通讯股份有限公司 | Local exchange method and device for base station subsystem |
-
2013
- 2013-08-23 CN CN201610248034.1A patent/CN105764127B/en active Active
Patent Citations (2)
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 |
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 |
---|---|
CN105764127A (en) | 2016-07-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105488837B (en) | Real-time off screen rendering method based on cloud computing, apparatus and system | |
CN105764127B (en) | A kind of method sending data and a kind of mobile terminal | |
CN104054369B (en) | Framework based on equipment for self-organizing network | |
CN103583074B (en) | A kind of dispatching method and device | |
Bui et al. | Greenbag: Energy-efficient bandwidth aggregation for real-time streaming in heterogeneous mobile wireless networks | |
CN110266744A (en) | Location-based edge cloud resource dispatching method and system | |
CN103442415B (en) | A kind of method and a kind of mobile terminal that sends data | |
CN106211289B (en) | A kind of method and device of data transmission | |
CN104486138A (en) | Flow monitoring method and device and monitoring server | |
CN105763478A (en) | Token bucket algorithm-based satellite data ground transmission network flow control system | |
CN104202373A (en) | Method and system for migrating mobile cloud computing | |
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 | |
US10278129B2 (en) | Mobile device power control | |
WO2012151936A1 (en) | Method and gateway for adjusting webpage contents | |
CN110493855A (en) | Communication mode control method, device, storage medium and terminal | |
CN109710330A (en) | Method for determining operation parameters, device, terminal and the storage medium of application program | |
Hosseini et al. | Energy-budget-compliant adaptive 3D texture streaming in mobile games | |
CN107430496A (en) | Frame is abandoned for long-range display | |
CN108370353A (en) | It is increased network utilization using network assistance agreement | |
CN103856558A (en) | Data processing method and device for terminal application | |
CN102158833A (en) | Method for transmitting short message service (SMS) and SMS gateway | |
CN114466365B (en) | Spectrum resource acquisition method, spectrum resource acquisition device and computer readable storage medium | |
CN111327864A (en) | Video call control method and device, terminal equipment and storage medium | |
CN105786479B (en) | A kind of synthesis EMS memory management process and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11 Patentee after: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY Co.,Ltd. Country or region after: China Address before: 266100 No. 151, Zhuzhou Road, Laoshan District, Shandong, Qingdao Patentee before: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY Co.,Ltd. Country or region before: China |