Summary of the invention
In view of this, the object of the present invention is to provide a kind of electronic equipment and control method thereof, can be by the intercommunication process of earphone control electronic equipment, thus it is large to solve the user's operation easier existing in prior art, the large problem of power consumption of electronic equipment.
For achieving the above object, the invention provides following technical scheme:
A kind of electronic equipment, described electronic equipment has intercommunication function, described electronic equipment comprises controller and earphone jack, wherein, described earphone jack comprises the first contact, described the first contact can be electrically connected with the first terminal in earphone, when the location status of the button in described earphone is different, and the level difference of the signal of telecommunication of described the first terminal;
The signal input part of described controller can be electrically connected with described the first contact, at described electronic equipment in intercommunication pattern in the situation that, described controller meets first when pre-conditioned at the signal of telecommunication of described the first contact, control described electronic equipment and enter call model, at the signal of telecommunication of described the first contact, meet second when pre-conditioned, control described electronic equipment and enter listen mode.
Preferably, in above-mentioned electronic equipment, described earphone jack also comprises the second contact and the 3rd contact;
Described the second contact is electrically connected with the first output of electronic equipment sound intermediate frequency processor, and described the second contact can be electrically connected with the second terminal in described earphone, and the second terminal in described earphone is electrically connected with the phonation unit in described earphone; Described the 3rd contact ground connection.
Preferably, in above-mentioned electronic equipment, described earphone jack also comprises the 4th contact;
Described the 4th contact is electrically connected with the first input end of described audio process, and described the 4th contact can be electrically connected with the 3rd terminal in described earphone, and described the 3rd terminal is electrically connected with the microphone in described earphone.
Preferably, the first terminal in described earphone is electrically connected with another phonation unit in described earphone, and in above-mentioned electronic equipment, described electronic equipment also comprises switching circuit;
The first end of described switching circuit is electrically connected with the first contact of described earphone jack, the second end of described switching circuit is electrically connected with the second output of the audio process in described electronic equipment, the 3rd end of described switching circuit is electrically connected with the signal input part of described controller, the control end of described switching circuit is electrically connected with the control signal output of described controller, and the first end of described switching circuit can change and be communicated with the second end and the 3rd end-grain cutting;
Described controller is at described electronic equipment during in intercommunication pattern, the first end of controlling in described switching circuit is communicated with the 3rd end, so that the signal input part of controller and the first contact of described earphone jack are electrically connected, described controller is at described electronic equipment during in the second pattern, and the first end of controlling in described switching circuit is communicated with the second end.
The invention also discloses a kind of control method, be applied to above-mentioned the first electronic equipment, described method comprises:
Current in intercommunication pattern in the situation that at described electronic equipment, detect the signal of telecommunication on the first contact of earphone jack in described electronic equipment, when the location status of the button in the earphone being used in conjunction with from described electronic equipment is different, the level difference of the signal of telecommunication on described the first contact;
At the signal of telecommunication of described the first contact, meet first when pre-conditioned, control described electronic equipment and enter call model;
At the signal of telecommunication of described the first contact, meet second when pre-conditioned, control described electronic equipment and enter listen mode.
Preferably, in above-mentioned control method, described first pre-conditioned for the signal of telecommunication on described the first contact is the first level signal, described second pre-conditioned for the signal of telecommunication on described the first contact be second electrical level signal.
Preferably, in above-mentioned control method, the number of times that level variation occurs the described first pre-conditioned signal of telecommunication for described the first contact in Preset Time is the first numerical value, and the number of times that level variation occurs the described second pre-conditioned signal of telecommunication for described the first contact in described Preset Time is second value.
Preferably, when described electronic equipment comprises switching circuit, above-mentioned control method also comprises:
Determine the operational mode that electronic equipment is current;
Current in intercommunication pattern in the situation that at described electronic equipment, the first end of controlling in the switching circuit of described electronic equipment is communicated with the 3rd end;
Current in the second pattern in the situation that at described electronic equipment, first end and the second end controlled in the switching circuit of described electronic equipment are communicated with.
As can be seen here, beneficial effect of the present invention is: electronic equipment disclosed by the invention mainly comprises controller and earphone jack, in the earphone of adaptation of the present invention, when the location status difference of button, the level difference of the signal of telecommunication at the first terminal place, by after earphone plugged earphone jack, the first contact in earphone jack is electrically connected with this first terminal, at electronic equipment in intercommunication pattern in the situation that, controller can obtain the signal of telecommunication of the first terminal, enters call model or listen mode afterwards according to the signal of telecommunication control electronic equipment of the first terminal.Based on electronic equipment disclosed by the invention, at electronic equipment, during in intercommunication pattern, user only need to adjust the position of the button in earphone, just can control electronic equipment and enter call model or enter listen mode, simple to operate.In addition, controller determines that according to the signal of telecommunication at the first terminal place control electronic equipment enters call model and still enters listen mode, is not need to light screen, has therefore reduced the power consumption of electronic equipment.
Embodiment
For making object, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
The invention discloses a kind of electronic equipment, can be by the intercommunication process of earphone control electronic equipment, thus it is large to solve the user's operation easier existing in prior art, the large problem of power consumption of electronic equipment.
Referring to Fig. 1 and Fig. 2, the cutaway view that Fig. 1 is a kind of electronic equipment disclosed by the invention, Fig. 2 is and the part-structure schematic diagram of a kind of earphone of the adaptation of electronic equipment shown in Fig. 1.This electronic equipment possesses intercommunication function, mainly comprisescontroller 100 andearphone jack 200.
Wherein:
Earphonejack 200 comprises thefirst contact 201, thisfirst contact 201 can be electrically connected with thefirst terminal 501 inearphone 500, that is to say and insert after theearphone jack 200 of electronic equipment whenearphone 500, thefirst terminal 501 inearphone 500 contacts with thefirst contact 201 inearphone jack 200.
Inearphone 500, be also provided withbutton 505, thisbutton 505 is connected on the wire of being drawn by thefirst terminal 501, andbutton 505 has multiple different location statuss, as the primary importance state ofbutton 505 after being pressed and released after second place state.When the location status of thebutton 505 inearphone 500 is different, the level difference of the signal of telecommunication of thefirst terminal 501 inearphone 500.
Here it should be noted that can or there is the bi-telephone of microphone for single head-receiver (only comprising the earphone of a phonation unit), bi-telephone (comprising the earphone of two phonation units) with theearphone 500 of electronic equipment adaptation shown in Fig. 1 of the present invention.The structure of dissimilar its plug portion of earphone is also different, and for example: the plug portion of single head-receiver comprises two terminals, one of them terminal is electrically connected with phonation unit, another terminal ground connection; The plug portion of bi-telephone comprises three terminals, and one of them terminal is electrically connected with the first phonation unit, terminal is electrically connected with the second phonation unit, another terminal ground connection; The plug portion with the bi-telephone of microphone comprises four terminals, and one of them terminal is electrically connected with the first phonation unit, terminal is electrically connected with the second phonation unit, terminal is electrically connected with microphone, another terminal ground connection.In enforcement, as long as the signal of telecommunication of certain terminal in earphone changes with the variation of key position state, just can be used in conjunction with the electronic equipment shown in Fig. 1 of the present invention.
Earphone shown in Fig. 2 is the earphone with microphone, and its plug portion comprises thefirst terminal 501, thesecond terminal 502, the3rd terminal 503 and the 4th terminal 504.In enforcement, can configure thefirst terminal 501 and be electrically connected with a phonation unit, thesecond contact 502 is electrically connected with another phonation unit, and the3rd terminal 503 is electrically connected with the microphone inearphone 500, the4th terminal 504 ground connection.Certainly, only enumerated each terminal and function element a kind of annexation of (comprising phonation unit and microphone) here.In addition, on the wire of being drawn by thefirst terminal 501, be in series withbutton 505, by changing the location status ofbutton 505, can change the level value of the signal of telecommunication at thefirst terminal 501 places.
The signal input part ofcontroller 100 can be electrically connected with thefirst contact 201 inearphone jack 200, at electronic equipment in intercommunication pattern in the situation that,controller 100 meets first when pre-conditioned at the signal of telecommunication of thefirst contact 201, control electronic equipment and enter call model,controller 100 meets second when pre-conditioned at the signal of telecommunication of thefirst contact 201, controls electronic equipment and enters listen mode.
At electronic equipment, during in call model, electronic equipment, to the coding audio signal receiving, to form the signal of telecommunication that is suitable for transmission, is sent to space outerpace by the signal of telecommunication after coding afterwards, after being received, carries out subsequent treatment by another electronic equipment.At electronic equipment, during in listen mode, electronic equipment receives the signal of telecommunication being sent by another electronic equipment from space outerpace, afterwards the signal of telecommunication receiving is decoded, and to obtain audio signal, playing audio signal afterwards.
Electronic equipment disclosed by the invention mainly comprisescontroller 100 andearphone jack 200, in theearphone 500 of adaptation of the present invention, when the location status difference ofbutton 505, the level difference of the signal of telecommunication at thefirst terminal 501 places, by afterearphone 500 pluggedearphone jacks 200, thefirst contact 201 inearphone jack 200 is electrically connected with thisfirst terminal 501, at electronic equipment in intercommunication pattern in the situation that,controller 100 can obtain the signal of telecommunication of thefirst terminal 501, according to the signal of telecommunication control electronic equipment of thefirst terminal 501, enter call model or listen mode afterwards.Based on electronic equipment disclosed by the invention, at electronic equipment, during in intercommunication pattern, user only need to adjust the position of thebutton 505 inearphone 500, just can control electronic equipment and enter call model or enter listen mode, simple to operate.In addition,controller 100 determines that according to the signal of telecommunication at thefirst terminal 501 places control electronic equipment enters call model and still enters listen mode, is not need to light screen, has therefore reduced the power consumption of electronic equipment.
In the above-mentioned disclosed electronic equipment of the present invention, can utilize audio collection unit (as microphone), audio output unit (as loud speaker), audio process and the communication unit of electronic equipment itself to realize intercommunication function.Here briefly introduce: after the intercommunication function of unlocking electronic equipment, user is by adjusting the position ofbutton 505 inearphone 500, to make meeting the first pre-conditioned signal of telecommunication in thefirst terminal 501 places generation ofearphone 500,controller 100 is controlled electronic equipment and is entered call model, by audio collection unit, gather audio-frequency information and transfer to audio process, audio process is encoded and is formed the signal of telecommunication that is suitable for transmission the audio-frequency information receiving, and is sent to space outerpace afterwards by communication unit.When producing at thefirst terminal 501 places ofearphone 500 while meeting the second pre-conditioned signal of telecommunication,controller 100 is controlled electronic equipment and is entered listen mode, by communication unit, from space outerpace, receive the signal of telecommunication and transfer to audio process, audio process decodes to obtain audio-frequency information to the signal of telecommunication receiving, and plays this audio-frequency information afterwards by audio output unit.
The present invention carries out architecture advances to electronic equipment shown in Fig. 1, so that obtain user, can utilize earphone listening to audio information.Below in conjunction with Fig. 3, describe.
Referring to Fig. 3, the cutaway view that Fig. 3 is another kind of electronic equipment disclosed by the invention.This electronic equipment possesses intercommunication function, mainly comprisescontroller 100,earphone jack 200 and audio process 300.With the earphone of the adaptation of electronic equipment shown in Fig. 3 still take earphone shown in Fig. 2 as example.
Wherein:
Earphonejack 200 comprises thefirst contact 201, thesecond contact 202 and the3rd contact 203.
Thefirst contact 201 can be electrically connected with thefirst terminal 501 inearphone 500, that is to say and inserts after theearphone jack 200 of electronic equipment whenearphone 500, and thefirst terminal 501 inearphone 500 contacts with thefirst contact 201 in earphone jack 200.Inearphone 500, on the wire of being drawn by thefirst terminal 501, be in series withbutton 505, and the location status of the button inearphone 500 505 is when different, the level difference of the signal of telecommunication of thefirst terminal 501 inearphone 500.
Thesecond contact 202 is electrically connected with the first output ofaudio process 300, and thesecond contact 202 can be electrically connected with thesecond terminal 502 inearphone 500, that is to say and insert after theearphone jack 200 of electronic equipment whenearphone 500, thesecond terminal 502 inearphone 500 contacts with thesecond contact 202 in earphone jack 200.Inearphone 500, thesecond terminal 502 is connected with a phonation unit.
The3rd contact 203 ground connection.
The signal input part ofcontroller 100 can be electrically connected with thefirst contact 201 inearphone jack 200, at electronic equipment in intercommunication pattern in the situation that,controller 100 meets first when pre-conditioned at the signal of telecommunication of thefirst contact 201, control electronic equipment and enter call model,controller 100 meets second when pre-conditioned at the signal of telecommunication of thefirst contact 201, controls electronic equipment and enters listen mode.
At electronic equipment during in call model,audio process 300 is to the coding audio signal receiving, and at electronic equipment, during in listen mode,audio process 300 decodes to obtain audio signal to the received signal.In electronic equipment shown in Fig. 3, the audio-frequency information thataudio process 300 preferentially obtains decoding is by the first output output.
Owing to being provided with thesecond contact 202 being electrically connected with the first output ofaudio process 300 inearphone jack 200, by afterearphone 500 pluggedearphone jacks 200, thesecond contact 202 is electrically connected with the phonation unit inearphone 500, the audio-frequency information that therefore user can export byearphone 500 listening toaudio processors 300.
Based on the electronic equipment shown in Fig. 3 of the present invention, user can utilize earphone to realize the control of intercommunication process, in addition, atcontroller 100, controlling electronic equipment enters after listen mode, the audio-frequency information of exporting viaaudio process 300 is play by the phonation unit inearphone 500, and therefore user can pass throughearphone 500 listening to audio information.
Referring to Fig. 4, the cutaway view that Fig. 4 is another kind of electronic equipment disclosed by the invention.This electronic equipment possesses intercommunication function, mainly comprisescontroller 100,earphone jack 200 and audio process 300.With the earphone of the adaptation of electronic equipment shown in Fig. 4 still take earphone shown in Fig. 2 as example.
Wherein:
Earphone jack 200 comprises thefirst contact 201, thesecond contact 202, the3rd contact 203 and the 4th contact 204.Wherein, structure and the annexation of thefirst contact 201, thesecond contact 202 and the3rd contact 203 no longer repeat, and refer to the associated description about accompanying drawing 3 above.
The4th contact 204 is electrically connected with the first input end ofaudio process 300, and the4th contact 204 can be electrically connected with the3rd terminal 503 inearphone 500, that is to say and insert after theearphone jack 200 of electronic equipment whenearphone 500, the3rd terminal 503 inearphone 500 contacts with the4th contact 204 in earphonejack 200.In earphone 500, the3rd terminal 503 is connected to the microphone inearphone 500.
At electronic equipment during in call model,audio process 300 is to the coding audio signal receiving, and at electronic equipment, during in listen mode,audio process 300 decodes to obtain audio signal to the received signal.
Owing to being provided with thesecond contact 202 being electrically connected with the first output ofaudio process 300 inearphone jack 200, and the4th contact 204 being electrically connected with the first input end ofaudio process 300, by afterearphone 500 pluggedearphone jacks 200, thesecond contact 202 is electrically connected with the phonation unit inearphone 500, the4th contact 204 is electrically connected with the microphone inearphone 500, therefore the audio-frequency information that user can export byearphone 500 listening toaudio processors 300, also can input audio-frequency information byearphone 500.
Based on the electronic equipment shown in Fig. 4 of the present invention, user can utilize earphone to realize the control of intercommunication process, in addition, atcontroller 100, controlling electronic equipment enters after listen mode, the audio-frequency information of exporting viaaudio process 300 is play by the phonation unit inearphone 500, therefore user can pass throughearphone 500 listening to audio information, and user can also be by the microphone input audio-frequency information inearphone 500.
In the above-mentioned disclosed electronic equipment of the present invention, thefirst contact 201 inearphone jack 200 is only connected with the signal input part ofcontroller 100, and therefore, the function element being electrically connected with thefirst contact 201 inearphone 500 can lose efficacy.Take earphone shown in Fig. 2 as example, if thefirst terminal 501 inearphone 500 is electrically connected with a phonation unit, because thefirst contact 201 inearphone jack 200 is only connected with the signal input part ofcontroller 100, therefore thefirst terminal 501 inearphone 500 can not receive the audio-frequency information that comes from electronic equipment, and the phonation unit being electrically connected with thefirst terminal 501 has also just been lost vocal function.
At electronic equipment, in non-intercommunication pattern (as video play mode, audio-frequency play mode or call mode) in the situation that, inearphone 500, the inefficacy of part function element can reduce user's experience.Still above example describes, and in the situation that user listens to the music, if a phonation unit inearphone 500 lost efficacy, can affect the audibility of music.For fear of occurring that electronic equipment is in non-intercommunication pattern situation, the problem that inearphone 500, part function element lost efficacy, the present invention discloses another kind of electronic equipment.
Referring to Fig. 5, Fig. 5 is that another kind of electronic equipment disclosed by the invention and earphone are used in conjunction with the schematic diagram in process.This electronic equipment comprisescontroller 100,earphone jack 200,audio process 300 and switchingcircuit 400.
Wherein:
Earphone jack 200 comprises thefirst contact 201, thesecond contact 202, the3rd contact 203 and the4th contact 204.
Thefirst contact 201 can be electrically connected with thefirst terminal 501 inearphone 500.In earphone 500, thefirst terminal 501 is electrically connected with a phonation unit, on the wire of being drawn by thefirst terminal 501, be in series withbutton 505, and the location status of the button inearphone 500 505 is when different, the level difference of the signal of telecommunication of thefirst terminal 501 inearphone 500.
Thesecond contact 202 is electrically connected with the first output ofaudio process 300, and thesecond contact 202 can be electrically connected with thesecond terminal 502 inearphone 500.In earphone 500, thesecond terminal 502 is electrically connected with another phonation unit.
The3rd contact 203 ground connection.
The4th contact 204 is electrically connected with the first input end ofaudio process 300, and the4th contact 204 can be electrically connected with the3rd terminal 503 inearphone 500.In earphone 500, the3rd terminal 503 is connected to the microphone inearphone 500.
The first end of switchingcircuit 400 is electrically connected with thefirst contact 201 ofearphone jack 200, the second end of switchingcircuit 400 is electrically connected with the second output ofaudio process 300, the 3rd end of switchingcircuit 400 is electrically connected with the signal input part ofcontroller 100, the control end of switchingcircuit 400 is electrically connected with the control signal output ofcontroller 100, and the first end of switchingcircuit 400 can change and be communicated with the second end and the 3rd end-grain cutting.
Controller 100 is at electronic equipment during in intercommunication pattern, first end incontrol switch circuit 400 and the 3rd end are communicated with, so that obtain the signal input part of self, be electrically connected with thefirst contact 201 ofearphone jack 200, afterwards,controller 100 meets first when pre-conditioned at the signal of telecommunication of thefirst contact 201, control electronic equipment and enter call model,controller 100 meets second when pre-conditioned at the signal of telecommunication of thefirst contact 201, controls electronic equipment and enters listen mode.
Controller 100 is at electronic equipment during in the second pattern, first end incontrol switch circuit 400 is communicated with the second end, in this case, whenearphone 500 is inserted to theearphone jack 200 of electronic equipment, thefirst terminal 501 inearphone 500 is electrically connected with the second output of audio process 300.Here it should be noted that, the second pattern is other patterns different and intercommunication pattern, and as call mode, video play mode and audio-frequency play mode, in enforcement, also can other patterns except intercommunication pattern all be considered as the second pattern by electronic equipment.
Audio process 300 is to the coding audio signal receiving.At electronic equipment, during in listen mode,audio process 300 decodes to obtain audio signal to the received signal.
Electronic equipment shown in Fig. 5 of the present invention,controller 100 is at electronic equipment in intercommunication pattern in the situation that, first end incontrol switch circuit 400 is communicated with the 3rd end, to makecontroller 100 can get the signal of telecommunication at thefirst terminal 501 places inearphone 500, guarantee that user can say process by the state control pair of adjustingbutton 505 inearphone 500;Controller 100 is at electronic equipment in the second pattern in the situation that, first end incontrol switch circuit 400 is communicated with the second end, so that thefirst contact 201 inearphone jack 200 is electrically connected with the second output ofaudio process 300, thereby the second output ofaudio process 300 is electrically connected with thefirst terminal 501 inearphone 500, avoid occurring the problem of the function element inefficacy being electrically connected with thefirst terminal 501, thereby improve user, experience.
The above-mentioned part embodiment that only discloses of the present invention, in enforcement, on the basis of electronic equipment shown in Fig. 1 and Fig. 3, also can further arrange switchingcircuit 400 as shown in Figure 5.It should be noted that in addition, the electronic equipment in the present invention can be for possessing mobile phone, panel computer and the palmtop PC of intercommunication function.
The present invention is also openly applied to the control method of above-mentioned electronic equipment, refers to Fig. 6, the flow chart of a kind of control method that Fig. 6 is electronic equipment disclosed by the invention.This control method comprises:
Step S61: current in intercommunication pattern in the situation that at electronic equipment, the signal of telecommunication in detected electrons equipment on the first contact of earphone jack.
In the earphone being used in conjunction with electronic equipment disclosed by the invention, on the wire of being drawn by the first terminal, be in series with button, when the location status of button is different, the level difference of the signal of telecommunication at the first terminal place.Earphone is being inserted after the earphone jack of electronic equipment, the first contact in earphone jack is electrically connected with the first terminal in earphone, when therefore the location status of the button in earphone is different, and the level difference of the signal of telecommunication on the first contact in earphone jack.Controller in electronic equipment detects the signal of telecommunication on the first contact, judges whether to control electronic equipment enter call model or listen mode with this.
Step S62: meet first when pre-conditioned at the signal of telecommunication of the first contact, control electronic equipment and enter call model.
Step S63: meet second when pre-conditioned at the signal of telecommunication of the first contact, control electronic equipment and enter listen mode.
When the location status of button in earphone is different, in earphone jack, the level of the signal of telecommunication at the first place, contact is also different, in enforcement, different trigger conditions can be set, when the signal of telecommunication at the first place, contact meets corresponding condition, just control electronic equipment and enter corresponding pattern.
The above-mentioned disclosed control method of the present invention, at electronic equipment in intercommunication pattern in the situation that, the signal of telecommunication based on the first place, contact in earphone jack is controlled, at the signal of telecommunication, meet first when pre-conditioned, control electronic equipment and enter call model, at the signal of telecommunication, meet second when pre-conditioned, control electronic equipment and enter listen mode.For user, only need to adjust the position of button in earphone, make to produce and meet the pre-conditioned signal of telecommunication at the first place, contact of earphone, just can control electronic equipment and switch to listen mode or call model, simplified user's operating process.
In enforcement, first pre-conditioned and second pre-conditioned can be various ways.Here carry out brief description.
First is pre-conditionedly: the signal of telecommunication on the first contact is the first level signal.Accordingly, second is pre-conditionedly: the signal of telecommunication on the first contact is second electrical level signal.
Button in earphone is when diverse location, and the first terminal place in earphone can produce the different signals of telecommunication.Take singly-key type button as example, user can press or unclamp button, thereby produces a high level signal and a low level signal at the first terminal place.For example: when button is pressed, the first terminal is grounded, at the signal of telecommunication at the first terminal place, be 0V; When button is released, the signal of telecommunication at the first terminal place is positive voltage signal.
In above-mentioned first pre-conditioned and the second pre-conditioned process of controlling, controller is when the first level signal detecting on the first contact, control electronic equipment and enter call model, controller, when the second electrical level signal detecting on the first contact, is controlled electronic equipment and is entered listen mode.For user, user only need to carry out the operation of once adjusting key position, just can control electronic equipment and enter call model or listen mode, easy and simple to handle.
Or first is pre-conditionedly: the number of times that level changes occurs the signal of telecommunication of the first contact in Preset Time is the first numerical value.Accordingly, second pre-conditioned be that the number of times that level changes occurs in Preset Time is second value for the signal of telecommunication of the first contact.Controller detects the signal of telecommunication on the first contact, and determine that the number of times that level changes occurs the signal of telecommunication on the first contact in Preset Time, if the number of times that level changes is the first numerical value, control electronic equipment and enter call model, if the number of times that level changes is second number, controls electronic equipment and enter listen mode.For user, user will carry out the operation of repeatedly adjusting key position, just can control electronic equipment and enter call model or listen mode, although user's number of operations increases to some extent, can avoid occurring that user touches the problem that button causes occurring misoperation by mistake.
In addition, when being provided with switching circuit in electronic equipment, the control method of this electronic equipment as shown in Figure 7.Comprise:
Step S71: determine the operational mode that electronic equipment is current.
Step S72: current in the second pattern in the situation that at electronic equipment, first end and the second end controlled in the switching circuit of electronic equipment are communicated with.
Step S73: current in intercommunication pattern in the situation that at electronic equipment, the first end of controlling in the switching circuit of electronic equipment is communicated with the 3rd end.
Step S74: the signal of telecommunication in detected electrons equipment on the first contact of earphone jack.
Step S75: meet first when pre-conditioned at the signal of telecommunication of the first contact, control electronic equipment and enter call model.
Step S76: meet second when pre-conditioned at the signal of telecommunication of the first contact, control electronic equipment and enter listen mode.
Based on control method shown in Fig. 7, at electronic equipment in intercommunication pattern in the situation that, first end in control switch circuit is communicated with the 3rd end, to make controller can get the signal of telecommunication at the first terminal place in earphone, guarantee that user can say process by the state control pair of adjusting button in earphone; At electronic equipment in the second pattern in the situation that, first end in control switch circuit is communicated with the second end, so that the first contact in earphone jack is electrically connected with the second output of audio process, thereby the second output of audio process is electrically connected with the first terminal in earphone, avoid occurring the problem of the function element inefficacy being electrically connected with the first terminal, thereby improve user, experience.
In this specification, each embodiment adopts the mode of going forward one by one to describe, and each embodiment stresses is and the difference of other embodiment, between each embodiment identical similar part mutually referring to.For the disclosed device of embodiment, because it corresponds to the method disclosed in Example, so description is fairly simple, relevant part illustrates referring to method part.
Professional can also further recognize, unit and the algorithm steps of each example of describing in conjunction with embodiment disclosed herein, can realize with electronic hardware, computer software or the combination of the two, for the interchangeability of hardware and software is clearly described, composition and the step of each example described according to function in the above description in general manner.These functions are carried out with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can realize described function with distinct methods to each specifically should being used for, but this realization should not thought and exceeds scope of the present invention.
The software module that the method for describing in conjunction with embodiment disclosed herein or the step of algorithm can directly use hardware, processor to carry out, or the combination of the two is implemented.Software module can be placed in the storage medium of any other form known in random asccess memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field.
To the above-mentioned explanation of the disclosed embodiments, make professional and technical personnel in the field can realize or use the present invention.To the multiple modification of these embodiment, will be apparent for those skilled in the art, General Principle as defined herein can, in the situation that not departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention will can not be restricted to these embodiment shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.