CN105898045A - Terminal control method and terminal - Google Patents

Terminal control method and terminal Download PDF

Info

Publication number
CN105898045A
CN105898045A CN201610201937.4A CN201610201937A CN105898045A CN 105898045 A CN105898045 A CN 105898045A CN 201610201937 A CN201610201937 A CN 201610201937A CN 105898045 A CN105898045 A CN 105898045A
Authority
CN
China
Prior art keywords
earphone
terminal
current
binding
mark
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
CN201610201937.4A
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.)
LeTV Holding Beijing Co Ltd
LeTV Mobile Intelligent Information Technology Beijing Co Ltd
Original Assignee
LeTV Holding Beijing Co Ltd
LeTV Mobile Intelligent Information Technology Beijing 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 LeTV Holding Beijing Co Ltd, LeTV Mobile Intelligent Information Technology Beijing Co Ltd filed Critical LeTV Holding Beijing Co Ltd
Priority to CN201610201937.4A priority Critical patent/CN105898045A/en
Publication of CN105898045A publication Critical patent/CN105898045A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The embodiments of the invention provide a terminal control method and a terminal. The method comprises the steps of: obtaining an earphone identifier of a current earphone connected with the terminal; according to the earphone identifier, determining whether the current earphone is bound to the terminal, wherein the earphone identifier of the at least one earphone bound to the terminal is stored in the terminal, and if the current earphone is bound to the terminal, controlling the screen of the terminal to carry out unlocking. According to the technical scheme provided by the embodiment of the invention, the terminal controls the screen of the terminal to carry out automatic unlocking after automatically determining that the current earphone is the earphone of an attributive user of the terminal, and the user does not need to carry out manual unlocking of the screen of the terminal after the earphone is connected with the terminal, so that convenience is provided for the user to use the terminal, the operation of the user is reduced, and the user is enabled to listen to the sounds of the terminal through the earphone.

Description

