CN103324485A - Method and device for setting shortcut keys - Google Patents

Method and device for setting shortcut keys Download PDF

Info

Publication number
CN103324485A
CN103324485A CN2013102724253A CN201310272425A CN103324485A CN 103324485 A CN103324485 A CN 103324485A CN 2013102724253 A CN2013102724253 A CN 2013102724253A CN 201310272425 A CN201310272425 A CN 201310272425A CN 103324485 A CN103324485 A CN 103324485A
Authority
CN
China
Prior art keywords
shortcut
input signal
sequence
buffer memory
terminal
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.)
Granted
Application number
CN2013102724253A
Other languages
Chinese (zh)
Other versions
CN103324485B (en
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310272425.3A priority Critical patent/CN103324485B/en
Publication of CN103324485A publication Critical patent/CN103324485A/en
Application granted granted Critical
Publication of CN103324485B publication Critical patent/CN103324485B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Input From Keyboards Or The Like (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention relates to the technical field of terminals and provides a method and a device for setting shortcut keys. The method includes: a terminal receives an input signal, when the input signal is recognized as a shortcut key recording instruction, the terminal starts a shortcut key recording mode; the terminal continues to receive a input signal and recognize whether the input signal is a shortcut key recording end instruction or not; if not, the input signal is recorded in a shortcut key sequence of cache; if so, saving the shortcut key sequence of the cache. By the method, shortcut key rerecording caused by remote controller losing or replacement can be avoided, and user experience can be increased by efficient terminal execution.

Description

A kind of method to set up of shortcut and device
Technical field
The present invention relates to the terminal technology field, be specifically related to a kind of method to set up and device of shortcut.
Background technology
Along with the development of digital technology, the level of the function on the terminal and user interface (UI, user interface) is more and more, when the user wants to open own common function or interface, may just need carry out multi-pass operations.In order to make the user can open oneself function or interface commonly used quickly, propose the concept of shortcut, by the use of shortcut, provide many facilities to the user, thereby functions of shortcut key is used widely in terminal as an important subsidiary function.
Before using shortcut, need carry out the setting of shortcut earlier.The kind of terminal device is a lot, and different terminals has different shortcut set-up modes.Terminal for the band telepilot, can adopt following mode to carry out the setting of shortcut: the user clicks shortcut on the telepilot and records button and enter the shortcut recording mode; After entering the shortcut recording mode, telepilot can journal each remote controller key of clicking of user, click shortcut until the user and record and finish button and withdraw from the shortcut recording mode; And the remote controller key corresponding remote controller signal that telepilot can be clicked the user of record forms the shortcut sequence by this sequential combination, and with a shortcut binding on this shortcut sequence and the telepilot.In follow-up use, the user only need click this shortcut, and telepilot will be with the terminal that is sent to of this shortcut sequence corresponding remote controller signal sequence.
From top scheme as can be seen: because the shortcut sequential recording is on telepilot, therefore after telepilot is lost or is changed telepilot, the user need carry out recording of shortcut again, simultaneously, after the user clicks shortcut, telepilot can only send remote controller signal in order, the execution of each signal will be visited terminal one time, and for this a series of remote signal, can be because the difference of signal, the time of handling also can be different, therefore very possible terminal is also when handling first remote controller signal, telepilot has sended over second remote controller signal, and when the processing of this second remote controller signal need be based on the result of first remote controller signal, mistake can appear in the result.
Summary of the invention
Embodiments of the invention provide a kind of method to set up and device of shortcut, when telepilot is lost or is carried out the telepilot replacing, the user does not need to record shortcut again, and the method to set up of shortcut and device can guarantee that the shortcut sequence can correctly be carried out by terminal.When shortcut is carried out, because in the method to set up of shortcut, comprised before the shortcut sequence is edited, can further when carrying out, improve the treatment effeciency of terminal.
The first aspect of the embodiment of the invention discloses a kind of method to set up of shortcut, and described method comprises:
Terminal receives input signal, after the described input signal of identification is the shortcut record command, and starting terminal shortcut recording mode; Terminal continues to receive input signal, and whether identify described input signal is that shortcut is recorded END instruction; Record END instruction if not shortcut, then the described input signal of record in the shortcut sequence of buffer memory; If shortcut is recorded END instruction, then preserve the shortcut sequence of buffer memory.
In conjunction with first aspect, in first kind of possible implementation, the input signal that receives behind the shortcut recording mode that has been recorded in starting terminal in the shortcut sequence of buffer memory specifically comprises:
Described input signal is converted to can be by the direct operational order of carrying out of described terminal;
Described operational order is recorded in the shortcut sequence of buffer memory.
In conjunction with first kind of first aspect or first aspect possible implementation, in second kind of possible implementation, also comprise before the shortcut sequence of preservation buffer memory:
Input signal in the shortcut sequence of buffer memory is edited.
In conjunction with second kind of first aspect possible implementation, in the third possible implementation, before the input signal in the shortcut sequence of buffer memory is edited, further comprise:
Reception is as the input signal of edit instruction;
Described input signal in the shortcut sequence of buffer memory is edited is specially:
According to described edit instruction the input signal in the shortcut sequence of buffer memory is edited.
In conjunction with the third possible implementation of second kind of first aspect possible implementation or first aspect, in the 4th kind of possible implementation, described input signal in the shortcut sequence of buffer memory is edited specifically comprises:
The operation of same type in the shortcut sequence of merging buffer memory;
And/or
Operation in the shortcut sequence of buffer memory is deleted;
And/or
Order to the operation in the shortcut sequence of buffer memory is adjusted.
Second kind of possible implementation or the third possible implementation of first aspect or the 4th kind of possible implementation of first aspect in conjunction with first kind of first aspect or first aspect possible implementation or first aspect, in the 5th kind of possible implementation, described shortcut sequence to buffer memory is preserved and is specially:
When the described input signal of identification is the binding signal, preserve the shortcut sequence of described binding signal, buffer memory and both corresponding relations.
The second aspect of the embodiment of the invention discloses a kind of setting device of shortcut, and described device comprises: receiving element is used for receiving input signal; Recognition unit is used for the input signal that the described receiving element of identification receives; Start unit is used for starting the shortcut recording mode when described recognition unit identifies described input signal and is the shortcut record command; Record cell, be used for starting the shortcut recording mode at described start unit, and it is not shortcut when recording END instruction that described recognition unit identifies input signal that receiving element receives, the input signal that the described receiving element of record receives in the shortcut sequence of buffer memory; Preserve the unit, be used for starting the shortcut recording mode at described start unit, and described recognition unit to identify input signal that receiving element receives be shortcut when recording END instruction, the shortcut sequence of preserving buffer memory.
In conjunction with second aspect, in first kind of possible implementation, described device also comprises: edit cell, be used for starting the shortcut recording mode at described start unit, and it is shortcut when recording END instruction that described recognition unit identifies input signal that receiving element receives, and the input signal in the shortcut sequence of buffer memory is edited; Described preservation unit, concrete being used for preserves the shortcut sequence of the buffer memory behind the described edit cell editor.
In conjunction with first kind of second aspect possible implementation, in second kind of possible implementation, described edit cell specifically is used for: when described recognition unit identifies input signal and is edit instruction, according to described edit instruction the input signal in the shortcut sequence of buffer memory is edited.
In conjunction with second kind of possible implementation of first kind of second aspect possible implementation or second aspect, in the third possible implementation, described edit cell specifically is used for:
The operation of same type in the shortcut sequence of merging buffer memory;
And/or
Operation in the shortcut sequence of buffer memory is deleted;
And/or
Order to the operation in the shortcut sequence of buffer memory is adjusted.
In conjunction with second kind of possible implementation of first kind of second aspect or second aspect possible implementation or second aspect or the third possible implementation of second aspect, in the 4th kind of possible implementation, described record cell specifically is used for: start the shortcut recording mode at described start unit, and it is not shortcut when recording END instruction that described recognition unit identifies input signal that receiving element receives, described input signal is converted into the operational order that can be carried out by described terminal; Described operational order is recorded in the shortcut sequence of buffer memory.
In conjunction with the third possible implementation of second kind of possible implementation of first kind of second aspect or second aspect possible implementation or second aspect or second aspect possible implementation of the 4th kind in conjunction with second aspect, in the 5th kind of possible implementation, described preservation unit specifically is used for: the input signal that identifies the receiving element reception when described recognition unit is when binding signal, to preserve the shortcut sequence of described binding signal, buffer memory and both corresponding relations.
From the above, in the method to set up of the shortcut that the embodiment of the invention provides, by terminal the shortcut sequence is preserved, when telepilot is lost or is carried out the telepilot replacing, do not need to carry out again the setting of shortcut, simultaneously, because the shortcut sequence is kept at terminal, therefore terminal is when carrying out the shortcut sequence, can wait until after a operational order in the shortcut sequence is performed and carry out next operational order again, even execution that therefore should next one operational order need the situation of failure also can not occur carrying out based on the execution result of a last operational order.Further, the terminal of the embodiment of the invention is before preserving the shortcut sequence, can earlier the input signal in the shortcut sequence be converted to can be by the direct operational order of carrying out of terminal, thereby directly can be kept in the shortcut sequence by the operational order that terminal is directly carried out, make terminal when carrying out the shortcut sequence, do not need to carry out the conversion operations of input signal, can improve the execution speed of shortcut sequence.Further, the terminal of the embodiment of the invention can be edited the shortcut sequence of buffer memory according to the input signal that receives before preserving the shortcut sequence, can further improve the treatment effeciency of terminal when carrying out.
Description of drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the invention, the accompanying drawing of required use is done to introduce simply in will describing embodiment below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
The process flow diagram of the method to set up of the shortcut that Fig. 1 provides for one embodiment of the invention;
The process flow diagram of the method to set up of the shortcut that Fig. 2 provides for another embodiment of the present invention;
The structural drawing of the setting device of the shortcut that Fig. 3 provides for one embodiment of the invention;
The structural drawing of the setting device of the shortcut that Fig. 4 provides for another embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
The method to set up of a kind of shortcut of the embodiment of the invention is described according to Fig. 1 below, what this method was described is the treatment scheme of terminal device, terminal device can be televisor (TV, television), set-top box, game machine etc. can be transfused to the equipment of equipment control, method comprises:
101, terminal receives input signal, after the described input signal of identification is the shortcut record command, and starting terminal shortcut recording mode.
In one embodiment of the invention, this shortcut record command is sent by input equipment, and this input equipment can be telepilot, keyboard, mobile phone etc.
The shortcut record command that terminal receives can be a specific input signal, this specific input signal is sent by input equipment after can having pressed the pattern conversion keys on the input equipment by the user, be used for the pattern of the current terminal of conversion, make terminal enter the shortcut recording mode.Wherein, this pattern conversion keys can be to arrange separately on the input equipment, also can be the shortcut that does not have corresponding shortcut sequence.
In one embodiment of the invention, if terminal is not in the shortcut recording mode, and the current input signal that receives is not the shortcut record command, then terminal can be added this input signal to the user operation case tabulation, wherein, input signal can be that channel switching signal or volume are adjusted signal etc.
In one embodiment of the invention, if terminal is not in the shortcut recording mode, and the current input signal that receives is the shortcut record command, and then terminal is converted to the shortcut recording mode with present mode, starts the shortcut recording operation.
In one embodiment of the invention, terminal if do not receive input signal in Preset Time, then can withdraw from the shortcut recording mode automatically after starting the shortcut recording mode.Wherein, Preset Time can be the default setting of terminal, also can be arranged according to the needs of oneself by the user; For example Preset Time can be 10 seconds, or 30 seconds, or 1 minute etc.Because after entering the shortcut recording mode, terminal can be not directly respond the input signal of input equipment, therefore terminal withdraws from the shortcut recording mode automatically behind Preset Time, thereby can user's input signal be responded normally, so the user can enjoy the facility that intellectuality brings.
102, terminal continues to receive input signal, and whether be shortcut record END instruction, record END instruction if not shortcut if identifying described input signal, then change 103 over to, otherwise change 104 over to.
In one embodiment of the invention, terminal is under the shortcut recording mode, the input signal that receives is carried out action type identification, do not record END instruction if the current input signal that receives is not shortcut, terminal then is recorded in this input signal in the shortcut sequence of buffer memory; Otherwise preserve the shortcut sequence of buffer memory.
103, record END instruction if not shortcut, then write input in the shortcut sequence of buffer memory.
Wherein, terminal has recorded input signal in the shortcut sequence after, continue to wait for the input of next input signal, namely can continue to carry out 102.
In one embodiment of the invention, terminal can directly be recorded in input signal in the shortcut sequence of buffer memory.
In another embodiment of the present invention, terminal can be converted to input signal the operational order that can directly be carried out by terminal earlier, and then this operational order is recorded in the shortcut sequence of buffer memory in the shortcut sequence of buffer memory during write input.
In one embodiment of the invention, input signal is arranged by the sequencing that receives in the shortcut sequence.In another embodiment of the present invention, input signal can be classified and is kept in the shortcut sequence, for example, can switch relevant input signal with channel and be kept at together, the input signal relevant with the volume conversion can be kept at together.
104 if shortcut is recorded END instruction, then preserves the shortcut sequence of buffer memory.
Wherein, in one embodiment of the invention, terminal can directly be preserved the shortcut sequence of buffer memory.In another embodiment of the present invention, terminal can be edited the shortcut sequence of buffer memory earlier before the shortcut of buffer memory is preserved, and then preserves the shortcut sequence behind the editor.
In another embodiment of the present invention, the editor that the shortcut sequence of buffer memory is carried out is triggered by the user, before then terminal is edited the shortcut sequence of buffer memory, can receive the input signal as edit instruction that input equipment sends, this moment terminal the shortcut sequence of buffer memory is edited specifically is according to this edit instruction the input signal in the shortcut sequence to be edited.
In one embodiment of the invention, terminal editor that the shortcut sequence is carried out can comprise following but be not limited in following 3 at least a in the mode:
1) merging is filtered in the operation of same type in the shortcut sequence of buffer memory, for example the operation of all volumes is merged and export a final volume then and this amalgamation result is placed on the head of shortcut sequence or afterbody etc.;
2) operation in the shortcut sequence of buffer memory is deleted, for example delete brightness adjustment operation, channel blocked operation etc.;
3) sequence of operation in the shortcut sequence of buffer memory is adjusted etc.
In one embodiment of the invention, terminal is after finishing shortcut sequence editor, further operate according to the input signal that receives, when if terminal recognition goes out this input signal for the binding signal, shortcut sequence, binding signal and both corresponding relations will be preserved, for example to add that a # symbol just can be used as be the binding signal for operation, and this operation can be a gesture, the input signal of certain button correspondence etc. on one section voice or the input equipment.
In one embodiment of the invention, terminal is after having preserved shortcut sequence, binding signal and both corresponding relations, if the input signal that receives during for the operation in the binding signal, then automatically performs shortcut.For example bind signal and be one section voice add one # number, in case the input signal that receives during for this section voice, terminal will be carried out the corresponding shortcut sequence of this section voice.
From the above, in the method to set up of the shortcut that the embodiment of the invention provides, by terminal the shortcut sequence is preserved, when telepilot is lost or is carried out the telepilot replacing, do not need to carry out again the setting of shortcut, simultaneously, because the shortcut sequence is kept at terminal, therefore terminal is when carrying out the shortcut sequence, can wait until after a operational order in the shortcut sequence is performed and carry out next operational order again, even therefore the execution of next operational order need the situation of failure also can not occur carrying out based on the execution result of a last operational order.Further, the terminal of the embodiment of the invention is before preserving the shortcut sequence, can earlier the input signal in the shortcut sequence be converted to can be by the direct operational order of carrying out of terminal, thereby directly can be kept in the shortcut sequence by the operational order that terminal is directly carried out, make terminal when carrying out the shortcut sequence, do not need to carry out the conversion operations of input signal, can improve the execution speed of shortcut sequence.Further, the terminal of the embodiment of the invention can be edited the shortcut sequence of buffer memory according to the input signal that receives before preserving the shortcut sequence, can further improve the treatment effeciency of terminal when carrying out.
The method to set up of a kind of shortcut of the embodiment of the invention is described as Fig. 2.
201, terminal receives input signal, after the described input signal of identification is the shortcut record command, and starting terminal shortcut recording mode.
In one embodiment of the invention, this shortcut record command is sent by input equipment, and this input equipment can be telepilot, keyboard, mobile phone etc.
The shortcut record command that terminal receives can be a specific input signal, this specific input signal is sent by input equipment after can having pressed the pattern conversion keys on the input equipment by the user, be used for the pattern of the current terminal of conversion, make terminal enter the shortcut recording mode.Wherein, this pattern conversion keys can be to arrange separately on the input equipment, also can be the shortcut that sets functions of shortcut key.
In one embodiment of the invention, if terminal is not in the shortcut recording mode, and the current input signal that receives is not the shortcut record command, then terminal can be added this input signal to the user operation case tabulation, wherein, input signal can be that channel switching signal or volume are adjusted signal etc.
In one embodiment of the invention, if terminal is not in the shortcut recording mode, and the current input signal that receives is the shortcut record command, and then terminal is converted to the shortcut recording mode with present mode, starts the shortcut recording operation.
In one embodiment of the invention, terminal if do not receive input signal in Preset Time, then can withdraw from the shortcut recording mode automatically after starting the shortcut recording mode.Wherein, Preset Time can be the default setting of terminal, also can be arranged according to the needs of oneself by the user; For example Preset Time can be 10 seconds, or 30 seconds, or 1 minute etc.Because after entering the shortcut recording mode, terminal can be not directly respond the input signal of input equipment, therefore terminal withdraws from the shortcut recording mode automatically behind Preset Time, continuation is according to user's input signal, respond normally, so the user can enjoy the facility that intellectuality brings.
202, terminal receives input signal, judges that whether input signal is that shortcut is recorded END instruction, records END instruction if not shortcut and then enters 203, otherwise enter 204.
In one embodiment of the invention, terminal is under the shortcut recording mode, the input signal that receives is carried out action type identification, do not record END instruction if the current input signal that receives is not shortcut, terminal then is recorded in this input signal in the shortcut sequence of buffer memory; Otherwise preserve the shortcut sequence of buffer memory.
203, terminal write input.
Wherein, terminal has recorded input signal in the shortcut sequence after, continue to wait for the input of next input signal, namely can continue to carry out 202.
In one embodiment of the invention, terminal can directly be recorded in input signal in the shortcut sequence of buffer memory.
In another embodiment of the present invention, terminal can be converted to input signal the operational order that can directly be carried out by terminal earlier, and then this operational order is recorded in the shortcut sequence of buffer memory in the shortcut sequence of buffer memory during write input.
In one embodiment of the invention, input signal is arranged by the sequencing that receives in the shortcut sequence.In another embodiment of the present invention, input signal can be classified and is kept in the shortcut sequence, for example, can switch relevant input signal with channel and be kept at together, the input signal relevant with the volume conversion can be kept at together.
204, terminal is edited the shortcut sequence of the buffer memory that recorded.
In one embodiment of the invention, the editor that the shortcut sequence of buffer memory is carried out is triggered by the user, before then terminal is edited the shortcut sequence of buffer memory, can receive the input signal as edit instruction that input equipment sends, this moment terminal the shortcut sequence of buffer memory is edited specifically is according to this edit instruction the input signal in the shortcut sequence to be edited.
In one embodiment of the invention, terminal editor that the shortcut sequence is carried out can comprise following but be not limited in following 3 at least a in the mode:
1) merging is filtered in the operation of same type in the shortcut sequence of buffer memory, for example the operation of all volumes is merged and export a final volume then and this amalgamation result is placed on the head of shortcut sequence or afterbody etc.;
2) operation in the shortcut sequence of buffer memory is deleted, for example delete brightness adjustment operation, channel blocked operation etc.;
3) sequence of operation in the shortcut sequence of buffer memory is adjusted etc.
205, terminal is preserved the shortcut sequence of buffer memory.
In one embodiment of the invention, terminal is after finishing shortcut sequence editor, further operate according to the input signal that receives, when if terminal recognition goes out this input signal for the binding signal, shortcut sequence, binding signal and both corresponding relations will be preserved, for example to add that a # symbol just can be used as be the binding signal for operation, and this operation can be a gesture, the input signal of certain button correspondence etc. on one section voice or the input equipment.
In one embodiment of the invention, terminal is after having preserved shortcut sequence, binding signal and both corresponding relations, if the input signal that receives during for the operation in the binding signal, then automatically performs shortcut.For example bind signal and be one section voice add one # number, in case the input signal that receives during for this section voice, terminal will be carried out the corresponding shortcut sequence of this section voice.
From the above, in the method to set up of the shortcut that the embodiment of the invention provides, by terminal the shortcut sequence is preserved, when telepilot is lost or is carried out the telepilot replacing, do not need to carry out again the setting of shortcut, simultaneously, because the shortcut sequence is kept at terminal, therefore terminal is when carrying out the shortcut sequence, can wait until after a operational order in the shortcut sequence is performed and carry out next operational order again, even execution that therefore should next one operational order need the situation of failure also can not occur carrying out based on the execution result of a last operational order.Further, the terminal of the embodiment of the invention is before preserving the shortcut sequence, can earlier the input signal in the shortcut sequence be converted to can be by the direct operational order of carrying out of terminal, thereby directly can be kept in the shortcut sequence by the operational order that terminal is directly carried out, make terminal when carrying out the shortcut sequence, do not need to carry out the conversion operations of input signal, can improve the execution speed of shortcut sequence.Further, the terminal of the embodiment of the invention can be edited the shortcut sequence of buffer memory according to the input signal that receives before preserving the shortcut sequence, can further improve the treatment effeciency of terminal when carrying out.Describe the setting device 30 of the shortcut of the embodiment of the invention below according to Fig. 3, as shown in Figure 3, device 30 comprises:
Receiving element 301, recognition unit 302, start unit 303, record cell 304, preservation unit 305.
Receiving element 301 is used for receiving input signal.
In one embodiment of the invention, receiving element 301 can receive various input signals, and for example shortcut record command, shortcut finish record command, instruction etc. is instructed, bound in general input.
In one embodiment of the invention, receiving element 301 received input signals are sent by input equipment, and this input equipment can be telepilot, keyboard, mobile phone etc.
In one embodiment of the invention, terminal if receiving element 301 does not receive input signal in Preset Time, then can withdraw from the shortcut recording mode automatically after starting the shortcut recording mode.For example Preset Time can be 10 seconds, or 30 seconds, or 1 minute etc.
Recognition unit 302 is used for the input instruction is identified.
In one embodiment of the invention, the input signal that 302 pairs of receiving elements 301 of recognition unit receive is identified, and is further processed according to the result of identification.
In one embodiment of the invention, be the shortcut record command if recognition unit 302 identifies input signal, and terminal is not in the shortcut recording mode, then handled by start unit 303.
In one embodiment of the invention, be that shortcut is recorded END instruction if recognition unit 302 identifies input signal, then handle by preserving unit 305.
In an embodiment of this unit, be general input signal if recognition unit 302 identifies input signal, then this input signal is added to the user operation case tabulation, wherein, input signal can be that channel switching signal or volume are adjusted signal etc.
Start unit 303 is used for identifying the input instruction for after the shortcut record command at recognition unit startup shortcut recording mode.
In one embodiment of the invention, when receiving element 301 receives an input signal, if terminal is not in the shortcut recording mode, and recognition unit 302 identifies the input instruction for after the shortcut record command, startup shortcut recording mode.
Record cell 304, being used for identifying input signal at recognition unit is not shortcut when recording END instruction, write input in the shortcut sequence of buffer memory.
In one embodiment of the invention, it is not shortcut when recording END instruction that record cell 304 is used for identifying input signal at recognition unit 302, and record cell 304 can directly be recorded in input signal in the shortcut sequence of buffer memory.
In one embodiment of the invention, it is not shortcut when recording END instruction that record cell 304 is used for identifying input signal at recognition unit 302, and input signal is converted into the operational order that can be carried out by terminal, and operational order is recorded in the shortcut sequence.
In one embodiment of the invention, input signal is arranged formation shortcut sequence by the sequencing that receives in record cell 304.In another embodiment of the present invention, input signal can be classified in the shortcut sequence that is kept at record cell 304, for example, can switch relevant input signal with channel and be kept at together, the input signal relevant with the volume conversion can be kept at together and wait.
Preserve unit 305, being used for identifying input signal at recognition unit 302 is shortcut when recording END instruction, the shortcut sequence of keeping records unit 304.
Before the shortcut sequence of preserving the 305 pairs of record cells 304 in unit is preserved, also comprise edit cell, edit cell can be edited the shortcut sequence in the record cell 305.
In one embodiment of the present of invention, identifying input signal at recognition unit 302 is after shortcut is recorded END instruction, before preservation unit 306 is preserved, can receive the input signal as edit instruction that input equipment sends, this moment edit cell the shortcut sequence in the record cell 304 is edited specifically is according to this edit instruction the input signal in the shortcut sequence to be edited.
In one embodiment of the invention, edit cell editor that the shortcut sequence is carried out can comprise following but be not limited in following 3 at least a in the mode:
1) merging is filtered in the operation of same type in the shortcut sequence of buffer memory, for example the operation of all volumes is merged the head of the shortcut sequence of exporting a final volume then and this amalgamation result being placed on buffer memory or afterbody etc.;
2) operation in the shortcut sequence of buffer memory is deleted, for example delete brightness adjustment operation, channel blocked operation etc.;
3) sequence of operation in the shortcut sequence of buffer memory is adjusted etc.
In one embodiment of the invention, edit cell is after finishing shortcut sequence editor, further operate according to the input signal that receives, if when recognition unit 302 identifies this input signal for the binding signal, will preserve shortcut sequence, binding signal and both corresponding relations.For example to add that a # symbol just can be used as be the binding signal for operation, and this operation can be a gesture, the input signal of certain button correspondence etc. on one section voice or the input equipment.
In one embodiment of the invention, preserve unit 306 after having preserved shortcut sequence, binding signal and both corresponding relations, if the input signal that receives during for the operation in the binding signal, then automatically performs shortcut.For example bind signal and be one section voice add one # number, in case the input signal that receives during for this section voice, terminal will be carried out the corresponding shortcut sequence of this section voice.
From the above, in the setting device of the shortcut that the embodiment of the invention provides, by terminal the shortcut sequence is preserved, when telepilot is lost or is carried out the telepilot replacing, do not need to carry out again the setting of shortcut, simultaneously, because the shortcut sequence is kept at terminal, therefore terminal is when carrying out the shortcut sequence, can wait until after a operational order in the shortcut sequence is performed and carry out next operational order again, even therefore the execution of next operational order need the situation of failure also can not occur carrying out based on the execution result of a last operational order.Further, the terminal of the embodiment of the invention is before preserving the shortcut sequence, can earlier the input signal in the shortcut sequence be converted to can be by the direct operational order of carrying out of terminal, thereby directly can be kept in the shortcut sequence by the operational order that terminal is directly carried out, make terminal when carrying out the shortcut sequence, do not need to carry out the conversion operations of input signal, can improve the execution speed of shortcut sequence.Further, the terminal of the embodiment of the invention can be edited the shortcut sequence of buffer memory according to the input signal that receives before preserving the shortcut sequence, can further improve the treatment effeciency of terminal when carrying out.
Describe the setting device 40 of the shortcut of the embodiment of the invention below according to Fig. 4, as shown in Figure 4, device 40 comprises:
Receiving element 401, recognition unit 402, start unit 403, record cell 404, edit cell 405, preservation unit 406.
Receiving element 401 is used for receiving input signal.
In one embodiment of the invention, receiving element 401 can receive various input signals, and for example shortcut record command, general input are instructed, binding is instructed etc.
In one embodiment of the invention, receiving element 401 received input signals are sent by input equipment, and this input equipment can be telepilot, keyboard, mobile phone etc.
In one embodiment of the invention, terminal if receiving element 401 does not receive input signal in Preset Time, then can withdraw from the shortcut recording mode automatically after starting the shortcut recording mode.For example Preset Time can be 10 seconds, or 30 seconds, or 1 minute etc.
Recognition unit 402 is used for the input instruction is identified.
In one embodiment of the invention, the input signal that 402 pairs of receiving elements 401 of recognition unit receive is identified, and is further processed according to recognition result.
In one embodiment of the invention, be the shortcut record command if recognition unit 402 identifies input signal, and terminal is not in the shortcut recording mode, then handled by start unit 403.
In one embodiment of the invention, be that shortcut is recorded END instruction if recognition unit 402 identifies input signal, then handled by edit cell 405.
In an embodiment of this unit, if it is general input signal that recognition unit 402 identifies input signal, and terminal is not in the shortcut recording mode, then this input signal is added to the user operation case tabulation, wherein, input signal can be that channel switching signal or volume are adjusted signal etc.
Start unit 403 is used for identifying the input instruction for after the shortcut record command at recognition unit startup shortcut recording mode.
In one embodiment of the invention, when receiving element 401 receives an input signal, if terminal is not in the shortcut recording mode, and recognition unit 402 identifies the input instruction for after the shortcut record command, startup shortcut recording mode; If terminal is not in the shortcut recording mode, and it is not the shortcut record command that recognition unit 402 identifies the input instruction, then this input signal is added to the user operation case tabulation, wherein, input signal can be that channel switching signal or volume are adjusted signal etc.
Record cell 404, being used for identifying input signal at recognition unit is not shortcut when recording END instruction, write input in the shortcut sequence of buffer memory.
In one embodiment of the invention, it is not shortcut when recording END instruction that record cell 404 is used for identifying input signal at recognition unit 402, and record cell 404 can directly be recorded in input signal in the shortcut sequence of buffer memory.
In one embodiment of the invention, it is not shortcut when recording END instruction that record cell 404 is used for identifying input signal at recognition unit 402, and input signal is converted into the operational order that can be carried out by terminal, and operational order is recorded in the shortcut sequence.
In one embodiment of the invention, input signal is arranged formation shortcut sequence by the sequencing that receives in record cell 404.In another embodiment of the present invention, input signal can be classified in the shortcut sequence that is kept at record cell 404, for example, can switch relevant input signal with channel and be kept at together, the input signal relevant with the volume conversion can be kept at together.
Edit cell 405, being used for identifying input signal at recognition unit is shortcut when recording END instruction, and the input signal in the shortcut sequence of buffer memory is edited.
In one embodiment of the present of invention, identifying input signal at recognition unit 402 is after shortcut is recorded END instruction, before preservation unit 406 is preserved, can receive the input signal as edit instruction that input equipment sends, it specifically is according to this edit instruction the input signal in the shortcut sequence to be edited that the shortcut sequence of 405 pairs of buffer memorys of edit cell this moment is edited.
In one embodiment of the invention, the editor that carries out of 405 pairs of shortcut sequences of edit cell can comprise following but be not limited in following 3 at least a in the mode:
1) merging is filtered in the operation of same type in the shortcut sequence of buffer memory, for example the operation of all volumes is merged the head of the shortcut sequence of exporting a final volume then and this amalgamation result being placed on buffer memory or afterbody etc.;
2) operation in the shortcut sequence of buffer memory is deleted, for example delete brightness adjustment operation, channel blocked operation etc.;
3) sequence of operation in the shortcut sequence of buffer memory is adjusted etc.
Preserve unit 406, being used for identifying input signal at recognition unit 402 is shortcut when recording END instruction, the shortcut sequence of keeping records unit 405.
In one embodiment of the invention, edit cell 406 is after finishing shortcut sequence editor, further operate according to the input signal that receives, if when recognition unit 402 identifies this input signal for the binding signal, will preserve shortcut sequence, binding signal and both corresponding relations.For example to add that a # symbol just can be used as be the binding signal for operation, and this operation can be a gesture, the input signal of certain button correspondence etc. on one section voice or the input equipment.
In one embodiment of the invention, preserve unit 406 after having preserved shortcut sequence, binding signal and both corresponding relations, if the input signal that receives during for the operation in the binding signal, then automatically performs shortcut.For example bind signal and be one section voice add one # number, in case the input signal that receives during for this section voice, terminal will be carried out the corresponding shortcut sequence of this section voice.
From the above, in the setting device of the shortcut that the embodiment of the invention provides, by terminal the shortcut sequence is preserved, when telepilot is lost or is carried out the telepilot replacing, do not need to carry out again the setting of shortcut, simultaneously, because the shortcut sequence is kept at terminal, therefore terminal is when carrying out the shortcut sequence, can wait until after a operational order in the shortcut sequence is performed and carry out next operational order again, even therefore the execution of next operational order need the situation of failure also can not occur carrying out based on the execution result of a last operational order.Further, the terminal of the embodiment of the invention is before preserving the shortcut sequence, can earlier the input signal in the shortcut sequence be converted to can be by the direct operational order of carrying out of terminal, thereby directly can be kept in the shortcut sequence by the operational order that terminal is directly carried out, make terminal when carrying out the shortcut sequence, do not need to carry out the conversion operations of input signal, can improve the execution speed of shortcut sequence.Further, the terminal of the embodiment of the invention can be edited the shortcut sequence of buffer memory according to the input signal that receives before preserving the shortcut sequence, can further improve the treatment effeciency of terminal when carrying out.
Used specific case herein principle of the present invention and embodiment are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and thought thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (12)

1. the method to set up of a shortcut is characterized in that, comprising:
Terminal receives input signal, after the described input signal of identification is the shortcut record command, and starting terminal shortcut recording mode;
At starting terminal behind the shortcut recording mode, whether the input signal that identification receives is that shortcut is recorded END instruction;
Record END instruction if not shortcut, the input signal that receives behind the shortcut recording mode that then in the shortcut sequence of buffer memory, has been recorded in starting terminal;
If shortcut is recorded END instruction, then preserve the shortcut sequence of buffer memory.
2. the method to set up of shortcut according to claim 1 is characterized in that, the input signal that receives behind the described shortcut recording mode that has been recorded in starting terminal in the shortcut sequence of buffer memory specifically comprises:
Described input signal is converted to can be by the direct operational order of carrying out of described terminal;
Described operational order is recorded in the shortcut sequence of buffer memory.
3. the method to set up of shortcut according to claim 1 and 2 is characterized in that, also comprises before the shortcut sequence of described preservation buffer memory:
Input signal in the shortcut sequence of buffer memory is edited.
4. the method to set up of shortcut according to claim 3 is characterized in that, before the input signal in the shortcut sequence of buffer memory is edited, further comprises:
Reception is as the input signal of edit instruction;
Described input signal in the shortcut sequence of buffer memory is edited is specially:
According to described edit instruction the input signal in the shortcut sequence of buffer memory is edited.
5. according to the method to set up of claim 3 or 4 described shortcuts, it is characterized in that described input signal in the shortcut sequence of buffer memory is edited specifically comprises:
The operation of same type in the shortcut sequence of merging buffer memory;
And/or
Operation in the shortcut sequence of buffer memory is deleted;
And/or
Order to the operation in the shortcut sequence of buffer memory is adjusted.
6. according to the method to set up of the arbitrary described shortcut of claim 1 to 5, it is characterized in that described shortcut sequence to buffer memory is preserved and is specially:
When the described input signal of identification is the binding signal, preserve the shortcut sequence of described binding signal, buffer memory and both corresponding relations.
7. the setting device of a shortcut is characterized in that, comprising:
Receiving element is used for receiving input signal;
Recognition unit is used for the input signal that the described receiving element of identification receives;
Start unit is used for starting the shortcut recording mode when described recognition unit identifies described input signal and is the shortcut record command;
Record cell, be used for starting the shortcut recording mode at described start unit, and it is not shortcut when recording END instruction that described recognition unit identifies input signal that receiving element receives, the input signal that the described receiving element of record receives in the shortcut sequence of buffer memory;
Preserve the unit, be used for starting the shortcut recording mode at described start unit, and described recognition unit to identify input signal that receiving element receives be shortcut when recording END instruction, the shortcut sequence of preserving buffer memory.
8. the setting device of shortcut according to claim 7 is characterized in that, also comprises:
Edit cell is used for starting the shortcut recording mode at described start unit, and described recognition unit to identify input signal that receiving element receives be shortcut when recording END instruction, the input signal in the shortcut sequence of buffer memory is edited;
Described preservation unit, concrete being used for preserves the shortcut sequence of the buffer memory behind the described edit cell editor.
9. the setting device of shortcut according to claim 8, it is characterized in that, described edit cell specifically is used for: when described recognition unit identifies input signal and is edit instruction, according to described edit instruction the input signal in the shortcut sequence of buffer memory is edited.
10. according to Claim 8 or the setting device of 9 described shortcuts, it is characterized in that described edit cell specifically is used for:
The operation of same type in the shortcut sequence of merging buffer memory;
And/or
Operation in the shortcut sequence of buffer memory is deleted;
And/or
Order to the operation in the shortcut sequence of buffer memory is adjusted.
11. the setting device according to the arbitrary described shortcut of claim 7-10 is characterized in that, described record cell specifically is used for:
Start the shortcut recording mode at described start unit, and described recognition unit to identify input signal that receiving element receives be not shortcut when recording END instruction, described input signal is converted into the operational order that can be carried out by described terminal; Described operational order is recorded in the shortcut sequence of buffer memory.
12. the setting device according to the arbitrary described shortcut of claim 7-11 is characterized in that, described preservation unit specifically is used for:
The input signal that identifies the receiving element reception when described recognition unit is when binding signal, to preserve the shortcut sequence of described binding signal, buffer memory and both corresponding relations.
CN201310272425.3A 2013-07-01 2013-07-01 The method to set up of a kind of shortcut and device Active CN103324485B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310272425.3A CN103324485B (en) 2013-07-01 2013-07-01 The method to set up of a kind of shortcut and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310272425.3A CN103324485B (en) 2013-07-01 2013-07-01 The method to set up of a kind of shortcut and device

