CN108111893A - Glide direction evaluation method, remote controler and the computer storage media of touch remote controller - Google Patents

Glide direction evaluation method, remote controler and the computer storage media of touch remote controller Download PDF

Info

Publication number
CN108111893A
CN108111893A CN201711498668.3A CN201711498668A CN108111893A CN 108111893 A CN108111893 A CN 108111893A CN 201711498668 A CN201711498668 A CN 201711498668A CN 108111893 A CN108111893 A CN 108111893A
Authority
CN
China
Prior art keywords
sliding trace
glide direction
touch
deviation angle
remote controller
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
CN201711498668.3A
Other languages
Chinese (zh)
Other versions
CN108111893B (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.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co 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 Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN201711498668.3A priority Critical patent/CN108111893B/en
Publication of CN108111893A publication Critical patent/CN108111893A/en
Application granted granted Critical
Publication of CN108111893B publication Critical patent/CN108111893B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • H04N21/42206User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details
    • H04N21/42224Touch pad or touch panel provided on the remote control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • H04N21/42206User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details
    • H04N21/42221Transmission circuitry, e.g. infrared [IR] or radio frequency [RF]

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Position Input By Displaying (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a kind of glide direction evaluation method of touch remote controller, including:When detecting the slide of remote controler touch area, obtain sliding trace and calculate the corresponding sliding distance of the sliding trace;When the sliding distance reaches pre-determined distance, the deviation angle of the sliding trace is calculated;If the deviation angle is within a preset range, the inflection point of the sliding trace is calculated;The glide direction of the sliding trace is determined according to the inflection point.The invention also discloses a kind of remote controler and computer storage medias, realize the finger glide direction on accurate calculation touch remote controller touch area.

Description

Glide direction evaluation method, remote controler and the computer storage media of touch remote controller
Technical field
The present invention relates to the glide direction evaluation methods of television applications field more particularly to a kind of touch remote controller, distant Control device and computer storage media.
Background technology
With the development of science and technology, current intelligent TV set has been integrated with android system, intelligent TV set is enriched Function to meet the needs of user is more different.Android system is noted with its abundant application and powerful function, allows intelligence The remote controler of energy television set adds in touch-screen, to realize original keypress function, can simplify the operation of user, allow user more just Prompt ground passes through remote controller operation television set.
At present, when user uses touch-screen, the method for more commonly used judgement user's finger glide direction be according to Family finger rigid connection touches the position of touch-screen and user's finger leaves the position of touch-screen, then judges the angle that the two positions are formed It spends to judge finger glide direction.But in practical operation, sliding up and down for finger is unlikely to be straight line, particularly When finger slides change direction, mobile range is little, therefore easily causes glide direction by false judgment.
The content of the invention
It is a primary object of the present invention to provide glide direction evaluation method, remote controler and the calculating of a kind of touch remote controller Machine storage medium, it is intended to solve the easy misjudged technology of the finger glide direction on traditional touch remote controller touch area and ask Topic.
To achieve the above object, the present invention provides a kind of glide direction evaluation method of touch remote controller, and the touch is distant Controlling the glide direction evaluation method of device includes step:
When detecting the slide of remote controler touch area, obtain sliding trace and calculate the sliding trace correspondence Sliding distance;
When the sliding distance reaches pre-determined distance, the deviation angle of the sliding trace is calculated;
If the deviation angle is within a preset range, the inflection point of the sliding trace is calculated;
The glide direction of the sliding trace is determined according to the inflection point.
Preferably, the step of inflection point of the calculating sliding trace includes:
N number of point is taken between the beginning and end of the sliding trace, the sliding trace is divided into multiple equidistant Line segment, the N are odd number;
The curvature of orbit segment where calculating three points adjacent in the sliding trace successively;
The maximum in the curvature is obtained to obtain the maximum curvature of the sliding trace;
Using the central point of the corresponding orbit segment of maximum curvature as the inflection point of the sliding trace.
Preferably, it is described the sliding trace is determined according to the inflection point glide direction the step of include:
Obtain the coordinate value of the starting point of the sliding trace, terminal and inflection point;
Deviation angle is calculated according to the coordinate value, and the slip side of the sliding trace is determined according to the deviation angle To.
Preferably, it is described that deviation angle is calculated according to the coordinate value, and the slip is determined according to the deviation angle The step of glide direction of track, includes:
The beginning and end of the sliding trace is calculated respectively to the vector value of inflection point;
The composite vector value of the vector value is calculated, and calculates the corresponding deviation angle of the composite vector value;
The glide direction of the sliding trace is determined according to the deviation angle.
Preferably, it is described obtain the step of maximum in the curvature is to obtain the maximum curvature of the sliding trace it Afterwards, the glide direction evaluation method of the touch remote controller further includes:
If the maximum curvature is less than the first preset value, the corresponding glide direction of the deviation angle is exported;
If the maximum curvature is greater than or equal to the first preset value, perform described by the corresponding orbit segment of maximum curvature The step of inflection point of the central point as the sliding trace.
Preferably, the glide direction evaluation method of the touch remote controller further includes:
If the deviation angle is within a preset range, the seat of the starting point of the sliding trace, midpoint and terminal is obtained respectively Scale value;
The curvature of the sliding trace is calculated according to the coordinate value;
If the curvature is greater than or equal to the second preset value, the inflection point for calculating the sliding trace, and root are performed The step of glide direction of the sliding trace being determined according to the inflection point;
If the curvature is less than the second preset value, the corresponding glide direction of the deviation angle is exported.
Preferably, it is described when the sliding distance reaches pre-determined distance, calculate the deviation angle of the sliding trace After step, the glide direction evaluation method of the touch remote controller further includes:
If the deviation angle not in the preset range, exports the corresponding glide direction of the deviation angle.
In addition, to achieve the above object, the present invention also provides a kind of remote controler, the remote controler includes touch-screen, storage Device, processor and the computer program that can be run on the memory and on the processor is stored in, the touch-screen is real Keypress function on existing remote controler, the computer program realize touching telecontrol as described above when being performed by the processor The step of glide direction evaluation method of device.
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer readable storage medium The glide direction estimation program of touch remote controller, the glide direction estimation program of the touch remote controller are stored on storage medium The step of glide direction evaluation method of touch remote controller as described above is realized when being performed by the processor.
Glide direction evaluation method, remote controler and the computer storage media of touch remote controller proposed by the present invention, pass through When detecting the slide of remote controler touch area, obtain sliding trace and calculate the sliding trace it is corresponding slide away from From when sliding distance reaches pre-determined distance, the deviation angle of the sliding trace being calculated, if this deviation angle is in preset range It is interior, then it calculates the inflection point of the sliding trace and the glide direction of the sliding trace is determined according to this inflection point, realize that accurate calculation touches Touch the finger glide direction on remote controler touch area.
Description of the drawings
Fig. 1 is the terminal structure schematic diagram for the hardware running environment that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram of the glide direction evaluation method first embodiment of inventive touch remote controler;
Fig. 3 is offset angles runs and the correspondence schematic diagram of glide direction;
Fig. 4 is to calculate the sliding trace in the glide direction evaluation method second embodiment of inventive touch remote controler The refinement flow diagram of the step of inflection point;
Fig. 5 is the flow diagram of the glide direction evaluation method 3rd embodiment of inventive touch remote controler;
Fig. 6 is the flow diagram of the glide direction evaluation method fourth embodiment of inventive touch remote controler;
Fig. 7 is the flow diagram of the 5th embodiment of glide direction evaluation method of inventive touch remote controler;
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The primary solutions of the embodiment of the present invention are:
When detecting the slide of remote controler touch area, obtain sliding trace and calculate the sliding trace correspondence Sliding distance;
When the sliding distance reaches pre-determined distance, the deviation angle of the sliding trace is calculated;
If the deviation angle is within a preset range, the inflection point of the sliding trace is calculated;
The glide direction of the sliding trace is determined according to the inflection point.
Due in the prior art, being to touch the position of touch-screen according to user's finger rigid connection and user's finger leaves touch-screen Then position judges the angle of the two positions formation to judge finger glide direction.But in practical operation, finger it is upper Lower slider is unlikely to be straight line, and when particularly finger slides change direction, mobile range is little, it is easy to cause to slide Direction is by false judgment.
The present invention provides a solution, by when detecting the slide of remote controler touch area, obtaining and sliding Dynamic rail mark simultaneously calculates the corresponding sliding distance of the sliding trace, when sliding distance reaches pre-determined distance, calculates the sliding trace Deviation angle, if this deviation angle is within a preset range, calculates the inflection point of the sliding trace and determined according to this inflection point The glide direction of the sliding trace realizes the finger glide direction on accurate calculation touch remote controller touch area.
As shown in Figure 1, the terminal structure schematic diagram for the hardware running environment that Fig. 1, which is the embodiment of the present invention, to be related to.
Terminal of the embodiment of the present invention is the mating remote controler of television set, and the remote controler carries touch-screen, for user into Row contact action.
As shown in Figure 1, the terminal can include:Processor 1001, such as CPU, network interface 1004, user interface 1003rd, memory 1005 and communication bus 1002.Wherein, the connection that communication bus 1002 is used to implement between these components is led to Letter.User interface 1003 can include display screen (Display), input unit such as keyboard (Keyboard) or touch-screen, can Select user interface 1003 that can also include standard wireline interface and wireless interface.Network interface 1004 can optionally include mark Wireline interface, the wireless interface (such as WI-FI interfaces) of standard.Memory 1005 can be high-speed RAM memory or stabilization Memory (non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of preceding State the storage device of processor 1001.
It will be understood by those skilled in the art that the restriction of the terminal structure shown in Fig. 1 not structure paired terminal, can wrap It includes and either combines some components or different components arrangement than illustrating more or fewer components.
As shown in Figure 1, it can lead to as in a kind of memory 1005 of computer storage media including operating system, network Believe the glide direction estimation program of module, Subscriber Interface Module SIM and touch remote controller.
In terminal shown in Fig. 1, network interface 1004 is mainly used for connecting background server, is carried out with background server Data communication;User interface 1003 is mainly used for connecting client (user terminal), with client into row data communication;And processor 1001 can be used for the glide direction estimation program for calling the touch remote controller stored in memory 1005, and perform following behaviour Make:
When detecting the slide of remote controler touch area, obtain sliding trace and calculate the sliding trace correspondence Sliding distance;
When the sliding distance reaches pre-determined distance, the deviation angle of the sliding trace is calculated;
If the deviation angle is within a preset range, the inflection point of the sliding trace is calculated;
The glide direction of the sliding trace is determined according to the inflection point.
Further, processor 1001 can call the glide direction of the touch remote controller stored in memory 1005 to estimate Program also performs following operation:
N number of point is taken between the beginning and end of the sliding trace, the sliding trace is divided into multiple equidistant Line segment, the N are odd number;
The curvature of orbit segment where calculating three points adjacent in the sliding trace successively;
The maximum in the curvature is obtained to obtain the maximum curvature of the sliding trace;
Using the central point of the corresponding orbit segment of maximum curvature as the inflection point of the sliding trace.
Further, processor 1001 can call the glide direction of the touch remote controller stored in memory 1005 to estimate Program also performs following operation:
Obtain the coordinate value of the starting point of the sliding trace, terminal and inflection point;
Deviation angle is calculated according to the coordinate value, and the slip side of the sliding trace is determined according to the deviation angle To.
Further, processor 1001 can call the glide direction of the touch remote controller stored in memory 1005 to estimate Program also performs following operation:
The beginning and end of the sliding trace is calculated respectively to the vector value of inflection point;
The composite vector value of the vector value is calculated, and calculates the corresponding deviation angle of the composite vector value;
The glide direction of the sliding trace is determined according to the deviation angle.
Further, processor 1001 can call the glide direction of the touch remote controller stored in memory 1005 to estimate Program also performs following operation:
If the maximum curvature is less than the first preset value, the corresponding glide direction of the deviation angle is exported;
If the maximum curvature is greater than or equal to the first preset value, perform described by the corresponding orbit segment of maximum curvature The step of inflection point of the central point as the sliding trace.
Further, processor 1001 can call the glide direction of the touch remote controller stored in memory 1005 to estimate Program also performs following operation:
If the deviation angle is within a preset range, the seat of the starting point of the sliding trace, midpoint and terminal is obtained respectively Scale value;
The curvature of the sliding trace is calculated according to the coordinate value;
If the curvature is greater than or equal to the second preset value, the inflection point for calculating the sliding trace, and root are performed The step of glide direction of the sliding trace being determined according to the inflection point;
If the curvature is less than the second preset value, the corresponding glide direction of the deviation angle is exported.
Further, processor 1001 can call the glide direction of the touch remote controller stored in memory 1005 to estimate Program also performs following operation:
If the deviation angle not in the preset range, exports the corresponding glide direction of the deviation angle.
With reference to Fig. 2, Fig. 2 is the flow signal of the glide direction evaluation method first embodiment of inventive touch remote controler Figure;
The present embodiment proposes a kind of glide direction evaluation method of touch remote controller, and the glide direction of the touch remote controller is estimated Calculation method includes step:
Step S10 when detecting the slide of remote controler touch area, obtains sliding trace and calculates the slip The corresponding sliding distance in track;
Step S20 when the sliding distance reaches pre-determined distance, calculates the deviation angle of the sliding trace;
When user uses touch screen remote controller, since sliding up and down for finger is unlikely to be straight line, particularly Finger slides when changing direction, and mobile range is little, it is easy to glide direction is caused by false judgment, in order to precisely judge to touch The glide direction of finger on screen, the present invention provides a kind of algorithm, when finger sliding distance reaches pre-determined distance, controls remote controler A corresponding direction value, the i.e. glide direction of finger are exported, can be upper and lower, left and right.
First, the sliding trace on remote controler touch-screen is obtained, and calculates the corresponding sliding distance of this sliding trace, will To sliding distance compared with pre-determined distance, the sliding distance obtained by calculating be equal to pre-determined distance when, obtain this slip Then start position and final position apart from corresponding sliding trace calculate the angle of the two positions formation, the i.e. slip The deviation angle of track.Pre-determined distance described herein is not specifically limited, it can be according to calculating effect or remote controler touch-screen Area do reasonable setting.
Within a preset range whether step S30 judge the deviation angle;
Step S40 if the deviation angle is within a preset range, calculates the inflection point of the sliding trace;
As shown in figure 3, if the deviation angle of sliding trace is within a preset range, i.e., deviation angle is located at the fuzzy of judgement Area, the glide direction of corresponding sliding trace are easy to misjudged, consider that the glide direction of finger is difficult to do in a practical situation To being straight line, therefore there is the Probability maximum of inflection point in sliding trace, it is therefore desirable to find the inflection point of the sliding trace, specifically such as What determines the inflection point of the sliding trace, can refer to the method in second embodiment.The corresponding angle of preset range shown in Fig. 3 is 5 °, using 45 ° of angles of coordinate system as boundary, 4 preset ranges are can obtain, if the deviation angle of sliding trace is in this 4 default models In enclosing, then need to calculate the inflection point of the sliding trace.
It, can be true in addition, as shown in figure 3,1. if the deviation angle of sliding trace is located in figure 2. 3. 4. corresponding scope The fixed corresponding glide direction of the sliding trace be respectively it is right, upper, left, under.
Step S50 determines the glide direction of the sliding trace according to the inflection point.
After the inflection point of sliding trace is determined, the glide direction of sliding trace is determined according to the inflection point.A kind of letter can be used Single vector calculation, starting point is worth to the vector value of inflection point with the coordinate of the starting point of sliding trace, terminal and inflection point And terminal sums the two vector values to obtain corresponding composite vector value, calculates the conjunction to the vector value of inflection point The angle formed into the corresponding start position of vector value and final position, that is, the composite vector are worth corresponding deviation angle. After this deviation angle is obtained, this cunning can be determined according to offset angles runs shown in Fig. 3 and the correspondence of glide direction The glide direction of dynamic rail mark.
This method is readily understood and calculating process is simple, need to only be can be calculated by simple vector the synthesis of 3 points to Amount is to calculate the deviation angle of sliding trace, so that it is determined that glide direction.There is scientific theory foundation that can follow, it is easy to implement, together When obtained result of calculation it is also relatively correct, be not in error.
The glide direction evaluation method for the touch remote controller that the present embodiment proposes, by detecting remote controler touch area Slide when, obtain sliding trace and simultaneously calculate the corresponding sliding distance of the sliding trace, sliding distance reach it is default away from From when, calculate the deviation angle of the sliding trace, if this deviation angle is within a preset range, calculate turning for the sliding trace Point simultaneously determines the glide direction of the sliding trace according to this inflection point, realizes the finger on accurate calculation touch remote controller touch area Glide direction.
Further, with reference to Fig. 4, the glide direction evaluation method based on first embodiment proposition inventive touch remote controler Second embodiment, in the present embodiment, the step S40 include:
Step S41 takes N number of point between the beginning and end of the sliding trace, the sliding trace is divided into more A equidistant line segment, the N are odd number;
Step S42, the curvature of orbit segment where calculating three points adjacent in the sliding trace successively;
Step S43 obtains the maximum in the curvature to obtain the maximum curvature of the sliding trace;
Step S44, using the central point of the corresponding orbit segment of maximum curvature as the inflection point of the sliding trace.
In the present embodiment, introduce it is a kind of by calculating sliding trace maximum curvature to determine the side of the inflection point of the sliding trace Method.First, the coordinate value of the beginning and end of sliding trace is obtained to obtain the coordinate value at midpoint, then progressively per adjacent 2 points Midpoint is taken, which is divided into multiple apart from identical line segment.Because 3 points can determine a circle, therefore will obtain Point coordinates value since the starting point of sliding trace, obtains per adjacent 3 points to determine a circle, and then obtains the circle pair successively The radius answered, the inverse of radius are the curvature of orbit segment where corresponding 3 points of the circle.By repeatedly calculating, one can obtain Group curvature value, the corresponding sliding trace is from origin-to-destination, per the curvature of the corresponding orbit segment of adjacent 3 points.It obtains wherein most Big curvature value is as the maximum curvature of the sliding trace, then, the central point of the corresponding orbit segment of this maximum curvature The as inflection point of the sliding trace.
In technical solution disclosed in the present embodiment, sliding trace is subjected to multiple averaging point, by calculate maximum curvature come Determine the inflection point of sliding trace, this method principle is simple, not error-prone, and calculates precision, from multigroup curvature data of gained Maximum curvature is determined, so as to precisely determine the inflection point of this sliding trace.
Further, with reference to Fig. 5, the glide direction evaluation method based on second embodiment proposition inventive touch remote controler 3rd embodiment, in the present embodiment, after the step S43, the glide direction evaluation method of the touch remote controller also wraps It includes:
Step S45, judges whether the maximum curvature is greater than or equal to the first preset value;
Step S46 if the maximum curvature is less than the first preset value, exports the corresponding slip side of the deviation angle To;
Step S44 if the maximum curvature is greater than or equal to the first preset value, is performed described that maximum curvature is corresponding The step of inflection point of the central point of orbit segment as the sliding trace.
In the present embodiment, the maximum curvature of sliding trace is being obtained so that it is determined that after the inflection point of the sliding trace, it will most Deep camber is compared with pre-set threshold value, if maximum curvature is less than the pre-set threshold value, then it is assumed that the slide on touch-screen, which changes, to be slided The intention in dynamic direction is not strong, ignores the presence of inflection point at this time, according to offset angles runs shown in Fig. 3 and pair of glide direction It should be related to the corresponding glide direction of output offset angle.If maximum curvature is greater than or equal to the pre-set threshold value, it cannot ignore and turn The presence of point, using the central point of the corresponding orbit segment of maximum curvature as the inflection point of the sliding trace, after inflection point is determined, root The glide direction of sliding trace is determined according to inflection point.
In technical solution disclosed in the present embodiment, a kind of computational methods for ignoring sliding trace inflection point are proposed.Pass through setting Pre-set threshold value by maximum curvature compared with the pre-set threshold value, is changed with the finger slide being applicable on touch-screen and slided The not strong scene in direction so that entire scheme is more complete, while also avoids maximum curvature is too small definite inflection point is caused to be not allowed Glide direction that is true and then influencing to determine sliding trace.
Further, with reference to Fig. 6, the glide direction evaluation method based on first embodiment proposition inventive touch remote controler Fourth embodiment, in the present embodiment, the glide direction evaluation method of the touch remote controller further include:
Step S60, if the deviation angle is within a preset range, obtain respectively the starting point of the sliding trace, midpoint and The coordinate value of terminal;
Step S70 calculates the curvature of the sliding trace according to the coordinate value;
Step S80, judges whether the curvature is greater than or equal to the second preset value;
Step S90 if the curvature is greater than or equal to the second preset value, performs turning for the calculating sliding trace Point, and the step of determine the glide direction of the sliding trace according to the inflection point, wherein, step S90 includes step S40 and step Rapid S50;
Step S46 if the curvature is less than the second preset value, exports the corresponding glide direction of the deviation angle.
In the present embodiment, another pre-set threshold value is set, to judge sliding trace either with or without inflection point.Obtain sliding trace The coordinate value of starting point, midpoint and terminal calculates the curvature of the sliding trace with the coordinate value of this 3 points, by the curvature of gained with The pre-set threshold value of setting is compared, if this curvature is less than this pre-set threshold value, then it is assumed that the sliding trace is straight line, is not had There is inflection point, only need to determine glide direction i.e. by the deviation angle that the start position of the sliding trace and final position are formed It can.If this curvature is greater than or equal to this pre-set threshold value, then it is assumed that the sliding trace is to have inflection point, it is necessary to further reference The method of the inflection point for calculating the sliding trace in second embodiment determines the slip side of sliding trace further according to obtained inflection point To.
In technical solution disclosed in the present embodiment, pre-set threshold value is set to judge sliding trace either with or without inflection point, if The sliding trace is close to straight line, it is believed that without inflection point, then without determine the glide direction of sliding trace according to inflection point, so as to Calculating speed is improved, meanwhile, but also the calculation variation of the present invention, result of calculation is more accurate, is applicable in practical application In more scenes.
Further, with reference to Fig. 7, the glide direction evaluation method based on first embodiment proposition inventive touch remote controler 5th embodiment, in the present embodiment, after the step S30, the glide direction evaluation method of the touch remote controller also wraps It includes:
Step S46, if the deviation angle not in the preset range, exports the corresponding slip of the deviation angle Direction.
In technical solution disclosed in the present embodiment, a kind of computational methods of deviation angle not within a preset range are described. The deviation angle of sliding trace is not in the region easily judged by accident at this time, therefore method can pass through deviation angle according to prior art Determine corresponding glide direction.The prior art is combined by the present embodiment with the preset range increased newly in the present invention, is equivalent to Particular determination is done in the prior art, it will the situation for occurring judging by accident individually considers, rail is slided so as to more accurately calculate The glide direction of mark reduces the possibility of erroneous judgement.
In addition, the embodiment of the present invention also proposes a kind of remote controler, the remote controler includes touch-screen, memory, processor And the computer program that can be run on the memory and on the processor is stored in, the touch-screen is realized on remote controler Keypress function, the cunning that touch remote controller described in example is performed as described above is realized when the computer program is performed by the processor The step of dynamic direction estimating method.
In addition, the embodiment of the present invention also proposes a kind of computer readable storage medium, the computer readable storage medium On be stored with the glide direction estimation program of touch remote controller, the glide direction estimation program of the touch remote controller is by the place Reason device realizes the step of glide direction evaluation method that the touch remote controller described in example is performed as described above when performing.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements not only include those elements, and And it further includes other elements that are not explicitly listed or further includes as this process, method, article or device institute inherently Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this Also there are other identical elements in the process of element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme substantially in other words does the prior art Going out the part of contribution can be embodied in the form of software product, which is stored in one as described above In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions use so that a station terminal equipment (can be mobile phone, Computer, cloud server, air conditioner or network equipment etc.) method that performs each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair The equivalent structure or equivalent flow shift that bright specification and accompanying drawing content are made directly or indirectly is used in other relevant skills Art field, is included within the scope of the present invention.

Claims (9)

1. the glide direction evaluation method of a kind of touch remote controller, which is characterized in that the glide direction of the touch remote controller is estimated Calculation method includes step:
When detecting the slide of remote controler touch area, obtain sliding trace and calculate the corresponding cunning of the sliding trace Dynamic distance;
When the sliding distance reaches pre-determined distance, the deviation angle of the sliding trace is calculated;
If the deviation angle is within a preset range, the inflection point of the sliding trace is calculated;
The glide direction of the sliding trace is determined according to the inflection point.
2. the glide direction evaluation method of touch remote controller as described in claim 1, which is characterized in that described to calculate the cunning The step of inflection point of dynamic rail mark, includes:
N number of point is taken between the beginning and end of the sliding trace, the sliding trace is divided into multiple equidistant line segments, The N is odd number;
The curvature of orbit segment where calculating three points adjacent in the sliding trace successively;
The maximum in the curvature is obtained to obtain the maximum curvature of the sliding trace;
Using the central point of the corresponding orbit segment of maximum curvature as the inflection point of the sliding trace.
3. the glide direction evaluation method of touch remote controller as claimed in claim 2, which is characterized in that turned described in the basis Point determines that the step of glide direction of the sliding trace includes:
Obtain the coordinate value of the starting point of the sliding trace, terminal and inflection point;
Deviation angle is calculated according to the coordinate value, and the glide direction of the sliding trace is determined according to the deviation angle.
4. the glide direction evaluation method of touch remote controller as claimed in claim 3, which is characterized in that described according to the seat Scale value calculates deviation angle, and the step of determining the glide direction of the sliding trace according to the deviation angle includes:
The beginning and end of the sliding trace is calculated respectively to the vector value of inflection point;
The composite vector value of the vector value is calculated, and calculates the corresponding deviation angle of the composite vector value;
The glide direction of the sliding trace is determined according to the deviation angle.
5. the glide direction evaluation method of touch remote controller as claimed in claim 2, which is characterized in that described to obtain the song After the step of maximum in rate is to obtain the maximum curvature of the sliding trace, the glide direction of the touch remote controller is estimated Calculation method further includes:
If the maximum curvature is less than the first preset value, the corresponding glide direction of the deviation angle is exported;
If the maximum curvature is greater than or equal to the first preset value, the center by the corresponding orbit segment of maximum curvature is performed The step of putting the inflection point as the sliding trace.
6. the glide direction evaluation method of touch remote controller as described in claim 1, which is characterized in that the touch remote controller Glide direction evaluation method further include:
If the deviation angle is within a preset range, the coordinate value of the starting point of the sliding trace, midpoint and terminal is obtained respectively;
The curvature of the sliding trace is calculated according to the coordinate value;
If the curvature is greater than or equal to the second preset value, the inflection point for calculating the sliding trace is performed, and according to institute State the step of inflection point determines the glide direction of the sliding trace;
If the curvature is less than the second preset value, the corresponding glide direction of the deviation angle is exported.
7. the glide direction evaluation method of touch remote controller as described in claim 1, which is characterized in that described in the slip When distance reaches pre-determined distance, after the step of calculating the deviation angle of the sliding trace, the slip of the touch remote controller Direction estimating method further includes:
If the deviation angle not in the preset range, exports the corresponding glide direction of the deviation angle.
8. a kind of remote controler, which is characterized in that the remote controler includes touch-screen, memory, processor and is stored in described deposit On reservoir and the computer program that can run on the processor, the touch-screen realize the keypress function on remote controler, institute State the slip that the touch remote controller as any one of claim 1-7 is realized when computer program is performed by the processor The step of direction estimating method.
9. a kind of computer readable storage medium, which is characterized in that it is distant that touch is stored on the computer readable storage medium The glide direction estimation program of device is controlled, the glide direction estimation program of the touch remote controller is realized when being performed by the processor The step of glide direction evaluation method of touch remote controller as any one of claim 1-7.
CN201711498668.3A 2017-12-29 2017-12-29 Sliding direction estimation method of touch remote controller, remote controller and computer storage medium Active CN108111893B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711498668.3A CN108111893B (en) 2017-12-29 2017-12-29 Sliding direction estimation method of touch remote controller, remote controller and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711498668.3A CN108111893B (en) 2017-12-29 2017-12-29 Sliding direction estimation method of touch remote controller, remote controller and computer storage medium

Publications (2)

Publication Number Publication Date
CN108111893A true CN108111893A (en) 2018-06-01
CN108111893B CN108111893B (en) 2021-06-15

Family

ID=62215391

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711498668.3A Active CN108111893B (en) 2017-12-29 2017-12-29 Sliding direction estimation method of touch remote controller, remote controller and computer storage medium

Country Status (1)

Country Link
CN (1) CN108111893B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112771482A (en) * 2018-10-26 2021-05-07 深圳市柔宇科技股份有限公司 Sliding track correction method, electronic device and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103677405A (en) * 2013-10-11 2014-03-26 深圳Tcl新技术有限公司 Method for identifying arc touch and touch device
US20150029092A1 (en) * 2013-07-23 2015-01-29 Leap Motion, Inc. Systems and methods of interpreting complex gestures
CN107203322A (en) * 2017-05-12 2017-09-26 歌尔科技有限公司 Touch sound equipment button and its control method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150029092A1 (en) * 2013-07-23 2015-01-29 Leap Motion, Inc. Systems and methods of interpreting complex gestures
CN103677405A (en) * 2013-10-11 2014-03-26 深圳Tcl新技术有限公司 Method for identifying arc touch and touch device
CN107203322A (en) * 2017-05-12 2017-09-26 歌尔科技有限公司 Touch sound equipment button and its control method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112771482A (en) * 2018-10-26 2021-05-07 深圳市柔宇科技股份有限公司 Sliding track correction method, electronic device and computer readable storage medium

Also Published As

Publication number Publication date
CN108111893B (en) 2021-06-15

Similar Documents

Publication Publication Date Title
CN102541537B (en) Method and device for realizing menu container controls with surrounding effect
CN107526526B (en) Method and device for determining pressure-sensitive handwriting area
CN103927471A (en) Authentication method and device
CN108509049B (en) Method and system for inputting gesture function
US20120167017A1 (en) Systems and methods for adaptive gesture recognition
CN105824409A (en) Interactive control method and device for virtual reality
US20150033326A1 (en) System and Method for Unlocking Screen
CN103645844A (en) Page displaying method and device
CN104636063B (en) The construction method of the virtual rocking bar of electronic curtain
CN105204762B (en) A kind of method and user terminal for adjusting screen intensity
CN108635852B (en) Information processing method, information processing device, electronic equipment and storage medium
CN110727496B (en) Layout method and device of graphical user interface, electronic equipment and storage medium
CN104517100B (en) Gesture pre-judging method and system
CN105005441B (en) A kind of display methods and electronic equipment of instant video
CN110737339A (en) Visual-tactile interaction model construction method based on deep learning
CN104571882A (en) User operating mode judging method and device based on terminal and terminal
CN104274971B (en) Gamecontrol system and method
CN111737636B (en) Path curve generation method, device, computer equipment and storage medium
CN104571927A (en) Terminal screen control method and system
CN108111893A (en) Glide direction evaluation method, remote controler and the computer storage media of touch remote controller
CN105630468A (en) Focal point movement method and device of UI (User Interface) frame
CN102929529A (en) Multi-select control method and device for list interface, and mobile terminal
CN104298114A (en) Self-adaptive robust S-shaped speed planning algorithm
CN105824534B (en) A kind of information processing method and electronic equipment
CN104978030A (en) Left and right hand based software and method for automatically adjusting display interface of mobile phone

Legal Events

Date Code Title Description
PB01 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