[go: up one dir, main page]

CN103092491A - Method and device for generating control commands and electronic equipment - Google Patents

Method and device for generating control commands and electronic equipment Download PDF

Info

Publication number
CN103092491A
CN103092491A CN2011103313856A CN201110331385A CN103092491A CN 103092491 A CN103092491 A CN 103092491A CN 2011103313856 A CN2011103313856 A CN 2011103313856A CN 201110331385 A CN201110331385 A CN 201110331385A CN 103092491 A CN103092491 A CN 103092491A
Authority
CN
China
Prior art keywords
touch
operating body
touch operation
parameter
operating
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011103313856A
Other languages
Chinese (zh)
Other versions
CN103092491B (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 CN201110331385.6A priority Critical patent/CN103092491B/en
Publication of CN103092491A publication Critical patent/CN103092491A/en
Application granted granted Critical
Publication of CN103092491B publication Critical patent/CN103092491B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

An embodiment of the invention provides a method for generating control commands and applied to electronic equipment, a corresponding device and the electronic equipment. The electronic equipment comprises a touch sensing unit and an imaging unit. The method includes: detecting whether first touch operations of a first operation body exist on a touch panel of the electronic equipment; when the first touch operations are detected, obtaining first operation parameters of the first operation body through the touch sensing unit during the first touch operations, wherein the first operation parameters at least include touch state parameters indicating start or stop of the touch operations; obtaining operation images of a second operation body within a predetermined space range above the touch panel through the imaging unit during the first touch operations of the first operation body; and generating control commands according to the first parameters and the operation images.

Description

Generate method and apparatus and the electronic equipment of control command
Technical field
The embodiment of the present invention relates to a kind of method and corresponding device and electronic equipment that is applied to the generation control command of electronic equipment.
Background technology
At present, for example the various electronics of cell phone, portable music player, portable computer are widely used.In these portable electronics equipment, generally include touch sensing unit for the input that receives the user with user friendly operation.Touch sensing unit can comprise the touching induction region that can be made of capacitive touch sensors or resistive touch sensor and so on sensor element.The user can carry out on the touch control zone of electronic equipment such as click, double-click, the action such as towing realizes controlling accordingly function.
Yet along with the development of technology, the processing power of processor improves, and the function that portable electric appts can be the user to be provided is on the increase.In existing electronic equipment with touch sensing unit, corresponding instruction is carried out in the input operation of carrying out when usually only touching touching induction region by the user.But, detect on two dimensional surface for touch operation by touch-screen and can not satisfy the more and more diversified action need of user.For example, in existing electronic equipment, the user often can not be as in real life, three dimensional object being controlled.
Summary of the invention
The purpose of the embodiment of the present invention is to provide a kind of method and corresponding device and electronic equipment that is applied to the generation control command of electronic equipment, to address the above problem.
One embodiment of the present of invention provide a kind of method that generates control command, are applied to comprise the electronic equipment of touch sensing unit and image-generating unit.Described method comprises: detect the first touch operation that whether exists on the touch panel of electronic equipment from the first operating body; When the first touch operation being detected, during the first touch operation, obtain the first operating parameter of the first operating body by touch sensing unit, wherein the first operating parameter comprises the first touch condition parameter that indication the first touch operation begins/stops at least; During the first touch operation, in the predetermined space scope above touch panel, obtain the second application drawing picture of the second operating body by image-generating unit; And generate control command according to the first parameter and the second application drawing picture.
Another embodiment of the present invention provides a kind of electronic equipment, comprise: touch sensing unit, comprise touch panel, and configuration detects the first touch operation that whether exists from the first operating body on the touch panel of electronic equipment, and when the first touch operation being detected, during the first touch operation, obtain the first operating parameter of the first operating body; Image-generating unit, configuration come in the predetermined space scope above touch panel, to obtain the second application drawing picture of the second operating body by image-generating unit during the first touch operation; And processing unit, comprising: order generation module, configuration come to generate control command according to the first parameter and the second application drawing picture, and wherein the first operating parameter comprises the first touch condition parameter that indication the first touch operation begins/stops at least.
Another embodiment of the present invention provides a kind of device that generates control command, is applied to electronic equipment.Described electronic equipment comprises touch sensing unit and image-generating unit.The device of described generation control command comprises: the touch operation detecting unit, and configuration detects the first touch operation that whether exists from the first operating body on the touch panel of electronic equipment; The first operating parameter acquiring unit, configuration comes when the first touch operation being detected, during the first touch operation, obtain the first operating parameter of the first operating body by touch sensing unit, wherein the first operating parameter comprises the first touch condition parameter that indication the first touch operation begins/stops at least; The application drawing picture obtains the unit, and configuration comes in the predetermined space scope above touch panel, to obtain the second application drawing picture of the second operating body by image-generating unit during the first touch operation; And the control command generation unit, configuration comes to generate control command according to the first parameter and the second application drawing picture.
The scheme that provides by the invention described above embodiment, when operating body carries out touch operation, can be when obtaining touch operation duration and/or touch location parameter, detect the application drawing picture of operating body, and touch operation duration and/or the touch location parameter that obtains can be looked like to be combined to generate control command with application drawing.Thereby can realize more diversified touch control operation, bring better interactive experience.
Description of drawings
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, the below will do to introduce simply to the accompanying drawing of required use in the description of embodiment.Accompanying drawing in the following describes is only exemplary embodiment of the present invention.
Fig. 1 is the process flow diagram of having described according to the method for the generation control command of the embodiment of the present invention.
Fig. 2 shows according to an example of the present invention, during the first touch operation, and the key diagram of the illustrative case of the first operating parameter of acquisition the first operating body and the second application drawing picture of the second operating body.
Fig. 3 a to Fig. 3 c shows according to another example of the present invention, during the first touch operation, and the key diagram of the illustrative case of the first operating parameter of acquisition the first operating body and the second application drawing picture of the second operating body.
Fig. 4 a to Fig. 4 c shows according to another example of the present invention, obtain the first operating parameter of the first operating body and the second application drawing picture of the second operating body during the first touch operation, and obtain the key diagram of illustrative case of the 4th application drawing picture of the first operating parameter of the 3rd operating body and the 4th operating body during the 3rd touch operation.
Fig. 5 is the demonstrative structure block diagram that illustrates according to the electronic equipment of the embodiment of the present invention.
Fig. 6 is the demonstrative structure block diagram that illustrates according to the device of the generation control command of the embodiment of the present invention.
Embodiment
Hereinafter, describe the preferred embodiments of the present invention in detail with reference to accompanying drawing.Note, in this instructions and accompanying drawing, have substantially the same step and represent with identical Reference numeral with element, and will be omitted the repetition of explanation of these steps and element.
In following examples of the present invention, electronic equipment refer to can with the equipment of other devices communicatings.The concrete form of electronic equipment includes but not limited to mobile phone, personal computer, digital camera, personal digital assistant, portable computer, tablet computer, game machine etc.In an embodiment of the present invention, electronic equipment can comprise touch sensing unit and image-generating unit.For example, touch sensing unit can be capacitance touch sensing unit or resistive touch sensing unit etc.In addition, image-generating unit can comprise, for example, and one or more in camera, infrared sensing element, supersonic sensing element.
Fig. 1 is the process flow diagram of having described according to the method 100 of the generation control command of the embodiment of the present invention.Below, with reference to Fig. 1, method according to the generation control command of the embodiment of the present invention is described.
The method 100 that generates control command can be used for above-mentioned electronic equipment.As shown in Figure 1, in step S101, detect the first touch operation that whether has the first operating body on the touch panel of electronic equipment.For example, can whether produce the indication operating body by touch sensing unit and touch response on touch panel, detect the first touch operation that whether has the first operating body.
When touch operation being detected, in step S102, during the first touch operation, obtain the first operating parameter of the first operating body by touch sensing unit.The first operating parameter can comprise the touch condition parameter that the indication touch operation begins/stops at least.During the first touch operation, in step S103, in the predetermined space scope above touch panel, obtain the second application drawing picture of the second operating body by image-generating unit.Can determine the predetermined space scope according to the specific design needs.For example, can will be set as the predetermined space scope apart from the space that be less than or equal to 10 centimetres between touch panel top and touch panel.According to an example of the present invention, during the first touch operation, in the predetermined space scope above touch panel, can predetermined time the interval obtain the second application drawing picture of the second operating body by image-generating unit.
It should be noted that method shown in Figure 1 each step needn't according to shown in order carry out.Can carry out concurrently some step.For example, when touch operation being detected, during touch operation, obtain first operating parameter (S102) of the first operating body and during the first touch operation by touch sensing unit, in predetermined space scope above touch panel, the second application drawing picture (S103) that obtains the second operating body by image-generating unit can be to carry out simultaneously.
According to an example of the present invention, the first operating body and the second operating body can be identical.For example, the first operating body and the second operating body can be user's the right hand.When touch operation being detected, in step S102, during touch operation, obtain to carry out by the right hand about the user the first operating parameter of touch operation by touch sensing unit on touch panel, simultaneously, in step S103, obtain the application drawing picture of user's right hand in predetermined space scope above touch panel by image-generating unit.
According to another example of the present invention, the first operating body and the second operating body can be not identical.For example, the first operating body can be user's left hand, and the second operating body can be user's the right hand.When touch operation being detected, in step S102, during touch operation, obtain to carry out by left hand about the user the first operating parameter of touch operation by touch sensing unit on touch panel, simultaneously, in step S103, obtain the application drawing picture of user's right hand in predetermined space scope above touch panel by image-generating unit.
In addition, according to an example of the present invention, when first touch condition parameter indication the first touch operation begins, can the predetermined space scope above touch panel in, obtain the second application drawing picture of the second operating body by image-generating unit.Replacedly, according to another example of the present invention, during the first touch operation, can the predetermined space scope above touch panel in, with predetermined time the interval obtain the second application drawing picture of the second operating body by described image-generating unit.
In step S104, can according to the first parameter that obtains and the application drawing picture that obtains, generate control command in step S102 in step S103.For example, when touch condition parameter indication touch operation begins, generate control command according to the application drawing picture, and when touch condition parameter indication touch operation stops, stopping generating control command according to the application drawing picture.
In the method for the generation control command of the present embodiment, when operating body carries out touch operation, can be when obtaining touch operation duration and/or touch location parameter, detect the application drawing picture of operating body, and touch operation duration and/or the touch location parameter that obtains can be looked like to be combined to generate control command with application drawing.Thereby can realize more diversified touch control operation, bring better interactive experience.
In addition, according to an example of the present invention, the method shown in Fig. 1 looks like to carry out image recognition to the second application drawing after also can further being included in and obtaining the second application drawing picture of the second operating body by image-generating unit, and generates recognition result.And in step S104, can generate control command according to the first parameter and recognition result.
Fig. 2 shows according to an example of the present invention, during the first touch operation, and the key diagram of the illustrative case of the first operating parameter of acquisition the first operating body and the second application drawing picture of the second operating body.As shown in Figure 2, the first operating body is identical with the second operating body in the present embodiment,, is user's the right hand that is.
Below, in connection with the method for the generation control command in this example, key diagram shown in Figure 2 is described.For example, in step S101, detect whether there is the first touch operation of the first operating body on the touch-screen 210 of electronic equipment.During touch operation, in step S102, during the first touch operation, can obtain by touch sensing unit the first operating parameter of user's the right hand by the right hand 220 on touch-screen 210 the user being detected.The first operating parameter can comprise the touch condition parameter that the indication touch operation begins/stops at least.In addition, the first operating parameter also can comprise: the location parameter of the position that contacts with touch-screen corresponding to the first operating body.
During the first touch operation, in step S103, in the predetermined space scope above touch panel, obtain the application drawing picture of user's the right hand 220 by image-generating unit.As mentioned above, after the application drawing picture of the right hand 220 that obtains the user by image-generating unit, can look like to carry out image recognition to the second application drawing, and generate recognition result.For example, in example shown in Figure 2, can identify the active user and carry out touch operation by vertical gesture.And in step S104, can generate control command according to the first parameter and recognition result.As mentioned above, in example shown in Figure 2, when identifying the active user and carry out touch operation by vertical gesture, can be according to presetting in step S104, can generate the corresponding object of a plurality of icons shown in current touch-screen 210 is joined order in particular file folder.For example, when identifying the active user and carry out touch operation by vertical gesture, the position that the first operating body that can be indicated according to the first parameter contacts with touch-screen, with icon 230, the 240 and 250 corresponding objects of the first operating body through its display position, join in the moving direction of the first operating body on touch-screen file 260 pointed.
The method of the generation control command by this example, the user can be as controlling operand in real life, thereby bring better interactive experience.
In addition, according to another example of the present invention, can preset different operating bodies corresponding to different operational orders.Suppose that the first operating body is identical with the second operating body, that is, during the first touch operation, by touch sensing unit obtain its first operating parameter and by image-generating unit obtain its application drawing picture for the same operation body.For example, use in the situation that operation is specific, when by image recognition, when determining that the current operating body that carries out touch operation on the touch pad of electronic equipment is user's palm, can generate the first order.And when by image recognition, when determining that the current operating body that carries out touch operation on the touch pad of electronic equipment switches to the back of the hand of user from user's palm, can generate switching command.Particularly, the first order can be the order of the function menu that shows current application.And when by image recognition, when determining that the current operating body that carries out touch operation on the touch pad of electronic equipment switches to the back of the hand of user from user's palm, can generate the displaying contents switching command, to show the order of current background system resource.
In addition, for example, when application was drawn in operation, user's difference finger can represent the paintbrush of different colours.Particularly, when by image recognition, when determining that the current operating body that carries out touch operation on the touch pad of electronic equipment is user's forefinger, can generate the order of using black to draw; When by image recognition, when determining that the current operating body that carries out touch operation on the touch pad of electronic equipment is user's middle finger, can generate and use red order of drawing; And when by image recognition, when determining that the current operating body that carries out touch operation on the touch pad of electronic equipment is user's little finger of toe, can generate and use yellow order of drawing.
In addition, according to another example of the present invention, the control command that generates according to the first parameter and recognition result can comprise according to recognition result determines whether the first touch operation is the false touch operation, and when definite the first touch operation is the false touch operation, generate the control command of forbidding responding the first touch operation.Fig. 3 a to Fig. 3 c shows according to another example of the present invention, during the first touch operation, and the key diagram of the illustrative case of the first operating parameter of acquisition the first operating body and the second application drawing picture of the second operating body.
Below, in connection with the method for the generation control command in this example, the key diagram shown in Fig. 3 a to Fig. 3 c is described.The first operating body is identical with the second operating body in this example.For example, in step S101, detect the first touch operation that whether has the first operating body on the touch panel of electronic equipment.When the first touch operation being detected, in step S102, during the first touch operation, as shown in Fig. 3 b, can obtain by touch sensing unit the first operating parameter of operating body (for example, being user's finger-joint 310,320 and 330 in the embodiment as shown in Fig. 3 a to Fig. 3 c).The first operating parameter can comprise the touch condition parameter that the indication touch operation begins/stops at least.In addition, the first operating parameter also can comprise: the location parameter of the position that contacts with touch panel corresponding to the first operating body.In Fig. 3 b, touch-responsive 340,350 and 360 indications exist on touch panel operating body touch operation and with the contact position of this operational correspondence.
During the first touch operation, in step S103, in the predetermined space scope above touch panel, obtain the application drawing picture (as shown in Fig. 3 c) of operating body by image-generating unit.As mentioned above, after obtaining the application drawing picture by image-generating unit, can look like to the application drawing of operating body to carry out image recognition, take determine current contact with touch panel as finger-joint but not the finger that stretches out forward.Thereby can judge that current touch operation of carrying out operates as false touch on touch panel, and generate the control command of forbidding responding current touch operation.
The method of the generation control command by this example can determine that current touch operation wishes touch operation or the false touch operation of carrying out for the user, and to determine current touch operation when it be false touch when operating, and this touch operation is not responded.Thereby improve the accuracy of user's operation.
In addition, according to another embodiment of the present invention, can exist simultaneously two or more operating bodies to carry out touch operation on touch panel.In the case, the method shown in Fig. 1 also can further comprise: detect the 3rd touch operation that whether has the 3rd operating body on the touch panel of electronic equipment; When the 3rd touch operation being detected, during the 3rd touch operation, obtain the 3rd operating parameter of the 3rd operating body by touch sensing unit, wherein the 3rd operating parameter comprises the 3rd touch condition parameter that indication the 3rd touch operation begins/stops at least; During the 3rd touch operation, in the predetermined space scope above touch panel, obtain the 4th application drawing picture of the 4th operating body by image-generating unit; And generate control command according to the 3rd operating parameter and the 4th application drawing picture.
According to an example of the present invention, the first operating body and the second operating body can be identical, and the 3rd operating body and the 4th operating body can be identical.For example, the first operating body and the second operating body can be user's left index finger, and the 3rd operating body and the 4th operating body can be user's right hand forefinger.According to the method in the present embodiment, can obtain the first operating parameter and the second application drawing picture of user's left index finger, and generate corresponding control command; And can obtain the 3rd operating parameter and the 4th application drawing picture of user's right hand forefinger, and generate corresponding control command.
In addition, according to another example of the present invention, the first operating parameter also can comprise the primary importance parameter of the position that contacts with touch panel corresponding to the first operating body, and the 3rd operating parameter also can comprise the 3rd location parameter of the position that contacts with touch panel corresponding to the 3rd operating body.Preferably, can obtain the position that any operating body contacts with touch panel by touch sensing unit, and determine the position of touch sensing unit acquisition and the corresponding relation of the first operating body and/or the 3rd operating body by image-generating unit.
Fig. 4 a to Fig. 4 c shows according to another example of the present invention, obtain the first operating parameter of the first operating body and the second application drawing picture of the second operating body during the first touch operation, and obtain the key diagram of illustrative case of the 4th application drawing picture of the first operating parameter of the 3rd operating body and the 4th operating body during the 3rd touch operation.As shown in Fig. 4 a to Fig. 4 c, the first operating body is identical with the second operating body in the present embodiment,, is user's left index finger that is; And the 3rd operating body is identical with the 4th operating body,, is user's right hand forefinger that is.
Below, in connection with the method for the generation control command in this example, the key diagram shown in Fig. 4 a to Fig. 4 c is described.At first, detect whether there is the touch operation of operating body on the touch panel 410 of electronic equipment.As shown in Fig. 4 a, when the user carries out touch operation by left index finger 420 and right hand forefinger 430 on touch panel 410, obtain corresponding to finger and the location parameter of the contact position 440 and 450 (as shown in Fig. 4 b) of touch panel and the touch condition parameter of indicating touch operation to begin/stop by touch sensing unit, and obtain the application drawing picture of finger by image-generating unit.The image 460 of the left index finger that can obtain according to touch sensing unit and the image 470 (as shown in Fig. 4 c) of right hand forefinger are determined contact position 440 that touch sensing unit obtains and 450 and the corresponding relation of left index finger and right hand forefinger, and then the location parameter of definite left index finger and touch condition parameter, and the location parameter of right hand forefinger and touch condition parameter.
As mentioned above, can preset different operating bodies corresponding to different operational orders.For example, in draw using, can generate select command for color according to the above-mentioned parameter of user's left index finger and application drawing picture, and can generate the control command that lines are drawn the position according to above-mentioned parameter and the application drawing picture of user's right hand forefinger.
By the method according to this example, the user can use a plurality of operating bodies at the enterprising line operate of electronic equipment simultaneously, and different operating bodies can be corresponding to different control commands, thereby do not need user by selecting menu, option etc. to come switching command, enriched the touch that the user can carry out and controlled, convenient for users to use.For example, as mentioned above, when there are two touch points in the unit inspection of touch sensible to the touch panel, look like to determine according to application drawing in the situation that carry out touch operation be user's left index finger and right hand forefinger, can generate corresponding color select command and drawing command; And look like to determine according to application drawing in the situation that carry out touch operation be user's right hand forefinger and middle finger, can according to preset, generate and carry out simultaneously the order of touch operation corresponding to two fingers of the right hand.
Below, the electronic equipment of embodiments of the invention is described with reference to Fig. 5.Fig. 5 is the demonstrative structure block diagram that illustrates according to the electronic equipment 500 of the embodiment of the present invention.As shown in Figure 5, the electronic equipment 500 of the present embodiment can comprise touch sensing unit 510, image-generating unit 520, processing unit 530.The unit of electronic equipment 500 is carried out each step/function of the display packing in above-mentioned Fig. 1, and is therefore succinct in order to describe, and no longer specifically describes.
For example, touch sensing unit 510 can comprise touch panel.Touch sensing unit can be capacitance touch sensing unit or resistive touch sensing unit etc.Touch sensing unit 510 can detect the first touch operation that whether has the first operating body on touch panel, and when the first touch operation being detected, during the first touch operation, obtains the first operating parameter of the first operating body.For example, can whether produce the indication operating body by touch sensing unit and touch response on touch panel, detect the touch operation that whether has the first operating body.The first operating parameter can comprise the touch condition parameter that the indication touch operation begins/stops at least.
Image-generating unit 520 can during the first touch operation, in the predetermined space scope above touch panel, obtain the second application drawing picture of the second operating body.Image-generating unit 520 can comprise, for example, and one or more in camera, infrared sensing element, supersonic sensing element.The mode that preferably, can obtain the front elevation of the second operating body under the state of normal running is arranged on image-generating unit on one side of touch panel.Replacedly, image-generating unit can be arranged on two adjacent limits of touch panel or more limits.Can determine the predetermined space scope according to the specific design needs.For example, can will be set as the predetermined space scope apart from the space that be less than or equal to 10 centimetres between touch panel top and touch panel.
According to an example of the present invention, during the first touch operation, in the predetermined space scope above touch panel, can predetermined time the interval obtain the second application drawing picture of the second operating body by image-generating unit.
According to an example of the present invention, the first operating body and the second operating body can be identical.For example, the first operating body and the second operating body can be user's the right hand.When touch operation being detected, during touch operation, can obtain to carry out by the right hand about the user the first operating parameter of touch operation on touch panel by touch sensing unit, simultaneously, can obtain by image-generating unit the application drawing picture of user's right hand in predetermined space scope above touch panel.
According to another example of the present invention, the first operating body and the second operating body can be not identical.For example, the first operating body can be user's left hand, and the second operating body can be user's the right hand.When touch operation being detected, during touch operation, can obtain to carry out by left hand about the user the first operating parameter of touch operation on touch panel by touch sensing unit, simultaneously, can obtain by image-generating unit the application drawing picture of user's right hand in predetermined space scope above touch panel.
In addition, according to an example of the present invention, when first touch condition parameter indication the first touch operation begins, can the predetermined space scope above touch panel in, obtain the second application drawing picture of the second operating bodies by image-generating unit 520.Replacedly, according to another example of the present invention, during the first touch operation, can the predetermined space scope above touch panel in, with predetermined time the interval obtain the second application drawing picture of the second operating bodies by described image-generating unit 520.
Processing unit 530 can comprise order generation module 532.Order generation module 532 can generate control command according to the first parameter and application drawing picture.For example, when touch condition parameter indication touch operation begins, generate control command according to the application drawing picture, and when touch condition parameter indication touch operation stops, stopping generating control command according to the application drawing picture.
In the electronic equipment of the present embodiment, when operating body carries out touch operation, can be when obtaining touch operation duration and/or touch location parameter, detect the application drawing picture of operating body, and touch operation duration and/or the touch location parameter that obtains can be looked like to be combined to generate control command with application drawing.Thereby can realize more diversified touch control operation, bring better interactive experience.
In addition, according to an example of the present invention, processing unit also can comprise the identification module (not shown).Obtain the second application drawing picture of the second operating body by image-generating unit after, identification module can look like to carry out image recognition to the second application drawing, and generates recognition result.The order generation module can generate control command according to the first parameter and recognition result.
In addition, according to another embodiment of the present invention, can exist simultaneously two or more operating bodies to carry out touch operation on touch panel.In the case, touch sensing unit also can detect the 3rd touch operation that whether has the 3rd operating body on the touch panel of electronic equipment, and when the 3rd touch operation being detected, during the 3rd touch operation, obtain the 3rd operating parameter of the 3rd operating body by touch sensing unit.The 3rd operating parameter comprises the 3rd touch condition parameter that indication the 3rd touch operation begins/stops at least.Image-generating unit also can during the 3rd touch operation, in the predetermined space scope above touch panel, obtain the 4th application drawing picture of the 4th operating body by image-generating unit.The order generation module also can generate control command according to the 3rd operating parameter and the 4th application drawing picture,
According to an example of the present invention, the first operating body and the second operating body can be identical, and the 3rd operating body and the 4th operating body can be identical.For example, the first operating body and the second operating body can be user's left index finger, and the 3rd operating body and the 4th operating body can be user's right hand forefinger.According to the method in the present embodiment, can obtain the first operating parameter and the second application drawing picture of user's left index finger, and generate corresponding control command; And can obtain the 3rd operating parameter and the 4th application drawing picture of user's right hand forefinger, and generate corresponding control command.
In addition, according to another example of the present invention, the first operating parameter also can comprise the primary importance parameter of the position that contacts with touch panel corresponding to the first operating body, and the 3rd operating parameter also can comprise the 3rd location parameter of the position that contacts with touch panel corresponding to the 3rd operating body.Preferably, can obtain the position that any operating body contacts with touch panel by touch sensing unit, and determine the position of touch sensing unit acquisition and the corresponding relation of the first operating body and/or the 3rd operating body by image-generating unit.
By the electronic equipment according to this example, the user can use a plurality of operating bodies at the enterprising line operate of electronic equipment simultaneously, and different operating bodies can be corresponding to different control commands, thereby do not need user by selecting menu, option etc. to come switching command, and is convenient for users to use.
Below, the device of the generation control command of embodiments of the invention is described with reference to Fig. 6.Fig. 6 is the demonstrative structure block diagram that illustrates according to the device 600 of the generation control command of the embodiment of the present invention.As shown in Figure 6, the device 600 of the generation control command of the present embodiment can be used for electronic equipment, and the device 600 of generation control command can comprise that touch operation detecting unit 610, the first operating parameter acquiring unit 620, application drawing picture obtain unit 630 and control command generation unit 640.The unit that generates the device 600 of control command is carried out each step/function of the display packing in above-mentioned Fig. 1, and is therefore succinct in order to describe, and no longer specifically describes.
For example, touch operation detecting unit 610 can detect the first touch operation that whether has the first operating body on the touch panel of electronic equipment.The first operating parameter acquiring unit 620 can be when touch operation detecting unit 610 detects the first touch operation, during the first touch operation, obtain the first operating parameter of the first operating body by touch sensing unit, wherein the first operating parameter comprises the touch condition parameter that the indication touch operation begins/stops at least.For example, can whether produce the indication operating body by touch sensing unit and touch response on touch panel, detect the first touch operation that whether has the first operating body.The first operating parameter can comprise the touch condition parameter that the indication touch operation begins/stops at least.
The application drawing picture obtains unit 630 can during the first touch operation, in the predetermined space scope above touch panel, obtain the second application drawing picture of the second operating body.Image-generating unit can comprise, for example, and one or more in camera, infrared sensing element, supersonic sensing element.The mode that preferably, can obtain the front elevation of the second operating body under the state of normal running is arranged on image-generating unit on one side of touch panel.Replacedly, image-generating unit can be arranged on two adjacent limits of touch panel or more limits.Can determine the predetermined space scope according to the specific design needs.For example, can will be set as the predetermined space scope apart from the space that be less than or equal to 10 centimetres between touch panel top and touch panel.
According to an example of the present invention, during the first touch operation, in the predetermined space scope above touch panel, can predetermined time the interval obtain the second application drawing picture of the second operating body by image-generating unit.
According to an example of the present invention, the first operating body and the second operating body can be identical.For example, the first operating body and the second operating body can be user's the right hand.When touch operation being detected, during touch operation, can obtain to carry out by the right hand about the user the first operating parameter of touch operation on touch panel by touch sensing unit, simultaneously, can obtain by image-generating unit the application drawing picture of user's right hand in predetermined space scope above touch panel.
According to another example of the present invention, the first operating body and the second operating body can be not identical.For example, the first operating body can be user's left hand, and the second operating body can be user's the right hand.When touch operation being detected, during touch operation, can obtain to carry out by left hand about the user the first operating parameter of touch operation on touch panel by touch sensing unit, simultaneously, can obtain by image-generating unit the application drawing picture of user's right hand in predetermined space scope above touch panel.
In addition, according to an example of the present invention, when first touch condition parameter indication the first touch operation begins, can the predetermined space scope above touch panel in, obtain by the application drawing picture the second application drawing picture that unit 630 obtains the second operating bodies.Replacedly, according to another example of the present invention, during the first touch operation, can the predetermined space scope above touch panel in, with predetermined time the interval obtain by described application drawing picture the second application drawing picture that unit 630 obtains the second operating bodies.
Control command generation unit 640 can generate control command according to the first parameter and application drawing picture.For example, when touch condition parameter indication touch operation begins, generate control command according to the application drawing picture, and when touch condition parameter indication touch operation stops, stopping generating control command according to the application drawing picture.
In the device of the generation control command of the present embodiment, when operating body carries out touch operation, can be when obtaining touch operation duration and/or touch location parameter, detect the application drawing picture of operating body, and touch operation duration and/or the touch location parameter that obtains can be looked like to be combined to generate control command with application drawing.Thereby can realize more diversified touch control operation, bring better interactive experience.
In addition, according to an example of the present invention, the device 600 that generates control command also can comprise the state recognition unit (not shown).Obtain the second application drawing picture of the second operating body by image-generating unit after, recognition unit can look like to carry out image recognition to the second application drawing, and generates recognition result.Control command generation unit 640 can generate control command according to the first parameter and recognition result.
In the device of the generation control command of the present embodiment, when operating body carries out touch operation, can be when obtaining touch operation duration and/or touch location parameter, detect the application drawing picture of operating body, and touch operation duration and/or the touch location parameter that obtains can be looked like to be combined to generate control command with application drawing.Thereby can realize more diversified touch control operation, bring better interactive experience.
Those of ordinary skills can recognize, module, unit and the algorithm steps of each example of describing in conjunction with embodiment disclosed herein, can realize with electronic hardware, computer software or combination both, for the interchangeability of hardware and software clearly is described, composition and the step of each example described in general manner according to function in the above description.These functions are carried out with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.The professional and technical personnel can specifically should be used for realizing described function with distinct methods to each, but this realization should not thought and exceeds scope of the present invention.
When module and/or unit can utilize software to realize, consider the level of existing hardware technique, so can be with the module of software realization, in the situation that do not consider cost, those skilled in the art can build corresponding hardware circuit and realize corresponding function, and described hardware circuit comprises conventional ultra-large integrated (VLSI) circuit or gate array and the existing semiconductor such as logic chip, transistor or other discrete element.Module can also be used programmable hardware device, realizations such as field programmable gate array, programmable logic array, programmable logic device.
Although illustrated and described some embodiments of the present invention, it will be understood by those skilled in the art that without departing from the principles and spirit of the present invention, can carry out various modifications to these embodiment, such modification should fall within the scope of the present invention.

Claims (16)

1. a method that generates control command, be applied to electronic equipment, and described electronic equipment comprises touch sensing unit and image-generating unit, and described method comprises:
Whether detection exists the first touch operation from the first operating body on the touch panel of described electronic equipment;
When described the first touch operation being detected, during described the first touch operation, obtain the first operating parameter of described the first operating body by described touch sensing unit, wherein said the first operating parameter comprises the first touch condition parameter that described the first touch operation of indication begins/stops at least;
During described the first touch operation, in the predetermined space scope above described touch panel, obtain the second application drawing picture of the second operating body by described image-generating unit; And
Generate control command according to described the first parameter and described the second application drawing picture.
2. the method for claim 1 also comprises:
After obtaining the second application drawing picture of the second operating body by described image-generating unit, described the second application drawing is looked like to carry out image recognition, and generate recognition result;
Describedly generate control command according to described the first parameter and described the second application drawing picture and comprise:
Generate control command according to described the first parameter and described recognition result.
3. the method for claim 1, wherein during described the first touch operation, in the predetermined space scope above described touch panel, the second application drawing that obtains the second operating body by described image-generating unit looks like to comprise:
When described the first described the first touch operation of touch condition parameter indication begins, in the predetermined space scope above described touch panel, obtain the second application drawing picture of the second operating body by described image-generating unit.
4. the method for claim 1 also comprises:
Whether detection exists the 3rd touch operation of the 3rd operating body on the touch panel of described electronic equipment;
When described the 3rd touch operation being detected, during described the 3rd touch operation, obtain the 3rd operating parameter of described the 3rd operating body by described touch sensing unit, wherein said the 3rd operating parameter comprises the 3rd touch condition parameter that described the 3rd touch operation of indication begins/stops at least;
During described the 3rd touch operation, in the predetermined space scope above described touch panel, obtain the 4th application drawing picture of the 4th operating body by described image-generating unit; And
Generate control command according to described the 3rd operating parameter and described the 4th application drawing picture.
5. method as claimed in claim 4, wherein
Described the first operating body is identical with described the second operating body; And
Described the 3rd operating body is identical with described the 4th operating body.
6. method as claimed in claim 5, wherein
Described the first operating parameter also comprises: the primary importance parameter of the position that contacts with described touch panel corresponding to described the first operating body; And
Described the 3rd operating parameter also comprises: the 3rd location parameter of the position that contacts with described touch panel corresponding to described the 3rd operating body.
7. method as claimed in claim 6, wherein
Obtain by described touch sensing unit the position that operating body contacts with described touch panel; And
Determine the position of described touch sensing unit acquisition and the corresponding relation of described the first operating body and/or described the 3rd operating body by described image-generating unit.
8. electronic equipment comprises:
Touch sensing unit, comprise touch panel, and configuration detects the first touch operation that whether exists from the first operating body on the touch panel of described electronic equipment, and when described the first touch operation being detected, during described the first touch operation, obtain the first operating parameter of described the first operating body;
Image-generating unit, configuration come during described the first touch operation, in the predetermined space scope above described touch panel, obtain the second application drawing picture of the second operating body by described image-generating unit; And
Processing unit comprises:
Order generation module, configuration come to generate control command according to described the first parameter and described the second application drawing picture,
Wherein said the first operating parameter comprises the first touch condition parameter that described the first touch operation of indication begins/stops at least.
9. electronic equipment as claimed in claim 8, described processing unit also comprises:
Identification module, configuration come after obtaining the second application drawing picture of the second operating body by described image-generating unit, described the second application drawing to be looked like to carry out image recognition, and generate recognition result,
Described order generation module generates control command according to described the first parameter and described recognition result.
10. electronic equipment as claimed in claim 8, wherein
When described the first described the first touch operation of touch condition parameter indication begins, in the predetermined space scope of described image-generating unit above described touch panel, obtain the second application drawing picture of the second operating body.
11. electronic equipment as claimed in claim 8, wherein
Described touch sensing unit also configures to detect the 3rd touch operation that whether has the 3rd operating body on the touch panel of described electronic equipment, and when described the 3rd touch operation being detected, during described the 3rd touch operation, obtain the 3rd operating parameter of described the 3rd operating body by described touch sensing unit;
Described image-generating unit also configures during described the 3rd touch operation, in the predetermined space scope above described touch panel, obtains the 4th application drawing picture of the 4th operating body by described image-generating unit; And
Described order generation module also configures according to described the 3rd operating parameter and described the 4th application drawing picture and generates control command,
Wherein said the 3rd operating parameter comprises the 3rd touch condition parameter that described the 3rd touch operation of indication begins/stops at least.
12. electronic equipment as claimed in claim 11, wherein
Described the first operating body is identical with described the second operating body; And
Described the 3rd operating body is identical with described the 4th operating body.
13. electronic equipment as claimed in claim 12, wherein
Described the first operating parameter also comprises: the primary importance parameter of the position that contacts with described touch panel corresponding to described the first operating body; And
Described the 3rd operating parameter also comprises: the 3rd location parameter of the position that contacts with described touch panel corresponding to described the 3rd operating body.
14. electronic equipment as claimed in claim 13, wherein
Obtain by described touch sensing unit the position that any operating body contacts with described touch panel; And
Determine the position of described touch sensing unit acquisition and the corresponding relation of described the first operating body and/or described the 3rd operating body by described image-generating unit.
15. a device that generates control command is applied to electronic equipment, described electronic equipment comprises touch sensing unit and image-generating unit, and described device comprises:
The touch operation detecting unit, configuration detects the first touch operation that whether exists from the first operating body on the touch panel of described electronic equipment;
The first operating parameter acquiring unit, configuration comes when described the first touch operation being detected, during described the first touch operation, obtain the first operating parameter of described the first operating body by described touch sensing unit, wherein said the first operating parameter comprises the first touch condition parameter that described the first touch operation of indication begins/stops at least;
The application drawing picture obtains the unit, and configuration comes during described the first touch operation, in the predetermined space scope above described touch panel, obtains the second application drawing picture of the second operating body by described image-generating unit; And
Control command generation unit, configuration come to generate control command according to described the first parameter and described the second application drawing picture.
16. device as claimed in claim 15 also comprises:
Recognition unit after being configured in the second application drawing picture by described image-generating unit acquisition the second operating body, looks like to carry out image recognition to described the second application drawing, and generates recognition result;
Described control command generation unit generates control command according to described the first parameter and described recognition result.
CN201110331385.6A 2011-10-27 2011-10-27 Method and device for generating control commands and electronic equipment Active CN103092491B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110331385.6A CN103092491B (en) 2011-10-27 2011-10-27 Method and device for generating control commands and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110331385.6A CN103092491B (en) 2011-10-27 2011-10-27 Method and device for generating control commands and electronic equipment

Publications (2)

Publication Number Publication Date
CN103092491A true CN103092491A (en) 2013-05-08
CN103092491B CN103092491B (en) 2017-02-01

Family

ID=48205128

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110331385.6A Active CN103092491B (en) 2011-10-27 2011-10-27 Method and device for generating control commands and electronic equipment

Country Status (1)

Country Link
CN (1) CN103092491B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104657004A (en) * 2015-03-06 2015-05-27 联想(北京)有限公司 Electronic equipment and projection control method
CN105224230A (en) * 2015-10-14 2016-01-06 广东欧珀移动通信有限公司 A kind of method of displaying audio file and mobile terminal
CN114860068A (en) * 2022-03-31 2022-08-05 联想(北京)有限公司 Input method and electronic device

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
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
US20110157025A1 (en) * 2009-12-30 2011-06-30 Paul Armistead Hoover Hand posture mode constraints on touch input

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101339489A (en) * 2008-08-14 2009-01-07 炬才微电子(深圳)有限公司 Human-computer interaction method, device and system

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
US20110157025A1 (en) * 2009-12-30 2011-06-30 Paul Armistead Hoover Hand posture mode constraints on touch input
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

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104657004A (en) * 2015-03-06 2015-05-27 联想(北京)有限公司 Electronic equipment and projection control method
CN104657004B (en) * 2015-03-06 2018-07-06 联想(北京)有限公司 Electronic equipment and method for controlling projection
CN105224230A (en) * 2015-10-14 2016-01-06 广东欧珀移动通信有限公司 A kind of method of displaying audio file and mobile terminal
CN105224230B (en) * 2015-10-14 2019-02-05 Oppo广东移动通信有限公司 Method for playing audio file and mobile terminal
CN114860068A (en) * 2022-03-31 2022-08-05 联想(北京)有限公司 Input method and electronic device

Also Published As

Publication number Publication date
CN103092491B (en) 2017-02-01

Similar Documents

Publication Publication Date Title
AU2018282404B2 (en) Touch-sensitive button
US8976140B2 (en) Touch input processor, information processor, and touch input control method
CN102436338B (en) Messaging device and information processing method
US9201587B2 (en) Portable device and operation method thereof
CN104063092A (en) Method and device for controlling touch screen
CN105022561A (en) Touch screen control apparatus and method and mobile terminal
CN103870158A (en) Information processing method and electronic equipment
CN103092491B (en) Method and device for generating control commands and electronic equipment
CN104714643B (en) A kind of method, system and mobile terminal that simulated touch screen is realized using sensor
CN104063142B (en) Information processing method, device and electronic device
CN104331240A (en) Touch screen operating method and touch screen operating device in a mobile terminal
TWI439922B (en) Handheld electronic apparatus and control method thereof
CN103870105B (en) The method and electronic equipment of information processing
CN103631505B (en) Information processing equipment and character input display method
CN105511790B (en) Touch screen control method, system and the electronic equipment of electronic equipment with touch screen
CN103092376A (en) Method and device for generating control commands and electronic equipment
US20150138102A1 (en) Inputting mode switching method and system utilizing the same
CN108804007A (en) Image-pickup method, device, storage medium and electronic equipment
WO2017070926A1 (en) Touch device
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
C14 Grant of patent or utility model
GR01 Patent grant