CN105426072B - A kind of quarter-bell control method and user terminal - Google Patents

A kind of quarter-bell control method and user terminal Download PDF

Info

Publication number
CN105426072B
CN105426072B CN201510701668.3A CN201510701668A CN105426072B CN 105426072 B CN105426072 B CN 105426072B CN 201510701668 A CN201510701668 A CN 201510701668A CN 105426072 B CN105426072 B CN 105426072B
Authority
CN
China
Prior art keywords
quarter
bell
user terminal
volume value
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510701668.3A
Other languages
Chinese (zh)
Other versions
CN105426072A (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.)
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 CN201510701668.3A priority Critical patent/CN105426072B/en
Publication of CN105426072A publication Critical patent/CN105426072A/en
Application granted granted Critical
Publication of CN105426072B publication Critical patent/CN105426072B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The present embodiments relate to field of communication technology, a kind of quarter-bell control method and user terminal are disclosed, this method comprises: determining the prompt date of the quarter-bell in user terminal quarter-bell;Whether the prompt date for detecting the quarter-bell is Chong Die with the public holiday, if the prompt date of the quarter-bell is Chong Die with the public holiday, the volume value for controlling the quarter-bell is gradually decreased by setting volume value.Implement the embodiment of the present invention, can intelligently select to play out with the music that current context information matches.

Description

A kind of quarter-bell control method and user terminal
Technical field
The present invention relates to field of communication technology more particularly to a kind of quarter-bell control method and user terminals.
Background technique
In daily work life, quarter-bell can be arranged on the user terminals such as cell phone, tablet computer in user, to prevent The only mistake time.Generally, the quarter-bell of the week can be arranged in user on the subscriber terminal, because the week is usually Work hours.However, due to the introducing of some public holidays, so that the rule of the week working may be broken, such as Assuming that Friday is the Mid-autumn Festival, then Friday may be there is no need to go to work, if quarter-bell or the week are normally reminded, user It would have to manually close quarter-bell, to reduce the control efficiency of quarter-bell.
Summary of the invention
The embodiment of the invention discloses a kind of quarter-bell control method and user terminals, can intelligently control in the public holiday Quarter-bell promotes the control efficiency of quarter-bell.
First aspect of the embodiment of the present invention discloses a kind of quarter-bell control method, comprising:
In user terminal quarter-bell, the prompt date of the quarter-bell is determined;
Whether the prompt date for detecting the quarter-bell Chong Die with the public holiday, if the prompt date of the quarter-bell with it is legal Holiday overlapping, the volume value for controlling the quarter-bell are gradually decreased by setting volume value.
As an alternative embodiment, the method also includes:
Judge whether the volume value of the quarter-bell is gradually decrease to specify volume value by setting volume value, if gradually decreased To specified volume value, the quarter-bell is closed.
As an alternative embodiment, the method also includes:
Whether the process duration for judging that the volume value of the quarter-bell is gradually decreased by setting volume value reaches specified duration, such as Fruit process duration reaches specified duration, closes the quarter-bell.
As an alternative embodiment, the closing quarter-bell includes:
Obtain first location information locating for the user terminal;
Obtain the second location information of user's wearable device of the user terminal binding;
Determine the distance between the first location information and the second location information value;
Judge whether the distance value is less than or equal to pre-determined distance value, if the distance value is less than or equal to pre-determined distance Value detects whether to receive the whipping signal that user's wearable device is sent, if received, controls the quarter-bell and close;Wherein, The whipping signal is the signal that generation is triggered when user's wearable device is shaken and got rid of.
As an alternative embodiment, the closing quarter-bell includes:
Obtain the corresponding current context information of the quarter-bell;
Obtain history environment information when closing quarter-bell;
Judge whether the current context information matches with the history environment information when closing quarter-bell, if it does, The quarter-bell is controlled to close.
Second aspect of the embodiment of the present invention discloses a kind of user terminal, comprising:
First determination unit, for determining the prompt date of the quarter-bell in the user terminal quarter-bell;
Whether first detection unit, the prompt date for detecting the quarter-bell are Chong Die with the public holiday;
Control unit is when being, to control the volume value of the quarter-bell for the testing result in the first detection unit It is gradually decreased by setting volume value.
As an alternative embodiment, the user terminal further include:
First judging unit, for judging whether the volume value of the quarter-bell by setting volume value is gradually decrease to designated tone Magnitude;
Closing unit is when being, to close the quarter-bell for the judging result in first judging unit.
As an alternative embodiment, the user terminal further include:
Second judgment unit, for judging that the volume value of the quarter-bell is by the process duration that setting volume value gradually decreases It is no to reach specified duration;
Closing unit is when being, to close the quarter-bell for the judging result in the second judgment unit.
As an alternative embodiment, the closing unit closes the mode of the quarter-bell specifically:
Obtain first location information locating for the user terminal;
Obtain the second location information of user's wearable device of the user terminal binding;
Determine the distance between the first location information and the second location information value;
Judge whether the distance value is less than or equal to pre-determined distance value, if the distance value is less than or equal to pre-determined distance Value detects whether to receive the whipping signal that user's wearable device is sent, if received, controls the quarter-bell and close;Wherein, The whipping signal is the signal that generation is triggered when user's wearable device is shaken and got rid of.
As an alternative embodiment, the closing unit closes the mode of the quarter-bell specifically:
Obtain the corresponding current context information of the quarter-bell;
Obtain history environment information when closing quarter-bell;
Judge whether the current context information matches with the history environment information when closing quarter-bell, if it does, The quarter-bell is controlled to close.
Compared with prior art, the embodiment of the present invention has the advantages that
In the embodiment of the present invention, in user terminal quarter-bell, if the prompt date of detection quarter-bell is Chong Die with the public holiday, The volume value that so can intelligently control quarter-bell is gradually decreased by setting volume value, without controlling quarter-bell in a manual manner Volume value reduce, avoid larger impact user sleep, promote the control efficiency of quarter-bell.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to needed in the embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for ability For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is a kind of flow diagram of quarter-bell control method disclosed by the embodiments of the present invention;
Fig. 2 is the flow diagram of another quarter-bell control method disclosed by the embodiments of the present invention;
Fig. 3 is the flow diagram of another quarter-bell control method disclosed by the embodiments of the present invention;
Fig. 4 is a kind of structural schematic diagram of user terminal disclosed by the embodiments of the present invention;
Fig. 5 is the structural schematic diagram of another user terminal disclosed by the embodiments of the present invention;
Fig. 6 is the structural schematic diagram of another user terminal disclosed by the embodiments of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that the described embodiment is only a part of the embodiment of the present invention, instead of all the embodiments.Based on this Embodiment in invention, every other reality obtained by those of ordinary skill in the art without making creative efforts Example is applied, shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a kind of quarter-bell control method and user terminals, can intelligently control in the public holiday Quarter-bell promotes the control efficiency of quarter-bell.It is described in detail separately below.
Referring to Fig. 1, Fig. 1 is a kind of flow diagram of quarter-bell control method disclosed by the embodiments of the present invention.Such as Fig. 1 institute Show, which may comprise steps of.
101, user terminal determines the prompt date of quarter-bell in quarter-bell.
In the embodiment of the present invention, user terminal may include cell phone, tablet computer, personal digital assistant (Personal Digital Assistant, PDA), mobile internet device (Mobile Internet Device, MID), Intelligent wearable device (such as smartwatch, Intelligent bracelet) all types of user terminal, the embodiment of the present invention are not construed as limiting.
In the embodiment of the present invention, the date that user terminal is shown when the prompt date of above-mentioned quarter-bell refers to quarter-bell, the day Phase is usually in such a month, and on such a day indicated with certain in year.Optionally, user terminal, can be from the calendar application of user terminal in quarter-bell Determine the prompt date of quarter-bell.
102, user terminal detection quarter-bell prompt date it is whether Chong Die with the public holiday, if the prompt date of quarter-bell and Public holiday overlapping, executes step 103;, whereas if the prompt date of quarter-bell and public holiday are underlapped, continue quarter-bell.
In the embodiment of the present invention, the public holiday refers to be required according to various countries, the folkways and customs of various nationalities or souvenir, by country Law Uniform provisions to time of having a rest for being celebrated and being spent a holiday.Public holiday may include the Spring Festival, the Ching Ming Festival, labour Section, the Dragon Boat Festival, the Mid-autumn Festival and National Day etc..Optionally, user terminal, can be from the calendar application of user terminal in quarter-bell The prompt date of middle determining quarter-bell, also, user terminal can further be detected from calendar application the prompt date whether by The title of some public holiday is marked, if the prompt date is marked with title (such as National Day of some public holiday Section), then user terminal can determine that the prompt date of quarter-bell is Chong Die with the public holiday;, whereas if the prompt date not by The title of any one public holiday of label, then user terminal can determine that the prompt date of quarter-bell does not weigh with the public holiday It is folded.
103, the volume value of user terminal control quarter-bell is gradually decreased by setting volume value.
In the embodiment of the present invention, above-mentioned setting volume value can be default volume value (also referred to as normal sound magnitude), It can be good bigger than default volume value of user's self-setting or be worth small volume value than default volume.Optionally, user is whole The volume value that end can control quarter-bell is gradually decrease to some specified volume value by setting volume value, alternatively, being reduced to mute Until.
In the method depicted in fig. 1, user terminal is in quarter-bell, if the prompt date and public holiday of detection quarter-bell Overlapping, then the volume value that can intelligently control quarter-bell is gradually decreased by setting volume value, without controlling in a manual manner The volume value of quarter-bell processed reduces, and avoids larger impact user from sleeping, promotes the control efficiency of quarter-bell.
Referring to Fig. 2, Fig. 2 is the flow diagram of another quarter-bell control method disclosed by the embodiments of the present invention.Such as Fig. 2 Shown, which may comprise steps of.
201, user terminal determines the prompt date of quarter-bell in quarter-bell.
202, user terminal detection quarter-bell prompt date it is whether Chong Die with the public holiday, if the prompt date of quarter-bell and Public holiday overlapping, executes step 203;, whereas if the prompt date of quarter-bell and public holiday are underlapped, continue quarter-bell.
203, the volume value of user terminal control quarter-bell is gradually decreased by setting volume value.
204, user terminal judges whether the volume value of quarter-bell is gradually decrease to specify volume value by setting volume value, if It is gradually decrease to specified volume value, executes step 205;, whereas if it is not reduced to specified volume value, return step 203.
205, user terminal closes quarter-bell.
As a kind of optional mode mode, in above-mentioned steps 205, user terminal close quarter-bell mode may include with Lower step:
21), user terminal obtains first location information locating for user terminal;
22), user terminal obtains the second location information of user's wearable device of user terminal binding;
23), user terminal determines the distance between first location information and second location information value;
24), user terminal judges whether the distance value is less than or equal to pre-determined distance value, if the distance value is less than or equal in advance If distance value, the whipping signal for receiving the transmission of user's wearable device is detected whether, if received, control quarter-bell is closed;Wherein, should Whipping signal is the signal that generation is triggered when user's wearable device is shaken and got rid of.
In the embodiment of the present invention, by implementing above-mentioned steps 21)~step 24), it can be in user terminal and user terminal When the distance of user's wearable device of binding is close, and user shakes when getting rid of the user's wearable device oneself having on, intelligence Quarter-bell is closed on ground, the sleep for preventing quarter-bell from continuing the electricity that user terminal is lost and influencing user.For example, user has on user When wearable device is slept, user terminal can be with user bound wearable device, and user terminal can be placed on and wear apart from user It wears on the close desk of equipment, when user terminal judges that the volume value of quarter-bell is gradually decrease to specified volume value by setting volume value When, user terminal can pass through and implement above-mentioned steps 21)~step 24) intelligently closes quarter-bell, and prevent the quarter-bell from continuing to be lost The electricity of user terminal and the sleep for influencing user.
As another optional mode mode, in above-mentioned steps 205, the mode that user terminal closes quarter-bell may include Following steps:
31), user terminal obtains the corresponding current context information of quarter-bell;
32), user terminal obtains history environment information when closing quarter-bell;
33), user terminal judges whether current context information matches with history environment information when closing quarter-bell, if Match, control quarter-bell is closed.
In the embodiment of the present invention, by implementing above-mentioned steps 31)~step 33), it can be in the corresponding current environment of quarter-bell Information and close quarter-bell when history environment information matches when, intelligently close quarter-bell, prevent quarter-bell continue be lost user terminal Electricity and influence user sleep.
Wherein, history environment information matches the weather history that may is that history environment information includes with current context information Information is identical as the value of the identical weather parameters of most types in the current weather information that current context information includes, Alternatively, every one kind in the current weather information that weather history information and current context information that history environment information includes include Difference between the identical weather parameters of type is less than preset threshold.
Wherein, environmental information may include location information, Weather information etc., wherein Weather information may include temperature, wind All kinds of weather parameters such as speed, uitraviolet intensity, relative humidity, precipitation, the embodiment of the present invention are not construed as limiting.
In the method depicted in fig. 2, user terminal is in quarter-bell, if the prompt date and public holiday of detection quarter-bell Overlapping then the volume value that can intelligently control quarter-bell is gradually decrease to specified volume value by setting volume value, and is closed noisy Bell closes without controlling quarter-bell in a manual manner, avoids larger impact user from sleeping, promote the control efficiency of quarter-bell.
Referring to Fig. 3, Fig. 3 is the flow diagram of another quarter-bell control method disclosed by the embodiments of the present invention.Such as Fig. 3 Shown, which may comprise steps of.
301, user terminal determines the prompt date of quarter-bell in quarter-bell.
302, user terminal detection quarter-bell prompt date it is whether Chong Die with the public holiday, if the prompt date of quarter-bell and Public holiday overlapping, executes step 303;, whereas if the prompt date of quarter-bell and public holiday are underlapped, continue quarter-bell.
303, the volume value of user terminal control quarter-bell is gradually decreased by setting volume value.
304, whether the process duration that user terminal judges that the volume value of quarter-bell is gradually decreased by setting volume value reaches finger Timing is long, if process duration reaches specified duration, executes step 305;, whereas if the not up to specified duration of process duration, Return step 303.
305, user terminal closes quarter-bell.
As a kind of optional mode mode, in above-mentioned steps 305, user terminal close quarter-bell mode may include with Lower step:
21), user terminal obtains first location information locating for user terminal;
22), user terminal obtains the second location information of user's wearable device of user terminal binding;
23), user terminal determines the distance between first location information and second location information value;
24), user terminal judges whether the distance value is less than or equal to pre-determined distance value, if the distance value is less than or equal in advance If distance value, the whipping signal for receiving the transmission of user's wearable device is detected whether, if received, control quarter-bell is closed;Wherein, should Whipping signal is the signal that generation is triggered when user's wearable device is shaken and got rid of.
In the embodiment of the present invention, by implementing above-mentioned steps 21)~step 24), it can be in user terminal and user terminal When the distance of user's wearable device of binding is close, and user shakes when getting rid of the user's wearable device oneself having on, intelligence Quarter-bell is closed on ground, the sleep for preventing quarter-bell from continuing the electricity that user terminal is lost and influencing user.For example, user has on user When wearable device is slept, user terminal can be with user bound wearable device, and user terminal can be placed on and wear apart from user It wears on the close desk of equipment, when user terminal judges that the volume value of quarter-bell is gradually decrease to specified volume value by setting volume value When, user terminal can pass through and implement above-mentioned steps 21)~step 24) intelligently closes quarter-bell, and prevent the quarter-bell from continuing to be lost The electricity of user terminal and the sleep for influencing user.
As another optional mode mode, in above-mentioned steps 305, the mode that user terminal closes quarter-bell may include Following steps:
31), user terminal obtains the corresponding current context information of quarter-bell;
32), user terminal obtains history environment information when closing quarter-bell;
33), user terminal judges whether current context information matches with history environment information when closing quarter-bell, if Match, control quarter-bell is closed.
In the embodiment of the present invention, by implementing above-mentioned steps 31)~step 33), it can be in the corresponding current environment of quarter-bell Information and close quarter-bell when history environment information matches when, intelligently close quarter-bell, prevent quarter-bell continue be lost user terminal Electricity and influence user sleep.
Wherein, history environment information matches the weather history that may is that history environment information includes with current context information Information is identical as the value of the identical weather parameters of most types in the current weather information that current context information includes, Alternatively, every one kind in the current weather information that weather history information and current context information that history environment information includes include Difference between the identical weather parameters of type is less than preset threshold.
Wherein, environmental information may include location information, Weather information etc., wherein Weather information may include temperature, wind All kinds of weather parameters such as speed, uitraviolet intensity, relative humidity, precipitation, the embodiment of the present invention are not construed as limiting.
In the method depicted in fig. 3, user terminal is in quarter-bell, if the prompt date and public holiday of detection quarter-bell Overlapping, then the volume value that can intelligently control quarter-bell is gradually decreased by setting volume value, and in the volume for judging quarter-bell When value reaches specified duration by the process duration that setting volume value gradually decreases, quarter-bell is closed, without controlling in a manual manner Quarter-bell processed is closed, and is avoided larger impact user from sleeping, is promoted the control efficiency of quarter-bell.
Referring to Fig. 4, Fig. 4 is a kind of structural schematic diagram of user terminal disclosed by the embodiments of the present invention.Wherein, user is whole End may include all types of user terminal such as cell phone, tablet computer, PDA, MID, intelligent wearable device, and the embodiment of the present invention is not It limits.As shown in figure 4, user terminal may include:
First determination unit 401, for determining the prompt date of quarter-bell in user terminal quarter-bell;
Whether first detection unit 402, the prompt date for detecting quarter-bell are Chong Die with the public holiday;
Control unit 403, be for the testing result in first detection unit 402 when being control the volume value of quarter-bell by Setting volume value gradually decreases.
In the embodiment of the present invention, the date that user terminal is shown when the prompt date of above-mentioned quarter-bell refers to quarter-bell, the day Phase is usually in such a month, and on such a day indicated with certain in year.Optionally, the first determination unit 401, can be from user in user terminal quarter-bell The prompt date of quarter-bell is determined in the calendar application of terminal.
In the embodiment of the present invention, the public holiday refers to be required according to various countries, the folkways and customs of various nationalities or souvenir, by country Law Uniform provisions to time of having a rest for being celebrated and being spent a holiday.Public holiday may include the Spring Festival, the Ching Ming Festival, labour Section, the Dragon Boat Festival, the Mid-autumn Festival and National Day etc..Optionally, first detection unit 402 can detect the prompting from calendar application Whether the date is marked with the title of some public holiday, if the prompt date is marked with the name of some public holiday Claim (such as National Day), then first detection unit 402 can determine that the prompt date of quarter-bell is Chong Die with the public holiday;Conversely, such as The title of any one not labeled public holiday of the fruit prompt date, then first detection unit 402 can determine quarter-bell Prompt date is underlapped with the public holiday.
In the embodiment of the present invention, above-mentioned setting volume value can be default volume value (also referred to as normal sound magnitude), It can be good bigger than default volume value of user's self-setting or be worth small volume value than default volume.Optionally, user is whole The volume value that end can control quarter-bell is gradually decrease to some specified volume value by setting volume value, alternatively, being reduced to mute Until.
In the user terminal described in Fig. 4, user terminal in quarter-bell, if detection quarter-bell prompt date with it is legal Holiday overlapping, then the volume value that can intelligently control quarter-bell is gradually decreased by setting volume value, without with side manually The volume value that formula controls quarter-bell reduces, and avoids larger impact user from sleeping, promotes the control efficiency of quarter-bell.
Referring to Fig. 5, Fig. 5 is the structural schematic diagram of another user terminal disclosed by the embodiments of the present invention.Wherein, Fig. 5 Shown in user terminal be that user terminal as shown in Figure 4 optimizes.Compared with user terminal shown in Fig. 4, User terminal shown in fig. 5 can also include:
First judging unit 404, for judging whether the volume value of quarter-bell by setting volume value is gradually decrease to designated tone Magnitude;
Closing unit 405 is when being, to close quarter-bell for the judging result in the first judging unit 404.
As a kind of optional mode mode, the mode that above-mentioned closing unit 405 closes quarter-bell be may comprise steps of:
21) first location information locating for user terminal, is obtained;
22) second location information of user's wearable device of user terminal binding, is obtained;
23) the distance between first location information and second location information value, are determined;
24), judge whether the distance value is less than or equal to pre-determined distance value, if the distance value is less than or equal to pre-determined distance Value detects whether the whipping signal for receiving the transmission of user's wearable device, if received, control quarter-bell is closed;Wherein, which believes Number being user's wearable device is shaken the signal that generates of triggering when getting rid of.
In the embodiment of the present invention, by implementing above-mentioned steps 21)~step 24), it can be in user terminal and user terminal When the distance of user's wearable device of binding is close, and user shakes when getting rid of the user's wearable device oneself having on, intelligence Quarter-bell is closed on ground, the sleep for preventing quarter-bell from continuing the electricity that user terminal is lost and influencing user.For example, user has on user When wearable device is slept, user terminal can be with user bound wearable device, and user terminal can be placed on and wear apart from user It wears on the close desk of equipment, when user terminal judges that the volume value of quarter-bell is gradually decrease to specified volume value by setting volume value When, user terminal can pass through and implement above-mentioned steps 21)~step 24) intelligently closes quarter-bell, and prevent the quarter-bell from continuing to be lost The electricity of user terminal and the sleep for influencing user.
As another optional mode mode, the mode that above-mentioned closing unit 405 closes quarter-bell may include following step It is rapid:
31) the corresponding current context information of quarter-bell, is obtained;
32) history environment information when closing quarter-bell, is obtained;
33), judge whether current context information matches with history environment information when closing quarter-bell, if it does, control Quarter-bell is closed.
In the embodiment of the present invention, by implementing above-mentioned steps 31)~step 33), it can be in the corresponding current environment of quarter-bell Information and close quarter-bell when history environment information matches when, intelligently close quarter-bell, prevent quarter-bell continue be lost user terminal Electricity and influence user sleep.
Wherein, history environment information matches the weather history that may is that history environment information includes with current context information Information is identical as the value of the identical weather parameters of most types in the current weather information that current context information includes, Alternatively, every one kind in the current weather information that weather history information and current context information that history environment information includes include Difference between the identical weather parameters of type is less than preset threshold.
Wherein, environmental information may include location information, Weather information etc., wherein Weather information may include temperature, wind All kinds of weather parameters such as speed, uitraviolet intensity, relative humidity, precipitation, the embodiment of the present invention are not construed as limiting.
In the user terminal described in Fig. 5, user terminal in quarter-bell, if detection quarter-bell prompt date with it is legal Holiday overlapping then the volume value that can intelligently control quarter-bell is gradually decrease to specified volume value by setting volume value, and is closed Quarter-bell is closed, is closed without controlling quarter-bell in a manual manner, larger impact user is avoided to sleep, promotes the control effect of quarter-bell Rate.
Referring to Fig. 6, Fig. 6 is the structural schematic diagram of another user terminal disclosed by the embodiments of the present invention.Wherein, Fig. 6 Shown in user terminal be that user terminal as shown in Figure 4 optimizes.Compared with user terminal shown in Fig. 4, User terminal shown in fig. 6 can also include:
Second judgment unit 406, for judging that the volume value of quarter-bell is by the process duration that setting volume value gradually decreases It is no to reach specified duration;
Closing unit 407 is when being, to close quarter-bell for the judging result in second judgment unit 406.
As a kind of optional mode mode, the mode that above-mentioned closing unit 407 closes quarter-bell be may comprise steps of:
21) first location information locating for user terminal, is obtained;
22) second location information of user's wearable device of user terminal binding, is obtained;
23) the distance between first location information and second location information value, are determined;
24), judge whether the distance value is less than or equal to pre-determined distance value, if the distance value is less than or equal to pre-determined distance Value detects whether the whipping signal for receiving the transmission of user's wearable device, if received, control quarter-bell is closed;Wherein, which believes Number being user's wearable device is shaken the signal that generates of triggering when getting rid of.
In the embodiment of the present invention, by implementing above-mentioned steps 21)~step 24), it can be in user terminal and user terminal When the distance of user's wearable device of binding is close, and user shakes when getting rid of the user's wearable device oneself having on, intelligence Quarter-bell is closed on ground, the sleep for preventing quarter-bell from continuing the electricity that user terminal is lost and influencing user.For example, user has on user When wearable device is slept, user terminal can be with user bound wearable device, and user terminal can be placed on and wear apart from user It wears on the close desk of equipment, when user terminal judges that the volume value of quarter-bell is gradually decrease to specified volume value by setting volume value When, user terminal can pass through and implement above-mentioned steps 21)~step 24) intelligently closes quarter-bell, and prevent the quarter-bell from continuing to be lost The electricity of user terminal and the sleep for influencing user.
As another optional mode mode, the mode that above-mentioned closing unit 407 closes quarter-bell may include following step It is rapid:
31) the corresponding current context information of quarter-bell, is obtained;
32) history environment information when closing quarter-bell, is obtained;
33), judge whether current context information matches with history environment information when closing quarter-bell, if it does, control Quarter-bell is closed.
In the embodiment of the present invention, by implementing above-mentioned steps 31)~step 33), it can be in the corresponding current environment of quarter-bell Information and close quarter-bell when history environment information matches when, intelligently close quarter-bell, prevent quarter-bell continue be lost user terminal Electricity and influence user sleep.
Wherein, history environment information matches the weather history that may is that history environment information includes with current context information Information is identical as the value of the identical weather parameters of most types in the current weather information that current context information includes, Alternatively, every one kind in the current weather information that weather history information and current context information that history environment information includes include Difference between the identical weather parameters of type is less than preset threshold.
Wherein, environmental information may include location information, Weather information etc., wherein Weather information may include temperature, wind All kinds of weather parameters such as speed, uitraviolet intensity, relative humidity, precipitation, the embodiment of the present invention are not construed as limiting.
In the user terminal described in Fig. 6, user terminal in quarter-bell, if detection quarter-bell prompt date with it is legal Holiday overlapping, then the volume value that can intelligently control quarter-bell is gradually decreased by setting volume value, and is judging quarter-bell When volume value reaches specified duration by the process duration that setting volume value gradually decreases, quarter-bell is closed, without with side manually Formula controls quarter-bell and closes, and avoids larger impact user from sleeping, promotes the control efficiency of quarter-bell.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage Medium include read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), programmable read only memory (Programmable Read-only Memory, PROM), erasable programmable is read-only deposits Reservoir (Erasable Programmable Read Only Memory, EPROM), disposable programmable read-only memory (One- Time Programmable Read-Only Memory, OTPROM), the electronics formula of erasing can make carbon copies read-only memory (Electrically-Erasable Programmable Read-Only Memory, EEPROM), CD-ROM (Compact Disc Read-Only Memory, CD-ROM) or other disc memories, magnetic disk storage, magnetic tape storage or can For carrying or any other computer-readable medium of storing data.
A kind of quarter-bell control method disclosed by the embodiments of the present invention and user terminal are described in detail above, herein In apply that a specific example illustrates the principle and implementation of the invention, the explanation of above example is only intended to sides Assistant solves method and its core concept of the invention;At the same time, for those skilled in the art, think of according to the present invention Think, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not be construed as pair Limitation of the invention.

Claims (9)

1. a kind of quarter-bell control method characterized by comprising
In user terminal quarter-bell, the prompt date of the quarter-bell is determined;
Whether the prompt date for detecting the quarter-bell is Chong Die with the public holiday, if the prompt date and public holiday of the quarter-bell Overlapping, the volume value for controlling the quarter-bell are gradually decreased by setting volume value;
The method also includes: close the quarter-bell;
The closing quarter-bell includes: to obtain the corresponding current context information of the quarter-bell;Obtain history when closing quarter-bell Environmental information;Judge whether the current context information matches with the history environment information when closing quarter-bell, if it does, The quarter-bell is controlled to close.
2. the method according to claim 1, wherein the method also includes: judge the volume value of the quarter-bell Whether it is gradually decrease to specify volume value by setting volume value,
Wherein, if the step of being gradually decrease to specified volume value, executing the closing quarter-bell.
3. the method according to claim 1, wherein the method also includes: judge the volume value of the quarter-bell Whether the process duration gradually decreased by setting volume value reaches specified duration,
Wherein, if process duration reaches specified duration, the step of executing the closing quarter-bell.
4. according to the method in claim 2 or 3, which is characterized in that described to close the quarter-bell further include:
Obtain first location information locating for the user terminal;
Obtain the second location information of user's wearable device of the user terminal binding;
Determine the distance between the first location information and the second location information value;
Judge whether the distance value is less than or equal to pre-determined distance value, if the distance value is less than or equal to pre-determined distance value, inspection It surveys and whether receives the whipping signal that user's wearable device is sent, if received, control the quarter-bell and close;Wherein, described Whipping signal is the signal that generation is triggered when user's wearable device is shaken and got rid of.
5. a kind of user terminal characterized by comprising
First determination unit, for determining the prompt date of the quarter-bell in the user terminal quarter-bell;
Whether first detection unit, the prompt date for detecting the quarter-bell are Chong Die with the public holiday;
Control unit is when being, to control the volume value of the quarter-bell by setting for the testing result in the first detection unit Accordatura magnitude gradually decreases;
Closing unit, for closing the quarter-bell;
Wherein, closing the quarter-bell includes: to obtain the corresponding current context information of the quarter-bell;Obtain history when closing quarter-bell Environmental information;Judge whether the current context information matches with the history environment information when closing quarter-bell, if it does, The quarter-bell is controlled to close.
6. user terminal according to claim 5, which is characterized in that further include: the first judging unit, it is described for judging Whether the volume value of quarter-bell is gradually decrease to specify volume value by setting volume value;
Wherein, the closing unit is to execute the closing when being specifically for the judging result in first judging unit The step of quarter-bell.
7. user terminal according to claim 5, which is characterized in that further include:
Whether second judgment unit, the process duration for judging that the volume value of the quarter-bell is gradually decreased by setting volume value reach To specified duration;
Wherein, the closing unit is to execute the closing when being specifically for the judging result in the second judgment unit The step of quarter-bell.
8. user terminal according to claim 5 or 6, which is characterized in that the closing unit closes the side of the quarter-bell Formula further include:
Obtain first location information locating for the user terminal;
Obtain the second location information of user's wearable device of the user terminal binding;
Determine the distance between the first location information and the second location information value;
Judge whether the distance value is less than or equal to pre-determined distance value, if the distance value is less than or equal to pre-determined distance value, inspection It surveys and whether receives the whipping signal that user's wearable device is sent, if received, control the quarter-bell and close;Wherein, described Whipping signal is the signal that generation is triggered when user's wearable device is shaken and got rid of.
9. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has program, described Program is for instructing relevant hardware, to complete method described in Claims 1-4 any one.
CN201510701668.3A 2015-10-23 2015-10-23 A kind of quarter-bell control method and user terminal Active CN105426072B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510701668.3A CN105426072B (en) 2015-10-23 2015-10-23 A kind of quarter-bell control method and user terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510701668.3A CN105426072B (en) 2015-10-23 2015-10-23 A kind of quarter-bell control method and user terminal

Publications (2)

Publication Number Publication Date
CN105426072A CN105426072A (en) 2016-03-23
CN105426072B true CN105426072B (en) 2018-12-11

Family

ID=55504310

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510701668.3A Active CN105426072B (en) 2015-10-23 2015-10-23 A kind of quarter-bell control method and user terminal

Country Status (1)

Country Link
CN (1) CN105426072B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101997950A (en) * 2010-05-19 2011-03-30 宇龙计算机通信科技(深圳)有限公司 Method, device and terminal for realizing alarm clock
CN103188399A (en) * 2013-03-20 2013-07-03 北京小米科技有限责任公司 Method, device and terminal for controlling alarm clock rings
CN103475786A (en) * 2013-09-25 2013-12-25 上海斐讯数据通信技术有限公司 Method and system for setting mobile terminal alarm clock
CN104348973A (en) * 2014-10-22 2015-02-11 小米科技有限责任公司 Alarm clock management method and device for intelligent wearing equipment and intelligent wearing equipment
CN104598246A (en) * 2015-01-29 2015-05-06 小米科技有限责任公司 Method and device for reminding event
CN104898840A (en) * 2015-05-26 2015-09-09 联想(北京)有限公司 Information processing method and apparatus, and electronic device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101997950A (en) * 2010-05-19 2011-03-30 宇龙计算机通信科技(深圳)有限公司 Method, device and terminal for realizing alarm clock
CN103188399A (en) * 2013-03-20 2013-07-03 北京小米科技有限责任公司 Method, device and terminal for controlling alarm clock rings
CN103475786A (en) * 2013-09-25 2013-12-25 上海斐讯数据通信技术有限公司 Method and system for setting mobile terminal alarm clock
CN104348973A (en) * 2014-10-22 2015-02-11 小米科技有限责任公司 Alarm clock management method and device for intelligent wearing equipment and intelligent wearing equipment
CN104598246A (en) * 2015-01-29 2015-05-06 小米科技有限责任公司 Method and device for reminding event
CN104898840A (en) * 2015-05-26 2015-09-09 联想(北京)有限公司 Information processing method and apparatus, and electronic device

Also Published As

Publication number Publication date
CN105426072A (en) 2016-03-23

Similar Documents

Publication Publication Date Title
CN109947315B (en) Split screen display method and device, electronic equipment and computer readable storage medium
CN103034516B (en) Terminal and application program deployment method
WO2018202073A1 (en) Method and apparatus for voice control over intelligent device, and intelligent device
CN106202472A (en) A kind of application icon processing method and device thereof
CN104967731B (en) A kind of terminal notifying method and terminal
WO2009104514A8 (en) Information processing apparatus, control method of the information processing apparatus, program thereof and storage medium storing the program
CN107231485A (en) The method and apparatus for setting up event prompting
CN103763438B (en) Information broadcasting method and device and mobile terminal
CN107397256A (en) Electronic cigarette, the control method of mobile terminal and electronic cigarette, system
JP5991107B2 (en) Plant growth support system, plant growth management device, and program
CN105426072B (en) A kind of quarter-bell control method and user terminal
WO2016145707A1 (en) Method and device for adding homepage in smart terminal
CN105334720A (en) Method and device for turning off alarm clock
CN105227775A (en) A kind of voice incoming call processing method and device
CN107172285A (en) A kind of method and mobile terminal for adjusting alarm clock ring time
CN109451506A (en) Appraisal procedure, device, terminal and the computer storage medium of LTE dilatation
CN106231077A (en) The based reminding method of terminal and device
CN107430432A (en) The implementation method of mobile terminal and its intelligent alarm clock, device
CN111148007B (en) Tone quality adjusting method, wireless transmitting equipment, tone quality adjusting system and medium
CN106020876A (en) Application program startup method and application program startup device
CN111081102B (en) Dictation result detection method and learning equipment
CN107872573A (en) A kind of alarm clock setting method and terminal
CN104656412A (en) Method for adjusting alarm
CN108521443B (en) The upgrade method and system and terminal and computer readable storage medium of a kind of application
WO2017097064A1 (en) Terminal, and text information display method for terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CP01 Change in the name or title of a patent holder