CN106484182B - Touch control identification method and device - Google Patents
Touch control identification method and device Download PDFInfo
- Publication number
- CN106484182B CN106484182B CN201610866934.2A CN201610866934A CN106484182B CN 106484182 B CN106484182 B CN 106484182B CN 201610866934 A CN201610866934 A CN 201610866934A CN 106484182 B CN106484182 B CN 106484182B
- Authority
- CN
- China
- Prior art keywords
- touch
- control
- standard axle
- coordinate
- region
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The disclosure is directed to touch control identification method and devices.This method comprises: the touch control operation on detection touch panel, wherein include a coordinate system on the touch panel;Determine touch-control coordinate of the touch control operation in the coordinate system;When standard axle region where the touch-control coordinate is in a standard axle, direction indicated by the touch-control coordinate is determined as reference direction corresponding to the standard axle, wherein, the standard axle passes through the origin of the coordinate system, and the standard axle region where the standard axle is the region that the standard axle is surrounded with the straight line for deviateing the standard axle predetermined angle.Above-mentioned technical proposal can more accurately identify positive operation when direction discernment, and preferably positive support, the job requirements being more convenient under various use environments are provided under various operating environments.
Description
Technical field
This disclosure relates to direction identification technology field more particularly to touch control identification method and device.
Background technique
Currently, balance car, aircraft etc., which require user, carrys out steer direction, in the related technology, identified using 360 degree of touch-controls
Method identifies direction, and a circle is divided into 360 degree, when user wants to change direction, is clicked with hand or stylus
Respective direction on circle, so that it may which the angle for automatically identifying the position of user's click can control flat according to this angle
The vehicle that weighs turns to.But this method has a problem that, for the identification of 360 degree of touch-controls because of excessively accurately direction discernment, causing can not standard
The operation up and down of standard is known in confirmation.As shown in Figure 1, only having a line that can just be identified as forward direction on a circle, slightly partially
From can not just identify.
But in certain environments, it needs accurately to recognize positive (upper and lower, left and right), but the relevant technologies exist
It is difficult accurately to carry out positive operation when manual operation.
Summary of the invention
The embodiment of the present disclosure provides touch control identification method and device.The technical solution is as follows:
According to the first aspect of the embodiments of the present disclosure, a kind of touch control identification method is provided, comprising:
Detect the touch control operation on touch panel, wherein include a coordinate system on the touch panel;
Determine touch-control coordinate of the touch control operation in the coordinate system;
When standard axle region where the touch-control coordinate is in a standard axle, by side indicated by the touch-control coordinate
To being determined as reference direction corresponding to the standard axle, wherein the standard axle passes through the origin of the coordinate system, the mark
Standard axle region where fiducial axis is the region that the standard axle is surrounded with the straight line for deviateing the standard axle predetermined angle.
In one embodiment, the standard axle region can include:
The standard axle with along the region that the straight line that first direction deviates first predetermined angle of standard axle surrounds;With
And
The region that the standard axle and the straight line for deviateing second predetermined angle of standard axle in a second direction surround,
In, the second direction is opposite to the first direction.
In one embodiment, the method may also include that
When the touch-control coordinate is not in the standard axle region, direction indicated by the touch-control coordinate is determined as
By the first touch-control direction along with its apart from nearest standard axle region moved after the second touch-control direction, wherein described the
One touch-control direction is direction indicated by the line of the touch-control coordinate and the origin.
In one embodiment, the method may also include that
It is when being equidistant of two standard axle regions in the first touch-control direction and its two sides, the touch-control coordinate is signified
The direction shown is determined as the first touch-control direction.
In one embodiment, the quantity of the standard axle can be any one of following:
- 2;
- 4;
- 8;
- 16.
In one embodiment, the quantity of the standard axle is 8, the reference direction can include:
East orientation, west to, south orientation, north orientation, North-East Bound, the southeast to, north-westward and southwest to.
In one embodiment, the method can be applied to Vehicular turn control field.
In one embodiment, the method may also include that
The vehicle is controlled to being diverted to direction indicated by the touch-control coordinate.
In one embodiment, the method may also include that
When the touch control operation is deviated from the touch-control coordinate position to any offset direction, institute is controlled
Vehicle is stated to be turned to according to the offset direction.
According to the second aspect of an embodiment of the present disclosure, a kind of touch control identification device is provided, comprising:
Detection module, for detecting the touch control operation on touch panel, wherein include a coordinate on the touch panel
System;
First determining module, for determining touch-control coordinate of the touch control operation in the coordinate system;
Second determining module will be described when for standard axle region where the touch-control coordinate is in a standard axle
Direction indicated by touch-control coordinate is determined as reference direction corresponding to the standard axle, wherein the standard axle passes through described
The origin of coordinate system, the standard axle region where the standard axle are the standard axle and the deviation standard axle predetermined angle
The region that straight line surrounds.
In one embodiment, the standard axle region can include:
The standard axle with along the region that the straight line that first direction deviates first predetermined angle of standard axle surrounds;With
And
The region that the standard axle and the straight line for deviateing second predetermined angle of standard axle in a second direction surround,
In, the second direction is opposite to the first direction.
In one embodiment, described device may also include that
Third determining module, for when the touch-control coordinate is not in the standard axle region, by the touch-control coordinate
Indicated direction be determined as by the first touch-control direction along with its apart from nearest standard axle region moved after second touching
Prosecutor is to direction indicated by the line that, wherein first touch-control direction is the touch-control coordinate and the origin.
In one embodiment, described device may also include that
4th determining module, for when being equidistant of two standard axle regions in the first touch-control direction and its two sides,
Direction indicated by the touch-control coordinate is determined as the first touch-control direction.
In one embodiment, the quantity of the standard axle can be any one of following:
- 2;
- 4;
- 8;
- 16.
In one embodiment, the quantity of the standard axle is 8, the reference direction can include:
East orientation, west to, south orientation, north orientation, North-East Bound, the southeast to, north-westward and southwest to.
In one embodiment, described device can be applied to Vehicular turn control field.
In one embodiment, described device may also include that
Control module, for controlling the vehicle to being diverted to direction indicated by the touch-control coordinate.
In one embodiment, described device may also include that
Offset module, when the touch control operation is deviated from the touch-control coordinate position to any offset direction
When, it controls the vehicle and is turned to according to the offset direction.
According to the third aspect of an embodiment of the present disclosure, a kind of touch control identification device is provided, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Detect the touch control operation on touch panel, wherein include a coordinate system on the touch panel;
Determine touch-control coordinate of the touch control operation in the coordinate system;
When standard axle region where the touch-control coordinate is in a standard axle, by side indicated by the touch-control coordinate
To being determined as reference direction corresponding to the standard axle, wherein the standard axle passes through the origin of the coordinate system, the mark
Standard axle region where fiducial axis is the region that the standard axle is surrounded with the straight line for deviateing the standard axle predetermined angle.
The technical scheme provided by this disclosed embodiment can include the following benefits:
Above-mentioned technical proposal passes through the touch control operation on detection touch panel, wherein sit on the touch panel comprising one
Mark system;Determine touch-control coordinate of the touch control operation in the coordinate system;Where the touch-control coordinate is in a standard axle
Standard axle region when, direction indicated by the touch-control coordinate is determined as reference direction corresponding to the standard axle,
In, the standard axle passes through the origin of the coordinate system, and the standard axle region where the standard axle is for the standard axle and partially
The region that straight line from the standard axle predetermined angle surrounds.To can more accurately be identified just when direction discernment
To operation, preferably positive support, the job requirements being more convenient under various use environments are provided under various operating environments.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure
Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is the direction discernment schematic diagram of touch-control identification in the related technology.
Fig. 2 is the flow chart of touch control identification method shown according to an exemplary embodiment.
Fig. 3 is standard axle area schematic shown according to an exemplary embodiment.
Fig. 4 is standard axle schematic diagram shown according to an exemplary embodiment.
Fig. 5 is the standard axle area schematic shown according to another exemplary embodiment.
Fig. 6 is the standard axle area schematic shown according to a further exemplary embodiment.
Fig. 7 is the flow chart of another touch control identification method shown according to an exemplary embodiment.
Fig. 8 is the second touch-control direction schematic diagram shown according to an exemplary embodiment.
Fig. 9 is the flow chart of another touch control identification method shown according to an exemplary embodiment.
Figure 10 is the flow chart of another touch control identification method shown according to an exemplary embodiment.
Figure 11 is the block diagram of touch control identification device shown according to an exemplary embodiment.
Figure 12 is the block diagram of another touch control identification device shown according to an exemplary embodiment.
Figure 13 is the block diagram of another touch control identification device shown according to an exemplary embodiment.
Figure 14 is the block diagram of another touch control identification device shown according to an exemplary embodiment.
Figure 15 is the block diagram shown according to an exemplary embodiment suitable for touch control identification device.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Fig. 2 is a kind of flow chart of touch control identification method shown according to an exemplary embodiment.As shown in Fig. 2, the touching
Control recognition methods includes the following steps S201-S203:
In step s 201, the touch control operation on touch panel is detected, wherein include a coordinate system on touch panel.
In step S202, the touch-control coordinate of touch control operation in a coordinate system is determined.
In step S203, when standard axle region where touch-control coordinate is in a standard axle, by touch-control coordinate meaning
The direction shown is determined as reference direction corresponding to standard axle, wherein standard axle is by the origin of coordinate system, where standard axle
Standard axle region is the region that standard axle is surrounded with the straight line for deviateing standard axle predetermined angle.
Standard axle for example can be X-axis and Y-axis.Standard axle region for example may is that as shown in figure 3,31,32,33,34 is equal
It is surrounded to be respectively offset from two straight lines of X-axis forward direction predetermined angle with X-axis forward direction for standard axle region, standard axle region 31
The sum of region;Standard axle region 32 is two straight lines and Y-axis forward direction area defined for being respectively offset from Y-axis forward direction predetermined angle
The sum of;Standard axle region 33 be respectively offset from Y-axis negative sense predetermined angle two straight lines and Y-axis negative sense area defined it
With;Standard axle region 34 is to be respectively offset from the sum of two straight lines and X-axis negative sense area defined of X-axis negative sense predetermined angle.
These straight lines are by the center of circle.Predetermined angle can also be modified according to actual needs by default, user, be preset
Angle for example can be 3。、5。、7.5。Deng.When predetermined angle is 7.5。When, standard axle region 31 is to be respectively offset from X-axis forward direction 7.5。
Two straight lines and the sum of X-axis forward direction area defined, that is, radian is 15。Circular arc and the area that surrounds of two straight lines
Domain.
Standard axle will can also be determined as marking with X-axis and Y-axis in two straight lines of 45 degree of angles respectively in addition to X-axis and Y-axis
Fiducial axis, as shown in figure 4, Fig. 4 shows standard axle 41 and standard axle 42, correspondingly, standard axle and deviation standard axle predetermined angle
The region that surrounds of straight line be standard axle region, as shown in figure 5, Fig. 5 shows standard axle region 51,52,53 and 54.
In addition to above scheme, standard axle region may also be only standard axle and only deviate standard axle preset angle to a direction
Degree, that is to say, that standard axle region may be the region of the half in the standard axle region in above scheme.It illustrates
It is bright, as shown in fig. 6, Fig. 6 shows standard axle region 61,62,63,64,65,66,67 and 68.
The above method of the embodiment of the present disclosure passes through the touch control operation on detection touch panel, wherein wrap on touch panel
Containing a coordinate system;Determine the touch-control coordinate of touch control operation in a coordinate system;Standard where touch-control coordinate is in a standard axle
When axis region, direction indicated by touch-control coordinate is determined as reference direction corresponding to standard axle, wherein standard axle passes through seat
The origin for marking system, the standard axle region where standard axle are the area that standard axle is surrounded with the straight line for deviateing standard axle predetermined angle
Domain.To can more accurately identify positive operation when direction discernment, provided under various operating environments better
Forward direction support, the job requirements being more convenient under various use environments.
In one embodiment, as shown in fig. 7, the touch control identification method can also include the steps of S204:
In step S204, when touch-control coordinate is not in standard axle region, direction indicated by touch-control coordinate is determined
For by the first touch-control direction along with its apart from nearest standard axle region moved after the second touch-control direction, wherein first
Touch-control direction is direction indicated by the line of touch-control coordinate and origin.
In the present embodiment, when the corresponding touch-control coordinate of touch control operation is not in standard axle region, by touch-control coordinate meaning
The direction shown be determined as by the first touch-control direction along with its apart from nearest standard axle region moved after the second touch-control side
To.For example, corresponding touch-control coordinate is (a, b), the first touching as shown in figure 8, the stain in figure is the touch location of user
Prosecutor is direction indicated by the line of origin and touch-control coordinate (a, b) to 81.The standard axle region nearest apart from touch-control coordinate
For standard axle region 61, therefore, direction indicated by touch-control coordinate (a, b) is by the first touch-control direction 81 along standard axle region 61
The second touch-control direction 82 after carrying out movement.
In one embodiment, as shown in figure 9, the touch control identification method can also include the steps of S205:
In step S205, when being equidistant of two standard axle regions in the first touch-control direction and its two sides, it will touch
Direction indicated by control coordinate is determined as the first touch-control direction.
In the present embodiment, when being equidistant of two standard axle regions in the first touch-control direction and its two sides, that is,
Two standard axles adjacent thereto are equidistant, and direction indicated by touch-control coordinate is still determined as the first touch-control direction,
I.e. without movement.
In one embodiment, the quantity of standard axle can be any one of following:
2,4,8 and 16.
In one embodiment, the quantity of standard axle is 8, reference direction can include:
East orientation, west to, south orientation, north orientation, North-East Bound, the southeast to, north-westward and southwest to.
In one embodiment, which applies also for Vehicular turn control field.
Vehicle such as can be balance car etc..
In one embodiment, when the above method is applied to Vehicular turn control field, as shown in Figure 10, which knows
Other method can also include the steps of S206:
In step S206, control vehicle is to being diverted to direction indicated by touch-control coordinate.
In the present embodiment, when the above method is applied to Vehicular turn control field, control Vehicular turn to touch-control coordinate
Indicated direction.So as to flexibly control vehicle.
In one embodiment, which can also include the steps of S207:
In step S207, when touch control operation is deviated from touch-control coordinate position to any offset direction, control
Vehicle processed is turned to according to offset direction.
Here, for example, touch control operation can from touch-control coordinate position to be directed toward left side offset direction be deviated,
It then can control vehicle to be turned to the offset direction for being directed toward left side.
For another example, touch control operation can be deviated from touch-control coordinate position to the offset direction for being directed toward right side, then may be used
It is turned to controlling vehicle to the offset direction for being directed toward right side.
Here, also mobile control vehicle is according to touching even if touch control operation is still in standard axle region after offset
The offset direction of control operation is turned to.
The purpose so operated is to keep real-time control direction more smooth.And certain algorithm can be added, it will be former
Some standard axle regions are more smooth with the connection in other nonstandard fiducial axis regions.
Following is embodiment of the present disclosure, can be used for executing embodiments of the present disclosure.
Figure 11 is a kind of block diagram of touch control identification device shown according to an exemplary embodiment, which can be by soft
Part, hardware or both are implemented in combination with as some or all of of electronic equipment.As shown in figure 11, the touch control identification device
Include:
Detection module 111, the touch control operation being configured as on detection touch panel, wherein sat on touch panel comprising one
Mark system;
First determining module 112 is configured to determine that the touch-control coordinate of touch control operation in a coordinate system;
Second determining module 113 when the standard axle region being configured as where touch-control coordinate is in a standard axle, will be touched
Direction indicated by control coordinate is determined as reference direction corresponding to standard axle, wherein origin of the standard axle by coordinate system, mark
Standard axle region where fiducial axis is the region that standard axle is surrounded with the straight line for deviateing standard axle predetermined angle.
In one embodiment, standard axle region can include:
The region that standard axle is surrounded with the straight line for deviateing the first predetermined angle of standard axle along first direction;And
The region that standard axle is surrounded with the straight line for deviateing the second predetermined angle of standard axle in a second direction, wherein second party
To opposite with first direction.
In one embodiment, as shown in figure 12, above-mentioned apparatus may also include that
Third determining module 114 is configured as when touch-control coordinate is not in standard axle region, will be indicated by touch-control coordinate
Direction be determined as by the first touch-control direction along with its apart from nearest standard axle region moved after the second touch-control direction,
Wherein, the first touch-control direction is direction indicated by the line of touch-control coordinate and origin.
In one embodiment, as shown in figure 13, above-mentioned apparatus may also include that
4th determining module 115 is configured as when the first touch-control direction is at a distance from two standard axle regions of its two sides
When equal, direction indicated by touch-control coordinate is determined as the first touch-control direction.
In one embodiment, the quantity of standard axle can be any one of following:
- 2;
- 4;
- 8;
- 16.
In one embodiment, the quantity of standard axle is 8, reference direction can include:
East orientation, west to, south orientation, north orientation, North-East Bound, the southeast to, north-westward and southwest to.
In one embodiment, above-mentioned apparatus can be applied to Vehicular turn control field.
In one embodiment, as shown in figure 14, above-mentioned apparatus may also include that
Control module 116 is configured as control vehicle to being diverted to direction indicated by touch-control coordinate.
In one embodiment, above-mentioned apparatus may also include that
Offset module is configured as being deviated when touch control operation from touch-control coordinate position to any offset direction
When, control vehicle is turned to according to offset direction.
The embodiment of the present disclosure also provides a kind of touch control identification device, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Detect the touch control operation on touch panel, wherein include a coordinate system on the touch panel;
Determine touch-control coordinate of the touch control operation in the coordinate system;
When standard axle region where the touch-control coordinate is in a standard axle, by side indicated by the touch-control coordinate
To being determined as reference direction corresponding to the standard axle, wherein the standard axle passes through the origin of the coordinate system, the mark
Standard axle region where fiducial axis is the region that the standard axle is surrounded with the straight line for deviateing the standard axle predetermined angle.
The standard axle region may also include that
The standard axle with along the region that the straight line that first direction deviates first predetermined angle of standard axle surrounds;With
And
The region that the standard axle and the straight line for deviateing second predetermined angle of standard axle in a second direction surround,
In, the second direction is opposite to the first direction.
Above-mentioned processor is also configured to
When the touch-control coordinate is not in the standard axle region, direction indicated by the touch-control coordinate is determined as
By the first touch-control direction along with its apart from nearest standard axle region moved after the second touch-control direction, wherein described the
One touch-control direction is direction indicated by the line of the touch-control coordinate and the origin.
Above-mentioned processor is also configured to
It is when being equidistant of two standard axle regions in the first touch-control direction and its two sides, the touch-control coordinate is signified
The direction shown is determined as the first touch-control direction.
The quantity of the standard axle can also be any one of following:
- 2;
- 4;
- 8;
- 16.
The quantity of the standard axle is 8, and the reference direction may also include that
East orientation, west to, south orientation, north orientation, North-East Bound, the southeast to, north-westward and southwest to.
The method applies also for Vehicular turn control field.
Above-mentioned processor is also configured to
The vehicle is controlled to being diverted to direction indicated by the touch-control coordinate.
Above-mentioned processor is also configured to:
When touch control operation is deviated from touch-control coordinate position to any offset direction, vehicle is controlled according to offset
Direction is turned to.
Figure 15 is a kind of block diagram for touch control identification device shown according to an exemplary embodiment, which is suitable for
Terminal device.For example, device 1200 can be mobile phone, computer, digital broadcasting terminal, messaging device, game control
Platform processed, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
Device 1200 may include following one or more components: processing component 1202, memory 1204, power supply module
1206, multimedia component 1208, audio component 1210, the interface 1212 of input/output (I/O), sensor module 1214, and
Communication component 1216.
The integrated operation of the usual control device 1200 of processing component 1202, such as with display, telephone call, data communication,
Camera operation and record operate associated operation.Processing component 1202 may include one or more processors 1220 to execute
Instruction, to perform all or part of the steps of the methods described above.In addition, processing component 1202 may include one or more moulds
Block, convenient for the interaction between processing component 1202 and other assemblies.For example, processing component 1202 may include multi-media module,
To facilitate the interaction between multimedia component 1208 and processing component 1202.
Memory 1204 is configured as storing various types of data to support the operation in device 1200.These data
Example includes the instruction of any application or method for operating on device 1200, contact data, telephone book data,
Message, picture, video etc..Memory 1204 can by any kind of volatibility or non-volatile memory device or they
Combination is realized, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), it is erasable can
Program read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory
Reservoir, disk or CD.
Power supply module 1206 provides electric power for the various assemblies of device 1200.Power supply module 1206 may include power management
System, one or more power supplys and other with for device 1200 generate, manage, and distribute the associated component of electric power.
Multimedia component 1208 includes the screen of one output interface of offer between described device 1200 and user.?
In some embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel,
Screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes that one or more touch passes
Sensor is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding is dynamic
The boundary of work, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more
Media component 1208 includes a front camera and/or rear camera.When device 1200 is in operation mode, as shot mould
When formula or video mode, front camera and/or rear camera can receive external multi-medium data.Each preposition camera shooting
Head and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 1210 is configured as output and/or input audio signal.For example, audio component 1210 includes a wheat
Gram wind (MIC), when device 1200 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone quilt
It is configured to receive external audio signal.The received audio signal can be further stored in memory 1204 or via communication
Component 1216 is sent.In some embodiments, audio component 1210 further includes a loudspeaker, is used for output audio signal.
I/O interface 1212 provides interface, above-mentioned peripheral interface module between processing component 1202 and peripheral interface module
It can be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and
Locking press button.
Sensor module 1214 includes one or more sensors, and the state for providing various aspects for device 1200 is commented
Estimate.For example, sensor module 1214 can detecte the state that opens/closes of device 1200, the relative positioning of component, such as institute
The display and keypad that component is device 1200 are stated, sensor module 1214 can be with detection device 1200 or device 1,200 1
The position change of a component, the existence or non-existence that user contacts with device 1200,1200 orientation of device or acceleration/deceleration and dress
Set 1200 temperature change.Sensor module 1214 may include proximity sensor, be configured in not any physics
It is detected the presence of nearby objects when contact.Sensor module 1214 can also include optical sensor, as CMOS or ccd image are sensed
Device, for being used in imaging applications.In some embodiments, which can also include acceleration sensing
Device, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 1216 is configured to facilitate the communication of wired or wireless way between device 1200 and other equipment.Dress
The wireless network based on communication standard, such as WiFi can be accessed by setting 1200,2G or 3G or their combination.It is exemplary at one
In embodiment, communication component 1216 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel
Information.In one exemplary embodiment, the communication component 1216 further includes near-field communication (NFC) module, to promote short distance
Communication.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module
(UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 1200 can be by one or more application specific integrated circuit (ASIC), number
Signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided
It such as include the memory 1204 of instruction, above-metioned instruction can be executed by the processor 1220 of device 1200 to complete the above method.Example
Such as, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, soft
Disk and optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of device 1200
When device executes, so that device 1200 is able to carry out above-mentioned touch control identification method, which comprises
Detect the touch control operation on touch panel, wherein include a coordinate system on the touch panel;
Determine touch-control coordinate of the touch control operation in the coordinate system;
When standard axle region where the touch-control coordinate is in a standard axle, by side indicated by the touch-control coordinate
To being determined as reference direction corresponding to the standard axle, wherein the standard axle passes through the origin of the coordinate system, the mark
Standard axle region where fiducial axis is the region that the standard axle is surrounded with the straight line for deviateing the standard axle predetermined angle.
In one embodiment, the standard axle region can include:
The standard axle with along the region that the straight line that first direction deviates first predetermined angle of standard axle surrounds;With
And
The region that the standard axle and the straight line for deviateing second predetermined angle of standard axle in a second direction surround,
In, the second direction is opposite to the first direction.
In one embodiment, the method may also include that
When the touch-control coordinate is not in the standard axle region, direction indicated by the touch-control coordinate is determined as
By the first touch-control direction along with its apart from nearest standard axle region moved after the second touch-control direction, wherein described the
One touch-control direction is direction indicated by the line of the touch-control coordinate and the origin.
In one embodiment, the method may also include that
It is when being equidistant of two standard axle regions in the first touch-control direction and its two sides, the touch-control coordinate is signified
The direction shown is determined as the first touch-control direction.
In one embodiment, the quantity of the standard axle can be any one of following:
- 2;
- 4;
- 8;
- 16.
In one embodiment, the quantity of the standard axle is 8, the reference direction can include:
East orientation, west to, south orientation, north orientation, North-East Bound, the southeast to, north-westward and southwest to.
In one embodiment, the method can be applied to Vehicular turn control field.
In one embodiment, the method may also include that
The vehicle is controlled to being diverted to direction indicated by the touch-control coordinate.
Those skilled in the art will readily occur to its of the disclosure after considering specification and practicing disclosure disclosed herein
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or
Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following
Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.
Claims (18)
1. a kind of touch control identification method characterized by comprising
Detect the touch control operation on touch panel, wherein include a coordinate system on the touch panel;
Determine touch-control coordinate of the touch control operation in the coordinate system;
It is when standard axle region where the touch-control coordinate is in a standard axle, direction indicated by the touch-control coordinate is true
It is set to reference direction corresponding to the standard axle, wherein the standard axle passes through the origin of the coordinate system, the standard axle
The standard axle region at place is the region that the standard axle is surrounded with the straight line for deviateing the standard axle predetermined angle;
The method also includes:
When the touch-control coordinate is not in the standard axle region, direction indicated by the touch-control coordinate is determined as
One touch-control direction along with its apart from nearest standard axle region moved after the second touch-control direction, wherein it is described first touching
Prosecutor is to being direction indicated by the line of the touch-control coordinate and the origin.
2. the method according to claim 1, wherein the standard axle region includes:
The standard axle with along the region that the straight line that first direction deviates first predetermined angle of standard axle surrounds;And
The region that the standard axle and the straight line for deviateing second predetermined angle of standard axle in a second direction surround, wherein institute
It is opposite to the first direction to state second direction.
3. the method according to claim 1, wherein the method also includes:
It, will be indicated by the touch-control coordinate when being equidistant of two standard axle regions in the first touch-control direction and its two sides
Direction is determined as the first touch-control direction.
4. the method according to claim 1, wherein the quantity of the standard axle is any one of following:
- 2;
- 4;
- 8;
- 16.
5. according to the method described in claim 4, it is characterized in that, the quantity of the standard axle be 8, the reference direction packet
It includes:
East orientation, west to, south orientation, north orientation, North-East Bound, the southeast to, north-westward and southwest to.
6. the method according to any one of claims 1 to 5, which is characterized in that the method is applied to Vehicular turn control
Field processed.
7. according to the method described in claim 6, it is characterized in that, the method also includes:
The vehicle is controlled to being diverted to direction indicated by the touch-control coordinate.
8. the method according to the description of claim 7 is characterized in that the method also includes:
When the touch control operation is deviated from the touch-control coordinate position to any offset direction, the vehicle is controlled
It is turned to according to the offset direction.
9. a kind of touch control identification device characterized by comprising
Detection module, for detecting the touch control operation on touch panel, wherein include a coordinate system on the touch panel;
First determining module, for determining touch-control coordinate of the touch control operation in the coordinate system;
Second determining module, when for standard axle region where the touch-control coordinate is in a standard axle, by the touch-control
Direction indicated by coordinate is determined as reference direction corresponding to the standard axle, wherein the standard axle passes through the coordinate
The origin of system, the standard axle region where the standard axle are the standard axle and the straight line for deviateing the standard axle predetermined angle
The region surrounded;
Described device further include:
Third determining module, it is for when the touch-control coordinate is not in the standard axle region, the touch-control coordinate is signified
The direction shown be determined as by the first touch-control direction along with its apart from nearest standard axle region moved after the second touch-control side
To, wherein first touch-control direction is direction indicated by the line of the touch-control coordinate and the origin.
10. device according to claim 9, which is characterized in that the standard axle region includes:
The standard axle with along the region that the straight line that first direction deviates first predetermined angle of standard axle surrounds;And
The region that the standard axle and the straight line for deviateing second predetermined angle of standard axle in a second direction surround, wherein institute
It is opposite to the first direction to state second direction.
11. device according to claim 9, which is characterized in that described device further include:
4th determining module, for when being equidistant of two standard axle regions in the first touch-control direction and its two sides, by institute
It states direction indicated by touch-control coordinate and is determined as the first touch-control direction.
12. device according to claim 9, which is characterized in that the quantity of the standard axle is any one of following:
- 2;
- 4;
- 8;
- 16.
13. device according to claim 12, which is characterized in that the quantity of the standard axle is 8, the reference direction
Include:
East orientation, west to, south orientation, north orientation, North-East Bound, the southeast to, north-westward and southwest to.
14. the device according to any one of claim 9 to 13, which is characterized in that described device is applied to Vehicular turn
Control field.
15. device according to claim 14, which is characterized in that described device further include:
Control module, for controlling the vehicle to being diverted to direction indicated by the touch-control coordinate.
16. device according to claim 15, which is characterized in that described device further include:
Offset module, when the touch control operation is deviated from the touch-control coordinate position to any offset direction, control
The vehicle is made to be turned to according to the offset direction.
17. a kind of touch control identification device characterized by comprising
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Detect the touch control operation on touch panel, wherein include a coordinate system on the touch panel;
Determine touch-control coordinate of the touch control operation in the coordinate system;
It is when standard axle region where the touch-control coordinate is in a standard axle, direction indicated by the touch-control coordinate is true
It is set to reference direction corresponding to the standard axle, wherein the standard axle passes through the origin of the coordinate system, the standard axle
The standard axle region at place is the region that the standard axle is surrounded with the straight line for deviateing the standard axle predetermined angle;
The processor is also configured to
When the touch-control coordinate is not in the standard axle region, direction indicated by the touch-control coordinate is determined as
One touch-control direction along with its apart from nearest standard axle region moved after the second touch-control direction, wherein it is described first touching
Prosecutor is to being direction indicated by the line of the touch-control coordinate and the origin.
18. a kind of computer readable storage medium, is stored thereon with computer instruction, which is characterized in that the instruction is by processor
The step of any one of the claims 1-8 the method is realized when execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610866934.2A CN106484182B (en) | 2016-09-29 | 2016-09-29 | Touch control identification method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610866934.2A CN106484182B (en) | 2016-09-29 | 2016-09-29 | Touch control identification method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106484182A CN106484182A (en) | 2017-03-08 |
CN106484182B true CN106484182B (en) | 2019-06-18 |
Family
ID=58268092
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610866934.2A Active CN106484182B (en) | 2016-09-29 | 2016-09-29 | Touch control identification method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106484182B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116350113B (en) * | 2023-05-31 | 2023-08-08 | 科沃斯家用机器人有限公司 | Robot control method, system and client device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104267904A (en) * | 2014-09-26 | 2015-01-07 | 深圳市睿德网络科技有限公司 | Touch screen virtual unit control method and mobile terminal |
CN105469579A (en) * | 2015-12-31 | 2016-04-06 | 北京臻迪机器人有限公司 | Somatosensory remote control and somatosensory remote control flying system and method |
CN105722650A (en) * | 2013-09-20 | 2016-06-29 | 电装波动株式会社 | Robot maneuvering device, robot system, and robot maneuvering program |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
FR2957266B1 (en) * | 2010-03-11 | 2012-04-20 | Parrot | METHOD AND APPARATUS FOR REMOTE CONTROL OF A DRONE, IN PARTICULAR A ROTATING SAIL DRONE. |
-
2016
- 2016-09-29 CN CN201610866934.2A patent/CN106484182B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105722650A (en) * | 2013-09-20 | 2016-06-29 | 电装波动株式会社 | Robot maneuvering device, robot system, and robot maneuvering program |
CN104267904A (en) * | 2014-09-26 | 2015-01-07 | 深圳市睿德网络科技有限公司 | Touch screen virtual unit control method and mobile terminal |
CN105469579A (en) * | 2015-12-31 | 2016-04-06 | 北京臻迪机器人有限公司 | Somatosensory remote control and somatosensory remote control flying system and method |
Also Published As
Publication number | Publication date |
---|---|
CN106484182A (en) | 2017-03-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106547663B (en) | Key management method and device | |
KR101990039B1 (en) | Mobile terminal and method of controlling the same | |
KR20140030671A (en) | Unlocking method of mobile terminal and the mobile terminal | |
JP2017535895A (en) | Mobile terminal control method and mobile terminal | |
CN104035662A (en) | Interface display method, device and terminal | |
CN106055145A (en) | Operating mode determination method and apparatus of terminal | |
CN104536684A (en) | Interface displaying method and device | |
CN103995666A (en) | Method and device for setting work mode | |
CN106201310A (en) | The display packing of notification message, device and terminal | |
CN106201108B (en) | Gloves control mode touch mode control method and device and electronic equipment | |
EP3173918B1 (en) | Icon position interchanging method and device | |
CN105843503B (en) | Using open method, device and terminal device | |
CN105487758B (en) | Application software pop-up control method, device and terminal device | |
CN105373334A (en) | Interactive screen control method and device | |
CN105005445B (en) | Control display methods and device | |
CN104898924A (en) | Elimination method and device for pictures of application programs | |
CN109542285A (en) | Image processing method and device | |
CN106418998B (en) | Braking method, device and suitcase | |
CN106650569B (en) | Fingerprint input method and device | |
CN105204713A (en) | Incoming call responding method and device | |
KR20160034838A (en) | Method and device for displaying contents | |
CN106484182B (en) | Touch control identification method and device | |
CN106339092B (en) | Horizontal/vertical screen switching method and apparatus | |
CN105677215A (en) | Application control method and apparatus | |
CN106484216B (en) | Incoming call response method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |