CN101262238B - An electronic device and communication access cycle control method based on electronic device - Google Patents

An electronic device and communication access cycle control method based on electronic device Download PDF

Info

Publication number
CN101262238B
CN101262238B CN2008100932369A CN200810093236A CN101262238B CN 101262238 B CN101262238 B CN 101262238B CN 2008100932369 A CN2008100932369 A CN 2008100932369A CN 200810093236 A CN200810093236 A CN 200810093236A CN 101262238 B CN101262238 B CN 101262238B
Authority
CN
China
Prior art keywords
access
module
random
communication
communication cycle
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.)
Expired - Fee Related
Application number
CN2008100932369A
Other languages
Chinese (zh)
Other versions
CN101262238A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2008100932369A priority Critical patent/CN101262238B/en
Publication of CN101262238A publication Critical patent/CN101262238A/en
Application granted granted Critical
Publication of CN101262238B publication Critical patent/CN101262238B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses an electronic device and a communication access cycle control method which is based on the electronic device. The electronic device comprises at least two communication modules, one of which is an access module and the other one thereof is an accessed module; the electronic device further comprises a parameter storage module, a random access cycle generation module and a random access periodic calculation module; the relevant parameters of the communication access cycle are calculated according to the energy consumption and responding requirements and are stored in the electronic device; the communication cycle value is calculated according to the generated random integral numbers and the relevant parameters of the communication access cycle; the access module of the electronic device sends out communication access instructions to the accessed module according to the calculated communication cycle value. The adoption of the technical proposal of the invention improves the conflict among the responding and timeliness in the communication modules and the energy consumption in the communication cycle control process.

Description

A kind of electronic installation reaches the communications access periodic Control method based on electronic installation
Technical field
The present invention relates to a kind of electronic installation and based on the communications access periodic Control method of electronic installation.
Background technology
The communication cycle of present terminal control module and Be Controlled module, under the situation of no clear and definite normalized definition, the strategy that adopts is: adopt the visit of the cycle of fixed cycle or even step-length to the Be Controlled module, as: PHS (power mobile phone) terminal is 20 seconds to the proof cycle of private network environment, is 1 minute to the sense cycle of blocking.The parameter that control module writes according to terminal inner (numerical value) is provided with corresponding timer after the terminal initialization, produce regularly to interrupt.
The problem that causes thus is: the response between the module is untimely or energy consumption is too high.Because the response promptness be directly proportional with communication cycle length: promptly the cycle short more, promptness is good more; Energy consumption and communication cycle length are inversely proportional to: promptly the cycle long more, energy consumption is low more.
Also there is similar problem in communication module for other.
Summary of the invention
The technical problem to be solved in the present invention is, provides a kind of electronic installation with the communications access periodic Control method based on electronic installation, improved the response promptness between the communication module and the contradiction between the energy consumption in the communication cycle control procedure.
In order to address the above problem, the invention provides a kind of electronic installation, comprising: at least two communication modules, one is access modules, and one is accessed module, also comprises a parameter memory module, a random access period generation module and a random access period computing module, wherein:
Parameter memory module: link to each other with described random access period computing module, be used to store the communications access cycle relevant parameter that calculates according to energy consumption and response requirement;
Random access period generation module: directly link to each other with the random access period computing module, be used to produce the standard random integers;
Random access period computing module: link to each other with access modules, be used for calculating the communication cycle value according to communications access cycle relevant parameter and random integers;
Access modules: send the communications access instruction to accessed module according to the communication cycle value that calculates.
Preferably, store communications access cycle relevant parameter in the described parameter memory module, described communications access cycle relevant parameter comprises average and variance, perhaps deviant and scale factor.
Preferably, the random integers that described random access period generation module produces are 0~9, and the frequency that numeral occurs is normal distribution, maximum the longest access cycle of random integers correspondence, minimum the shortest access cycle of random integers correspondence.
Preferably, described random access period computing module is scaled timer time with the communication cycle value that calculates, after timer time arrives, produce an interruption, triggering access modules and accessed module communicates, the random access period generation module will produce new random number, calculate the new communications access cycle.
Preferably, described electronic installation is a mobile phone.
A kind of communications access periodic Control method based on electronic installation may further comprise the steps:
(1) requires to calculate communications access cycle relevant parameter and be kept in the electronic installation according to energy consumption and response;
(2) according to random integers that produce and the described communication cycle relevant parameter that calculates, calculate the communication cycle value;
(3) access modules in the described electronic installation is sent the communications access instruction according to the described communication cycle value that calculates to accessed module.
Further, by prolonging the reduction that realizes described energy consumption average period in communications access cycle; Promptness by control response access cycle of control maximum communication.
Further, described communications access periodic quantity obtains by one of following dual mode: a kind of is directly directly to calculate the communication cycle value by deviant and scale factor; Perhaps, deviant with scale factor is converted to average and variance calculates the communication cycle value again.
Further, described random integers are 0~9, and the frequency that numeral occurs is normal distribution, maximum the longest access cycle of random integers correspondence, minimum the shortest access cycle of random integers correspondence.
Further, step (3) further comprises:
The described communications access periodic quantity that calculates is provided with timer time, after timer time arrives, produces an interruption, triggering access modules and accessed module communicates, repeating step (2) according to the new random number that produces, calculates the new communications access cycle simultaneously.
Beneficial effect of the present invention:
Compared with prior art, the present invention can dynamically change the access cycle between the communication module according to the actual needs, has realized balance and optimization between response cycle and energy consumption.In addition, owing to can realize user's individual demand, higher flexibility is arranged by the outside with the writing of parameter.
Description of drawings
Fig. 1 is each functional module connection diagram in the device of the present invention;
Fig. 2 is the flow chart of the method for the invention.
Embodiment
The present invention is by with the communication cycle randomization, provides with the form of probability density function, and by the relevant parameter of definition communication cycle, thereby the control communication cycle is to improve response promptness between the communication module and the contradiction between the energy consumption.
Below in conjunction with accompanying drawing and preferred embodiment technical scheme of the present invention is described in further detail:
As shown in Figure 1, a kind of electronic installation of the present invention, this device comprises at least two communication modules, one is access modules 14, one is accessed module (not shown), also comprise 11, one random access period generation modules 12 of a parameter memory module and a random access period computing module 13 (timer), wherein:
Parameter memory module 11: link to each other with random access period computing module 13, be used to store the communications access cycle relevant parameter that calculates according to energy consumption and response requirement;
Random access period generation module 12: directly link to each other with random access period computing module 13, be used to produce the standard random integers;
Random access period computing module 13: link to each other 14 with access modules, be used for calculating the communications access cycle according to communications access cycle relevant parameter and random integers;
Access modules 14: send communications access according to the communications access cycle that calculates to accessed module and instruct.
Described electronic installation is a mobile phone.
As shown in Figure 2, a kind of communications access periodic Control method based on electronic installation of the present invention may further comprise the steps:
Step S101: the relevant parameter that requires to calculate the communications access cycle according to energy consumption and response;
Step S102: it is standby that the relevant parameter that calculates is kept at the mobile phone terminal zone;
Step S103:, calculate the communications access cycle according to random integers that produce and the communications access cycle relevant parameter that calculates;
Step S104: the access modules in the described electronic installation is sent the communications access instruction according to the described communication cycle value that calculates to accessed module.
The described communications access cycle can obtain by dual mode: a kind of is directly directly to calculate the communications access cycle by deviant and scale factor; Perhaps deviant with scale factor is converted to average and variance calculates the communications access cycle again.
Below in conjunction with instantiation technical scheme of the present invention is described further.
For example: the communications access cycle between certain communication module is 1 minute, for cutting down the consumption of energy, will be extended for 2 minutes average period, and the maximum cycle is no more than 4 minutes; The probability density in communications access cycle is a normal probability paper density, and as shown in Figure 3, the random access period generation module generates 0~9 integer, and the probability that numeral occurs is normal distribution.
Step S201: require to calculate the relevant parameter of communication cycle according to energy consumption and response, present embodiment comprises scale factor and deviant;
According to designing requirement, by prolonging the reduction that realizes energy consumption average period.In this example, reduce half requirement according to energy consumption, average time of response was extended to 2 minutes from 1 minute, by controlling the promptness of maximum cycle control response, prevent that the long response time is untimely to the response of communication, the longest response time is the degrees of tolerance of user's reality.
The longest time is 4 minutes in this example, and it is negative that the long response time of while may be calculated the actual response time of back, and in actual applications, the response time scope in cycle is:
[average time-min (maximum duration-average time, average time), average time+Min (maximum duration-average time, average time)],
In this example, the response time is [0,4], if and the maximum duration requirement is 3, then the scope of response time is [1,3], if maximum duration is 5, response time is [0,4], because average time is constant, though because the difference of institute's coverage, cause there are differences on the individual responses (longest response time), but identical on energy consumption.
The method that random integers 0~9 and control time scope 0~4 are changed has a variety of, with the simplest linear mapping promptly:
The access cycle=scale factor * random integers+deviant;
Maximum the longest access cycle (9 correspondence 4) of random integers correspondence, minimum the shortest access cycle (0 correspondence 0) of random integers correspondence
Can draw scale factor is 4/9 (0.444), and deviant is 0;
Deviant is meant the minimum response time, but when scale factor is negative value, the corresponding maximum response time of deviant; Deviant is the poor of actual value and standard value.
Step S202: with scale factor and the deviant that calculates, the storage area that writes in the mobile phone terminal is standby;
Step S203: the random access period generation module produces random integers in the mobile phone terminal, scope is [0,9], distribution density function is normal distribution, and the random access period computing module calculates the current communications access cycle according to scale factor, the deviant of these random integers and preservation then:
The access cycle=scale factor * random number+deviant
Wherein, scale factor and deviant are the numerical value 0.444 and 0 that is stored in the parameter conservation zone,
Can calculate communication cycle:
Table 1 is the random integers that calculate by the random access period computing module and the relation list of communication cycle:
Random integers Access cycle
0 0
1 0.44
2 0.89
3 1.33
4 1.78
5 2.22
6 2.66
7 3.11
8 3.56
9 4.00
After calculating access cycle, as random integers 9, corresponding 4 minutes access cycle, this value is scaled timer time, as 240 (produce the timer that interrupts for 1 time each second, occurrence is according to concrete timer decision), the timing that starts timer and timer is set is 4 minutes.
Step S204: access modules the current communications access cycle then after, visit accessed module, and return step S203.
In this example, be under 9 the situation when the random integers that produce, the communications access cycle that calculates is 4 minutes, after timer preset time (240s) arrives, produce an interruption, trigger that access modules is communicated, simultaneously repeating step S203, produce new random integers, calculate new communications access cycle and timer numerical value.
It is average and variance that another embodiment can be selected parameter for use, and the standard average of standard random function is 4.5, and standard variance is got σ=1.5; When given parameter was average and variance, advanced line parameter reasonability was judged: average-3* variance>=0, Rational Parameters; Deny, then variance=average/3.
Itself and aforesaid method conversion relation are: scale factor=variance/1.5 (standard variance)
In the linear conversion relation: average=scale factor * 4.5+ deviant.
Other steps are consistent with scheme in the foregoing description, because scale factor and deviant and average and variance can be changed mutually, so directly by calculating scale factor and deviant or can drawing the value in communications access cycle by the method that computation of mean values and variance convert scale factor and deviant again to.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.

