CN105843522A - Music play control method and apparatus as well as mobile terminal - Google Patents
Music play control method and apparatus as well as mobile terminal Download PDFInfo
- Publication number
- CN105843522A CN105843522A CN201610158651.2A CN201610158651A CN105843522A CN 105843522 A CN105843522 A CN 105843522A CN 201610158651 A CN201610158651 A CN 201610158651A CN 105843522 A CN105843522 A CN 105843522A
- Authority
- CN
- China
- Prior art keywords
- music
- user
- light sensation
- detection
- terminal unit
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 38
- 230000035807 sensation Effects 0.000 claims description 79
- 238000001514 detection method Methods 0.000 claims description 56
- 230000001143 conditioned effect Effects 0.000 claims description 34
- 230000000903 blocking effect Effects 0.000 claims description 10
- 238000004891 communication Methods 0.000 claims description 4
- 230000006870 function Effects 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 3
- 230000002411 adverse Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 230000006399 behavior Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 239000004744 fabric Substances 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 239000012634 fragment Substances 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012163 sequencing technique Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F3/04883—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
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)
- User Interface Of Digital Computer (AREA)
- Telephone Function (AREA)
- Position Input By Displaying (AREA)
Abstract
The invention discloses a music play control method and apparatus as well as a terminal device. The method comprises the following steps of when the terminal device performs music play in a screen turn-off state, detecting a touch operation of a user on a proximity sensor on the terminal device; and if it is detected that a shielding operation of the user on a light-sensing hole in the proximity sensor meets a preset condition, stopping music play. Therefore, the operation time is shortened, the power consumption is reduced, and the user experience is improved.
Description
Technical field
The present invention relates to communication technical field, particularly relate to a kind of music control method, device and mobile terminal.
Background technology
Along with the development of Internet technology, the play-back application on mobile terminal (such as mobile phone, panel computer)
Kind also gets more and more.Such as music player, video player etc..User can be by the music player on mobile terminal
Play the music oneself liked, but when mobile terminal is when playing music, user within a period of time not to mobile terminal
Carrying out any operation, mobile terminal will enter and put out screen state.When user needs to control music, then need to light shifting
The screen of dynamic terminal carries out suspending the operation playing or cutting song.As can be seen here, current control mode poor efficiency is time-consuming, and
Waste power consumption.
Summary of the invention
One of technical problem that the purpose of the present invention is intended to solve in correlation technique the most to a certain extent.
To this end, the first of the present invention purpose is to propose a kind of music control method, when the method can save operation
Between, reduce power consumption.
Second object of the present invention is to propose a kind of music play control apparatus.
Third object of the present invention is to propose a kind of terminal unit.
For reaching above-mentioned purpose, first aspect present invention embodiment proposes a kind of music control method, comprises the following steps:
When terminal unit carries out music under putting out screen state, user is to the touch control operation of proximity transducer on terminal unit in detection;
If detection knows that light sensation hole on proximity transducer is blocked operation and met pre-conditioned by user, then stop music.
The music control method that the present embodiment provides, detects terminal unit music under putting out screen state by proximity transducer
The touch control operation play, carries out corresponding operating according to the testing result of proximity transducer.Thus save the operating time of user,
Reduce power consumption, promote Consumer's Experience.
It addition, the music control method of the above embodiment of the present invention can also have a following additional technical characteristic:
In one embodiment of the invention, if detection knows that operation is blocked in light sensation hole on described proximity transducer by user
Meet pre-conditioned, then stop music, including: if be detected that the light sensation data in light sensation hole meet in Preset Time
The number of times of threshold value reaches preset value, then know that light sensation hole is blocked number of times and met pre-conditioned by user, and then stopping music being broadcast
Put.
In one embodiment of the invention, if detection knows that light sensation hole on proximity transducer is blocked operation and met by user
Pre-conditioned, then stop music, including: if be detected that the duration that the light sensation data in light sensation hole meet threshold value reaches
Preset value, then know that the light sensation hole time of blocking is met pre-conditioned by user, and then stops music.
Further, in one embodiment of the invention, when terminal unit carries out music under putting out screen state, side
Method also includes: detection user's touch control operation to terminal unit touch screen;If detection knows that the screen sliding of touch screen is grasped by user
Work meets pre-conditioned, then switch over music song.
In one embodiment of the invention, if detection knows that the screen sliding operation of touch screen is met pre-conditioned, then by user
Music song is switched over, including: if detection knows that user carries out upwards screen sliding operation, then basis to touch screen
Currently playing music is switched to previous first song by music playlist;If surveying and knowing that touch screen is carried out to downslide by user
Screen operation, then a first song after currently playing music being switched to according to music playlist.
For reaching above-mentioned purpose, second aspect present invention embodiment proposes a kind of music play control apparatus, including: the first inspection
Surveying module, for when terminal unit carries out music under putting out screen state, detection user is to sensing close on terminal unit
The touch control operation of device;For detection, first control module, if knowing that operation is blocked in light sensation hole on proximity transducer by user
Meet pre-conditioned, then stop music.
The music play control apparatus that the present embodiment provides, detects terminal unit music under putting out screen state by proximity transducer
The touch control operation play, carries out corresponding operating according to the testing result of proximity transducer.Thus save the operating time of user,
Reduce power consumption, promote Consumer's Experience.
It addition, the music play control apparatus of the above embodiment of the present invention can also have a following additional technical characteristic:
In one embodiment of the invention, the first control module specifically for: if be detected that light sensation hole in Preset Time
Light sensation data meet the number of times of threshold value and reach preset value, then know that light sensation hole is blocked number of times and met pre-conditioned by user,
And then stopping music.
In one embodiment of the invention, the first control module specifically for: if be detected that in the light sensation data in light sensation hole
The duration meeting threshold value reaches preset value, then know that the light sensation hole time of blocking is met pre-conditioned by user, and then stop tone
Happy broadcasting.
Further, in one embodiment of the invention, device also includes: the second detection module, for working as terminal unit
When carrying out music under putting out screen state, detect user's touch control operation to terminal unit touch screen;Second control module,
If knowing that the screen sliding operation of touch screen is met pre-conditioned by user for detection, then music song is switched over.
In one embodiment of the invention, the second control module specifically for: if detection know that touch screen is carried out by user
Upwards screen sliding operation, then be switched to previous first song according to music playlist by currently playing music;If surveying and knowing use
Family carries out downward screen sliding operation to touch screen, then a first song after currently playing music being switched to according to music playlist.
For reaching above-mentioned purpose, third aspect present invention embodiment proposes a kind of terminal unit, including following one or more groups
Part: processor, memorizer, power circuit, multimedia groupware, audio-frequency assembly, the interface of input/output (I/O), pass
Sensor assembly, and communications component;Wherein, described circuit board is placed in the interior volume that described housing surrounds, described process
Device and described memorizer are arranged on described circuit board;Described power circuit, for for described mobile terminal each circuit or
Device is powered;Described memorizer is used for storing executable program code;Described processor stores by reading in described memorizer
Executable program code run the program corresponding with described executable program code, for perform following steps:
When terminal unit carries out music under putting out screen state, user is to the touch-control of proximity transducer on terminal unit in detection
Operation;
If detection knows that light sensation hole on proximity transducer is blocked operation and met pre-conditioned by user, then stop music.
Accompanying drawing explanation
Above-mentioned and/or the additional aspect of the present invention and advantage will be apparent from from combining the accompanying drawings below description to embodiment
With easy to understand, wherein:
Fig. 1 is the flow chart of music control method according to embodiments of the present invention;
Fig. 2 is the flow chart of a music control method according to embodiments of the present invention;
Fig. 3 is the structural representation of the music play control apparatus of one embodiment of the application;
Fig. 4 is the structural representation of the music play control apparatus of another embodiment of the application;
Fig. 5 is the structural representation of the terminal unit of one embodiment of the application.
Detailed description of the invention
Embodiments of the invention are described below in detail, and the example of described embodiment is shown in the drawings, the most identical
Or similar label represents same or similar element or has the element of same or like function.Retouch below with reference to accompanying drawing
The embodiment stated is exemplary, it is intended to is used for explaining the present invention, and is not considered as limiting the invention.
Music control method, device and the terminal unit proposed according to embodiments of the present invention is described with reference to the accompanying drawings.
Fig. 1 is the flow chart of music control method according to embodiments of the present invention.
Seeing Fig. 1, this music control method comprises the following steps:
S101: when terminal unit carries out music under putting out screen state, user is to proximity transducer on terminal unit in detection
Touch control operation.
Specifically, the music control method that the present embodiment provides is applied on the terminal unit with playing function, wherein,
Terminal unit can be but not limited to the intelligence such as smart mobile phone, panel computer, personal digital assistant, Wearable device and set
Standby, wearable smart machine includes: intelligent glasses, intelligent watch, Intelligent bracelet etc..
When terminal unit is in and puts out screen broadcasting music, the touch control operation of proximity transducer on terminal unit is entered
Row detection operation.It should be noted that proximity transducer is constantly to emission infrared light.Connect when there being shelter to shelter from
During the infrared light that nearly sensor is launched, have infrared light reflection partially or completely to proximity transducer.Thus,
The infrared energy signal detection user can reflected by shelter according to the infrared light that proximity transducer receives is to close
The touch control operation of sensor.
S102: if detection knows that light sensation hole on proximity transducer is blocked operation and met pre-conditioned by user, then stop tone
Happy broadcasting.
Specifically, in order to the operation close to sensor light sense hole being controlled music according to user, pre-set and light sensation hole
Corresponding control condition, the content of control condition can be configured according to application needs, and this is not restricted by the present embodiment.
If by detection know user light sensation hole is blocked operation meet preset control condition time, then stop music.
Wherein, described pre-conditioned can be configured according to the actually used situation of terminal unit.Illustrate:
The first example: default control condition is the number of times that light sensation hole is blocked.
Specifically, if be detected that in Preset Time the light sensation data in light sensation hole meet the number of times of threshold value and reach preset value, then
Know that light sensation hole is blocked number of times and met pre-conditioned by user, and then stop music.
It should be noted that the music that the maloperation in order to be prevented effectively from according to user causes controls, pre-set light sensation data
Threshold value.Light sensation data threshold can be configured according to practical situations.It is 1023 that such as light sensation data arrange this threshold value,
Can certainly be other numerical value.
When user is when using terminal unit, it is not intended to sheltering from, with clothes, the infrared energy that light sensation hole returned typically will not
Reach light sensation data threshold, therefore, only shelter from light sensation hole the most completely when user is intentional, return infrared
When light energy is more than or equal to threshold value when can meet threshold value, just it is considered effective touch control operation.Thus avoid maloperation institute
The adverse effect caused.
Wherein, the number of times that light sensation data in Preset Time meet threshold value can be configured according to the actually used situation of user.
Such as block light sensation hole in 4s twice, or block light sensation hole in 6s three times.
It is illustrated below, if be detected that in 2s, the light sensation data in proximity transducer light sensation hole meet the number of times of threshold value is 2,
Then explanation user blocks the satisfied condition preset of operation in light sensation hole, thus controls terminal unit and stop music.
The second example: default control condition is the duration that light sensation hole is blocked.
Specifically, if be detected that the duration that the light sensation data in light sensation hole meet threshold value reaches preset value, then user couple is known
The time of blocking in light sensation hole meets pre-conditioned, and then stops music.
It should be noted that the music that the maloperation in order to be prevented effectively from according to user causes controls, pre-set light sensation data
Threshold value.Light sensation data threshold can be configured according to practical situations.It is 1023 that such as light sensation data arrange this threshold value,
Can certainly be other numerical value.
When user is when using terminal unit, it is not intended to sheltering from, with clothes, the infrared energy that light sensation hole returned typically will not
Reach light sensation data threshold, therefore, only shelter from light sensation hole the most completely when user is intentional, return infrared
When light energy is more than or equal to threshold value when can meet threshold value, just it is considered effective touch control operation.Thus avoid maloperation institute
The adverse effect caused.
Wherein, the duration that light sensation hole is blocked can be configured according to the actually used situation of user.Such as block light sensation hole to surpass
Cross 2s.
It is illustrated below, if be detected that the light sensation data in proximity transducer light sensation hole meet the duration of threshold value more than 2, then
Illustrate that user blocks the satisfied condition preset of operation in light sensation hole, thus control terminal unit and stop music.
The music control method that the present embodiment provides, when terminal unit carries out music under putting out screen state, detection
User is to the touch control operation of proximity transducer on terminal unit, if detection knows that user is to light sensation hole on described proximity transducer
Operation of blocking meet pre-conditioned, then stop music.Thus save the operating time of user, reduce terminal unit
Power consumption, promotes Consumer's Experience.
Fig. 2 is the flow chart of a music control method according to embodiments of the present invention.
As in figure 2 it is shown, based on above-described embodiment, this music control method is further comprising the steps of:
S201: when terminal unit carries out music under putting out screen state, detects user's touch-control to terminal unit touch screen
Operation.
S202: if detection knows that the screen sliding operation of touch screen is met pre-conditioned by user, then music song is carried out
Switching.
Specifically, when user carries out touch control operation on terminal unit touch screen, the touch control operation of user is entered by terminal unit
Row detection operation, and according to testing result, music song is carried out corresponding operating.It should be noted that it is the most most
Number terminal unit touch screens be capacitive touch screen, when user utilize finger contact touch screen will and touch screen between formed one
Individual coupling electric capacity, corresponding controller will determine the position at user's finger place according to the changing value of touch screen.The most just
Can detect what kind of touch control operation user carries out on the touch screen of terminal unit.
Wherein, touch control operation can be configured according to the actual application of user.Illustrate:
In one embodiment of the invention, touch control operation can be upwards screen sliding, and switches over song by upwards screen sliding.
It is to say, when terminal unit detects that user carries out upwards screen sliding operation to touch screen, then will according to music playlist
The currently playing music track of terminal unit is switched to previous first song, and carries out play operation.It should be noted that upwards
Sliding operation can be that double finger slides, it is also possible to is singly to refer to slide.Above two sliding type is only exemplary, not as right
The concrete restriction of the embodiment of the present invention.
In another embodiment of the present invention, touch control operation can be downward screen sliding, and switches over song by downward screen sliding
Mesh.It is to say, when terminal unit detects that user carries out the operation of downward screen sliding to touch screen, then arrange according to music
Music track currently playing for terminal unit is switched to rear one first song by table, and carries out play operation.It should be noted that
Can be that double finger slides to downslide operation, it is also possible to be singly to refer to slide.Above two sliding type is only exemplary, does not makees
For the concrete restriction to the embodiment of the present invention.
Based on above-described embodiment, the music control method that the present embodiment provides, it is further advanced by detection user in terminal
Touch control operation on equipment touch screen, switches over operation to music song.Thus save the operation of user further
Time, reduce the power consumption of terminal unit, promote Consumer's Experience.
In order to realize above-described embodiment, the application also proposes a kind of music play control apparatus.
Fig. 3 is the structural representation of the music play control apparatus of one embodiment of the application.
As it is shown on figure 3, this music play control apparatus includes:
First detection module 11, for when terminal unit carries out music under putting out screen state, terminal is set by detection user
The touch control operation of standby upper proximity transducer;
For detection, first control module 12, if knowing that light sensation hole on described proximity transducer is blocked operation and met by user
Pre-conditioned, then stop music.
Wherein, in one embodiment, described first control module 12 specifically for:
If be detected that the light sensation data in described light sensation hole meet the number of times of threshold value and reach preset value in Preset Time, then know
Described light sensation hole is blocked number of times and is met pre-conditioned by user, and then stops music.
Wherein, in one embodiment, described first control module 12 specifically for:
If be detected that the duration that the light sensation data in described light sensation hole meet threshold value reaches preset value, then know that user is to described
The time of blocking in light sensation hole meets pre-conditioned, and then stops music.
It should be noted that the aforementioned explanation to music control method embodiment is also applied for the music of this embodiment
Broadcast control device, here is omitted.
The music play control apparatus of the embodiment of the present application, when terminal unit carries out music under putting out screen state, detection
User is to the touch control operation of proximity transducer on terminal unit, if detection knows that user is to light sensation hole on described proximity transducer
Operation of blocking meet pre-conditioned, then stop music.Thus save the operating time of user, reduce terminal unit
Power consumption, promotes Consumer's Experience.
Fig. 4 is the structural representation of the music play control apparatus of another embodiment of the application.
As shown in Figure 4, based on embodiment illustrated in fig. 3, described device also includes:
Second detection module 13, for when terminal unit carries out music under putting out screen state, terminal is set by detection user
The touch control operation of standby touch screen;
For detection, second control module 14, if knowing that the screen sliding operation of described touch screen is met pre-conditioned, then by user
Music song is switched over.
Wherein, described second control module 14 specifically for:
If detection knows that user carries out upwards screen sliding operation to described touch screen, then according to music playlist by currently playing
Music be switched to previous first song;
If surveying and knowing that user carries out downward screen sliding operation to described touch screen, then according to music playlist by currently playing
Music is switched to rear one first song.
It should be noted that the aforementioned explanation to music control method embodiment is also applied for the music of this embodiment
Broadcast control device, here is omitted.
Based on above-described embodiment, the music play control apparatus that the present embodiment provides, it is further advanced by detection user in terminal
Touch control operation on equipment touch screen, switches over operation to music song.Thus save the operation of user further
Time, reduce the power consumption of terminal unit, promote Consumer's Experience.
In order to realize above-described embodiment, the application also proposes a kind of terminal unit.
Fig. 5 is the structural representation of the terminal unit of one embodiment of the application.Such as, terminal unit 1000 can be mobile
Phone etc..
Seeing Fig. 5, terminal unit 1000 can include following one or more assembly: processor 1001, memorizer 1002,
Power circuit 1003, multimedia groupware 1004, audio-frequency assembly 1005, the interface 1006 of input/output (I/O), sensing
Device assembly 1007, and communications component 1008.
Described power circuit 1003, powers for each circuit or the device for described mobile terminal;Described memorizer 1002
For storing executable program code;Described processor 1001 is by reading the performed journey of storage in described memorizer 1002
Sequence code runs the program corresponding with described executable program code, for performing following steps:
When terminal unit carries out music under putting out screen state, user is to the touch-control of proximity transducer on terminal unit in detection
Operation;
If detection knows that light sensation hole on described proximity transducer is blocked operation and met pre-conditioned by user, then stop music
Play.
It should be noted that the aforementioned explanation to music control method embodiment is also applied for the terminal of this embodiment
Equipment, it is similar that it realizes principle, and here is omitted.
The terminal unit of the embodiment of the present application, when terminal unit carries out music under putting out screen state, user is to end in detection
The touch control operation of proximity transducer on end equipment, if detection knows that behaviour is blocked in light sensation hole on described proximity transducer by user
Work meets pre-conditioned, then stop music.Thus save the operating time of user, reduce the power consumption of terminal unit, carry
Rise Consumer's Experience.
In the description of this specification, reference term " embodiment ", " some embodiments ", " example ", " specifically show
Example " or the description of " some examples " etc. means to combine this embodiment or example describes specific features, structure, material or
Feature is contained at least one embodiment or the example of the application.In this manual, the schematic representation to above-mentioned term
Necessarily it is directed to identical embodiment or example.And, the specific features of description, structure, material or feature are permissible
One or more embodiment in office or example combine in an appropriate manner.Additionally, in the case of the most conflicting, ability
The feature of the different embodiments described in this specification or example and different embodiment or example can be entered by the technical staff in territory
Row combines and combination.
Additionally, term " first ", " second " are only used for describing purpose, and it is not intended that instruction or hint relative importance
Or the implicit quantity indicating indicated technical characteristic.Thus, define " first ", the feature of " second " can be expressed
Or implicitly include at least one this feature.In the description of the present application, " multiple " are meant that at least two, such as two
Individual, three etc., unless otherwise expressly limited specifically.
In flow chart or at this, any process described otherwise above or method description are construed as, and represent and include one
Or the module of code, fragment or the part of the executable instruction of the more step for realizing specific logical function or process,
And the scope of the preferred implementation of the application includes other realization, wherein can not press order that is shown or that discuss,
Including according to involved function by basic mode simultaneously or in the opposite order, performing function, this should be by the application's
Embodiment person of ordinary skill in the field understood.
Represent in flow charts or the logic described otherwise above at this and/or step, for example, it is possible to be considered as reality
The sequencing list of the executable instruction of existing logic function, may be embodied in any computer-readable medium, for instruction
Execution system, device or equipment (system such as computer based system, including processor or other can perform from instruction
System, device or equipment instruction fetch also perform the system instructed) use, or combine these instruction execution systems, device or set
Standby and use.For the purpose of this specification, " computer-readable medium " can be any can to comprise, store, communicate, propagate
Or transmission procedure for instruction execution system, device or equipment or combines these instruction execution systems, device or equipment and uses
Device.The more specifically example (non-exhaustive list) of computer-readable medium includes following: have one or more cloth
The electrical connection section (electronic installation) of line, portable computer diskette box (magnetic device), random access memory (RAM), read-only
Memorizer (ROM), erasable read only memory (EPROM or flash memory) of editing, fiber device, and portable
Compact disc read-only memory (CDROM).It addition, computer-readable medium can even is that the paper that can print described program thereon
Or other suitable media, because then can carry out editing, solving such as by paper or other media are carried out optical scanning
Translate or be processed to electronically obtain described program with other suitable methods if desired, be then stored in computer
In memorizer.
Should be appreciated that each several part of the application can realize by hardware, software, firmware or combinations thereof.In above-mentioned reality
Execute in mode, software that multiple steps or method in memory and can be performed by suitable instruction execution system with storage or
Firmware realizes.Such as, if realized with hardware, with the most the same, available well known in the art under
Any one or their combination in row technology realize: have the logic gates for data signal realizes logic function
Discrete logic, there is the special IC of suitable combination logic gate circuit, programmable gate array (PGA), existing
Field programmable gate array (FPGA) etc..
Claims (11)
1. a music control method, it is characterised in that comprise the following steps:
When terminal unit carries out music under putting out screen state, user is to the touch-control of proximity transducer on terminal unit in detection
Operation;
If detection knows that light sensation hole on described proximity transducer is blocked operation and met pre-conditioned by user, then stop music
Play.
2. the method for claim 1, it is characterised in that if described detection knows that user is to described proximity transducer
The operation of blocking in upper light sensation hole meets pre-conditioned, then stop music, including:
If be detected that the light sensation data in described light sensation hole meet the number of times of threshold value and reach preset value in Preset Time, then know
Described light sensation hole is blocked number of times and is met pre-conditioned by user, and then stops music.
3. the method for claim 1, it is characterised in that if described detection knows that user is to described proximity transducer
The operation of blocking in upper light sensation hole meets pre-conditioned, then stop music, including:
If be detected that the duration that the light sensation data in described light sensation hole meet threshold value reaches preset value, then know that user is to described
The time of blocking in light sensation hole meets pre-conditioned, and then stops music.
4. the method as described in claim 1-3 is arbitrary, it is characterised in that when terminal unit carries out music under putting out screen state
During broadcasting, described method also includes:
Detection user's touch control operation to terminal unit touch screen;
If detection knows that the screen sliding operation of described touch screen is met pre-conditioned by user, then music song is cut
Change.
5. method as claimed in claim 4, it is characterised in that if user's cunning to described touch screen is known in described detection
Screen operation meets pre-conditioned, then switch over music song, including:
If detection knows that user carries out upwards screen sliding operation to described touch screen, then according to music playlist by currently playing
Music be switched to previous first song;
If surveying and knowing that user carries out downward screen sliding operation to described touch screen, then according to music playlist by currently playing
Music is switched to rear one first song.
6. a music play control apparatus, it is characterised in that including:
First detection module, for when terminal unit carries out music under putting out screen state, user is to terminal unit in detection
The touch control operation of upper proximity transducer;
For detection, first control module, if knowing that light sensation hole on described proximity transducer is blocked operation and met pre-by user
If condition, then stop music.
7. device as claimed in claim 6, it is characterised in that described first control module specifically for:
If be detected that the light sensation data in described light sensation hole meet the number of times of threshold value and reach preset value in Preset Time, then know
Described light sensation hole is blocked number of times and is met pre-conditioned by user, and then stops music.
8. device as claimed in claim 6, it is characterised in that described first control module specifically for:
If be detected that the duration that the light sensation data in described light sensation hole meet threshold value reaches preset value, then know that user is to described
The time of blocking in light sensation hole meets pre-conditioned, and then stops music.
9. the device as described in claim 6-8 is arbitrary, it is characterised in that described device also includes:
Second detection module, for when terminal unit carries out music under putting out screen state, user is to terminal unit in detection
The touch control operation of touch screen;
Second control module is if knowing that the screen sliding operation of described touch screen is met pre-conditioned by user for detection, the most right
Music song switches over.
10. device as claimed in claim 9, it is characterised in that described second control module specifically for:
If detection knows that user carries out upwards screen sliding operation to described touch screen, then according to music playlist by currently playing
Music be switched to previous first song;
If surveying and knowing that user carries out downward screen sliding operation to described touch screen, then according to music playlist by currently playing
Music is switched to rear one first song.
11. 1 kinds of terminal units, it is characterised in that include following one or more assembly: processor, memorizer, power supply
Circuit, multimedia groupware, audio-frequency assembly, the interface of input/output (I/O), sensor cluster, and communications component;
Wherein, described circuit board is placed in the interior volume that described housing surrounds, described processor and described memorizer and is arranged on described
On circuit board;Described power circuit, powers for each circuit or the device for described mobile terminal;Described memorizer is used for
Storage executable program code;Described processor by read the executable program code of storage in described memorizer run with
The program that described executable program code is corresponding, for performing following steps:
When terminal unit carries out music under putting out screen state, user is to the touch-control of proximity transducer on terminal unit in detection
Operation;
If detection knows that light sensation hole on described proximity transducer is blocked operation and met pre-conditioned by user, then stop music
Play.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610158651.2A CN105843522B (en) | 2016-03-18 | 2016-03-18 | Music playing control method and device and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610158651.2A CN105843522B (en) | 2016-03-18 | 2016-03-18 | Music playing control method and device and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105843522A true CN105843522A (en) | 2016-08-10 |
CN105843522B CN105843522B (en) | 2020-07-10 |
Family
ID=56588092
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610158651.2A Expired - Fee Related CN105843522B (en) | 2016-03-18 | 2016-03-18 | Music playing control method and device and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105843522B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106383645A (en) * | 2016-10-31 | 2017-02-08 | 维沃移动通信有限公司 | Music playing control method and mobile terminal |
CN107329664A (en) * | 2017-06-27 | 2017-11-07 | 广东欧珀移动通信有限公司 | reading processing method and related product |
CN107526522A (en) * | 2017-08-15 | 2017-12-29 | 广东欧珀移动通信有限公司 | Blank screen gesture identification method and device, and mobile terminal, storage medium |
CN108196816A (en) * | 2017-12-28 | 2018-06-22 | 深圳Tcl新技术有限公司 | Put out music control method, device and the computer storage media under screen state |
CN108696652A (en) * | 2017-04-06 | 2018-10-23 | 富士施乐株式会社 | Detection device and device |
CN109240509A (en) * | 2018-10-24 | 2019-01-18 | 青岛科锐斯光电科技有限公司 | A kind of infrared induction system |
CN111930296A (en) * | 2020-08-05 | 2020-11-13 | 维沃移动通信有限公司 | Electronic equipment control method and device and electronic equipment |
CN112433611A (en) * | 2020-11-24 | 2021-03-02 | 珠海格力电器股份有限公司 | Control method and device of terminal equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102868821A (en) * | 2012-09-20 | 2013-01-09 | 广东欧珀移动通信有限公司 | Screen activating and unlocking method for mobile terminal |
CN102957803A (en) * | 2012-11-15 | 2013-03-06 | 广东欧珀移动通信有限公司 | Mobile terminal program operating method and mobile terminal |
US20130088442A1 (en) * | 2011-10-06 | 2013-04-11 | Taehoon Lee | Mobile terminal and method for providing user interface thereof |
CN103167155A (en) * | 2012-09-25 | 2013-06-19 | 深圳市金立通信设备有限公司 | System and method for achieving control of music player of mobile phone based on range sensor |
CN104820571A (en) * | 2015-03-20 | 2015-08-05 | 广东欧珀移动通信有限公司 | Method and device for switching songs |
-
2016
- 2016-03-18 CN CN201610158651.2A patent/CN105843522B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130088442A1 (en) * | 2011-10-06 | 2013-04-11 | Taehoon Lee | Mobile terminal and method for providing user interface thereof |
CN102868821A (en) * | 2012-09-20 | 2013-01-09 | 广东欧珀移动通信有限公司 | Screen activating and unlocking method for mobile terminal |
CN103167155A (en) * | 2012-09-25 | 2013-06-19 | 深圳市金立通信设备有限公司 | System and method for achieving control of music player of mobile phone based on range sensor |
CN102957803A (en) * | 2012-11-15 | 2013-03-06 | 广东欧珀移动通信有限公司 | Mobile terminal program operating method and mobile terminal |
CN104820571A (en) * | 2015-03-20 | 2015-08-05 | 广东欧珀移动通信有限公司 | Method and device for switching songs |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106383645A (en) * | 2016-10-31 | 2017-02-08 | 维沃移动通信有限公司 | Music playing control method and mobile terminal |
CN108696652A (en) * | 2017-04-06 | 2018-10-23 | 富士施乐株式会社 | Detection device and device |
CN108696652B (en) * | 2017-04-06 | 2022-05-10 | 富士胶片商业创新有限公司 | Detection device and device |
CN107329664A (en) * | 2017-06-27 | 2017-11-07 | 广东欧珀移动通信有限公司 | reading processing method and related product |
CN107526522A (en) * | 2017-08-15 | 2017-12-29 | 广东欧珀移动通信有限公司 | Blank screen gesture identification method and device, and mobile terminal, storage medium |
CN107526522B (en) * | 2017-08-15 | 2021-07-13 | Oppo广东移动通信有限公司 | Black screen gesture recognition method and device, mobile terminal and storage medium |
CN108196816A (en) * | 2017-12-28 | 2018-06-22 | 深圳Tcl新技术有限公司 | Put out music control method, device and the computer storage media under screen state |
CN109240509A (en) * | 2018-10-24 | 2019-01-18 | 青岛科锐斯光电科技有限公司 | A kind of infrared induction system |
CN111930296A (en) * | 2020-08-05 | 2020-11-13 | 维沃移动通信有限公司 | Electronic equipment control method and device and electronic equipment |
CN112433611A (en) * | 2020-11-24 | 2021-03-02 | 珠海格力电器股份有限公司 | Control method and device of terminal equipment |
Also Published As
Publication number | Publication date |
---|---|
CN105843522B (en) | 2020-07-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105843522A (en) | Music play control method and apparatus as well as mobile terminal | |
CN105094627B (en) | Browser page control method and device | |
CN103257777B (en) | The control method of touch-screen state and touch-screen, portable touch terminal | |
CN106155675A (en) | The page switching method of application program and device | |
CN103294657A (en) | Method and system for text editing | |
CN105959461A (en) | Screen sensing control method, screen sensing control device and terminal equipment | |
CN105843524A (en) | Camera control method and apparatus used for mobile terminal as well as mobile terminal | |
CN103294402A (en) | Method and device for switching application interface of smart terminal | |
CN105528173A (en) | Multimedia operation method and terminal | |
CN105446641A (en) | Touch screen icon one-hand operating method and system and mobile terminal | |
CN105511678A (en) | Application interface single-hand operation method and device as well as terminal device | |
CN104503664A (en) | Searching method and device and mobile terminal | |
CN104572071A (en) | Terminal | |
CN104720561A (en) | Cooking tool and control method for man-machine interaction interface of cooking tool | |
CN103226439A (en) | Mobile terminal as well as operation control method and device thereof | |
CN104462423A (en) | Search method, search device and mobile terminal | |
CN107247550A (en) | One kind application switching method and device, computer installation, readable storage medium storing program for executing | |
CN104462496A (en) | Search method, device and mobile terminal | |
CN104572853A (en) | Searching method and searching device | |
CN104267987A (en) | Detection method, detection device and terminal for application program APP (Application) update | |
CN104270680A (en) | Resource playing control method and device | |
CN105912218A (en) | Method and device for displaying application icons and electronic equipment | |
CN104820619A (en) | Application program switching method and device for mobile terminal | |
CN104216639A (en) | Terminal operation method | |
CN106325699A (en) | Application program starting method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523859 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200710 |
|
CF01 | Termination of patent right due to non-payment of annual fee |