CN106341544A - Terminal control method and terminal - Google Patents
Terminal control method and terminal Download PDFInfo
- Publication number
- CN106341544A CN106341544A CN201610842848.8A CN201610842848A CN106341544A CN 106341544 A CN106341544 A CN 106341544A CN 201610842848 A CN201610842848 A CN 201610842848A CN 106341544 A CN106341544 A CN 106341544A
- Authority
- CN
- China
- Prior art keywords
- earphone
- induced signal
- terminal
- control instruction
- music
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72442—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for playing music files
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the invention provides a terminal control method and a terminal. On one hand, in the embodiment of the invention, through obtaining an induction signal, the induction signal represents the action state of an earphone; according to the induction signal, the control command corresponding to the induction signal is determined; and the music playing state of the terminal is adjusted according to the control command. According to the technical scheme provided by the embodiment, the control command of controlling music can be generated through the action state of the earphone, thus a music playing state is adjusted, a user can conveniently control the music playing state in the terminal, and more convenience is provided for the operation by the user.
Description
[technical field]
The present invention relates to electronic technology field, more particularly, to a kind of terminal control method and terminal.
[background technology]
With terminal people life in popularization and application, terminal is provided with increasing function.Wherein, at end
Play music on end, have become as one of critical function of terminal.
In prior art, terminal is provided with music application, user can go to control sound by the button in terminal
Happy application program, for example, user can control music application to play music, bolt down procedure, adjust volume etc..
In realizing process of the present invention, inventor finds that in prior art, at least there are the following problems:
When user is wearing during earphone listens song, terminal can be put in pocket or be put on desk, user needs handss
The button of dynamic triggering terminal, just can transmit commands to the music application in terminal, and then completes to adjust volume, cuts
Change the operation such as song, need user's Non-follow control terminal, the screen of terminal is operated, thus being not easy to user's control eventually
Music application on end.
[content of the invention]
In view of this, a kind of terminal control method and terminal are embodiments provided, in order to solve in prior art
It is not easy to the music application in user control terminal, cause the problem of simple operation.
On the one hand, embodiments provide a kind of terminal control method, methods described includes:
Obtain induced signal, described induced signal characterizes the operating state of earphone;
According to described induced signal, determine control instruction corresponding with described induced signal;
According to described control instruction, adjust the music state of described terminal.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, in determination and institute
Before stating the corresponding control instruction of induced signal, also include:
Obtain the predetermined corresponding relation between induced signal and control instruction;Wherein, described induced signal includes following letter
Number at least one: at least one earphone horizontal rotation induced signal, the induced signal of at least one earphone vertical rotary.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, described according to institute
State induced signal, determine control instruction corresponding with described induced signal, comprising:
According to acquired described predetermined corresponding relation, inquire about control instruction corresponding with described induced signal.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, described acquisition sense
Induction signal, also includes:
Detect whether described terminal is connected with described earphone, determine whether described terminal opens music application;
If detecting, described terminal is connected with described earphone and described terminal has already turned on described music application,
In the case of there is described induced signal, obtain described induced signal.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, described control refers to
Order include to give an order any one:
The control instruction of adjustment volume, the control instruction of adjustment circulation pattern, the control instruction of switching song.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, described earphone is
Earphone using usb type-c interface or the earphone using lightning interface.
One of technique scheme technical scheme has the advantages that
After the present embodiment has worn earphone by user, earphone obtains induced signal automatically, it is then determined that go out with currently
The corresponding control instruction of induced signal, and then terminal goes to adjust the music state of terminal according to control instruction, now, is not required to
The screen wanting the manual control terminal of user goes to make terminal produce the control instruction controlling music;Further according to thus providing one
The method planting new terminal control, it is not necessary to the button of the manual triggering terminal of user, goes to transmit commands to the sound in terminal
Happy application program;The control instruction controlling music can be produced by earphone, and then go to control the tune carrying out music state
Whole, consequently facilitating the broadcast state of the music in user control terminal, it is that the operation of user provides more convenience.
On the other hand, embodiments provide a kind of terminal, described terminal includes:
First acquisition module, for obtaining induced signal, described induced signal characterizes the operating state of earphone;
Determining module, for according to described induced signal, determining control instruction corresponding with described induced signal;
Adjusting module, for according to described control instruction, adjusting the music state of described terminal.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, described terminal, also
Including:
Second acquisition module, before determining control instruction corresponding with described induced signal in described determining module,
Obtain the predetermined corresponding relation between induced signal and control instruction;Wherein, described induced signal includes signals below at least
A kind of: the induced signal of at least one earphone horizontal rotation, the induced signal of at least one earphone vertical rotary.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, described determination mould
Block, specifically includes:
According to acquired described predetermined corresponding relation, inquire about control instruction corresponding with described induced signal.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, described first obtains
Delivery block, specifically for:
Detect whether described terminal is connected with described earphone, determine whether described terminal opens music application;
If detecting, described terminal is connected with described earphone and described terminal has already turned on described music application,
In the case of there is described induced signal, obtain described induced signal.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, described control refers to
Order include to give an order any one:
The control instruction of adjustment volume, the control instruction of adjustment circulation pattern, the control instruction of switching song.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, described earphone is
Earphone using usb type-c interface or the earphone using lightning interface.
One of technique scheme technical scheme has the advantages that
Predetermined between induced signal that the present embodiment is set according to self-demand by receive user and control instruction
Corresponding relation, or get the predetermined corresponding relation between induced signal and control instruction from server, so that eventually
In advance the predetermined corresponding relation between induced signal and control instruction is preserved in end, and receive user is according to itself need
The mode of the predetermined corresponding relation between the induced signal asked and set and control instruction is so that can be according to the demand of user
Determine the relation between the operating state of earphone and the instruction of broadcast state controlling music application;Wear in user and set
After having put the earphone of induction apparatuss, user is to earphone enforcement action, thus the induction apparatuss in earphone can detect the dynamic of earphone
Make state, then induction apparatuss can generate the induced signal characterizing the current operating state of earphone;Afterwards, according to different sensings
Predetermined corresponding relation between signal and different control instructions refers to it may be determined that going out control corresponding with current induced signal
Order, now it is not necessary to the screen of the manual control terminal of user goes to make terminal produce terminal after the control instruction controlling music
Go to adjust the music state of music further according to control instruction.Thus providing a kind of method of new terminal control, it is not required to
Want the button of the manual triggering terminal of user, go to transmit commands to the music application in terminal;Earphone can be passed through
Operating state and produce the control instruction controlling music, and then go to carry out the adjustment of music state, consequently facilitating user's control
Music state in terminal processed, is that the operation of user provides more convenience.
[brief description]
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below will be attached to use required in embodiment
Figure be briefly described it should be apparent that, drawings in the following description are only some embodiments of the present invention, for this area
For those of ordinary skill, without having to pay creative labor, can also be other attached according to the acquisition of these accompanying drawings
Figure.
Fig. 1 is the schematic flow sheet of the embodiment one of the terminal control method that the embodiment of the present invention is provided;
Fig. 2 is the schematic flow sheet of the embodiment two of the terminal control method that the embodiment of the present invention is provided;
Fig. 3 is the schematic flow sheet of the embodiment three of the terminal control method that the embodiment of the present invention is provided;
Fig. 4 is the functional block diagram of the example IV of the terminal that the embodiment of the present invention is provided;
Fig. 5 is the functional block diagram of the embodiment five of the terminal that the embodiment of the present invention is provided.
[specific embodiment]
In order to be better understood from technical scheme, below in conjunction with the accompanying drawings the embodiment of the present invention is retouched in detail
State.
It will be appreciated that described embodiment is only a part of embodiment of the present invention, rather than whole embodiment.Base
Embodiment in the present invention, those of ordinary skill in the art obtained under the premise of not making creative work all its
Its embodiment, broadly falls into the scope of protection of the invention.
The term using in embodiments of the present invention is the purpose only merely for description specific embodiment, and is not intended to be limiting
The present invention." a kind of ", " described " and " being somebody's turn to do " of singulative used in the embodiment of the present invention and appended claims
It is also intended to including most forms, unless context clearly shows that other implications.
It should be appreciated that term "and/or" used herein is only a kind of incidence relation of description affiliated partner, represent
There may be three kinds of relations, for example, a and/or b, can represent: individualism a, there is a and b simultaneously, individualism b these three
Situation.In addition, character "/" herein, typically represent forward-backward correlation to as if a kind of relation of "or".
Depending on linguistic context, word as used in this " if " can be construed to " ... when " or " when ...
When " or " in response to determining " or " in response to detection ".Similarly, depending on linguistic context, phrase " if it is determined that " or " if detection
(condition of statement or event) " can be construed to " when determining " or " in response to determining " or " when the detection (condition of statement
Or event) when " or " in response to detecting (condition of statement or event) ".
Embodiment one
The embodiment of the present invention provides a kind of terminal control method, refer to Fig. 1, and it is provided by the embodiment of the present invention one
The schematic flow sheet of terminal control method, as shown in figure 1, the method comprises the following steps:
S101, obtains induced signal, and induced signal characterizes the operating state of earphone.
Specifically, the method that the present embodiment is provided can be executed by terminal, for example smart mobile phone, panel computer etc..Ear
It is provided with induction apparatuss, induction apparatuss are used for the behavior act of user is detected in machine.Earphone is attached with terminal, wherein, ear
Machine can be connected with terminal by connector, or earphone can also be connected with terminal by radio connection.Earphone is
Type-c earphone.
Music application in terminal is playing multimedia music, when user wants to operate music application to go to change sound
When happy broadcast state, earphone creates operating state, and earphone can automatically get induced signal.Specifically, may be used
With setting button etc. on earphone, user triggers button, and then earphone can generate induced signal;Or, user has worn and has set
After having put the earphone of induction apparatuss, after carrying out some action to earphone, the induction apparatuss in earphone can be according to ear for user
The operating state of machine generates an induced signal.
For example, after user has worn the earphone being provided with induction apparatuss, user rocks earphone, the induction apparatuss in earphone
The action of earphone can be detected, then induction apparatuss can generate the induced signal of a shaking motion.
S102, according to induced signal, determines control instruction corresponding with induced signal.
Specifically, there is in terminal the corresponding relation of induced signal and control instruction, different induced signals correspond to not
Same control instruction.After user has worn the earphone being provided with induction apparatuss, after user carries out some action to earphone, ear
Induction apparatuss in machine can generate induced signal according to the action of earphone, then according to induced signal pass corresponding with control instruction
System, determines control instruction corresponding with current induced signal.
For example, the induced signal of left earphone horizontal rotation is corresponding with the control instruction switching song, terminal according to
The induced signal of left earphone horizontal rotation, determines the control instruction of switching song.
S103, according to control instruction, adjusts the music state of terminal.
Specifically, it is possible to according to control instruction, go to adjust terminal after terminal determines specific control instruction
Music state.
For example, terminal determines the control instruction of a reduction volume of music, and terminal can be according to reduction note
The control instruction of amount, goes to reduce the volume of music, thus have adjusted music state.
After the present embodiment has worn earphone by user, earphone obtains induced signal automatically, it is then determined that go out with currently
The corresponding control instruction of induced signal, and then terminal goes to adjust the music state of terminal according to control instruction, now, is not required to
The screen wanting the manual control terminal of user goes to make terminal produce the control instruction controlling music;Further according to thus providing one
The method planting new terminal control, it is not necessary to the button of the manual triggering terminal of user, goes to transmit commands to the sound in terminal
Happy application program;The control instruction controlling music can be produced by earphone, and then go to control the tune carrying out music state
Whole, consequently facilitating the broadcast state of the music in user control terminal, it is that the operation of user provides more convenience.
Earphone in the present embodiment can be the earphone using usb interface or the earphone using lightning interface, wherein
Usb interface can be usb type-c interface or other kinds of usb interface.By using these interfaces, not only can be from
Mobile phone transmits data to earphone, can also be by the data back of earpiece side to mobile phone, thus realizing interactive controlling.
It should be noted that involved terminal in the embodiment of the present invention can include but is not limited to personal computer
(personal computer, pc), personal digital assistant (personal digital assistant, pda), wireless handheld
Equipment, panel computer (tablet computer), mobile phone, Mp 3 player, mp4 player etc..
It is understood that music application can be mounted in the application program (nativeapp) in terminal, or
Can also be a web page program (webapp) of the browser in terminal, the embodiment of the present invention is not defined to this.
Embodiment two
The terminal control method being provided based on above-described embodiment one, refer to Fig. 2, and it is carried by the embodiment of the present invention two
For terminal control method schematic flow sheet, in the embodiment of the present invention, as shown in Fig. 2 step 101, be implemented as follows
S201:
S201, the control instruction that after the button on receive user triggering earphone, earphone sends, or, obtain in earphone
The induced signal that induction apparatuss generate, induced signal characterizes the operating state of earphone;According to induced signal, determine and induced signal pair
The control instruction answered.
After step s201, the step of s102, s103 in execution embodiment illustrated in fig. 1.
Specifically, the method that the present embodiment is provided can be executed by terminal, for example smart mobile phone, panel computer etc..Ear
It is provided with induction apparatuss, induction apparatuss are used for the behavior act of user is detected in machine.Earphone is attached with terminal, wherein, ear
Machine can be connected with terminal by connector, or earphone can also be connected with terminal by radio connection.
The first kind of way of step 101 is: can on earphone settings button;User wears earphone, opens music application
Program listens to multimedia music, and when user wants to operate music application to go to change music state, user triggers
Button on earphone, and then earphone can generate a control instruction, and then control instruction is sent to terminal by earphone.Citing comes
Say, the button on user click earphone, earphone generates a control instruction cutting song, and then the control instruction cutting song is sent out by earphone
Give terminal.
The second way of step 101 is: is provided with induction apparatuss on earphone;User has worn the earphone being provided with induction apparatuss
Afterwards, after user's one action to earphone facility, the induction apparatuss in earphone can generate sensing letter according to the action of earphone
Number, now induced signal characterizes the current behavior act of earphone.Then, terminal can get the induction apparatuss life in earphone
The induced signal becoming.
For example, after user has worn the earphone being provided with induction apparatuss, an earphone is horizontally rotated by user,
Induction apparatuss in earphone can detect the horizontal rotation action of earphone, and then induction apparatuss can generate a single earphone level
The induced signal of rotation;After user has worn the earphone being provided with induction apparatuss, an earphone is carried out vertical rotary, ear by user
Induction apparatuss in machine can detect the vertical rotary action of earphone, and then induction apparatuss can generate a single earphone and vertically revolve
The induced signal turning.
Then terminal, according to induced signal, determines control instruction corresponding with induced signal.Terminal is according to the sense in earphone
Answer the induced signal that device generates it may be determined that going out the corresponding control instruction with current induced signal;Control instruction be for
Music application in control terminal carries out the adjustment of music state.
For example, if the induced signal that the induction apparatuss in earphone generate is the induced signal of single earphone horizontal rotation,
Terminal can determine that the current action of earphone illustrates the song needing to switch music application, thus terminal determines one
The individual control instruction cutting song.Thus it is possible to determine and induced signal after terminal determines specific control instruction
Corresponding control instruction, goes to adjust the music state of music application.
The present embodiment by user trigger earphone on button, or user worn be provided with induction apparatuss earphone it
Afterwards, after user is to earphone enforcement action, thus the induction apparatuss in earphone can detect the behavior act of earphone, then induction apparatuss
The induced signal characterizing the current behavior act of earphone can be generated, obtain the induced signal that the induction apparatuss in earphone generate, can
To determine control instruction corresponding with current induced signal;Now it is not necessary to the screen of the manual control terminal of user goes
After making terminal produce the control instruction controlling music application, terminal goes to adjust music application journey further according to control instruction
The music state of sequence.Thus providing a kind of method of new terminal control it is not necessary to the manual triggering terminal of user
The button on earphone that button or manual triggering are connected with terminal, goes to transmit commands to the music application in terminal;
The control instruction controlling music can be produced by the operating state of the button of earphone or earphone, and then go to carry out music to broadcast
Put the adjustment of state, consequently facilitating the music state in user control terminal, be that the operation of user provides more just
Victory.
Earphone in the present embodiment can be the earphone using usb interface or the earphone using lightning interface, wherein
Usb interface can be usb type-c interface or other kinds of usb interface.By using these interfaces, not only can be from
Mobile phone transmits data to earphone, can also be by the data back of earpiece side to mobile phone, thus realizing interactive controlling.
Embodiment three
The terminal control method being provided based on above-described embodiment one and example two, refer to Fig. 3, and it is implemented for the present invention
The schematic flow sheet of the terminal control method that example three is provided, the embodiment of the present invention is after execution s101, as shown in figure 3, going back
Comprise the steps s301:
S301, obtains the predetermined corresponding relation between induced signal and control instruction;Wherein, induced signal includes following letter
Number at least one: at least one earphone horizontal rotation induced signal, the induced signal of at least one earphone vertical rotary.
Specifically, user can set between different induced signals and different control instructions according to the demand of itself
Predetermined corresponding relation, user inputs the predetermined corresponding relation between induced signal and control instruction in the terminal, thus terminal
This predetermined corresponding relation can be received, and the predetermined corresponding relation between induced signal and control instruction is preserved.
Or, store the predetermined corresponding pass between different induced signals and different control instructions in the server
System, the type of server does not limit.After terminal can be connected with server, obtain server in storage induced signal with
Predetermined corresponding relation between control instruction, and terminal preserves this predetermined corresponding relation.
In the present embodiment, induced signal includes any one of signals below: the sense of at least one earphone horizontal rotation
Induction signal, the induced signal of at least one earphone vertical rotary.Control instruction includes any one to give an order: adjustment volume
Control instruction, adjustment circulation pattern control instruction, switching song control instruction.
Specifically, the demands of individuals according to user, set the predetermined corresponding pass between each induced signal and each control instruction
System.Predetermined corresponding relation between induced signal and control instruction, can set according to the demand of user itself, but necessary
It is one-to-one relation.For example, the earphone induced signal horizontally rotating and the control instruction switching song is right
Should, the induced signal of an earphone vertical rotary is corresponding with the control instruction improving volume, the sense of two earphone horizontal rotations
Induction signal is corresponding with the control instruction of adjustment circulation pattern, the control of the induced signal of two earphone vertical rotaries and reduction volume
The correspondence of system instruction.Again for example, the induced signal of an earphone horizontal rotation is corresponding with the control instruction improving volume,
The induced signal of one earphone vertical rotary is corresponding with the control instruction of switching song, the sensing letter of two earphone horizontal rotations
Number with reduce volume control instruction corresponding, the induced signal of two earphone vertical rotaries with adjust circulation pattern control refer to
The correspondence of order.
In the present embodiment, s102 is implemented as following s302:
S302, according to acquired predetermined corresponding relation, inquires about control instruction corresponding with induced signal.
After s302, execute step s103 in embodiment illustrated in fig. 1, according to control instruction, the music adjusting terminal is broadcast
Put state.
Specifically, obtain the induced signal that the induction apparatuss in earphone generate in s101, prestore in terminal simultaneously
Predetermined corresponding relation between different induced signals and different control instructions, terminal can be entered according to predetermined corresponding relation
Row inquiry, so that it is determined that go out control instruction corresponding with current induced signal.
For example, if the predetermined corresponding relation between induced signal and control instruction is: an earphone horizontal rotation
Induced signal is corresponding with the control instruction of switching song, the control of the induced signal of an earphone vertical rotary and raising volume
The correspondence of instruction, the induced signal of two earphone horizontal rotations and corresponding, two earphones of the control instruction adjusting circulation pattern
The induced signal of vertical rotary is corresponding with the control instruction reducing volume.Thus, if get in s101 is that user faces upward head
The horizontal rotation of one earphone of induced signal induced signal, terminal can determine and an earphone level according to corresponding relation
The control instruction of the induced signal corresponding switching song of rotation;And then, terminal can be according to the control of switching song in s103
System instruction, the song of switching music application.If get in s101 is the induced signal of an earphone vertical rotary, eventually
The control instruction that improve volume corresponding with the induced signal of an earphone vertical rotary can be determined according to corresponding relation in end;
And then, terminal can improve the music playback volume of music application according to the control instruction improving volume in s103.If
Get in s101 is the induced signal of two earphone horizontal rotations, and terminal can determine that and two earphone horizontal rotations
The control instruction of induced signal corresponding adjustment circulation pattern;And then, terminal can be according to adjustment circulation pattern in s103
Control instruction, the circulation pattern in adjustment music application, it is adjusted to single circulation or list circulation or follow at random
Ring.If get in s101 is the induced signal of two earphone vertical rotaries, terminal can determine that vertical with two earphones
The corresponding control instruction reducing volume of induced signal of rotation;And then, terminal can be according to the control reducing volume in s103
System instruction, reduces the music playback volume of music application.
Predetermined between induced signal that the present embodiment is set according to self-demand by receive user and control instruction
Corresponding relation, or get the predetermined corresponding relation between induced signal and control instruction from server, so that eventually
In advance the predetermined corresponding relation between induced signal and control instruction is preserved in end, and receive user is according to itself need
The mode of the predetermined corresponding relation between the induced signal asked and set and control instruction is so that can be according to the demand of user
Determine the relation between the operating state of earphone and the instruction of broadcast state controlling music application;Wear in user and set
After having put the earphone of induction apparatuss, user is to earphone enforcement action, thus the induction apparatuss in earphone can detect the dynamic of earphone
Make state, then induction apparatuss can generate the induced signal characterizing the current operating state of earphone;Afterwards, according to different sensings
Predetermined corresponding relation between signal and different control instructions refers to it may be determined that going out control corresponding with current induced signal
Order, now it is not necessary to the screen of the manual control terminal of user goes to make terminal produce terminal after the control instruction controlling music
Go to adjust the music state of music further according to control instruction.Thus providing a kind of method of new terminal control, it is not required to
Want the button of the manual triggering terminal of user, go to transmit commands to the music application in terminal;Earphone can be passed through
Operating state and produce the control instruction controlling music, and then go to carry out the adjustment of music state, consequently facilitating user's control
Music state in terminal processed, is that the operation of user provides more convenience.
Earphone in the present embodiment can be the earphone using usb interface or the earphone using lightning interface, wherein
Usb interface can be usb type-c interface or other kinds of usb interface.By using these interfaces, not only can be from
Mobile phone transmits data to earphone, can also be by the data back of earpiece side to mobile phone, thus realizing interactive controlling.
Further, on the basis of above-described embodiment, in embodiment of the present invention, s101 specifically includes:
Whether detection terminal is connected with earphone, determines whether terminal opens music application;
If detecting, terminal is connected with earphone and terminal has already turned on music application, there is induced signal
In the case of, obtain induced signal.
Specifically, whether the earphone link block first in detection terminal is connected with earphone, and wherein, earphone link block can
To be the software module being wirelessly connected with earphone or the connector carrying out wired connection with earphone.Meanwhile, determine
Whether the music application in terminal has already turned on.Earphone is type-c earphone.If the earphone that terminal detects terminal connects
Module is connected with earphone, and the music application in terminal has already turned on simultaneously, such that it is able to obtain induced signal.
The embodiment of the present invention provides the terminal embodiment realizing each step and method in said method embodiment further.
Example IV
Refer to Fig. 4, the functional block diagram of its terminal being provided by the embodiment of the present invention four.As shown in figure 4, this terminal
Including:
First acquisition module 31, for obtaining induced signal, induced signal characterizes the operating state of earphone;
Determining module 32, for according to induced signal, determining control instruction corresponding with induced signal;
Adjusting module 33, for according to control instruction, adjusting the music state of terminal.
Because each module in the present embodiment is able to carry out the method shown in Fig. 1 in embodiment one, the present embodiment is not detailed
The part of description, refers to the related description to Fig. 1.
Earphone in the present embodiment can be the earphone using usb interface or the earphone using lightning interface, wherein
Usb interface can be usb type-c interface or other kinds of usb interface.By using these interfaces, not only can be from
Mobile phone transmits data to earphone, can also be by the data back of earpiece side to mobile phone, thus realizing interactive controlling.
The technical scheme of the embodiment of the present invention has the advantages that
After the present embodiment has worn earphone by user, earphone obtains induced signal automatically, it is then determined that go out with currently
The corresponding control instruction of induced signal, and then terminal goes to adjust the music state of terminal according to control instruction, now, is not required to
The screen wanting the manual control terminal of user goes to make terminal produce the control instruction controlling music;Further according to thus providing one
The method planting new terminal control, it is not necessary to the button of the manual triggering terminal of user, goes to transmit commands to the sound in terminal
Happy application program;The control instruction controlling music can be produced by earphone, and then go to control the tune carrying out music state
Whole, consequently facilitating the broadcast state of the music in user control terminal, it is that the operation of user provides more convenience.
Embodiment five
The terminal being provided based on above-described embodiment four, refer to Fig. 5, its terminal being provided by the embodiment of the present invention five
Functional block diagram.Terminal provided in an embodiment of the present invention, also includes:
Second acquisition module 41, before determining control instruction corresponding with induced signal in determining module 32, obtains
Predetermined corresponding relation between induced signal and control instruction;Wherein, induced signal includes at least one of signals below: at least
The induced signal of one earphone horizontal rotation, the induced signal of at least one earphone vertical rotary.
Determining module 32, specifically includes:
According to acquired predetermined corresponding relation, inquire about control instruction corresponding with induced signal.
First acquisition module 31, specifically for:
Whether detection terminal is connected with earphone, determines whether terminal opens music application;
If detecting, terminal is connected with earphone and terminal has already turned on music application, there is induced signal
In the case of, obtain induced signal.
Wherein, control instruction includes any one to give an order:
The control instruction of adjustment volume, the control instruction of adjustment circulation pattern, the control instruction of switching song.
Because each module in the present embodiment is able to carry out the method shown in Fig. 2 in embodiment two, Fig. 3 institute in embodiment three
The method providing in the method shown and above-mentioned embodiment, the part that the present embodiment does not describe in detail, refer to Fig. 2 and
The related description of Fig. 3.
Earphone in the present embodiment can be the earphone using usb interface or the earphone using lightning interface, wherein
Usb interface can be usb type-c interface or other kinds of usb interface.By using these interfaces, not only can be from
Mobile phone transmits data to earphone, can also be by the data back of earpiece side to mobile phone, thus realizing interactive controlling.
The technical scheme of the embodiment of the present invention has the advantages that
Predetermined between induced signal that the present embodiment is set according to self-demand by receive user and control instruction
Corresponding relation, or get the predetermined corresponding relation between induced signal and control instruction from server, so that eventually
In advance the predetermined corresponding relation between induced signal and control instruction is preserved in end, and receive user is according to itself need
The mode of the predetermined corresponding relation between the induced signal asked and set and control instruction is so that can be according to the demand of user
Determine the relation between the operating state of earphone and the instruction of broadcast state controlling music application;Wear in user and set
After having put the earphone of induction apparatuss, user is to earphone enforcement action, thus the induction apparatuss in earphone can detect the dynamic of earphone
Make state, then induction apparatuss can generate the induced signal characterizing the current operating state of earphone;Afterwards, according to different sensings
Predetermined corresponding relation between signal and different control instructions refers to it may be determined that going out control corresponding with current induced signal
Order, now it is not necessary to the screen of the manual control terminal of user goes to make terminal produce terminal after the control instruction controlling music
Go to adjust the music state of music further according to control instruction.Thus providing a kind of method of new terminal control, it is not required to
Want the button of the manual triggering terminal of user, go to transmit commands to the music application in terminal;Earphone can be passed through
Operating state and produce the control instruction controlling music, and then go to carry out the adjustment of music state, consequently facilitating user's control
Music state in terminal processed, is that the operation of user provides more convenience.
Those skilled in the art can be understood that, for convenience and simplicity of description, the device of foregoing description
With the specific work process of unit, may be referred to the corresponding process in preceding method embodiment, will not be described here.
It should be understood that disclosed terminal, apparatus and method in several embodiments provided by the present invention, permissible
Realize by another way.For example, terminal embodiment described above is only schematically, for example, described unit, mould
The division of block, only a kind of division of logic function, actual can have other dividing mode when realizing, for example, multiple units
Or assembly can in conjunction with or be desirably integrated into another system, or some features can be ignored, or does not execute.Another, institute
Display or the coupling each other discussing or direct-coupling or communication connection can be by some interfaces, device or unit
INDIRECT COUPLING or communication connection, can be electrical, mechanical or other forms.
The described unit illustrating as separating component can be or may not be physically separate, show as unit
The part showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.The mesh to realize this embodiment scheme for some or all of unit therein can be selected according to the actual needs
's.
In addition, can be integrated in a processing unit in each functional unit in each embodiment of the present invention it is also possible to
It is that unit is individually physically present it is also possible to two or more units are integrated in a unit.Above-mentioned integrated list
Unit both can be to be realized in the form of hardware, it would however also be possible to employ the form that hardware adds SFU software functional unit is realized.
The above-mentioned integrated unit realized in the form of SFU software functional unit, can be stored in an embodied on computer readable and deposit
In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions with so that a computer
Device (can be personal computer, server, or network equipment etc.) or processor (processor) execution the present invention each
The part steps of embodiment methods described.And aforesaid storage medium includes: u disk, portable hard drive, read only memory (read-
Only memory, rom), random access memory (random access memory, ram), magnetic disc or CD etc. various
Can be with the medium of store program codes.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all essences in the present invention
Within god and principle, any modification, equivalent substitution and improvement done etc., should be included within the scope of protection of the invention.
Claims (12)
1. a kind of terminal control method is it is characterised in that methods described includes:
Obtain induced signal, described induced signal characterizes the operating state of earphone;
According to described induced signal, determine control instruction corresponding with described induced signal;
According to described control instruction, adjust the music state of described terminal.
2. method according to claim 1 it is characterised in that determine control instruction corresponding with described induced signal it
Before, also include:
Obtain the predetermined corresponding relation between induced signal and control instruction;Wherein, described induced signal includes signals below
At least one: the induced signal of at least one earphone horizontal rotation, the induced signal of at least one earphone vertical rotary.
3. method according to claim 2 it is characterised in that described according to described induced signal, determine and described sensing
The corresponding control instruction of signal, comprising:
According to acquired described predetermined corresponding relation, inquire about control instruction corresponding with described induced signal.
4. the method according to any one of claim 1-3, it is characterised in that described acquisition induced signal, also includes:
Detect whether described terminal is connected with described earphone, determine whether described terminal opens music application;
If detecting, described terminal is connected with described earphone and described terminal has already turned on described music application, depositing
In the case of described induced signal, obtain described induced signal.
5. the method according to any one of claim 1-3 is it is characterised in that described control instruction was included with appointing of giving an order
Meaning is a kind of:
The control instruction of adjustment volume, the control instruction of adjustment circulation pattern, the control instruction of switching song.
6. the method according to any one of claim 1-3 is it is characterised in that described earphone is using usbtype-c interface
Earphone or using lightning interface earphone.
7. a kind of terminal is it is characterised in that described terminal includes:
First acquisition module, for obtaining induced signal, described induced signal characterizes the operating state of earphone;
Determining module, for according to described induced signal, determining control instruction corresponding with described induced signal;
Adjusting module, for according to described control instruction, adjusting the music state of described terminal.
8. terminal according to claim 7, it is characterised in that described terminal, also includes:
Second acquisition module, before determining control instruction corresponding with described induced signal in described determining module, obtains
Predetermined corresponding relation between induced signal and control instruction;Wherein, described induced signal includes at least one of signals below:
The induced signal of at least one earphone horizontal rotation, the induced signal of at least one earphone vertical rotary.
9. terminal according to claim 8, it is characterised in that described determining module, specifically includes:
According to acquired described predetermined corresponding relation, inquire about control instruction corresponding with described induced signal.
10. the terminal according to any one of claim 7-9 is it is characterised in that described first acquisition module, specifically for:
Detect whether described terminal is connected with described earphone, determine whether described terminal opens music application;
If detecting, described terminal is connected with described earphone and described terminal has already turned on described music application, depositing
In the case of described induced signal, obtain described induced signal.
11. terminals according to any one of claim 7-9 are it is characterised in that described control instruction is included to give an order
Any one:
The control instruction of adjustment volume, the control instruction of adjustment circulation pattern, the control instruction of switching song.
12. terminals according to any one of claim 7-9 are it is characterised in that described earphone is to be connect using usb type-c
The earphone of mouth or the earphone using lightning interface.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610842848.8A CN106341544A (en) | 2016-09-22 | 2016-09-22 | Terminal control method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610842848.8A CN106341544A (en) | 2016-09-22 | 2016-09-22 | Terminal control method and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106341544A true CN106341544A (en) | 2017-01-18 |
Family
ID=57839933
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610842848.8A Pending CN106341544A (en) | 2016-09-22 | 2016-09-22 | Terminal control method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106341544A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090097689A1 (en) * | 2007-10-16 | 2009-04-16 | Christopher Prest | Sports Monitoring System for Headphones, Earbuds and/or Headsets |
CN101472206A (en) * | 2007-12-28 | 2009-07-01 | 英业达股份有限公司 | Earphone device |
CN101615409A (en) * | 2009-07-31 | 2009-12-30 | 深圳华为通信技术有限公司 | Media play controlling method, system and media player, earphone wire device |
CN105824424A (en) * | 2016-03-31 | 2016-08-03 | 乐视控股(北京)有限公司 | Music control method and terminal |
-
2016
- 2016-09-22 CN CN201610842848.8A patent/CN106341544A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090097689A1 (en) * | 2007-10-16 | 2009-04-16 | Christopher Prest | Sports Monitoring System for Headphones, Earbuds and/or Headsets |
CN101472206A (en) * | 2007-12-28 | 2009-07-01 | 英业达股份有限公司 | Earphone device |
CN101615409A (en) * | 2009-07-31 | 2009-12-30 | 深圳华为通信技术有限公司 | Media play controlling method, system and media player, earphone wire device |
CN105824424A (en) * | 2016-03-31 | 2016-08-03 | 乐视控股(北京)有限公司 | Music control method and terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107509153B (en) | Detection method and device of sound playing device, storage medium and terminal | |
CN107071648B (en) | Sound playing adjusting system, device and method | |
CN101621566B (en) | Distinguishing input signals detected by a mobile terminal | |
KR102070013B1 (en) | Contents Operating Method And Electronic Device operating the same | |
EP2423785A2 (en) | Mobile terminal and method of controlling operation of the mobile terminal | |
WO2017181365A1 (en) | Earphone channel control method, related apparatus, and system | |
CN109918039B (en) | Volume adjusting method and mobile terminal | |
CN105260109A (en) | Play speed adjusting method and terminal | |
CN111083289B (en) | Audio playing method and device, storage medium and mobile terminal | |
KR102127622B1 (en) | Method and apparatus for controlling an input of sound | |
CN106331826A (en) | Method, device and system for setting live broadcast template and video mode | |
CN111459456A (en) | Audio control method and electronic equipment | |
CN106055304A (en) | Volume regulating method and device for earphone | |
CN111010608B (en) | Video playing method and electronic equipment | |
US20140233772A1 (en) | Techniques for front and rear speaker audio control in a device | |
CN111147919A (en) | Play adjustment method, electronic equipment and computer readable storage medium | |
CN106506437B (en) | Audio data processing method and device | |
CN105824424A (en) | Music control method and terminal | |
CN106293601A (en) | A kind of audio frequency playing method and device | |
CN107404587B (en) | Audio playing control method, audio playing control device and mobile terminal | |
CN112394901A (en) | Audio output mode adjusting method and device and electronic equipment | |
CN107508983B (en) | Volume adjusting method and device, storage medium and terminal equipment | |
CN104104793A (en) | Audio processing method and device | |
CN105872158A (en) | Alarm clock ringing method and device | |
CN109240413A (en) | Screen vocal technique, device, electronic device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20170118 |