Claims (10)

1. an electronic installation comprises at least two communication modules, and one is access modules, and one is accessed module, it is characterized in that, also comprises a parameter memory module, a random access period generation module and a random access period computing module, wherein:
Parameter memory module: link to each other with described random access period computing module, be used to store the communications access cycle relevant parameter that calculates according to energy consumption and response requirement;
Random access period generation module: directly link to each other with the random access period computing module, be used to produce random integers;
Random access period computing module: link to each other with access modules, be used for calculating the communication cycle value according to communications access cycle relevant parameter and random integers;
Access modules: send the communications access instruction to accessed module according to the communication cycle value that calculates.
2. device as claimed in claim 1 is characterized in that, stores communications access cycle relevant parameter in the described parameter memory module, and described communications access cycle relevant parameter comprises average and variance, perhaps deviant and scale factor.
3. device as claimed in claim 1, it is characterized in that the random integers that described random access period generation module produces are 0~9, the frequency that numeral occurs is normal distribution, the maximum the longest communication cycle value of random integers correspondence, the minimum the shortest communication cycle value of random integers correspondence.
4. device as claimed in claim 1, it is characterized in that, described random access period computing module is scaled timer time with the communication cycle value that calculates, after timer time arrives, produce an interruption, trigger access modules and accessed module and communicate, the random access period generation module will produce new random number, calculate new communication cycle value.
5. device as claimed in claim 1 is characterized in that, described electronic installation is a mobile phone.
6. the communications access periodic Control method based on electronic installation is characterized in that, may further comprise the steps:
(1) requires to calculate communications access cycle relevant parameter and be kept in the electronic installation according to energy consumption and response;
(2) according to random integers that produce and the described communications access cycle relevant parameter that calculates, calculate the communication cycle value;
(3) access modules in the described electronic installation is sent the communications access instruction according to the described communication cycle value that calculates to accessed module.
7. method as claimed in claim 6 is characterized in that, by prolonging the reduction that realizes described energy consumption average period in communications access cycle; Promptness by control response access cycle of control maximum communication.
8. method as claimed in claim 6 is characterized in that, described communication cycle value obtains by one of following dual mode: a kind of is directly to calculate the communication cycle value by deviant and scale factor; Perhaps deviant with scale factor is converted to average and variance calculates the communication cycle value again.
9. method as claimed in claim 6 is characterized in that, described random integers are 0~9, and the frequency that numeral occurs is normal distribution, the maximum the longest communication cycle value of random integers correspondence, the minimum the shortest communication cycle value of random integers correspondence.
10. method as claimed in claim 6 is characterized in that, step (3) further comprises:
The described communication cycle value that calculates is provided with timer time, after timer time arrives, produces an interruption, triggering access modules and accessed module communicates, repeating step (2) according to the new random number that produces, calculates new communication cycle value simultaneously.
CN2008100932369A 2008-04-23 2008-04-23 An electronic device and communication access cycle control method based on electronic device Expired - Fee Related CN101262238B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008100932369A CN101262238B (en) 2008-04-23 2008-04-23 An electronic device and communication access cycle control method based on electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008100932369A CN101262238B (en) 2008-04-23 2008-04-23 An electronic device and communication access cycle control method based on electronic device