A kind of terminal control method and terminal
[technical field]
The present invention relates to field of terminal technology, particularly relate to a kind of terminal control method and terminal.
[background technology]
Along with the terminal universal and application in people live, each Terminal Type, especially mobile terminal are Become the important tool on people's live and work.In prior art, terminal all can carry out man-machine with user Alternately so that user can operate terminal;Terminal the most all can provide the function being connected with earphone simultaneously.
In realizing process of the present invention, inventor finds that in prior art, at least there are the following problems:
After earphone is connected with terminal, in addition it is also necessary to the operation that terminal is unlocked by user so that user Other operation can be carried out in terminal, thus the when of causing user to use earphone in terminal, need Carry out more operating procedure, complex operation, bring to the sound using earphone to listen to terminal of user Inconvenience.
[summary of the invention]
In view of this, embodiments provide a kind of terminal control method and terminal, existing in order to solve The when of having that in technology, user uses earphone in terminal, need to carry out more operating procedure, operate numerous Trivial, listen to, to the earphone that uses of user, the problem that the sound of terminal is made troubles.
On the one hand, embodiments provide a kind of terminal control method, including:
Obtain the earphone mark of the current earphone being connected with terminal;
Identify according to described earphone, determine described current earphone whether with described terminal binding, wherein, described In terminal, storage has the earphone mark of at least one earphone with described terminal binding;
If it is determined that described current earphone and described terminal binding, then the screen controlling described terminal is unlocked.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, described Method also includes:
If it is determined that described current earphone does not has and described terminal binding, then at the screen lock state keeping described terminal While, generate the first information, to point out user's current earphone to be connected with described terminal.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, described First information is any one or more in following information:
Monochrome information, vibration information, voice messaging.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, in institute Before stating the earphone mark of the current earphone that acquisition is connected with terminal, also include:
Earphone chip information in the earphone that detection is connected with described terminal, described earphone chip information includes ear Machine identifies;
Generating the second information, to point out user to input binding acknowledgement message, described binding acknowledgement message is used Whether earphone is bound with described terminal in characterizing;
Receive the binding acknowledgement message of user's input;
If described binding acknowledgement message characterizes and bound with described terminal by earphone, then store described earphone core Earphone mark in sheet information, the earphone corresponding with described earphone chip information with labelling is tied up for described terminal Fixed earphone.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, described Obtain the earphone mark of the current earphone being connected with terminal, including:
Automatically detecting the earphone mark of the current earphone being connected with described terminal, wherein, described earphone is type-c Earphone, described earphone is designated the unique hardware identification of type-c earphone.
A technical scheme in technique scheme has the advantages that
After being connected with terminal by earphone, terminal can get the ear of connected current earphone automatically Machine identifies;Then terminal identifies, really according to the earphone of at least one earphone with terminal binding prestored The earphone determining current earphone identifies whether to be stored in wherein;If terminal determines the current earphone being connected with terminal Earphone mark, be present in terminal storage at least one earphone with terminal binding earphone mark within, Then terminal determines that current earphone is bound with terminal, determines that current earphone is labeled returning for terminal Belong to the earphone of user, thus the screen that terminal can control terminal carries out automatic unlocking.It is achieved thereby that terminal The current earphone can being connected with terminal with automatic decision, if with terminal binding, if the ownership for terminal is used The earphone at family;After determining current earphone and terminal binding, it may be determined that current earphone is returning of terminal The earphone of genus user, thus terminal control terminal screen automatic unlocking.Make user by earphone with terminal even After connecing, terminal can be after automatically determining the earphone of the home subscriber that current earphone is terminal, terminal control Terminal screen automatic unlocking processed, it is not necessary to the carrying out end that user is after being connected earphone with terminal more manual The solution latching operation of the screen of end, improves user and uses the convenience of terminal, decrease the operation of user, just Earphone is used to listen to the sound of terminal in user.
On the other hand, embodiments provide a kind of terminal, including:
Acquisition module, for obtaining the earphone mark of the current earphone being connected with terminal;
Determine module, for identifying according to described earphone, determine whether described current earphone ties up with described terminal Fixed, wherein, in described terminal, storage has the earphone mark of at least one earphone with described terminal binding;
Control module, for if it is determined that described current earphone and described terminal binding, then controlling described terminal Screen is unlocked.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, described Terminal, also includes:
For described, reminding module, determines that module determines that described current earphone does not has and described terminal binding, then While keeping the screen lock state of described terminal, generate the first information, to point out user current earphone It is connected with described terminal.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, described Terminal, also includes:
Detection module, identifies it for obtaining the earphone of the current earphone being connected with terminal at described acquisition module Before, the earphone chip information in the earphone that detection is connected with described terminal, described earphone chip information includes ear Machine identifies;
Generation module, for generating the second information, to point out user to input binding acknowledgement message, described Whether binding acknowledgement message is bound earphone with described terminal for characterizing;
Binding module, for receiving the binding acknowledgement message of user's input, if described binding acknowledgement message characterizes Earphone is bound with described terminal, then stores the earphone mark in described earphone chip information, with labelling The earphone corresponding with described earphone chip information is and the earphone of described terminal binding.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, described Acquisition module, specifically for:
Automatically detecting the earphone mark of the current earphone being connected with described terminal, wherein, described earphone is type-c Earphone, described earphone is designated the unique hardware identification of type-c earphone.
A technical scheme in technique scheme has the advantages that
After being connected with terminal by earphone, acquisition module can get automatically connected works as vestibule The earphone mark of machine;It is then determined that module is according at least one earphone with terminal binding prestored Earphone identifies, and determines that the earphone of current earphone identifies whether to be stored in wherein;If it is determined that be connected with terminal Current earphone earphone mark, be present in the ear of at least one earphone with terminal binding of terminal storage Within machine mark, it is determined that module determines that current earphone is bound with terminal, determines current earphone The earphone of the labeled home subscriber for terminal, thus the screen that control module can control terminal is carried out Automatic unlocking.It is achieved thereby that the current earphone that terminal can be connected with terminal with automatic decision, if with end End binding, if for the earphone of the home subscriber of terminal;After determining current earphone and terminal binding, May determine that the earphone of the home subscriber that current earphone is terminal, thus terminal control terminal screen solves automatically Lock.Making user after being connected with terminal by earphone, terminal can automatically determine current earphone for eventually After the earphone of the home subscriber of end, terminal control terminal screen automatic unlocking, it is not necessary to user is by ear The solution latching operation of the screen carrying out terminal after machine is connected with terminal more manual, improves user and uses The convenience of terminal, decreases the operation of user, it is simple to user uses earphone to listen to the sound of terminal.
[accompanying drawing explanation]
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below will be to required in embodiment The accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only the present invention's Some embodiments, for those of ordinary skill in the art, in the premise not paying creative work Under, it is also possible to other accompanying drawing is obtained according to these accompanying drawings.
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 functional block diagram of the embodiment three of the terminal that the embodiment of the present invention is provided;
Fig. 4 is the functional block diagram of the embodiment four of the terminal that the embodiment of the present invention is provided.
[detailed description of the invention]
In order to be better understood from technical scheme, below in conjunction with the accompanying drawings the embodiment of the present invention is carried out Describe in detail.
It will be appreciated that described embodiment a part of embodiment that is only the present invention rather than whole Embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creative labor The all other embodiments obtained under dynamic premise, broadly fall into the scope of protection of the invention.
The term used in embodiments of the present invention be only merely for describe specific embodiment purpose, rather than It is intended to limit the present invention.Singulative used in the embodiment of the present invention and appended claims " a kind of ", " described " and " being somebody's turn to do " is also intended to include most form, unless context clearly shows that Other implications.
Should be appreciated that term "and/or" used herein is only a kind of association describing affiliated partner Relation, can there are three kinds of relations, such as, A and/or B, can represent in expression: individualism A, There is A and B, individualism B these three situation simultaneously.It addition, character "/" herein, typically Represent the forward-backward correlation relation to liking a kind of "or".
Depend on linguistic context, word as used in this " if " can be construed to " ... time " Or " when ... " or " in response to determining " or " in response to detection ".Similarly, depend on linguistic context, Phrase " if it is determined that " or " if detection (condition of statement or event) " can be construed to " when When determining " or " in response to determining " or " when detecting (condition of statement or event) " or " response In detection (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 the embodiment of the present invention The schematic flow sheet of one terminal control method provided, as it is shown in figure 1, the method comprises the following steps:
S101, obtains the earphone mark of the current earphone being connected with terminal.
Concrete, the method that the present embodiment is provided can be performed by terminal, such as smart mobile phone, flat board Computer, PC etc..Earphone has a headset type mark, the earphone mark that different earphones has Know difference, i.e. the most each there is for each earphone unique earphone mark.
Being attached with terminal by earphone, wherein, earphone can be connected with terminal by connector, or Earphone can also be connected with terminal by radio connection.Terminal just can get connected working as The earphone mark of front earphone.
For example, headset type identifies, and the name of the owner of earphone can be used to be indicated, it is possible to To use a unique symbol or numeral to be indicated.
S102, identifies according to earphone, determine current earphone whether with terminal binding, wherein, terminal is deposited The earphone containing at least one earphone with terminal binding identifies.
Concrete, prestore the earphone mark of multiple earphone, these earphones mark correspondence in the terminal Earphone all terminals bound.May determine that the earphone with terminal binding, be belonging to the ownership of terminal The earphone of user.
Terminal identifies according to the earphone of at least one earphone with terminal binding prestored, and goes automatically Judge that the earphone of current earphone being connected with terminal identifies, if be present in terminal bound to In the earphone mark of a few earphone;Such that it is able to judge the current earphone being connected with terminal, if with Terminal is bound, and the most whether is belonging to the earphone of the home subscriber of terminal.
For example, terminal gets the earphone of the current earphone being connected with terminal and is designated A, in terminal In prestored the multiple earphones bound with terminal earphone mark A, B, C;Then terminal Just can remove to determine the ear of current earphone according to multiple earphones respective earphone mark A, B, C of storage Whether machine mark A is contained therein;If the earphone mark A of current earphone is present in the multiple of terminal storage Within the earphone mark of earphone, it is determined that current earphone is bound with terminal, if the ear of current earphone Within the earphone mark of multiple earphones that machine mark A is not present in terminal storage, it is determined that current earphone does not has Have and terminal binding;Now, the earphone mark A of current earphone is present in multiple earphones of terminal storage May determine that current earphone is bound with terminal within earphone mark, and current earphone is to belong to The home subscriber of terminal.
S103, however, it is determined that current earphone and terminal binding, then the screen controlling terminal is unlocked.
Concrete, if terminal determines the earphone mark of the current earphone being connected with terminal, it is present in terminal Within the earphone mark of at least one earphone with terminal binding of storage, then terminal determines and is connected with terminal Current earphone, bound with terminal;May thereby determine that out the current earphone being connected with terminal, The earphone of home subscriber is marked by the home subscriber of terminal.Now, terminal determines that current earphone is eventually The earphone of the home subscriber of end, terminal can control the screen of terminal automatically and carry out automatic unlocking, thus The screen of terminal completes automatic unlocking.
After the present embodiment is connected with terminal by earphone, terminal can get connected working as automatically The earphone mark of front earphone;Then terminal is according at least one earphone with terminal binding prestored Earphone identifies, and determines that the earphone of current earphone identifies whether to be stored in wherein;If terminal is determined and terminal The earphone mark of the current earphone connected, is present in terminal storage with at least one earphone terminal binding Earphone mark within, then terminal determines that current earphone is bound with terminal, determines current earphone The earphone of the labeled home subscriber for terminal, thus the screen that terminal can control terminal is carried out automatically Unlock.It is achieved thereby that the current earphone that terminal can be connected with terminal with automatic decision, if tie up with terminal Fixed, if for the earphone of the home subscriber of terminal;After determining current earphone and terminal binding, can With the earphone determining the current earphone home subscriber as terminal, thus terminal control terminal screen automatic unlocking. Making user after being connected with terminal by earphone, terminal can be terminal automatically determining current earphone After the earphone of home subscriber, terminal control terminal screen automatic unlocking, it is not necessary to user by earphone with After terminal connects, then the solution latching operation of the manual screen carrying out terminal, improve user and use terminal Convenience, decrease the operation of user, it is simple to user uses earphone to listen to the sound of terminal.
It should be noted that terminal involved in the embodiment of the present invention can include but not limited to individual's meter Calculation machine (Personal Computer, PC), personal digital assistant (Personal Digital Assistant, PDA), radio hand-held equipment, panel computer (Tablet Computer), mobile phone, MP3 player, MP4 player etc..
It is understood that the application program (nativeApp) that application can be mounted in terminal, or Can also is that a web page program (webApp) of browser in terminal, the embodiment of the present invention is to this not It is defined.
Embodiment two
The terminal control method provided based on above-described embodiment one, refer to Fig. 2, and it is that the present invention is real Execute the schematic flow sheet of the terminal control method that example two is provided, the embodiment of the present invention perform S101 it Before, as in figure 2 it is shown, also include:
S201, the earphone chip information in the earphone that detection is connected with terminal, earphone chip information includes ear Machine identifies.
Concrete, the earphone that was never connected with terminal is connected with terminal, or by a terminal The earphone of the earphone mark not stored is connected with terminal.Owing to earphone having earphone chip information, ear Machine can be type-c earphone.Earphone mark is included in earphone chip information.Thus terminal can be certainly The dynamic earphone chip information got in the earphone being connected with terminal, and the ear in earphone chip information Machine identifies.
S202, generates the second information, to point out user to input binding acknowledgement message, binding acknowledgement message Whether earphone is bound with terminal for characterizing.
Concrete, terminal can generate second information, and the second information can be voice messaging Or Word message, thus terminal can point out user to input binding acknowledgement message.Wherein, binding acknowledgement message, Characterize and whether earphone is bound with terminal.
For example, terminal can generate a text prompt information, " whether you are by earphone and terminal binding " Or " whether earphone is labeled as the earphone with terminal binding by you ".
S203, receives the binding acknowledgement message of user's input;If binding acknowledgement message characterizes earphone and terminal Bind, then the earphone mark in storage earphone chip information, corresponding with earphone chip information with labelling Earphone is the earphone with terminal binding.
Concrete, user input binding acknowledgement message in terminal, if user's confirmation by S201 with end End connect earphone go to bind with terminal, then user input binding acknowledgement message in indicate by The earphone being connected with terminal in S201 and terminal binding.Now, terminal can will get in S201 Earphone mark in earphone chip information stores, so in terminal label S201 with earphone core Earphone corresponding to sheet information is the earphone with terminal binding, illustrate in S201 with earphone chip information Corresponding earphone is the earphone of the home subscriber of terminal.
For example, the earphone mark D in earphone chip information has been got, the most in advance Store earphone mark A, B, C of the multiple earphones bound with terminal;The binding of user's input Confirmation is " confirming earphone and terminal binding ", then terminal is by the earphone mark in earphone chip information Knowing D to store, now in terminal, storage has the earphone of the multiple earphones bound with terminal to identify A、B、C、D。
S101 is specifically described by the embodiment of the present invention, and S101 specifically includes:
Automatically detecting the earphone mark of the current earphone being connected with terminal, wherein, earphone is type-c earphone, Earphone is designated the unique hardware identification of type-c earphone.
Concrete, in S101, after current earphone is connected with terminal, owing to earphone is type-c Earphone, type-c earphone has a unique hardware identification, thus this unique hardware identification constitutes earphone Earphone mark, this unique hardware identification is present in the chip of earphone simultaneously.And then, terminal can be certainly The dynamic earphone mark current earphone being connected with terminal being detected, gets the unique of current earphone then Hardware identifier.
The method that the embodiment of the present invention provides, also includes:
S104, however, it is determined that current earphone does not has and terminal binding, then screen lock state same keeping terminal Time, generate the first information, to point out user's current earphone to be connected with terminal.
Concrete, in S102, terminal is according at least one earphone with terminal binding prestored Earphone identifies, and goes to judge automatically the earphone mark of the current earphone being connected with terminal, if be present in and In the earphone mark of at least one earphone that terminal is bound.If terminal is determined it is connected with terminal The earphone mark of current earphone, is not present at least one earphone with terminal binding of terminal storage Within earphone mark, then terminal determines the current earphone being connected with terminal, does not binds with terminal; May thereby determine that out the current earphone being connected with terminal, do not have the home subscriber of terminal to be labeled as ownership and use The earphone at family, current earphone is not belonging to the home subscriber of terminal.
For example, terminal gets the earphone of the current earphone being connected with terminal and is designated E, in terminal In prestored the multiple earphones bound with terminal earphone mark A, B, C;Then terminal Just can remove to determine the ear of current earphone according to multiple earphones respective earphone mark A, B, C of storage Whether machine mark E is contained therein;May determine that the earphone mark E of current earphone, be not present in end Within the earphone mark of multiple earphones of end storage, and then determine that current earphone does not has and terminal binding, when Front earphone is not belonging to the home subscriber of terminal.
Now, the screen of terminal still keeps screen lock state, and terminal can generate one first prompting Information.First information is used for pointing out user's current earphone to be connected with terminal, and the first information is Any one or more in following information: monochrome information, vibration information, voice messaging.
For example, terminal can control the screen of terminal and light, and is used for pointing out user's earphone to carry out with terminal Connect, keep the screen lock state of terminal simultaneously;Or, terminal can generate an auditory tone cues, is used for Prompting user's earphone is connected with terminal, keeps the screen lock state of terminal simultaneously;Or, terminal is permissible Shake with certain frequency and number of times, be used for pointing out user's earphone to be connected with terminal, keep simultaneously The screen lock state of terminal.
The present embodiment is not by first after being connected with terminal with the earphone of terminal binding, and terminal obtains ear Earphone mark in machine chip information, and generate information so that the user decide whether earphone and end End binding, receive user confirm the information by earphone and terminal binding after, terminal storage earphone Earphone in chip information identifies, and the earphone that labelling is corresponding with earphone chip information is bound with terminal, So that terminal attaching user's labelling belongs to the earphone of oneself;Then earphone is connected it with terminal After, terminal can automatically detect the earphone mark of connected current earphone;Then terminal is according to pre- That first store and at least one earphone terminal binding earphone identifies, and determines the earphone mark of current earphone Whether it is stored in wherein;If terminal determines the earphone mark of the current earphone being connected with terminal, it is present in Within the earphone mark of at least one earphone with terminal binding of terminal storage, then terminal determines and works as vestibule Machine is bound with terminal, determines the earphone of the labeled home subscriber for terminal of current earphone, Thus the screen that terminal can control terminal carries out automatic unlocking;If terminal determines that be connected with terminal works as The earphone mark of front earphone, is not present in the ear of at least one earphone with terminal binding of terminal storage Within machine mark, then terminal determines that current earphone is not bound with terminal, determines that current earphone is not It is the home subscriber of terminal, thus terminal keeps the screen lock state of terminal screen, one can be generated simultaneously Individual information is connected with terminal with prompting user's earphone.It is achieved thereby that terminal can be with automatic decision and end The current earphone that end connects, if with terminal binding, if for the earphone of the home subscriber of terminal;Really After determining current earphone and terminal binding, it may be determined that current earphone is the earphone of the home subscriber of terminal, Thus terminal control terminal screen automatic unlocking;Determine current earphone not with terminal binding after, protect Hold the screen lock state of terminal screen.Making user after being connected with terminal by earphone, terminal can be certainly After moving the earphone of the home subscriber determining that current earphone is terminal, terminal control terminal screen automatic unlocking, Need not the solution latching operation of user's screen carrying out terminal after being connected by earphone more manual with terminal, Improve user and use the convenience of terminal, decrease the operation of user, it is simple to user uses earphone to listen to The sound of terminal.
The embodiment of the present invention is given further and realizes each step and the terminal of method in said method embodiment Embodiment.
Embodiment three
Refer to Fig. 3, the functional block diagram of its terminal provided by the embodiment of the present invention three.Such as Fig. 3 Shown in, this terminal includes:
Acquisition module 31, for obtaining the earphone mark of the current earphone being connected with terminal;
Determine module 32, for identifying according to earphone, determine current earphone whether with terminal binding, wherein, In terminal, storage has the earphone mark of at least one earphone with terminal binding;
Control module 33, for if it is determined that current earphone and terminal binding, then the screen controlling terminal is carried out Unlock.
Owing to each module in the present embodiment is able to carry out the method shown in Fig. 1, the present embodiment is retouched the most in detail The part stated, refers to the related description to Fig. 1.
The technical scheme of the embodiment of the present invention has the advantages that
After the present embodiment is connected with terminal by earphone, acquisition module can get connected automatically Current earphone earphone mark;It is then determined that module according to prestore with at least the one of terminal binding The earphone mark of individual earphone, determines that the earphone of current earphone identifies whether to be stored in wherein;If it is determined that with The earphone mark of the current earphone that terminal connects, be present in terminal storage with at least one of terminal binding Within the earphone mark of earphone, it is determined that module determines that current earphone is bound with terminal, determines The earphone of the labeled home subscriber for terminal of current earphone, thus control module can control terminal Screen carries out automatic unlocking.It is achieved thereby that the current earphone that terminal can be connected with terminal with automatic decision, Whether with terminal binding, if for the earphone of the home subscriber of terminal;Determining that current earphone is tied up with terminal After having determined, it may be determined that current earphone is the earphone of the home subscriber of terminal, thus terminal control terminal Screen automatic unlocking.Making user after being connected with terminal by earphone, terminal can be worked as automatically determining After front earphone is the earphone of the home subscriber of terminal, terminal control terminal screen automatic unlocking, it is not necessary to The solution latching operation of the screen carrying out terminal that user is after being connected earphone with terminal more manual, improves User uses the convenience of terminal, decreases the operation of user, it is simple to user uses earphone to listen to terminal Sound.
Embodiment four
The terminal provided based on above-described embodiment three, refer to Fig. 4, and it is the embodiment of the present invention four institute The functional block diagram of the terminal provided.The terminal that the embodiment of the present invention provides, also includes:
Reminding module 34, is used for determining that module 32 determines that current earphone does not has and terminal binding, then keeping While the screen lock state of terminal, generate the first information, to point out user's current earphone with terminal even Connect.
Terminal, also includes:
Detection module 41, for obtaining the earphone mark of the current earphone being connected with terminal at acquisition module 31 Before, the earphone chip information in the earphone that detection is connected with terminal, earphone chip information includes that earphone identifies;
Generation module 42, for generating the second information, to point out user to input binding acknowledgement message, ties up Determine whether confirmation binds earphone with terminal for characterizing;
Binding module 43, for receiving the binding acknowledgement message of user's input, if binding acknowledgement message sign will Earphone is bound with terminal, then the earphone mark in storage earphone chip information, with labelling and earphone chip Earphone corresponding to information is the earphone with terminal binding.
Acquisition module 31, specifically for:
Automatically detecting the earphone mark of the current earphone being connected with terminal, wherein, earphone is type-c earphone, Earphone is designated the unique hardware identification of type-c earphone.
Owing to each module in the present embodiment is able to carry out the method shown in Fig. 2, this enforcement in embodiment two The part that example does not describes in detail, refers to the related description to Fig. 2.
The technical scheme of the embodiment of the present invention has the advantages that
The present embodiment is not by first after being connected with terminal with the earphone of terminal binding, and detection module is examined Measuring the earphone mark in earphone chip information, generation module can generate information so that user is certainly Fixed the most whether by earphone and terminal binding, receive user confirm by the information of earphone and terminal binding it After, the earphone mark in binding module storage earphone chip information, labelling is corresponding with earphone chip information Earphone is bound with terminal, so that terminal attaching user's labelling belongs to the earphone of oneself; Then, after earphone is connected with terminal, acquisition module can automatically detect connected current earphone Earphone identifies;It is then determined that module is according to the earphone of at least one earphone with terminal binding prestored Mark, determines that the earphone of current earphone identifies whether to be stored in wherein;If it is determined that be connected with terminal works as The earphone mark of front earphone, is present in the earphone mark of at least one earphone with terminal binding of terminal storage Within knowledge, it is determined that module determines that current earphone is bound with terminal, determine that current earphone is marked It is designated as the earphone of the home subscriber of terminal, thus the screen that control module can control terminal has been carried out automatically Unlock;If it is determined that module determines the earphone mark of the current earphone being connected with terminal, it is not present in end Within the earphone mark of at least one earphone with terminal binding of end storage, then reminding module determines currently Earphone is not bound with terminal, determines that current earphone is not the home subscriber of terminal, thus eventually End keeps the screen lock state of terminal screen, and reminding module can generate an information to point out use simultaneously Family earphone is connected with terminal.It is achieved thereby that the current earphone that terminal can be connected with terminal with automatic decision, Whether with terminal binding, if for the earphone of the home subscriber of terminal;Determining that current earphone is tied up with terminal After having determined, it may be determined that current earphone is the earphone of the home subscriber of terminal, thus terminal control terminal Screen automatic unlocking;Determine current earphone not with terminal binding after, keep the screen locking of terminal screen State.Making user after being connected with terminal by earphone, terminal can be automatically determining current earphone After the earphone of the home subscriber of terminal, terminal control terminal screen automatic unlocking, it is not necessary to user is inciting somebody to action The solution latching operation of the screen carrying out terminal after earphone is connected with terminal more manual, improves user and makes By the convenience of terminal, decrease the operation of user, it is simple to user uses earphone to listen to the sound of terminal.
Those skilled in the art is it can be understood that arrive, and for convenience and simplicity of description, above-mentioned retouches The specific works process of the system stated, device and unit, is referred to the correspondence in preceding method embodiment Process, does not repeats them here.
In several embodiments provided by the present invention, it should be understood that disclosed system, device and Method, can realize by another way.Such as, device embodiment described above is only shown Meaning property, such as, the division of described unit, be only a kind of logic function and divide, actual can when realizing There to be other dividing mode, such as, multiple unit or assembly can in conjunction with or be desirably integrated into another Individual system, or some features can ignore, or do not perform.Another point, shown or discussed mutual it Between coupling direct-coupling or communication connection can be the indirect coupling by some interfaces, device or unit Close or communication connection, can be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, makees The parts shown for unit can be or may not be physical location, i.e. may be located at a place, Or can also be distributed on multiple NE.Can select according to the actual needs part therein or The whole unit of person realizes the purpose of the present embodiment scheme.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, Can also be that unit is individually physically present, it is also possible to two or more unit are integrated in a list In unit.Above-mentioned integrated unit both can realize to use the form of hardware, it would however also be possible to employ hardware adds software The form of functional unit realizes.
The above-mentioned integrated unit realized with the form of SFU software functional unit, can be stored in a computer In read/write memory medium.Above-mentioned SFU software functional unit is stored in a storage medium, including some fingers Make with so that a computer installation (can be personal computer, server, or network equipment etc.) Or processor (Processor) performs the part steps of method described in each embodiment of the present invention.And it is aforementioned Storage medium include: USB flash disk, portable hard drive, read only memory (Read-Only Memory, ROM), Random access memory (Random Access Memory, RAM), magnetic disc or CD etc. are various The medium of program code can be stored.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all at this Within the spirit of invention and principle, any modification, equivalent substitution and improvement etc. done, should be included in Within the scope of protection of the invention.

Claims (9)

1. a terminal control method, it is characterised in that described method includes:
Obtain the earphone mark of the current earphone being connected with terminal;
Identify according to described earphone, determine described current earphone whether with described terminal binding, wherein, described In terminal, storage has the earphone mark of at least one earphone with described terminal binding;
If it is determined that described current earphone and described terminal binding, then the screen controlling described terminal is unlocked.
Method the most according to claim 1, it is characterised in that described method also includes:
If it is determined that described current earphone does not has and described terminal binding, then at the screen lock state keeping described terminal While, generate the first information, to point out user's current earphone to be connected with described terminal.
Method the most according to claim 2, it is characterised in that described first information is following letter Any one or more in breath:
Monochrome information, vibration information, voice messaging.
Method the most according to claim 1, it is characterised in that in working as that described acquisition is connected with terminal Before the earphone mark of front earphone, also include:
Earphone chip information in the earphone that detection is connected with described terminal, described earphone chip information includes ear Machine identifies;
Generating the second information, to point out user to input binding acknowledgement message, described binding acknowledgement message is used Whether earphone is bound with described terminal in characterizing;
Receive the binding acknowledgement message of user's input;
If described binding acknowledgement message characterizes and bound with described terminal by earphone, then store described earphone core Earphone mark in sheet information, the earphone corresponding with described earphone chip information with labelling is tied up for described terminal Fixed earphone.
5. according to the method described in any one of claim 1-4, it is characterised in that described acquisition is with terminal even The earphone mark of the current earphone connect, including:
Automatically detecting the earphone mark of the current earphone being connected with described terminal, wherein, described earphone is type-c Earphone, described earphone is designated the unique hardware identification of type-c earphone.
6. a terminal, it is characterised in that described terminal includes:
Acquisition module, for obtaining the earphone mark of the current earphone being connected with terminal;
Determine module, for identifying according to described earphone, determine whether described current earphone ties up with described terminal Fixed, wherein, in described terminal, storage has the earphone mark of at least one earphone with described terminal binding;
Control module, for if it is determined that described current earphone and described terminal binding, then controlling described terminal Screen is unlocked.
Terminal the most according to claim 6, it is characterised in that described terminal, also includes:
For described, reminding module, determines that module determines that described current earphone does not has and described terminal binding, then While keeping the screen lock state of described terminal, generate the first information, to point out user current earphone It is connected with described terminal.
Terminal the most according to claim 6, it is characterised in that described terminal, also includes:
Detection module, identifies it for obtaining the earphone of the current earphone being connected with terminal at described acquisition module Before, the earphone chip information in the earphone that detection is connected with described terminal, described earphone chip information includes ear Machine identifies;
Generation module, for generating the second information, to point out user to input binding acknowledgement message, described Whether binding acknowledgement message is bound earphone with described terminal for characterizing;
Binding module, for receiving the binding acknowledgement message of user's input, if described binding acknowledgement message characterizes Earphone is bound with described terminal, then stores the earphone mark in described earphone chip information, with labelling The earphone corresponding with described earphone chip information is and the earphone of described terminal binding.
9. according to the terminal described in any one of claim 6-8, it is characterised in that described acquisition module, tool Body is used for:
Automatically detecting the earphone mark of the current earphone being connected with described terminal, wherein, described earphone is type-c Earphone, described earphone is designated the unique hardware identification of type-c earphone.
CN201610201937.4A 2016-03-31 2016-03-31 Terminal control method and terminal Pending CN105898045A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610201937.4A CN105898045A (en) 2016-03-31 2016-03-31 Terminal control method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610201937.4A CN105898045A (en) 2016-03-31 2016-03-31 Terminal control method and terminal

Publications (1)

Publication Number Publication Date
CN105898045A true CN105898045A (en) 2016-08-24

Family

ID=57013365

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610201937.4A Pending CN105898045A (en) 2016-03-31 2016-03-31 Terminal control method and terminal

Country Status (1)

Country Link
CN (1) CN105898045A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106101971A (en) * 2016-08-16 2016-11-09 歌尔股份有限公司 The method of testing of earphone and frock

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101895633A (en) * 2010-07-14 2010-11-24 中兴通讯股份有限公司 Mobile terminal and unlocking method thereof
CN102547502A (en) * 2010-12-17 2012-07-04 索尼爱立信移动通讯有限公司 Headset, headset use control method and terminal
CN102932549A (en) * 2012-11-05 2013-02-13 广东欧珀移动通信有限公司 Mobile terminal and method for accessing application programs rapidly through earphones

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101895633A (en) * 2010-07-14 2010-11-24 中兴通讯股份有限公司 Mobile terminal and unlocking method thereof
CN102547502A (en) * 2010-12-17 2012-07-04 索尼爱立信移动通讯有限公司 Headset, headset use control method and terminal
CN102932549A (en) * 2012-11-05 2013-02-13 广东欧珀移动通信有限公司 Mobile terminal and method for accessing application programs rapidly through earphones

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106101971A (en) * 2016-08-16 2016-11-09 歌尔股份有限公司 The method of testing of earphone and frock
CN106101971B (en) * 2016-08-16 2020-02-21 歌尔股份有限公司 Earphone testing method and tool

