CN108418975A - Method, apparatus, terminal and the computer readable storage medium of alarm clock calling - Google Patents

Method, apparatus, terminal and the computer readable storage medium of alarm clock calling Download PDF

Info

Publication number
CN108418975A
CN108418975A CN201810418448.3A CN201810418448A CN108418975A CN 108418975 A CN108418975 A CN 108418975A CN 201810418448 A CN201810418448 A CN 201810418448A CN 108418975 A CN108418975 A CN 108418975A
Authority
CN
China
Prior art keywords
alarm clock
user
moving
clock calling
type
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.)
Pending
Application number
CN201810418448.3A
Other languages
Chinese (zh)
Inventor
任超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810418448.3A priority Critical patent/CN108418975A/en
Publication of CN108418975A publication Critical patent/CN108418975A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72451User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)

Abstract

The application belongs to a kind of technical field of electronic equipment more particularly to method, apparatus of alarm clock calling, terminal and computer readable storage medium, wherein the method includes:Within the predetermined time before the alarm clock calling moment reaches, whether detection user is moving;If detecting, user is moving, it is determined that whether user meets predetermined movement condition;If user meets predetermined movement condition, alarm clock calling is closed;Rather than alarm clock calling is carried out by the preset alerting pattern of user, have the characteristics that alarm clock calling mode is flexible.

Description

