CN104092649B - The method and apparatus of preheating channel - Google Patents
The method and apparatus of preheating channel Download PDFInfo
- Publication number
- CN104092649B CN104092649B CN201310645773.0A CN201310645773A CN104092649B CN 104092649 B CN104092649 B CN 104092649B CN 201310645773 A CN201310645773 A CN 201310645773A CN 104092649 B CN104092649 B CN 104092649B
- Authority
- CN
- China
- Prior art keywords
- time interval
- request
- physical channel
- weight factor
- data
- 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
- 230000006854 communication Effects 0.000 claims abstract description 39
- 238000004891 communication Methods 0.000 claims abstract description 38
- 230000005540 biological transmission Effects 0.000 abstract description 18
- 230000015654 memory Effects 0.000 description 15
- 230000006870 function Effects 0.000 description 10
- 230000008569 process Effects 0.000 description 9
- 238000012546 transfer Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000005484 gravity Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000005314 correlation function Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000012905 input function Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a kind of method and apparatus of preheating channel, belong to the communications field.Described method comprises: receive this secondary data request; Calculate the time interval between this secondary data request and last request of data; According to the thermal protection duration of this time interval and physical channel, calculate the preheating moment of physical channel; If once communicated on also not carrying out when the preheating moment arrives, then start periodically to give out a contract for a project preheating physical channel till communication starts next time.Described device comprises: receiver module, computing module and warm-up block.The present invention can carry out preheating to physical channel before upper once request of data, re-establishes the time of physical channel, drastically increase data transmission efficiency when saving request of data next time.
Description
Technical field
The present invention relates to the communications field, particularly a kind of method and apparatus of preheating channel.
Background technology
In a communication network, transfer of data is carried out on channel.When communicating pair needs transmission data, first on network interface layer, set up physical channel, then set up TCP (TransmissionControlProtocol, transmission control protocol) on the level of the transport layer and connect, after the success of TCP connection establishment, communicating pair just can carry out transmission data.
After communicating pair stops transfer of data, if reach the thermal protection time of network provision, network will discharge physical channel automatically, to save Internet resources.When communicating pair carries out transfer of data again, just must re-establish physical channel, and re-establish physical channel and need the regular hour, therefore have impact on data transmission efficiency.Such as, in the process of user's browsing page, a certain webpage has stopped a period of time, and now physical channel discharges automatically.When user click browse next webpage time, the time re-establishing physical channel must be waited for, therefore can feel the slowing of accessed web page.
Summary of the invention
In view of this, a kind of method and apparatus of preheating channel is embodiments provided, to improve data transmission efficiency.Described technical scheme is as follows:
On the one hand, provide a kind of method of preheating channel, comprising:
Receive this secondary data request;
Calculate the time interval between described secondary data request and last request of data;
The average time interval calculated when obtaining described last request of data;
Sue for peace after each self-corresponding weight factor is multiplied by respectively to the average time interval calculated during described last request of data and the described time interval, obtain average time interval during this secondary data request;
Deduct described average time interval with the described time interval and obtain a variance;
Sue for peace after each self-corresponding weight factor is multiplied by respectively to the equispaced variance calculated during described last request of data and described variance, obtain equispaced variance during this secondary data request;
Deduct the product of default coefficient of variation and described equispaced variance with described average time interval, obtain estimating duration;
Maximum is got between the thermal protection duration and described estimation duration of described physical channel;
Moment of described secondary data request and the summation of described maximum are obtained to the preheating moment of described physical channel;
If once communicated on also not carrying out when the described preheating moment arrives, then start periodically to give out a contract for a project physical channel described in preheating till communication starts next time;
Wherein, the weight factor that the average time interval calculated during described last request of data is corresponding is the first default weight factor, and weight factor corresponding to the described time interval is 1 deduct the difference after described first weight factor; Weight factor corresponding to the equispaced variance calculated during described last request of data is the second default weight factor, and weight factor corresponding to described variance is 1 deduct the difference after described second weight factor.
On the other hand, provide a kind of device of preheating channel, comprising:
Receiver module, for receiving this secondary data request;
Computing module, for calculating the time interval between described secondary data request and last request of data; According to the thermal protection duration of the described time interval and physical channel, calculate the preheating moment of physical channel;
Warm-up block, if once communicated on also not carrying out when the described preheating moment arrives, then starts periodically to give out a contract for a project physical channel described in preheating till communication starts next time;
Wherein, described computing module comprises:
Average time interval computing unit, the average time interval calculated during for obtaining described last request of data; Sue for peace after each self-corresponding weight factor is multiplied by respectively to the average time interval calculated during described last request of data and the described time interval, obtain average time interval during this secondary data request;
Equispaced variance computing unit, obtains a variance for deducting described average time interval with the described time interval; Sue for peace after each self-corresponding weight factor is multiplied by respectively to the equispaced variance calculated during described last request of data and described variance, obtain equispaced variance during this secondary data request;
Preheating moment computing unit, for deducting the product of default coefficient of variation and described equispaced variance with described average time interval, obtains estimating duration; Maximum is got between the thermal protection duration and described estimation duration of described physical channel; Moment of described secondary data request and the summation of described maximum are obtained to the preheating moment of described physical channel;
Wherein, the weight factor that the average time interval calculated during described last request of data is corresponding is the first default weight factor, and weight factor corresponding to the described time interval is 1 deduct the difference after described first weight factor; Weight factor corresponding to the equispaced variance calculated during described last request of data is the second default weight factor, and weight factor corresponding to described variance is 1 deduct the difference after described second weight factor.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is: by receiving this secondary data request, calculate the time interval between described secondary data request and last request of data, according to the thermal protection duration of the described time interval and physical channel, calculate the preheating moment of physical channel, if once communicated on also not carrying out when the described preheating moment arrives, then start periodically to give out a contract for a project physical channel described in preheating till communication starts next time, the physical channel when thermal protection duration reaches can be avoided automatically to discharge, the preheating moment according to calculating can carry out preheating to physical channel before upper once request of data, keep the connection of physical channel, the time of physical channel is re-established when saving request of data next time, drastically increase data transmission efficiency, improve service quality.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the method flow diagram of the preheating channel that the embodiment of the present invention 1 provides;
Fig. 2 is the method flow diagram of the preheating channel that the embodiment of the present invention 2 provides;
Fig. 3 is the method flow diagram of the preheating channel that the embodiment of the present invention 3 provides;
Fig. 4 is a kind of structure chart of device of the preheating channel that the embodiment of the present invention 4 provides;
Fig. 5 is the another kind of structure chart of device of the preheating channel that the embodiment of the present invention 4 provides;
Fig. 6 is the terminal structure figure that the embodiment of the present invention 5 provides.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Embodiment 1
See Fig. 1, present embodiments provide a kind of method of preheating channel, comprising:
101: receive this secondary data request;
102: calculate the time interval between this secondary data request and last request of data;
103: according to the thermal protection duration of this time interval and physical channel, calculate the preheating moment of physical channel;
104: if once communicated on also not carrying out when this preheating moment arrives, then start periodically to give out a contract for a project this physical channel of preheating till communication starts next time.
The said method that the present embodiment provides can be applied to terminal, as mobile phone, panel computer etc.Wherein, the request of data related to refers to the request of data of terminal to network side, is the request of data relevant with the business of terminal, browses a webpage or download file etc. as request.Usually, terminal repeatedly can send request of data, and centre has certain time interval.This secondary data request in the present embodiment refers to that arbitrary secondary data request that terminal sends, last request of data just refer to the secondary data request adjacent with this secondary data request occurred.Such as, terminal once request of data in 9:00 transmission, interval sent this secondary data request at 9:10 after 10 minutes, sent once request of data etc. at interval after 5 minutes.
In the present embodiment, the physical channel related to refers to the channel set up on network interface layer, refers to the physical channel between terminal and the base station of network side.The preheating related to refers to sets up physical channel before data is transmitted, to avoid, there being data to need just to set up physical channel and expend the stand-by period during transmission, affecting data transmission efficiency.The bag that the periodicity related to is sent out can be any one bag, and the destination address in bag does not limit, and can be random destination address, and the content of bag also can be sky etc., and the present embodiment is not specifically limited this.Regardless of the content of wrapping, the destination address of bag how, and this bag all can be received by the base station for Terminal for service, therefore just can reach the object of the physical channel set up between terminal and base station.
In the present embodiment, according to the thermal protection duration of this time interval and physical channel, calculate the preheating moment of physical channel, can comprise:
Average time interval when calculating this secondary data request according to this time interval; Equispaced variance when calculating this secondary data request according to this time interval and this average time interval; According to the thermal protection duration of this average time interval, equispaced variance and physical channel, calculate the preheating moment of physical channel.
In the present embodiment, average time interval when calculating this secondary data request according to this time interval, can comprise:
The average time interval calculated when obtaining this last request of data; Sue for peace after each self-corresponding weight factor is multiplied by respectively to the average time interval calculated during this last request of data and this time interval, obtain average time interval during this secondary data request; Wherein, the weight factor that the average time interval calculated during this last request of data is corresponding is the first default weight factor, and weight factor corresponding to this time interval is 1 deduct the difference after this first weight factor.
In the present embodiment, equispaced variance when calculating this secondary data request according to this time interval and this average time interval, can comprise:
Deduct this average time interval with this time interval and obtain a variance; Sue for peace after each self-corresponding weight factor is not multiplied by the equispaced variance calculated during this last request of data and the party's difference, obtain equispaced variance during this secondary data request; Wherein, weight factor corresponding to the equispaced variance calculated during this last request of data is the second default weight factor, and weight factor corresponding to this variance is 1 deduct the difference after this second weight factor.
In the present embodiment, according to the thermal protection duration of this average time interval, equispaced variance and physical channel, calculate the preheating moment of physical channel, can comprise:
Deduct the product of default coefficient of variation and this equispaced variance with this average time interval, obtain estimating duration; Maximum is got between the thermal protection duration and this estimation duration of this physical channel; Moment of this this secondary data request and the summation of this maximum are obtained to the preheating moment of this physical channel.
The said method that the present embodiment provides, by receiving this secondary data request, calculate the time interval between described secondary data request and last request of data, according to the thermal protection duration of the described time interval and physical channel, calculate the preheating moment of physical channel, if once communicated on also not carrying out when the described preheating moment arrives, then start periodically to give out a contract for a project physical channel described in preheating till communication starts next time, the physical channel when thermal protection duration reaches can be avoided automatically to discharge, the preheating moment according to calculating can carry out preheating to physical channel before upper once request of data, keep the connection of physical channel, the time of physical channel is re-established when saving request of data next time, drastically increase data transmission efficiency, improve service quality.
Embodiment 2
See Fig. 2, present embodiments provide a kind of method of preheating channel, comprising:
201: receive this secondary data request;
Wherein, this secondary data request refers to the request of data of Client-initiated to network side, is triggered by user, and browse a webpage as user clicks on the interface of terminal, then terminal can receive this request of data.
202: calculate the time interval between this secondary data request and last request of data;
Particularly, this step can comprise:
Obtain first moment of this secondary data request and the second moment of last request of data; Calculate the difference in the second moment and the first moment, obtain the time interval between this secondary data request and last request of data.
203: average time interval when calculating this secondary data request according to this time interval;
204: equispaced variance when calculating this secondary data request according to this time interval and this average time interval;
205: according to the thermal protection duration of this average time interval, equispaced variance and physical channel, calculate the preheating moment of physical channel;
Wherein, the thermal protection duration of physical channel refers to that physical channel will discharge automatically when the time of transfer of data stopping reaches thermal protection duration.This thermal protection duration is fixing, and concrete numerical value is relevant with the type of network.Such as, in 3G network, the thermal protection duration of physical channel is 6s, and in 2G, 2.5G and wifi network, the thermal protection duration of physical channel is 1s etc.The method that the present embodiment provides can be applied in any one network, is not specifically limited herein.
206: if once communicated on also not carrying out when this preheating moment arrives, then start periodically to give out a contract for a project this physical channel of preheating till communication starts next time.
The said method that the present embodiment provides can be applied to terminal.The physical channel related to refers to the channel set up on network interface layer, refers to the physical channel between terminal and the base station of network side.The preheating related to refers to sets up physical channel before data is transmitted.The bag that the periodicity related to is sent out can be any one bag.Particularly, see the description in embodiment 1, can not repeat herein.
The said method that the present embodiment provides, by receiving this secondary data request, calculate the time interval between described secondary data request and last request of data, according to the thermal protection duration of the described time interval and physical channel, calculate the preheating moment of physical channel, if once communicated on also not carrying out when the described preheating moment arrives, then start periodically to give out a contract for a project physical channel described in preheating till communication starts next time, the physical channel when thermal protection duration reaches can be avoided automatically to discharge, the preheating moment according to calculating can carry out preheating to physical channel before upper once request of data, keep the connection of physical channel, the time of physical channel is re-established when saving request of data next time, drastically increase data transmission efficiency, improve service quality.
Embodiment 3
See Fig. 3, present embodiments provide a kind of method of preheating channel, comprising:
301: receive this secondary data request;
Wherein, this secondary data request refers to the request of data of Client-initiated to network side, is triggered by user, and browse a webpage as user clicks on the interface of terminal, then terminal can receive this request of data.
302: calculate the time interval between this secondary data request and last request of data;
Particularly, this step can comprise:
Obtain first moment of this secondary data request and the second moment of last request of data; Calculate the difference in the second moment and the first moment, obtain the time interval between this secondary data request and last request of data.
This step can represent with following formula:
Interval
i=T
i-T
i-1;
Wherein, Interval
irepresent the time interval between this secondary data request and last request of data, T
irepresent first moment of this secondary data request, T
i-1represent the second moment of last request of data.
303: the average time interval calculated when obtaining last request of data;
Wherein, last request of data likely headed by secondary data request, as after user's open any browser first click browse webpage etc., the present embodiment is not specifically limited this.For request of data first, the initial value of average time interval can be set, and the initial value of equispaced variance, concrete numerical value the present embodiment does not limit.
304: sue for peace after each self-corresponding weight factor is multiplied by respectively to the average time interval calculated during last request of data and this time interval, obtain average time interval during this secondary data request;
Wherein, the weight factor that the average time interval calculated during this last request of data is corresponding is the first default weight factor, and weight factor corresponding to this time interval is 1 deduct the difference after this first weight factor.
Particularly, this step can represent with following formula:
avrInterval
i=α×avrInterval
i-1+(1-α)×Interval
i;
Wherein, avrInterval
irepresent average time interval during this secondary data request, avrInterval
i-1the average time interval calculated when representing last request of data, Interval
irepresent the time interval between this secondary data request and last request of data, α is the first default weight factor, and concrete numerical value can be arranged as required, and the present embodiment is not specifically limited this.
305: deduct this average time interval with this time interval and obtain a variance;
Particularly, this step can represent with following formula:
Var=|Interval
i-avrInterval
i|;
Wherein, Var represents described variance, Interval
irepresent the time interval between this secondary data request and last request of data, avrInterval
irepresent average time interval during this secondary data request, || represent and take absolute value.
306: sue for peace after each self-corresponding weight factor is not multiplied by the equispaced variance calculated during last request of data and the party's difference, obtain equispaced variance during this secondary data request;
Wherein, weight factor corresponding to the equispaced variance calculated during last request of data is the second default weight factor, and weight factor corresponding to this variance is 1 deduct the difference after this second weight factor.
Particularly, this step can represent with following formula:
avrVariance
i=β×avrVariance
i-1+(1-β)×Var;
Wherein, avrVariance
irepresent equispaced variance during this secondary data request, avrVariance
i-1the equispaced variance calculated when representing last request of data, Var represents described variance, and β is the second default weight factor, and concrete numerical value can be arranged as required, and the present embodiment is not specifically limited this.
307: the product deducting default coefficient of variation and this equispaced variance with this average time interval, obtain estimating duration;
308: between the thermal protection duration and this estimation duration of this physical channel, get maximum;
Wherein, the thermal protection duration of physical channel refers to that physical channel will discharge automatically when the time of transfer of data stopping reaches thermal protection duration.This thermal protection duration is fixing, and concrete numerical value is relevant with the type of network.Such as, in 3G network, the thermal protection duration of physical channel is 6s, and in 2G, 2.5G and wifi network, the thermal protection duration of physical channel is 1s etc.The method that the present embodiment provides can be applied in any one network, is not specifically limited herein.
309: preheating moment moment of this secondary data request and the summation of this maximum being obtained to this physical channel;
Particularly, the computational process of above-mentioned steps 307 to 309 can represent with following formula:
preHeadTime=T
i+Max(coldInterval,avrInterval
i-γ×avrVariance
i);
Wherein, preHeadTime represents the preheating moment of physical channel, T
irepresent first moment of this secondary data request, coldInterval is the thermal protection duration of physical channel, avrInterval
irepresent average time interval during this secondary data request, avrVariance
irepresent equispaced variance during this secondary data request, Max () gets maximum wherein to two numbers in bracket, and γ is default coefficient of variation, and concrete numerical value can be arranged as required, and the present embodiment is not specifically limited this.
310: if once communicated on also not carrying out when this preheating moment arrives, then start periodically to give out a contract for a project this physical channel of preheating till communication starts next time.
If before this preheating moment arrives, communicate, then without the need to carrying out preheating to physical channel, communicate for this, can perform according to the method described above, not repeat next time next time herein.
The said method that the present embodiment provides can be applied to terminal.The physical channel related to refers to the channel set up on network interface layer, refers to the physical channel between terminal and the base station of network side.The preheating related to refers to sets up physical channel before data is transmitted.The bag that the periodicity related to is sent out can be any one bag.Particularly, see the description in embodiment 1, can not repeat herein.
The said method that the present embodiment provides, by receiving this secondary data request, calculate the time interval between described secondary data request and last request of data, according to the thermal protection duration of the described time interval and physical channel, calculate the preheating moment of physical channel, if once communicated on also not carrying out when the described preheating moment arrives, then start periodically to give out a contract for a project physical channel described in preheating till communication starts next time, the physical channel when thermal protection duration reaches can be avoided automatically to discharge, the preheating moment according to calculating can carry out preheating to physical channel before upper once request of data, keep the connection of physical channel, the time of physical channel is re-established when saving request of data next time, drastically increase data transmission efficiency, improve service quality.
Embodiment 4
See Fig. 4, present embodiments provide a kind of device of preheating channel, comprising:
Receiver module 401, for receiving this secondary data request;
Computing module 402, for calculating the time interval between this secondary data request and last request of data; According to the thermal protection duration of this time interval and physical channel, calculate the preheating moment of physical channel;
Warm-up block 403, if once communicated on also not carrying out when this preheating moment arrives, then starts periodically to give out a contract for a project this physical channel of preheating till communication starts next time.
See Fig. 5, in the present embodiment, computing module 402 can comprise:
Average time interval computing unit 402a, for calculating average time interval during this secondary data request according to this time interval;
Equispaced variance computing unit 402b, for calculating equispaced variance during this secondary data request according to this time interval and this average time interval;
Preheating moment computing unit 402c, for the thermal protection duration according to this average time interval, equispaced variance and physical channel, calculates the preheating moment of physical channel.
In the present embodiment, above-mentioned average time interval computing unit may be used for:
The average time interval calculated when obtaining this last request of data; Sue for peace after each self-corresponding weight factor is multiplied by respectively to the average time interval calculated during this last request of data and this time interval, obtain average time interval during this secondary data request; Wherein, the weight factor that the average time interval calculated during this last request of data is corresponding is the first default weight factor, and weight factor corresponding to this time interval is 1 deduct the difference after this first weight factor.
In the present embodiment, above-mentioned equispaced variance computing unit may be used for:
Deduct this average time interval with this time interval and obtain a variance; Sue for peace after each self-corresponding weight factor is not multiplied by the equispaced variance calculated during this last request of data and the party's difference, obtain equispaced variance during this secondary data request; Wherein, weight factor corresponding to the equispaced variance calculated during this last request of data is the second default weight factor, and weight factor corresponding to this variance is 1 deduct the difference after this second weight factor.
In the present embodiment, above-mentioned preheating moment computing unit is used for:
Deduct the product of default coefficient of variation and this equispaced variance with this average time interval, obtain estimating duration; Maximum is got between the thermal protection duration and this estimation duration of this physical channel; Moment of this this secondary data request and the summation of this maximum are obtained to the preheating moment of this physical channel.
The said apparatus that the present embodiment provides can perform the method provided in above-mentioned either method embodiment, and detailed process is shown in the description in embodiment of the method, does not repeat herein.
The said apparatus that the present embodiment provides, by receiving this secondary data request, calculate the time interval between described secondary data request and last request of data, according to the thermal protection duration of the described time interval and physical channel, calculate the preheating moment of physical channel, if once communicated on also not carrying out when the described preheating moment arrives, then start periodically to give out a contract for a project physical channel described in preheating till communication starts next time, the physical channel when thermal protection duration reaches can be avoided automatically to discharge, the preheating moment according to calculating can carry out preheating to physical channel before upper once request of data, keep the connection of physical channel, the time of physical channel is re-established when saving request of data next time, drastically increase data transmission efficiency, improve service quality.
Embodiment 5
See Fig. 6, present embodiments provide a kind of terminal 600, communication unit 610 can be comprised, include the memory 620 of one or more non-volatile readable storage mediums, input unit 630, display unit 640, transducer 650, voicefrequency circuit 660, WiFi (wirelessfidelity, Wireless Fidelity) module 670, include the parts such as processor 680 and power supply 690 that more than or processes core.
It will be understood by those skilled in the art that the restriction of the not structure paired terminal of the terminal structure shown in Fig. 6, the parts more more or less than diagram can be comprised, or combine some parts, or different parts are arranged.Wherein:
Communication unit 610 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, this communication unit 610 can be RF (RadioFrequency, radio frequency) circuit, router, modulator-demodulator, etc. network communication equipment.Especially, when communication unit 610 is RF circuit, after being received by the downlink information of base station, more than one or one processor 680 is transferred to process; In addition, base station is sent to by relating to up data.Usually, RF circuit as communication unit includes but not limited to antenna, at least one amplifier, tuner, one or more oscillator, subscriber identity module (SIM) card, transceiver, coupler, LNA (LowNoiseAmplifier, low noise amplifier), duplexer etc.In addition, communication unit 610 can also by radio communication and network and other devices communicatings.Described radio communication can use arbitrary communication standard or agreement, include but not limited to GSM (GlobalSystemofMobilecommunication, global system for mobile communications), GPRS (GeneralPacketRadioService, general packet radio service), CDMA (CodeDivisionMultipleAccess, code division multiple access), WCDMA (WidebandCodeDivisionMultipleAccess, Wideband Code Division Multiple Access (WCDMA)), LTE (LongTermEvolution, Long Term Evolution), Email, SMS (ShortMessagingService, Short Message Service) etc.Memory 620 can be used for storing software program and module, and processor 680 is stored in software program and the module of memory 620 by running, thus performs the application of various function and data processing.Memory 620 mainly can comprise storage program district and store data field, and wherein, storage program district can storage operation system, application program (such as sound-playing function, image player function etc.) etc. needed at least one function; Store data field and can store the data (such as voice data, phone directory etc.) etc. created according to the use of terminal 600.In addition, memory 620 can comprise high-speed random access memory, can also comprise nonvolatile memory, such as at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memory 620 can also comprise Memory Controller, to provide the access of processor 680 and input unit 630 pairs of memories 620.
Input unit 630 can be used for the numeral or the character information that receive input, and produces and to arrange with user and function controls relevant keyboard, mouse, action bars, optics or trace ball signal and inputs.Alternatively, input unit 630 can comprise Touch sensitive surface 630a and other input equipments 630b.Touch sensitive surface 630a, also referred to as touch display screen or Trackpad, user can be collected or neighbouring touch operation (such as user uses any applicable object or the operations of annex on Touch sensitive surface 630a or near Touch sensitive surface 630a such as finger, stylus) thereon, and drive corresponding jockey according to the formula preset.Optionally, Touch sensitive surface 630a can comprise touch detecting apparatus and touch controller two parts.Wherein, touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation brings, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 680, and the order that energy receiving processor 680 is sent also is performed.In addition, the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave can be adopted to realize Touch sensitive surface 630a.Except Touch sensitive surface 630a, input unit 630 can also comprise other input equipments 630b.Alternatively, other input equipments 630b can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.
Display unit 640 can be used for the various graphical user interface showing information or the information being supplied to user and the terminal 600 inputted by user, and these graphical user interface can be made up of figure, text, icon, video and its combination in any.Display unit 640 can comprise display floater 640a, optionally, the form such as LCD (LiquidCrystalDisplay, liquid crystal display), OLED (OrganicLight-EmittingDiode, Organic Light Emitting Diode) can be adopted to configure display floater 640a.Further, Touch sensitive surface 630a can cover display floater 640a, when Touch sensitive surface 630a detects thereon or after neighbouring touch operation, send processor 680 to determine the type of touch event, on display floater 640a, provide corresponding vision to export with preprocessor 680 according to the type of touch event.Although in figure 6, Touch sensitive surface 630a and display floater 640a be as two independently parts realize inputting and input function, in certain embodiments, can by integrated for Touch sensitive surface 630a and display floater 640a and realize input and output function.
Terminal 600 also can comprise at least one transducer 650, such as optical sensor, motion sensor and other transducers.Alternatively, optical sensor can comprise ambient light sensor and proximity transducer, and wherein, ambient light sensor the light and shade of environmentally light can regulate the brightness of display floater 640a, proximity transducer when terminal 600 moves in one's ear, can cut out display floater 640a and/or backlight.As the one of motion sensor, Gravity accelerometer can detect the size of all directions (are generally three axles) acceleration, size and the direction of gravity can be detected time static, can be used for identifying the application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of mobile phone attitude, Vibration identification correlation function (such as pedometer, knock) etc.; As for terminal 600 also other transducers such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, do not repeat them here.
Voicefrequency circuit 660, loud speaker 660a, microphone 660b can provide the audio interface between user and terminal 600.Voicefrequency circuit 660 can by receive voice data conversion after the signal of telecommunication, be transferred to loud speaker 660a, by loud speaker 660a be converted to voice signal export; On the other hand, the voice signal of collection is converted to the signal of telecommunication by microphone 660b, voice data is converted to after being received by voicefrequency circuit 660, after again voice data output processor 680 being processed, through RF circuit 610 to send to such as another terminal, or export voice data to memory 620 to process further.Voicefrequency circuit 660 also may comprise earphone jack, to provide the communication of peripheral hardware earphone and terminal 600.
In order to realize radio communication, this terminal can be configured with wireless communication unit 670, this wireless communication unit 670 can be WiFi module.WiFi belongs to short range wireless transmission technology, and by wireless communication unit 670, terminal 600 can help that user sends and receive e-mail, browsing page and access streaming video etc., and its broadband internet wireless for user provides is accessed.Although Fig. 6 shows wireless communication unit 670, be understandable that, it does not belong to must forming of terminal 600, can omit in the scope of essence not changing invention as required completely.
Processor 680 is control centres of terminal 600, utilize the various piece of various interface and the whole mobile phone of connection, software program in memory 620 and/or module is stored in by running or performing, and call the data be stored in memory 620, perform various function and the deal with data of terminal 600, thus integral monitoring is carried out to mobile phone.Optionally, processor 680 can comprise one or more process core; Preferably, processor 680 accessible site application processor and modem processor, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor mainly processes radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in processor 680.
Terminal 600 also comprises the power supply 690 (such as battery) of powering to all parts, preferably, power supply can be connected with processor 680 logic by power-supply management system, thus realizes the functions such as management charging, electric discharge and power managed by power-supply management system.Power supply 690 can also comprise one or more direct current or AC power, recharging system, power failure detection circuit, power supply changeover device or the random component such as inverter, power supply status indicator.
Although not shown, terminal 600 can also comprise camera, bluetooth module etc., does not repeat them here.
Above composition graphs 6 gives the alternate configurations of terminal 600, and wherein one or more modules to be stored in described memory and to be configured to be performed by described one or more processor, and described one or more module has following function:
Receive this secondary data request;
Calculate the time interval between described secondary data request and last request of data;
According to the thermal protection duration of the described time interval and physical channel, calculate the preheating moment of physical channel;
If once communicated on also not carrying out when the described preheating moment arrives, then start periodically to give out a contract for a project physical channel described in preheating till communication starts next time.
Wherein, the described thermal protection duration according to the described time interval and physical channel, calculates the preheating moment of physical channel, comprising:
Average time interval when calculating this secondary data request according to the described time interval; Equispaced variance when calculating this secondary data request according to the described time interval and described average time interval; According to the thermal protection duration of described average time interval, equispaced variance and physical channel, calculate the preheating moment of physical channel.
Wherein, described average time interval when calculating this secondary data request according to the described time interval, comprising:
The average time interval calculated when obtaining described last request of data; Sue for peace after each self-corresponding weight factor is multiplied by respectively to the average time interval calculated during described last request of data and the described time interval, obtain average time interval during this secondary data request; Particularly, the weight factor that the average time interval calculated during described last request of data is corresponding is the first default weight factor, and weight factor corresponding to the described time interval is 1 deduct the difference after described first weight factor.
Wherein, described equispaced variance when calculating this secondary data request according to the described time interval and described average time interval, comprising:
Deduct described average time interval with the described time interval and obtain a variance; Sue for peace after each self-corresponding weight factor is multiplied by respectively to the equispaced variance calculated during described last request of data and described variance, obtain equispaced variance during this secondary data request; Particularly, weight factor corresponding to the equispaced variance calculated during described last request of data is the second default weight factor, and weight factor corresponding to described variance is 1 deduct the difference after described second weight factor.
Wherein, the described thermal protection duration according to described average time interval, equispaced variance and physical channel, calculates the preheating moment of physical channel, comprising:
Deduct the product of default coefficient of variation and described equispaced variance with described average time interval, obtain estimating duration; Maximum is got between the thermal protection duration and described estimation duration of described physical channel; Moment of described secondary data request and the summation of described maximum are obtained to the preheating moment of described physical channel.
The above-mentioned terminal that the present embodiment provides, by receiving this secondary data request, calculate the time interval between described secondary data request and last request of data, according to the thermal protection duration of the described time interval and physical channel, calculate the preheating moment of physical channel, if once communicated on also not carrying out when the described preheating moment arrives, then start periodically to give out a contract for a project physical channel described in preheating till communication starts next time, the physical channel when thermal protection duration reaches can be avoided automatically to discharge, the preheating moment according to calculating can carry out preheating to physical channel before upper once request of data, keep the connection of physical channel, the time of physical channel is re-established when saving request of data next time, drastically increase data transmission efficiency, improve service quality.
Embodiment 6
Embodiments provide a kind of non-volatile readable storage medium, one or more module (programs) is stored in this storage medium, when this one or more module is employed in a device, this equipment can be made to perform the instruction (instructions) of following steps:
Receive this secondary data request;
Calculate the time interval between described secondary data request and last request of data;
According to the thermal protection duration of the described time interval and physical channel, calculate the preheating moment of physical channel;
If once communicated on also not carrying out when the described preheating moment arrives, then start periodically to give out a contract for a project physical channel described in preheating till communication starts next time.
Wherein, the described thermal protection duration according to the described time interval and physical channel, calculates the preheating moment of physical channel, comprising:
Average time interval when calculating this secondary data request according to the described time interval; Equispaced variance when calculating this secondary data request according to the described time interval and described average time interval; According to the thermal protection duration of described average time interval, equispaced variance and physical channel, calculate the preheating moment of physical channel.
Wherein, described average time interval when calculating this secondary data request according to the described time interval, comprising:
The average time interval calculated when obtaining described last request of data; Sue for peace after each self-corresponding weight factor is multiplied by respectively to the average time interval calculated during described last request of data and the described time interval, obtain average time interval during this secondary data request; Particularly, the weight factor that the average time interval calculated during described last request of data is corresponding is the first default weight factor, and weight factor corresponding to the described time interval is 1 deduct the difference after described first weight factor.
Wherein, described equispaced variance when calculating this secondary data request according to the described time interval and described average time interval, comprising:
Deduct described average time interval with the described time interval and obtain a variance; Sue for peace after each self-corresponding weight factor is multiplied by respectively to the equispaced variance calculated during described last request of data and described variance, obtain equispaced variance during this secondary data request; Particularly, weight factor corresponding to the equispaced variance calculated during described last request of data is the second default weight factor, and weight factor corresponding to described variance is 1 deduct the difference after described second weight factor.
Wherein, the described thermal protection duration according to described average time interval, equispaced variance and physical channel, calculates the preheating moment of physical channel, comprising:
Deduct the product of default coefficient of variation and described equispaced variance with described average time interval, obtain estimating duration; Maximum is got between the thermal protection duration and described estimation duration of described physical channel; Moment of described secondary data request and the summation of described maximum are obtained to the preheating moment of described physical channel.
The above-mentioned non-volatile readable storage medium that the present embodiment provides, by receiving this secondary data request, calculate the time interval between described secondary data request and last request of data, according to the thermal protection duration of the described time interval and physical channel, calculate the preheating moment of physical channel, if once communicated on also not carrying out when the described preheating moment arrives, then start periodically to give out a contract for a project physical channel described in preheating till communication starts next time, the physical channel when thermal protection duration reaches can be avoided automatically to discharge, the preheating moment according to calculating can carry out preheating to physical channel before upper once request of data, keep the connection of physical channel, the time of physical channel is re-established when saving request of data next time, drastically increase data transmission efficiency, improve service quality.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of non-volatile readable storage medium, described non-volatile readable storage medium can be read-only memory, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (2)
1. a method for preheating channel, is characterized in that, described method comprises:
Receive this secondary data request;
Calculate the time interval between described secondary data request and last request of data;
The average time interval calculated when obtaining described last request of data;
Sue for peace after each self-corresponding weight factor is multiplied by respectively to the average time interval calculated during described last request of data and the described time interval, obtain average time interval during this secondary data request;
Deduct described average time interval with the described time interval and obtain a variance;
Sue for peace after each self-corresponding weight factor is multiplied by respectively to the equispaced variance calculated during described last request of data and described variance, obtain equispaced variance during this secondary data request;
Deduct the product of default coefficient of variation and described equispaced variance with described average time interval, obtain estimating duration;
Maximum is got between the thermal protection duration and described estimation duration of described physical channel;
Moment of described secondary data request and the summation of described maximum are obtained to the preheating moment of described physical channel;
If once communicated on also not carrying out when the described preheating moment arrives, then start periodically to give out a contract for a project physical channel described in preheating till communication starts next time;
Wherein, the weight factor that the average time interval calculated during described last request of data is corresponding is the first default weight factor, and weight factor corresponding to the described time interval is 1 deduct the difference after described first weight factor; Weight factor corresponding to the equispaced variance calculated during described last request of data is the second default weight factor, and weight factor corresponding to described variance is 1 deduct the difference after described second weight factor.
2. a device for preheating channel, is characterized in that, described device comprises:
Receiver module, for receiving this secondary data request;
Computing module, for calculating the time interval between described secondary data request and last request of data; According to the thermal protection duration of the described time interval and physical channel, calculate the preheating moment of physical channel;
Warm-up block, if once communicated on also not carrying out when the described preheating moment arrives, then starts periodically to give out a contract for a project physical channel described in preheating till communication starts next time;
Wherein, described computing module comprises:
Average time interval computing unit, the average time interval calculated during for obtaining described last request of data; Sue for peace after each self-corresponding weight factor is multiplied by respectively to the average time interval calculated during described last request of data and the described time interval, obtain average time interval during this secondary data request;
Equispaced variance computing unit, obtains a variance for deducting described average time interval with the described time interval; Sue for peace after each self-corresponding weight factor is multiplied by respectively to the equispaced variance calculated during described last request of data and described variance, obtain equispaced variance during this secondary data request;
Preheating moment computing unit, for deducting the product of default coefficient of variation and described equispaced variance with described average time interval, obtains estimating duration; Maximum is got between the thermal protection duration and described estimation duration of described physical channel; Moment of described secondary data request and the summation of described maximum are obtained to the preheating moment of described physical channel;
Wherein, the weight factor that the average time interval calculated during described last request of data is corresponding is the first default weight factor, and weight factor corresponding to the described time interval is 1 deduct the difference after described first weight factor; Weight factor corresponding to the equispaced variance calculated during described last request of data is the second default weight factor, and weight factor corresponding to described variance is 1 deduct the difference after described second weight factor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310645773.0A CN104092649B (en) | 2013-12-04 | 2013-12-04 | The method and apparatus of preheating channel |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310645773.0A CN104092649B (en) | 2013-12-04 | 2013-12-04 | The method and apparatus of preheating channel |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104092649A CN104092649A (en) | 2014-10-08 |
CN104092649B true CN104092649B (en) | 2016-01-06 |
Family
ID=51640331
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310645773.0A Active CN104092649B (en) | 2013-12-04 | 2013-12-04 | The method and apparatus of preheating channel |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104092649B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102588143B1 (en) * | 2018-11-07 | 2023-10-13 | 삼성전자주식회사 | Storage device including memory controller and method of operating electronic systme including memory |
CN109933544B (en) * | 2019-03-13 | 2023-07-04 | 广州华多网络科技有限公司 | Data preheating method, device, server and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1130011A (en) * | 1994-06-27 | 1996-08-28 | 诺基亚电信公司 | Method for allocating radio channels |
CN101360336A (en) * | 2007-08-02 | 2009-02-04 | 大唐移动通信设备有限公司 | Keeping method for customer equipment connection state, customer equipment and scheduling device |
CN101496437A (en) * | 2006-08-01 | 2009-07-29 | 高通股份有限公司 | Dynamic warm-up time for a wireless device in idle mode |
CN102970155A (en) * | 2011-09-09 | 2013-03-13 | 微软公司 | Keep alive management |
-
2013
- 2013-12-04 CN CN201310645773.0A patent/CN104092649B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1130011A (en) * | 1994-06-27 | 1996-08-28 | 诺基亚电信公司 | Method for allocating radio channels |
CN101496437A (en) * | 2006-08-01 | 2009-07-29 | 高通股份有限公司 | Dynamic warm-up time for a wireless device in idle mode |
CN101360336A (en) * | 2007-08-02 | 2009-02-04 | 大唐移动通信设备有限公司 | Keeping method for customer equipment connection state, customer equipment and scheduling device |
CN102970155A (en) * | 2011-09-09 | 2013-03-13 | 微软公司 | Keep alive management |
Also Published As
Publication number | Publication date |
---|---|
CN104092649A (en) | 2014-10-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10269163B2 (en) | Method and apparatus for switching real-time image in instant messaging | |
CN103716331B (en) | Method, terminal, server and system for numerical value transfer | |
CN105005909A (en) | Method and device for predicting lost users | |
CN104519485A (en) | Communication method between terminals, devices and system | |
CN104135502B (en) | A kind of method, relevant device and system realizing application message and remind | |
CN105224556A (en) | Waterfall stream interface display packing and device | |
CN104954159A (en) | Network information statistics method and device | |
CN103068016B (en) | The method of mobile terminal and reduction power consumption thereof | |
CN105094501A (en) | Display method, device and system for messages in mobile terminal | |
CN104253870B (en) | The method and apparatus of control data access cycle | |
CN107104763A (en) | A kind of method and apparatus that Retransmission timeout duration is set | |
CN104660769A (en) | Method, device and system for adding contact person information | |
CN104571778A (en) | Lock screen screen setting method and device | |
CN103944922B (en) | Data processing method, terminal, server and system | |
CN104574452A (en) | Generating method and device for window background | |
CN104346028A (en) | Address bar display method, device and mobile terminal | |
CN103677944B (en) | A kind of method for making locking screen interface, device and terminal device | |
CN103561155B (en) | Send the method for note, device and terminal | |
CN105430035A (en) | Network data uploading method and device | |
CN104869550A (en) | Communication event processing method and device | |
CN104092657A (en) | Information transmission method, device and system | |
CN104092649B (en) | The method and apparatus of preheating channel | |
CN104954414A (en) | Method of information exchange, terminal, server and system | |
CN113038513A (en) | Method, terminal device and storage medium for independent networking weak coverage | |
CN104918130A (en) | Methods for transmitting and playing multimedia information, devices 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 | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |