CN106254664A - Alarm clock setting method and device - Google Patents

Alarm clock setting method and device Download PDF

Info

Publication number
CN106254664A
CN106254664A CN201610682420.1A CN201610682420A CN106254664A CN 106254664 A CN106254664 A CN 106254664A CN 201610682420 A CN201610682420 A CN 201610682420A CN 106254664 A CN106254664 A CN 106254664A
Authority
CN
China
Prior art keywords
terminal
alarm clock
kinestate
terminal use
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.)
Granted
Application number
CN201610682420.1A
Other languages
Chinese (zh)
Other versions
CN106254664B (en
Inventor
韩旭
郑梓平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Meizu Technology Co Ltd
Original Assignee
Meizu Technology Co 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 Meizu Technology Co Ltd filed Critical Meizu Technology Co Ltd
Priority to CN201610682420.1A priority Critical patent/CN106254664B/en
Publication of CN106254664A publication Critical patent/CN106254664A/en
Application granted granted Critical
Publication of CN106254664B publication Critical patent/CN106254664B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/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

Abstract

A kind of alarm clock setting method, obtains the kinestate of the second terminal use including first terminal;According to the kinestate of the second terminal use, control the alarm clock jingle bell of first terminal.A kind of alarm clock arranges device and includes acquisition module and control module, and acquisition module is arranged on first terminal, for obtaining the kinestate of the second terminal use;Control module, for the kinestate according to the second terminal use, controls the alarm clock jingle bell of first terminal.Above-mentioned alarm clock setting method and device, by the information of getting up of each goal-selling object that analysis gets, then calculate and each goal-selling object meets the quantity information presetting condition of getting up, alarm clock ring command is generated when quantity information meets preset ratio, and open jingle bell by alarm clock ring command, thus enrich the function of alarm clock jingle bell, achieve the time point of alarm clock jingle bell more neatly, both ensured that user had the more sufficient length of one's sleep, also will not delay the process of affairs because of alarm clock jingle bell not in time.

Description

Alarm clock setting method and device
Technical field
The present invention relates to mobile terminal application, particularly relate to a kind of alarm clock setting method and device.
Background technology
Development and network communication skill along with the development of science and technology, particularly mobile terminal such as smart mobile phone technology The development of art, the life for people brings many facilities, and people can pass through to set the alarm clock of timing on smart mobile phone, Realizing alarm clock function, smart mobile phone is by enriching its function after connecting network simultaneously, the most intelligent and personalized, such as Smart mobile phone by connect network implementation time synchronization so that the time on the smart mobile phone of people all with the time on network Synchronizing, especially for the alarm clock of the setting on smart mobile phone, people can be at the time point quarter-bell of agreement.
But, traditional alarm clock at smart mobile phone is the most intelligent, only in the time point quarter-bell set before. When playing such as team appointments, date, everybody thinks to take a snap more, but is not desired to do last and gets up, and drags everybody back leg.And Now user can only calculate the time, and the alarm time of alarm clock is scheduled on than the designated time more a little later, or etc. others urge, thus Seem function singleness, very flexible.
Summary of the invention
Based on this, it is necessary to for above-mentioned technical problem, it is provided that alarm clock setting method that a kind of motility is high and device.
A kind of alarm clock setting method, including: first terminal obtains the kinestate of the second terminal use;According to described second The kinestate of terminal use, controls the alarm clock jingle bell of described first terminal.
Wherein in an embodiment, described second terminal use includes multiple terminal use;According to described second terminal The kinestate of user, controls the alarm clock jingle bell of described first terminal, including: according to the motion shape of the plurality of terminal use State, it is judged that whether the quantity or the ratio that meet the terminal use of predetermined movement state exceed predetermined threshold value;The most then control described The alarm clock jingle bell of first terminal.
Wherein in an embodiment, described second terminal use includes belonging to same with the user of described first terminal Preset the multiple terminal uses in social group.
Wherein in an embodiment, the process of the kinestate that described first terminal obtains the plurality of terminal is lasting Continual acquisition process.
Wherein in an embodiment, according to the kinestate of described second terminal use, control described first terminal Alarm clock jingle bell, including: according to the kinestate of described second terminal use, obtain the information of getting up of described second terminal use; According to the information of getting up of described second terminal use, control the alarm clock jingle bell of described first terminal.
A kind of alarm clock arranges device, including: acquisition module and control module, described acquisition module is arranged at first terminal On, for obtaining the kinestate of the second terminal use;Described control module is for the motion according to described second terminal use State, controls the alarm clock jingle bell of described first terminal.
Wherein in an embodiment, described second terminal use includes multiple terminal use;Described control module is also used In the kinestate according to the plurality of terminal use, it is judged that the quantity or the ratio that meet the terminal use of predetermined movement state are No exceed predetermined threshold value;The most then control the alarm clock jingle bell of described first terminal.
Wherein in an embodiment, described second terminal use includes belonging to same with the user of described first terminal Preset the multiple terminal uses in social group.
Wherein in an embodiment, the process of the kinestate that described first terminal obtains the plurality of terminal is lasting Continual acquisition process.
Wherein in an embodiment, described control module also includes: moving state acquisition module and information control of getting up Module, described moving state acquisition module, for the kinestate according to described second terminal use, obtains described second terminal The information of getting up of user;Described information access module of getting up, for the information of getting up according to described second terminal use, controls institute State the alarm clock jingle bell of first terminal.
Above-mentioned alarm clock setting method and device, by the information of getting up of each goal-selling object that analysis gets, so Each goal-selling object of rear calculating meets the quantity information presetting condition of getting up, raw when quantity information meets preset ratio Become alarm clock ring command, and open jingle bell by alarm clock ring command, thus enrich the function of alarm clock jingle bell, more neatly Achieve the time point of alarm clock jingle bell, both can guarantee that user had the more sufficient length of one's sleep, will not because of alarm clock jingle bell not yet Delay the process of affairs in time.
Accompanying drawing explanation
Fig. 1 is the applied environment schematic diagram of alarm clock setting method in an embodiment;
Fig. 2 is the steps flow chart schematic diagram of alarm clock setting method in an embodiment;
Fig. 3 is the part steps schematic flow sheet of alarm clock setting method in an embodiment;
Fig. 4 is the sequential schematic flow sheet of alarm clock setting method in an embodiment;
Fig. 5 is the part steps schematic flow sheet of alarm clock setting method in an embodiment;
Fig. 6 is the structural representation that in an embodiment, alarm clock arranges device;
Fig. 7 is the structural representation of control module in an embodiment.
Detailed description of the invention
Understandable, below in conjunction with the accompanying drawings to the present invention for enabling the above-mentioned purpose of the present invention, feature and advantage to become apparent from Detailed description of the invention be described in detail.Elaborate a lot of detail in the following description so that fully understanding this Bright.But the present invention can implement to be much different from alternate manner described here, and those skilled in the art can be not Doing similar improvement in the case of running counter to intension of the present invention, therefore the present invention is not limited by following public specific embodiment.
Referring to Fig. 1, it is the applied environment schematic diagram of alarm clock setting method in an embodiment.
This applied environment includes first terminal user 110, first terminal 120, server the 130, second terminal 140 and second Terminal use 150.First terminal user 110 and the second terminal use 150 belong to the multiple terminals in same default social group User.Being transmitted in both directions between first terminal 120 and server 130, such as, first terminal 120 transfers data to server 130;And for example, server 130 sends instructions to first terminal 120.It is transmitted in both directions between second terminal 140 and server 130, Such as, the second terminal 140 transfers data to server 130;And for example, server 130 sends instructions to the second terminal 140.Second The kinestate of terminal use 150 can upload onto the server 130, first terminal 120 by server 130 to obtaining the second terminal The kinestate of user 150.Server 130, according to the kinestate of the second terminal use 150, sends instruction and controls first terminal The alarm clock jingle bell of 120.
In one embodiment, it is provided that a kind of alarm clock setting method.In conjunction with the accompanying drawing detailed description of the invention to the present embodiment It is described in detail, so that the objects, features and advantages of the present embodiment can become apparent from understandable.As in figure 2 it is shown, it is one The step schematic diagram of alarm clock setting method 20 in embodiment, this alarm clock setting method 20 includes:
Step S201: first terminal 120 obtains the kinestate of the second terminal use 150.
Concrete, first terminal user 110 is to preset any terminal user in social group, first terminal user 110 Operation first terminal 120, such as, first terminal 120 is smart machine;And for example, first terminal 120 is smart mobile phone;Such as, One terminal 120 is the equipment that intelligence is wearable;And for example, first terminal 120 is intelligent watch.Second terminal use 150 is default Multiple terminal uses in social group, the second terminal use 150 operates the second terminal 140, and such as, the second terminal 140 is intelligence Can equipment;And for example, the second terminal 140 is smart mobile phone;Such as, the second terminal 140 is the equipment that intelligence is wearable;And for example, Two terminals 140 are intelligent watch.The kinestate of the second terminal use 150 has multiple choices, such as, and the second terminal use 150 Kinestate for sleep;And for example, the kinestate of the second terminal use 150 is for getting up.
Owing to being transmitted in both directions between the second terminal 140 and server 130, the second terminal 140 transfers data to server 130, such as, the second terminal 140 transmits the kinestate of the second terminal use 150 in server 130.Further, first terminal Also it is the relation of transmitted in both directions between 120 and server 130, therefore, first terminal 120 can be by the connection with server 130 Get the data of the second terminal 140 being also at annexation with server 130, the motion shape of the i.e. second terminal use 150 State.Because the second terminal use 150 includes multiple terminal use, particularly, first terminal 120 obtains the fortune of the plurality of terminal The process of dynamic state is uninterrupted acquisition process, so arranges, advantageously allow that first terminal 110 gets second The kinestate of terminal use 150 is real-time, it is to avoid delays because the kinestate of the second terminal use 150 updates and causes Alarm clock ring time inaccurate.
Step S202: according to the kinestate of the second terminal use 150, control the alarm clock jingle bell of described first terminal 120.
Concrete, first terminal user 110 needs to arrange predetermined movement state and on first terminal 120 according to self Predetermined threshold value, first terminal 120 and server 130 are set up transmission, and predetermined movement state and predetermined threshold value are uploaded to service Device 130.Second terminal 140 identifies and gets the kinestate of the second terminal use 150, multiple second terminals 140 and service After transmission set up by device 130, the kinestate of the second terminal use 150 is periodically uploaded onto the server 130 by the second terminal 140. Server 130 draws a result after meeting the quantity statistics of multiple terminal uses of predetermined movement state, and server 130 should Result compares with predetermined threshold value, according to the alarm clock of the output control first terminal 120 after comparing whether jingle bell.
Referring to Fig. 3, it is the part steps schematic flow sheet of alarm clock setting method in an embodiment.Such as, first Terminal obtains the step of the kinestate of the second terminal use, including step S301, step S302, step S303 and step 304. Because first terminal 120 needs to obtain the kinestate of the second terminal use 150, meanwhile, the second terminal use 150 operates second , therefore there is opposite joining relation between first terminal 120 and the second terminal 140 in terminal 140.This opposite joining relation has multiple choices, example As, this opposite joining relation is the docking of point-to-point;And for example, this opposite joining relation is for dock by intermediary between points.Preferably Ground, the opposite joining relation between first terminal 120 with the second terminal 140 is for dock by intermediary between points, and is somebody's turn to do Intermediary is server 130.Owing to the second terminal use 150 is to preset the multiple terminal uses in social group, therefore deposit In multiple second terminals 140, therefore, first terminal 120 is docked by server 130 with multiple second terminals 140, thus reduces the One terminal 120 obtains the error rate during kinestate of the second terminal use 150.
Step S301: first terminal 120 arranges predetermined movement state and predetermined threshold value, and sets up transmission with server 130 After transmission, this predetermined movement state and predetermined threshold value are uploaded onto the server 130.
Concrete, the alarm clock jingle bell of first terminal 120 need to meet following condition: belongs to same with first terminal user 110 The kinestate presetting the second terminal use 150 in social group need to meet predetermined movement state;And meet predetermined movement The quantity of the second terminal use 150 of state reaches predetermined threshold value.Such as, first terminal user 110 needs the according to self Arranging predetermined movement state and a predetermined threshold value in one terminal 120, first terminal 120 and server 130 set up transmission, and first eventually Predetermined movement state and predetermined threshold value are uploaded onto the server 130 by end 120.Predetermined movement state has multiple choices, such as, presets Kinestate is for getting up;And for example, predetermined movement state for sleep, it is preferable that first terminal 120 upload onto the server 130 pre- If kinestate is sleep.The threshold value that first terminal user 110 presets is to meet predetermined movement state in the second terminal use 150 The quantity of multiple terminal uses or ratio.
When the alarm clock being appreciated that in user's conventional mobile phone provides wake-up service, need to set on mobile phone before sleeping The concrete time waken;This alarm clock setting method is that first terminal user 110 is according to self needing setting on first terminal 120 Predetermined movement state and predetermined threshold value, therefore, the alarm clock wake-up service being analogous in conventional mobile phone, arrange predetermined movement state and Predetermined threshold value arranges the wake-up time before sleeping on mobile phone, is other steps of carried out prior to alarm clock jingle bell.Again because First terminal 120 needs to obtain the kinestate of the second terminal use 150, therefore predetermined movement state and predetermined threshold value is uploaded to Server 130, is so arranged, for according to the second terminal use 150 kinestate control alarm clock jingle bell finally realize provide Precondition.
Step S302: the second terminal 140 identifies the kinestate of the second terminal use 150.
Concrete, the kind of the second terminal 140 has multiple choices, and such as, the second terminal 140 is smart machine;And for example, intelligence Can equipment be smart mobile phone;Such as, smart machine is intelligence wearable device;And for example, intelligence wearable device is intelligent watch; And for example, intelligence wearable device is Intelligent bracelet.Preferably, smart machine is intelligence wearable device.Second terminal 140 identifies The kinestate of the second terminal use, such as, the kinestate of the second terminal use 150 is by smart machine identification, and for example, second The kinestate of terminal use 150 is by the gravity sensor identification in smart machine;Such as, the motion of the second terminal use 150 State is by intelligence wearable device identification;And for example, the kinestate of the second terminal use 150 is by adding in intelligence wearable device Velocity sensor identification;And for example, the kinestate of the second terminal use 150 is known by the gravity sensor in intelligence wearable device Not.
Second terminal 120, when identifying the kinestate of the second terminal use 150, has multiple choices in time interval, Such as, the second terminal 120 continuously and uninterruptedly identifies the kinestate of the second terminal use 150;And for example, the second terminal 120 is every The kinestate of second terminal use 150 is identified every a period of time;But, the second terminal 140 and the second terminal use 150 Between relation there is also multiple choices, such as, the second terminal 140 be independent of second terminal use 150 exist equipment;Again As, the second terminal 140 is the intelligent wearable device of the second terminal use 150 body-worn.Therefore, only when the second terminal 140 In the presence of standing on the second terminal use 150, the intelligent wearable device that the such as second terminal use 150 is worn is the most uninterrupted The kinestate that ground gets the second terminal use 150 identification is sent in the second terminal 140 (such as: smart mobile phone);Again As, the intelligent wearable device that the second terminal use 150 is worn gets the second terminal use 150 identification at intervals of two minutes Kinestate be sent in the second terminal 140 (such as: smart mobile phone).And as the second terminal 140 and the second terminal use 150 When the intelligent wearable device of body-worn has a style of one's own, such as, the module in smart machine is continuously and uninterruptedly from identifying mould Block obtains the kinestate of the second terminal use 150;And for example, the acquisition module in smart machine is at intervals of two minutes from identifying mould Block obtains the kinestate of the second terminal use 150.Being arranged such, the kinestate of the second terminal use 150 can be real-time Ground, identified acquisition by the second terminal 140 exactly, thus the fortune of the second terminal use 150 can be got for first terminal 120 Dynamic state provides precondition, and then first terminal 120 can be allowed to make alarm clock jingle bell according to the kinestate of the second terminal use 150 It is achieved.
Step S303: multiple second terminals 140 set up transmission with server 130, and periodically by the second terminal use 150 Kinestate upload onto the server 130.
Concrete, the kinestate of the second terminal use 150 that identification is periodically got by the second terminal 140 is uploaded to Server 130, the institute uploaded can be set according to reality every duration, and such as, the second terminal 140 was every 15 minutes The kinestate of the second terminal use 150 identification got uploads onto the server 130;And for example, the second terminal 140 is every half The kinestate of the second terminal use 150 hour identification got uploads onto the server 130;And for example, the second terminal 140 is every The kinestate of the second terminal use 150 identification got every other hour uploads onto the server 130.Owing to the second terminal is used Family 150 includes that multiple terminal use, the second therefore corresponding terminal 140 also include multiple terminal.Owing to the second terminal 140 continues Identify the kinestate obtaining the second terminal use 150 incessantly, therefore will accumulate substantial amounts of second terminal use's 150 The information data of kinestate, and identify the information data after acquisition will by the second terminal 140 upload onto the server 130 and will Server 130 collects.Well known, the memory space of server 130 has certain restriction, if the second terminal 140 holds Continuous identify that getting the kinestate of the second terminal use 150 uploads onto the server 130 in real time incessantly, then server Substantial amounts of for consuming memory space is deposited these information datas by 130, causes the significant wastage on memory space.Identification is got The kinestate of the second terminal use 150 periodically upload onto the server 130, can in real time, exactly at server 130 On the basis of collecting the current kinestate of multiple terminal use, moreover it is possible to greatly save the memory space of server 130.
Step S304: the data of first terminal 120 transmission are collected at server 130 with the data that the second terminal 140 is transmitted, First terminal 120 obtains the kinestate of the second terminal use 150.
Concrete, according to step 301, predetermined movement state and predetermined threshold value are uploaded onto the server by first terminal 120 130, i.e. the data of first terminal 120 transmission are predetermined movement state and predetermined threshold value;According to step 303, the second terminal 140 The kinestate of the second terminal use 150 periodically uploads onto the server 130, and the data of the i.e. second terminal 140 transmission are the The kinestate of two terminal uses 150.
Referring to Fig. 4, it is the sequential schematic flow sheet of alarm clock setting method in an embodiment.In conjunction with Fig. 3 and Fig. 4, Owing to first terminal 120 all obtains and docks with server 130 with the second terminal 140, when first terminal 120 is by predetermined movement state Upload onto the server 130 with predetermined threshold value, and the kinestate of the second terminal use 150 is uploaded to clothes by the second terminal 140 After business device 130, i.e. first terminal 120 collects at server with the data that the second terminal 140 is transmitted, it is believed that first terminal 120 and second terminal 140 be the information data in shared server 130 so that first terminal 120 can get The kinestate of two terminal uses 150.
Referring to Fig. 5, it is the part steps schematic flow sheet of alarm clock setting method in an embodiment.Such as, according to The kinestate of described second terminal use, controls the step of the alarm clock jingle bell of described first terminal, including step S401 to step Rapid S407.According to step S202, first terminal 120 is docked by server 130 with multiple second terminals 140, the second terminal 140 The kinestate of the second terminal use 150 periodically uploads onto the server 130, and now, it is pre-that first terminal user 110 is arranged If kinestate is concurrently present in server 130 with the kinestate of predetermined threshold value and the second terminal use 150, therefore, According to the kinestate of described second terminal use 150, the kinestate of server 130 second terminal use 150 detects Rear transmission dependent instruction is to first terminal 120, to control the alarm clock jingle bell of described first terminal 120.
Step S401: server 130 detects whether the kinestate of the second terminal use 150 meets predetermined movement state.
Concrete, according to step S202, owing to first terminal user 110 needs to set on first terminal 120 according to self Putting predetermined movement state, such as, predetermined movement state is set to sleep on first terminal 120 by first terminal user 110: example As, predetermined movement state is set to get up on first terminal 120 by first terminal user 110.First terminal 120 is first eventually After end subscriber 110 sets up predetermined movement state, this predetermined movement state is uploaded onto the server 130.Meanwhile, the second terminal 140 after identifying and having obtained the kinestate of the second terminal use 150, the most periodically by corresponding second terminal use's 150 Kinestate uploads onto the server 130.Therefore, server 130 summarizes predetermined movement state, the fortune of the second terminal use 150 The data such as dynamic state, the kinestate of each second terminal use 150 only need to be compared by server 130 with predetermined movement state Whether the kinestate that can learn this second terminal use 150 is met predetermined movement state.It is arranged such, for multiple ends End subscriber, server 130 can easily by the kinestate of each second terminal use 150 currently uploaded all with preset Kinestate carries out comparison and detection so that the kinestate of each second terminal use 150 is not missed, and possesses accuracy.
Step S402: server 130 detects the kinestate of the second terminal use 150 and do not meets predetermined movement state, The second corresponding terminal 140 continues periodically to upload the kinestate of the second terminal use 150.
According to step S401, server 130 to the kinestate of each second terminal use 150 all with predetermined movement state Detecting, then there will be two kinds of comparative results, such as, the kinestate of the second terminal use 150 does not meets predetermined movement shape State;Such as, the kinestate of the second terminal use 150 does not meets predetermined movement state.Motion shape as the second terminal use 150 When state does not meets predetermined movement state, the kinestate of the i.e. second terminal use 150 is inconsistent with predetermined movement state, now should The kinestate of the second terminal use 150 is unsatisfactory for the condition of the alarm clock jingle bell of first terminal 120, therefore, this second terminal use Second terminal 140 of 150 correspondences continues periodically to upload the kinestate of the second terminal use 150, due to the second terminal use 150 include multiple terminal use, are arranged such, it is possible to make kinestate not meet the second terminal use of predetermined movement state 150 have and are repeatedly detected whether, by server 130, the chance that meets, and such as, the kinestate of a certain second terminal use 150 is being worked as Secondary detection does not meets predetermined movement state, then the second terminal 140 of its correspondence can upload the second terminal use again 150 current kinestates, until the kinestate of the second terminal use 150 meets predetermined movement state, it is seen then that so set Putting, server 130 can detect second terminal use's 150 meeting predetermined movement state of maximum quantity at short notice Kinestate, therefore, it is possible to reduce the server 130 substantial amounts of operation time, makes the time of final first terminal 120 alarm clock jingle bell Possesses accuracy.
Step S403: server 130 detects the kinestate of the second terminal use 150 and meets predetermined movement state, clothes Business device 130 sends instructions to corresponding second terminal 140 orders this second terminal 140 to stop uploading kinestate.
Concrete, according to step S202, owing to the second terminal 140 is identifying the motion shape obtaining the second terminal use 150 130 are uploaded onto the server, if detected the kinestate of the second terminal use 150 currently uploaded at server 130 after state Meeting predetermined movement state, and add up after concrete numerical value by this second terminal use 150, this second terminal 140 is still by it The kinestate of the second terminal use 150 of rear renewal uploads onto the server 130, then will result in the repetition of information data so that The result that last server 130 statistics draws is inaccurate, and such as, the result that statistics draws will be than actual coincidence predetermined movement state The much larger number of terminal use.Therefore, server 130 determines the motion of each second terminal use 150 currently uploaded State meet predetermined movement state and add up after, server 130 will send instructions to corresponding second terminal 140, order this second Terminal 140 stops uploading the kinestate of the second terminal use 150 of correspondence.It is arranged such, it is possible to avoid due to the second terminal 140 constantly upload kinestate after cause server 130 duplicate detection the inaccurate situation of result that makes statistics draw to send out Raw, thus for first terminal 120 according to the kinestate of the second terminal use 150 make alarm clock jingle bell provide one accurately before Put forward condition.
Step S404: the quantity meeting multiple second terminal uses 150 of predetermined movement state is united by server 130 Meter draws a result.
According to step S403, server 130 by each upload onto the server 130 the fortune of the second terminal use 150 Dynamic state detects, and therefore, on the basis of step S403, server 130 will meet and these are met predetermined movement state The quantity of the second terminal use 150 add up, each second terminal use 150 is represented as " 1 ", draws one one by one after statistics Result.
Concrete, server 130 is good by the quantity statistics meeting multiple second terminal uses 150 of predetermined movement state The result gone out has multiple classification, such as, meets the number of multiple second terminal uses 150 of predetermined movement state according to this result The concrete numerical value drawn after amount is cumulative;And for example, this numerical value is the number of multiple second terminal uses 150 meeting predetermined movement state The cumulative concrete numerical value drawn of amount compared with multiple terminal uses after the proportional numerical value that draws.It is arranged such that this result Type divides so that server 130 can use this to meet flexibly in contrast behind or evaluation work and preset fortune Result after the quantity statistics of multiple terminal uses of dynamic state, improves accuracy.
Step S405: the result after server 130 is added up compares with predetermined threshold value.
Concrete, according to step S202, owing to first terminal user 110 needs to set on first terminal 120 according to self Put predetermined threshold value.The type of predetermined threshold value has multiple, and such as, such as, predetermined threshold value is concrete numerical value;And for example, predetermined threshold value is Proportional numerical value.The size of predetermined threshold value is set as required by first terminal user 110, such as, when the type of predetermined threshold value is During concrete numerical value, it is 10 that first terminal user 110 arranges predetermined threshold value, i.e. as the second terminal use meeting predetermined movement state The quantity of 150 is the alarm clock jingle bell of 10 first terminals 120;And for example, when the type of predetermined threshold value is proportional numerical value, first eventually It is 50% that end subscriber 110 arranges predetermined threshold value, i.e. accounts for second when the quantity of the second terminal use 150 meeting predetermined movement state The 50% of terminal use 150 total number of persons, then the alarm clock jingle bell of first terminal 120.According to step S404, server 130 will symbol The quantity of multiple second terminal uses 150 closing predetermined movement state carries out adding up and drawing a result, therefore, according to default threshold The type of value, compares this result with predetermined threshold value, easily show that current motion state meets the of predetermined movement state The quantity of two terminal uses 150 has reached the condition of the alarm clock jingle bell of first terminal 120, so that first terminal 120 can alarm clock after meeting ring condition can within the shortest time jingle bell, be the time that alarm clock sounds to there is accuracy.
Step S406: the result after server 130 is added up is equal to or more than predetermined threshold value, then server 130 sends Instruction, to first terminal 120, controls the alarm clock jingle bell of first terminal 120.
Concrete, according to step S405, the result after server 130 is added up compares with predetermined threshold value, then After there will be multiple result, such as, this result equals to or more than predetermined threshold value;And for example, this result is less than predetermined threshold value. Result after server 130 is added up meets predetermined movement state equal to or more than predetermined threshold value, i.e. current motion state The quantity of the second terminal use 150 or the ratio of shared second terminal use 150 total number of persons reach to make the noisy of first terminal 120 The condition of clock jingle bell, then server 130 sends instructions to first terminal 120, controls the alarm clock jingle bell of first terminal 120.
Step S407: the result after server 130 is added up less than predetermined threshold value, does not then meet the of predetermined movement state Second terminal 140 of two terminal use 150 correspondences continues periodically to transmit corresponding second terminal use's 150 to server 130 Kinestate, until the result drawn after the quantity meeting predetermined movement state is added up in or more than predetermined threshold value, Till the alarm clock jingle bell of first terminal 120.
Concrete, the result after server 130 statistics meets predetermined movement shape less than predetermined threshold value, i.e. current motion state The quantity of the second terminal use 150 of state or the ratio of shared second terminal use 150 total number of persons the most not up to make first terminal The condition of the alarm clock jingle bell of 120, illustrates that still suffering from part the second terminal use 150 does not meets predetermined movement state, according to step S402 and step S403, then the second terminal 140 of the second terminal use 150 correspondence not meeting predetermined movement state continues timing Ground transmits the kinestate of corresponding second terminal use 150 to server 130, until the kinestate of the second terminal use 150 Meeting predetermined movement state, server sends instructions to corresponding second terminal 140 orders this second terminal 140 to stop uploading motion State.So be circularly set, until the result drawn after the quantity meeting predetermined movement state is added up in or be more than Predetermined threshold value, till the alarm clock jingle bell of first terminal 120, therefore, it is possible to reduce the server 130 substantial amounts of operation time, makes The time of whole first terminal 120 alarm clock jingle bell possesses accuracy.
Referring to Fig. 6, it is the structural representation that in an embodiment, alarm clock arranges device, and alarm clock arranges device 60 and wraps Include: acquisition module 601, control module 602.Acquisition module 601 is arranged on first terminal 110, uses for obtaining the second terminal The kinestate at family 150;Control module 602, for the kinestate according to the second terminal use 150, controls first terminal 110 Alarm clock jingle bell.
Further, owing to the second terminal use 150 includes multiple terminal use, therefore, control module 602 is additionally operable to root Kinestate according to multiple terminal uses, it is judged that whether the quantity or the ratio that meet the terminal use of predetermined movement state exceed pre- If threshold value;The most then control the alarm clock jingle bell of first terminal.
Further, the process of the kinestate that first terminal 110 obtains multiple terminal is uninterrupted acquisition Journey.
Referring to Fig. 7, it is the structural representation of control module in an embodiment.Further, control module 602 is also Including: moving state acquisition module 701 and information access module 702 of getting up.Moving state acquisition module 701 is for according to second The kinestate of terminal use 150, obtains the information of getting up of the second terminal use 150;Get up information access module 702 for root According to the information of getting up of the second terminal use 150, control the alarm clock jingle bell of first terminal 110.
The method and apparatus that above-mentioned alarm clock is arranged, by acquisition module 601 and the cooperation of control module 602, is obtaining mould On the basis of block 601 continuously and uninterruptedly obtains the kinestate of the second terminal use 150, control module 602 controls first eventually The alarm clock jingle bell of end 110, so that user is when using this alarm clock to arrange device 60, it is possible to by get each is pre- If the information of getting up of destination object, calculate and each goal-selling object meets the quantity information presetting condition of getting up, work as number Amount information generates alarm clock ring command when meeting preset ratio, and opens jingle bell by alarm clock ring command, thus enriches noisy The function of clock jingle bell device, achieves the time point of alarm clock jingle bell more neatly, both can guarantee that user had more sufficient sleeping The dormancy time, also will not delay the process of affairs not in time because of alarm clock jingle bell.Each technical characteristic of embodiment described above can To combine arbitrarily, for making description succinct, not to all possible combination of each technical characteristic in above-described embodiment all It is described, but, as long as the combination of these technical characteristics does not exist contradiction, all it is considered to be the model that this specification is recorded Enclose.
Embodiment described above only have expressed the several embodiments of the present invention, and it describes more concrete and detailed, but also Can not therefore be construed as limiting the scope of the patent.It should be pointed out that, come for those of ordinary skill in the art Saying, without departing from the inventive concept of the premise, it is also possible to make some deformation and improvement, these broadly fall into the protection of the present invention Scope.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.

Claims (10)

1. an alarm clock setting method, including:
First terminal obtains the kinestate of the second terminal use;
According to the kinestate of described second terminal use, control the alarm clock jingle bell of described first terminal.
Alarm clock setting method the most according to claim 1, it is characterised in that described second terminal use includes multiple terminal User;
According to the kinestate of described second terminal use, control the alarm clock jingle bell of described first terminal, including:
Kinestate according to the plurality of terminal use, it is judged that meet quantity or the ratio of the terminal use of predetermined movement state Whether exceed predetermined threshold value;
The most then control the alarm clock jingle bell of described first terminal.
Alarm clock setting method the most according to claim 1, it is characterised in that described second terminal use includes and described The user of one terminal belongs to the multiple terminal uses in same default social group.
Alarm clock setting method the most according to claim 3, it is characterised in that described first terminal obtains the plurality of terminal The process of kinestate be uninterrupted acquisition process.
Alarm clock setting method the most according to claim 1, it is characterised in that according to the motion shape of described second terminal use State, controls the alarm clock jingle bell of described first terminal, including:
According to the kinestate of described second terminal use, obtain the information of getting up of described second terminal use;
According to the information of getting up of described second terminal use, control the alarm clock jingle bell of described first terminal.
6. an alarm clock arranges device, it is characterised in that including:
Acquisition module, described acquisition module is arranged on first terminal, for obtaining the kinestate of the second terminal use;
Control module, described control module, for the kinestate according to described second terminal use, controls described first terminal Alarm clock jingle bell.
Alarm clock the most according to claim 1 arranges device, it is characterised in that described second terminal use includes multiple terminal User;
Described control module is additionally operable to the kinestate according to the plurality of terminal use, it is judged that meet the end of predetermined movement state Whether the quantity of end subscriber or ratio exceed predetermined threshold value;
The most then control the alarm clock jingle bell of described first terminal.
8. device is set according to the alarm clock described in claim 1 or 2 any one, it is characterised in that
Described second terminal use includes belonging to the multiple ends in same default social group with the user of described first terminal End subscriber.
Alarm clock the most according to claim 8 arranges device, it is characterised in that described first terminal obtains the plurality of terminal The process of kinestate be uninterrupted acquisition process.
Alarm clock the most according to claim 1 arranges device, it is characterised in that described control module also includes:
Moving state acquisition module, described moving state acquisition module is used for the kinestate according to described second terminal use, Obtain the information of getting up of described second terminal use;
Get up information access module, described in information access module of getting up for the information of getting up according to described second terminal use, Control the alarm clock jingle bell of described first terminal.
CN201610682420.1A 2016-08-17 2016-08-17 Alarm clock setting method and device Active CN106254664B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610682420.1A CN106254664B (en) 2016-08-17 2016-08-17 Alarm clock setting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610682420.1A CN106254664B (en) 2016-08-17 2016-08-17 Alarm clock setting method and device

Publications (2)

Publication Number Publication Date
CN106254664A true CN106254664A (en) 2016-12-21
CN106254664B CN106254664B (en) 2020-06-12

Family

ID=57592463

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610682420.1A Active CN106254664B (en) 2016-08-17 2016-08-17 Alarm clock setting method and device

Country Status (1)

Country Link
CN (1) CN106254664B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107172307A (en) * 2017-07-26 2017-09-15 北京小米移动软件有限公司 Alarm clock jingle bell control method, device and storage medium
CN113269511A (en) * 2021-04-29 2021-08-17 维沃移动通信有限公司 Control method, control device, electronic device, and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103873638A (en) * 2012-12-10 2014-06-18 三星电子(中国)研发中心 System, method and wireless terminal for remote controlling alarm
CN104144093A (en) * 2014-03-12 2014-11-12 腾讯科技(深圳)有限公司 Intelligent device control method, relevant device and system
CN105245725A (en) * 2015-10-30 2016-01-13 努比亚技术有限公司 Device and method for implementing scene alarm clock and mobile terminal
CN105827806A (en) * 2015-09-14 2016-08-03 维沃移动通信有限公司 Alarm clock control method, mobile terminal and wearable device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103873638A (en) * 2012-12-10 2014-06-18 三星电子(中国)研发中心 System, method and wireless terminal for remote controlling alarm
CN104144093A (en) * 2014-03-12 2014-11-12 腾讯科技(深圳)有限公司 Intelligent device control method, relevant device and system
CN105827806A (en) * 2015-09-14 2016-08-03 维沃移动通信有限公司 Alarm clock control method, mobile terminal and wearable device
CN105245725A (en) * 2015-10-30 2016-01-13 努比亚技术有限公司 Device and method for implementing scene alarm clock and mobile terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107172307A (en) * 2017-07-26 2017-09-15 北京小米移动软件有限公司 Alarm clock jingle bell control method, device and storage medium
CN113269511A (en) * 2021-04-29 2021-08-17 维沃移动通信有限公司 Control method, control device, electronic device, and medium
CN113269511B (en) * 2021-04-29 2024-03-26 维沃移动通信有限公司 Control method, control device, electronic equipment and medium

Also Published As

Publication number Publication date
CN106254664B (en) 2020-06-12

Similar Documents

Publication Publication Date Title
CN105284144B (en) Significant position is modeled
CN104484524B (en) A kind of method and system interacted based on BIM simulation models with site operation
CN103744411B (en) A kind of relevant ZigBee technology realizes the control method of Smart Home
CN107548500A (en) Event anomalies based on user's routine model
US20170372268A1 (en) Contextual model-based event scheduling
CN105607510A (en) Curtain opening/closing state control method and device and terminal
CN103747523A (en) User position predicating system and method based on wireless network
JP2008306472A (en) Sensor network system and sensor node
CN103731916A (en) Wireless-network-based user position predicting system and method
CN105555194A (en) Activity meter, activity amount measurement device, portable terminal, information sharing assistance device, information sharing system, activity assistance device, and activity assistance system
CN105380600A (en) Automatic sleep detection method and system based on wearable intelligent equipment
CN107567083A (en) The method and apparatus for carrying out power saving optimization processing
CN105259948A (en) Mattress temperature control method and apparatus
CN108984243A (en) A kind of based reminding method, equipment and readable storage medium storing program for executing using time-out
CN106254664A (en) Alarm clock setting method and device
CN109525487A (en) Mission bit stream distribution method, device, readable storage medium storing program for executing and computer equipment
CN110544022A (en) BIM-based building decoration time consumption estimation system and analysis and prediction method
CN106292513A (en) A kind of intelligent alarm system for greenhouse of breeding silkworms
CN107182077A (en) A kind of big data acquisition method
CN110516017A (en) Location information processing method, device, electronic equipment and storage medium based on terminal device
CN104519083A (en) Dynamic desktop subject implementation method, terminal and server
CN109495335A (en) Business monitoring method, device, system and electronic equipment
CN107332986A (en) Obtain method, device and the terminal of Weather information
CN106842964A (en) Customization System and method
CN109460965A (en) A method of obtaining terminal user's daily schedule

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