Similar Documents

Publication Publication Date Title
CN104699236A (en) Using context to interpret natural language speech recognition commands
CN104123164B (en) A kind of startup method and apparatus of application program
CN104240066B (en) A kind of the session methods of exhibiting and device of Email
EP3206341B1 (en) Method, apparatus and device for displaying message
CN106790727B (en) Information push method and device
CN110009327A (en) A kind of method and terminal of electronic transaction
CN103943110A (en) Control method, device and electronic equipment
CN108345422A (en) Application control method, apparatus, mobile terminal and computer-readable medium
CN109829457A (en) A kind of image processing method, equipment and computer readable storage medium
CN106934277A (en) Application program detection method and device and terminal
CN104636923A (en) Information transmission method, device and system
CN105979058A (en) Method and device for recording voice content
CN105898045A (en) Terminal control method and terminal
CN108763243A (en) Application program recommends method, apparatus, mobile terminal and server
CN106209599A (en) The Notification Method of a kind of information and terminal
CN103853473B (en) Information transferring method, device and electronic equipment
CN106789602B (en) Voice control method for playing back, terminal and mobile terminal
CN104503736A (en) Information prompt method and device
CN105025157A (en) Private contact concealing method and user terminal
CN107360079A (en) User management method and equipment based on Internet of Things
CN106231109A (en) A kind of communication means and terminal
CN102833351B (en) A kind of sending method of terminal applies information, method of reseptance and relevant device
CN103065624A (en) Method and system of network information acquisition
CN107609927A (en) Credit data management method and equipment based on Internet of Things
CN108628618A (en) The method that application program is installed in car-mounted terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160824

WD01 Invention patent application deemed withdrawn after publication