CN104298455B - A kind of shortcut command generation method and electronic equipment - Google Patents

A kind of shortcut command generation method and electronic equipment Download PDF

Info

Publication number
CN104298455B
CN104298455B CN201310296024.1A CN201310296024A CN104298455B CN 104298455 B CN104298455 B CN 104298455B CN 201310296024 A CN201310296024 A CN 201310296024A CN 104298455 B CN104298455 B CN 104298455B
Authority
CN
China
Prior art keywords
trace
sliding trace
touch screen
sliding
default
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.)
Active
Application number
CN201310296024.1A
Other languages
Chinese (zh)
Other versions
CN104298455A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201310296024.1A priority Critical patent/CN104298455B/en
Publication of CN104298455A publication Critical patent/CN104298455A/en
Application granted granted Critical
Publication of CN104298455B publication Critical patent/CN104298455B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04808Several contacts: gestures triggering a specific function, e.g. scrolling, zooming, right-click, when the user establishes several contacts with the surface simultaneously; e.g. using several fingers or a combination of fingers and pen

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the present invention, which provides a kind of shortcut command generation method and electronic equipment, wherein method, to be included:The operation of detection first;If first operation is to be operated to complete on touch screen at the same time by least two operating bodies, and the corresponding operation trace of first operation meets default first condition, then detects the slide on touch screen;Identify the corresponding sliding trace of the slide;If the sliding trace is corresponding with default sliding trace, shortcut command corresponding with the sliding trace is generated.The embodiment of the present invention can generate shortcut command, and the limitation without application scenarios in the case where easily operating.

Description

A kind of shortcut command generation method and electronic equipment
Technical field
The present invention relates to technical field of touch control, more specifically to a kind of shortcut command generation method and electronic equipment.
Background technology
Shortcut function is often referred to functions of shortcut key, you can function possessed by electronic equipment is realized by shortcut key, During the realization of functions of shortcut key, the corresponding shortcut command of shortcut function, Ran Hou are first generated often by shortcut key The realization of shortcut function is triggered by shortcut command.On traditional electronic equipment with physical keyboard, secondary or physical bond can be passed through Some shortcuts or combination button generation shortcut command on disk;If PC is when opening word document, the secondary or physical bond of PC can be passed through The corresponding shortcut commands of function such as the newly-built of some combination buttons generation word document, preservation, printing on disk, such as in secondary or physical bond The combination button of Ctrl+S is pressed on disk can generate the corresponding shortcut command of preservation of word document, so as to fulfill word document Preserve operation;And for example on the mobile phone with physical keyboard, address list, short message can be generated by the specific physical button on mobile phone The shortcut command transferred of content, so complete address list, short message content is transferred, without carrying out address list on mobile phone, Address list, short message content are transferred after the selection of short message icon again, so that user's operation is more convenient.
With the development of touch technology, to make user more easily operate touch control device, realized on touch control device fast Prompt function becomes focus of concern.It is real by some shortcuts on physical keyboard or combination button based on the prior art , there is the quick life of combination button generation on a kind of dummy keyboard by touch control device at present in the enlightenment of existing shortcut function Order, realizes the technology of shortcut function, if smart mobile phone is when opening word document, by the same press what is set on dummy keyboard At least two buttons, generate corresponding shortcut command, realize the feature operation to word document.However, by dummy keyboard Combination button generation shortcut command mode, it is necessary to the manual pressing dummy keyboard button of user, when dummy keyboard button When showing that area is smaller, the operation of user is simultaneously inconvenient;And shortcut command is generated by the combination button on dummy keyboard Mode needs first to wake up dummy keyboard so that dummy keyboard the operation interface of touch control device show just can, and this causes touch-control The mode of equipment generation shortcut command has the limitation of application scenarios, and the application scenarios for that can not wake up dummy keyboard, are touched Control equipment will be unable to generation shortcut command, can not realize shortcut function.
As can be seen that by way of the existing combination button dummy keyboard generates shortcut command, it is operated and inconvenience And the limitation with application scenarios, it is unsatisfactory that it generate the effect of shortcut command on touch control device, therefore offer one Kind simple operation, and the shortcut command generating mode being applicable between multiple application scenarios becomes what those skilled in the art's needs solved Problem.
The content of the invention
In view of this, the embodiment of the present invention provides a kind of shortcut command generation method and electronic equipment, existing fast to solve The operation of prompt order generating mode is simultaneously inconvenient, and has the problem of application scenarios limitation.
To achieve the above object, the embodiment of the present invention provides following technical solution:
A kind of shortcut command generation method, applied to the electronic equipment with touch screen, the described method includes:
The operation of detection first;
If first operation is to be operated to complete on touch screen at the same time by least two operating bodies, and first operation Corresponding operation trace meets default first condition, then detects the slide on touch screen;
Identify the corresponding sliding trace of the slide;
If the sliding trace is corresponding with default sliding trace, shortcut command corresponding with the sliding trace is generated.
Wherein, the default first condition is:The corresponding operation trace of first operation is number and described at least two The identical operating point of the quantity of a operating body;
The determination process that the operation trace of first operation meets default first condition includes:
If it is to be operated to complete on touch screen at the same time by least two operating bodies to detect first operation, and described the The corresponding operation trace of one operation is the number operating point identical with the quantity of at least two operating body, it is determined that first The operation trace of operation meets default first condition.
Wherein, the slide on the current touch screen of detection includes:
When detecting that first operation is maintaining on the touch screen, the second operation on touch screen is detected, it is described The slide that second operation carries out for other operating bodies on touch screen.
Wherein, the process of generation shortcut command corresponding with the sliding trace includes:
The corresponding source operational order of shielding generation second operation;
If the corresponding sliding trace of second operation is correspondings with default sliding trace, the set in advance and cunning is generated The corresponding shortcut command of dynamic rail mark.
Wherein, the default first condition is:The operation trace of first operation is number and described at least two behaviour Make the identical sliding trace of the quantity of body, and the corresponding track homomorphosis of each sliding trace;
The determination process that the operation trace of first operation meets default first condition includes:
If detect it is described first operation be by least two operating bodies at the same time on touch screen slide complete, it is described The operation trace of first operation is the number sliding trace identical with the quantity of at least two operating body and respectively to slide rail The corresponding track homomorphosis of mark, it is determined that the operation trace of first operation meets default first condition.
Wherein, the slide on the current touch screen of detection includes:The operation of detection first.
Wherein, the process of generation shortcut command corresponding with the sliding trace includes:
In the operating process of the described first operation, the source operation corresponding to the detected slide of shielding generation refers to Order;
After described first operates, if the corresponding sliding trace of first operation is corresponding with default sliding trace, Generate shortcut command corresponding with the sliding trace set in advance.
Wherein, the process of generation shortcut command corresponding with the sliding trace includes:
The corresponding sliding speed of the operation of detection first;
If the sliding speed meets pre-set velocity, in the operating process of the described first operation, shielding generation is examined Source operational order corresponding to the slide measured;
If the sliding speed meets pre-set velocity, after described first operates, and first operation corresponds to Sliding trace it is corresponding with default sliding trace when, generate shortcut command corresponding with the sliding trace set in advance.
The embodiment of the present invention also provides a kind of electronic equipment, and the electronic equipment has touch screen, the electronic equipment bag Include:
First detection module, for detecting the first operation;
Judgment module, for judging whether first operation has been operated on touch screen by least two operating bodies at the same time Into, and whether the corresponding operation trace of first operation meets default first condition;
Second detection module, for the judgment module judge it is described first operation be by least two operating bodies at the same time Operate and complete on touch screen, and when the corresponding operation trace of first operation meets default first condition, detect touch screen On slide;
Identification module, for identifying the corresponding sliding trace of the slide;
Shortcut command generation module, for the sliding trace and default sliding trace to it is corresponding when the generation and cunning The corresponding shortcut command of dynamic rail mark.
Wherein, the default first condition is:The corresponding operation trace of first operation is number and described at least two The identical operating point of the quantity of a operating body;
The judgment module includes:
First judging unit, for judging whether first operation is grasped on touch screen by least two operating bodies at the same time Complete, and whether the corresponding operation trace of first operation is that number is identical with the quantity of at least two operating body Operating point.
Wherein, second detection module includes:
First detection unit, for when detecting that first operation is maintaining on the touch screen, detecting touch screen On the second operation, the slide that second operation is carried out on touch screen for other operating bodies.
Wherein, the shortcut command generation module includes:
First screen unit, the source operational order corresponding for shielding generation second operation;
First generation unit, for the described second corresponding sliding trace of operation and default sliding trace to it is corresponding when give birth to Into shortcut command corresponding with the sliding trace set in advance.
Wherein, the default first condition is:The operation trace of first operation is number and described at least two behaviour Make the identical sliding trace of the quantity of body, and the corresponding track homomorphosis of each sliding trace;
The judgment module includes:
Second judging unit, for judge first operation whether by least two operating bodies at the same time on touch screen it is sliding Dynamic operation is completed, whether the operation trace of first operation is that number is identical with the quantity of at least two operating body Sliding trace and whether the corresponding track form of each sliding trace is identical.
Wherein, second detection module includes:
Second detection unit, for detecting the first operation.
Wherein, the shortcut command generation module includes:
Secondary shielding unit, in the operating process of the described first operation, the detected slip of shielding generation to be grasped Make corresponding source operational order;
Second generation unit, for after described first operates, and the first corresponding sliding trace of operation with Shortcut command corresponding with the sliding trace set in advance is generated when default sliding trace is to corresponding to.
Wherein, the shortcut command generation module includes:
Sliding speed detection unit, for detecting the corresponding sliding speed of the first operation;
Sliding speed judging unit, for judging whether the sliding speed meets pre-set velocity;
3rd screen unit, for judging that the sliding speed meets pre-set velocity in the sliding speed judging unit When, in the operating process of the described first operation, the source operational order corresponding to the detected slide of shielding generation;
3rd generation unit, for judging that the sliding speed meets pre-set velocity in the sliding speed judging unit When, after described first operates, and when the corresponding sliding trace of first operation is corresponding with default sliding trace, give birth to Into shortcut command corresponding with the sliding trace set in advance.
Based on above-mentioned technical proposal, shortcut command generation method provided in an embodiment of the present invention, passes through at least two operations The first operation that body carries out on touch screen at the same time triggers the detection of the slide on touch screen, the behaviour of first operation Meet default first condition as track, when the slide detected sliding trace and default sliding trace to it is corresponding when generate Corresponding shortcut command.The embodiment of the present invention meets pre- in the first operation that at least two operating bodies carry out on touch screen at the same time If first condition when, the slide on touch screen can be detected, so as to generate quick life corresponding with default sliding trace Order, by way of generating shortcut command compared to the existing combination button dummy keyboard, the embodiment of the present invention can be easily The lower generation shortcut command of operation, and the limitation without application scenarios.The embodiment of the present invention solves existing shortcut command life Operation and inconvenience into mode, and there is the problem of application scenarios limitation.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is attached drawing needed in technology description to be briefly described, it should be apparent that, drawings in the following description are the present invention Some embodiments, for those of ordinary skill in the art, without creative efforts, can also basis These attached drawings obtain other attached drawings.
Fig. 1 is the flow chart of shortcut command generation method provided in an embodiment of the present invention;
Fig. 2 is another flow chart of shortcut command generation method provided in an embodiment of the present invention;
Fig. 3 is user gesture schematic diagram provided in an embodiment of the present invention;
Fig. 4 is another user gesture schematic diagram provided in an embodiment of the present invention;
Fig. 5 is another user gesture schematic diagram provided in an embodiment of the present invention;
Fig. 6 is the another flow chart of shortcut command generation method provided in an embodiment of the present invention;
Fig. 7 is the structure diagram of electronic equipment provided in an embodiment of the present invention;
Fig. 8 is the structure diagram of judgment module provided in an embodiment of the present invention;
Fig. 9 is the structure diagram of the second detection module provided in an embodiment of the present invention;
Figure 10 is the structure diagram of shortcut command generation module provided in an embodiment of the present invention;
Figure 11 is another structure diagram of judgment module provided in an embodiment of the present invention;
Figure 12 is another structure diagram of the second detection module provided in an embodiment of the present invention;
Figure 13 is another structure diagram of shortcut command generation module provided in an embodiment of the present invention;
Figure 14 is the another structure diagram of shortcut command generation module provided in an embodiment of the present invention.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, the technical solution in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is Part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art All other embodiments obtained without making creative work, belong to the scope of protection of the invention.
Fig. 1 is the flow chart of shortcut command generation method provided in an embodiment of the present invention, and this method can be applied to tactile On the electronic equipment for controlling screen, with reference to Fig. 1, this method can include:
Step S100, the operation of detection first;
First operation can be operating body(Such as finger, capacitance pen etc.)The operation carried out on touch screen.
Step S110, judge whether first operation is operated on touch screen at the same time by least two operating bodies to complete, And described first operates whether corresponding operation trace meets default first condition, if judging result is to be, step is performed S120, if there are no, return to step S100 for judging result;
First operation can be had by the example that at least two operating bodies operate completion on touch screen at the same time:At least two behaviour Make body and press touch screen at the same time, or at least two operating bodies carry out slide etc. on touch screen at the same time.For the first operation Operation format, operation trace defined in first condition is also not quite similar, and first condition can be according to the operation shape of the first operation Formula and practical situations adjust.
Step S120, the slide on touch screen is detected;
If the first operation is slide, the slide on touch screen detected can be the first operation;If the One operation is non-slip operation, then is determining that operation is completed on touch screen at the same time by least two operating bodies for the first operation, and After the corresponding operation trace of first operation meets default first condition, the second operation occurred on touch screen need to be detected, Second operation is slide of other operating bodies on touch screen, other operating bodies refer to except above-mentioned at least two operations pointed out External operating body.
Step S130, the corresponding sliding trace of the slide is identified;
If step S140, described sliding trace is corresponding with default sliding trace, generate corresponding with the sliding trace fast Victory order.
Optionally, the embodiment of the present invention can prepositioned instruction table, have default sliding trace, and corresponding quick life defined in table The correspondence of order;After the sliding trace of slide is identified, the table can be compareed, determines that identified sliding trace is It is no corresponding with default sliding trace, so as to generate shortcut command corresponding with default sliding trace.
Shortcut command generation method provided in an embodiment of the present invention, it is enterprising in touch screen at the same time by least two operating bodies Capable first is operated to trigger the detection of the slide on touch screen, and the operation trace of first operation meets default first Condition, when the slide detected sliding trace and default sliding trace to it is corresponding when generate corresponding shortcut command.This hair Bright embodiment, can when at least two operating bodies meet default first condition in the first operation carried out on touch screen at the same time The slide on touch screen is detected, so that shortcut command corresponding with default sliding trace is generated, compared to existing by virtual The mode of the combination button generation shortcut command of keyboard, the embodiment of the present invention can generate shortcut command in the case where easily operating, And the limitation without application scenarios.The operation that the embodiment of the present invention solves existing shortcut command generating mode is not square Just, the problem of and with application scenarios limitation.
Optionally, the first operation that operation trace meets default first condition can be that at least two operating bodies press at the same time The corresponding operation of touch screen, corresponding, the operation trace of first operation is multiple operating points, the number of multiple operating points and institute It is identical to state the quantity of at least two operating bodies, i.e., an operating body corresponds to an operating point.Optionally, the operation rail of the first operation The determination process that mark meets default first condition can include:If detecting the first operation is existed at the same time by least two operating bodies Operate and complete on touch screen, and the corresponding operation trace of the first operation is number and the quantity phase of at least two operating body Same operating point, it is determined that the operation trace of the first operation meets default first condition.Corresponding, Fig. 2 shows a kind of optional Shortcut command generation method, can refer to.
Fig. 2 is another flow chart of shortcut command generation method provided in an embodiment of the present invention, and with reference to Fig. 2, this method can With including:
Step S200, the operation of detection first;
Step S210, whether the operation of detection first is operated on touch screen and completed at the same time by least two operating bodies, if so, Step S220 is performed, if it is not, return to step S200;
Step S220, whether the corresponding operation trace of the operation of detection first is operating point, if so, step S230 is performed, if It is no, return to step S200;
Step S230, the quantity of number at least two operating body whether corresponding with the first operation of the operating point is detected It is identical, if so, step S240 is performed, if it is not, return to step S200;
It is worth noting that, it is that at least two operating bodies are same that step S210, S220, S230, which are the optional operation of detection first, When press the implementation of the corresponding operation of touch screen;The embodiment of the present invention also can detect the corresponding operating point of the first operation Number, if the corresponding operating point number of the first operation is at least two, and at least two operating point is kept on touch screen, then may be used It is to carry out pressing operation completion on touch screen at the same time by least two operating bodies to confirm the first operation, so as to perform step S240。
Step S240, when detecting that first operation is maintaining on the touch screen, second on touch screen is detected Operation, the slide that second operation carries out for other operating bodies on touch screen;
When the first operation is maintaining on touch screen, other operating bodies can carry out slide on touch screen, i.e., Carry out the second operation;Electronic equipment will detect the first operation maintenance period, and the slide on touch screen occurs.
Step S250, the corresponding sliding trace of the slide is identified, if the sliding trace and default sliding trace It is corresponding, generate shortcut command corresponding with the sliding trace.
Optionally, since the corresponding slide of the second operation may generate the corresponding source operational order of slide, So as to which the generation to shortcut command interferes;Therefore the embodiment of the present invention can be slided in the operation of detection second, generation with default During the corresponding shortcut command in track, the corresponding source operational order of shielding generation slide, only corresponds in the second operation Sliding trace and default sliding trace to it is corresponding when generate shortcut command corresponding with the sliding trace set in advance.It is right Answer, the implementation that the embodiment of the present invention generates shortcut command corresponding with sliding trace can be:Shielding generation described the The corresponding source operational order of two operations;If the corresponding sliding trace of second operation is corresponding with default sliding trace, generate Shortcut command corresponding with the sliding trace set in advance.
For ease of understanding epimere content, illustrated below by taking the second operation is " sliding to the right " as an example, in existing electronics In equipment, " sliding to the right " is often corresponding with " sliding into next interface " this source operational order, if the embodiment of the present invention is advance Set " sliding to the right " corresponding shortcut command, then it is corresponding " to slide into down when being " sliding to the right " to avoid the second operation The generation of the source operational order at one interface ", electronic equipment are detected on touch screen when the first operation is maintaining on touch screen During " sliding to the right " corresponding operation, electronic equipment will shield the corresponding source operational order of generation " sliding to the right "(" slide into down One interface "), default " sliding to the right " corresponding shortcut command is only generated, so as to fulfill " sliding to the right " corresponding quick work( Energy.
It is corresponding below with office office software scenes for ease of understanding the corresponding shortcut command generation methods of Fig. 2 Exemplified by shortcut command generation method, the embodiment of the present invention is described, its optional implementation can be as follows:
Step S10, under office office software application scenarios, judge whether to detect at least two operating bodies at the same time by The corresponding operation of touch screen of electronic equipment is pressed, if so, step S11 is performed, if it is not, performing step S10;
Office office softwares can be the office softwares such as word, excel, if detect at least two operating bodies at the same time by The touch screen of electronic equipment is pressed, then corresponding user level operation is:User makes under the application scenarios of office office softwares Press the touch screen of electronic equipment at the same time with least two operating bodies, such as touch screen is pressed at the same time using two fingers, as Fig. 3 shows Meaning.
Step S11, judge whether to press at the same time in the holding time of touch screen at least two operating bodies, detect other Slide of the operating body on touch screen, if so, step S12 is performed, if it is not, performing step S10;
If being pressed at the same time in the holding time of touch screen at least two operating bodies, detect other operating bodies in touch screen On slide, then corresponding user level operation is:User keeps using under the application scenarios of office office softwares At least two operating bodies press the touch screen of electronic equipment at the same time, and carry out slide in touch screen using other operating bodies, As user keeps with two fingers pressing touch screen at the same time, and slided using another finger on touch screen, such as Fig. 4 signals.
Step S12, the corresponding sliding trace of the slide is detected;
If step S13, the sliding trace is corresponding with default sliding trace, quick life corresponding with the sliding trace is generated Order.
Optionally, the embodiment of the present invention can keep the shortcut command use habit of the common physics shortcuts of office, can When definition sliding trace is " S ", the shortcut command generation of corresponding " text preservation " function;Also when definable sliding trace is " N ", The shortcut command generation of corresponding " newly-built text " function;Obviously, also definable others sliding trace, it is such as left and right to slide.
The first operation that the embodiment of the present invention meets operation trace default first condition can also be defined as below:At least The slide that two operating bodies carry out on touch screen at the same time, and an operating body corresponds to a sliding trace, respectively slides rail The corresponding track homomorphosis of mark;Such as use at least two operating bodies written character on touch screen at the same time.Corresponding, this first The operation trace of operation is the number sliding trace identical with the quantity of at least two operating body, and each sliding trace is corresponding Track homomorphosis, an operating body correspond to a sliding trace;Such as write at the same time on touch screen using two operating bodies " N ", then corresponding sliding trace is two track homomorphosis " N ", as Fig. 5 illustrates.Corresponding, Fig. 6 shows a kind of optional Shortcut command generation method, can refer to.
Fig. 6 is the another flow chart of shortcut command generation method provided in an embodiment of the present invention, and with reference to Fig. 6, this method can With including:
Step S300, the operation of detection first;
Step S310, whether the operation of detection first is operated on touch screen and completed at the same time by least two operating bodies, if so, Step S320 is performed, if it is not, return to step S300;
Step S320, whether the corresponding operation trace of the operation of detection first is sliding trace, if so, step S330 is performed, If it is not, return to step S300;
Step S330, whether identical with the quantity of at least two operating body number of the sliding trace is detected, and Whether the corresponding track form of each sliding trace is identical, if judging result is to be, performs step S340, if judging result exists It is no, perform step S300;
It is worth noting that, step S310, S320, S330 determine the first operation by least two behaviour for the embodiment of the present invention Making body, slide is completed on touch screen at the same time, and the corresponding operation trace of the first operation meets the optional of default first condition Implementation;The embodiment of the present invention also can detect the corresponding sliding trace number of the first operation, if the number of sliding trace is extremely It is two few, and the track form of each sliding trace is identical with the beginning and ending time is slided, then can determine that the first operation by least two behaviour Making body, slide is completed on touch screen at the same time, and the corresponding operation trace of the first operation meets default first condition, so that Perform step S340;
Step S340, the corresponding sliding trace of the operation of detection first, if the sliding trace is corresponding with default sliding trace, Generation shortcut command corresponding with the sliding trace.
In the embodiment of the present invention, sliding trace of the corresponding sliding trace of the first operation as triggering shortcut command generation, If the corresponding sliding trace of the first operation detected is corresponding with default sliding trace, generate corresponding with the sliding trace fast Victory order, so as to fulfill shortcut function.
Optionally, refer to avoid the corresponding slide of the first operation from generating the corresponding source operation of slide Order, so that the generation to shortcut command interferes;Therefore the embodiment of the present invention can be at least two operating bodies on touch screen During slip, the corresponding source operational order of shielding generation slide, only at least two operating bodies on touch screen At the end of continuously slipping, the sliding trace of slide is detected, generates shortcut command corresponding with sliding trace set in advance. Corresponding, the implementation that the embodiment of the present invention generates shortcut command corresponding with the sliding trace is chosen as:Described In the operating process of one operation, the source operational order corresponding to the detected slide of shielding generation;In the described first behaviour After work, if the corresponding sliding trace of first operation is corresponding with default sliding trace, generate it is set in advance with it is described The corresponding shortcut command of sliding trace.
For ease of understanding epimere content, illustrated below by taking the first operation is the corresponding slip of progress " Z " character as an example, During sliding " Z " on touch screen, with the operation slided and slided to the right to the left, to avoid corresponding source operational order Generation, the embodiment of the present invention can be in the operating process of the first operation, corresponding to the detected slide of shielding generation Source operational order, after first operates, the corresponding sliding trace of the operation of identification first, if the corresponding slip of the first operation Track is corresponding with default sliding trace, then generates shortcut command corresponding with the sliding trace set in advance.
Optionally, can be using the corresponding sliding speed of the first operation as triggering electronic equipment in the operating process of the first operation In, the condition of the source operational order corresponding to the detected slide of shielding generation;It is corresponding, generation of the embodiment of the present invention The implementation of shortcut command corresponding with sliding trace is chosen as:The corresponding sliding speed of the operation of detection first, if the cunning Dynamic speed meets pre-set velocity, then in the operating process of the described first operation, the detected slide institute of shielding generation Corresponding source operational order;If the sliding speed meets pre-set velocity, after described first operates, and described first Operate corresponding sliding trace it is corresponding with default sliding trace when, generation it is set in advance it is corresponding with the sliding trace soon Victory order.
It is corresponding below with office office software scenes for ease of understanding the corresponding shortcut command generation methods of Fig. 6 Exemplified by shortcut command generation method, the embodiment of the present invention is described, its optional implementation is as follows:
Step S20, under office office software application scenarios, judge whether to detect that at least two operating bodies exist at the same time Slide is carried out on touch screen, if so, performing step S21, performs step S20 if not;
Step S21, judge the corresponding sliding trace of slide number whether the number with least two operating body Measure identical, whether the corresponding track form of each sliding trace is identical, if judging result is to be, performs step S22, if judging knot There are no, execution step S20 for fruit;
If the number of sliding trace is identical with the quantity of at least two operating body, the corresponding track shape of each sliding trace State is identical, then corresponding user level operation is:Slided at the same time using at least two operating bodies on touch screen, form multiple cunnings Dynamic rail mark, a sliding trace corresponds to an operating body, and the sliding trace of each operating body is identical, such as uses two operating bodies " N " is write on touch screen at the same time, then corresponding sliding trace is " N " of two track homomorphosis, as Fig. 5 illustrates.
Step S22, the sliding trace of the slide is detected, if the sliding trace is corresponding with default sliding trace, generation Shortcut command corresponding with the sliding trace.
Optionally, the embodiment of the present invention can keep the shortcut command use habit of the common physics shortcuts of office, can When the sliding trace for defining the first operation is " S ", the shortcut command generation of corresponding " text preservation " function;Definable first operates Sliding trace when being " N ", the shortcut command generation of corresponding " newly-built text " function;Obviously, also definable is other slides rail Mark, it is such as left and right to slide.
Optionally, method shown in Fig. 2 and Fig. 6 may also be combined with use.
Optionally, the embodiment of the present invention can also carry out during shortcut command is generated according to current application scenarios The adaptive generation of different shortcut commands, such as under office scenes and under multimedia scene, identical sliding trace Different shortcut commands can be corresponded to, such as under office scenes, when sliding trace is " N ", " newly-built text " function can be corresponded to The generation of shortcut command, and under multimedia scene, when sliding trace is " N ", the shortcut command of " next " can be corresponded to Generation;Therefore sliding trace is being identified, can also be according to preset application-specific scene during generating shortcut command Under, the correspondence of sliding trace and shortcut command, generates under current application scene, corresponding with the sliding trace identified fast Victory order, so as to fulfill shortcut function.
Electronic equipment provided in an embodiment of the present invention is described below, electronic equipment described below is with being described above Shortcut command generation method correspond to, both can be cross-referenced.
Fig. 7 is the structure diagram of electronic equipment provided in an embodiment of the present invention, which has touch screen, with reference to figure 7, which can include:
First detection module 100, for detecting the first operation;
Judgment module 200, for judging whether first operation is grasped on touch screen by least two operating bodies at the same time Complete, and whether the corresponding operation trace of first operation meets default first condition;
Second detection module 300, for judging that first operation is same by least two operating bodies in judgment module 200 When operate and complete on touch screen, and when the corresponding operation trace of first operation meets default first condition, detect touch-control Slide on screen;
Identification module 400, for identifying the corresponding sliding trace of the slide;
Shortcut command generation module 500, for the sliding trace and default sliding trace to it is corresponding when generation with it is described The corresponding shortcut command of sliding trace.
Electronic equipment provided in an embodiment of the present invention can generate shortcut command in the case where easily operating, and do not have and answer With the limitation of scene.The embodiment of the present invention solves the operation of existing shortcut command generating mode and inconvenience, and with application The problem of scene is limited to.
Optionally, the default first condition can be:The corresponding operation trace of first operation is, number with it is described The identical operating point of the quantity of at least two operating bodies.Corresponding, the structure of judgment module 200 can be as shown in figure 8, judgment module 200 can include:
First judging unit 210, for judging first operation whether by least two operating bodies while in touch screen Upper operation is completed, and whether the corresponding operation trace of first operation is number and the quantity of at least two operating body Identical operating point.
On the basis of judgment module 200 shown in Fig. 8, the structure of the second detection module 300 can be as shown in figure 9, the second inspection Surveying module 300 can include:
First detection unit 310, for when detecting that first operation is maintaining on the touch screen, detecting touch-control The second operation on screen, the slide that second operation carries out for other operating bodies on touch screen.
In judgment module 200 shown in Fig. 8, and on the basis of the second detection module 300 shown in Fig. 9, Figure 10 is shown fast The alternative construction of order generation module 500, shortcut command generation module 500 can include:
First screen unit 510, the source operational order corresponding for shielding generation second operation;
First generation unit 511, for the described second corresponding sliding trace of operation and default sliding trace to it is corresponding when Generate shortcut command corresponding with the sliding trace set in advance.
Optionally, default first condition can also be defined as below:It is described first operation operation trace be, number with it is described The identical sliding trace of the quantity of at least two operating bodies, a sliding trace correspond to an operating body, and each sliding trace corresponds to Track homomorphosis.Corresponding, the structure of judgment module 200 can be as shown in figure 11, and judgment module 200 can include:
Second judging unit 220, for judging first operation whether by least two operating bodies while in touch screen Upper slide is completed, whether the operation trace of first operation is number and the quantity phase of at least two operating body With the corresponding track form of sliding trace and each sliding trace it is whether identical.
On the basis of judgment module 200 shown in Figure 11, the structure of the second detection module 300 can be as shown in figure 12, and second Detection module 300 can include:
Second detection unit 320, for detecting the first operation.
In judgment module 200 shown in Figure 11, and on the basis of the second detection module 300 shown in Figure 12, Figure 13 is shown soon A kind of alternative construction of prompt order generation module 500, shortcut command generation module 500 can include:
Secondary shielding unit 520, in the operating process of the described first operation, shielding to generate detected slip The corresponding source operational order of operation;
Second generation unit 521, for after described first operates, and the corresponding sliding trace of first operation With default sliding trace to it is corresponding when generate shortcut command corresponding with the sliding trace set in advance.
Figure 14 shows another alternative construction of shortcut command generation module 500, and shortcut command generation module 500 can be with Including:
Sliding speed detection unit 530, for detecting the corresponding sliding speed of the first operation;
Sliding speed judging unit 531, for judging whether the sliding speed meets pre-set velocity;
3rd screen unit 532, for judging that the sliding speed meets pre-set velocity in sliding speed judging unit 531 When, in the operating process of the described first operation, the source operational order corresponding to the detected slide of shielding generation;
3rd generation unit 533, for judging that the sliding speed meets pre-set velocity in sliding speed judging unit 531 When, after described first operates, and when the corresponding sliding trace of first operation is corresponding with default sliding trace, give birth to Into shortcut command corresponding with the sliding trace set in advance.
Shortcut command generation method provided in an embodiment of the present invention and electronic equipment, realize operation readiness and do not have The shortcut command generation of application scenarios limitation.
Each embodiment is described by the way of progressive in this specification, what each embodiment stressed be and other The difference of embodiment, between each embodiment identical similar portion mutually referring to.For device disclosed in embodiment For, since it is corresponded to the methods disclosed in the examples, so description is fairly simple, related part is said referring to method part It is bright.
Professional further appreciates that, with reference to each exemplary unit of the embodiments described herein description And algorithm steps, can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware and The interchangeability of software, generally describes each exemplary composition and step according to function in the above description.These Function is performed with hardware or software mode actually, application-specific and design constraint depending on technical solution.Specialty Technical staff can realize described function to each specific application using distinct methods, but this realization should not Think beyond the scope of this invention.
Can directly it be held with reference to the step of method or algorithm that the embodiments described herein describes with hardware, processor Capable software module, or the two combination are implemented.Software module can be placed in random access memory(RAM), memory, read-only deposit Reservoir(ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.
The foregoing description of the disclosed embodiments, enables professional and technical personnel in the field to realize or use the present invention. A variety of modifications to these embodiments will be apparent for those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, it is of the invention The embodiments shown herein is not intended to be limited to, and is to fit to and the principles and novel features disclosed herein phase one The most wide scope caused.

Claims (16)

1. a kind of shortcut command generation method, it is characterised in that applied to the electronic equipment with touch screen, the method bag Include:
The operation of detection first;
If first operation is to be operated to complete on touch screen at the same time by least two operating bodies, and first operation corresponds to Operation trace meet default first condition, then detect slide of other operating bodies on touch screen, other described operations Body surface shows the operating body in addition at least two operating body;
Identify the corresponding sliding trace of the slide;
If the sliding trace is corresponding with default sliding trace, shortcut command corresponding with the sliding trace is generated.
2. according to the method described in claim 1, it is characterized in that, the default first condition is:First operation corresponds to Operation trace be the number operating point identical with the quantity of at least two operating body;
The determination process that the operation trace of first operation meets default first condition includes:
If it is to be operated to complete on touch screen at the same time by least two operating bodies to detect first operation, and first behaviour Making corresponding operation trace is, the number operating point identical with the quantity of at least two operating body, it is determined that the first operation Operation trace meet default first condition.
3. according to the method described in claim 2, it is characterized in that, the slide on the current touch screen of detection includes:
When detecting that first operation is maintaining on the touch screen, the second operation on detection touch screen, described second Operate the slide carried out for other operating bodies on touch screen.
4. according to the method described in claim 3, it is characterized in that, generation shortcut command corresponding with the sliding trace Process include:
The corresponding source operational order of shielding generation second operation;
If the corresponding sliding trace of second operation is correspondings with default sliding trace, the set in advance and slip rail is generated The corresponding shortcut command of mark.
5. according to the method described in claim 1, it is characterized in that, the default first condition is:The behaviour of first operation It is the number sliding trace identical with the quantity of at least two operating body as track, and the corresponding track of each sliding trace Homomorphosis;
The determination process that the operation trace of first operation meets default first condition includes:
If detect it is described first operation be by least two operating bodies at the same time on touch screen slide complete, described first The operation trace of operation is the number sliding trace identical with the quantity of at least two operating body and each sliding trace pair The track homomorphosis answered, it is determined that the operation trace of first operation meets default first condition.
6. according to the method described in claim 5, it is characterized in that, the slide on the current touch screen of detection includes: The operation of detection first.
7. according to the method described in claim 6, it is characterized in that, generation shortcut command corresponding with the sliding trace Process include:
In the operating process of the described first operation, the source operational order corresponding to the detected slide of shielding generation;
After described first operates, if the corresponding sliding trace of first operation is corresponding with default sliding trace, generation Shortcut command corresponding with the sliding trace set in advance.
8. according to the method described in claim 6, it is characterized in that, generation shortcut command corresponding with the sliding trace Process include:
The corresponding sliding speed of the operation of detection first;
If the sliding speed meets pre-set velocity, in the operating process of the described first operation, detected by shielding generation Slide corresponding to source operational order;
If the sliding speed meets pre-set velocity, after described first operates, and the corresponding cunning of first operation When dynamic rail mark is corresponding with default sliding trace, shortcut command corresponding with the sliding trace set in advance is generated.
9. a kind of electronic equipment, it is characterised in that the electronic equipment has touch screen, and the electronic equipment includes:
First detection module, for detecting the first operation;
Judgment module, is completed for judging whether first operation is operated on touch screen at the same time by least two operating bodies, And described first operates whether corresponding operation trace meets default first condition;
Second detection module, for judging that first operation is being touched at the same time by least two operating bodies in the judgment module Operate and complete on control screen, and when the corresponding operation trace of first operation meets default first condition, detect other operating bodies Slide on touch screen, other described operating bodies represent the operating body in addition at least two operating body;
Identification module, for identifying the corresponding sliding trace of the slide;
Shortcut command generation module, for the sliding trace and default sliding trace to it is corresponding when the generation and slip rail The corresponding shortcut command of mark.
10. electronic equipment according to claim 9, it is characterised in that the default first condition is:First operation Corresponding operation trace is the number operating point identical with the quantity of at least two operating body;
The judgment module includes:
First judging unit, for judging whether first operation has been operated on touch screen by least two operating bodies at the same time Into, and whether the corresponding operation trace of first operation is the number behaviour identical with the quantity of at least two operating body Make a little.
11. electronic equipment according to claim 10, it is characterised in that second detection module includes:
First detection unit, for when detecting that first operation is maintaining on the touch screen, detecting on touch screen Second operation, the slide that second operation carries out for other operating bodies on touch screen.
12. electronic equipment according to claim 11, it is characterised in that the shortcut command generation module includes:
First screen unit, the source operational order corresponding for shielding generation second operation;
First generation unit, for the described second corresponding sliding trace of operation and default sliding trace to it is corresponding when generate in advance The shortcut command corresponding with the sliding trace first set.
13. electronic equipment according to claim 9, it is characterised in that the default first condition is:First operation Operation trace be the number sliding trace identical with the quantity of at least two operating body, and each sliding trace is corresponding Track homomorphosis;
The judgment module includes:
Second judging unit, is grasped for judging whether first operation is slided on touch screen at the same time by least two operating bodies Complete, whether the operation trace of first operation is the number slip identical with the quantity of at least two operating body Track and whether the corresponding track form of each sliding trace is identical.
14. electronic equipment according to claim 13, it is characterised in that second detection module includes:
Second detection unit, for detecting the first operation.
15. electronic equipment according to claim 14, it is characterised in that the shortcut command generation module includes:
Secondary shielding unit, in the operating process of the described first operation, shielding to generate detected slide institute Corresponding source operational order;
Second generation unit, for after described first operates, and the first corresponding sliding trace of operation with it is default Shortcut command corresponding with the sliding trace set in advance is generated when sliding trace is to corresponding to.
16. electronic equipment according to claim 14, it is characterised in that the shortcut command generation module includes:
Sliding speed detection unit, for detecting the corresponding sliding speed of the first operation;
Sliding speed judging unit, for judging whether the sliding speed meets pre-set velocity;
3rd screen unit, for when the sliding speed judging unit judges that the sliding speed meets pre-set velocity, In the operating process of first operation, the source operational order corresponding to the detected slide of shielding generation;
3rd generation unit, for when the sliding speed judging unit judges that the sliding speed meets pre-set velocity, After first operation, and when the corresponding sliding trace of first operation is corresponding with default sliding trace, generation is in advance The shortcut command corresponding with the sliding trace first set.
CN201310296024.1A 2013-07-15 2013-07-15 A kind of shortcut command generation method and electronic equipment Active CN104298455B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310296024.1A CN104298455B (en) 2013-07-15 2013-07-15 A kind of shortcut command generation method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310296024.1A CN104298455B (en) 2013-07-15 2013-07-15 A kind of shortcut command generation method and electronic equipment

Publications (2)

Publication Number Publication Date
CN104298455A CN104298455A (en) 2015-01-21
CN104298455B true CN104298455B (en) 2018-04-27

Family

ID=52318204

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310296024.1A Active CN104298455B (en) 2013-07-15 2013-07-15 A kind of shortcut command generation method and electronic equipment

Country Status (1)

Country Link
CN (1) CN104298455B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105892847A (en) * 2015-12-29 2016-08-24 乐视移动智能信息技术(北京)有限公司 Method and device for carrying out target program by multi-finger slide
CN108984092B (en) * 2018-06-27 2020-12-22 Oppo广东移动通信有限公司 Device control method, device, storage medium and electronic device
CN110209338A (en) * 2019-06-11 2019-09-06 深圳市沃特沃德股份有限公司 Operating method, device, storage medium and the computer equipment of smart machine

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101470568A (en) * 2007-12-24 2009-07-01 英华达(南京)科技有限公司 Method for shortcut function initialization
CN101980127A (en) * 2010-10-20 2011-02-23 深圳桑菲消费通信有限公司 System and method for rapidly operating mobile terminal with touch screen
CN102736826A (en) * 2011-04-08 2012-10-17 深圳富泰宏精密工业有限公司 Method and system for arranging user interface of action device
CN102799376A (en) * 2012-07-11 2012-11-28 广东欧珀移动通信有限公司 A shortcut function setting method of a touch device
CN102890616A (en) * 2012-09-26 2013-01-23 杨生虎 Shortcut input method and shortcut input system of touch screen
CN103106036A (en) * 2013-02-05 2013-05-15 惠州Tcl移动通信有限公司 Screen shot method of mobile terminal and mobile terminal based on screen shot method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101951480B1 (en) * 2012-01-09 2019-02-22 엘지전자 주식회사 Electronic Device And Method Of Controlling The Same

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101470568A (en) * 2007-12-24 2009-07-01 英华达(南京)科技有限公司 Method for shortcut function initialization
CN101980127A (en) * 2010-10-20 2011-02-23 深圳桑菲消费通信有限公司 System and method for rapidly operating mobile terminal with touch screen
CN102736826A (en) * 2011-04-08 2012-10-17 深圳富泰宏精密工业有限公司 Method and system for arranging user interface of action device
CN102799376A (en) * 2012-07-11 2012-11-28 广东欧珀移动通信有限公司 A shortcut function setting method of a touch device
CN102890616A (en) * 2012-09-26 2013-01-23 杨生虎 Shortcut input method and shortcut input system of touch screen
CN103106036A (en) * 2013-02-05 2013-05-15 惠州Tcl移动通信有限公司 Screen shot method of mobile terminal and mobile terminal based on screen shot method

Also Published As

Publication number Publication date
CN104298455A (en) 2015-01-21

Similar Documents

Publication Publication Date Title
KR101919169B1 (en) Using movement of a computing device to enhance interpretation of input events produced when interacting with the computing device
US9047011B2 (en) Apparatus and method for providing a dynamic user interface in consideration of physical characteristics of a user
TWI564757B (en) Computer device with touch screen, method, and computer readable medium for operating the same
CN103809888B (en) Mobile terminal and control method thereof
US10437360B2 (en) Method and apparatus for moving contents in terminal
TWI584164B (en) Emulating pressure sensitivity on multi-touch devices
CN103914249B (en) Mouse function providing method and terminal implementing the method
CN104182138B (en) Electronic device and its control method
CN104166553B (en) A kind of display methods and electronic equipment
CN105549813B (en) A kind of method for controlling mobile terminal and mobile terminal
US20120026077A1 (en) Mapping trackpad operations to touchscreen events
Shimon et al. Exploring user-defined back-of-device gestures for mobile devices
CN104123024A (en) Terminal device and device control method
CN103092483A (en) Touch operation method on user interface and mobile terminal
US20190324621A1 (en) System and Methods for Utilizing Multi-Finger Touch Capability to Efficiently Perform Content Editing on a Computing Device
US8842088B2 (en) Touch gesture with visible point of interaction on a touch screen
JP2019505024A (en) Touch-sensitive surface-interaction method and apparatus with gesture control by display
CN104298455B (en) A kind of shortcut command generation method and electronic equipment
CN103870158A (en) Information processing method and electronic equipment
CN103984462A (en) Method and electronic device for recording track
JP2013004001A5 (en)
CN109582171A (en) Use identifying to the new finger for touching posture for capacitor hovering mode
CN104423657B (en) The method and electronic equipment of information processing
CN103513911B (en) A kind of information processing method and electronic equipment
CN108132721A (en) Generate method, touch device and the portable electronic device of drag gesture

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant