Summary of the invention
Disclosure embodiment provides the control method of broadcasting frequency, device, bluetooth equipment and terminal. Described technical scheme is as follows:
First aspect according to disclosure embodiment, it is provided that a kind of method controlling broadcasting frequency, for bluetooth equipment, including:
Obtain user's sleep state information;
The local terminal frequency to host broadcast message is adjusted according to described user's sleep state information.
In one embodiment, described acquisition user's sleep state information, it may include:
Gather the light intensity of current environment;
User's sleep state information is determined according to described light intensity.
In one embodiment, described acquisition user's sleep state information, it may include:
Obtain the physiological state information of user;
Physiological state information according to described user determines user's sleep state information.
It is in one embodiment, described according to described user's sleep state information adjustment local terminal frequency to host broadcast message, it may include:
When the light intensity of described current environment is less than first threshold, it is determined that user is in asleep state;
The frequency of described current broadcast message is adjusted to first frequency;
When the light intensity of described current environment is more than Second Threshold, it is determined that user is in awake state;
The frequency of described current broadcast message is adjusted to second frequency;
Wherein, described Second Threshold is more than or equal to described first threshold, and described first frequency is more than described second frequency.
In one embodiment, described when the light intensity of described current environment is less than first threshold, it is determined that user is in asleep state; The frequency of described current broadcast message is adjusted to first frequency, it may include:
When the light intensity of described current environment is less than first threshold, it is judged that whether the frequency of current broadcast message is first frequency;
When the frequency of current broadcast message is not first frequency, the frequency of current broadcast message is adjusted to first frequency;
Described when the light intensity of described current environment is more than Second Threshold, it is determined that user is in awake state;The frequency of described current broadcast message is adjusted to second frequency, including:
When the light intensity of described current environment is more than Second Threshold, it is judged that whether the frequency of current broadcast message is second frequency;
When the frequency of current broadcast message is not second frequency, the frequency of current broadcast message is adjusted to second frequency.
It is in one embodiment, described according to described user's sleep state information adjustment local terminal frequency to host broadcast message, it may include:
When the light intensity of described current environment exceedes preset duration less than the 3rd threshold value and duration, it is determined that user is in asleep state;
The frequency of described broadcasting packet is reduced to the preset percentage of the frequency of described current broadcast message.
It is in one embodiment, described according to described user's sleep state information adjustment local terminal frequency to host broadcast message, it may include:
Set up the corresponding relation of light intensity and the frequency of broadcasting packet and store;
The frequency of the broadcasting packet corresponding to light intensity of described current environment is searched according to described corresponding relation;
The frequency of described broadcasting packet is adjusted to the frequency of broadcasting packet corresponding to the light intensity of described current environment.
In one embodiment, after the light intensity of described collection current environment, described method may also include that
The light intensity of described current environment is filtered, it is thus achieved that filtered light intensity. Second aspect according to disclosure embodiment, it is provided that a kind of bluetooth equipment, including: Bluetooth chip, supply module, also include light sensor:
Described supply module, for powering to described Bluetooth chip and described light sensor,
Described light sensor, for gathering the light intensity of current environment;
Described Bluetooth chip, adjusts the local terminal frequency to main frame current broadcast message according to the light intensity of described current environment.
The third aspect according to disclosure embodiment, it is provided that a kind of device controlling broadcasting frequency, for bluetooth equipment, including:
Acquisition module, is used for obtaining user's sleep state information;
Adjusting module, for adjusting the local terminal frequency to host broadcast message according to described user's sleep state information.
In one embodiment, described acquisition module, it may include:
Gather submodule, for gathering the light intensity of current environment;
First determines submodule, for determining user's sleep state information according to described light intensity.
In one embodiment, described acquisition module, may also include that
Obtain submodule, for obtaining the physiological state information of user;
Second determines submodule, determines user's sleep state information for the physiological state information according to described user.
In one embodiment, described adjusting module, it may include:
First adjusts submodule, for when the light intensity of described current environment is less than first threshold, it is determined that user is in asleep state; The frequency of described current broadcast message is adjusted to first frequency;
Second adjusts submodule, for when the light intensity of described current environment is more than Second Threshold, it is determined that user is in awake state; The frequency of described current broadcast message is adjusted to second frequency;
Wherein, described Second Threshold is more than or equal to described first threshold, and described first frequency is more than described second frequency.
In one embodiment, described first adjustment submodule can be additionally used in:
When the light intensity of described current environment is less than first threshold, it is determined that user is in asleep state; Whether the frequency judging current broadcast message is first frequency;
When the frequency of current broadcast message is not first frequency, the frequency of current broadcast message is adjusted to first frequency;
Described second adjusts submodule is additionally operable to:
When the light intensity of described current environment is more than Second Threshold, it is determined that user is in awake state; Whether the frequency judging current broadcast message is second frequency;
When the frequency of current broadcast message is not second frequency, the frequency of current broadcast message is adjusted to second frequency.
In one embodiment, described adjusting module, it may include:
3rd adjusts submodule, for when the light intensity of described current environment exceedes preset duration less than the 3rd threshold value and duration, it is determined that user is in asleep state; The frequency of described broadcasting packet is reduced to the preset percentage of the frequency of described current broadcast message.
In one embodiment, described adjusting module, it may include:
Sub module stored, for setting up the corresponding relation of light intensity and the frequency of broadcasting packet and storing;
Search submodule, be used for the frequency of broadcasting packet corresponding to the light intensity according to the described corresponding relation described current environment of lookup;
4th adjusts submodule, the frequency of the broadcasting packet that light intensity for the frequency of described broadcasting packet is adjusted to described current environment is corresponding.
In one embodiment, described device may also include that
Filtration module, for being filtered the light intensity of described current environment, it is thus achieved that filtered light intensity.
Fourth aspect according to disclosure embodiment, it is provided that a kind of device controlling broadcasting frequency, including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Obtain user's sleep state information;
The local terminal frequency to host broadcast message is adjusted according to described user's sleep state information.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect:
The technical scheme of offer is provided, estimates that user uses the frequency of bluetooth equipment by user's sleep state information, and correspondingly adjust the local terminal frequency to host broadcast message, it is possible to effectively reduce the power consumption of bluetooth equipment.
It should be appreciated that it is only exemplary and explanatory that above general description and details hereinafter describe, the disclosure can not be limited.
Detailed description of the invention
Here in detail exemplary embodiment being illustrated, its example representation is in the accompanying drawings. When as explained below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous key element. Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the disclosure. On the contrary, they only with in appended claims describe in detail, the disclosure some in the example of consistent apparatus and method.
Disclosure embodiment is applied to intelligence plant planting field, for instance, intelligence plant growing environment monitor, but it is not restricted to this field, be there is a need to save the bluetooth equipment of power consumption, and application scenarios and ambient light are had dependency, all in the scope of application of the disclosure.
Disclosure embodiment provides a kind of method controlling broadcasting frequency, as it is shown in figure 1, the method comprising the steps of S101-S102:
In step S101, obtain user's sleep state information.
In step s 102, the local terminal frequency to host broadcast message is adjusted according to user's sleep state information.
Local terminal is bluetooth equipment or the terminal installing this bluetooth equipment, and its application scenarios has low-power consumption demand for this bluetooth equipment, need broadcasting packet always to make main frame it appeared that this equipment. Main frame is receive the message of bluetooth equipment broadcast and find this bluetooth equipment with this, and can send the equipment of instruction, transmission information to this bluetooth equipment, for instance, mobile phone.
Under use above scene, the overall power of low-power consumption bluetooth equipment is segmented into: quiescent dissipation, operating power consumption and broadcasts power consumption. Quiescent dissipation refers to the power consumption keeping the electric current required for current state to produce when equipment enters resting state; Operating power consumption refer to when equipment is in running order include connection status time the power consumption that produces of required electric current; The power consumption that the electric current required when referring to equipment by certain broadcasting frequency broadcasting packet of broadcasts power consumption produces. Wherein quiescent dissipation is all in microampere rank, is almost negligible; Operating power consumption needs to calculate by operating frequency, and the equipment operating frequency of environment measuring class is very low, and the operating power consumption that on average gets off is also non-normally low; Broadcasts power consumption is then a very big expense, it will usually account for more than the 50% of overall power. So reducing broadcasts power consumption is to save very big electricity expense. Broadcasts power consumption depends on every time the transmit power of broadcast and the frequency of broadcast or perhaps the number of times of broadcasting packet in the unit interval under normal circumstances, when the transmit power of broadcast is certain, in the unit interval, the more few broadcasts power consumption of the number of times of broadcasting packet will be more low. And broadcasting frequency can affect user's speed when the equipment of scanning, may result in lengthy scan when broadcasting frequency is relatively low less than equipment, it is problematic that user can take for equipment, but the long-time raising that can cause again power consumption with frequency broadcast faster. The said method of disclosure embodiment is through user's sleep state information and uses the probability of this this equipment to assess user, then regulates broadcasting frequency accordingly, such that it is able to reduce power consumption, extends battery life.
In one embodiment, as in figure 2 it is shown, step S101 can be embodied as following steps S201-S202:
In step s 201, the light intensity of current environment is gathered;
In one embodiment, it is possible to adopt light sensor to gather the light intensity of current environment.
In step S202, determine user's sleep state information according to light intensity.
Illustrate, be defined as night by ambient light intensity, then can determine that user is sleeping, now can extend the interval of local terminal broadcasting packet; If being defined as daytime by ambient light intensity, then can determine that user is awake state, now can by the frequency retrieval of broadcasting packet to normal frequency.
In the present embodiment, judge daytime, night by ambient light intensity and then determine the sleep state of user, and assessing user with this and use the probability of this equipment, then regulating broadcasting frequency accordingly, such that it is able to reduce power consumption, extending battery life.
In one embodiment, as it is shown on figure 3, step S101 also can be embodied as following steps S301-S302:
In step S301, obtain the physiological state information of user.
The physiological state information of user can be the information such as the heart beating of user, breathing, heart rate, limb motion frequency, it is possible to the intelligent wearable device (such as, bracelet) worn by user obtains above-mentioned information.
In step s 302, user's sleep state information is determined according to the physiological state information of user.
If sleep state information is determined by intelligence wearable device, then user's sleep state information can be sent to local terminal, local terminal adjust the local terminal frequency to host broadcast message according to user's sleep state information.
In one embodiment, as shown in Figure 4, step S102 can be embodied as following steps S401-S402:
In step S401, when the light intensity of current environment is less than first threshold, it is determined that user is in asleep state, the frequency of current broadcast message is adjusted to first frequency;
The light intensity of current environment can represent by intensity of illumination. Illustrate, the frequency of current broadcast message is that 15s broadcasts once, first frequency is that 35s broadcasts once, first threshold can be such as 200lx, when the intensity of illumination of current environment is less than 200lx, it may be determined that user is in asleep state or current time is in evening, and judge that user connects the probability of bluetooth equipment at night further can be relatively low, therefore, the frequency of broadcasting packet is once adjusted to 35s once by 10s, hence it is evident that reduce power consumption.
In step S402, when the light intensity of current environment is more than Second Threshold, it is determined that user is in awake state, the frequency of current broadcast message is adjusted to second frequency;
Wherein, Second Threshold is more than or equal to first threshold, and first frequency is more than second frequency.
Second frequency is that 10s broadcasts once, Second Threshold is more than or equal to first threshold, and Second Threshold can be such as 200lx or 500lx, when current intensity of illumination is more than Second Threshold, determine that user is in awake state, the frequency of current broadcast message is adjusted to second frequency.
When current light intensity is between first threshold and Second Threshold, the frequency of current broadcasting packet is not adjusted.
In one embodiment, as it is shown in figure 5, step S401 can comprise the following steps S501-S502:
In step S501, when the light intensity of current environment is less than first threshold, it is judged that whether the frequency of current broadcast message is first frequency;
In step S502, when the frequency of current broadcast message is not first frequency, the frequency of current broadcast message is adjusted to first frequency;
As shown in Figure 6, step S402 can comprise the following steps S601-S602:
In step s 601, when the light intensity of current environment is more than Second Threshold, it is judged that whether the frequency of current broadcast message is second frequency;
In step S602, when the frequency of current broadcast message is not second frequency, the frequency of current broadcast message is adjusted to second frequency.
In the present embodiment, when the light intensity of current environment is less than first threshold, it is judged that whether the frequency of current broadcast message is first frequency, or, when the light intensity of current environment is more than Second Threshold, it is judged that whether the frequency of current broadcast message is second frequency, if it is, do not adjust. In the present embodiment, adding the step of judgement before adjustment, if it is determined that conclusion is yes, then not adjusting, thus reduce further equipment power dissipation.
In one embodiment, step S102 can also be embodied as following steps A:
Step A, when the light intensity of current environment exceedes preset duration less than the 3rd threshold value and duration, it is determined that user is in asleep state, is reduced to the preset percentage of the frequency of current broadcast message by the frequency of broadcasting packet.
In the present embodiment, 3rd threshold value can be such as 200lx, simultaneously in order to prevent erroneous judgement, being provided with preset duration, preset duration can be such as 20 minutes, preset percentage is such as 50%, when current light intensity is less than 200lx, and the persistent period more than 20 minutes time, it is determined that user is in asleep state, now, the frequency of broadcasting packet is reduced to the 50% of ongoing frequency.
In one embodiment, as it is shown in fig. 7, step S102 can also be embodied as following steps S701-S703:
In step s 701, set up the corresponding relation of light intensity and the frequency of broadcasting packet and store;
In step S702, search the frequency of the broadcasting packet corresponding to light intensity of current environment according to corresponding relation;
In step S703, the frequency of broadcasting packet is adjusted to the frequency of broadcasting packet corresponding to the light intensity of current environment.
In order to adjust more accurately, the present embodiment is set up the corresponding relation of light intensity and the frequency of broadcasting packet, when after the light intensity collecting current environment, corresponding relation is searched the frequency of the broadcasting packet of its correspondence, and after finding, the frequency of current broadcast message is adjusted to the frequency found, such that it is able to reach broadcasting frequency is adjusted more accurately.
In one embodiment, as shown in Figure 8, after step slol, said method may also include step S103:
In step s 103, the light intensity of current environment is filtered, it is thus achieved that filtered light intensity.
In the present embodiment, the light intensity of current environment is filtered, it is possible to eliminate the noise of interference.
In one embodiment, program is by the ADC light data collected, after digital filtering module, obtain current environment light, then pass through the mode tabled look-up and obtain the physical values of current light intensity, current physical values and the dark values of light contrast demarcated in advance, when currency is less than dark values of light and after keeping certain time, program controls broadcasting frequency by bluetooth protocol repertory and is reduced to current 1/2nd, to reduce the purpose of overall power.
As it is shown in figure 9, disclosure embodiment also provides for a kind of bluetooth equipment 90, including: Bluetooth chip 91, supply module 92, also include light sensor 93;
Supply module 92, for powering to Bluetooth chip and light sensor,
Light sensor 93, for gathering the light intensity of current environment;
Bluetooth chip 91, adjusts the local terminal frequency to main frame current broadcast message according to the light intensity of current environment.
The workflow of bluetooth equipment 90 is that Bluetooth chip 91 is started working by the power supply circuits in supply module 92, supply module 92 makes its work also to light sensor 93 power supply, light sensor 93 detects ambient light, the ADC channel being connected to Bluetooth chip 91 by Acquisition Circuit reads data, thus judging that current ambient conditions is to change broadcasting frequency.
Following for disclosure device embodiment, it is possible to be used for performing method of disclosure embodiment.
Figure 10 is the block diagram of a kind of device controlling broadcasting frequency according to an exemplary embodiment, and as shown in Figure 10, the device of this control broadcasting frequency includes:
Acquisition module 101, is configured to obtain user's sleep state information;
Adjusting module 102, is configured to adjust the local terminal frequency to host broadcast message according to described user's sleep state information.
The device of this control broadcasting frequency may be used in bluetooth equipment, and the overall power of low-power consumption bluetooth equipment is segmented into: quiescent dissipation, operating power consumption and broadcasts power consumption. Quiescent dissipation refers to the power consumption keeping the electric current required for current state to produce when equipment enters resting state; Operating power consumption refer to when equipment is in running order include connection status time the power consumption that produces of required electric current; The power consumption that the electric current required when referring to equipment by certain broadcasting frequency broadcasting packet of broadcasts power consumption produces. Wherein quiescent dissipation is all in microampere rank, is almost negligible; Operating power consumption needs to calculate by operating frequency, and the equipment operating frequency of environment measuring class is very low, and the operating power consumption that on average gets off is also non-normally low; Broadcasts power consumption is then a very big expense, it will usually account for more than the 50% of overall power. So reducing broadcasts power consumption is to save very big electricity expense. Broadcasts power consumption depends on every time the transmit power of broadcast and the frequency of broadcast or perhaps the number of times of broadcasting packet in the unit interval under normal circumstances, when the transmit power of broadcast is certain, in the unit interval, the more few broadcasts power consumption of the number of times of broadcasting packet will be more low. And broadcasting frequency can affect user's speed when the equipment of scanning, may result in lengthy scan when broadcasting frequency is relatively low less than equipment, it is problematic that user can take for equipment, but the long-time raising that can cause again power consumption with frequency broadcast faster. The said apparatus of disclosure embodiment is through ambient light intensity to judge day and night and to assess user with this and use the probability of this equipment, then regulates broadcasting frequency accordingly, such that it is able to reduce power consumption, extends battery life.
In one embodiment, as shown in figure 11, acquisition module 101, it may include:
Gather submodule 111, be configured to gather the light intensity of current environment;
In one embodiment, it is possible to adopt light sensor to gather the light intensity of current environment.
First determines submodule 112, is configured to determine user's sleep state information according to light intensity.
Illustrate, be defined as night by ambient light intensity, then can determine that user is sleeping, now can extend the interval of local terminal broadcasting packet; If being defined as daytime by ambient light intensity, then can determine that user is awake state, now can by the frequency retrieval of broadcasting packet to normal frequency.
In the present embodiment, judge daytime, night by ambient light intensity and then determine the sleep state of user, and assessing user with this and use the probability of this equipment, then regulating broadcasting frequency accordingly, such that it is able to reduce power consumption, extending battery life.
In one embodiment, as shown in figure 12, acquisition module 101, may also include that
Obtain submodule 121, be configured to obtain the physiological state information of user.
The physiological state information of user can be the information such as the heart beating of user, breathing, heart rate, limb motion frequency, it is possible to the intelligent wearable device (such as, bracelet) worn by user obtains above-mentioned information.
Second determines submodule 122, is configured to the physiological state information according to described user and determines user's sleep state information.
If sleep state information is determined by intelligence wearable device, then user's sleep state information can be sent to local terminal, local terminal adjust the local terminal frequency to host broadcast message according to user's sleep state information.
In one embodiment, as shown in figure 13, adjusting module 102, it may include:
First adjusts submodule 131, when being configured as the light intensity of current environment less than first threshold, it is to be determined to user is in asleep state, and the frequency of current broadcast message is adjusted to first frequency;
Second adjusts submodule 132, when being configured as the light intensity of current environment more than Second Threshold, it is determined that user is in awake state, and the frequency of current broadcast message is adjusted to second frequency;
Wherein, Second Threshold is more than or equal to first threshold, and first frequency is more than second frequency.
The light intensity of current environment can represent by intensity of illumination. Illustrate, the frequency of current broadcast message is that 15s broadcasts once, first frequency is that 35s broadcasts once, first threshold can be such as 200lx, when the intensity of illumination of current environment is less than 200lx, it may be determined that user is in asleep state or current time is in evening, and judge that user connects the probability of bluetooth equipment at night further can be relatively low, therefore, the frequency of broadcasting packet is once adjusted to 35s once by 15s, hence it is evident that reduce power consumption.
Second frequency is such as broadcasted once for 10s, Second Threshold is more than or equal to first threshold, and Second Threshold can be such as 200lx or 500lx, when current intensity of illumination is more than Second Threshold, determine that user is in awake state, the frequency of current broadcast message is adjusted to second frequency.
When current light intensity is between first threshold and Second Threshold, the frequency of current broadcasting packet is not adjusted.
In one embodiment, the first adjustment submodule 131 can be additionally used in:
When the light intensity of current environment is less than first threshold, it is judged that whether the frequency of current broadcast message is first frequency;
When the frequency of current broadcast message is not first frequency, the frequency of current broadcast message is adjusted to first frequency;
Second adjusts submodule 132 is additionally operable to:
When the light intensity of current environment is more than Second Threshold, it is judged that whether the frequency of current broadcast message is second frequency;
When the frequency of current broadcast message is not second frequency, the frequency of current broadcast message is adjusted to second frequency.
In the present embodiment, when the light intensity of current environment is less than first threshold, it is judged that whether the frequency of current broadcast message is first frequency, or, when the light intensity of current environment is more than Second Threshold, it is judged that whether the frequency of current broadcast message is second frequency, if it is, do not adjust. In the present embodiment, adding the step of judgement before adjustment, if it is determined that conclusion is yes, then not adjusting, thus reduce further equipment power dissipation.
In one embodiment, as shown in figure 14, adjusting module 102, it may include:
3rd adjusts submodule 141, is configured as the light intensity of current environment when exceeding preset duration less than the 3rd threshold value and duration, it is determined that user is in asleep state, and the frequency of broadcasting packet is reduced to the preset percentage of the frequency of current broadcast message.
In the present embodiment, 3rd threshold value can be such as 200lx, simultaneously in order to prevent erroneous judgement, being provided with preset duration, preset duration can be such as 20 minutes, preset percentage is such as 50%, when current light intensity is less than 200lx, and the persistent period more than 20 minutes time, it is determined that user is in asleep state, now, the frequency of broadcasting packet is reduced to the 50% of ongoing frequency.
In one embodiment, as shown in figure 15, adjusting module 102, it may include:
Sub module stored 151, is configured to set up the corresponding relation of the frequency of light intensity and broadcasting packet and store;
Search submodule 152, be configured to the frequency of broadcasting packet corresponding to the light intensity according to corresponding relation lookup current environment;
4th adjusts submodule 153, is configured to be adjusted to the frequency of broadcasting packet the frequency of broadcasting packet corresponding to the light intensity of current environment.
In order to adjust more accurately, the present embodiment is set up the corresponding relation of light intensity and the frequency of broadcasting packet, when after the light intensity collecting current environment, corresponding relation is searched the frequency of the broadcasting packet of its correspondence, and after finding, the frequency of current broadcast message is adjusted to the frequency found, such that it is able to reach broadcasting frequency is adjusted more accurately.
In one embodiment, as shown in figure 16, said apparatus may also include that
Filtration module 103, is configured to the light intensity of current environment is filtered, it is thus achieved that filtered light intensity.
In the present embodiment, the light intensity of current environment is filtered, it is possible to eliminate the noise of interference.
Disclosure embodiment also provides for a kind of terminal, including any of the above-described the device controlling broadcasting frequency.
Disclosure embodiment also provides for a kind of device controlling broadcasting frequency, including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Obtain user's sleep state information;
The local terminal frequency to host broadcast message is adjusted according to described user's sleep state information.
Above-mentioned processor is configured to: gather the light intensity of current environment;
User's sleep state information is determined according to described light intensity;
Above-mentioned processor is configured to: obtain the physiological state information of user;
Physiological state information according to described user determines user's sleep state information.
Above-mentioned processor is configured to: when the light intensity of described current environment is less than first threshold, it is determined that user is in asleep state;
The frequency of described current broadcast message is adjusted to first frequency;
When the light intensity of described current environment is more than Second Threshold, it is determined that user is in awake state;
The frequency of described current broadcast message is adjusted to second frequency;
Wherein, described Second Threshold is more than or equal to described first threshold, and described first frequency is more than described second frequency.
Above-mentioned processor is configured to: when the light intensity of described current environment is less than first threshold, it is judged that whether the frequency of current broadcast message is first frequency;
When the frequency of current broadcast message is not first frequency, the frequency of current broadcast message is adjusted to first frequency;
When the light intensity of described current environment is more than Second Threshold, it is judged that whether the frequency of current broadcast message is second frequency;
When the frequency of current broadcast message is not second frequency, the frequency of current broadcast message is adjusted to second frequency.
Above-mentioned processor is configured to: when the light intensity of described current environment exceedes preset duration less than the 3rd threshold value and duration, it is determined that user is in asleep state;
The frequency of described broadcasting packet is reduced to the preset percentage of the frequency of described current broadcast message.
Above-mentioned processor is configured to: sets up the corresponding relation of light intensity and the frequency of broadcasting packet and stores;
The frequency of the broadcasting packet corresponding to light intensity of described current environment is searched according to described corresponding relation;
The frequency of described broadcasting packet is adjusted to the frequency of broadcasting packet corresponding to the light intensity of described current environment.
Above-mentioned processor is configured to: the light intensity of described current environment is filtered, it is thus achieved that filtered light intensity.
Figure 17 is the block diagram of a kind of device for controlling broadcasting frequency according to an exemplary embodiment, and this device is applicable to terminal unit. Such as, device 1600 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, armarium, body-building equipment, personal digital assistant etc.
Device 1600 can include with next or at least two assembly: processes assembly 1602, memorizer 1604, power supply module 1606, multimedia groupware 1608, audio-frequency assembly 1610, the interface 1612 of input/output (I/O), sensor cluster 1614, and communications component 1616.
Process assembly 1602 and generally control the integrated operation of device 1600, such as with display, call, data communication, the operation that camera operation and record operation are associated. Process assembly 1602 and can include one or at least two processor 1620 to perform instruction, to complete all or part of step of above-mentioned method. Additionally, process assembly 1602 can include one or at least two module, it is simple to what process between assembly 1602 and other assemblies is mutual. Such as, process assembly 1602 and can include multi-media module, with facilitate multimedia groupware 1608 and process between assembly 1602 mutual.
Memorizer 1604 is configured to store various types of data to support the operation at equipment 1600. The example of these data includes any storage object for operation on device 1600 or the instruction of method, contact data, telephone book data, message, picture, video etc. Memorizer 1604 can be realized by any kind of volatibility or non-volatile memory device or their combination, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash memory, disk or CD.
The various assemblies that power supply module 1606 is device 1600 provide electric power. Electric power assembly 1606 can include power-supply management system, one or at least two power supply, and other generate, manage and distribute, with for device 1600, the assembly that power supply is associated.
Multimedia groupware 1608 includes the screen providing an output interface between described device 1600 and user. In certain embodiments, screen can include liquid crystal display (LCD) and touch panel (TP). If screen includes touch panel, screen may be implemented as touch screen, to receive the input signal from user. Touch panel include one or at least two touch sensor sensing touch, slide and gesture on touch panel. Described touch sensor can not only sense the border of touch or sliding action, but also detects the persistent period relevant to described touch or slide and pressure. In certain embodiments, multimedia groupware 1608 includes a front-facing camera and/or post-positioned pick-up head. When equipment 1600 is in operator scheme, during such as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive the multi-medium data of outside. Each front-facing camera and post-positioned pick-up head can be a fixing optical lens system or have focal length and optical zoom ability.
Audio-frequency assembly 1610 is configured to output and/or input audio signal. Such as, audio-frequency assembly 1610 includes a mike (MIC), and when device 1600 is in operator scheme, during such as call model, logging mode and speech recognition mode, mike is configured to receive external audio signal. The audio signal received can be further stored at memorizer 1604 or send via communications component 1616. In certain embodiments, audio-frequency assembly 1610 also includes a speaker, is used for exporting audio signal.
I/O interface 1612 provides interface for processing between assembly 1602 and peripheral interface module, above-mentioned peripheral interface module can be keyboard, puts striking wheel, button etc. These buttons may include but be not limited to: home button, volume button, startup button and locking press button.
Sensor cluster 1614 includes one or at least two sensor, for providing the state estimation of various aspects for device 1600. Such as, what sensor cluster 1614 can detect equipment 1600 opens/closed mode, the relative localization of assembly, such as described assembly is display and the keypad of device 1600, the position change of all right detecting device 1600 of sensor cluster 1614 or 1,600 1 assemblies of device, the presence or absence that user contacts with device 1600, the variations in temperature of device 1600 orientation or acceleration/deceleration and device 1600. Sensor cluster 1614 can include proximity transducer, is configured to when not having any physical contact object near detection. Sensor cluster 1614 can also include optical sensor, such as CMOS or ccd image sensor, for using in imaging applications. In certain embodiments, this sensor cluster 1614 can also include acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 1616 is configured to facilitate between device 1600 and other equipment the communication of wired or wireless mode. Device 1600 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or their combination. In one exemplary embodiment, communications component 1616 receives the broadcast singal or the broadcast related information that manage system from external broadcasting via broadcast channel. In one exemplary embodiment, described communications component 1616 also includes near-field communication (NFC) module, to promote junction service. Such as, can based on RF identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 1600 can be realized by one or at least two application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components, is used for performing said method.
In the exemplary embodiment, additionally providing a kind of non-transitory computer-readable recording medium including instruction, for instance include the memorizer 1604 of instruction, above-mentioned instruction can have been performed said method by the processor 1620 of device 1600. Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is performed by the processor of said apparatus 1600 so that said apparatus 1600 is able to carry out a kind of method controlling broadcasting frequency, including:
Obtain user's sleep state information;
The local terminal frequency to host broadcast message is adjusted according to described user's sleep state information.
In one embodiment, described acquisition user's sleep state information, including:
Gather the light intensity of current environment;
User's sleep state information is determined according to described light intensity;
In one embodiment, described acquisition user's sleep state information, including:
Obtain the physiological state information of user;
Physiological state information according to described user determines user's sleep state information.
In one embodiment, described according to described user's sleep state information adjustment local terminal frequency to host broadcast message, including:
When the light intensity of described current environment is less than first threshold, it is determined that user is in asleep state;
The frequency of described current broadcast message is adjusted to first frequency;
When the light intensity of described current environment is more than Second Threshold, it is determined that user is in awake state;
The frequency of described current broadcast message is adjusted to second frequency;
Wherein, described Second Threshold is more than or equal to described first threshold, and described first frequency is more than described second frequency.
In one embodiment, described when the light intensity of described current environment is less than first threshold, it is determined that user is in asleep state; The frequency of described current broadcast message is adjusted to first frequency, including:
When the light intensity of described current environment is less than first threshold, it is judged that whether the frequency of current broadcast message is first frequency;
When the frequency of current broadcast message is not first frequency, the frequency of current broadcast message is adjusted to first frequency;
Described when the light intensity of described current environment is more than Second Threshold, it is determined that user is in awake state; The frequency of described current broadcast message is adjusted to second frequency, including:
When the light intensity of described current environment is more than Second Threshold, it is judged that whether the frequency of current broadcast message is second frequency;
When the frequency of current broadcast message is not second frequency, the frequency of current broadcast message is adjusted to second frequency.
In one embodiment, described according to described user's sleep state information adjustment local terminal frequency to host broadcast message, including:
When the light intensity of described current environment exceedes preset duration less than the 3rd threshold value and duration, it is determined that user is in asleep state;
The frequency of described broadcasting packet is reduced to the preset percentage of the frequency of described current broadcast message.
In one embodiment, described according to described user's sleep state information adjustment local terminal frequency to host broadcast message, including:
Set up the corresponding relation of light intensity and the frequency of broadcasting packet and store;
The frequency of the broadcasting packet corresponding to light intensity of described current environment is searched according to described corresponding relation;
The frequency of described broadcasting packet is adjusted to the frequency of broadcasting packet corresponding to the light intensity of described current environment.
In one embodiment, after the light intensity of described collection current environment, described method also includes:
The light intensity of described current environment is filtered, it is thus achieved that filtered light intensity.
Those skilled in the art, after considering description and putting into practice disclosed herein disclosing, will readily occur to other embodiment of the disclosure. The application is intended to any modification of the disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed the general principle of the disclosure and include the undocumented known general knowledge in the art of the disclosure or conventional techniques means.Description and embodiments is considered only as exemplary, and the true scope of the disclosure and spirit are pointed out by claim below.
It should be appreciated that the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and various amendment and change can carried out without departing from the scope. The scope of the present disclosure is only limited by appended claim.