Publications (2)

Publication Number Publication Date
CN101262238A CN101262238A (en) 2008-09-10
CN101262238B true CN101262238B (en) 2011-08-24

Family

ID=39962494

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008100932369A Expired - Fee Related CN101262238B (en) 2008-04-23 2008-04-23 An electronic device and communication access cycle control method based on electronic device

Country Status (1)

Country Link
CN (1) CN101262238B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104253870B (en) * 2014-09-29 2018-01-12 广州华多网络科技有限公司 The method and apparatus of control data access cycle

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6469997B1 (en) * 1999-05-03 2002-10-22 Motorola, Inc. Method for transmitting collision-free messages in a digital selective call signaling protocol
CN1720508A (en) * 2002-11-29 2006-01-11 松下电器产业株式会社 Mobile terminal apparatus

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6469997B1 (en) * 1999-05-03 2002-10-22 Motorola, Inc. Method for transmitting collision-free messages in a digital selective call signaling protocol
CN1720508A (en) * 2002-11-29 2006-01-11 松下电器产业株式会社 Mobile terminal apparatus

Also Published As

Publication number Publication date
CN101262238A (en) 2008-09-10

Similar Documents

Publication Publication Date Title
Luo et al. Green communication in energy renewable wireless mesh networks: Routing, rate control, and power allocation
Sharma et al. Optimal energy management policies for energy harvesting sensor nodes
Jiang et al. Load shaping strategy based on energy storage and dynamic pricing in smart grid
KR102069658B1 (en) Respensive load control method
Lange et al. Energy efficiency limits of load adaptive networks
Abedin et al. Fog load balancing for massive machine type communications: A game and transport theoretic approach
CN104427507A (en) Method for self-adaption of Wi-Fi channel range and wireless access equipment controller
CN101697562A (en) Mobile terminal and method for displaying power consumption rate thereof
CN106992525A (en) Management of power load method and apparatus
CN101262238B (en) An electronic device and communication access cycle control method based on electronic device
Aoudia et al. GRAPMAN: Gradual power manager for consistent throughput of energy harvesting wireless sensor nodes
CN104125274A (en) Electric quantity control method, internet of things terminal and internet of things server
CN101937397A (en) Mobile intelligent terminal and dynamic memory management method thereof
CN105900308A (en) Method of stabilizing an electrical network by load shedding
CN110189056A (en) A kind of method of electric power system dispatching, system and equipment
CN113708423A (en) Active power scheduling method and system of photovoltaic system
Liu et al. A dynamic load control scheme for smart grid systems
CN109548121A (en) Communication means, device, access point apparatus and the site apparatus of WLAN
US9614580B2 (en) Network device with frequency hopping sequences for all channel-numbers for channel hopping with blacklisting
CN111343705A (en) Intelligent energy-saving network and energy-saving method for 5G communication network element
Kashef et al. Optimal scheduling for energy harvesting sources on time varying wireless channels
CN107196347B (en) Power adjusting method and device
CN106790508B (en) The intelligent home service system of internet of things oriented application
CN114123281A (en) Direct-current bus voltage control method for multi-port direct-current power distribution network system
CN103997037A (en) Load adjusting and controlling method and system for electric power 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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110824

Termination date: 20210423

CF01 Termination of patent right due to non-payment of annual fee