CN105764127A - Method for sending data, and mobile terminal - Google Patents

Method for sending data, and mobile terminal Download PDF

Info

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

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

The invention relates to the mobile communication field, and specifically relates to a method for sending data, and a mobile terminal, being used for solving the problem that in an existing mode, as an application program of a mobile terminal frequently accesses the network in the mode of running in the background, the processing load for the network and the mobile terminal is increased. The method for sending data includes the steps: storing the data which needs to send for an upper layer application; and when a preset data sending condition is satisfied, sending the cached data which needs to send for the upper layer application through a communication link corresponding to at least one radio frequency module in the continuously opened state. By means of caching of the data which needs to send for the upper layer application, the method for sending data sends the cached data when the preset data sending condition is satisfied, so as to prevent the mobile terminal frequently accessing the network to reduce the processing load for the network and the mobile terminal.

Description

A kind of method sending data and a kind of mobile terminal
The divisional application of the Chinese invention patent application 201310373586.1 that the application is the denomination of invention proposed on August 23rd, 2013 be " a kind of send data and one mobile terminal ".
Technical field
The present invention relates to moving communicating field, particularly relate to a kind of method sending data and a kind of mobile terminal.
Background technology
Along with the development of mobile communication technology, mobile terminal is comprehensively developed to speech, data, image, music and multimedia direction by originally single call function.The application program run on mobile terminal also day by day enriches, including the application program of such as wechat.The feature of this class method is, when user uses such application program, and application program and network side interaction data;And when user stops using such application program, application program enters the mode of running background, now, meeting triggering mobile terminals periodic access network, the server corresponding with this application program carries out operations such as shaking hands.
This type of application program frequently accesses network under running background mode, accesses each time and is required for mobile terminal and the mutual signaling of network side, sets up and connect, so significantly increased the weight of the process load of network and mobile terminal.
Summary of the invention
The embodiment of the present invention provides a kind of method sending data and a kind of mobile terminal, frequently accesses, in order to solve the application program of mobile terminal in existing mode, the problem that network, emphasizer and mobile terminal process load under running background mode.
The embodiment of the present invention provides a kind of method sending data, including:
Buffer memory upper layer application needs the data sent;
When meeting the data preset and sending condition, the communication link that at least one radio-frequency module by being in the state of continuously opening is corresponding sends the data that the upper layer application of buffer memory needs to send.
In this programme, needed the data sent by buffer memory upper layer application, retransmit the data of buffer memory when meeting the data preset and sending condition, it is to avoid mobile terminal frequently accesses network, alleviates the process load of network and mobile terminal;The communication link that at least one radio-frequency module by being in the state of continuously opening is corresponding send buffer memory data, avoid the radio-frequency module being in discontinuous opening is transformed into the state of continuously opening, decrease the overall power consumption of each radio-frequency module of mobile terminal.
It is preferred that described upper layer application is the upper layer application that background mode is run.
In this programme, for the upper layer application that background mode is run, solve this kind of upper layer application and frequently send, to network side, network and the mobile terminal process load problem heavily that data cause.
It is preferred that described default data send condition includes at least one in following condition:
When the time of buffer memory upper layer application data exceedes default buffer memory duration;
The quantity of the upper layer application of buffer memory exceedes default buffer memory upper layer application amount threshold;
The data volume summation of the upper layer application of buffer memory is more than default buffer data size threshold value.
In this programme, default data being sent condition and is defined, specify that under meeting which kind of condition, the upper layer application sending buffer memory needs the data of transmission.
It is preferred that the upper layer application sending buffer memory by being in communication link corresponding at least one radio-frequency module of the state of continuously opening needs the data sent, including:
Determine the radio-frequency module that the upper layer application being in the radio-frequency module of the state of continuously opening and send buffer memory needs the data desired data transfer rate sent to match;
The data that the upper layer application needs of buffer memory send are sent by the communication link that a radio-frequency module in the radio-frequency module of coupling is corresponding.
In this programme, by being in the data continuously opening the radio-frequency module transmission buffer memory needing the data desired data transfer rate sent to match with the upper layer application sending buffer memory in status radio frequency module, thus ensureing that data are transmitted.
It is preferred that when the satisfied data preset send condition, if all radio-frequency modules are in discontinuous opening, it is determined that the radio-frequency module that the data desired data transfer rate of the upper layer application needs transmission with transmission buffer memory matches;
The radio-frequency module closed with the shortest closedown cycle in the radio-frequency module of coupling is transformed into the state of continuously opening;
It is transformed into communication link corresponding to the radio-frequency module of the state of continuously opening by this and sends the data that the upper layer application of buffer memory needs to send.
In this programme, when all radio-frequency modules are in discontinuous opening, the radio-frequency module closed with the shortest closedown cycle in the radio-frequency module of coupling is transformed into the state of continuously opening, utilize this to be transformed into communication link corresponding to the radio-frequency module of the state of continuously opening and send the data that the upper layer application needs of buffer memory send, reduce the overall power consumption of each radio-frequency module of mobile terminal further.
The embodiment of the present invention additionally provides a kind of mobile terminal, and this mobile terminal includes:
Cache module, needs the data sent for buffer memory upper layer application;
Sending module, for when meeting the data preset and sending condition, the communication link that at least one radio-frequency module by being in the state of continuously opening is corresponding sends the data that the upper layer application of buffer memory needs to send.
In this programme, needed the data sent by buffer memory upper layer application, retransmit the data of buffer memory when meeting the data preset and sending condition, it is to avoid mobile terminal frequently accesses network, alleviates the process load of network and mobile terminal;The communication link that at least one radio-frequency module by being in the state of continuously opening is corresponding send buffer memory data, avoid the radio-frequency module being in discontinuous opening is transformed into the state of continuously opening, decrease the overall power consumption of each radio-frequency module of mobile terminal.
It is preferred that described upper layer application is the upper layer application that background mode is run.
In this programme, for the upper layer application that background mode is run, solve this kind of upper layer application and frequently send, to network side, network and the mobile terminal process load problem heavily that data cause.
It is preferred that described default data send condition includes at least one in following condition:
When the time of buffer memory upper layer application data exceedes default buffer memory duration;
The quantity of the upper layer application of buffer memory exceedes default buffer memory upper layer application amount threshold;
The data volume summation of the upper layer application of buffer memory is more than default buffer data size threshold value.
In this programme, default data being sent condition and is defined, specify that under meeting which kind of condition, the upper layer application sending buffer memory needs the data of transmission.
It is preferred that described sending module specifically for:
Determine the radio-frequency module that the upper layer application being in the radio-frequency module of the state of continuously opening and send buffer memory needs the data desired data transfer rate sent to match;
The data that the upper layer application needs of buffer memory send are sent by the communication link that a radio-frequency module in the radio-frequency module of coupling is corresponding.
In this programme, by being in the data continuously opening the radio-frequency module transmission buffer memory needing the data desired data transfer rate sent to match with the upper layer application sending buffer memory in status radio frequency module, thus ensureing that data are transmitted.
It is preferred that described sending module is additionally operable to:
When the satisfied data preset send condition, if all radio-frequency modules are in discontinuous opening, it is determined that the radio-frequency module that the data desired data transfer rate of the upper layer application needs transmission with transmission buffer memory matches;
The radio-frequency module closed with the shortest closedown cycle in the radio-frequency module of coupling is transformed into the state of continuously opening;
It is transformed into communication link corresponding to the radio-frequency module of the state of continuously opening by this and sends the data that the upper layer application of buffer memory needs to send.
In this programme, when all radio-frequency modules are in discontinuous opening, the radio-frequency module closed with the shortest closedown cycle in the radio-frequency module of coupling is transformed into the state of continuously opening, utilize this to be transformed into communication link corresponding to the radio-frequency module of the state of continuously opening and send the data that the upper layer application needs of buffer memory send, reduce the overall power consumption of each radio-frequency module of mobile terminal further.
Accompanying drawing explanation
The procedure schematic diagram of the transmission data that Fig. 1 provides for the embodiment of the present invention;
Fig. 2 is the flow chart sending data method of the embodiment of the present invention one;
The structural representation of the mobile terminal that Fig. 3 provides for the embodiment of the present invention.
Detailed description of the invention
The embodiment of the present invention provides a kind of method sending data and a kind of mobile terminal.In the method that the embodiment of the present invention provides, buffer memory upper layer application needs the data sent;When meeting the data preset and sending condition, the communication link that at least one radio-frequency module by being in the state of continuously opening is corresponding sends the data that the upper layer application of buffer memory needs to send.Needed the data sent by buffer memory upper layer application, retransmit the data of buffer memory when meeting the data preset and sending condition, it is to avoid mobile terminal frequently accesses network, alleviates the process load of network and mobile terminal;The communication link that at least one radio-frequency module by being in the state of continuously opening is corresponding send buffer memory data, avoid the radio-frequency module being in discontinuous opening is transformed into the state of continuously opening, decrease the overall power consumption of each radio-frequency module of mobile terminal.
In the embodiment of the present invention, mobile terminal can include one or more radio-frequency module, the corresponding communication link of each radio-frequency module.nullWherein,The standard of the communication link that radio-frequency module is corresponding includes but not limited to: global system for mobile communications (GlobalSystemofMobilecommunication,GSM)、CDMA (CodeDivisionMultipleAccess,CDMA) IS-95、CDMA (CodeDivisionMultipleAccess,CDMA) 2000、TD SDMA (TimeDivision-SynchronousCodeDivisionMultipleAccess,TD-SCDMA)、WCDMA (WidebandCodeDivisionMultipleAccess,WCDMA)、Time division duplex-Long Term Evolution (TimeDivisionDuplexing-LongTermEvolution,TDDLTE)、FDD-Long Term Evolution (FrequencyDivisionDuplexing-LongTermEvolution,FDDLTE)、Long Term Evolution-enhancing (LongTermEvolution-Advanced,LTE-advanced)、Personal handyphone system (PersonalHandy-phoneSystem,PHS) etc..
The procedure schematic diagram of the transmission data that Fig. 1 provides for the embodiment of the present invention.As it is shown in figure 1, the method comprises the following steps:
S101: buffer memory upper layer application needs the data sent;
S102: when meeting the data preset and sending condition, the communication link that at least one radio-frequency module by being in the state of continuously opening is corresponding sends the data that the upper layer application of buffer memory needs to send.
In prior art, when upper layer application needs to send data, if mobile terminal is in idle condition, then it carries out Signalling exchange firstly the need of with network side, to set up communication connection, after communication connection foundation completes, sends, to network side, the data that upper strata needs to send.In the prior art, when mobile terminal determines that upper layer application needs to send data, set up with network immediately and be connected and send data, when upper layer application requires to send data continually, then need mobile terminal equally frequently to set up with network and be connected, send data.Although such processing mode is capable of instant messaging, but causes the process load of network side and mobile terminal to increase the weight of.
In the embodiment of the present invention, when upper layer application needs to send data, the data that first buffer memory upper layer application sends, when meeting the data preset and sending condition, then go out sent along for the data of the upper layer application of buffer memory.Thus avoid mobile terminal frequent region network and set up connection, send data.
In the embodiment of the present invention, data include but not limited to business datum, the control command (such as the control command etc. with server handshaking) that upper layer application sends.
Usual mobile terminal has multiple upper layer application, when multiple upper layer application are respectively necessary for sending data, may be used without the method that the embodiment of the present invention provides, these upper layer application of buffer memory need the data of transmission respectively, and by distributing the data that each upper layer application of mode labelling such as upper layer application mark to send, so when determining that meeting the data preset sends condition, the data sent can be needed to be sent on respective destination server or target device each upper layer application according to each upper layer application mark.
Alternatively, unified application programming interfaces (ApplicationProgrammingInterface, API) can be passed through and control the transmission of each upper layer application data.When upper layer application needs to send data, call unified api interface, this api interface is each upper layer application distribution upper layer application mark (applicationidentification, appid), and control the data that each upper layer application of buffer memory is to be sent, when determining that meeting the data preset sends condition, unified api interface controls to go out sent along for the data of each upper layer application of buffer memory.
In embodiments of the present invention, by making radio-frequency module be in discontinuous transmission state, the power consumption of radio-frequency module is reduced.In the terminal, three modules that power consumption is bigger are respectively as follows: application processor, lcd screen and radio-frequency module.When the user using mobile terminal does not operate mobile terminal, application processor and lcd screen all can dormancy, but radio-frequency module is still opened so that mobile terminal power consumption is bigger.Therefore, the power consumption reducing radio-frequency module becomes the important means reducing mobile phone power consumption.
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, it does not have during transceiving data, and radio-frequency module still continues to open, and the lasting unlatching of radio-frequency module causes bigger power consumption.In the embodiment of the present invention, after mobile terminal-opening, the duty of radio-frequency module includes: continuously open state and discontinuous opening.When radio-frequency module is in and continuously opens state, it is possible to transceiving data, it is necessary to consume power;When radio-frequency module is in discontinuous opening, radio-frequency module is closed on intermittence ground, to reduce the power consumption of radio-frequency module, and under discontinuous opening, in the gap that radio-frequency module is closed, open radio-frequency module, in order to mobile terminal and network side carry out Signalling exchange.When implementing, turning on and off between radio-frequency module and the supply module of mobile terminal can be realized by hardware or software switch, realize the opening and closing of radio-frequency module respectively.At present, the realization of hardware or software switch has a lot of method, repeats no more here.
In the embodiment of the present invention, radio-frequency module can be made to enter discontinuous opening by certain trigger mechanism.Such as, when the interval of the last data transmission of distance is not less than default free time length, makes radio-frequency module enter discontinuous opening, in the gap that radio-frequency module is closed, open radio-frequency module, in order to mobile terminal and network side carry out Signalling exchange.When according to the signaling received from network side, it is determined that when needing to carry out data transmission, then radio-frequency module exits discontinuous opening, enters and continues opening.
Although, can pass through to make radio-frequency module enter discontinuous opening, reduce the power consumption of radio-frequency module, but multiple upper stratas require to send data continually, if require to send data each time, all the radio-frequency module being in discontinuous opening is transformed into the state of continuously opening, then can increase the power consumption of radio-frequency module, and then increase the power consumption of mobile terminal.Therefore, in the embodiment of the present invention, needed the data sent by buffer memory upper layer application, retransmit when meeting the data preset and sending condition, can avoid continually the radio-frequency module being in discontinuous opening being transformed into the state of continuously opening, to reduce the power consumption of radio-frequency module.In addition, when there is multiple radio-frequency module in mobile terminal, and when meeting the data preset and sending condition, when there is the radio-frequency module being in the state of continuously opening, the communication link that at least one radio-frequency module by being in opening is corresponding sends the data of buffer memory, the probability that the radio-frequency module being in discontinuous opening is transformed into the state of continuously opening can be reduced further, reduce the overall power consumption of each radio-frequency module to a greater degree.
Preferably, described upper layer application is the upper layer application that background mode is run.
Generally, the upper layer application that background mode is run is less demanding to the instantaneity of communication, if this type of upper strata is with accessing network continually, require to send data, then use the method that the embodiment of the present invention provides, the process load of network side and mobile terminal side can be reduced, reduce the power consumption of mobile terminal, the quality of service of mobile terminal will not be reduced again significantly.
Preferably, the data preset send condition and include at least one in following condition:
Condition one, buffer memory upper layer application data time when exceeding default buffer memory duration;
Condition two, buffer memory the quantity of upper layer application exceed default buffer memory upper layer application amount threshold;
Condition three, buffer memory the data volume summation of upper layer application more than default buffer data size threshold value.
In this programme, default data being sent condition and is defined, specify that under meeting which kind of condition, the upper layer application sending buffer memory needs the data of transmission.
For condition one, can when starting the data that buffer memory upper layer application to send, start an intervalometer, when this timer expiry, namely intervalometer timing duration reaches the buffer memory duration (such as: 1 minute) preset, needs the data sent to send buffered upper layer application, stops the timing of this intervalometer simultaneously, alternatively, intervalometer resets.It is preferred that startup and the clearing of this intervalometer can be controlled by unified api interface.
For condition two, by unified api interface, the quantity of the upper layer application of buffer memory can be counted, when count value exceedes default buffer memory upper layer application amount threshold (such as: 3), the data of buffer memory be sent.
For condition three, by unified api interface, the data volume of each upper layer application of buffer memory can be carried out real-time statistics, when statistical value has exceeded buffer data size threshold value (such as: 1Mbytes) preset, the data of buffer memory be sent.
Alternatively, above-mentioned default buffer memory duration, buffer memory upper layer application amount threshold and default buffer data size threshold value, can determine according to its communication ability of communication link corresponding to real-time each radio-frequency module of acquisition for mobile terminal, such as, when its communication ability of communication link is stronger, namely to send data volume relatively big for representation unit time mobile terminal, then can be bigger value by default buffer memory duration, buffer memory upper layer application amount threshold and default buffer data size adjusting thresholds;When its communication ability of communication link is more weak, namely to send data volume less for representation unit time mobile terminal, then can be less value by default buffer memory duration, buffer memory upper layer application amount threshold and default buffer data size adjusting thresholds.In addition, also can provide, for the user of mobile terminal, 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 high, the buffer memory duration preset of correspondence, buffer memory upper layer application amount threshold and default buffer data size adjusting thresholds are bigger value;When grade point is set to middle, the buffer memory duration preset of correspondence, buffer memory upper layer application amount threshold and default buffer data size adjusting thresholds are less value;When grade point is set to low, the corresponding buffer memory duration preset, buffer memory upper layer application amount threshold and the default minima that buffer data size adjusting thresholds is each parameter, or forbidden moves terminal realizes the function of buffer memory upper layer application data.
May also include additionally, the data preset send condition, every the default detection cycle, unified api interface determines whether the data that the upper layer application of buffer memory to send, if having, then sends the data of buffer memory, if nothing, then wait the default detection cycle again, repeat judgement above and transmission process.The detection cycle preset can be 2 minutes, 5 minutes etc..
Preferably, the communication link that at least one radio-frequency module by being in the state of continuously opening is corresponding sends the data that the upper layer application of buffer memory needs to send, including:
Determine the radio-frequency module that the upper layer application being in the radio-frequency module of the state of continuously opening and send buffer memory needs the data desired data transfer rate sent to match;
The data that the upper layer application needs of buffer memory send are sent by the communication link that a radio-frequency module in the radio-frequency module of coupling is corresponding.
In this preferred version, it is determined that radio-frequency module and the upper layer application sending buffer memory need the mode that the data desired data transfer rate sent matches to have 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 sends the data desired data transfer rate that the upper layer application needs of buffer memory send, it is determined that radio-frequency module and the upper layer application sending buffer memory need the data desired data transfer rate sent to match.
Or, if the message transmission rate that the communication link that radio-frequency module is corresponding is provided that is not less than the product of the upper layer application needs sending buffer memory the data desired data transfer rate sent and the rate matching attribute preset, the upper layer application then determining radio-frequency module and send buffer memory needs the data desired data transfer rate sent to match, wherein, this rate matching attribute preset more than 0 and is not more than 1.
Above-mentioned determine radio-frequency module and send the upper layer application of buffer memory and need the method that matches of data desired data transfer rate sent all it needs to be determined that the scheme that whether should mate in the data desired data transfer rate of needs transmission with the upper strata of transmission buffer memory of radio-frequency module suitable in the embodiment of the present invention.
In this preferred version, when there is the radio-frequency module of multiple coupling, the method selecting radio-frequency module has multiple, and such as: therefrom can send data by optional radio-frequency module, or the radio-frequency module selecting message transmission rate that corresponding communication link can provide maximum sends data.
Preferably, when the satisfied data preset send condition, if all radio-frequency modules are in discontinuous opening, it is determined that the radio-frequency module that the data desired data transfer rate of the upper layer application needs transmission with transmission buffer memory matches;
The radio-frequency module closed with the shortest closedown cycle in the radio-frequency module of coupling is transformed into the state of continuously opening;
It is transformed into communication link corresponding to the radio-frequency module of the state of continuously opening by this and sends the data that the upper layer application of buffer memory needs to send.
In this programme, when all radio-frequency modules are in discontinuous opening, the radio-frequency module closed with the shortest closedown cycle in the radio-frequency module of coupling is transformed into the state of continuously opening, utilize this to be transformed into communication link corresponding to the radio-frequency module of the state of continuously opening and send the data that the upper layer application needs of buffer memory send, reduce the overall power consumption of each radio-frequency module of mobile terminal further.
When radio-frequency module is in discontinuous opening, and with under fixing closedown cycle pent condition, the cycle of closing is more long, then radio-frequency module power consumption is more little.Therefore when meeting the data preset and sending condition, if all radio-frequency modules are in discontinuous opening, and there is the radio-frequency module that upper layer application that is multiple and that send buffer memory needs the data desired data transfer rate sent to match, then the radio-frequency module closed with the shortest closedown cycle in the radio-frequency module of coupling is transformed into the state of continuously opening, it is transformed into communication link corresponding to the radio-frequency module of the state of continuously opening by this and sends the data that the upper layer application of buffer memory needs to send, to reduce the overall power of each radio-frequency module.
Below, the method illustrating, by specific embodiment one, transmission data that the embodiment of the present invention provides.
In embodiment one, mobile terminal includes 2 radio-frequency modules, 1 radio-frequency module correspondence LTE communication link, another 1 radio-frequency module correspondence 2/3G communication link.Actual mobile terminal may also comprise 3 and above radio-frequency module, the corresponding communication standard of each radio-frequency module, such as distinguishes corresponding LTE, 2G, 3G communication link.
In embodiment one, for 1 upper layer application appx, when implementing, unified api interface can the solicited message of the multiple upper layer application of buffer memory simultaneously.
As in figure 2 it is shown, the method for the transmission data of embodiment one comprises the steps:
S201: unified api interface receives upper layer application appx and accesses the request of server, and preserves relevant solicited message (such as: server address, the COS of request, the service content of request, desired service response etc.), performs step S202 afterwards;
S202: judge whether that meeting the data preset sends condition (such as: when the time of buffer memory upper layer application data exceedes default buffer memory duration), if so, then performs step S203, if it is not, then return step S201;
S203: judge whether the radio-frequency module that LTE communication link is corresponding is in discontinuous opening, if so, then performs step S204;Otherwise perform step S206;
S204: send handshake request by 2/3G communication link and judge whether receive server response in Preset Time, if so, then performing step S205, otherwise perform step S207;
S205: unified api interface receives server and issues the response of upper layer application appx, and returns to upper layer application appx;
S206: select communication link according to default communication link selection algorithm, if selecting 2/3G communication link, then performs step S204, if selecting LTE communication link, then performs step S207;
S207: send handshake request by LTE communication link, and judge whether receive server response in Preset Time, if so, then perform step S205, otherwise return step S201.
In above-mentioned steps S206, select the strategy of communication link may include but be not limited to: to first determine whether whether the radio-frequency module that LTE link is corresponding is in discontinuous opening, if so, then select 2/3G communication link to send data;Otherwise, select communication link (such as: if radio-frequency module corresponding to 2/3 communication link is in discontinuous opening according to default communication link selection algorithm, and the message transmission rate that can provide of radio-frequency module corresponding to LTE link is when needing, more than the upper layer application sending buffer memory, the data desired data transfer rate sent, LTE communication link is selected to send data;If the radio-frequency module that the radio-frequency module that LTE link is corresponding is corresponding with 2/3G communication link is in continuously opening state, optional two kinds of communication links are provided that the communication link of larger data transfer rate.
When the result performing step S207 is not receive server response in Preset Time, then return step S201, wait that the satisfied data preset send data when sending condition again next time.
Based on same inventive concept, the embodiment of the present invention additionally provides a kind of mobile terminal, owing to the principle of this mobile terminal solution problem is similar to the method for the transmission data that the embodiment of the present invention provides, therefore the enforcement of this mobile terminal may refer to send the enforcement of the method for data, repeats part and repeats no more.
The structural representation of the mobile terminal that Fig. 3 provides for the embodiment of the present invention.As it is shown on figure 3, this mobile terminal includes:
Cache module 301, needs the data sent for buffer memory upper layer application;
Sending module 302, for when meeting the data preset and sending condition, the communication link that at least one radio-frequency module by being in the state of continuously opening is corresponding sends the data that the upper layer application of buffer memory needs to send.
Preferably, upper layer application is the upper layer application that background mode is run.
Preferably, the data preset send condition and include at least one in following condition:
When the time of buffer memory upper layer application data exceedes default buffer memory duration;
The quantity of the upper layer application of buffer memory exceedes default buffer memory upper layer application amount threshold;
The data volume summation of the upper layer application of buffer memory is more than default buffer data size threshold value.
Preferably, sending module specifically for:
Determine the radio-frequency module that the upper layer application being in the radio-frequency module of the state of continuously opening and send buffer memory needs the data desired data transfer rate sent to match;
The data that the upper layer application needs of buffer memory send are sent by the communication link that a radio-frequency module in the radio-frequency module of coupling is corresponding.
Preferably, sending module is additionally operable to:
When the satisfied data preset send condition, if all radio-frequency modules are in discontinuous opening, it is determined that the radio-frequency module that the data desired data transfer rate of the upper layer application needs transmission with transmission buffer memory matches;
The radio-frequency module closed with the shortest closedown cycle in the radio-frequency module of coupling is transformed into the state of continuously opening;
It is transformed into communication link corresponding to the radio-frequency module of the state of continuously opening by this and sends the data that the upper layer application of buffer memory needs to send.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, complete software implementation or the embodiment in conjunction with software and hardware aspect.And, the present invention can adopt the form at one or more upper computer programs implemented of computer-usable storage medium (including but not limited to disk memory, CD-ROM, optical memory etc.) wherein including computer usable program code.
The present invention is that flow chart and/or block diagram with reference to method according to embodiments of the present invention, equipment (system) and computer program describe.It should be understood that can by the combination of the flow process in each flow process in computer program instructions flowchart and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can be provided to produce a machine to the processor of general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device so that the instruction performed by the processor of computer or other programmable data processing device is produced for realizing the device of function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and can guide in the computer-readable memory that computer or other programmable data processing device work in a specific way, the instruction making to be stored in this computer-readable memory produces to include the manufacture of command device, and this command device realizes the function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices provides for realizing the step of function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
Although preferred embodiments of the present invention have been described, but those skilled in the art are once know basic creative concept, then these embodiments can be made other change and amendment.So, claims are intended to be construed to include preferred embodiment and fall into all changes and the amendment of the scope of the invention.
Obviously, the present invention can be carried out various change and modification without deviating from the spirit and scope of the present invention by those skilled in the art.So, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (10)

1. the method sending data, it is characterised in that including:
Buffer memory upper layer application needs the data sent;
When meeting the data preset and sending condition, it is judged that whether the radio-frequency module that LTE communication link is corresponding is in discontinuous opening;
If so, send, by 2/3G communication link, the data that the upper layer application needs of buffer memory send.
2. the method for claim 1, it is characterised in that also include:
If it is not, determine the radio-frequency module that the upper layer application being in the radio-frequency module of the state of continuously opening and send buffer memory needs the data desired data transfer rate sent to match;
The data that the upper layer application needs of buffer memory send are sent by the communication link that the radio-frequency module mated is corresponding.
3. the method for claim 1, it is characterised in that
Described upper layer application is the upper layer application that background mode is run.
4. the method for claim 1, it is characterised in that described default data send condition and include at least one in following condition:
When the time of buffer memory upper layer application data exceedes default buffer memory duration;
The quantity of the upper layer application of buffer memory exceedes default buffer memory upper layer application amount threshold;
The data volume summation of the upper layer application of buffer memory is more than default buffer data size threshold value.
5. the method for claim 1, it is characterised in that the method also includes:
If it is not, send, by the communication link that LTE radio module is corresponding, the data that the upper layer application needs of buffer memory send.
6. a mobile terminal, it is characterised in that including:
Cache module, needs the data sent for buffer memory upper layer application;
Sending module, for when meeting the data preset and sending condition, it is judged that whether the radio-frequency module that LTE communication link is corresponding is in discontinuous opening;If so, send, by 2/3G communication link, the data that the upper layer application needs of buffer memory send.
7. mobile terminal as claimed in claim 6, it is characterised in that described sending module is additionally operable to:
If it is not, determine the radio-frequency module that the upper layer application being in the radio-frequency module of the state of continuously opening and send buffer memory needs the data desired data transfer rate sent to match;The data that the upper layer application needs of buffer memory send are sent by the communication link that the radio-frequency module mated is corresponding.
8. mobile terminal as claimed in claim 6, it is characterised in that described upper layer application is the upper layer application that background mode is run.
9. mobile terminal as claimed in claim 6, it is characterised in that described default data send condition and include at least one in following condition:
When the time of buffer memory upper layer application data exceedes default buffer memory duration;
The quantity of the upper layer application of buffer memory exceedes default buffer memory upper layer application amount threshold;
The data volume summation of the upper layer application of buffer memory is more than default buffer data size threshold value.
10. mobile terminal as claimed in claim 6, it is characterised in that described sending module is additionally operable to:
If it is not, send, by the communication link that LTE radio module is corresponding, the data that the upper layer application needs of buffer memory send.
CN201610248034.1A 2013-08-23 2013-08-23 A kind of method sending data and a kind of mobile terminal Active CN105764127B (en)

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 true CN105764127A (en) 2016-07-13
CN105764127B 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)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107242852A (en) * 2017-05-22 2017-10-13 上海青橙实业有限公司 Control method and device based on physiological characteristic data
CN107242851A (en) * 2017-05-22 2017-10-13 上海青橙实业有限公司 physiological monitoring method and device
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 (5)

* Cited by examiner, † Cited by third party
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
CN101489251A (en) * 2008-01-16 2009-07-22 大唐移动通信设备有限公司 Receiving method and apparatus
CN101621851A (en) * 2009-08-12 2010-01-06 中兴通讯股份有限公司 Local exchange method and device for base station subsystem
CN103095330A (en) * 2011-10-28 2013-05-08 美国博通公司 Dual mode local area network transceiver and methods for use therewith

Patent Citations (5)

* Cited by examiner, † Cited by third party
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
CN101489251A (en) * 2008-01-16 2009-07-22 大唐移动通信设备有限公司 Receiving method and apparatus
CN101621851A (en) * 2009-08-12 2010-01-06 中兴通讯股份有限公司 Local exchange method and device for base station subsystem
CN103095330A (en) * 2011-10-28 2013-05-08 美国博通公司 Dual mode local area network transceiver and methods for use therewith

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107242852A (en) * 2017-05-22 2017-10-13 上海青橙实业有限公司 Control method and device based on physiological characteristic data
CN107242851A (en) * 2017-05-22 2017-10-13 上海青橙实业有限公司 physiological monitoring method and device
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

Also Published As

Publication number Publication date
CN105764127B (en) 2019-08-02

Similar Documents

Publication Publication Date Title
CN103442415B (en) A kind of method and a kind of mobile terminal that sends data
CN104144528B (en) It is a kind of for solving the method, equipment and device of multi-mold multi-card conflict
CN101635916A (en) Method and system for loading resources based on multi-mode mobile terminal
CN104170516A (en) Methods and apparatus for reducing call drop rate
CN108770050B (en) Control method and device for carrier aggregation function
CN106997351B (en) Resource cache management method, system and device
CN108419281A (en) A kind of method for switching network, device and communication terminal
CN105915250A (en) Method, device and system for wearable device to synchronize with information in mobile terminal
CN105764127A (en) Method for sending data, and mobile terminal
CN104580734A (en) Data synchronization method, data synchronization system and terminal of multi-system equipment
CN106664594A (en) System and method for content streaming in a network environment
CN110493855A (en) Communication mode control method, device, storage medium and terminal
CN106126305A (en) A kind of application freezing method, device and mobile terminal
CN106211289B (en) A kind of method and device of data transmission
CN106034320A (en) Virtual SIM card switching method and apparatus
CN113873564A (en) Energy-saving method and device based on communication prediction
CN102624967A (en) Method and system for realizing document downloading in mobile terminal
CN104125321B (en) A kind of contact details update method, device and system
CN110134655A (en) A kind of method for managing resource, device and equipment
CN105072291A (en) Low power consumption mobile communication terminal system and low power consumption realization method
CN103731484A (en) Energy-saving transmission method oriented to mobile cloud computing and middleware system
CN106550021A (en) The method for pushing and device of PUSH message
CN102625398A (en) Method and equipment for recovering data traffics of high-level applications at time of multi-channel data connection switching
CN113271647B (en) USIM card management method, mobile equipment and user terminal
CN101951642A (en) Method and device for regulating download speed of mobile terminal

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

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