CN105516469B - Alarm clock control method and device - Google Patents
Alarm clock control method and device Download PDFInfo
- Publication number
- CN105516469B CN105516469B CN201510849495.XA CN201510849495A CN105516469B CN 105516469 B CN105516469 B CN 105516469B CN 201510849495 A CN201510849495 A CN 201510849495A CN 105516469 B CN105516469 B CN 105516469B
- Authority
- CN
- China
- Prior art keywords
- alarm clock
- useful signal
- smart machine
- time
- jingle bell
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/7243—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Telephone Function (AREA)
- Electric Clocks (AREA)
Abstract
The disclosure discloses a kind of alarm clock control method and device, belongs to smart home field.The alarm clock control method includes: to obtain the number that useful signal is generated in scheduled duration during the alarm clock jingle bell of smart machine, which is the presence of generated signal when at least two o'clock is concurrently triggered in the predetermined side edge of the smart machine;The closing mode of alarm clock is controlled according to number.The problem of disclosure is solved when unusual condition occurs in the display function of mobile phone screen, and user can not then use the alarm clock jingle bell of screen touch control manner closing hand phone;Achieve the effect that simplified user closes the operating procedure of alarm clock.
Description
Technical field
This disclosure relates to smart home field, in particular to a kind of alarm clock control method and device.
Background technique
Currently, more and more users replace entity alarm clock using alarm clock on cell phone due to the alarm clock function of mobile phone.
In general, mobile phone can show control relevant to alarm clock on the screen when alarm clock on cell phone jingle bell, user needs accurate
The control relevant to alarm clock program shown on triggering screen could close alarm clock jingle bell.When the display function of mobile phone screen occurs
When unusual condition, user can not then use the alarm clock jingle bell of screen touch control manner closing hand phone.
Summary of the invention
In order to solve when unusual condition occurs in the display function of mobile phone screen, user can not then use screen touch control manner
The problem of alarm clock jingle bell of closing hand phone, the disclosure provide a kind of alarm clock control method and device.The technical solution is as follows:
According to the first aspect of the embodiments of the present disclosure, a kind of alarm clock control method is provided, is applied in smart machine, it is described
Method includes:
During the alarm clock jingle bell of the smart machine, the number that useful signal is generated in scheduled duration is obtained, it is described to have
It imitates and there is generated signal when at least two o'clock is concurrently triggered in the predetermined side edge that signal is the smart machine;
The closing mode of alarm clock is controlled according to the number.
The alarm clock control method that the first aspect of the disclosure provides, by obtaining during the alarm clock jingle bell of smart machine
The number of useful signal is generated in scheduled duration, and the closing mode of alarm clock is controlled according to the number;Since user is not necessarily to touch-control
The screen of smart machine is the closing mode of controllable alarm clock, therefore solves when abnormal shape occurs in the display function of mobile phone screen
When condition, user then can not use screen touch control manner closing hand phone alarm clock jingle bell the problem of;It is noisy simplified user's closing has been reached
The effect of the operating procedure of clock.
Optionally, the closing mode that alarm clock is controlled according to the number, comprising:
Close the alarm clock jingle bell;
It is circulation pattern by the pattern switching of the alarm clock, under circulation pattern when the number is the first pre-determined number
Alarm clock can jingle bell again after predetermined amount of time;
It is close pattern by the pattern switching of the alarm clock, under close pattern when the number is the second pre-determined number
Alarm clock no longer jingle bell again;
Wherein, first pre-determined number is primary or one of at least twice, and second pre-determined number is primary
Or at least twice in another kind.
The optional alarm clock control method that disclosure first aspect provides, by smart machine according to acquired effective letter
Number the difference of number control the alarm clock mode to be switched, avoid can not accurately triggering due to user shown on screen with
The relevant control of alarm clock program, and cause user that can not correctly be switched to desired alarm clock mode, it is noisy to improve user's switching
The accuracy of clock mode.
It is optionally, described to close the alarm clock jingle bell, comprising:
When the number is at least twice, whether identical the useful signal generated every time is detected;
When the useful signal generated every time is identical, the alarm clock jingle bell is closed.
The optional alarm clock control method that disclosure first aspect provides, by whether detecting the useful signal generated every time
It is identical, to determine whether closing alarm clock jingle bell, the difficulty that user closes alarm clock is improved, the mesh for effectively waking user has been reached
's.
Optionally, whether the useful signal that the detection generates every time is identical, comprising:
Obtain position and the quantity of the sensor in side edge touched when generating the useful signal every time;
When the position of the sensor corresponding to the useful signal generated every time and quantity all the same, determines and produce every time
The raw useful signal is identical.
The optional alarm clock control method that disclosure first aspect provides is generated every time by formulation smart machine judgement
The whether identical standard of useful signal improves the difficulty that user closes alarm clock, has achieved the purpose that effectively to wake user.
It is optionally, described to close the alarm clock jingle bell, comprising:
When the number is at least twice, it is pre- whether detection is less than per the adjacent time interval for generating useful signal twice
It fixes time interval;
When whether every adjacent time interval for generating useful signal twice is less than the predetermined time interval, institute is closed
State alarm clock jingle bell.
Disclosure first aspect provide optional alarm clock control method, by it is every it is adjacent twice generate useful signal when
Between be spaced whether be less than predetermined time interval, to determine whether close alarm clock jingle bell, improve user close alarm clock difficulty,
Achieve the purpose that effectively to wake user.
Optionally, the method also includes:
After by the pattern switching of the alarm clock being the circulation pattern, it is right to detect whether to reach the predetermined amount of time institute
The next time answered wakes the moment;
If reaching next time corresponding to the predetermined amount of time wakes the moment, smart machine jingle bell again is controlled;
It controls the smart machine when the user is in sleep state alternatively, obtaining the current sleep state of user and rings again
The pattern switching of the alarm clock is then the close pattern when the user is in non-sleep state by bell.
The optional alarm clock control method that disclosure first aspect provides, by being cyclic module by the pattern switching of alarm clock
After formula, if user is in non-sleep state, it is automatically close pattern by the pattern switching of alarm clock, makes the alarm clock function of smart machine
It can be more intelligent and humanized.
According to the second aspect of an embodiment of the present disclosure, a kind of alarm clock control device is provided, is applied in smart machine, it is described
Device includes:
Module is obtained, is configured as during the alarm clock jingle bell of the smart machine, obtains in scheduled duration and generates effectively
The number of signal, is there is at least two o'clock is concurrently triggered when institute in the useful signal in the predetermined side edge of the smart machine
The signal of generation;
First control module is configured as the closing side of the number control alarm clock obtained according to the acquisition module
Formula.
The alarm clock control device that the second aspect of the disclosure provides, by obtaining during the alarm clock jingle bell of smart machine
The number of useful signal is generated in scheduled duration, and the closing mode of alarm clock is controlled according to the number;Since user is not necessarily to touch-control
The screen of smart machine is the closing mode of controllable alarm clock, therefore solves when abnormal shape occurs in the display function of mobile phone screen
When condition, user then can not use screen touch control manner closing hand phone alarm clock jingle bell the problem of;It is noisy simplified user's closing has been reached
The effect of the operating procedure of clock.
Optionally, first control module, comprising:
First closes submodule, is configured as closing the alarm clock jingle bell;
First switching submodule is configured as when the number that the acquisition module obtains is the first pre-determined number,
It is circulation pattern by the pattern switching of the alarm clock, the alarm clock under circulation pattern can jingle bell again after predetermined amount of time;
Second switching submodule is configured as when the number that the acquisition module obtains is the second pre-determined number,
It is close pattern by the pattern switching of the alarm clock, the no longer jingle bell again of the alarm clock under close pattern;
Wherein, first pre-determined number is primary or one of at least twice, and second pre-determined number is primary
Or at least twice in another kind.
The optional alarm clock control device that disclosure second aspect provides, by smart machine according to acquired effective letter
Number the difference of number control the alarm clock mode to be switched, avoid can not accurately triggering due to user shown on screen with
The relevant control of alarm clock program, and cause user that can not correctly be switched to desired alarm clock mode, it is noisy to improve user's switching
The accuracy of clock mode.
Optionally, the closing submodule, comprising:
First detection sub-module is configured as the detection when the number that the acquisition module obtains is at least twice
Whether the useful signal generated every time is identical;
Second closes submodule, is configured as detecting the effective letter generated every time in first detection sub-module
When number identical, the alarm clock jingle bell is closed.
The optional alarm clock control device that disclosure second aspect provides, by whether detecting the useful signal generated every time
It is identical, to determine whether closing alarm clock jingle bell, the difficulty that user closes alarm clock is improved, the mesh for effectively waking user has been reached
's.
Optionally, first detection sub-module, comprising:
Acquisition submodule is configured as obtaining the sensor in the side edge being touched when generating the useful signal every time
Position and quantity;
It determines submodule, is configured as position and the quantity of sensor corresponding to the useful signal that ought be generated every time
When all the same, determine that the useful signal generated every time is identical.
The optional alarm clock control device that disclosure second aspect provides is generated every time by formulation smart machine judgement
The whether identical standard of useful signal improves the difficulty that user closes alarm clock, has achieved the purpose that effectively to wake user.
Optionally, described first submodule is closed, comprising:
Second detection sub-module is configured as the detection when the number that the acquisition module obtains is at least twice
Whether it is less than predetermined time interval per the adjacent time interval for generating useful signal twice;
Third closes submodule, is configured as detecting in first detection sub-module and effectively believe per adjacent generate twice
Number time interval whether be less than the predetermined time interval when, close the alarm clock jingle bell.
Disclosure second aspect provide optional alarm clock control device, by it is every it is adjacent twice generate useful signal when
Between be spaced whether be less than predetermined time interval, to determine whether close alarm clock jingle bell, improve user close alarm clock difficulty,
Achieve the purpose that effectively to wake user.
Optionally, described device further include:
Detection module, be configured as by the pattern switching of the alarm clock be the circulation pattern after, detect whether to reach
Next time corresponding to the predetermined amount of time wakes the moment;
Second control module is configured as under detection module detection reaches corresponding to the predetermined amount of time
It is secondary when waking the moment, control smart machine jingle bell again;Alternatively, the current sleep state of user is obtained, in the user
When in sleep state, smart machine jingle bell again is controlled, it, then will be described noisy when the user is in non-sleep state
The pattern switching of clock is the close pattern.
The optional alarm clock control device that disclosure second aspect provides, by being cyclic module by the pattern switching of alarm clock
After formula, if user is in non-sleep state, it is automatically close pattern by the pattern switching of alarm clock, makes the alarm clock function of smart machine
It can be more intelligent and humanized.
According to the third aspect of an embodiment of the present disclosure, a kind of alarm clock control device is provided, described device includes:
Processor;
For storing the memory of the processor-executable instruction;
Wherein, the processor is configured to:
During the alarm clock jingle bell of the smart machine, the number that useful signal is generated in scheduled duration is obtained, it is described to have
It imitates and there is generated signal when at least two o'clock is concurrently triggered in the predetermined side edge that signal is the smart machine;
The closing mode of alarm clock is controlled according to the number.
The alarm clock control device that the third aspect of the disclosure provides, by obtaining during the alarm clock jingle bell of smart machine
The number of useful signal is generated in scheduled duration, and the closing mode of alarm clock is controlled according to the number;Since user is not necessarily to touch-control
The screen of smart machine is the closing mode of controllable alarm clock, therefore solves when abnormal shape occurs in the display function of mobile phone screen
When condition, user then can not use screen touch control manner closing hand phone alarm clock jingle bell the problem of;It is noisy simplified user's closing has been reached
The effect of the operating procedure of clock.
It should be understood that the above general description and the following detailed description are merely exemplary, this can not be limited
It is open.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure
Example, and consistent with the instructions for explaining the principles of this disclosure.
Fig. 1 is a kind of flow chart of alarm clock control method shown according to an exemplary embodiment;
Fig. 2A is a kind of flow chart of the alarm clock control method shown according to another exemplary embodiment;
Fig. 2 B is the schematic diagram for the predetermined side edge that user shown according to an exemplary embodiment touches smart machine;
Fig. 2 C is the flow chart of the closing methods shown according to an exemplary embodiment that alarm clock is controlled according to number;
Fig. 2 D is the flow chart shown according to an exemplary embodiment for closing alarm clock ringing method;
Fig. 2 E be it is shown according to an exemplary embodiment detect the useful signal that generates every time whether the stream of same procedure
Cheng Tu;
When Fig. 2 F is that user shown according to an exemplary embodiment does not hold smart machine, the sensor of smart machine
Schematic diagram;
When Fig. 2 G is that user shown according to an exemplary embodiment holds smart machine, the sensor of smart machine shows
It is intended to;
Fig. 2 H is the flow chart of the closing alarm clock ringing method shown according to another exemplary embodiment;
Fig. 3 A is a kind of block diagram of alarm clock control device shown according to an exemplary embodiment;
Fig. 3 B is a kind of block diagram of the alarm clock control device shown according to another exemplary embodiment;
Fig. 4 is shown according to an exemplary embodiment a kind of for controlling the block diagram of the device of alarm clock.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 is a kind of flow chart of alarm clock control method shown according to an exemplary embodiment, as shown in Figure 1, this is noisy
Clock control method is applied in smart machine, and wherein smart machine can be mobile phone, computer, and messaging devices are put down
Panel device, Medical Devices, body-building equipment, personal digital assistant etc..The alarm clock control method includes the following steps.
In a step 101, during the alarm clock jingle bell of smart machine, time that useful signal is generated in scheduled duration is obtained
Number, the useful signal are the presence of generated signal when at least two o'clock is concurrently triggered in the predetermined side edge of the smart machine.
In a step 102, the closing mode of alarm clock is controlled according to number.
In conclusion the alarm clock control method provided in the embodiment of the present disclosure, passes through the alarm clock jingle bell phase in smart machine
Between, the number that useful signal is generated in scheduled duration is obtained, and the closing mode of alarm clock is controlled according to the number;Due to user without
The closing mode of the i.e. controllable alarm clock of the screen of touch-control smart machine is needed, therefore solves the display function appearance when mobile phone screen
When unusual condition, user then can not use screen touch control manner closing hand phone alarm clock jingle bell the problem of;Simplified user is reached
Close the effect of the operating procedure of alarm clock.
Fig. 2A is a kind of flow chart of the alarm clock control method shown according to another exemplary embodiment, as shown in Figure 2 A,
The alarm clock control method is applied in smart machine, and wherein smart machine can be mobile phone, computer, and information receiving and transmitting is set
It is standby, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..The alarm clock control method includes the following steps.
In step 201, during the alarm clock jingle bell of smart machine, time that useful signal is generated in scheduled duration is obtained
Number, the useful signal are the presence of generated signal when at least two o'clock is concurrently triggered in the predetermined side edge of the smart machine.
Predetermined side edge mentioned here refers to the position that the screen of smart machine is connected with the frame of smart machine, or
For the frame of smart machine.The frame of smart machine is provided with a certain number of sensors with the position that interior of mobile phone links, when
When user touches or presses the predetermined side edge of the smart machine, smart machine can be got pre- by the induction of sensor
Generated signal when determining to be triggered in side edge.
There is at least two o'clock in predetermined side edge mentioned here, can reside in the same side frame of same smart machine
Corresponding edge can also exist on edge corresponding to the different sides frame of same smart machine.
Fig. 2 B is the schematic diagram for the predetermined side edge that user shown according to an exemplary embodiment touches smart machine, is asked
B referring to fig. 2, during the alarm clock jingle bell of smart machine 200, user holds smart machine 200, and thumb is touched in smart machine
While a 200 long axis side frame, by remaining four finger touching in another long axis side frame of smart machine 200, at this point,
Smart machine is available to arrive the useful signal of position 210 to position 250 5.
It should be noted that scheduled duration mentioned here can be 0.5 second or 1 second, the setting of scheduled duration
Mode can be arranged by manufacturer or by being artificially arranged, and the present embodiment is not to the specific duration of the scheduled duration and specific setting
Mode limits.
In step 202, the closing mode of alarm clock is controlled according to number.
There are two types of the closing modes of alarm clock, and one kind is temporary close, that is to say, that the alarm clock being temporarily closed is in pre- timing
Between Duan Houhui jingle bell again, another kind closes to be permanent, that is to say, that the alarm clock being turned permanently off no longer jingle bell again.Work as intelligence
Equipment got in scheduled duration generate useful signal number it is different, the closing mode of corresponding control alarm clock is not yet
Together.
It should be noted that the closing mode of the corresponding alarm clock of the number of useful signal can by manufacturer be arranged and also by
Artificial setting.
In one possible implementation, when alarm clock is temporarily closed by smart machine, the mode of alarm clock can be cut
Change circulation pattern into, when alarm clock is turned permanently off by smart machine, the mode of alarm clock can be switched to close pattern.Fig. 2 C is
The flow chart of the closing methods shown according to an exemplary embodiment that alarm clock is controlled according to number as shown in Figure 2 C should
It can be realized by following step 202a to step 202c according to the closing methods that number controls alarm clock.
In step 202a, alarm clock jingle bell is closed.
No matter the mode of alarm clock, which can be switched to circulation pattern, is also an off, and alarm clock quarter-bell can be all closed, therefore
The mode of the corresponding smart machine switching alarm clock of number in order to distinguish useful signal, in the present embodiment, if smart machine obtains
It is circulation pattern by the pattern switching of alarm clock, if smart machine obtains when the number for the useful signal got is the first pre-determined number
It is close pattern by the pattern switching of alarm clock when the number for the useful signal got is the second pre-determined number.Wherein, first is predetermined
Number be it is primary or one of at least twice, the second pre-determined number be once or at least twice in another kind.
For the ease of being illustrated to following step, in the present embodiment, it is once with the first pre-determined number, second makes a reservation for
Number is to illustrate twice.
In order to avoid arbitrarily touching smart machine twice in dormant user, leading to quarter-bell when alarm clock jingle bell
Pattern switching at close pattern, can not effectively achieve the purpose that wake user.In one possible implementation, in intelligence
When equipment gets useful signal at least twice, it is whether identical or generated twice per adjacent that the useful signal generated every time can be detected
Whether the time interval of useful signal is less than predetermined time interval to determine whether closing alarm clock jingle bell, is made a noise with improving user's closing
The difficulty of clock achievees the purpose that effectively to wake user.
Fig. 2 D is that the flow chart shown according to an exemplary embodiment for closing alarm clock ringing method as shown in Figure 2 D should
Closing alarm clock ringing method can be realized by following step 202a1 to step 202a2.
In step 202a1, when number is at least twice, whether identical the useful signal generated every time is detected.
If the position of the sensor in side edge caused by two useful signals is identical, the two useful signals are judged
It is identical.Correspondingly, if acquired in smart machine twice the position of the sensor in the generated side edge of useful signal and
Quantity is identical, then judging this, useful signal is identical twice.Fig. 2 E is that detection shown according to an exemplary embodiment generates every time
Useful signal whether the flow chart of same procedure, as shown in Figure 2 E, the useful signal which generates every time whether phase Tongfang
Method can be realized by following step 202a1a to step 202a1b.
In step 202a1a, obtain the sensor in side edge touched when generating useful signal every time position and
Quantity.
When Fig. 2 F is that user shown according to an exemplary embodiment does not hold smart machine, the sensor of smart machine
Schematic diagram.As shown in Figure 2 F,Indicate the sensor not touched.
Thumb is touched in a long axis side of smart machine 200 when user holds smart machine 200 referring also to Fig. 2 B
While frame, by remaining four finger touching in another long axis side frame of smart machine 200.Fig. 2 G is exemplary according to one
When implementing the user exemplified gripping smart machine, the schematic diagram of the sensor of smart machine.As shown in Figure 2 G,Table
Show the sensor not touched,Indicate the sensor touched.When user holds smart machine 200, smart machine
Available position (position 210 to position 250) and quantity (5) to touched sensor.
In step 202a1b, the position of the sensor corresponding to the useful signal generated every time and quantity are all the same
When, determine that the useful signal generated every time is identical.
Referring also to Fig. 2 B, for example, the position that finger is touched is position 210 when user holds smart machine for the first time
To position 250, then when holding smart machine second of the user, position that finger is touched must still for position 210 to
Position 250, smart machine just can determine whether that received first time is identical with second of generated useful signal.In other words,
When the position of sensor corresponding to the useful signal generated before and after the smart machine twice and quantity all the same, smart machine is
The useful signal that can determine whether that this is generated twice is identical.
In step 202a2, when the useful signal generated every time is identical, alarm clock jingle bell is closed.
If smart machine detects that the position of sensor corresponding to the useful signal generated every time and quantity are all the same,
It determines that the useful signal generated every time is identical, executes the operation for closing alarm clock.Conversely, every time being generated if smart machine detects
There is a difference in the position of sensor corresponding to useful signal and quantity, it is determined that the useful signal generated every time is different,
Do not execute the operation for closing alarm clock.
Fig. 2 H is the flow chart of the closing alarm clock ringing method shown according to another exemplary embodiment, as illustrated in figure 2h,
The closing alarm clock ringing method can be realized by following step 202a3 to step 202a4:
In step 202a3, when number is at least twice, detection is per the adjacent time interval for generating useful signal twice
Whether predetermined time interval is less than.
In step 202a4, between whether every adjacent time interval for generating useful signal twice is less than the predetermined time
Every when, close alarm clock jingle bell.
In order to avoid when alarm clock jingle bell, when between the dormant user adjacent time for touching smart machine twice
When longer, still can control smart machine makes the pattern switching of quarter-bell at close pattern, and can not effectively reach and wake use
The purpose at family.When number is at least twice, smart machine can be detected is per the adjacent time interval for generating useful signal twice
It is no to be less than predetermined time interval, if being respectively less than predetermined time interval per the adjacent time interval for generating useful signal twice, hold
Row closes the operation of alarm clock jingle bell, conversely, not executing the operation for closing alarm clock jingle bell then.
For example, setting predetermined time interval as 0.5 second, smart machine need to get useful signal twice and this effectively believes twice
When time interval between number is necessarily less than predetermined time interval, smart machine just executes the operation for closing alarm clock jingle bell.Also
It is to say, when user holds the time interval of smart machine less than 0.5 second for the first time and for the second time, smart machine execution is closed noisy
The operation of clock jingle bell, when the time interval that user holds smart machine for the first time and for the second time is greater than 0.5 second, smart machine is not
Execute the operation for closing alarm clock jingle bell.
It should be noted that predetermined time interval mentioned here can be 0.5 second or 1 second, between the predetermined time
Every set-up mode can by manufacturer be arranged and also by being artificially arranged, the present embodiment not to the predetermined time interval it is specific when
Long and specific set-up mode limits.
It should be noted that the method for method and steps 202a3 to the step 202a4 of step 202a1 to step 202a2 can
To be used alone, can also be used in combination.
When two methods are used in combination, the only position sum number of each generation useful signal acquired in the smart machine
Amount must it is identical, and per it is adjacent twice generate useful signal time interval be necessarily less than predetermined time interval when, smart machine
The operation for closing alarm clock jingle bell can just be executed.
It is circulation pattern, cyclic module by the pattern switching of alarm clock when number is the first pre-determined number in step 202b
Alarm clock under formula can jingle bell again after predetermined amount of time.
For example, predetermined amount of time is set as 10 minutes, then when it is circulation pattern that smart machine is by the pattern switching of alarm clock
Alarm clock temporarily ceases jingle bell, and alarm clock can jingle bell again after ten minutes.
In step 202c, when number is the second pre-determined number, it is close pattern by the pattern switching of alarm clock, closes mould
Alarm clock under formula no longer jingle bell again.
First pre-determined number mentioned here be it is primary or one of at least twice, the second pre-determined number is once or extremely
Lack the another kind in twice.For example, the smart machine can be by the mode of alarm clock when smart machine gets 1 useful signal
It is switched to close pattern, when smart machine gets 2 useful signals, which can be to follow by the pattern switching of alarm clock
Ring mode.It can also be with when smart machine gets 2 useful signals, which can be to close by the pattern switching of alarm clock
Close pattern, when smart machine gets 1 useful signal, which can be circulation pattern by the pattern switching of alarm clock.
It should be noted that predetermined amount of time mentioned here can be 5 minutes or 10 minutes, predetermined amount of time
Set-up mode can be arranged by manufacturer or by being artificially arranged, the present embodiment not to the specific duration of the predetermined amount of time and
Specific set-up mode limits.
In step 203, after by the pattern switching of alarm clock being circulation pattern, it is right to detect whether to reach predetermined amount of time institute
The next time answered wakes the moment.
In step 204, it if reaching next time corresponding to predetermined amount of time wakes the moment, controls smart machine and rings again
Bell.
For example, predetermined amount of time be 10 minutes, then when smart machine 6 points of the morning pattern switchings by alarm clock be circulation
After mode, smart machine close alarm clock jingle bell, by predetermined amount of time be added to recently switching alarm clock mode at the time of on obtain
Next time wakes the moment, and detects whether the current moment is to wake the moment (i.e. 10 minutes) next time at 6 points, if reaching at 6 points 10 minutes, intelligently sets
Standby then jingle bell again.
In step 205, the current sleep state of user is obtained, when the user is in sleep state, control intelligence is set
The pattern switching of alarm clock is then close pattern when the user is in non-sleep state by standby jingle bell again.
When the pattern switching of alarm clock is circulation pattern, smart machine can send user to the wearable device entrained by user
State acquisition instruction, the instruction are used to control the current state of wearable device detection user.When the wearable device detects user
It, can be to smart machine feedback user Status Change information, if the next time corresponding to predetermined amount of time is named when in non-sleep state
It woke up before the moment, smart machine has received User Status modification information, then is close pattern by the pattern switching of alarm clock, if pre-
It fixes time before waking the moment, smart machine does not have received User Status modification information, then wakes in next time next time corresponding to section
Moment controls smart machine jingle bell again.
In conclusion the alarm clock control method provided in the embodiment of the present disclosure, passes through the alarm clock jingle bell phase in smart machine
Between, the number that useful signal is generated in scheduled duration is obtained, and the closing mode of alarm clock is controlled according to the number;Due to user without
The closing mode of the i.e. controllable alarm clock of the screen of touch-control smart machine is needed, therefore solves the display function appearance when mobile phone screen
When unusual condition, user then can not use screen touch control manner closing hand phone alarm clock jingle bell the problem of;Simplified user is reached
Close the effect of the operating procedure of alarm clock.
In the present embodiment, alarm clock institute is controlled according to the difference of the number of acquired useful signal by smart machine
The mode to be switched avoids accurately triggering the control relevant to alarm clock program shown on screen due to user, and causes
User can not correctly be switched to desired alarm clock mode, improve the accuracy that user switches alarm clock mode.
In the present embodiment, by by the pattern switching of alarm clock be circulation pattern after, if user is in non-sleep state,
Then automatically by the pattern switching of alarm clock be close pattern, keep the alarm clock function of smart machine more intelligent and humanized.
In the present embodiment, whether identical by detecting the useful signal generated every time, it is rung to determine whether closing alarm clock
Bell improves the difficulty that user closes alarm clock, has achieved the purpose that effectively to wake user.
Following is embodiment of the present disclosure, can be used for executing embodiments of the present disclosure.It is real for disclosure device
Undisclosed details in example is applied, embodiments of the present disclosure is please referred to.
Fig. 3 A is a kind of block diagram of alarm clock control device shown according to an exemplary embodiment, and as shown in Figure 3A, this is noisy
Clock control device is applied in smart machine, and wherein smart machine can be mobile phone, computer, and messaging devices are put down
Panel device, Medical Devices, body-building equipment, personal digital assistant etc..The alarm clock control device includes but is not limited to: obtaining module
301 and first control module 302.
Module 301 is obtained, is configured as during the alarm clock jingle bell of smart machine, obtains and generates effectively letter in scheduled duration
Number number, the useful signal be exist in the predetermined side edge of the smart machine it is generated when at least two o'clock is concurrently triggered
Signal.
Predetermined side edge mentioned here refers to the position that the screen of smart machine is connected with the frame of smart machine, the position
It installs and is equipped with a certain number of sensors, when user touches or presses the frame of the smart machine, smart machine can pass through
The induction of sensor gets generated signal when being triggered in predetermined side edge.
There is at least two o'clock in predetermined side edge mentioned here, can reside in the same side of same smart machine
Frame can also exist on the different sides frame of same smart machine.
It should be noted that scheduled duration mentioned here can be 0.5 second or 1 second, the setting of scheduled duration
Mode can be arranged by manufacturer or by being artificially arranged, and the present embodiment is not to the specific duration of the scheduled duration and specific setting
Mode limits.
First control module 302 is configured as the closing side of number control alarm clock obtained according to the acquisition module 301
Formula.
There are two types of the closing modes of alarm clock, and one kind is temporary close, that is to say, that the alarm clock being temporarily closed is in pre- timing
Between Duan Houhui jingle bell again, another kind closes to be permanent, that is to say, that the alarm clock being turned permanently off no longer jingle bell again.Work as intelligence
Equipment got in scheduled duration generate useful signal number it is different, the closing mode of corresponding control alarm clock is not yet
Together.
It should be noted that the closing mode of the corresponding alarm clock of the number of useful signal can by manufacturer be arranged and also by
Artificial setting.
In one possible implementation, Fig. 3 B is a kind of alarm clock control dress shown according to another exemplary embodiment
The block diagram set, as shown in Figure 3B, the first control module 302 include: the first closing submodule 302a, the first switching submodule 302b
With the second switching submodule 302c.
First closes submodule 302a, is configured as closing alarm clock jingle bell.
No matter the mode of alarm clock, which can be switched to circulation pattern, is also an off, and alarm clock quarter-bell can be all closed, therefore
The mode of the corresponding smart machine switching alarm clock of number in order to distinguish useful signal, in the present embodiment, if smart machine obtains
It is circulation pattern by the pattern switching of alarm clock, if smart machine obtains when the number for the useful signal got is the first pre-determined number
It is close pattern by the pattern switching of alarm clock when the number for the useful signal got is the second pre-determined number.Wherein, first is predetermined
Number be it is primary or one of at least twice, the second pre-determined number be once or at least twice in another kind.
For the ease of being illustrated to following step, in the present embodiment, it is once with the first pre-determined number, second makes a reservation for
Number is to illustrate twice.
In order to avoid arbitrarily touching smart machine twice in dormant user, leading to quarter-bell when alarm clock jingle bell
Pattern switching at close pattern, can not effectively achieve the purpose that wake user.In one possible implementation, in intelligence
When equipment gets useful signal at least twice, it is whether identical or generated twice per adjacent that the useful signal generated every time can be detected
Whether the time interval of useful signal is less than predetermined time interval to determine whether closing alarm clock jingle bell, is made a noise with improving user's closing
The difficulty of clock achievees the purpose that effectively to wake user.
First switching submodule 302b is configured as when the number that the acquisition module 301 obtains is the first pre-determined number,
It is circulation pattern by the pattern switching of alarm clock, the jingle bell again after predetermined amount of time of the alarm clock under circulation pattern.
For example, predetermined amount of time is set as 10 minutes, then when it is circulation pattern that smart machine is by the pattern switching of alarm clock
Alarm clock temporarily ceases jingle bell, and alarm clock can jingle bell again after ten minutes.
Second switching submodule 302c is configured as when the number that the acquisition module 301 obtains is the second pre-determined number,
It is close pattern by the pattern switching of alarm clock, the no longer jingle bell again of the alarm clock under close pattern;
First pre-determined number mentioned here be it is primary or one of at least twice, the second pre-determined number is once or extremely
Lack the another kind in twice.For example, the smart machine can be by the mode of alarm clock when smart machine gets 1 useful signal
It is switched to close pattern, when smart machine gets 2 useful signals, which can be to follow by the pattern switching of alarm clock
Ring mode.It can also be with when smart machine gets 2 useful signals, which can be to close by the pattern switching of alarm clock
Close pattern, when smart machine gets 1 useful signal, which can be circulation pattern by the pattern switching of alarm clock.
It should be noted that predetermined amount of time mentioned here can be 5 minutes or 10 minutes, predetermined amount of time
Set-up mode can be arranged by manufacturer or by being artificially arranged, the present embodiment not to the specific duration of the predetermined amount of time and
Specific set-up mode limits.
In one possible implementation, referring also to Fig. 3 B, first closing submodule 302a includes: the first detection
Module 302a1 and second closes submodule 302a2.
First detection sub-module 302a1 is configured as the inspection when the number that the acquisition module 301 obtains is at least twice
Whether identical survey the useful signal generated every time.
If the position of the sensor in side edge caused by two useful signals is identical, the two useful signals are judged
It is identical.Correspondingly, if acquired in smart machine twice the position of the sensor in the generated side edge of useful signal and
Quantity is identical, then judging this, useful signal is identical twice.
Second closes submodule 302a2, is configured as detecting that is generated every time has in first detection sub-module 302a1
When effect signal is identical, alarm clock jingle bell is closed.
If smart machine detects that the position of sensor corresponding to the useful signal generated every time and quantity are all the same,
It determines that the useful signal generated every time is identical, executes the operation for closing alarm clock.Conversely, every time being generated if smart machine detects
There is a difference in the position of sensor corresponding to useful signal and quantity, it is determined that the useful signal generated every time is different,
Do not execute the operation for closing alarm clock.
In one possible implementation, referring also to Fig. 3 B, first detection sub-module 302a1 includes: acquisition submodule
Block 302a1a and determining submodule 302a1b.
Acquisition submodule 302a1a is configured as obtaining the sensing in side edge touched when generating useful signal every time
The position of device and quantity.
When Fig. 2 F is that user shown according to an exemplary embodiment does not hold smart machine, the sensor of smart machine
Schematic diagram.As shown in Figure 2 F,Indicate the sensor not touched.
Thumb is touched in a long axis side of smart machine 200 when user holds smart machine 200 referring also to Fig. 2 B
While frame, by remaining four finger touching in another long axis side frame of smart machine 200.Fig. 2 G is exemplary according to one
When implementing the user exemplified gripping smart machine, the schematic diagram of the sensor of smart machine.As shown in Figure 2 G,Table
Show the sensor not touched,Indicate the sensor touched.When user holds smart machine 200, smart machine
Available position (210 to 250) and quantity (5) to touched sensor.
It determines submodule 302a1b, is configured as the position sum number of sensor corresponding to the useful signal that ought be generated every time
When measuring all the same, determine that the useful signal generated every time is identical.
Referring also to Fig. 2 B, for example, the position that finger is touched is position 210 when user holds smart machine for the first time
To position 250, then when holding smart machine second of the user, position that finger is touched must still for position 210 to
Position 250, smart machine just can determine whether that received first time is identical with second of generated useful signal.In other words,
When the position of sensor corresponding to the useful signal generated before and after the smart machine twice and quantity all the same, smart machine is
The useful signal that can determine whether that this is generated twice is identical.
In one possible implementation, referring also to Fig. 3 B, first closing submodule 302a includes: the second detection
Module 302a3 and third close submodule 302a4.
Second detection sub-module 302a3 is configured as the inspection when the number that the acquisition module 301 obtains is at least twice
It surveys per whether the adjacent time interval for generating useful signal twice is less than predetermined time interval.
Third closes submodule 302a4, is configured as detecting in first detection sub-module 302a1 and is produced twice per adjacent
When whether the time interval of raw useful signal is less than predetermined time interval, alarm clock jingle bell is closed.
In order to avoid when alarm clock jingle bell, when between the dormant user adjacent time for touching smart machine twice
When longer, still can control smart machine makes the pattern switching of quarter-bell at close pattern, and can not effectively reach and wake use
The purpose at family.When number is at least twice, smart machine can be detected is per the adjacent time interval for generating useful signal twice
It is no to be less than predetermined time interval, if being respectively less than predetermined time interval per the adjacent time interval for generating useful signal twice, hold
Row closes the operation of alarm clock jingle bell, conversely, not executing the operation for closing alarm clock jingle bell then.
For example, setting predetermined time interval as 0.5 second, smart machine need to get useful signal twice and this effectively believes twice
When time interval between number is necessarily less than predetermined time interval, smart machine just executes the operation for closing alarm clock jingle bell.Also
It is to say, when user holds the time interval of smart machine less than 0.5 second for the first time and for the second time, smart machine execution is closed noisy
The operation of clock jingle bell, when the time interval that user holds smart machine for the first time and for the second time is greater than 0.5 second, smart machine is not
Execute the operation for closing alarm clock jingle bell.
It should be noted that predetermined time interval mentioned here can be 0.5 second or 1 second, between the predetermined time
Every set-up mode can by manufacturer be arranged and also by being artificially arranged, the present embodiment not to the predetermined time interval it is specific when
Long and specific set-up mode limits.
It should be noted that the method for method and steps 202a3 to the step 202a4 of step 202a1 to step 202a2 can
To be used alone, can also be used in combination.
When two methods are used in combination, the only position sum number of each generation useful signal acquired in the smart machine
When amount must be identical and be necessarily less than predetermined time interval per the adjacent time interval for generating useful signal twice, smart machine is
The operation for closing alarm clock jingle bell can be executed.
In one possible implementation, referring also to Fig. 3 B, the device further include: detection module 303 and the second control
Module 304.
Detection module 303, be configured as by the pattern switching of the alarm clock be the circulation pattern after, detect whether to reach this
Next time corresponding to predetermined amount of time reminds the moment.
Second control module 304 is configured as under the detection module 303 detection reaches corresponding to predetermined amount of time
When the secondary prompting moment, smart machine jingle bell again is controlled;Alternatively, obtaining the current sleep state of user, it is in and sleeps in the user
When dormancy state, the pattern switching of alarm clock is then to close when the user is in non-sleep state to control smart machine by jingle bell again
Close pattern.
For example, predetermined amount of time be 10 minutes, then when smart machine 6 points of the morning pattern switchings by alarm clock be circulation
After mode, smart machine close alarm clock jingle bell, by predetermined amount of time be added to recently switching alarm clock mode at the time of on obtain
Next time wakes the moment, and detects whether the current moment is to wake the moment (i.e. 10 minutes) next time at 6 points, if reaching at 6 points 10 minutes, intelligently sets
Standby then jingle bell again.
In conclusion the alarm clock control device provided in the embodiment of the present disclosure, passes through the alarm clock jingle bell phase in smart machine
Between, the number that useful signal is generated in scheduled duration is obtained, and the closing mode of alarm clock is controlled according to the number;Due to user without
The closing mode of the i.e. controllable alarm clock of the screen of touch-control smart machine is needed, therefore solves the display function appearance when mobile phone screen
When unusual condition, user then can not use screen touch control manner closing hand phone alarm clock jingle bell the problem of;Simplified user is reached
Close the effect of the operating procedure of alarm clock.
In the present embodiment, alarm clock institute is controlled according to the difference of the number of acquired useful signal by smart machine
The mode to be switched avoids accurately triggering the control relevant to alarm clock program shown on screen due to user, and causes
User can not correctly be switched to desired alarm clock mode, improve the accuracy that user switches alarm clock mode.
In the present embodiment, by by the pattern switching of alarm clock be circulation pattern after, if user is in non-sleep state,
Then automatically by the pattern switching of alarm clock be close pattern, keep the alarm clock function of smart machine more intelligent and humanized.
In the present embodiment, whether identical by detecting the useful signal generated every time, it is rung to determine whether closing alarm clock
Bell improves the difficulty that user closes alarm clock, has achieved the purpose that effectively to wake user.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method
Embodiment in be described in detail, no detailed explanation will be given here.
An exemplary embodiment of the present disclosure provides a kind of alarm clock control devices, can be realized the alarm clock control of disclosure offer
Method processed, the alarm clock control device include: processor, for the memory of storage processor executable instruction;
Wherein, processor is configured as:
During the alarm clock jingle bell of smart machine, the number that useful signal is generated in scheduled duration, the useful signal are obtained
For generated signal when having that at least two o'clock is concurrently triggered in the predetermined side edge of the smart machine;
The closing mode of alarm clock is controlled according to number.
Fig. 4 is shown according to an exemplary embodiment a kind of for controlling the block diagram of the device of alarm clock.For example, device
400 can be mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, and medical treatment is set
It is standby, body-building equipment, personal digital assistant etc..
Referring to Fig. 4, device 400 may include following one or more components: processing component 402, memory 404, power supply
Component 406, multimedia component 408, audio component 410, input/output (I/O) interface 412, sensor module 414, Yi Jitong
Believe component 416.
The integrated operation of the usual control device 400 of processing component 402, such as with display, telephone call, data communication, phase
Machine operation and record operate associated operation.Processing component 402 may include that one or more processors 418 refer to execute
It enables, to perform all or part of the steps of the methods described above.In addition, processing component 402 may include one or more modules, just
Interaction between processing component 402 and other assemblies.For example, processing component 402 may include multi-media module, it is more to facilitate
Interaction between media component 408 and processing component 402.
Memory 404 is configured as storing various types of data to support the operation in device 400.These data are shown
Example includes the instruction of any application or method for operating on device 400, contact data, and telephone book data disappears
Breath, picture, video etc..Memory 404 can be by any kind of volatibility or non-volatile memory device or their group
It closes and realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile
Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash
Device, disk or CD.
Power supply module 406 provides electric power for the various assemblies of device 400.Power supply module 406 may include power management system
System, one or more power supplys and other with for device 400 generate, manage, and distribute the associated component of electric power.
Multimedia component 408 includes the screen of one output interface of offer between device 400 and user.In some realities
It applies in example, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen can
To be implemented as touch screen, to receive input signal from the user.Touch panel include one or more touch sensors with
Sense the gesture on touch, slide, and touch panel.Touch sensor can not only sense the boundary of a touch or slide action, and
And also detect duration and pressure relevant to touch or slide.In some embodiments, multimedia component 408 includes
One front camera and/or rear camera.It is such as in a shooting mode or a video mode, preceding when device 400 is in operation mode
It sets camera and/or rear camera can receive external multi-medium data.Each front camera and rear camera can
Be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 410 is configured as output and/or input audio signal.For example, audio component 410 includes a Mike
Wind (MIC), when device 400 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone is matched
It is set to reception external audio signal.The received audio signal can be further stored in memory 404 or via communication set
Part 416 is sent.In some embodiments, audio component 410 further includes a loudspeaker, is used for output audio signal.
I/O interface 412 provides interface between processing component 402 and peripheral interface module, and above-mentioned peripheral interface module can
To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock
Determine button.
Sensor module 414 includes one or more sensors, and the state for providing various aspects for device 400 is commented
Estimate.For example, sensor module 414 can detecte the state that opens/closes of device 400, the relative positioning of component, such as component
For the display and keypad of device 400, sensor module 414 can be with the position of 400 1 components of detection device 400 or device
Set change, the existence or non-existence that user contacts with device 400, the temperature in 400 orientation of device or acceleration/deceleration and device 400
Variation.Sensor module 414 may include proximity sensor, be configured to detect without any physical contact near
The presence of object.Sensor module 414 can also include optical sensor, such as CMOS or ccd image sensor, for answering in imaging
With middle use.In some embodiments, which can also include acceleration transducer, gyro sensor, magnetic
Sensor, pressure sensor or temperature sensor.
Communication component 416 is configured to facilitate the communication of wired or wireless way between device 400 and other equipment.Device
400 can access the wireless network based on communication standard, such as Wi-Fi, 2G or 3G or their combination.In an exemplary reality
It applies in example, communication component 416 receives broadcast singal or the related letter of broadcast from external broadcasting management system via broadcast channel
Breath.In one exemplary embodiment, communication component 416 further includes near-field communication (NFC) module, to promote short range communication.Example
Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology,
Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 400 can be believed by one or more application specific integrated circuit (ASIC), number
Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing above-mentioned alarm clock control method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided
It such as include the memory 404 of instruction, above-metioned instruction can be executed by the processor 418 of device 400 to complete above-mentioned alarm clock controlling party
Method.For example, non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape,
Floppy disk and optical data storage devices etc..
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or
Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following
Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.
Claims (7)
1. a kind of alarm clock control method, which is characterized in that be applied in smart machine, which comprises
During the alarm clock jingle bell of the smart machine, the number that useful signal is generated in scheduled duration, effective letter are obtained
Number for generated signal when having that at least two o'clock is concurrently triggered in the predetermined side edge of the smart machine;
The closing mode of alarm clock is controlled according to the number, comprising: close the alarm clock jingle bell;
It is described to close the alarm clock jingle bell, comprising: when the number is at least twice, to detect the effective letter generated every time
It is number whether identical, and detect and whether be less than predetermined time interval per the adjacent time interval for generating the useful signal twice;?
When the useful signal generated every time is identical, and institute is respectively less than in every adjacent time interval for generating the useful signal twice
When stating predetermined time interval, the alarm clock jingle bell is closed;
Whether the useful signal that the detection generates every time is identical, comprising: quilt when acquisition generates the useful signal every time
The position of sensor in the side edge of touching and quantity;The position of the sensor corresponding to the useful signal generated every time
When setting all the same with quantity, determine that the useful signal generated every time is identical.
2. the method according to claim 1, wherein it is described according to the number control alarm clock closing mode,
Include:
It is circulation pattern by the pattern switching of the alarm clock when the number is the first pre-determined number, it is noisy under circulation pattern
Clock can jingle bell again after predetermined amount of time;
It is close pattern by the pattern switching of the alarm clock when the number is the second pre-determined number, it is noisy under close pattern
Clock no longer jingle bell again;
Wherein, first pre-determined number is primary or one of at least twice, and second pre-determined number is once or extremely
Lack the another kind in twice.
3. according to the method described in claim 2, it is characterized in that, the method also includes:
By the pattern switching of the alarm clock be the circulation pattern after, detect whether to reach corresponding to the predetermined amount of time
Next time wakes the moment;
If reaching next time corresponding to the predetermined amount of time wakes the moment, smart machine jingle bell again is controlled;Alternatively,
It obtains the current sleep state of user and smart machine jingle bell again is controlled, in institute when the user is in sleep state
It is then the close pattern by the pattern switching of the alarm clock when stating user and being in non-sleep state.
4. a kind of alarm clock control device, which is characterized in that be applied in smart machine, described device includes:
Module is obtained, is configured as during the alarm clock jingle bell of the smart machine, obtains and generates useful signal in scheduled duration
Number, the useful signal be exist in the predetermined side edge of the smart machine it is produced when at least two o'clock is concurrently triggered
Signal;
First control module is configured as the closing mode of the number control alarm clock obtained according to the acquisition module;
First control module includes: the first closing submodule, is configured as closing the alarm clock jingle bell;
Described first closes submodule, comprising: the second detection sub-module is configured as described time obtained in the acquisition module
When number is at least twice, whether detection is less than predetermined time interval per the adjacent time interval for generating useful signal twice;Third
Submodule is closed, is configured as detecting in second detection sub-module per the adjacent time interval for generating useful signal twice
Respectively less than the predetermined time interval when, close the alarm clock jingle bell;
The closing submodule, further includes: the first detection sub-module is configured as the number obtained in the acquisition module
For at least twice when, whether identical detect the useful signal that generates every time;Second closes submodule, is configured as described
When first detection sub-module detects that the useful signal generated every time is identical, the alarm clock jingle bell is closed;
First detection sub-module, comprising: acquisition submodule is configured as obtaining and be touched when generating the useful signal every time
The position of the sensor in side edge touched and quantity;It determines submodule, is configured as the useful signal that ought be generated every time
When the position of corresponding sensor and quantity all the same, determine that the useful signal generated every time is identical.
5. device according to claim 4, which is characterized in that first control module, comprising:
First switching submodule is configured as when the number that the acquisition module obtains is the first pre-determined number, by institute
The pattern switching for stating alarm clock is circulation pattern, and the alarm clock under circulation pattern can jingle bell again after predetermined amount of time;
Second switching submodule is configured as when the number that the acquisition module obtains is the second pre-determined number, by institute
The pattern switching for stating alarm clock is close pattern, the no longer jingle bell again of the alarm clock under close pattern;
Wherein, first pre-determined number is primary or one of at least twice, and second pre-determined number is once or extremely
Lack the another kind in twice.
6. device according to claim 5, which is characterized in that described device further include:
Detection module is configured as after by the pattern switching of the alarm clock being the circulation pattern, detects whether to reach described
Next time corresponding to predetermined amount of time wakes the moment;
Second control module is configured as crying next time corresponding to the predetermined amount of time when detection module detection reaches
When the awake moment, smart machine jingle bell again is controlled;Alternatively, obtaining the current sleep state of user, it is in the user
When sleep state, smart machine jingle bell again is controlled, when the user is in non-sleep state, then by the alarm clock
Pattern switching is the close pattern.
7. a kind of alarm clock control device, which is characterized in that described device includes:
Processor;
For storing the memory of the processor-executable instruction;
Wherein, the processor is configured to:
During the alarm clock jingle bell of smart machine, the number that useful signal is generated in scheduled duration is obtained, the useful signal is
There is generated signal when at least two o'clock is concurrently triggered in the predetermined side edge of the smart machine;
The closing mode of alarm clock is controlled according to the number, comprising: close the alarm clock jingle bell;
It is described to close the alarm clock jingle bell, comprising: when the number is at least twice, to detect the effective letter generated every time
It is number whether identical, and detect and whether be less than predetermined time interval per the adjacent time interval for generating the useful signal twice;?
When the useful signal generated every time is identical, and institute is respectively less than in every adjacent time interval for generating the useful signal twice
When stating predetermined time interval, the alarm clock jingle bell is closed;
Whether the useful signal that the detection generates every time is identical, comprising: quilt when acquisition generates the useful signal every time
The position of sensor in the side edge of touching and quantity;The position of the sensor corresponding to the useful signal generated every time
When setting all the same with quantity, determine that the useful signal generated every time is identical.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510849495.XA CN105516469B (en) | 2015-11-27 | 2015-11-27 | Alarm clock control method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510849495.XA CN105516469B (en) | 2015-11-27 | 2015-11-27 | Alarm clock control method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105516469A CN105516469A (en) | 2016-04-20 |
CN105516469B true CN105516469B (en) | 2019-04-26 |
Family
ID=55724088
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510849495.XA Active CN105516469B (en) | 2015-11-27 | 2015-11-27 | Alarm clock control method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105516469B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107306310A (en) * | 2016-04-25 | 2017-10-31 | 中兴通讯股份有限公司 | A kind of information processing method and terminal device |
CN106375164A (en) * | 2016-08-29 | 2017-02-01 | 北京小米移动软件有限公司 | Method and device for transmitting control command |
CN106453958A (en) * | 2016-11-30 | 2017-02-22 | 努比亚技术有限公司 | Alarm clock control terminal and method |
CN107589896A (en) * | 2017-09-05 | 2018-01-16 | 广东欧珀移动通信有限公司 | Control method, device and terminal |
CN116449363B (en) * | 2023-03-30 | 2024-01-19 | 森思泰克河北科技有限公司 | Alarm clock control method and device based on radar, radar and storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101626425A (en) * | 2009-08-04 | 2010-01-13 | 中兴通讯股份有限公司 | Power-saving method and apparatus of handheld terminal |
CN102203705A (en) * | 2011-06-10 | 2011-09-28 | 华为终端有限公司 | A touch-off method and wireless hand-held device |
EP2816442A1 (en) * | 2013-06-20 | 2014-12-24 | Samsung Electronics Co., Ltd | Electronic device and method of controlling electronic device using grip sensing |
CN104580642A (en) * | 2014-12-30 | 2015-04-29 | 小米科技有限责任公司 | Clock reminding method and device |
CN104731514A (en) * | 2015-04-09 | 2015-06-24 | 努比亚技术有限公司 | Method and device for recognizing single-hand-holding touch operation in touch operation area |
CN104767890A (en) * | 2015-04-23 | 2015-07-08 | 广东欧珀移动通信有限公司 | Alarm clock control method and device based on handheld device |
CN104834462A (en) * | 2015-03-31 | 2015-08-12 | 努比亚技术有限公司 | Unlocking method for terminal equipment and terminal equipment |
CN104899030A (en) * | 2015-05-28 | 2015-09-09 | 广东欧珀移动通信有限公司 | Alarm clock processing method and user terminal |
CN104980586A (en) * | 2015-06-26 | 2015-10-14 | 努比亚技术有限公司 | Control method and device of terminal physical button |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2626753B1 (en) * | 2008-05-11 | 2014-11-19 | BlackBerry Limited | Electronic device and method providing improved bedtime mode of operation |
US8217780B2 (en) * | 2009-12-31 | 2012-07-10 | Tyco Safety Products Canada Ltd. | System and method for extension of entry delay in a security system |
KR101735344B1 (en) * | 2011-01-10 | 2017-05-15 | 삼성전자 주식회사 | Method of turning alarm off and mobile terminal thereof |
CN103442125A (en) * | 2013-08-01 | 2013-12-11 | 广东明创软件科技有限公司 | Mobile phone |
CN203618054U (en) * | 2013-11-18 | 2014-05-28 | 上海斐讯数据通信技术有限公司 | Alarm clock control system and mobile terminal |
CN104065830A (en) * | 2014-07-04 | 2014-09-24 | 苏州天趣信息科技有限公司 | Alarm clock shutting method and device of portable terminal and portable terminal thereof |
CN104635928A (en) * | 2015-01-30 | 2015-05-20 | 上海理工大学 | Mobile terminal having intelligent alarm clock function |
-
2015
- 2015-11-27 CN CN201510849495.XA patent/CN105516469B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101626425A (en) * | 2009-08-04 | 2010-01-13 | 中兴通讯股份有限公司 | Power-saving method and apparatus of handheld terminal |
CN102203705A (en) * | 2011-06-10 | 2011-09-28 | 华为终端有限公司 | A touch-off method and wireless hand-held device |
EP2816442A1 (en) * | 2013-06-20 | 2014-12-24 | Samsung Electronics Co., Ltd | Electronic device and method of controlling electronic device using grip sensing |
CN104580642A (en) * | 2014-12-30 | 2015-04-29 | 小米科技有限责任公司 | Clock reminding method and device |
CN104834462A (en) * | 2015-03-31 | 2015-08-12 | 努比亚技术有限公司 | Unlocking method for terminal equipment and terminal equipment |
CN104731514A (en) * | 2015-04-09 | 2015-06-24 | 努比亚技术有限公司 | Method and device for recognizing single-hand-holding touch operation in touch operation area |
CN104767890A (en) * | 2015-04-23 | 2015-07-08 | 广东欧珀移动通信有限公司 | Alarm clock control method and device based on handheld device |
CN104899030A (en) * | 2015-05-28 | 2015-09-09 | 广东欧珀移动通信有限公司 | Alarm clock processing method and user terminal |
CN104980586A (en) * | 2015-06-26 | 2015-10-14 | 努比亚技术有限公司 | Control method and device of terminal physical button |
Also Published As
Publication number | Publication date |
---|---|
CN105516469A (en) | 2016-04-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105511625B (en) | The awakening method and device of screen | |
EP3016084B1 (en) | Methods and devices for mode switch | |
CN105516469B (en) | Alarm clock control method and device | |
EP3113549B1 (en) | Method and device for waking up mcu chip | |
CN106371688B (en) | Full screen one-handed performance method and device | |
EP3130967B1 (en) | Method for managing an alarm clock and system associated | |
CN105682196B (en) | Communication control method, device and wearable device | |
EP3133874A1 (en) | Method and apparatus for starting energy saving mode | |
CN104598130A (en) | Mode switching method, terminal, wearable equipment and device | |
KR20160125872A (en) | Method and device for awaking element | |
CN105487650A (en) | Intelligent alarm clock turn-off method and apparatus | |
US11743355B2 (en) | Prompting method and device | |
RU2642375C2 (en) | Mobile terminal and method of virtual button processing | |
CN107919124A (en) | Equipment awakening method and device | |
CN106127132B (en) | The reminding method and device, electronic equipment of slidingtype typing fingerprint | |
CN106504473B (en) | The method, apparatus and equipment of wearable device state setting | |
CN110262692A (en) | A kind of touch screen scanning method, device and medium | |
CN107529699A (en) | Control method of electronic device and device | |
CN108538258A (en) | Adjust method and device, the display equipment of back facet current | |
CN106921797A (en) | Information prompting method and device | |
CN109862169A (en) | Control method of electronic device and device | |
CN107203264A (en) | The control method of display pattern, device, electronic equipment | |
CN105242775B (en) | The method and device of state adjustment | |
CN106101372B (en) | Using prompting setting method and device | |
CN106331225B (en) | Touch-control response method and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |