CN103369098A - Method for automatic shutdown of terminal and terminal - Google Patents

Method for automatic shutdown of terminal and terminal Download PDF

Info

Publication number
CN103369098A
CN103369098A CN2012100818849A CN201210081884A CN103369098A CN 103369098 A CN103369098 A CN 103369098A CN 2012100818849 A CN2012100818849 A CN 2012100818849A CN 201210081884 A CN201210081884 A CN 201210081884A CN 103369098 A CN103369098 A CN 103369098A
Authority
CN
China
Prior art keywords
volume
multimedia file
value
terminal
gradual change
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
CN2012100818849A
Other languages
Chinese (zh)
Other versions
CN103369098B (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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201210081884.9A priority Critical patent/CN103369098B/en
Publication of CN103369098A publication Critical patent/CN103369098A/en
Application granted granted Critical
Publication of CN103369098B publication Critical patent/CN103369098B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Telephone Function (AREA)

Abstract

The invention discloses a method for automatic shutdown of a terminal and the terminal, wherein the method comprises steps of: setting up parameters of gradual changes of volume when a multimedia file is played at the terminal, and playing the multimedia file according to the parameters of gradual changes of volume; acquiring a volume value when the multimedia file is played at the terminal, and shutting down the mobile terminal when the volume value is in accord with a preset condition of shutdown. According to the invention, automatic shutdown can be completed based on an actual situation that users listen to the multimedia file, so as to achieve a flexible and humanized mode of shutdown, thereby effectively improving user experience.

Description

Terminal automatic shutdown method and terminal
Technical field
The present invention relates to communication field, relate in particular to a kind of terminal automatic shutdown method and terminal.
Background technology
At present, the portable terminal such as mobile phone and people's life is more and more tightr.Existing smart mobile phone has possessed various application functions, and wherein, music player is one of frequent function of using of user, can be at various occasion listening to audio files by music player.
A lot of users had before sleep and listen to the music or wireless custom, and are gradually sleeping in musical sound.But thing followed problem is closing hand phone after user's sleep how.
Although mobile phone all is provided with automatic shut-off function, but this function is generally carried out according to system time, need to pre-set the time of shutdown, and the unused time that sets is changeless, but then be flexible and unfixed user's the length of one's sleep.
To sum up, automatic shut-off function of the prior art does not possess the function of Based Intelligent Control unused time, can not listen to according to the user situation realization automatic shutdowns such as music, therefore is necessary to propose improved technological means to address the above problem.
Summary of the invention
Main purpose of the present invention is to provide a kind of terminal automatic shutdown method and terminal, simply can not listen to according to the user problem of music situation automatic shutdown to solve existing automatic shut-off function that prior art exists, wherein:
Terminal automatic shutdown method according to the embodiment of the invention comprises: the volume gradual change that the terminal plays multimedia file is set reduces parameter, and gradual change reduces parameter play multimedia file according to volume; Volume value when obtaining the terminal plays multimedia file, and when volume value meets default cut-off condition, close a terminal.
Wherein, the volume gradual change being set reduces parameter and comprise: the mode that initial volume value, end-sound value and volume gradual change reduce is set, and wherein, the initial volume value is greater than the end-sound value.
Wherein, the mode that the volume gradual change reduces specifically comprises: the corresponding relation that multimedia file quantity and volume value successively decrease is set, and after a multimedia file finished playing, volume value successively decreased according to preset value; And/or the corresponding relation that reproduction time and volume value successively decrease is set, when reproduction time reached threshold value, volume was successively decreased according to preset value.
Wherein, default cut-off condition is: the volume of current play multimedia file is the end-sound value, if when the volume value during the terminal plays multimedia file that obtains is the end-sound value, close a terminal.
Wherein, after gradual change reduced parameter play multimedia file according to volume, the method also comprised: detect the user and whether enter sleep state, and in the situation that testing result is yes, close a terminal.
Terminal according to the embodiment of the invention comprises: module is set, reduces parameter for the volume gradual change that the terminal plays multimedia file is set; Playing module is for gradual change reduces parameter play multimedia file according to volume; Acquisition module, the volume value when being used for obtaining the terminal plays multimedia file; The first processing module is used for closing a terminal when the volume value that obtains meets default cut-off condition.
Wherein, the volume gradual change that the module setting is set reduces parameter and comprises: the mode that initial volume value, end-sound value and volume gradual change reduce is set, and wherein, the initial volume value is greater than the end-sound value.
Wherein, module is set further comprises: first arranges module, is used for arranging the corresponding relation that multimedia file quantity and volume value successively decrease, and after a multimedia file finished playing, volume value successively decreased according to preset value; And/or second arrange module, is used for arranging the corresponding relation that reproduction time and volume value successively decrease, and when reproduction time reached threshold value, volume was successively decreased according to preset value.
Wherein, the first processing module further comprises: second arranges submodule, and the volume that is used for arranging cut-off condition and is current play multimedia file is the end-sound value; Second processes submodule, when being the end-sound value for the volume value when the terminal plays multimedia file that acquisition module obtains, closes a terminal.
Wherein, this terminal also comprises: detection module, be used for when playing module play multimedia file, and detect the user and whether enter sleep state; The second processing module is used in the situation that testing result is yes turning-off mobile terminal.
According to technical scheme of the present invention, reduce parameter play multimedia file by what arrange with the volume gradual change, and the volume value when the play multimedia file is closed a terminal when meeting default cut-off condition, can carry out automatic shutdown according to the actual conditions that the user listens to multimedia file, realize shutdown mode flexible, hommization, thereby effectively promoted user's experience.
Description of drawings
Accompanying drawing described herein is used to provide a further understanding of the present invention, consists of the application's a part, and illustrative examples of the present invention and explanation thereof are used for explaining the present invention, do not consist of improper restriction of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart according to the terminal automatic shutdown method of the embodiment of the invention;
Fig. 2 is the flow chart according to the preferred process scheme of the terminal automatic shutdown method of the embodiment of the invention;
Fig. 3 is the structured flowchart according to the terminal of first embodiment of the invention;
Fig. 4 is the structured flowchart according to the terminal of second embodiment of the invention;
Fig. 5 is the structured flowchart according to the terminal of third embodiment of the invention.
Embodiment
Main thought of the present invention is, the volume gradual change that the terminal plays multimedia file is set reduces parameter, and gradual change reduces parameter play multimedia file, the volume value when obtaining the terminal plays multimedia file according to volume, and when volume value meets default cut-off condition, close a terminal.
For making the purpose, technical solutions and advantages of the present invention clearer, below in conjunction with drawings and the specific embodiments, the present invention is described in further detail.
According to embodiments of the invention, provide a kind of terminal automatic shutdown method.
Fig. 1 is that as shown in Figure 1, the method comprises according to the flow chart of the terminal automatic shutdown method of the embodiment of the invention:
Step S102, the volume gradual change that the terminal plays multimedia file is set reduces parameter, and gradual change reduces parameter play multimedia file according to volume.
The parameter that herein needs to arrange comprises: the mode that initial volume value, end-sound value and volume gradual change reduce, usually, the initial volume value is greater than the end-sound value.And the mode that the volume gradual change reduces is set comprises: the corresponding relation that multimedia file quantity and volume value successively decrease is set, and after a multimedia file finished playing, volume value successively decreased according to preset value; And/or the corresponding relation that reproduction time and volume value successively decrease is set, when reproduction time reached threshold value, volume was successively decreased according to preset value.
Step S104, the volume value when obtaining the terminal plays multimedia file, and when volume value meets default cut-off condition, close a terminal.
Described default cut-off condition comprises: the volume of current play multimedia file is the end-sound value; Volume value when the terminal plays multimedia file that obtains is during for this end-sound value, then the autoshutdown terminal.In addition, in the process of play multimedia file, enter sleep state if detect the user, then the autoshutdown portable terminal.
By above-mentioned processing, reduce mode play multimedia file with the volume gradual change, and by cut-off condition closing hand phone flexibly, realized that the actual conditions of listening to multimedia file according to the user carry out automatic shutdown, effectively strengthened user's experience.
Describe the embodiment of the invention in detail below in conjunction with Fig. 2, as shown in Figure 2, the method comprises:
Step S202, the volume gradual change that the mobile terminal playing multimedia file is set reduces parameter.Three parameters mainly need to be set: the mode that initial volume value, end-sound value and volume gradual change reduce herein.Because broadcast mode of the present invention is the mode that the volume gradual change reduces, so require the initial volume value greater than the end-sound value.The volume value that the instant multimedia file of playing of initial volume value begins, the end-sound value also is the volume value when triggering closing hand phone, as cut-off condition., the mode that the volume gradual change from the initial volume value to the end-sound value reduces diminishes the played file quantity in the time of volume value namely will be set whenever reduce a unit and can being quantity according to the music playing song; If the multimedia file of playing can not be distinguished quantity of documents or the user does not wish that carrying out the volume gradual change according to the quantity of documents of playing reduces, then can also diminish according to the time of playing, namely after playing certain hour, current volume value reduces the volume value of a unit, till current volume value is the end-sound value.And the mode that above-mentioned two kinds of volume gradual changes reduce can also make up setup and use, and the gradual change of namely carrying out first the setting that reaches reduces mode.
A special example is that the initial volume value is identical with the end-sound value, does not namely have volume change when the play multimedia file, so also just do not need to arrange the mode that volume diminishes.It is noted that in this case, the end-sound value just can not as the condition of closing hand phone, need to arrange other cut-off condition in addition.
Step S204, according to the parameter that arranges among the step S202 with the descending gradual manner play multimedia file of volume.The multimedia file of indication comprises the music file of all forms that mobile phone can be play and the program that receives by broadcast receiver herein, perhaps can also comprise the video file with independent audio file.
The broadcast mode that volume diminishes gradually has actual use meaning, for example, likes to listen music before the sleep, and the syngignoscism that embodies music is gradually sleeping etc. in music.
Step S206, in the dormant function of the integrated detection user of portable terminal, for example, the human parameters such as the pulse by detecting the user or electroencephalogram (EEG) judge whether the user enters sleep state, concrete testing process is not given unnecessary details herein.Perhaps, portable terminal is connected with the dormant device of detection user, terminal receives detection signal and judges whether the user enters sleep state.
When the play multimedia file, detect user's sleep state, judge whether the user enters sleep state, such as resolute result for being execution in step S210 then, otherwise execution in step S208.
The effect of this step is when not reaching cut-off condition, the user has just entered sleep state, it is nonsensical that continue the play multimedia file this moment, therefore whether the Real Time Monitoring user is in sleep state when the play multimedia file, has entered then directly shutdown of sleep state detecting the user.
Step S208 arranges cut-off condition: the volume of current play multimedia file is the end-sound value.
Step S210, the volume value when obtaining the terminal plays multimedia file.The mode of obtaining volume value comprises: when the terminal plays multimedia file, obtain the volume value of broadcast by transducer; Perhaps direct volume parameters by the setting of play multimedia file obtains.
Whether step S212, the volume value when judging the play multimedia file meet the cut-off condition that step S208 arranges, if judged result for being then execution in step S214, otherwise execution in step S204 continuation play multimedia file.
Step S214, turning-off mobile terminal, flow process finishes.
By above-mentioned handling process, terminal reduces parameter play multimedia file according to the volume gradual change that arranges, and volume is begun to diminish gradually by the initial volume value, when current volume is the end-sound value, and closing hand phone.
According to embodiments of the invention, also provide a kind of terminal.
With reference to figure 3, be according to the structured flowchart of the terminal of the embodiment of the invention, comprising: first arranges module 10, playing module 20, acquisition module 30 and the first processing module 40, wherein:
First arranges module 10 reduces parameter for the volume gradual change that the terminal plays multimedia file is set, preferably, the parameter that arranges comprises: the mode that initial volume value, end-sound value and volume gradual change reduce, wherein, the initial volume value is greater than the end-sound value.
With reference to figure 4, the first module 10 being set further comprises: first arranges submodule 110 and/or second arranges submodule 120.First arranges submodule 110 is used for arranging the corresponding relation that multimedia file quantity and volume value successively decrease, and after a multimedia file finished playing, volume value successively decreased according to preset value.Second arranges submodule 120 is used for arranging the corresponding relation that reproduction time and volume value successively decrease, and when reproduction time reached threshold value, volume was successively decreased according to preset value.
Continuation is with reference to figure 3, and playing module 20 and first arranges module 10 and is connected, and is used for reducing parameter play multimedia file according to the first volume gradual change that module 10 settings are set.
Acquisition module 30 is connected with playing module 20, the volume value when being used for obtaining the terminal plays multimedia file, and the mode of obtaining volume value can be when the terminal plays multimedia file, obtains the volume value of broadcast by transducer; Perhaps direct volume parameters by the setting of play multimedia file obtains.
The first processing module 40 is connected with acquisition module 30, when the volume value that is used for the play multimedia file that obtains at acquisition module 30 meets default cut-off condition, closes a terminal.
With reference to figure 4, on basis shown in Figure 3, this terminal also comprises: second arranges module 50, and the volume that is used for arranging cut-off condition and is current play multimedia file is the end-sound value.Thus, when the volume value of the first processing module 40 when the terminal plays multimedia file that acquisition module 30 obtains is the end-sound value, close a terminal.
With reference to figure 5, on basis shown in Figure 3, this terminal also comprises: detection module 60, and it is connected with playing module 20, is used for when playing module 20 play multimedia file, detects the user and whether enters sleep state; The second processing module 70 is connected with detection module 60, and the testing result that is used at detection module 60 is in the situation that is, closes a terminal.Wherein, the second processing module 70 and the first processing module 40 can be unified setting.By the setting of detection module 60 and the second processing module 70, when the play multimedia file, detect the user and entered sleep state, then directly shutdown.
The operating procedure of method of the present invention is corresponding with the architectural feature of system, can cross-reference, give unnecessary details no longer one by one.
In sum, according to technical scheme of the present invention, reduce parameter play multimedia file by what arrange with the volume gradual change, and the volume value when the play multimedia file is closed a terminal when meeting default cut-off condition, can carry out automatic shutdown according to the actual conditions that the user listens to multimedia file, realize shutdown mode flexible, hommization, thereby effectively promoted user's experience.
The above is embodiments of the invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., all should be included within the claim scope of the present invention.

Claims (10)

1. a terminal automatic shutdown method is characterized in that, comprising:
The volume gradual change that the terminal plays multimedia file is set reduces parameter, and reduces parameter according to described volume gradual change and play described multimedia file;
Volume value when obtaining the terminal plays multimedia file, and when described volume value meets default cut-off condition, close described terminal.
2. method according to claim 1 is characterized in that, described volume gradual change is set reduces parameter and comprise:
The mode that initial volume value, end-sound value and volume gradual change reduce is set, and wherein, described initial volume value is greater than the end-sound value.
3. method according to claim 2 is characterized in that, the mode that described volume gradual change reduces specifically comprises:
The corresponding relation that multimedia file quantity and volume value successively decrease is set, and after a multimedia file finished playing, volume value successively decreased according to preset value; And/or
The corresponding relation that reproduction time and volume value successively decrease is set, and when reproduction time reached threshold value, volume was successively decreased according to preset value.
4. method according to claim 2 is characterized in that, described default cut-off condition is: the volume of current play multimedia file is described end-sound value,
If when the volume value during the described multimedia file of described terminal plays that obtains is described end-sound value, close described terminal.
5. method according to claim 1 is characterized in that, described reduce parameter according to described volume gradual change and play described multimedia file after, described method also comprises:
Detect the user and whether enter sleep state, and in the situation that testing result is yes, close described terminal.
6. a terminal is characterized in that, comprising:
First arranges module, reduces parameter for the volume gradual change that the terminal plays multimedia file is set;
Playing module is used for reducing parameter according to described volume gradual change and plays described multimedia file;
Acquisition module, the volume value when being used for obtaining the play multimedia file;
The first processing module is used for closing described terminal when the described volume value that obtains meets default cut-off condition.
7. terminal according to claim 6 is characterized in that, the described volume gradual change that the module setting is set reduces parameter and comprises:
The mode that initial volume value, end-sound value and volume gradual change reduce is set, and wherein, described initial volume value is greater than the end-sound value.
8. terminal according to claim 7 is characterized in that, the described module that arranges further comprises:
First arranges module, is used for arranging the corresponding relation that multimedia file quantity and volume value successively decrease, and after a multimedia file finished playing, volume value successively decreased according to preset value; And/or
Second arranges module, is used for arranging the corresponding relation that reproduction time and volume value successively decrease, and when reproduction time reached threshold value, volume was successively decreased according to preset value.
9. terminal according to claim 7 is characterized in that, also comprises:
Second arranges module, and the volume that is used for arranging described cut-off condition and is current play multimedia file is described end-sound value;
When the volume value of described the first processing module when the described multimedia file of described terminal plays that described acquisition module obtains is described end-sound value, close described terminal.
10. terminal according to claim 6 is characterized in that, also comprises:
Detection module is used for when described playing module is play described multimedia file, detects the user and whether enters sleep state;
The second processing module is used in the situation that testing result is yes, closes described terminal.
CN201210081884.9A 2012-03-26 2012-03-26 Terminal automatic shutdown method and terminal Active CN103369098B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210081884.9A CN103369098B (en) 2012-03-26 2012-03-26 Terminal automatic shutdown method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210081884.9A CN103369098B (en) 2012-03-26 2012-03-26 Terminal automatic shutdown method and terminal

Publications (2)

Publication Number Publication Date
CN103369098A true CN103369098A (en) 2013-10-23
CN103369098B CN103369098B (en) 2015-09-30

Family

ID=49369609

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210081884.9A Active CN103369098B (en) 2012-03-26 2012-03-26 Terminal automatic shutdown method and terminal

Country Status (1)

Country Link
CN (1) CN103369098B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104318934A (en) * 2014-09-11 2015-01-28 小米科技有限责任公司 Method, terminal, wearable device and play device for closing multimedia file
CN104486657A (en) * 2014-11-28 2015-04-01 四川长虹电器股份有限公司 Control method of player and system
CN105895126A (en) * 2016-03-29 2016-08-24 乐视控股(北京)有限公司 Method and apparatus for indicating and controlling playing audio/audio and video data
CN106293605A (en) * 2016-08-12 2017-01-04 乐视控股(北京)有限公司 A kind of audio frequency playing method and device
CN109920452A (en) * 2019-02-18 2019-06-21 湖南悟空信息科技有限公司 A kind of method and device playing music according to infant's activity work and rest intelligence

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1900860A (en) * 2005-07-22 2007-01-24 鸿富锦精密工业(深圳)有限公司 Electronic device and method for realizing intelligent sleeping mode function
CN102339619A (en) * 2011-09-26 2012-02-01 华为终端有限公司 Audio/video output control method and equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1900860A (en) * 2005-07-22 2007-01-24 鸿富锦精密工业(深圳)有限公司 Electronic device and method for realizing intelligent sleeping mode function
CN102339619A (en) * 2011-09-26 2012-02-01 华为终端有限公司 Audio/video output control method and equipment

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104318934A (en) * 2014-09-11 2015-01-28 小米科技有限责任公司 Method, terminal, wearable device and play device for closing multimedia file
CN104486657A (en) * 2014-11-28 2015-04-01 四川长虹电器股份有限公司 Control method of player and system
CN105895126A (en) * 2016-03-29 2016-08-24 乐视控股(北京)有限公司 Method and apparatus for indicating and controlling playing audio/audio and video data
WO2017166638A1 (en) * 2016-03-29 2017-10-05 乐视控股(北京)有限公司 Method of indicating and controlling playback of audio/video data, device, mobile terminal, electronic apparatus, and storage medium
CN106293605A (en) * 2016-08-12 2017-01-04 乐视控股(北京)有限公司 A kind of audio frequency playing method and device
CN109920452A (en) * 2019-02-18 2019-06-21 湖南悟空信息科技有限公司 A kind of method and device playing music according to infant's activity work and rest intelligence

Also Published As

Publication number Publication date
CN103369098B (en) 2015-09-30

Similar Documents

Publication Publication Date Title
CN105225679B (en) Music adjusting method and device
CN101997979B (en) Method and device for switching scene modes of mobile terminal
CN103019529B (en) A kind of volume adjusting method and system
CN103369098A (en) Method for automatic shutdown of terminal and terminal
CN109788388A (en) Earphone noise-reduction method, smart bluetooth earphone and computer readable storage medium
CN105006240B (en) A kind of musical sound control method and system based on audio-frequence player device
CN103986839A (en) Method for automatically setting contextual model and mobile terminal
CN105204761B (en) A kind of volume adjusting method and user terminal
CN103095886A (en) Mobile terminal with intelligent voice controlling system and intelligent voice controlling method
CN101471635A (en) Method for controlling volume of a multimedia player
CN105786442A (en) Volume control method and intelligent terminal
CN101686354A (en) Method for automatically adjusting volume and television
CN108810749A (en) player control method, device, terminal device and storage medium
CN110491419B (en) Playing control method, system and terminal equipment
CN107566618A (en) volume adjusting method, device, terminal device and storage medium
CN103458113A (en) Method and terminal for adjusting communication volume
CN103531214A (en) Control method and control device of indoor equipment
CN103200498B (en) A kind of mobile terminal music playing method and system
CN103577145B (en) Volume processing unit and method, the electronic system of electronic equipment
CN104394445A (en) Automatic switch-off method and automatic switch-off device
CN107465824A (en) volume adjusting method, device, mobile terminal and storage medium
CN102202126B (en) Method for adjusting mobile phone volume and mobile phone
CN105491217A (en) Terminal audio control method, device and terminal
CN105242866B (en) A kind of volume adjusting method and user terminal
CN202979082U (en) Automatic call volume adjuster applied for mobile phone

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant