Summary of the invention
The technical problem to be solved in the present invention provides a kind of portable terminal and earphone control portable terminal carries out method of operating, makes the user can utilize earphone that portable terminal is operated, and reduces user's operation easier, is user-friendly to.
For solving the problems of the technologies described above, embodiments of the invention provide technical scheme as follows:
On the one hand, provide a kind of portable terminal, this portable terminal comprises at least one function key, power management chip, earphone interface; And
Processing module is connected with described earphone interface, is used to receive the push button signalling of the earphone that comes by described earphone interface transmission, and simulates described function key according to described push button signalling described portable terminal is operated;
Voice cue module is connected respectively with described earphone interface with described processing module, is used for producing and the corresponding information of voice prompt of described operation interface when detecting described portable terminal and enter an operation interface according to described push button signalling.Wherein, described processing module comprises:
First processing module is used to receive the push button signalling of clicking by the next earphone of described earphone interface transmission, and simulates downward navigation key according to the described push button signalling of clicking, and described portable terminal is operated;
Second processing module is used to receive the double-click push button signalling by the next earphone of described earphone interface transmission, and simulates left soft key according to described double-click push button signalling, and described portable terminal is operated;
The 3rd processing module, the length that is used to receive by the next earphone of described earphone interface transmission is hit push button signalling, and hits push button signalling according to described length and simulate right soft key, and described portable terminal is operated;
Above-mentioned second processing module comprises:
First detection module is used for controlling the operation interface that described portable terminal enters the submenu of described current selecteed menu according to described double-click push button signalling when detecting the selecteed menu of current operation interface submenu is arranged;
Second detection module is used for controlling described portable terminal according to described double-click push button signalling and entering described current selecteed contents of menus display interface when detecting the selecteed menu of current operation interface and do not have submenu;
The 3rd detection module, be used for when detecting the selecteed menu of current operation interface prompting message is arranged, control the display interface that described portable terminal enters described prompting message according to described double-click push button signalling, according to the prompting message in the display interface of described prompting message, the submenu or the content display interface of described selecteed menu are operated accordingly again.
The embodiment of the invention also provides a kind of portable terminal, comprises at least one function key, power management chip, earphone interface, processing module and voice cue module.
Processing module is connected with earphone interface, is used to receive the push button signalling of the earphone that comes by described earphone interface transmission, and simulates described function key according to described push button signalling described portable terminal is operated;
Voice cue module is connected respectively with earphone interface with processing module, is used for producing and the corresponding information of voice prompt of described operation interface when detecting described portable terminal and enter an operation interface according to described push button signalling.This portable terminal also comprises:
First control module is connected with described earphone interface with described power management chip, and the length that is used to receive earphone is hit push button signalling, hits the closing key that push button signalling is simulated described portable terminal according to described length, and described power management chip is carried out power operation.
Perhaps, this portable terminal also comprises:
Second control module, be connected with described earphone interface with described power management chip, be used for when detecting described portable terminal and be in off-mode, the length that receives earphone is hit push button signalling, and hit push button signalling according to described length and start described power management chip, control described power management chip and power on for described portable terminal, and start.
On the other hand, provide a kind of earphone control portable terminal to carry out method of operating, this method comprises the steps:
Receive the push button signalling of earphone, and the function key of simulating described portable terminal according to described push button signalling is operated to described portable terminal;
When detecting described portable terminal and enter an operation interface, produce and the corresponding information of voice prompt of described operation interface according to described push button signalling;
Play described information of voice prompt.
Comprise that also the length that receives earphone is hit push button signalling, hits the closing key that push button signalling is simulated described portable terminal according to described length, and described power management chip is carried out power operation.
More excellent, this method also comprises, when detecting described portable terminal and be in off-mode, the length that receives earphone is hit push button signalling, and hit the power management chip that push button signalling starts described portable terminal according to described length, control described power management chip and power on for described portable terminal, and start.
Embodiments of the invention have following beneficial effect:
In the such scheme, portable terminal is by receiving the push button signalling of earphone, according to function corresponding key on the push button signalling simulating mobile terminal portable terminal is operated accordingly, and when portable terminal whenever enters an operation interface, provide corresponding information of voice prompt, the user is not too conveniently being seen under the situation that mobile terminal screen is operated, only utilize the earphone key just can carry out relevant operation portable terminal, reduce user's operation easier, user-friendly.
Embodiment
For technical problem, technical scheme and advantage that embodiments of the invention will be solved is clearer, be described in detail below in conjunction with the accompanying drawings and the specific embodiments.
Embodiments of the invention are single at the earpiece application of mobile phone in the prior art, the user not too conveniently sees the mobile phone under the situation that screen operates, can't make full use of the problem of function of the earphone of mobile phone, provide a kind of portable terminal and earphone control portable terminal to carry out method of operating.
As shown in Figure 1, embodiments of the invention portable terminal 1 comprises at least one function key 10, power management chip 11, and by earphone interface 12 wired or that wireless mode is connected with portable terminal 1 matching used earphone, and
Processing module 13 is connected with earphone interface 12, is used to receive the push button signalling of the earphone that comes by earphone interface 12 transmission, and operates according to 10 pairs of portable terminals 1 of push button signalling analog functuion key; The function key 10 here can be the last directionkeys of mobile phone, following directionkeys, LeftArrow, right key, the left soft key (LSK) on the mobile terminal screen, right soft key (RSK), the key that receives calls, start/closing key etc., in an embodiment of the present invention, simulate downward navigation key, left soft key and right soft key are realized the operation of earphone to portable terminal.
Voice cue module 14 is connected with earphone interface 12, is used for producing and the corresponding information of voice prompt of this operation interface when detecting portable terminal 1 and enter an operation interface according to above-mentioned push button signalling.As when portable terminal 1 enters the operation interface of inbox according to the push button signalling of above-mentioned earphone, can provide " inbox " or " entering inbox " or similar information of voice prompt, perhaps, when the user entered the display interface of note, voice cue module 14 can be converted into voice messaging with the Word message of short message content and be prompted to the user.
The foregoing description portable terminal 1 is by receiving the push button signalling of earphone, according to function corresponding key on the push button signalling simulating mobile terminal portable terminal is operated accordingly, and when portable terminal whenever enters an operation interface, provide corresponding information of voice prompt, the user is not too conveniently being seen under the situation that mobile terminal screen is operated, only utilize the earphone key just can carry out relevant operation to portable terminal, user-friendly; Because the earphone major part has only a button, produce different push button signallings by single key stroke portable terminal is gone up corresponding operation earphone, reduced the difficulty of user's operation; Again because when utilizing earphone that portable terminal is operated, the screen of portable terminal is not lighted, and has saved the power consumption of portable terminal so again.
As shown in Figure 2, in above-mentioned embodiment shown in Figure 1, the concrete structure schematic diagram of the processing module 13 in the portable terminal 1, this processing module 13 specifically comprises:
First processing module 131 is used to receive the push button signalling of clicking by the next earphone of earphone interface 12 transmission, and clicks push button signalling according to this and simulate downward navigation key (down), and portable terminal 1 is operated, and enters corresponding operation interface;
Second processing module 132 is used to receive the double-click push button signalling by the next earphone of earphone interface 12 transmission, and simulates left soft key (LSK) according to this double-click push button signalling, and portable terminal 1 is operated, and enters corresponding operation interface;
The 3rd processing module 133, the length that is used to receive by the next earphone of earphone interface 12 transmission is hit push button signalling, and hits push button signalling according to this length and simulate right soft key (RSK), and portable terminal 1 is operated, and enters corresponding operation interface.
Among this embodiment, under the hardware condition that does not change present earphone, the singly-bound of earphone is carried out three trigger events, i.e. click event, double-click incident and the long incident of hitting; Wherein, when the singly-bound of earphone is clicked, trigger click event, produce one and click push button signalling; When the singly-bound of earphone is double-clicked, trigger the double-click incident, produce one and double-click push button signalling; When the singly-bound length of earphone is hit, trigger the long incident of hitting, produce a long push button signalling that hits; When these push button signallings are transferred to portable terminal 1, can simulate different function keys respectively portable terminal is operated.
Specifically, portable terminal 1 receives when clicking push button signalling, can simulate the operation that downward navigation key moves down menu; Portable terminal 1 receives when double-clicking push button signalling, can simulate left soft key (LSK), be options button or acknowledgement key or reading key or the operation keys etc. on the mobile phone screen, enter the submenu of current selecteed menu or open current selecteed contents of menus etc.; Portable terminal 1 is receiving longly when hitting push button signalling, can simulate right soft key (RSK), and promptly return key on the mobile phone screen or ESC Escape return the upper level operation interface of current selecteed menu place operation interface etc.
As Fig. 3, in above-mentioned embodiment shown in Figure 2, the concrete structure schematic diagram of second processing module 132 of processing module 13, this second processing module 132 specifically comprises:
First detection module 1321 is used for when detecting the selecteed menu of current operation interface submenu is arranged, and enters the operation interface of the submenu of current selecteed menu according to this double-click push button signalling control portable terminal 1;
Second detection module 1322 is used for when detecting the selecteed menu of current operation interface and do not have submenu, enters described current selecteed contents of menus display interface according to this double-click push button signalling control portable terminal 1;
The 3rd detection module 1323, be used for when detecting the selecteed menu of current operation interface prompting message is arranged, enter the display interface of prompting message according to this double-click push button signalling control portable terminal 1, according to the prompting message in the display interface, the submenu or the content display interface of selecteed menu are operated accordingly again.
As shown in Figure 4, for first processing module 131 of above-mentioned portable terminal receive earphone click push button signalling the time an operation interface schematic diagram; Wherein, function key 1 is the LSK key, function key 2 is the RSK key, when first processing module 131 receive earphone click push button signalling the time, simulate downward navigation key, can shift to next menu LIST3 from the LIST2 of current selection, can produce an information of voice prompt simultaneously, the prompting user has entered the LIST3 menu; When being rolled to last of LIST tabulation, click push button signalling as receiving again, then roll back to first of LIST tabulation.
As Fig. 5, Fig. 6, shown in Figure 7, be the operation interface schematic diagram of second processing module 132 when receiving the double-click push button signalling of earphone of above-mentioned portable terminal; Wherein shown in Figure 5 is that first detection module 1321 selecteed menu LIST2 in detecting current operation interface has submenu LIST21, LIST22, during LIST23, enter the operation interface (being defaulted as first submenu LIST21 that selects LIST2) of the submenu LIST21 of current selecteed menu LIST2 according to this double-click push button signalling control portable terminal 1; Second detection module 1322 shown in Figure 6 selecteed menu LIST2 in detecting current operation interface does not have submenu, then shows the content of this menu LIST2; Shown in Figure 7 is the 3rd detection module 1323 is when selecteed menu LIST2 has prompting message in detecting current operation interface, then eject the display interface of this prompting message, enter the display interface of prompting message according to this double-click push button signalling control portable terminal 1, again according to the prompting message in the display interface (as " opening ", " deletion ", " close " etc.), the submenu or the content display interface of selecteed menu are operated accordingly, follow corresponding voice suggestion simultaneously.
As shown in Figure 8, be the operation interface schematic diagram of the 3rd processing module 133 when the length that receives earphone is hit push button signalling of above-mentioned portable terminal; When the length that receives earphone when first processing module 131 is hit push button signalling, simulate right soft key (RSK), it is function key 2, generally, be the return key or the ESC Escape of portable terminal, portable terminal 1 can turn back to the last action interface from the LIST2 of current selection, as nine palace lattice menu interfaces among the figure, can produce an information of voice prompt simultaneously, the prompting user has entered nine palace lattice menu interfaces, be generally the first interface of mobile phone, the nine palace lattice menu interfaces here just are described as an example, and being not limited to is nine palace lattice menu interfaces, also can be as 12 palace lattice menu interfaces, perhaps other operation interface is the higher level's operation interface that turns back to current operation interface in a word.
Same, as shown in Figure 9, for in this nine palaces lattice menu interface, if click the singly-bound of earphone, first processing module 131 of portable terminal 1 can receive clicks push button signalling, at this moment, can simulate the operation that downward navigation key turns over downwards equally, be the next menu of shifting to this selecteed menu from current selecteed menu too on nine palace lattice menu interfaces, as shifting to next menu Gird6 from selecteed menu Gird5 among the figure, if last menu, when clicking push button signalling as receiving again, roll back to first menu of this operation interface, follow corresponding voice suggestion simultaneously.
As shown in figure 10, for in nine palace lattice menu interfaces, if double-click the singly-bound of earphone, second processing module 132 of portable terminal can receive the double-click push button signalling, at this moment, can simulate left soft key (LSK) equally, be options button or acknowledgement key or the reading key or the operation keys of mobile phone, if the first detection module 1321 of portable terminal 1 detects current selecteed menu when submenu is arranged, enter the submenu operation interface of this selecteed menu, be defaulted as first submenu that enters this selecteed menu; Do not have submenu to advance if second detection module 1322 of portable terminal 1 detects current selecteed menu, directly enter the operation interface that shows this selecteed contents of menus; If the 3rd detection module 1323 of portable terminal 1 detects current selecteed menu when prompting message is arranged, then eject the display interface of this prompting message, control the display interface that portable terminal 1 enters prompting message according to this double-clicks push button signalling.Simultaneously, above-mentioned various situation all can be followed corresponding information of voice prompt.
As shown in figure 11, for in nine palace lattice menu interfaces, if the long singly-bound that hits earphone, the 3rd processing module 133 of portable terminal can receive length and hit push button signalling, at this moment, the right soft key (RSK) of meeting simulating mobile terminal 1, be the return key or the ESC Escape of mobile phone, turn back to standby interface from nine current palace lattice menu interfaces, and follow corresponding voice suggestion, the user can be conveniently knowing what state is current mobile terminal be in like this, and is user-friendly.
As shown in figure 12, embodiments of the invention portable terminal 1 also comprises first control module 15, be connected with earphone interface 12 with the power management chip 11 of portable terminal 1, the length that is used to receive earphone is hit push button signalling, hit the closing key of push button signalling simulating mobile terminal 1 according to this length, power management chip 11 is carried out power operation, to reach purpose by 1 shutdown of earphone control portable terminal.
Same, this portable terminal also can comprise second control module 16, be connected with earphone interface 12 with power management chip 11, be used for when detecting portable terminal 1 and be in off-mode, the length that receives earphone is hit push button signalling, and hit push button signalling according to this length and start 11 in power management core, the control power management chip powers on to portable terminal, to reach the purpose by 1 start of earphone control portable terminal.Specifically, this second control module 16 need be connected with the poweron pin on the power management chip 11, like this, under off-mode, length is pressed the earphone key, produces a long push button signalling that hits, this signal is delivered to the poweron pin of power management chip by second control module 16, the activating power managing chip, whole system powers on, then start.
Among above-mentioned each embodiment, portable terminal 1 whenever enters an operation interface under the control of the push button signalling of earphone, voice cue module 14 will produce an information of voice prompt, this information of voice prompt promptly can be transferred to the sound playing unit of earphone by earphone interface 12, the prompting user; Also can be transferred to the loud speaker 17 of portable terminal, this information of voice prompt is played back, the prompting user.
In sum, portable terminal 1 is by receiving the different key signal of earphone, simulating different function keys respectively operates accordingly, make the user under the situation of the screen of being inconvenient to see portable terminal, remove operating mobile terminal easily, as read new message, start, shutdown is listened to the music etc., realizes the control action of earphone; When utilizing the earphone operating mobile terminal, only by information of voice prompt, point out the user, and need not light the screen of portable terminal, reduced the power consumption of portable terminal, increased the stand-by time of portable terminal.
As shown in figure 13, embodiments of the invention also provide a kind of earphone control portable terminal to carry out method of operating, comprise the steps:
Step S131 receives the push button signalling of earphone, and the function key of simulating this portable terminal according to this push button signalling is operated this portable terminal;
Step S132 when detecting this portable terminal and enter an operation interface according to described push button signalling, produces and the corresponding information of voice prompt of this operation interface;
Step S133 plays this information of voice prompt.
Wherein, the push button signalling of the earphone among the step S131 can clicking push button signalling or double-clicking push button signalling or the long push button signalling that hits for: earphone;
When push button signalling when clicking push button signalling, portable terminal is operated this portable terminal accordingly according to this downward navigation key of clicking the push button signalling simulating mobile terminal, and enters corresponding operation interface, as turning over menu downwards;
When push button signalling is when double-clicking push button signalling, portable terminal is double-clicked the left soft key (LSK) of push button signalling simulating mobile terminal according to this, be options button or definite key, this portable terminal is operated accordingly, and enter corresponding operation interface, as enter the submenu of current selected menu or enter current selected contents of menus display interface or enter the prompting message window of current selected menu.
When push button signalling hits push button signalling for length, portable terminal hits the right soft key (RSK) of push button signalling simulating mobile terminal according to this length, be return key or ESC Escape, this portable terminal is operated accordingly, and enter corresponding operation interface, as turn back to the first interface the nine palace lattice or turn back to standby interface etc.
In addition, in the said method, when portable terminal hits push button signalling in the length that receives earphone, also can hit the closing key that push button signalling is simulated this portable terminal, power management chip is carried out power operation according to this length; And when detecting this portable terminal and be in off-mode, hit the power management chip that push button signalling starts this portable terminal according to this length, control this power management chip and power on for this portable terminal, and start.
To sum up, method embodiment of the present invention is by receiving the push button signalling of earphone, and according to these different push button signallings, respectively portable terminal is operated accordingly, give the user with corresponding voice suggestion simultaneously, portable terminal can be controlled by earphone, be inconvenient to see under the situation that mobile terminal screen operates the user, only utilize the earphone key just can to portable terminal except that editor whole operations, promptly reduced user's operation easier, simultaneously because when utilizing earphone that portable terminal is carried out control operation, the screen of portable terminal is not lighted, and has saved the power consumption of portable terminal again.
The above is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from principle of the present invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.