CN103092376B - Generate the method and apparatus and electronic equipment of control command - Google Patents

Generate the method and apparatus and electronic equipment of control command Download PDF

Info

Publication number
CN103092376B
CN103092376B CN201110331384.1A CN201110331384A CN103092376B CN 103092376 B CN103092376 B CN 103092376B CN 201110331384 A CN201110331384 A CN 201110331384A CN 103092376 B CN103092376 B CN 103092376B
Authority
CN
China
Prior art keywords
operating body
parameter
touch
operating
touch panel
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
CN201110331384.1A
Other languages
Chinese (zh)
Other versions
CN103092376A (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 CN201110331384.1A priority Critical patent/CN103092376B/en
Publication of CN103092376A publication Critical patent/CN103092376A/en
Application granted granted Critical
Publication of CN103092376B publication Critical patent/CN103092376B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment provides a kind of method of generation control command applied to electronic equipment and corresponding device and electronic equipment.The method of generation control command according to embodiments of the present invention, applied to including the electronic equipment of touch sensing unit and imaging unit.Methods described includes:Detect the touch operation that whether there is the first operating body on the touch panel of electronic equipment;When detecting touch operation, during touch operation, the first operating parameter of the first operating body is obtained by touch sensing unit, wherein the first operating parameter at least includes the touch condition parameter for indicating that touch operation starts/stopped;During the touch operation of the first operating body, in the range of the predetermined space above touch panel, the operation diagram picture of the second operating body is obtained by imaging unit;And control command is generated according to the first parameter and operation diagram picture.

Description

Generate the method and apparatus and electronic equipment of control command
Technical field
The present embodiments relate to a kind of method of generation control command applied to electronic equipment and corresponding device, with And electronic equipment.
Background technology
At present, for example cell phone, portable music player, portable computer various electronics it is wide General application.In these Portable electronic equipments, generally include the touch sensing unit of the input for receiving user to facilitate The operation of user.Touch sensing unit may include to be sensed by capacitive touch sensors or resistive touch sensor etc The touching induction region that device element is constituted.User can such as be clicked on the touch control region of electronic equipment, double-click, drag The action such as drag to realize corresponding control function.
However, with the development of technology, the disposal ability of processor is improved, what portable electric appts can be provided the user Function is on the increase.In the existing electronic equipment with touch sensing unit, touch sense is only generally touched by user The input operation carried out when answering region performs corresponding instruction.But, by touch-screen for touch operation in two dimensional surface Upper detected can not meet the more and more diversified operation needs of user.For example, in existing electronic equipment, user Tend not to be controlled three dimensional object as in real life.
The content of the invention
The purpose of the embodiment of the present invention is the method and phase for providing a kind of generation control command applied to electronic equipment The device and electronic equipment answered, to solve the above problems.
An embodiment provides a kind of method for generating control command, applied to electronic equipment, including touch Sensing unit and imaging unit are touched, methods described includes:Detection is on the touch panel of electronic equipment with the presence or absence of the first operation The touch operation of body;When detecting touch operation, during touch operation, the first operating body is obtained by touch sensing unit The first operating parameter, wherein the first operating parameter at least includes indicating the touch operation touch condition parameter that starts/stop; During the touch operation of first operating body, in the range of the predetermined space above touch panel, second is obtained by imaging unit The operation diagram picture of operating body;And control command is generated according to the first parameter and operation diagram picture.
Another embodiment of the present invention includes there is provided a kind of electronic equipment:Touch sensing unit, comprising touch panel, and And configure to detect the touch operation on touch panel with the presence or absence of the first operating body, and when detecting touch operation, During touch operation, the first operating parameter of the first operating body is obtained;Imaging unit, configuration carrys out the touch in the first operating body During operation, in the range of the predetermined space above touch panel, the operation diagram picture of the second operating body is obtained;Processing unit, bag Include:Order generation module, configuration to generate control command according to the first parameter and operation diagram picture, wherein, the first operating parameter At least include the touch condition parameter for indicating that touch operation starts/stopped.
Another embodiment of the present invention provides a kind of device for generating control command, includes touching applied to electronic equipment Sensing unit and imaging unit, described device include:Touch operation detection unit, configures to detect touching in the electronic equipment Touch the touch operation that whether there is the first operating body on panel;First operating parameter acquiring unit, configuration come detect it is described During touch operation, during the touch operation, the first behaviour of first operating body is obtained by the touch sensing unit Make parameter, wherein first operating parameter at least includes the touch condition parameter for indicating that the touch operation starts/stopped;Behaviour Make image acquiring unit, configuration comes during the touch operation of first operating body, it is predetermined above the touch panel In spatial dimension, the operation diagram picture of the second operating body is obtained by the imaging unit;And control command generation unit, according to First parameter and operation diagram picture generation control command.
The scheme provided by the embodiments of the present invention, when operating body carries out touch operation, can touch behaviour obtaining While making duration and/or touch location parameter, the operation diagram picture of operating body is detected, and the touch obtained can be grasped Make the duration and/or touch location parameter is combined to generate control command with operation diagram picture.It is more diversified so as to realize Touch control operation, bring more preferable interactive experience.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, making below by required in the description to embodiment Accompanying drawing is briefly described.Drawings in the following description are only the exemplary embodiment of the present invention.
Fig. 1 depicts the flow chart of the method for generation control command according to embodiments of the present invention.
Fig. 2 a to Fig. 2 c are to show an example according to the present invention, during the touch operation of the first operating body, are obtained Obtain the explanation figure of the illustrative case of the first operating parameter of the first operating body and the operation diagram picture of the second operating body.
Fig. 3 a to Fig. 3 f are to show another example according to the present invention, during the touch operation of the first operating body, are obtained Obtain the explanation figure of the illustrative case of the first operating parameter of the first operating body and the operation diagram picture of the second operating body.
Fig. 4 a to Fig. 4 f are to show the another example according to the present invention, during the touch operation of the first operating body, are obtained Obtain the explanation figure of the illustrative case of the first operating parameter of the first operating body and the operation diagram picture of the second operating body.
Fig. 5 is the exemplary block diagram for showing electronic equipment according to embodiments of the present invention.
Fig. 6 is the exemplary block diagram for the device for showing generation control command according to embodiments of the present invention.
Embodiment
Hereinafter, by preferred embodiments of the present invention will be described in detail with reference to the annexed drawings.Note, in the specification and drawings In, it is denoted by the same reference numerals with substantially the same step and element, and to these steps and the repetition solution of element Releasing to be omitted.
In the following examples of the present invention, electronic equipment refers to the equipment that can be communicated with other equipment.Electronics is set Standby concrete form includes but is not limited to mobile phone, personal computer, digital camera, personal digital assistant, portable computing Machine, tablet computer, game machine etc..In an embodiment of the present invention, electronic equipment may include touch sensing unit and imaging Unit.For example, touch sensing unit can be capacitance touch sensing unit or resistive touch sensing unit etc..In addition, into As unit may include, for example, one or more of camera, infrared sensing element, supersonic sensing element.
Fig. 1 depicts the flow chart of the method 100 of generation control command according to embodiments of the present invention.Below, it will join The method that generation control command according to embodiments of the present invention is described according to Fig. 1.
The method 100 for generating control command can be used for above-mentioned electronic equipment.As shown in figure 1, in step S101, detection exists It whether there is the touch operation of the first operating body on the touch panel of electronic equipment.For example, can by touch sensing unit whether Produce and indicate that operating body touches the response on touch panel, to detect whether the touch operation in the presence of the first operating body.
When detecting touch operation, in step s 102, during touch operation, it can be obtained by touch sensing unit First operating parameter of the first operating body.First operating parameter can at least include the touch shape for indicating that touch operation starts/stopped State parameter.During the touch operation of the first operating body, in step s 103, the predetermined space scope above touch panel It is interior, the operation diagram picture of the second operating body is obtained by imaging unit.Predetermined space scope can be determined according to specific design needs. For example, the space above touch panel distance between touch panel less than or equal to 10 centimetres can be set as into predetermined space Scope.According to the example of the present invention, during the touch operation of the first operating body, the predetermined space above touch panel In the range of, the operation diagram picture of the second operating body can be obtained by imaging unit at predetermined intervals.
It should be noted that each step of the method shown in Fig. 1 is performed not necessarily in shown order.Certain can be performed in parallel A little steps.For example, when detecting touch operation, during touch operation, the first operating body is obtained by touch sensing unit The first operating parameter (S102) and during the touch operation of the first operating body, the predetermined space scope above touch panel Interior, the operation diagram picture (S103) for obtaining the second operating body by imaging unit can be performed simultaneously.
According to the example of the present invention, the first operating body and the second operating body can be identicals.For example, the first operation Body and the second operating body can be the right hand of user.When detecting touch operation, in step s 102, during touch operation, The first operating parameter for carrying out touch operation on touch panel by the right hand on user is obtained by touch sensing unit, together When, in step s 103, the operation of user's right hand in the range of the predetermined space above touch panel is obtained by imaging unit Image.
According to another example of the present invention, the first operating body and the second operating body can be differed.For example, the first behaviour Make the left hand that body can be user, and the second operating body can be the right hand of user.When detecting touch operation, in step S102 In, during touch operation, touch behaviour is carried out on touch panel by left hand on user by touch sensing unit acquisition The first operating parameter made, meanwhile, in step s 103, the predetermined space model above touch panel is obtained by imaging unit Enclose the operation diagram picture of interior user's right hand.
, can be according to the first parameter obtained in step s 102 and the behaviour obtained in step s 103 in step S104 Make image, generate control command.For example, when touch condition parameter indicates that touch operation starts, generated and controlled according to operation diagram picture System order, and when touch condition parameter indicates that touch operation stops, stopping generating control command according to operation diagram picture.
In the method for the generation control command of the present embodiment, when operating body carries out touch operation, it can be touched obtaining While operating duration and/or touch location parameter, the operation diagram picture of operating body is detected, and can be by the touch obtained Operation duration and/or touch location parameter are combined to generate control command with operation diagram picture.It is more various so as to realize The touch control operation of change, brings more preferable interactive experience.
In addition, according to the present invention an example, in step s 103, during the touch operation of the first operating body, In the range of predetermined space above touch panel, the operation of the second operating body is obtained by imaging unit at predetermined intervals In the case of image, the method shown in Fig. 1 can also further comprise that basis is obtained by imaging unit at predetermined intervals The operation diagram picture obtained, obtains the spatiality parameter of the second operating body.Also, it is obtainable according to first in step S104 Parameter and spatiality parameter generation control command.For example, spatiality parameter may include to indicate the second operating body with touching The height parameter of the distance between panel.In addition, height parameter may also include kinematic parameter.Kinematic parameter may include the second operation Body in the anglec of rotation during the touch operation of the first operating body, rotary speed, translational speed and motion track etc. one It is individual or multiple.
In addition, according to another example of the present invention, the first operating parameter that touch sensing unit is obtained may also include correspondence The location parameter of the position contacted in the first operating body with touch panel.During touch operation, the first operating body can touched Moved on panel, i.e. the position that the first operating body is contacted with touch panel changes.Alternatively, during touch operation, First operating body can be located on the fixed position of touch panel, i.e. during touch operation, the first operating body connects with touch panel Tactile position does not change., can be according to the first operating body when touch condition parameter indicates that touch operation starts in step S104 Location parameter and the second operating body operation diagram picture generation control command, and when touch condition parameter indicate touch operation stop When only, it can stop generating control command.
Fig. 2 a to Fig. 2 c are to show an example according to the present invention, during the touch operation of the first operating body, are obtained Obtain the explanation figure of the illustrative case of the first operating parameter of the first operating body and the operation diagram picture of the second operating body.In Fig. 2 a to figure In example shown in 2c, the first operating body and the second operating body are differed.As shown in Figure 2 a, in this example, it can be set in electronics The e-book 210 of opening is shown in standby touch-screen 200.
Hereinafter, the example shown in Fig. 2 a to Fig. 2 c is described into the method 100 with reference to shown in Fig. 1.For example, in step In S101, the touch operation that whether there is the first operating body on the touch panel of electronic equipment is detected.Behaviour is touched detecting When making, in step s 102, during touch operation, as shown in Figure 2 b, the first operating body can be obtained by touch sensing unit First operating parameter of 220 (for example, left hands of user).First operating parameter can at least include indicating that touch operation starts/stopped Touch condition parameter only.In addition, the first operating parameter may also include:The position contacted corresponding to the first operating body with touch panel The location parameter put.In figure 2b, touch-responsive 230 indicate on touch panel in the presence of the first operating body touch operation and Contact position corresponding with the operation.
During the touch operation of the first operating body, in step s 103, the predetermined space scope above touch panel It is interior, the operation diagram picture (operation as shown in Figure 2 c of the second operating body 240 (for example, right hand of user) is obtained by imaging unit Image 250).In the example shown in Fig. 2 a to Fig. 2 c, during the touch operation of the first operating body 220, on touch panel In the range of the predetermined space of side, the operation diagram picture of the second operating body 240 can be obtained by imaging unit at predetermined intervals. And the second operating body can be obtained each further according to the operation diagram picture obtained at predetermined intervals by imaging unit Individual image obtains time point, indicates the height parameter of the second operating body and the distance between touch panel.
It is obtainable that control command is generated according to the first parameter and height parameter in step S104.For example, can basis First parameter and height parameter generation are keeping the left page of e-book 210 immovable simultaneously, the right side book of turning e-book The control command of page 260.More specifically, can determine that page 260 is lifted according to height parameter in touch operation duration Height.In addition, in touch operation duration, when height parameter indicates that the second operating body and the distance between touch panel are big When preset distance, page turn over operation instruction can be generated.
By the method for the generation control command of this example, user can be carried out as in real life to three dimensional object Control, so as to bring more preferable interactive experience.
Fig. 3 a to Fig. 3 f are to show another example according to the present invention, during the touch operation of the first operating body, are obtained Obtain the explanation figure of the illustrative case of the first operating parameter of the first operating body and the operation diagram picture of the second operating body.In Fig. 3 a to figure In example shown in 3f, the first operating body and the second operating body are identical., in this example, can be in electricity as shown in Fig. 3 a and Fig. 3 d Picture etc. can be shown in the touch-screen 300 of sub- equipment.
Hereinafter, the example shown in Fig. 3 a to Fig. 3 f is described into the method 100 with reference to shown in Fig. 1.For example, in step In S101, the touch operation that whether there is the first operating body on the touch panel of electronic equipment is detected.Behaviour is touched detecting When making, in step s 102, during touch operation, as shown in Fig. 3 b and Fig. 3 e, it can be operated by touch sensing unit First operating parameter of body 310 (for example, right hand of user).First operating parameter can at least include indicate touch operation start/ The touch condition parameter of stopping.In addition, the first operating parameter may also include:The position contacted corresponding to operating body with touch panel Location parameter.In Fig. 3 b and Fig. 3 e, touch-responsive 320 indicate the touch operation that there is operating body on touch panel and Contact position corresponding with the operation.
During the touch operation of operating body, in step s 103, in the range of the predetermined space above touch panel, lead to Cross the operation diagram picture that imaging unit obtains operating body 310 (for example, right hand of user).In this example, touching in operating body 310 During touching operation, in the range of the predetermined space above touch panel, it can be obtained at predetermined intervals by imaging unit The operation diagram picture of operating body 310.As shown in Fig. 3 a to Fig. 3 f, in this example, during touch operation, the right hand forefinger of user Keep touching on the fixed position of touch panel, and the right hand of user is rotated by 90 ° to the right.Shown in Fig. 3 c at first The first operation diagram of the right hand of the user obtained is carved as 330.And show and have passed through after predetermined time interval in Fig. 3 f, second Second operation diagram of the right hand for the user that the moment obtains is as 340.
Can further according to the first operation diagram as 330 and second operation diagram as 340, obtain the anglec of rotation of operating body 310 And/or rotary speed.It is obtainable to be generated according to the first parameter and the anglec of rotation and/or rotary speed in step S104 Control command.For example, it is obtainable according to the first parameter and anglec of rotation generation with the image shown by touch-screen 300 Centered on point corresponding with location parameter, the angle that image rotation operating body 310 is rotated.
By the method for the generation control command of this example, user can easily control to show the anglec of rotation of object.It is special Not, when user needs to show that object rotates less angle, the method user of the generation control command of this example is passed through Can be easily to showing that the anglec of rotation of object is finely adjusted.
Fig. 4 a to Fig. 4 f are to show the another example according to the present invention, during the touch operation of the first operating body, are obtained Obtain the explanation figure of the illustrative case of the first operating parameter of the first operating body and the operation diagram picture of the second operating body.In Fig. 4 a to figure In example shown in 4f, the first operating body and the second operating body are identical.
Hereinafter, the example shown in Fig. 4 a to Fig. 4 f is described into the method 100 with reference to shown in Fig. 1.For example, in step In S101, the touch operation that whether there is the first operating body on the touch panel of electronic equipment is detected.Behaviour is touched detecting When making, in step s 102, during touch operation, as shown in Fig. 4 b and Fig. 4 e, it can be operated by touch sensing unit First operating parameter of body 410 (for example, left hand of user).First operating parameter can at least include indicate touch operation start/ The touch condition parameter of stopping.In addition, the first operating parameter may also include:The position contacted corresponding to operating body with touch panel Location parameter.In Fig. 4 b and Fig. 4 e, touch-responsive 420 and touch-responsive 430 indicate there is operating body on touch panel Touch operation and contact position corresponding with the operation.As shown in Fig. 4 a to Fig. 4 f, in this example, the left hand of user is held Fist and rotate, the left hand of user and the contact position of touch panel change, but in rotary course, the left hand of user is kept Contact with touch panel.
During the touch operation of operating body, in step s 103, in the range of the predetermined space above touch panel, lead to Cross the operation diagram picture that imaging unit obtains operating body 410 (for example, left hand of user).In this example, touching in operating body 410 During touching operation, in the range of the predetermined space above touch panel, it can be obtained at predetermined intervals by imaging unit The operation diagram picture of operating body 410.As shown in Fig. 4 a and Fig. 4 f, in this example, the left hand of user is held fist and rotated.In Fig. 4 c Show the first operation diagram of left hand of the user obtained at the first moment as 440.And shown in Fig. 4 f and have passed through pre- timing Between be spaced after, the second moment obtain user left hand the second operation diagram as 450.
Can further according to the first operation diagram as 440 and second operation diagram as 450, obtain the anglec of rotation of operating body 410 And/or rotary speed.It is obtainable to be generated according to the first parameter and the anglec of rotation and/or rotary speed in step S104 Control command.For example, obtainable revolved according to the first parameter and anglec of rotation generation with the object shown by touch-screen 400 Turn corresponding angle.
By the method for the generation control command of this example, user can easily control to show the anglec of rotation of object.
Below, reference picture 5 illustrates the electronic equipment of embodiments of the invention.Fig. 5 shows according to embodiments of the present invention The exemplary block diagram of electronic equipment 500.As shown in Figure 5, the electronic equipment 500 of the present embodiment may include touch sensible list Member 510, imaging unit 520, processing unit 530.The unit of electronic equipment 500 performs the display methods in above-mentioned Fig. 1 Each step/function, it is therefore, succinct in order to describe, no longer specifically describe.
For example, touch sensing unit 510 can include touch panel.Touch sensing unit can be that capacitance touch sensing is single Member or resistive touch sensing unit etc..Touch sensing unit 510 can detect whether there is the first operating body on touch panel Touch operation, and when detecting touch operation, during touch operation, obtain the first operation ginseng of the first operating body Number.Indicate that operating body touches the response on touch panel for example, whether can be produced by touch sensing unit, to detect whether In the presence of the touch operation of the first operating body.First operating parameter can at least include the touch shape for indicating that touch operation starts/stopped State parameter.
Imaging unit 520 can be during the touch operation of the first operating body, the predetermined space scope above touch panel It is interior, obtain the operation diagram picture of the second operating body.Imaging unit 520 may include, for example, camera, infrared sensing element, ultrasonic wave One or more of sensing element.Preferably, the front view of the second operating body can be obtained in the state of normal operating Imaging unit is arranged on one side of touch panel by mode.Alternatively, imaging unit can be arranged on into touch panel adjacent Two while or more bar while on.Predetermined space scope can be determined according to specific design needs.For example, can be by touch panel Space of the distance less than or equal to 10 centimetres is set as predetermined space scope between side and touch panel.
It is predetermined above touch panel during the touch operation of the first operating body according to the example of the present invention In spatial dimension, the operation diagram picture of the second operating body can be obtained by imaging unit at predetermined intervals.
According to the example of the present invention, the first operating body and the second operating body can be identicals.For example, the first operation Body and the second operating body can be the right hand of user.When detecting touch operation, during touch operation, touch sensible can be passed through Unit is obtained carries out the first operating parameter of touch operation on user by the right hand on touch panel, meanwhile, can by into As unit obtains the operation diagram picture of user's right hand in the range of the predetermined space above touch panel.
According to another example of the present invention, the first operating body and the second operating body can be differed.For example, the first behaviour Make the left hand that body can be user, and the second operating body can be the right hand of user.When detecting touch operation, in the touch operation phase Between, the first operation ginseng for carrying out touch operation on touch panel by left hand on user can be obtained by touch sensing unit Number, meanwhile, the operation diagram picture of user's right hand in the range of the predetermined space above touch panel can be obtained by imaging unit.
Processing unit 530 may include order generation module 532.Order generation module 532 can be according to the first parameter and behaviour Make image generation control command.For example, when touch condition parameter indicates that touch operation starts, generated and controlled according to operation diagram picture Order, and when touch condition parameter indicates that touch operation stops, stopping generating control command according to operation diagram picture.
, can be when acquisition touch operation continues when operating body carries out touch operation in the electronic equipment of the present embodiment Between and/or while touch location parameter, detect the operation diagram picture of operating body, and when can the touch operation that obtained be continued Between and/or touch location parameter combined to generate control command with operation diagram picture.So as to realize more diversified touch-control behaviour Make, bring more preferable interactive experience.
In addition, according to the example of the present invention, processing unit may also include state parameter acquisition module (not shown). During the touch operation of first operating body, in the range of the predetermined space above touch panel, pass through at predetermined intervals Imaging unit obtain the second operating body operation diagram picture in the case of, state parameter acquisition module can according to the imaging unit with Predetermined time interval obtains the spatiality parameter of second operating body by the operation diagram picture of acquisition.Also, life Make generation module 532 obtainable and control command is generated according to the first parameter and spatiality parameter.For example, spatiality is joined Number may include the height parameter for indicating the second operating body and the distance between touch panel.In addition, height parameter may also include fortune Dynamic parameter.Kinematic parameter may include the anglec of rotation of second operating body during the touch operation of the first operating body, rotary speed, One or more of translational speed and motion track etc..
In addition, according to another example of the present invention, the first operating parameter that touch sensing unit is obtained may also include correspondence The location parameter of the position contacted in the first operating body with touch panel.During touch operation, the first operating body can touched Moved on panel, i.e. the position that the first operating body is contacted with touch panel changes.Alternatively, during touch operation, First operating body can be located on the fixed position of touch panel, i.e. during touch operation, the first operating body connects with touch panel Tactile position does not change.When touch condition parameter indicates that touch operation starts, order generation module 532 can be according to the first operation The operation diagram picture generation control command of the location parameter of body and the second operating body, and when touch condition parameter indicates touch operation During stopping, it can stop generating control command.
Below, reference picture 6 illustrates the device of the generation control command of embodiments of the invention.Fig. 6 is shown according to this hair The exemplary block diagram of the device 600 of the generation control command of bright embodiment.As shown in Figure 6, the generation control of the present embodiment The device 600 of order, which is made, available for electronic equipment, and generates the device 600 of control command may include touch operation detection unit 610th, the first operating parameter acquiring unit 620, operation image acquiring unit 630 and control command generation unit 640.Generation control The unit of the device 600 of order performs each step/function of the display methods in above-mentioned Fig. 1, therefore, in order to describe letter It is clean, no longer specifically describe.
For example, touch operation detection unit 610 can detect on the touch panel of electronic equipment with the presence or absence of the first operation The touch operation of body.First operating parameter acquiring unit 620 can when touch operation detection unit 610 detects touch operation, During touch operation, the first operating parameter of the first operating body is obtained by touch sensing unit, wherein the first operating parameter At least include the touch condition parameter for indicating that touch operation starts/stopped.For example, can refer to by the way that whether touch sensing unit produces Show that operating body touches the response on touch panel, to detect whether the touch operation in the presence of the first operating body.First operation ginseng Number can at least include the touch condition parameter for indicating that touch operation starts/stopped.
Operate image acquiring unit 630 predetermined above touch panel during the touch operation of the first operating body In spatial dimension, the operation diagram picture of the second operating body is obtained.Imaging unit may include, for example, camera, infrared sensing element, One or more of supersonic sensing element.Preferably, the second operating body can be being obtained in the state of normal operating just Imaging unit is arranged on one side of touch panel by the mode of view.Alternatively, imaging unit can be arranged on touch panel Adjacent two while or more bar while on.Predetermined space scope can be determined according to specific design needs.For example, can be by touch surface Space above plate distance between touch panel less than or equal to 10 centimetres is set as predetermined space scope.
It is predetermined above touch panel during the touch operation of the first operating body according to the example of the present invention In spatial dimension, the operation diagram picture of the second operating body can be obtained by imaging unit at predetermined intervals.
According to the example of the present invention, the first operating body and the second operating body can be identicals.For example, the first operation Body and the second operating body can be the right hand of user.When detecting touch operation, during touch operation, touch sensible can be passed through Unit is obtained carries out the first operating parameter of touch operation on user by the right hand on touch panel, meanwhile, can by into As unit obtains the operation diagram picture of user's right hand in the range of the predetermined space above touch panel.
According to another example of the present invention, the first operating body and the second operating body can be differed.For example, the first behaviour Make the left hand that body can be user, and the second operating body can be the right hand of user.When detecting touch operation, in the touch operation phase Between, the first operation ginseng for carrying out touch operation on touch panel by left hand on user can be obtained by touch sensing unit Number, meanwhile, the operation diagram picture of user's right hand in the range of the predetermined space above touch panel can be obtained by imaging unit.
Control command generation unit 640 can generate control command according to the first parameter and operation diagram picture.For example, when touch When state parameter indicates that touch operation starts, control command is generated according to operation diagram picture, and when touch condition parameter indicates to touch When touching operation stopping, stopping generating control command according to operation diagram picture.
In the device of the generation control command of the present embodiment, when operating body carries out touch operation, it can be touched obtaining While operating duration and/or touch location parameter, the operation diagram picture of operating body is detected, and can be by the touch obtained Operation duration and/or touch location parameter are combined to generate control command with operation diagram picture.It is more various so as to realize The touch control operation of change, brings more preferable interactive experience.
In addition, according to the example of the present invention, the device 600 of generation control command may also include state parameter and obtain single First (not shown).It is pre- above touch panel in operation image acquiring unit 630 during the touch operation of the first operating body Determine in spatial dimension, in the case of the operation diagram picture for obtaining the second operating body by imaging unit at predetermined intervals, shape State parameter acquisition module can obtain institute according to the imaging unit at predetermined intervals by the operation diagram picture of acquisition State the spatiality parameter of the second operating body.Control command generation unit 640 can be according to the first parameter and spatiality parameter Generate control command.For example, spatiality parameter may include the height for indicating the second operating body and the distance between touch panel Parameter.In addition, height parameter may also include kinematic parameter.Kinematic parameter may include touch of second operating body in the first operating body One or more of anglec of rotation, rotary speed, translational speed and motion track during operation etc..
In addition, according to another example of the present invention, the first operating parameter that the first operating parameter acquiring unit 620 is obtained is also It may include the location parameter for corresponding to the position that the first operating body is contacted with touch panel.During touch operation, the first operation Body can be moved on touch panel, i.e. the position that the first operating body is contacted with touch panel changes.Alternatively, touching During touching operation, the first operating body can be located on the fixed position of touch panel, i.e. during touch operation, the first operating body The position contacted with touch panel does not change.When touch condition parameter indicates that touch operation starts, the first operating parameter is obtained Unit 640 can generate control command according to the location parameter of the first operating body and the operation diagram picture of the second operating body, and when tactile When touching state parameter instruction touch operation stopping, it can stop generating control command.
Those of ordinary skill in the art are it is to be appreciated that the mould of each example described with reference to the embodiments described herein Block, unit and algorithm steps, can be realized with electronic hardware, computer software or the combination of the two, in order to clearly say The interchangeability of bright hardware and software, generally describes the composition and step of each example according to function in the above description Suddenly.These functions are performed with hardware or software mode actually, depending on the application-specific and design constraint bar of technical scheme Part.Professional and technical personnel can realize described function to each specific application using distinct methods, but this Realize it is not considered that beyond the scope of this invention.
When module and/or unit can be realized using software, it is contemplated that the level of existing hardware technique, it is possible to The module that software is realized, in the case where not considering cost, those skilled in the art can build corresponding hardware circuit Corresponding function is realized, the hardware circuit is including conventional ultra-large integrated (VLSI) circuit or gate array and such as The existing semiconductor of logic chip, transistor etc either other discrete elements.Module can also be set with programmable hardware Standby, field programmable gate array, programmable logic array, programmable logic device etc. are realized.
Although having shown that and describing some embodiments of the present invention, it is understood by one skilled in the art that not departing from In the case of the principle and spirit of the present invention, various modifications can be carried out to these embodiments, such modification should fall into the present invention In the range of.

Claims (16)

1. a kind of method for generating control command, applied to electronic equipment, including touch sensing unit and imaging unit, the side Method includes:
Detect the touch operation that whether there is the first operating body on the touch panel of the electronic equipment;
When detecting the touch operation, during the touch operation, described the is obtained by the touch sensing unit First operating parameter of one operating body, wherein first operating parameter at least includes indicating that the touch operation starts/stopped Touch condition parameter;
During the touch operation of first operating body, in the range of the predetermined space above the touch panel, pass through institute The operation diagram picture that imaging unit obtains the second operating body is stated, the space shape of second operating body is obtained based on the operation diagram picture State parameter;And
The control command of touch control operation can be realized according to first operating parameter and spatiality parameter generation;
Wherein during the touch operation of first operating body, in the range of the predetermined space above the touch panel, lead to Crossing the operation diagram picture of the second operating body of the imaging unit acquisition includes:During the touch operation of first operating body, In the range of predetermined space above the touch panel, obtain second by the imaging unit at predetermined intervals and operate The operation diagram picture of body.
2. the method as described in claim 1, in addition to:
According to the operation diagram picture obtained at predetermined intervals by the imaging unit, second operating body is obtained Spatiality parameter.
3. method as claimed in claim 2, wherein
The spatiality parameter includes height parameter;And
Wherein described height parameter indicates the distance between second operating body and described touch panel.
4. method as claimed in claim 2, wherein
The spatiality parameter includes kinematic parameter;And
Wherein described kinematic parameter includes the anglec of rotation second operating body during the touch operation of first operating body One or more of degree, rotary speed, translational speed, motion track.
5. the method as described in claim 1, wherein
First operating parameter also includes:The position of the position contacted corresponding to first operating body with the touch panel Parameter.
6. the method as described in claim 1, wherein
During the touch operation, the position that first operating body is contacted with the touch panel changes.
7. the method as described in claim 1, wherein
During the touch operation, the position that first operating body is contacted with the touch panel does not change.
8. the method as described in claim 1, wherein
First operating body is identical with second operating body.
9. the method as described in claim 1, wherein
First operating body is different with second operating body.
10. a kind of electronic equipment includes:
Touch sensing unit, comprising touch panel, and configures to detect on the touch panel with the presence or absence of the first operation The touch operation of body, and when detecting the touch operation, during the touch operation, obtain first operating body The first operating parameter;
Imaging unit, configuration comes during the touch operation of first operating body, the predetermined sky above the touch panel Between in the range of, obtain the second operating body operation diagram picture;
Processing unit, including:
State parameter acquisition module, configuration to obtain the spatiality parameter of second operating body based on the operation diagram picture; And
Order generation module, configuration is tactile can be realized according to first operating parameter and spatiality parameter generation The control command of operation is controlled,
Wherein, first operating parameter at least includes the touch condition parameter for indicating that the touch operation starts/stopped;
Wherein described imaging unit is during the touch operation of first operating body, the predetermined sky above the touch panel Between in the range of, at predetermined intervals pass through the imaging unit obtain the second operating body operation diagram picture.
11. electronic equipment as claimed in claim 10, wherein
State parameter acquisition module, configuration passes through the operation of acquisition at predetermined intervals according to the imaging unit Image, obtains the spatiality parameter of second operating body.
12. electronic equipment as claimed in claim 11, wherein
The spatiality parameter includes height parameter;And
The state parameter acquisition module passes through the operation diagram of acquisition at predetermined intervals according to the imaging unit Picture, obtains the height parameter of second operating body,
Wherein described height parameter indicates the distance between second operating body and described touch panel.
13. electronic equipment as claimed in claim 11, wherein
The spatiality parameter includes kinematic parameter;And
The state parameter acquisition module passes through the operation diagram of acquisition at predetermined intervals according to the imaging unit Picture, obtains the kinematic parameter of second operating body,
Wherein described kinematic parameter includes the anglec of rotation second operating body during the touch operation of first operating body One or more of degree, rotary speed, translational speed, motion track.
14. electronic equipment as claimed in claim 11, wherein
First operating parameter also includes:The position of the position contacted corresponding to first operating body with the touch panel Parameter.
15. a kind of device for generating control command, includes touch sensing unit and imaging unit, the dress applied to electronic equipment Put including:
Touch operation detection unit, configures to detect on the touch panel of the electronic equipment with the presence or absence of the first operating body Touch operation;
First operating parameter acquiring unit, configures, when detecting the touch operation, during the touch operation, to pass through The touch sensing unit obtains the first operating parameter of first operating body, wherein first operating parameter at least includes Indicate the touch condition parameter that the touch operation starts/stopped;
Image acquiring unit is operated, configuration comes during the touch operation of first operating body, above the touch panel Predetermined space in the range of, pass through the imaging unit obtain the second operating body operation diagram picture;
State parameter acquisition module, configuration to obtain the spatiality parameter of second operating body based on the operation diagram picture; And
Control command generation unit, touch-control can be realized according to first operating parameter and spatiality parameter generation The control command of operation;
Wherein described operation diagram is as obtaining unit is during the touch operation of first operating body, above the touch panel Predetermined space in the range of, at predetermined intervals pass through the imaging unit obtain the second operating body operation diagram picture.
16. device as claimed in claim 15, in addition to:
State parameter obtainment unit, configuration comes according to the operation obtained at predetermined intervals by the imaging unit Image, obtains the spatiality parameter of second operating body.
CN201110331384.1A 2011-10-27 2011-10-27 Generate the method and apparatus and electronic equipment of control command Active CN103092376B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110331384.1A CN103092376B (en) 2011-10-27 2011-10-27 Generate the method and apparatus and electronic equipment of control command

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110331384.1A CN103092376B (en) 2011-10-27 2011-10-27 Generate the method and apparatus and electronic equipment of control command

Publications (2)

Publication Number Publication Date
CN103092376A CN103092376A (en) 2013-05-08
CN103092376B true CN103092376B (en) 2017-07-25

Family

ID=48205046

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110331384.1A Active CN103092376B (en) 2011-10-27 2011-10-27 Generate the method and apparatus and electronic equipment of control command

Country Status (1)

Country Link
CN (1) CN103092376B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094287A (en) * 2014-04-15 2015-11-25 联想(北京)有限公司 Information processing method and electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1881994A (en) * 2006-05-18 2006-12-20 北京中星微电子有限公司 Method and apparatus for hand-written input and gesture recognition of mobile apparatus
CN101379455A (en) * 2006-02-03 2009-03-04 松下电器产业株式会社 Input device and its method
CN101807114A (en) * 2010-04-02 2010-08-18 浙江大学 Natural interactive method based on three-dimensional gestures
CN101866243A (en) * 2010-07-09 2010-10-20 苏州瀚瑞微电子有限公司 Three-dimensional space touch control operation method and hand gestures thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8514188B2 (en) * 2009-12-30 2013-08-20 Microsoft Corporation Hand posture mode constraints on touch input

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101379455A (en) * 2006-02-03 2009-03-04 松下电器产业株式会社 Input device and its method
CN1881994A (en) * 2006-05-18 2006-12-20 北京中星微电子有限公司 Method and apparatus for hand-written input and gesture recognition of mobile apparatus
CN101807114A (en) * 2010-04-02 2010-08-18 浙江大学 Natural interactive method based on three-dimensional gestures
CN101866243A (en) * 2010-07-09 2010-10-20 苏州瀚瑞微电子有限公司 Three-dimensional space touch control operation method and hand gestures thereof

Also Published As

Publication number Publication date
CN103092376A (en) 2013-05-08

Similar Documents

Publication Publication Date Title
AU2018282404B2 (en) Touch-sensitive button
TWI393045B (en) Method, system, and graphical user interface for viewing multiple application windows
TW200928920A (en) Method for controlling electronic apparatus and apparatus and computer program product using the method
CN103870772B (en) Touch-screen electronic installation and its control method
CN103513817B (en) Touch control equipment and method and device for controlling touch control equipment to configure operation mode
CN104461172B (en) A kind of display methods and electronic equipment
CN102103460A (en) Hand-held electronic device capable of control by reflecting grip of user and control method thereof
EP2778849A1 (en) Method and apparatus for operating sensors of user device
WO2014019124A1 (en) Touch event reporting method, device and mobile terminal
CN108170205A (en) Information processing equipment, information processing method and computer-readable medium
CN103092525A (en) Screen capture method for mobile terminal and mobile terminal based on the screen capture method
CN109558061A (en) A kind of method of controlling operation thereof and terminal
CN103135850A (en) Handheld electronic device and touch method thereof
CN202110523U (en) Terminal equipment and icon position interchanging device of terminal equipment
Dai et al. SlickFeel: sliding and clicking haptic feedback on a touchscreen
CN103092376B (en) Generate the method and apparatus and electronic equipment of control command
CN104615377B (en) A kind of information processing method and electronic equipment
CN103092491B (en) Method and device for generating control commands and electronic equipment
KR101769089B1 (en) Sleep and activation apparatus and method of touchscreen device using mobile terminal
CN202102399U (en) Multi-surface touchable handheld equipment
WO2013087910A1 (en) Apparatus and method pertaining to display orientation
CN102609213A (en) Method and device for rotating three-dimensional image on electronic equipment with touch-sensitive display
WO2013156885A2 (en) Methods circuits device systems and associated computer executable code for facilitating interfacing with a computing platform display screen
CN104063140A (en) Object selection method and electronic equipment

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