Publications (2)

Publication Number Publication Date
CN103324485A true CN103324485A (en) 2013-09-25
CN103324485B CN103324485B (en) 2016-12-28

Family

ID=49193254

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310272425.3A Active CN103324485B (en) 2013-07-01 2013-07-01 The method to set up of a kind of shortcut and device

Country Status (1)

Country Link
CN (1) CN103324485B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104850325A (en) * 2015-05-21 2015-08-19 努比亚技术有限公司 Mobile terminal application processing method and device
CN104951093A (en) * 2014-03-31 2015-09-30 维沃移动通信有限公司 Mobile terminal capable of calling programs or functions by customizing keys and method of mobile terminal
CN105812929A (en) * 2014-12-30 2016-07-27 中兴通讯股份有限公司 Information call method and device
CN108932095A (en) * 2018-07-06 2018-12-04 深圳点猫科技有限公司 A kind of method, electronic equipment handling figure by shortcut key based on artificial intelligence

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1941860A (en) * 2005-09-30 2007-04-04 中兴通讯股份有限公司 Fast key system and realization for set-top box doamin
CN101097651A (en) * 2006-06-30 2008-01-02 康佳集团股份有限公司 Remote controller press keys setup method and system
CN101727190A (en) * 2008-10-15 2010-06-09 钟桂琳 Method for defining shortcut keys of inputting device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1941860A (en) * 2005-09-30 2007-04-04 中兴通讯股份有限公司 Fast key system and realization for set-top box doamin
CN101097651A (en) * 2006-06-30 2008-01-02 康佳集团股份有限公司 Remote controller press keys setup method and system
CN101727190A (en) * 2008-10-15 2010-06-09 钟桂琳 Method for defining shortcut keys of inputting device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104951093A (en) * 2014-03-31 2015-09-30 维沃移动通信有限公司 Mobile terminal capable of calling programs or functions by customizing keys and method of mobile terminal
CN104951093B (en) * 2014-03-31 2018-03-20 维沃移动通信有限公司 Caller or the mobile terminal and its method of function are realized by user-defined press key
CN105812929A (en) * 2014-12-30 2016-07-27 中兴通讯股份有限公司 Information call method and device
CN104850325A (en) * 2015-05-21 2015-08-19 努比亚技术有限公司 Mobile terminal application processing method and device
CN108932095A (en) * 2018-07-06 2018-12-04 深圳点猫科技有限公司 A kind of method, electronic equipment handling figure by shortcut key based on artificial intelligence

Also Published As

Publication number Publication date
CN103324485B (en) 2016-12-28

Similar Documents

Publication Publication Date Title
EP2903249B1 (en) Mobile terminal and controlling method thereof
CN103197756B (en) A kind of operation information inputting method of electronic equipment and electronic equipment
CN104166458A (en) Method and device for controlling multimedia player
CN105045411A (en) Object control method and terminal
CN104793969B (en) Application program discharging method and device
CN105549840A (en) Conversation control method and conversation control terminal
CN102999334A (en) Android platform-based shortcut implementation method, device and terminal
CN104505108B (en) A kind of information locating method and terminal
CN103488960A (en) Misoperation preventing method and touch screen terminal equipment
CN103533135A (en) Method and mobile terminal for shortcut operation of contacts
CN105468264B (en) Method and device for controlling application program according to control mode and terminal equipment
CN103324485A (en) Method and device for setting shortcut keys
CN104331237A (en) Method and device for starting application programs
CN104980557A (en) Multi-card switching method and device for mobile phone terminal and terminal
CN102929980A (en) Folder cleaning method and device
CN105573778A (en) Method for starting application program and terminal
CN105335198A (en) Font addition method and device
CN104503690A (en) Arrangement method and device for application icons
CN107124568A (en) A kind of video recording method and electronic equipment
CN104158720A (en) Chatting record clearing method and system, and mobile terminal
CN105262878A (en) Processing method of automatic call recording and mobile terminal
CN106648394A (en) Voice control method and system
CN104866198A (en) Method for implementing fast switching of display interface
CN103648001A (en) Switching method and apparatus
CN105280204A (en) Multi-media file play method, device and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant