CN107577450A - A kind of audio control method, audio control apparatus and intelligent terminal - Google Patents

A kind of audio control method, audio control apparatus and intelligent terminal Download PDF

Info

Publication number
CN107577450A
CN107577450A CN201710842120.XA CN201710842120A CN107577450A CN 107577450 A CN107577450 A CN 107577450A CN 201710842120 A CN201710842120 A CN 201710842120A CN 107577450 A CN107577450 A CN 107577450A
Authority
CN
China
Prior art keywords
intelligent terminal
blocked
music
state
audio control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710842120.XA
Other languages
Chinese (zh)
Inventor
唐涛
杨妙婵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201710842120.XA priority Critical patent/CN107577450A/en
Publication of CN107577450A publication Critical patent/CN107577450A/en
Pending legal-status Critical Current

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The invention discloses a kind of audio control method, audio control apparatus, intelligent terminal and computer-readable recording medium, wherein, the audio control method includes:In the state of intelligent terminal plays music, that triggers the detection of the sensor built in the intelligent terminal intelligent terminal blocks situation;If the situation of blocking for detecting the intelligent terminal is never to be blocked to be changed into being blocked, triggers the intelligent terminal and stop playing music.The present invention program causes user without directly contacting intelligent terminal, you can realizes and the music playback function of intelligent terminal is controlled, it is simple to operate and convenient.

Description

A kind of audio control method, audio control apparatus and intelligent terminal
Technical field
The invention belongs to intelligent terminal technical field, more particularly to a kind of audio control method, audio control apparatus, intelligence Terminal and computer-readable recording medium.
Background technology
Present intelligent terminal can be convenient for people to outside being contacted between each other, also have except possessing communication function Standby many amusement functions, greatly enrich the life of people.Music playback function is exactly the deep by user of intelligent terminal offer The amusement function liked, before many users either sleep in the process of walking, often enable the music of intelligent terminal Playing function, killed time by listening music.However, when listening music using intelligent terminal before sleep, many users in order to Avoid radiating, intelligent terminal can be placed on to the place from bed farther out and carry out music, if during music is listened, used Family generates sleepiness or is unwilling to be further continued for listening music, it is desirable to when closing music, because intelligent terminal is placed farther out, uses Family also needs to stand up to carry out the operation such as closing again manually after taking intelligent terminal, process is cumbersome, is attacked especially for sleepiness For user, operating process is very inconvenient, influences Consumer's Experience.
The content of the invention
In view of this, can the invention provides a kind of audio control method, audio control apparatus, intelligent terminal and computer Read storage medium, it is intended to allow users to simply and easily be controlled the music playback function of intelligent terminal.
The first aspect of the present invention provides a kind of audio control method, and the audio control method includes:
In the state of intelligent terminal plays music, trigger the sensor built in the intelligent terminal and detect the intelligence Energy terminal blocks situation;
If the situation of blocking for detecting the intelligent terminal is never to be blocked to be changed into being blocked, the intelligence is triggered eventually End stops playing music.
The second aspect of the present invention provides a kind of audio control apparatus, and the audio control apparatus includes:
Detection unit, in the state of playing music in intelligent terminal, trigger the biography built in the intelligent terminal The sensor detection intelligent terminal blocks situation;
Stop element, for when detect the intelligent terminal block situation for be never blocked be changed into being blocked when, The intelligent terminal is triggered to stop playing music.
The third aspect of the present invention provides a kind of intelligent terminal, including memory, processor and is stored in described deposit In reservoir and the computer program that can run on the processor, realized such as during computer program described in the computing device The step of upper first aspect methods described.
The fourth aspect of the present invention provides a kind of computer-readable recording medium, and the computer-readable recording medium is deposited Contain computer program, when the computer program is executed by processor realize as above first aspect methods described the step of.
Therefore by the present invention, in the state of intelligent terminal plays music, trigger in the intelligent terminal The sensor put detects whether the intelligent terminal is blocked, if detecting, the intelligent terminal is changed into being hidden from not being blocked Gear, then trigger the intelligent terminal and stop playing music.The invention enables user when listening music using intelligent terminal, even if with Family and mobile phone have a certain distance, can also close the sound of intelligent terminal by losing to throw any article and block intelligent terminal to realize The happy operation played, this process directly contact intelligent terminal without user, simple to operate and conveniently, and Consumer's Experience is carried Rise.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art In the required accompanying drawing used be briefly described, it should be apparent that, drawings in the following description be only the present invention some Embodiment, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these Accompanying drawing obtains other accompanying drawings.
Fig. 1 is the implementation process schematic diagram of audio control method provided in an embodiment of the present invention;
Fig. 2 is the schematic diagram of audio control apparatus provided in an embodiment of the present invention;
Fig. 3 is the schematic diagram of intelligent terminal provided in an embodiment of the present invention.
Embodiment
In describing below, in order to illustrate rather than in order to limit, it is proposed that such as tool of particular system structure, technology etc Body details, thoroughly to understand the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific The present invention can also be realized in the other embodiments of details.In other situations, omit to well-known system, device, electricity Road and the detailed description of method, in case unnecessary details hinders description of the invention.
In order to illustrate technical solutions according to the invention, illustrated below by specific embodiment.
Embodiment one
Fig. 1 shows the implementation process for the audio control method that the embodiment of the present invention one provides, and details are as follows:
In step S101, in the state of intelligent terminal plays music, the biography built in above-mentioned intelligent terminal is triggered The above-mentioned intelligent terminal of sensor detection blocks situation;
In embodiments of the present invention, when intelligent terminal, which is in, to be played in the state of music, start in intelligent terminal The sensor put, the circumstance of occlusion of triggering the sensor detection intelligent terminal.Alternatively, the sensor is specially reflective Photoelectric sensor.Reflective photoelectric sensor is made up of the light accepting part of luminous light-projecting portion and reception light, if light-projecting portion is sent out The light gone out is reflected because blocking object, then reaching the optical quantum of light accepting part will change, and be examined by light accepting part Survey the height of energy intensity obtained because blocking object to reflect come judgment object close to or away from, specifically, light accepting part reception The value of the reflection optical quantum arrived is bigger, then means that the degree that is blocked of intelligent terminal is higher, the reflected light that light accepting part receives The value of electricity is smaller, then means that the degree that is blocked of intelligent terminal is lower, and reflection optical quantum is the screening that light accepting part receives Block material body reflects the optical quantum after the light that light-projecting portion is sent.Therefore, in embodiments of the present invention, a photoelectricity can be preset Threshold value is measured, if the reflection optical quantum that light accepting part receives is more than above-mentioned optical quantum threshold value, shows that above-mentioned intelligent terminal is in quilt The state blocked, if the reflection optical quantum that light accepting part receives is not more than above-mentioned optical quantum threshold value, show above-mentioned intelligent terminal In the state not being blocked;Or two optical quantum sections can also be preset, if at the reflection optical quantum that light accepting part receives In the first optical quantum section, then show that above-mentioned intelligent terminal is in the state being blocked, if the reflection photoelectricity that light accepting part receives Amount be in the second optical quantum section, then shows above-mentioned intelligent terminal in the state that is not blocked, if light accepting part receive it is anti- Penetrate at optical quantum and be both not at the first optical quantum section, not also in the second optical quantum section, then show above-mentioned intelligent terminal Occlusion state is unknown, wherein, the minimum value in above-mentioned first optical quantum section is more than the maximum in above-mentioned second optical quantum section.When So, the sensor can also be other types of sensor, such as proximity transducer etc., be not construed as limiting herein.
In step s 102, if the situation of blocking for detecting above-mentioned intelligent terminal is never to be blocked to be changed into being blocked, Above-mentioned intelligent terminal is triggered to stop playing music.
In embodiments of the present invention, when detecting that intelligent terminal is changed into being blocked from not being blocked, above-mentioned intelligence is triggered Terminal stops playing music.Alternatively, blocking after situation is never blocked and is changed into being blocked in intelligent terminal, can wait pre- If time detect above-mentioned intelligent terminal again block situation, if after the default time, above-mentioned intelligent terminal blocks shape Condition does not change, i.e., above-mentioned intelligent terminal blocks situation still to be blocked, then can trigger above-mentioned intelligent terminal and stop broadcasting Put the music on, to avoid the data received by sensing data from having noise maloperation occurs.Alternatively, above-mentioned intelligence is being triggered While terminal stops playing music, other application program of the intelligent terminal in running background can also be closed, further to save The about electricity of intelligent terminal.Realized with this, when user wants to close music playback function, it is no longer necessary to which directly contact intelligence is whole Hold and carry out click shutoff operation manually, and only need to shelter from intelligent terminal with any article, for example, working as intelligent terminal Apart from user farther out when, can arbitrarily lose and throw any article such as clothes, books and shelter from intelligent terminal;When intelligent terminal distance is used When family is nearer, directly intelligent terminal can be sheltered from palm or body any part.
Alternatively, in order to avoid maloperation occurs when closing music, the biography built in above-mentioned intelligent terminal is being triggered Sensor detect above-mentioned intelligent terminal block situation before, above-mentioned audio control method also includes:
Above-mentioned intelligent terminal is detected whether in outer state of putting the music on, above-mentioned outer state of putting the music on is to be played by loudspeaker Music;
Sensor built in the above-mentioned above-mentioned intelligent terminal of triggering detects whether above-mentioned intelligent terminal is blocked, and is specially:
If above-mentioned intelligent terminal is in outer state of putting the music on, the sensor detection triggered built in above-mentioned intelligent terminal is above-mentioned Whether intelligent terminal is blocked.
Wherein, if present most of intelligent terminal is connected to earphone, whether wired earphone or bluetooth earphone, After earphone disconnects with intelligent terminal, such as wired earphone extracts earphone jack, or the indigo plant of bluetooth earphone and intelligent terminal After tooth connection disconnects, intelligent terminal all can music automatic stop broadcasting.If intelligent terminal is connected with earphone, extraction can be passed through The earphone cord of wired earphone closes bluetooth earphone to realize the operation of stopping music, thus, only have under normal circumstances Intelligent terminal be in it is outer put the music on state when, i.e., when playing music by loudspeaker, be only possible to come across intelligent terminal distance and use Family is farther out, it has not been convenient to picks up intelligent terminal and to intelligent terminal stop the situation of music play operation.Further, intelligence is worked as When energy terminal plays music rather than plays music by loudspeaker by earphone, it is also possible to user occurs and loads intelligent terminal The situation of music is listened in pocket or handbag.It is wrong in order to avoid occurring to load intelligent terminal the process of pocket or handbag It is judged as the situation for needing intelligent terminal to stop playing music because being obscured by an object by mistake, in embodiments of the present invention, only exists Intelligent terminal, which is in when putting the music on state outside, just starts sensor, i.e. when intelligent terminal, which is in, puts the music on state outside, just triggers Sensor built in above-mentioned intelligent terminal detects whether above-mentioned intelligent terminal is blocked, and avoids that maloperation occurs with this.
Alternatively, in order to avoid maloperation occurs when closing music, the biography built in above-mentioned intelligent terminal is being triggered Sensor detect above-mentioned intelligent terminal block situation before, above-mentioned audio control method also includes:
Detect whether above-mentioned intelligent terminal is in horizontal positioned state;
Sensor built in the above-mentioned above-mentioned intelligent terminal of triggering detects whether above-mentioned intelligent terminal is blocked, and is specially:
If above-mentioned intelligent terminal is in horizontal positioned state, the sensor detection triggered built in above-mentioned intelligent terminal is above-mentioned Whether intelligent terminal is blocked.
Wherein, when intelligent terminal plays music, although user may occur loads pocket or portable by intelligent terminal Listen the situation of music in bag, but in fact, user loads intelligent terminal in pocket or handbag after, intelligent terminal is generally in Now vertical laying state or slant setting state, and be less likely to be in horizontal positioned state.Also, placing intelligent terminal During, the position of intelligent terminal is hardly possible to be placed in the case of keep level state all the time, thus, in order to keep away It is judged as needing intelligent end because being obscured by an object the procedural error for exempting to occur to load intelligent terminal into pocket or handbag End stops playing the situation of music, in embodiments of the present invention, just starts only when intelligent terminal is in horizontal positioned state and passes Sensor, i.e. when intelligent terminal is in horizontal positioned state, just triggers the sensor built in above-mentioned intelligent terminal and detect above-mentioned intelligence Whether energy terminal is blocked, and avoids that maloperation occurs with this.It should be noted that in order to further avoid the feelings that maloperation occurs Condition, can both it be performed before triggering the above-mentioned intelligent terminal of the detection of the sensor built in above-mentioned intelligent terminal and whether being blocked The operation whether detection intelligent terminal is in horizontal positioned state is stated, performs whether above-mentioned detection intelligent terminal is in outer playback again The operation of happy state, is not construed as limiting herein.
Alternatively, in order to avoid maloperation occurs when closing music, the biography built in above-mentioned intelligent terminal is being triggered Sensor detect above-mentioned intelligent terminal block situation before, above-mentioned audio control method also includes:
Detect whether above-mentioned intelligent terminal remains static;
Sensor built in the above-mentioned above-mentioned intelligent terminal of triggering detects whether above-mentioned intelligent terminal is blocked, and is specially:
If above-mentioned intelligent terminal remains static, trigger the sensor built in above-mentioned intelligent terminal and detect above-mentioned intelligence Whether terminal is blocked.
Wherein, when intelligent terminal plays music, although user may occur loads pocket or portable by intelligent terminal The situation of music is listened in bag, it is apparent that ground, during intelligent terminal is placed, intelligent terminal will necessarily be kept in motion, And not inactive state.Thus, in order to avoid occurring to judge the procedural error of intelligent terminal loading pocket or handbag To need intelligent terminal to stop playing the situation of music because being obscured by an object, in embodiments of the present invention, only in intelligent terminal Just start sensor when remaining static, i.e. when intelligent terminal remains static, just trigger built in above-mentioned intelligent terminal Sensor detect whether above-mentioned intelligent terminal is blocked, avoid that maloperation occurs with this.It should be noted that in order to further The situation for avoiding maloperation from occurring, can trigger the sensor built in above-mentioned intelligent terminal detect above-mentioned intelligent terminal whether by Before blocking, the operation whether above-mentioned detection intelligent terminal remains static both had been performed, has performed above-mentioned detection intelligent terminal again Whether the operation of outside put the music on state is in;Or the operation whether above-mentioned detection intelligent terminal remains static both is performed, The operation whether above-mentioned detection intelligent terminal is in horizontal positioned state is performed again;Or while perform above-mentioned detection intelligence Whether terminal remains static, whether is in horizontal positioned state and the operation of state whether is put outside music, herein not It is construed as limiting.
Alternatively, after above-mentioned steps S102, i.e. after the above-mentioned intelligent terminal of above-mentioned triggering stops playing music, Above-mentioned audio control method also includes:
Trigger above-mentioned intelligent terminal and close the sensor.
In embodiments of the present invention, because above-mentioned intelligent terminal has been blocked, the music of intelligent terminal by Close, it is also nonsensical even if now the sensor built in intelligent terminal is further continued for work.Thus, in order to avoid above-mentioned biography The electricity of the consumption in operation intelligent terminal of sensor, it can stop closing above-mentioned biography after broadcasting music triggering above-mentioned intelligent terminal Sensor, to save the resource of intelligent terminal.The sensor is then turned on when intelligent terminal next time commences play out music.
Therefore by the embodiment of the present invention, user, can be by blocking intelligent end when listening music using intelligent terminal The operation for stopping playing music is realized at end, even if realizing that user and mobile phone have a certain distance with this, can also be appointed by losing to throw Meaning article blocks intelligent terminal to realize the operation for the music for closing intelligent terminal.Because this process directly connects without user Intelligent terminal is touched, it is simple to operate and conveniently, Consumer's Experience can be greatly promoted.
It should be understood that the size of the sequence number of each step is not meant to the priority of execution sequence, each process in above-described embodiment Execution sequence should determine that the implementation process without tackling the embodiment of the present invention forms any limit with its function and internal logic It is fixed.
Embodiment two
Fig. 2 shows the structured flowchart of audio control apparatus provided in an embodiment of the present invention, for convenience of description, only shows The part related to the embodiment of the present invention.The audio control apparatus 2 includes:Detection unit 21, detection unit 22.
Wherein, detection unit 21, in the state of playing music in intelligent terminal, trigger in above-mentioned intelligent terminal The above-mentioned intelligent terminal of sensor detection put blocks situation;
Stop element 22, for being never to be blocked to be changed into being blocked when the situation of blocking for detecting above-mentioned intelligent terminal When, trigger above-mentioned intelligent terminal and stop playing music.
Alternatively, above-mentioned audio control apparatus 2 also includes:
First state detection unit, for whether detecting above-mentioned intelligent terminal in outer state of putting the music on, above-mentioned outer playback Happy state is to play music by loudspeaker;
Above-mentioned detection unit 21, is specifically used for, in the state of intelligent terminal plays music, if above-mentioned first state Detection unit detects that above-mentioned intelligent terminal is in outer state of putting the music on, then triggers the sensor detection built in above-mentioned intelligent terminal Whether above-mentioned intelligent terminal is blocked.
Alternatively, above-mentioned audio control apparatus 2 also includes:
Second state detection unit, for detecting whether above-mentioned intelligent terminal is in horizontal positioned state;
Above-mentioned detection unit 21, in the state of playing music in intelligent terminal, if above-mentioned second state Detection unit detects that above-mentioned intelligent terminal is in horizontal positioned state, then triggers the sensor detection built in above-mentioned intelligent terminal Whether above-mentioned intelligent terminal is blocked.
Alternatively, above-mentioned audio control apparatus 2 also includes:
Third state detection unit, for detecting whether above-mentioned intelligent terminal remains static;
Above-mentioned detection unit 21, in the state of playing music in intelligent terminal, if the above-mentioned third state Detection unit detects that above-mentioned intelligent terminal remains static, then the sensor detection triggered built in above-mentioned intelligent terminal is above-mentioned Whether intelligent terminal is blocked.
Alternatively, the sensor is specially reflective photoelectric sensor.
Therefore by the embodiment of the present invention, pass through audio control apparatus so that user is using intelligent terminal audition When happy, the operation for stopping playing music can be realized by blocking intelligent terminal, even if it is certain to realize that user and mobile phone have with this Distance, can also by lose throw any article block intelligent terminal realize close intelligent terminal music operation.By In this process intelligent terminal is directly contacted without user, it is simple to operate and conveniently, Consumer's Experience can be greatly promoted.
Embodiment three
Fig. 3 is the schematic diagram of intelligent terminal provided in an embodiment of the present invention.As shown in figure 3, the intelligent terminal 3 of the embodiment Including:Processor 30, memory 31 and it is stored in the calculating that can be run in above-mentioned memory 31 and on above-mentioned processor 30 Machine program 32, such as audio frequency control program.Above-mentioned processor 30 realizes above-mentioned each method when performing above computer program 32 Step in embodiment, such as the step S101 to S102 shown in Fig. 1.Or above-mentioned processor 30 performs above computer journey The function of each module/unit in above-mentioned each device embodiment, such as the function of unit 21 to 22 shown in Fig. 2 are realized during sequence 32.
Exemplary, above computer program 32 can be divided into one or more units, said one or multiple Unit is stored in above-mentioned memory 31, and is performed by above-mentioned processor 30, to complete the present invention.Said one or multiple lists Member can complete the series of computation machine programmed instruction section of specific function, and the instruction segment is used to describe above computer journey Implementation procedure of the sequence 32 in above-mentioned intelligent terminal 3.For example, above computer program 32 can be divided into detection unit, stop Stop element, each unit concrete function are as follows:
Detection unit, in the state of playing music in intelligent terminal, trigger the biography built in above-mentioned intelligent terminal The above-mentioned intelligent terminal of sensor detection blocks situation;
Stop element, for when detect above-mentioned intelligent terminal block situation for be never blocked be changed into being blocked when, Above-mentioned intelligent terminal is triggered to stop playing music.
Above-mentioned intelligent terminal 3 can be the computing devices such as notebook, smart mobile phone, Intelligent flat and intelligent watch.It is above-mentioned Intelligent terminal may include, but be not limited only to, processor 30, memory 31.It will be understood by those skilled in the art that Fig. 3 is only The example of intelligent terminal 3, the restriction to intelligent terminal 3 is not formed, parts more more or less than diagram can be included, or Some parts, or different parts are combined, such as above-mentioned intelligent terminal 3 can also include input-output equipment, network insertion Equipment, bus etc..
Alleged processor 30 can be CPU (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other PLDs, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor Deng.
Above-mentioned memory 31 can be the internal storage unit of above-mentioned intelligent terminal 3, such as the hard disk of intelligent terminal 3 or interior Deposit.Above-mentioned memory 31 can also be the External memory equipment of above-mentioned intelligent terminal 3, such as be equipped with above-mentioned intelligent terminal 3 Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, dodge Deposit card (Flash Card) etc..Further, above-mentioned memory 31 can also both include the storage inside list of above-mentioned intelligent terminal 3 Member also includes External memory equipment.Above-mentioned memory 31 is used to store needed for above computer program and above-mentioned intelligent terminal 3 Other programs and data.Above-mentioned memory 31 can be also used for temporarily storing the data that has exported or will export.
Therefore by the embodiment of the present invention, user, can be by blocking intelligent end when listening music using intelligent terminal The operation for stopping playing music is realized at end, even if realizing that user and mobile phone have a certain distance with this, can also be appointed by losing to throw Meaning article blocks intelligent terminal to realize the operation for the music for closing intelligent terminal.Because this process directly connects without user Intelligent terminal is touched, it is simple to operate and conveniently, Consumer's Experience can be greatly promoted.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each work( Can unit, module division progress for example, in practical application, can be as needed and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of said apparatus are divided into different functional units or module, more than completion The all or part of function of description.Each functional unit, module in embodiment can be integrated in a processing unit, also may be used To be that unit is individually physically present, can also two or more units it is integrated in a unit, it is above-mentioned integrated Unit can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.In addition, each function list Member, the specific name of module are not limited to the protection domain of the application also only to facilitate mutually distinguish.Said system The specific work process of middle unit, module, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and is not described in detail or remembers in some embodiment The part of load, it may refer to the associated description of other embodiments.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Member and algorithm steps, it can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually Performed with hardware or software mode, application-specific and design constraint depending on technical scheme.Professional and technical personnel Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device/intelligent terminal and method, can be with Realize by another way.For example, device described above/intelligent terminal embodiment is only schematical, for example, on The division of module or unit is stated, only a kind of division of logic function, there can be other dividing mode when actually realizing, such as Multiple units or component can combine or be desirably integrated into another system, or some features can be ignored, or not perform.Separately A bit, shown or discussed mutual coupling or direct-coupling or communication connection can be by some interfaces, device Or INDIRECT COUPLING or the communication connection of unit, can be electrical, mechanical or other forms.
The above-mentioned unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If above-mentioned integrated module/unit realized in the form of SFU software functional unit and as independent production marketing or In use, it can be stored in a computer read/write memory medium.Based on such understanding, the present invention realizes above-mentioned implementation All or part of flow in example method, by computer program the hardware of correlation can also be instructed to complete, above-mentioned meter Calculation machine program can be stored in a computer-readable recording medium, and the computer program can be achieved when being executed by processor The step of stating each embodiment of the method..Wherein, above computer program includes computer program code, above computer program Code can be source code form, object identification code form, executable file or some intermediate forms etc..Readable Jie of above computer Matter can include:Can carry any entity or device of above computer program code, recording medium, USB flash disk, mobile hard disk, Magnetic disc, CD, computer storage, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It is it should be noted that above-mentioned The content that computer-readable medium includes can carry out appropriate increasing according to legislation in jurisdiction and the requirement of patent practice Subtract, such as in some jurisdictions, according to legislation and patent practice, computer-readable medium do not include be electric carrier signal and Telecommunication signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although with reference to foregoing reality Example is applied the present invention is described in detail, it will be understood by those within the art that:It still can be to foregoing each Technical scheme described in embodiment is modified, or carries out equivalent substitution to which part technical characteristic;And these are changed Or replace, the essence of appropriate technical solution is departed from the spirit and scope of various embodiments of the present invention technical scheme, all should Within protection scope of the present invention.

Claims (10)

1. a kind of audio control method, it is characterised in that the audio control method includes:
In the state of intelligent terminal plays music, the sensor detection intelligence triggered built in the intelligent terminal is whole Block situation in end;
If the situation of blocking for detecting the intelligent terminal is never to be blocked to be changed into being blocked, triggers the intelligent terminal and stop Only play music.
2. audio control method as claimed in claim 1, it is characterised in that the sensing built in the triggering intelligent terminal Device detects whether the intelligent terminal is blocked, and also includes before:
The intelligent terminal is detected whether in outer state of putting the music on, the outer state of putting the music on is to play sound by loudspeaker It is happy;
Sensor built in the triggering intelligent terminal detects whether the intelligent terminal is blocked, and is specially:
If the intelligent terminal is in outer state of putting the music on, triggers the sensor built in the intelligent terminal and detect the intelligence Whether terminal is blocked.
3. audio control method as claimed in claim 1, it is characterised in that the sensing built in the triggering intelligent terminal Device detects whether the intelligent terminal is blocked, and also includes before:
Detect whether the intelligent terminal is in horizontal positioned state;
Sensor built in the triggering intelligent terminal detects whether the intelligent terminal is blocked, and is specially:
If the intelligent terminal is in horizontal positioned state, triggers the sensor built in the intelligent terminal and detect the intelligence Whether terminal is blocked.
4. audio control method as claimed in claim 1, it is characterised in that the sensing built in the triggering intelligent terminal Device detects whether the intelligent terminal is blocked, and also includes before:
Detect whether the intelligent terminal remains static;
Sensor built in the triggering intelligent terminal detects whether the intelligent terminal is blocked, and is specially:
If the intelligent terminal remains static, trigger the sensor built in the intelligent terminal and detect the intelligent terminal Whether it is blocked.
5. the audio control method as described in any one of Claims 1-4, it is characterised in that the sensor is specially to reflect Formula photoelectric sensor.
6. a kind of audio control apparatus, it is characterised in that the audio control apparatus includes:
Detection unit, in the state of playing music in intelligent terminal, trigger the sensor built in the intelligent terminal That detects the intelligent terminal blocks situation;
Stop element, for when detect the intelligent terminal block situation for be never blocked be changed into being blocked when, triggering The intelligent terminal stops playing music.
7. audio control apparatus as claimed in claim 6, it is characterised in that the audio control apparatus also includes:
First state detection unit, for whether detecting the intelligent terminal in outer state of putting the music on, the outer shape of putting the music on State is to play music by loudspeaker;
The detection unit, is specifically used for, in the state of intelligent terminal plays music, if first state detection is single Member detects that the intelligent terminal is in outer state of putting the music on, then triggers the sensor built in the intelligent terminal and detect the intelligence Whether energy terminal is blocked.
8. audio control apparatus as claimed in claim 6, it is characterised in that the audio control apparatus also includes:
Second state detection unit, for detecting whether the intelligent terminal is in horizontal positioned state;
The detection unit, in the state of playing music in intelligent terminal, if the second state-detection list Member detects that the intelligent terminal is in horizontal positioned state, then triggers the sensor built in the intelligent terminal and detect the intelligence Whether energy terminal is blocked.
9. a kind of intelligent terminal, including memory, processor and it is stored in the memory and can be on the processor The computer program of operation, it is characterised in that realize such as claim 1 to 5 described in the computing device during computer program The step of any one methods described.
10. a kind of computer-readable recording medium, the computer-readable recording medium storage has computer program, and its feature exists In when the computer program is executed by processor the step of realization such as any one of claim 1 to 5 methods described.
CN201710842120.XA 2017-09-18 2017-09-18 A kind of audio control method, audio control apparatus and intelligent terminal Pending CN107577450A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710842120.XA CN107577450A (en) 2017-09-18 2017-09-18 A kind of audio control method, audio control apparatus and intelligent terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710842120.XA CN107577450A (en) 2017-09-18 2017-09-18 A kind of audio control method, audio control apparatus and intelligent terminal

Publications (1)

Publication Number Publication Date
CN107577450A true CN107577450A (en) 2018-01-12

Family

ID=61036391

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710842120.XA Pending CN107577450A (en) 2017-09-18 2017-09-18 A kind of audio control method, audio control apparatus and intelligent terminal

Country Status (1)

Country Link
CN (1) CN107577450A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108196819A (en) * 2018-01-30 2018-06-22 广东小天才科技有限公司 Working mode switching method, device and electronic equipment applied to terminal
CN111427442A (en) * 2020-03-12 2020-07-17 宇龙计算机通信科技(深圳)有限公司 Terminal control method, device, terminal and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103167155A (en) * 2012-09-25 2013-06-19 深圳市金立通信设备有限公司 System and method for achieving control of music player of mobile phone based on range sensor
CN103888571A (en) * 2014-03-19 2014-06-25 上海斐讯数据通信技术有限公司 Intelligent device and control method for turning off alarm in intelligent device
US20150331659A1 (en) * 2014-05-16 2015-11-19 Samsung Electronics Co., Ltd. Electronic device and method of playing music in electronic device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103167155A (en) * 2012-09-25 2013-06-19 深圳市金立通信设备有限公司 System and method for achieving control of music player of mobile phone based on range sensor
CN103888571A (en) * 2014-03-19 2014-06-25 上海斐讯数据通信技术有限公司 Intelligent device and control method for turning off alarm in intelligent device
US20150331659A1 (en) * 2014-05-16 2015-11-19 Samsung Electronics Co., Ltd. Electronic device and method of playing music in electronic device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108196819A (en) * 2018-01-30 2018-06-22 广东小天才科技有限公司 Working mode switching method, device and electronic equipment applied to terminal
CN108196819B (en) * 2018-01-30 2020-06-05 广东小天才科技有限公司 Working mode switching method and device applied to terminal and electronic equipment
CN111427442A (en) * 2020-03-12 2020-07-17 宇龙计算机通信科技(深圳)有限公司 Terminal control method, device, terminal and storage medium

Similar Documents

Publication Publication Date Title
CN104777987B (en) The control method and device of smartwatch
CN107292235A (en) The acquisition method and Related product of fingerprint
CN108075325A (en) Interface equipment
CN106990912A (en) The method of control SIM card and SD card and realize the electronic equipment of the card
CN106329259A (en) Connecting device and method for recognizing device
CN107292237A (en) The acquisition method and Related product of fingerprint
CN107256068B (en) The acquisition method and Related product of fingerprint
CN107493389A (en) Singlehanded mode implementation method, terminal and computer-readable medium
CN108476257A (en) Electronic equipment and the method for managing its application program
CN107920162A (en) Control method, mobile terminal and the computer-readable recording medium of alarm clock
CN107346397A (en) Information processing method and related product
CN107729781A (en) The anti-lost method of mobile terminal, mobile terminal and computer-readable recording medium
CN107222914A (en) Application control method and related product
CN107577450A (en) A kind of audio control method, audio control apparatus and intelligent terminal
CN109587324A (en) A kind of method and device being adapted to mobile terminal topic according to mobile terminal case
CN107153576A (en) The distribution method and terminal device of a kind of memory source
CN105959483A (en) Audio stream processing method and mobile terminal
CN108111641A (en) Electronic device
CN107369017A (en) Quick payment implementation method and Related product
CN108512994A (en) Electronic equipment for the close method and use this method for detecting object
CN105179286A (en) Electric fan control method and device
CN107193474A (en) Solve lock control method and Related product
CN106406938A (en) Application download method and terminal
CN107506494A (en) Document handling method, mobile terminal and computer-readable recording medium
CN108196819A (en) Working mode switching method, device and electronic equipment applied to terminal

Legal Events

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

Application publication date: 20180112