Method, apparatus, terminal and the computer readable storage medium of alarm clock calling
Technical field
The application belongs to a kind of technical field of electronic equipment more particularly to method, apparatus of alarm clock calling, terminal and calculating Machine readable storage medium storing program for executing.
Background technology
In traditional technology, the alarm clock calling mode on electronic equipment includes mainly:When user presets the prompting of alarm clock Between and alerting pattern, the electronic equipment make a noise by the preset alerting pattern of user when alarm clock calling time is reached Clock is reminded, and has the shortcomings that alarm clock calling mode flexibility is poor.
Invention content
The embodiment of the present application provides a kind of method, apparatus of alarm clock calling, terminal and computer readable storage medium, can be with Solve the technical problem of traditional alarm clock calling mode flexibility difference.
The embodiment of the present application first aspect provides a kind of method of alarm clock calling, including:
Within the predetermined time before the alarm clock calling moment reaches, whether detection user is moving;
If detecting, user is moving, it is determined that whether user meets predetermined movement condition;
If user meets predetermined movement condition, alarm clock calling is closed.
The embodiment of the present application second aspect provides a kind of device of alarm clock calling, including:
Detection unit, in the predetermined time before the alarm clock calling moment reaches, whether detection user to move;
Determination unit, if for detecting that user is moving, it is determined that whether user meets predetermined movement condition;
Closing unit closes alarm clock calling if meeting predetermined movement condition for user.
The embodiment of the present application third aspect provides a kind of terminal, including memory, processor and storage are in memory And the computer program that can be run on a processor, when processor executes computer program the step of the realization above method.
The embodiment of the present application fourth aspect provides a kind of computer readable storage medium, computer-readable recording medium storage The step of having computer program, the above method is realized when computer program is executed by processor.
In the embodiment of the present application, by detecting whether user is moving before the alarm clock calling moment reaches, and used determining When family meets predetermined movement condition, alarm clock calling is closed, rather than alarm clock calling is carried out by the preset alerting pattern of user, Have the characteristics that alarm clock calling mode is flexible.
Description of the drawings
It, below will be to needed in the embodiment attached in order to illustrate more clearly of the technical solution of the embodiment of the present application Figure is briefly described, it should be understood that the following drawings illustrates only some embodiments of the application, therefore is not construed as pair The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 is a kind of first implementation flow schematic diagram of the method for alarm clock calling provided by the embodiments of the present application;
Fig. 2 is a kind of the second implementation process schematic diagram of the method for alarm clock calling provided by the embodiments of the present application;
Fig. 3 is a kind of third implementation process schematic diagram of the method for alarm clock calling provided by the embodiments of the present application;
Fig. 4 is a kind of the 4th implementation process schematic diagram of the method for alarm clock calling provided by the embodiments of the present application;
Fig. 5 is the schematic diagram at alarm clock setting provided by the embodiments of the present application interface;
Fig. 6 is the structural schematic diagram of the device of alarm clock calling provided by the embodiments of the present application;
Fig. 7 is the structural schematic diagram of terminal provided by the embodiments of the present application.
Specific implementation mode
It is with reference to the accompanying drawings and embodiments, right in order to make the object, technical solution and advantage of the application be more clearly understood The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, and It is not used in restriction the application.Meanwhile in the description of the present application, term " first ", " second " etc. are only used for distinguishing description, without It can be interpreted as indicating or implying relative importance.
Fig. 1 shows a kind of first implementation flow schematic diagram of the method for alarm clock calling provided by the embodiments of the present application, institute It states method and is applied to terminal, can be executed by the device of the alarm clock calling configured in the terminal, the device of the alarm clock calling It can be realized by way of hardware and/or software, be applicable to flexibly carry out the situation of alarm clock calling.The method can be with Including step 101 to step 103.
In a step 101, within the predetermined time before the alarm clock calling moment reaches, whether detection user is moving.
In some embodiments of the application, the terminal includes smart mobile phone, tablet computer, personal digital assistant (PDA), the terminal devices such as learning machine, electronic watch.The applications such as alarm clock, wechat, barometer are installed on the terminal device.
Wherein, the predetermined time can be the pre-set time, for example, 5 before alarm clock calling moment arrival Minute or 10 minutes.
That is, the embodiment of the present application is that whether detection user is moving before the alarm clock calling moment reaches, and true When determining user and meeting predetermined movement condition, alarm clock calling is closed, rather than alarm clock is carried out by the preset alerting pattern of user It reminds, has the characteristics that alarm clock calling mode is flexible.
In a step 102, if detecting, user is moving, it is determined that whether user meets predetermined movement condition.
For example, in 10 minutes before the alarm clock calling moment reaches, whether detection user is moving;If detecting, user exists Movement, it is determined that whether user meets predetermined movement condition, to judge whether user has got up, and determines whether to close noisy Clock is reminded.For example, when determining that user meets predetermined movement condition, indicates that user has got up, closes alarm clock calling at this time, That is, no longer carrying out alarm clock calling, have the characteristics that alarm clock calling mode is flexible.
In step 103, if user meets predetermined movement condition, alarm clock calling is closed.
For example, user is set in advance in, to reach the alerting pattern at alarm clock calling moment be jingle bell or vibration, when determining user When meeting predetermined movement condition, then when reaching the alarm clock calling moment, alarm clock is automatically closed, without jingle bell or vibration, not only The power consumption of terminal is reduced, also so that alarm clock calling mode is more in line with user demand.
Optionally, the detection user whether in movement include:Initial time institute of the acquisition terminal in the predetermined time Locate the initial gas pressure value of environment, and obtains real-time atmospheric pressure value of the terminal within the predetermined time;If the real-time atmospheric pressure value It is more than predetermined threshold with the difference of the initial gas pressure value, it is determined that the user is moving.
When due to user movement, center of gravity can move up and down, and air pressure changes with the variation of height, therefore, can be with By barometer obtain terminal the initial time local environment of the predetermined time initial gas pressure value and terminal described Real-time atmospheric pressure value in predetermined time, then it is more than predetermined threshold in the difference of the real-time atmospheric pressure value and the initial gas pressure value When, determine that the user is moving.Wherein, the predetermined threshold can be obtained according to practical experience.
It should be noted that it further includes the shock sensor or acceleration utilized in terminal that whether the detection user, which moves, The detected value that sensor obtains determines whether user moves;Or obtain the user movement step number determination use of third-party application record Whether family moves;Or determine whether user moves using the data detected with the wearable device of the terminal association.This Place is merely illustrative, and does not indicate that, for the limitation to the application protection domain, the mode whether other detection users move is same Sample is suitable for the application.
Optionally, the method further includes:If user, which is not detected, is moving or is determining that user is unsatisfactory for predetermined movement When condition, then alarm clock calling moment unlatching alarm clock calling is reached.
For example, user, during sleep, the terminal is not detected user and is moving, then when reaching the alarm clock calling moment, Normally-open alarm clock calling misses important stroke to avoid user.
Fig. 2 shows a kind of second implementation process schematic diagram of the method for alarm clock calling provided by the embodiments of the present application, institutes It states method to further limit step 101 to the step 102 of embodiment described in above-mentioned Fig. 1, can more accurately judge user Whether moving, the movement for avoiding user sporadic leads to the case where alarm clock calling is by mistake closing.Wherein, the present embodiment and figure The 1 embodiment same section repeats no more, and the method includes the steps 201 to step 205.
In step 201, user in each predetermined interval that initial time of the detection in the predetermined time starts Whether moving.
For example, the alarm clock calling moment is 8:00, the predetermined time is 10 minutes before the alarm clock calling moment, when predetermined space Between be 1 minute, then whether user is transporting in each predetermined interval that initial time of the detection in the predetermined time starts It is dynamic to indicate:Detection is 7:Whether user moves in each of 50 beginnings 1 minute.
In step 202, it is being moved if user is not detected in current predetermined interval, in predetermined space Between when reaching, the initial value of record expired times N=N+1, N are zero, and enter next predetermined interval detection user and be It is no to move, until reaching the alarm clock calling moment.
For example, 7:50:00 starts, and opens timing application, and detect 7:50:It is used in 00 first started 1 minute Whether family is moving.If user is not detected to move, 7 are reached:51:When 00, expired times N=0+1 is recorded, and enter Next predetermined interval 7:51:00~7:52:00, timing application is reopened, whether detection user is moving, i.e. iteration Step 202 or step 203 are executed, until reaching the alarm clock calling moment.
In step 203, if being detected in current predetermined interval, user is moving, to detect that user exists Initial time at the time of movement as next predetermined interval, and since the initial time, make a reservation for into next Whether interval time detection user is moving, until reaching the alarm clock calling moment.
For example, 7:50:00 starts, and opens timing application, and detect 7:50:It is used in 00 first started 1 minute Whether family is moving.If 7:50:30 detect that user is moving, then with 7:50:30 be initial time, is made a reservation for into next Interval time 7:50:30~7:51:30, timing application is reopened, whether detection user is moving, i.e., iteration executes step 202 or step 203, until reaching the alarm clock calling moment.
It should be noted that the predetermined interval can be configured by user, it can also be in manufacture according to reality The experience of trampling is configured.For example, the predetermined interval could be provided as 45 seconds, 90 seconds etc..
In step 204, if being less than or equal to preset value reaching N described in the alarm clock calling moment, it is determined that user meets Predetermined movement condition.
That is, when reaching the alarm clock calling moment, it is default to judge whether the expired times N of record is less than or equal to Value, if N is less than or equal to preset value, then it represents that user movement is more frequent, at this point, determining that user meets predetermined movement condition, then Close alarm clock calling.For example, when determining that user meets predetermined movement condition, indicates that user has got up, need not carry out again Alarm clock calling.
Wherein, the preset value can be configured by user, can also be configured according to practical experience in manufacture. For example, the preset value can be 3 times.That is, when N is less than or equal to 3 times, indicate that user movement is more frequent, at this point, Determine that user meets predetermined movement condition.
In step 205, if user meets predetermined movement condition, alarm clock calling is closed.
For example, user is set in advance in, to reach the alerting pattern at alarm clock calling moment be jingle bell or vibration, when determining user When meeting predetermined movement condition, then when reaching the alarm clock calling moment, alarm clock is automatically closed, without jingle bell or vibration, not only The power consumption of terminal is reduced, also so that alarm clock calling mode is more in line with user demand.
In the embodiment of the present application, by detecting whether user is moving in each predetermined interval, and do not moved Expired times N's is accumulative, when N is less than or equal to preset value, just determines that user meets predetermined movement condition, can be more accurately Whether judgement user is moving, and the case where alarm clock calling is by mistake closing can be caused to avoid the sporadic movement of user.
For example, user during sleep, accidentallys run into terminal so that the terminal detects that user is moving, at this point, belonging to The sporadic movement of user.The case where causing alarm clock calling to be closed by mistake in order to avoid the sporadic movement of user, in this Shen The accumulative of expired times N please not be moved by accumulative, when N is less than or equal to preset value, just determines user's satisfaction in embodiment Therefore predetermined movement condition will not lead to the case where alarm clock calling is by mistake closing.
Optionally, the method further includes:If at the arrival alarm clock calling moment or before reaching the alarm clock calling moment, N More than the preset value, it is determined that user is unsatisfactory for predetermined movement condition.
For example, the preset value is 3 times, if at the arrival alarm clock calling moment or before reaching the alarm clock calling moment, N is big It in 3 times, indicates that user movement is less, at this point, determining that user is unsatisfactory for predetermined movement condition, and is opened at the arrival alarm clock calling moment Alarm clock calling is opened, important stroke is missed to avoid user.
Wherein, if before reaching the alarm clock calling moment, N is more than the preset value, then it is pre- directly to determine that user is unsatisfactory for If moving condition, and stop detecting whether user is moving.
Fig. 3 shows a kind of third implementation process schematic diagram of the method for alarm clock calling provided by the embodiments of the present application, institute It states method to further limit step 101 to the step 102 of embodiment described in above-mentioned Fig. 1, and can more accurately judge The case where whether user is moving, and the movement for avoiding user sporadic causes alarm clock calling to be closed by mistake.Wherein, the present embodiment It is repeated no more with embodiment same section described in Fig. 1, the method includes the steps 301 to step 302.
In step 301, user in each predetermined interval that initial time of the detection in the predetermined time starts Whether moving.
For example, the alarm clock calling moment is 8:00, the predetermined time is 10 minutes before the alarm clock calling moment, between each making a reservation for Be 1 minute every the time, then user in each predetermined interval that initial time of the detection in the predetermined time starts Whether in movement representation:Detection is 7:Whether user is moving in 50 10 started 1 minute.
In step 302, if being detected in M predetermined interval, user is moving, it is determined that user meets pre- If moving condition, wherein M is the integer more than 1.
For example, detection is 7:Whether user is moving in 50 10 started 1 minute, M 5, then in 10 predetermined spaces In time, if there is 5 to detect that user is moving in 1 minute, it is determined that user meets predetermined movement condition.
In the embodiment of the present application, by detecting whether user is moving in each predetermined interval, and judge whether to reach It detects that user is moving to M predetermined interval, detects that user is moving reaching M predetermined interval When, just determine that user meets predetermined movement condition, it, can be accidental to avoid user more accurately to judge whether user is moving Property movement cause alarm clock calling by mistake close the case where.
For example, user during sleep, accidentallys run into terminal so that the terminal detects that user is moving, at this point, belonging to The sporadic movement of user.The case where causing alarm clock calling to be closed by mistake in order to avoid the sporadic movement of user, in this Shen It please detect that user is moving in M predetermined interval in embodiment, just determine that user meets predetermined movement condition, Therefore, the case where alarm clock calling will not be caused to be closed by mistake.Wherein, the value of M can be set by user, or dispatched from the factory When set according to practical experience.
Optionally, in the embodiment of the present application, detect that user is moving in M predetermined interval if reaching, directly It meets determining user and meets predetermined movement condition, and stop detecting whether user is moving, further to save the power consumption of terminal.
Optionally, in the embodiment of the present application, the method further includes:If being less than M when reaching at the alarm clock calling moment in advance Determine to detect that user is moving in interval time, it is determined that user is unsatisfactory for predetermined movement condition.
For example, M is equal to 5, if when reaching at the alarm clock calling moment, detect that user is moving only 2 times, then it represents that user It moves less, at this point, determine that user is unsatisfactory for predetermined movement condition, and alarm clock calling is opened reaching the alarm clock calling moment, with User is avoided to miss important stroke.
In addition, in some embodiments of the application, it is automatically closed to preferably determine whether alarm clock needs to realize, The method also further limits step 301 described in step 201 described in step 101, Fig. 2 described in Fig. 1 or Fig. 3, that is, judges Whether the type of alarm clock, which belongs to, is waken type, if the type of the alarm clock, which belongs to, is waken type, thens follow the steps 101, step 201 Or in step 301.In the following, as shown in figure 4, being illustrated with embodiment described in Fig. 1, the present embodiment is implemented with described in Fig. 1 Example same section repeats no more, and the method includes the steps 401 to step 404.
In step 401, judge whether the type of alarm clock belongs to and wake type.
In step 402, predetermined before the alarm clock calling moment reaches if the type of the alarm clock, which belongs to, is waken type In time, whether detection user is moving.
In step 403, if detecting, user is moving, it is determined that whether user meets predetermined movement condition.
In step 404, if user meets predetermined movement condition, alarm clock calling is closed.
In some embodiments of the application, type is waken by judging whether the type of alarm clock belongs to, it may be determined that Whether the alarm clock, which needs to realize, is automatically closed.
For example, user is when carrying out the timing of a certain movement or a certain work, alarm clock set by user belongs to needs at this time The alarm clock reminded, that is, need not realize the alarm clock being automatically closed.And the alarm clock set before being slept for user, then user one As wish after it gets up before the alarm clock calling moment, no longer carry out alarm clock calling, that is, need realize alarm clock is automatically closed.Cause This, within the predetermined time before carrying out the arrival of alarm clock calling moment, during exercise whether detection user, need first to judge alarm clock Whether type, which belongs to, is waken type, if the type of alarm clock, which belongs to, is waken type, the pre- timing before the alarm clock calling moment reaches In, whether detection user is moving, and determines whether to close alarm clock calling, preferably to meet user demand.
Optionally, in some embodiments of the application, whether the type for judging alarm clock, which belongs to, is waken type, packet It includes:If the alarm clock calling moment is within a preset period of time, judges that the type of alarm clock belongs to and wake type.
For example, the alarm clock calling moment is 2:00 to 5:In the range of 00, then judges that the type of alarm clock belongs to and wake type.
Wherein, the preset time period can be configured by user, or be set according to the behavioural habits of user.
For example, the alarm time set daily according to user, getting up the period for user is inferred, and by the alarm clock calling moment Alarm clock in the period of getting up is judged to belonging to the alarm clock for waking type.
Optionally, in some embodiments of the application, whether the type for judging alarm clock, which belongs to, is waken type, packet It includes:Operation is arranged in the alarm clock type that interface is arranged in alarm clock according to user, judges whether the type of alarm clock belongs to and wakes type.
For example, as shown in figure 5, for alarm clock provided by the embodiments of the present application be arranged interface schematic diagram, it is described according to user Operation is arranged in the alarm clock type that interface is arranged in alarm clock, judges whether the type of alarm clock belongs to and wakes type and include:According to user It is waken on alarm clock setting interface 5 to whether the type of the setting operation judges alarm clock of alarm clock type setting control 51 belongs to Type.
For example, user, which clicks the unlatching of alarm clock type setting control 51, wakes type setting function, then alarm clock is judged Type, which belongs to, wakes type.User clicks the closing of alarm clock type setting control 51 and wakes type setting function, then judges noisy The type of clock is not belonging to wake type.
Optionally, in some embodiments of the application, the type for judging alarm clock whether belong to wake type it Afterwards, including:If the type of the alarm clock is not belonging to wake type, alarm clock calling moment unlatching alarm clock calling is reached.
Fig. 6 shows a kind of structural schematic diagram of the device 600 of alarm clock calling provided by the embodiments of the present application, including detection Unit 601, determination unit 602 and closing unit 603.
Detection unit 601, in the predetermined time before the alarm clock calling moment reaches, whether detection user to move;
Determination unit 602, if for detecting that user is moving, it is determined that whether user meets predetermined movement condition;
Closing unit 603 closes alarm clock calling if meeting predetermined movement condition for user.
In some embodiments of the application, the detection unit 601 is specifically used for detection in the predetermined time Whether user is moving in each predetermined interval that initial time starts.Correspondingly, the determination unit 602, specific to use If being moved in user is not detected in current predetermined interval, when predetermined interval reaches, record time-out The initial value of times N=N+1, N is zero, and enters whether next predetermined interval detection user is moving, until reaching The alarm clock calling moment;If being detected in current predetermined interval, user is moving, to detect user in movement Initial time of the moment as next predetermined interval, and since the initial time, when into next predetermined space Between detection user whether moving, until reach the alarm clock calling moment;If being less than or equal to reaching N described in the alarm clock calling moment Preset value, it is determined that user meets predetermined movement condition.
In some embodiments of the application, the determination unit 602, if also particularly useful for when reaching alarm clock calling It carves or before reaching the alarm clock calling moment, the N is more than the preset value, it is determined that user is unsatisfactory for predetermined movement condition.
In some embodiments of the application, the detection unit 601, also particularly useful for detection in the predetermined time Each predetermined interval for starting of initial time in user whether moving.Correspondingly, the determination unit 602, also has If body in M predetermined interval for detecting that user is moving, it is determined that user meets predetermined movement condition, wherein M is the integer more than 1.
Optionally, the determination unit 602, if between also particularly useful for making a reservation for less than M when reaching at the alarm clock calling moment Every detecting that user moving in the time, it is determined that user is unsatisfactory for predetermined movement condition.
In some embodiments of the application, the detection unit 601 makes a reservation for also particularly useful for terminal is obtained described The initial gas pressure value of the initial time local environment of time, and obtain real-time atmospheric pressure value of the terminal within the predetermined time; If the real-time atmospheric pressure value and the difference of the initial gas pressure value are more than predetermined threshold, it is determined that the user is moving.
In some embodiments of the application, the detection unit 601 further includes that judgment sub-unit and detection are single Member wakes type specifically for judging whether the type of alarm clock belongs to;If the type of the alarm clock, which belongs to, wakes type, noisy Clock was reminded in the predetermined time before moment arrival, and whether detection user is moving.
Optionally, if the judgment sub-unit is used for the alarm clock calling moment within a preset period of time, judge alarm clock Type belong to and wake type.
Optionally, the judgment sub-unit is additionally operable to that the alarm clock type setting operation at interface is arranged in alarm clock according to user, Judge whether the type of alarm clock belongs to and wakes type.
Optionally, described device further includes opening unit, if the type for the alarm clock is not belonging to wake type, Reach alarm clock calling moment unlatching alarm clock calling.
It should be noted that for convenience and simplicity of description, the specific works of the device 600 of the alarm clock calling of foregoing description Process can refer to the corresponding process of method described in above-mentioned Fig. 1 to Fig. 5, and details are not described herein.
As shown in fig. 7, the application provides a kind of terminal of the method for realizing above-mentioned alarm clock calling, the terminal can be with For terminals such as smart mobile phone, tablet computer, PC (PC), personal digital assistant (PDA), learning machines, including:One or more A input equipment 73 (one is only shown in Fig. 7) and one or more output equipments 74 (one is only shown in Fig. 7).Processor 71, memory 72, input equipment 73 and output equipment 74 are connected by bus 75.
It should be appreciated that in the embodiment of the present application, alleged processor 71 can be central processing unit (Central Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at It can also be any conventional processor etc. to manage device.
Input equipment 73 may include that keyboard, Trackpad, fingerprint are adopted sensor and (finger print information for acquiring user and referred to The directional information of line), microphone etc., output equipment 74 may include display, loud speaker etc..
Memory 72 may include read-only memory and random access memory, and provide instruction sum number to processor 71 According to.Part or all of memory 71 can also include nonvolatile RAM.For example, memory 72 can be with The information of storage device type.
The memory 72 is stored with computer program, and the computer program can be run on the processor 71, example Such as, the computer program is the program of the method for alarm clock calling.The processor 71 is realized when executing the computer program Step in the embodiment of the method for above-mentioned alarm clock calling, such as step 101 shown in FIG. 1 is to 103.Alternatively, the processor 71 The function of each module/unit in above-mentioned each device embodiment, such as unit shown in Fig. 6 are realized when executing the computer program 601 to 603 function.
The computer program can be divided into one or more module/units, one or more of modules/mono- Member is stored in the memory 72, and is executed by the processor 71, to complete the application.One or more of moulds Block/unit can be the series of computation machine program instruction section that can complete specific function, the instruction segment by describe it is described based on Implementation procedure of the calculation machine program in the terminal for carrying out alarm clock calling.For example, the computer program can be divided into Detection unit, determination unit and closing unit, each unit concrete function are as follows:Detection unit, for being arrived at the alarm clock calling moment In predetermined time before reaching, whether detection user is moving;Determination unit, if for detecting that user is moving, it is determined that use Whether family meets predetermined movement condition;Closing unit closes alarm clock calling if meeting predetermined movement condition for user.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each work( Can unit, module division progress for example, in practical application, can be as needed and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of described device are divided into different functional units or module, more than completion The all or part of function of description.Each functional unit, module in embodiment can be integrated in a processing unit, also may be used It, can also be above-mentioned integrated during two or more units are integrated in one unit to be that each unit physically exists alone The form that hardware had both may be used in unit is realized, can also be realized in the form of SFU software functional unit.In addition, each function list Member, the specific name of module are also only to facilitate mutually distinguish, the protection domain being not intended to limit this application.Above system The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may realize that lists described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, depends on the specific application and design constraint of technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed Scope of the present application.
In embodiment provided herein, it should be understood that disclosed device/terminal and method can pass through Other modes are realized.For example, device/terminal embodiment described above is only schematical, for example, the module or The division of unit, only a kind of division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units Or component can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, institute Display or the mutual coupling or direct-coupling discussed or communication connection can be by some interfaces, device or unit INDIRECT COUPLING or communication connection can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the application can be integrated in a processing unit, it can also It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or In use, can be stored in a computer read/write memory medium.Based on this understanding, the application realizes above-mentioned implementation All or part of flow in example method, can also instruct relevant hardware to complete, the meter by computer program Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation Code can be source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium May include:Any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic of the computer program code can be carried Dish, CD, computer storage, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that the meter The content that calculation machine readable medium includes can carry out increase and decrease appropriate according to legislation in jurisdiction and the requirement of patent practice, Such as in certain jurisdictions, according to legislation and patent practice, computer-readable medium does not include electric carrier signal and telecommunications Signal.
Embodiment described above is only to illustrate the technical solution of the application, rather than its limitations;Although with reference to aforementioned reality Example is applied the application is described in detail, it will be understood by those of ordinary skill in the art that:It still can be to aforementioned each Technical solution recorded in embodiment is modified or equivalent replacement of some of the technical features;And these are changed Or replace, the spirit and scope of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution should all Within the protection domain of the application.

Claims (13)

1. a kind of method of alarm clock calling, which is characterized in that including:
Within the predetermined time before the alarm clock calling moment reaches, whether detection user is moving;
If detecting, user is moving, it is determined that whether user meets predetermined movement condition;
If user meets predetermined movement condition, alarm clock calling is closed.
2. the method as described in claim 1, which is characterized in that whether the detection user is moving, including:
Detect whether user in each predetermined interval that the initial time in the predetermined time starts is moving;
Correspondingly, if described detect that user is moving, it is determined that whether user, which meets predetermined movement condition, includes:
If user is not detected in current predetermined interval to move, when predetermined interval reaches, record is super When times N=N+1, the initial value of N is zero, and enter next predetermined interval detection user whether moving, until arriving Up to the alarm clock calling moment;If being detected in current predetermined interval, user is moving, to detect that user is moving At the time of initial time as next predetermined interval, and since the initial time, into next predetermined space Whether time detection user is moving, until reaching the alarm clock calling moment;
If being less than or equal to preset value reaching N described in the alarm clock calling moment, it is determined that user meets predetermined movement condition.
3. method as claimed in claim 2, which is characterized in that the method further includes:
If at the arrival alarm clock calling moment or before reaching the alarm clock calling moment, the N is more than the preset value, it is determined that uses Family is unsatisfactory for predetermined movement condition.
4. the method as described in claim 1, which is characterized in that whether the detection user is moving, including:
Detect whether user in each predetermined interval that the initial time in the predetermined time starts is moving;
Correspondingly, if described detect that user is moving, it is determined that whether user, which meets predetermined movement condition, includes:
If being detected in M predetermined interval, user is moving, it is determined that user meets predetermined movement condition, wherein M For the integer more than 1.
5. method as claimed in claim 4, which is characterized in that the method further includes:
If being less than in M predetermined interval when reaching at the alarm clock calling moment and detecting that user is moving, it is determined that user is not Meet predetermined movement condition.
6. method according to any one of claims 1 to 5, which is characterized in that the detection user whether in movement include:
Obtain terminal the initial time local environment of the predetermined time initial gas pressure value, and obtain terminal described pre- Real-time atmospheric pressure value in fixing time;
If the real-time atmospheric pressure value and the difference of the initial gas pressure value are more than predetermined threshold, it is determined that the user is moving.
7. the method as described in claim 1, which is characterized in that within the predetermined time before the alarm clock calling moment reaches, detection User whether in movement include:
Judge whether the type of alarm clock belongs to and wakes type;
If the type of the alarm clock, which belongs to, wakes type, within the predetermined time before the alarm clock calling moment reaches, user is detected Whether moving.
8. the method for claim 7, which is characterized in that whether the type for judging alarm clock, which belongs to, is waken type, packet It includes:
If the alarm clock calling moment is within a preset period of time, judges that the type of alarm clock belongs to and wake type.
9. the method for claim 7, which is characterized in that whether the type for judging alarm clock, which belongs to, is waken type, packet It includes:
Operation is arranged in the alarm clock type that interface is arranged in alarm clock according to user, judges whether the type of alarm clock belongs to and wakes type.
10. the method as described in claim 7 to 9 is any, which is characterized in that whether the type for judging alarm clock, which belongs to, is waken After type, including:
If the type of the alarm clock is not belonging to wake type, alarm clock calling moment unlatching alarm clock calling is reached.
11. a kind of device of alarm clock calling, which is characterized in that including:
Detection unit, in the predetermined time before the alarm clock calling moment reaches, whether detection user to move;
Determination unit, if for detecting that user is moving, it is determined that whether user meets predetermined movement condition;
Closing unit closes alarm clock calling if meeting predetermined movement condition for user.
12. a kind of terminal, including memory, processor and it is stored in the memory and can runs on the processor Computer program, which is characterized in that the processor is realized when executing the computer program as claims 1 to 10 is arbitrary The step of one the method.
13. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, feature to exist In realization is such as the step of claims 1 to 10 any one the method when the computer program is executed by processor.
CN201810418448.3A 2018-05-03 2018-05-03 Method, apparatus, terminal and the computer readable storage medium of alarm clock calling Pending CN108418975A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810418448.3A CN108418975A (en) 2018-05-03 2018-05-03 Method, apparatus, terminal and the computer readable storage medium of alarm clock calling

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810418448.3A CN108418975A (en) 2018-05-03 2018-05-03 Method, apparatus, terminal and the computer readable storage medium of alarm clock calling

Publications (1)

Publication Number Publication Date
CN108418975A true CN108418975A (en) 2018-08-17

Family

ID=63137660

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810418448.3A Pending CN108418975A (en) 2018-05-03 2018-05-03 Method, apparatus, terminal and the computer readable storage medium of alarm clock calling

Country Status (1)

Country Link
CN (1) CN108418975A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109361821A (en) * 2018-11-30 2019-02-19 维沃移动通信有限公司 A kind of method and mobile terminal controlling alarm clock
CN110868494A (en) * 2018-08-27 2020-03-06 奇酷互联网络科技(深圳)有限公司 Alarm clock volume adjusting method, mobile terminal and device with storage function
CN113766062A (en) * 2020-06-04 2021-12-07 上海惠芽信息技术有限公司 Method, device and storage medium for turning off alarm clock
CN114697441A (en) * 2020-12-28 2022-07-01 深圳Tcl新技术有限公司 Alarm clock control method, storage medium and terminal equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103501389A (en) * 2013-09-28 2014-01-08 深圳市金立通信设备有限公司 Method and terminal for turning off alarm
CN105093919A (en) * 2015-08-13 2015-11-25 小米科技有限责任公司 Alarm clock management method and device and electronic equipment
CN105487650A (en) * 2014-10-10 2016-04-13 小米科技有限责任公司 Intelligent alarm clock turn-off method and apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103501389A (en) * 2013-09-28 2014-01-08 深圳市金立通信设备有限公司 Method and terminal for turning off alarm
CN105487650A (en) * 2014-10-10 2016-04-13 小米科技有限责任公司 Intelligent alarm clock turn-off method and apparatus
CN105093919A (en) * 2015-08-13 2015-11-25 小米科技有限责任公司 Alarm clock management method and device and electronic equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110868494A (en) * 2018-08-27 2020-03-06 奇酷互联网络科技(深圳)有限公司 Alarm clock volume adjusting method, mobile terminal and device with storage function
CN109361821A (en) * 2018-11-30 2019-02-19 维沃移动通信有限公司 A kind of method and mobile terminal controlling alarm clock
CN113766062A (en) * 2020-06-04 2021-12-07 上海惠芽信息技术有限公司 Method, device and storage medium for turning off alarm clock
CN113766062B (en) * 2020-06-04 2023-08-18 三六零科技集团有限公司 Method, device and storage medium for turning off alarm clock
CN114697441A (en) * 2020-12-28 2022-07-01 深圳Tcl新技术有限公司 Alarm clock control method, storage medium and terminal equipment

Similar Documents

Publication Publication Date Title
CN108418975A (en) Method, apparatus, terminal and the computer readable storage medium of alarm clock calling
CN107809542B (en) Application program control method and device, storage medium and electronic equipment
CN106250163B (en) A kind of application control method and device
CN109074158A (en) Electronic equipment and its method of starting application
CN107272872A (en) Electricity-saving control method and Related product
CN101529878A (en) Automated response to and sensing of user activity in portable devices
CN108076218A (en) A kind of charging reminding method and mobile terminal
CN106791109A (en) A kind of sound prompting method and mobile terminal
CN106156583A (en) A kind of method of speech unlocking and terminal
CN105824294A (en) System and method of intelligent alarm control
CN108632446A (en) A kind of information cuing method and mobile terminal
CN111357267B (en) Alarm clock ringing time setting method and device and electronic equipment
CN107729781A (en) The anti-lost method of mobile terminal, mobile terminal and computer-readable recording medium
CN105847592A (en) Method for starting vibration mode and mobile terminal
CN110475020A (en) Apparatus control method and Related product
CN108108090A (en) Communication information based reminding method and device
CN107463350A (en) A kind of footmark method of adjustment and terminal
CN107197082A (en) A kind of information prompting method and terminal
CN108632461A (en) Method, apparatus, terminal and the computer readable storage medium of alarm clock calling
CN110992962B (en) Wake-up adjusting method and device for voice equipment, voice equipment and storage medium
CN106713663B (en) A kind of alarm clock control method and mobile terminal
CN108111664A (en) A kind of method, terminal and the computer-readable medium of the tinkle of bells control
CN107861855A (en) A kind of method, terminal, system and computer-readable recording medium for reducing abnormal power consumption
CN107277217A (en) A kind of incoming call answering method and terminal device
CN103973866A (en) Intelligent alarm detecting system and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180817

RJ01 Rejection of invention patent application after publication