Summary of the invention
Based on this, the problem of complex operation while being necessary to realize certain function for traditional touch screen, provides a kind of touch control method of simple operation.
In addition, the problem of complex operation while being also necessary to realize certain function for traditional touch screen, provides a kind of touch-control system of simple operation.
A touch control method, comprises the following steps:
Obtain the contact information that object produces touch-control action;
According to described contact information, obtain the dimension information of described object;
Identification obtains the touch-control instruction corresponding with described dimension information;
According to described touch-control instruction, carry out corresponding touch control operation.
In an embodiment, the described step that obtains the dimension information of described object according to described contact information is therein:
According to described contact information, obtain the wide and high of described object;
The step that described identification obtains the touch-control instruction corresponding with described dimension information is:
Wide the first predetermined value and the described higher primary school of being less than that identifies described object is when the second predetermined value, and the touch-control instruction obtaining is erasing instruction;
The described step of carrying out corresponding touch control operation according to described touch-control instruction is:
According to described erasing instruction, carry out erase operation.
In an embodiment, described object is blackboard eraser therein.
In an embodiment, the described step that obtains the dimension information of described object according to described contact information is therein:
According to described contact information, obtain central point and the radius of described object, or the central point of object and diameter;
The step that described identification obtains the touch-control instruction corresponding with described dimension information is:
Obtain default enlargement factor, according to described enlargement factor, central point and radius or diameter, obtain the touch-control instruction of corresponding magnification region;
The described step of carrying out corresponding touch control operation according to described touch-control instruction is:
According to described enlargement factor, described magnification region is carried out to amplifieroperation.
In an embodiment, described object is magnifier therein.
A touch-control system, comprising:
Contact acquisition module, produces the contact information of touch-control action for obtaining object;
Dimension information determination module, for obtaining the dimension information of described object according to described contact information;
Instruction identification module, obtains the touch-control instruction corresponding with described dimension information for identifying;
Execution module, for carrying out corresponding touch control operation according to described touch-control instruction.
In an embodiment, described dimension information determination module is also for obtaining the wide and high of described object according to described contact information therein; Described instruction identification module also for wide the first predetermined value and the described higher primary school of being less than that identify described object when the second predetermined value, the touch-control instruction obtaining is erasing instruction; Described execution module is also for carrying out erase operation according to described erasing instruction.
In an embodiment, described object is blackboard eraser therein.
In an embodiment, described dimension information determination module is also for obtaining central point and the radius of described object or the central point of object and diameter according to described contact information therein; Described instruction identification module is also for obtaining default enlargement factor, obtains the touch-control instruction of corresponding magnification region according to described enlargement factor, central point and radius or diameter; Described execution module is also for carrying out amplifieroperation according to described enlargement factor to described magnification region.
In an embodiment, described object is magnifier therein.
Above-mentioned touch control method and touch-control system, after obtaining contact information, determine dimension information, identification dimension information obtains corresponding touch-control instruction, by touch-control instruction, carry out touch control operation, need on touch screen, not carry out repeatedly clicking operation, simple operation, and this object can be non-electrical object arbitrarily, realized the touch-control of arbitrary objects.
Embodiment
Below in conjunction with specific embodiment and accompanying drawing, the technical scheme of touch control method and touch-control system is described in detail, so that it is clearer.
As shown in Figure 1, in one embodiment, a kind of touch control method, comprises the following steps:
Step S110, obtains the contact information that object produces touch-control action.
Concrete, touch screen is noncapacitive touch screen, for generation of the object of touch control operation, can be the non-electrical objects such as blackboard eraser or magnifier.While producing touch-control action on touch screen by object, can get contact information, if object is blackboard eraser, contact information be the oval or polygonal physical form of rectangle coordinate information a little, if object is magnifier, magnifier adopts circle shape, contact information comprise form circle coordinate information a little.Coordinate can touch screen on any point make initial point and form coordinate system.
Step S120, obtains the dimension information of this object according to this contact information.
Concrete, according to contact information, can be calculated the dimension information of this object.If contact information is all point coordinate information that comprise rectangular graph, the dimension information that obtains object comprises the wide and high of object.If contact information be comprise form circle coordinate information a little, the dimension information that obtains object comprises central point and the radius of object or the central point of object and diameter.
Step S130, identification obtains the touch-control instruction corresponding with this dimension information.
Concrete, can set up in advance the corresponding relation between dimension information and touch-control instruction.According to dimension information, from the corresponding relation of setting up in advance, obtain the touch-control instruction corresponding with this dimension information.
Step S140, carries out corresponding touch control operation according to this touch-control instruction.
Above-mentioned touch control method, after obtaining contact information, determine dimension information, identification dimension information obtains corresponding touch-control instruction, by touch-control instruction, carry out touch control operation, need on touch screen, not carry out repeatedly clicking operation, simple operation, and this object can be non-electrical object arbitrarily, realized the touch-control of arbitrary objects.
As shown in Figure 2, the touch control method in another embodiment, comprises the following steps:
Step S210, obtains the contact information that object produces touch-control action.
Concrete, this object is blackboard eraser.
Step S220, obtains the wide and high of this object according to this contact information.
Concrete, it is shaped as rectangular shape the figure forming in touch screen upper contact information, obtains the wide and high of its rectangle.
Step S230, identifies the wide first predetermined value Qie Gai higher primary school that is less than of this object when the second predetermined value, and the touch-control instruction obtaining is erasing instruction.
Concrete, the first predetermined value and the second predetermined value can be set as required.If the first predetermined value is 7 centimetres, the second predetermined value is 4 centimetres.
Step S240, carries out erase operation according to this erasing instruction.
Above-mentioned touch control method, by identifying erasing instruction, has realized entity blackboard eraser erase operation on touch screen, does not need to call the instrument realizations such as virtual erasing rubber and wipes, simple operation.
As shown in Figure 3, the touch control method in another embodiment, comprises the following steps:
Step S310, obtains the contact information that object produces touch-control action.
Concrete, this object is magnifier.
Step S320, obtains central point and the radius of this object or the central point of object and diameter according to this contact information.
Step S330, obtains default enlargement factor, obtains the touch-control instruction of corresponding magnification region according to this central point and radius or diameter.
Concrete, according to central point and radius size, can determine the scope of amplification, obtain default enlargement factor, radius can be amplified to the radius in region divided by enlargement factor, take central point as the center of circle, and the value that the radius of object obtains divided by enlargement factor is that radius forms magnification region.
Step S340, carries out amplifieroperation according to this enlargement factor to magnification region.
Concrete, the content of magnification region is shown enlarged in magnifier.
Above-mentioned touch control method, realizes the amplifieroperation to touch screen by magnifier, the operation, simple operation such as replaces pulling on touch screen.
As shown in Figure 4, in one embodiment, a kind of touch-control system, comprises contact acquisition module 110, dimension information determination module 120, instruction identification module 130 and execution module 140.Wherein:
Contact acquisition module 110, produces the contact information of touch-control action for obtaining object.
Concrete, touch screen is noncapacitive touch screen, for generation of the object of touch control operation, can be the non-electrical objects such as blackboard eraser or magnifier.While producing touch-control action on touch screen by object, can get contact information, if object is blackboard eraser, contact information be the oval or polygonal physical form of rectangle coordinate information a little, if object is magnifier, magnifier adopts circle shape, contact information comprise form circle coordinate information a little.Coordinate can touch screen on any point make initial point and form coordinate system.
Dimension information determination module 120, for obtaining the dimension information of this object according to this contact information.
Concrete, dimension information determination module 120 can be calculated the dimension information of this object according to contact information.If contact information is all point coordinate information that comprise rectangular graph, the dimension information that obtains object comprises the wide and high of object.If contact information be comprise form circle coordinate information a little, the dimension information that obtains object comprises central point and the radius of object or the central point of object and diameter.
Instruction identification module 130, obtains the touch-control instruction corresponding with this dimension information for identifying.
Concrete, can set up in advance the corresponding relation between dimension information and touch-control instruction.According to dimension information, from the corresponding relation of setting up in advance, obtain the touch-control instruction corresponding with this dimension information.
Execution module 140, for carrying out corresponding touch control operation according to this touch-control instruction.
Above-mentioned touch-control system, after obtaining contact information, determine dimension information, identification dimension information obtains corresponding touch-control instruction, by touch-control instruction, carry out touch control operation, need on touch screen, not carry out repeatedly clicking operation, simple operation, and this object can be non-electrical object arbitrarily, realized the touch-control of arbitrary objects.
Further, in one embodiment, dimension information determination module 120 is also for obtaining the wide and high of described object according to this contact information.Wherein, this object is blackboard eraser.
Instruction identification module 130 also for wide the first predetermined value and the described higher primary school of being less than that identify this object when the second predetermined value, the touch-control instruction obtaining is erasing instruction.
Concrete, the first predetermined value and the second predetermined value can be set as required.If the first predetermined value is 7 centimetres, the second predetermined value is 4 centimetres.
Execution module 140 is also for carrying out erase operation according to this erasing instruction.
Above-mentioned touch-control system, by identifying erasing instruction, has realized entity blackboard eraser erase operation on touch screen, does not need to call the instrument realizations such as virtual erasing rubber and wipes, simple operation.
Further, in one embodiment, dimension information determination module 120 is also for obtaining central point and the radius of this object or the central point of object and diameter according to this contact information.Concrete, this object is magnifier.
Instruction identification module 130 is also for obtaining default enlargement factor, obtains the touch-control instruction of corresponding magnification region according to this enlargement factor, central point and radius or diameter.
Concrete, according to central point and radius size, can determine the scope of amplification, obtain default enlargement factor, radius can be amplified to the radius in region divided by enlargement factor, take central point as the center of circle, and the value that the radius of object obtains divided by enlargement factor is that radius forms magnification region.
Execution module 140 is also for carrying out amplifieroperation according to this enlargement factor to this magnification region.
Concrete, the content of magnification region is shown enlarged in magnifier.
Above-mentioned touch-control system, realizes the amplifieroperation to touch screen by magnifier, the operation, simple operation such as replaces pulling on touch screen.
The above embodiment has only expressed several embodiment of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.