CN107463331A - Gesture path analogy method, device and electronic equipment - Google Patents

Gesture path analogy method, device and electronic equipment Download PDF

Info

Publication number
CN107463331A
CN107463331A CN201710699304.5A CN201710699304A CN107463331A CN 107463331 A CN107463331 A CN 107463331A CN 201710699304 A CN201710699304 A CN 201710699304A CN 107463331 A CN107463331 A CN 107463331A
Authority
CN
China
Prior art keywords
gesture
character
path
gesture path
screen
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
CN201710699304.5A
Other languages
Chinese (zh)
Other versions
CN107463331B (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.)
Shanghai Wingtech Electronic Technology Co Ltd
Original Assignee
Shanghai Wingtech Electronic 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 Shanghai Wingtech Electronic Technology Co Ltd filed Critical Shanghai Wingtech Electronic Technology Co Ltd
Priority to CN201710699304.5A priority Critical patent/CN107463331B/en
Publication of CN107463331A publication Critical patent/CN107463331A/en
Application granted granted Critical
Publication of CN107463331B publication Critical patent/CN107463331B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/107Static hand or arm

Abstract

The invention provides a kind of gesture path analogy method, device and electronic equipment, it is related to the technical field of mobile phone screen locking, the gesture path analogy method includes:The gesture of real-time monitoring users on the touchscreen draws operation, obtains the gesture and draws gesture path corresponding to operation;Gesture path is analyzed and identified, if the gesture path matches with the gesture that prestores, it is determined that gesture character corresponding to the gesture path;Crucial point coordinates corresponding to the key point of gesture path is extracted, and stores crucial point coordinates and gesture character;According to crucial point coordinates and gesture character, relevant position shows gesture path corresponding to gesture character on the touchscreen.Embodiment provided by the invention, the display process of simulation gesture path that can be true to nature, improve the usage experience of user.

Description

Gesture path analogy method, device and electronic equipment
Technical field
The present invention relates to mobile phone screen locking technical field, more particularly, to a kind of gesture path analogy method, device and electronics Equipment.
Background technology
At present, phantom touch control gesture is the function that current smart mobile phone one shows unique characteristics and felt with science and technology future, i.e., The support screen slide in the case of cell phone standby blank screen, user can directly be waken up by the gesture that interior of mobile phone is set The a certain function of mobile phone or corresponding software, its functional characteristics:
1. black state double-clicks screen, screen can be lighted.
2. black state is slided by prearranged gesture, it can unlock and be applied into default
If the gesture slided is consistent with default gesture, handset touch panel can make corresponding selection:
1) is upwardly into camera interface
2) is downwardly into dialing interface
3) enters short message interface to the left
4) enters to the right browser
The mobile phone that this function is supported at present is not more, and is all mostly for the display of gesture path on the touchscreen Realized using fixed animation mode, internal realization principle is the playing pictures one by one by way of frame animation, no matter user The slide of default gesture is carried out in which position of touch-screen, gesture animation is echoed in fixed position, can not be followed The real trace that gesture is slided, and then effect true to nature is unable to reach, Consumer's Experience is poor.
The content of the invention
In view of this, it is an object of the invention to provide a kind of gesture path analogy method, device and electronic equipment, to force The display process of gesture path is really simulated, improves the usage experience of user.
In a first aspect, the embodiments of the invention provide a kind of gesture path analogy method, including:
The gesture of real-time monitoring users on the touchscreen draws operation, obtains the gesture and draws gesture rail corresponding to operation Mark;
The gesture path is analyzed and identified, if the gesture path matches with the gesture that prestores, it is determined that Gesture character corresponding to the gesture path;
Crucial point coordinates corresponding to the key point of the gesture path is extracted, and stores the crucial point coordinates and the hand Gesture character;
According to the crucial point coordinates and the gesture character, relevant position shows the gesture word on the touch-screen Gesture path corresponding to symbol.
With reference in a first aspect, the embodiments of the invention provide the possible embodiment of the first of first aspect, wherein, institute State and extract crucial point coordinates corresponding to the key point of the gesture path, and store the crucial point coordinates and the gesture character Including:
Rectangle frame where the gesture path is set, extract the rectangle frame central point and the gesture path with The point of contact of the rectangle frame is as key point;
When detecting the presence of the side for the rectangle frame for not producing point of contact, chosen from the gesture path away from the side The minimum point of distance as key point;
Store crucial point coordinates corresponding to all key points and the gesture character.
With reference in a first aspect, the embodiments of the invention provide the possible embodiment of second of first aspect, wherein, institute State according to the crucial point coordinates and the gesture character, relevant position shows that the gesture character is corresponding on the touch-screen Gesture path include:
According to the gesture character, corresponding drafting function is called from default drafting function storehouse;
Paintbrush, painting canvas routine interface are called, and according to the crucial point coordinates, corresponding drafting function, is packaged into drafting Algorithm;
Using the rendering algorithm, relevant position shows gesture rail corresponding to the gesture character on the touch-screen Mark.
With reference in a first aspect, the embodiments of the invention provide the possible embodiment of the third of first aspect, wherein, institute State before the gesture path is analyzed and identified, in addition to:
Create gesture coordinate file node and gesture character file node;
The storage crucial point coordinates includes with the gesture character:
The crucial point coordinates and the gesture character are stored to the gesture coordinate file node and the hand respectively Gesture character file node.
With reference in a first aspect, the embodiments of the invention provide the possible embodiment of the 4th of first aspect kind, wherein, institute Before stating the storage crucial point coordinates and the gesture character, in addition to:
Key point in the gesture path is ranked up according to the drawing order of user, and entered according to the result of sequence Row sequence notation;
The relevant position on the touch-screen shows that gesture path corresponding to the gesture character includes:
According to the sequence notation, relevant position shows gesture path corresponding to the gesture character on the touch-screen.
With reference to the 4th kind of possible embodiment of first aspect, the embodiments of the invention provide the 5th of first aspect kind Possible embodiment, wherein, it is described that according to the sequence notation, relevant position shows the gesture word on the touch-screen After gesture path corresponding to symbol, in addition to:
According to the sequence notation, the gesture path on the touch-screen is eliminated.
With reference in a first aspect, the embodiments of the invention provide the possible embodiment of the 6th of first aspect kind, wherein, institute State after the relevant position on the touch-screen shows gesture path corresponding to the gesture character, in addition to:
Current screen locking type is detected, the screen locking type is judged;
If current screen locking type is safe screen locking, screen is lighted, shows the safe screen locking page;
If current screen locking type lights screen, and open the application program of the gesture character binding to slide screen locking.
Second aspect, the embodiment of the present invention also provide a kind of gesture path analogue means, including:
Acquisition module, operation is drawn for the gesture of real-time monitoring users on the touchscreen, the gesture is obtained and draws behaviour Gesture path corresponding to work;
Identification module, for the gesture path to be analyzed and identified, if the gesture path and the gesture that prestores Match, it is determined that gesture character corresponding to the gesture path;
Extraction module, for extracting crucial point coordinates corresponding to the key point of the gesture path, and store the key Point coordinates and the gesture character;
Display module, for according to the crucial point coordinates and the gesture character, the relevant position on the touch-screen Show gesture path corresponding to the gesture character.
The third aspect, the embodiment of the present invention also provide a kind of electronic equipment, including memory, processor, the memory On be stored with the computer program that can be run on the processor, described in the computing device during computer program realize on The step of stating the method described in first aspect.
Fourth aspect, the embodiment of the present invention also provide a kind of meter for the non-volatile program code that can perform with processor Calculation machine computer-readable recording medium, described program code make the method described in first aspect described in the computing device.
The embodiment of the present invention brings following beneficial effect:
In embodiment provided by the invention, the gesture path analogy method includes:Real-time monitoring users are on the touchscreen Gesture draw operation, obtain the gesture draw operation corresponding to gesture path;Gesture path is analyzed and identified, if The gesture path matches with the gesture that prestores, it is determined that gesture character corresponding to the gesture path;Extract the key of gesture path Crucial point coordinates corresponding to point, and store crucial point coordinates and gesture character;According to crucial point coordinates and gesture character, touching Relevant position shows gesture path corresponding to gesture character on screen.In embodiment provided by the invention, first to gesture path It is identified, and extracts the key point of the gesture path of user's drafting, then according to the coordinate of key point in the corresponding of touch-screen Position reappears the gesture path identified.So no matter user carries out the slip behaviour of default gesture in which position of touch-screen Make, the gesture path of reproduction can follow the real trace that gesture is slided, and so as to reach effect true to nature, improve the use of user Experience.
Other features and advantages of the present invention will illustrate in the following description, also, partly become from specification Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages are in specification, claims And specifically noted structure is realized and obtained in accompanying drawing.
To enable the above objects, features and advantages of the present invention to become apparent, preferred embodiment cited below particularly, and coordinate Appended accompanying drawing, is described in detail below.
Brief description of the drawings
, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical scheme of the prior art The required accompanying drawing used is briefly described in embodiment or description of the prior art, it should be apparent that, in describing below Accompanying drawing is some embodiments of the present invention, for those of ordinary skill in the art, before creative work is not paid Put, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of gesture path analogy method provided in an embodiment of the present invention;
Fig. 2 is the schematic diagram that key point corresponding to gesture C provided in an embodiment of the present invention is extracted;
Fig. 3 is the schematic diagram that gesture path corresponding to gesture C provided in an embodiment of the present invention shows process;
Fig. 4 is the schematic diagram of gesture path disappearance process corresponding to gesture C provided in an embodiment of the present invention;
Fig. 5 is the system architecture schematic diagram in implementation process provided in an embodiment of the present invention;
Fig. 6 is the interaction schematic diagram in implementation process provided in an embodiment of the present invention;
Fig. 7 is the structural representation of gesture path analogue means provided in an embodiment of the present invention;
Fig. 8 is the structural representation of electronic equipment provided in an embodiment of the present invention.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with accompanying drawing to the present invention Technical scheme be clearly and completely described, it is clear that described embodiment is part of the embodiment of the present invention, rather than Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creative work premise Lower obtained every other embodiment, belongs to the scope of protection of the invention.
In current phantom touch control gesture technology, no matter user carries out the slip of default gesture in which position of touch-screen Operation, gesture animation are echoed in fixed position, the real trace that gesture can not be followed to slide, and then are unable to reach true to nature Effect, poor user experience.Based on this, a kind of gesture path analogy method, device and electronic equipment provided in an embodiment of the present invention, Gesture path is identified first, and extracts the key point of the gesture path of user's drafting, then according to the coordinate of key point The gesture path identified is reappeared in the relevant position of touch-screen.So no matter user is preset in which position of touch-screen The slide of gesture, the gesture path of reproduction can follow the real trace that gesture is slided, so as to reach effect true to nature, carry The usage experience of high user.
For ease of understanding the present embodiment, first to a kind of gesture path simulation side disclosed in the embodiment of the present invention Method describes in detail.
Embodiment one:
Fig. 1 shows the schematic flow sheet of gesture path analogy method provided in an embodiment of the present invention.As shown in figure 1, should Gesture path analogy method includes:
Step S101, the gesture of real-time monitoring users on the touchscreen draw operation, obtain gesture and draw corresponding to operation Gesture path.
Specifically, in the case where screen is closed, the gesture of real-time monitoring users on the touchscreen draws operation, works as monitoring When drawing operation to gesture, obtain the gesture and draw gesture path corresponding to operation.
Step S102, above-mentioned gesture path is analyzed and identified, if the gesture path matches with the gesture that prestores, Then determine gesture character corresponding to the gesture path.
Specifically, various gestures can be pre-defined and stored, wherein, various gestures hand corresponding with each gesture Gesture character association stores, the gesture character U associated storages as corresponding to gesture " upper to slide ".In one embodiment, 14 are defined Kind of gesture is " right cunning ", " left cunning ", " upper to slide ", " downslide ", " double-click " and character shape " c ", " e ", " m ", " o ", " s ", “v”、“w”、“z”、“^”;Corresponding gesture character is respectively R L U D K c e m o s v w z^.
When getting the gesture path drawn on touch-screen, the gesture path is prestored into gesture one by one with what is prestored Matched, if being more than matching threshold with the prestore matching degree of gesture of one of which, it is determined that the gesture path prestores with this The match is successful for gesture, determines the gesture character that gesture character corresponding to the gesture path is the gesture associated storage that prestores.Such as hand The match is successful with gesture " C " for gesture track, it is determined that the gesture character corresponding to gesture that prestores is c.
Step S103, extract crucial point coordinates corresponding to the key point of gesture path, and store crucial point coordinates with it is above-mentioned Gesture character.
In order to determine the position of the gesture path on the touchscreen, it is necessary to extract crucial corresponding to the key point of gesture path Point coordinates (including abscissa and ordinate), and the gesture character with being obtained in step S102 stores in the lump.
In one embodiment, above-mentioned steps S103 is specifically included:
(1) rectangle frame where gesture path is set, extracts the central point and gesture path and rectangle frame of the rectangle frame Point of contact is as key point.
In the present embodiment, illustrated by taking the gesture path of gesture C matchings as an example:
Fig. 2 shows the schematic diagram that key point corresponding to gesture C provided in an embodiment of the present invention is extracted.Referring to Fig. 2, wherein X-axis represents abscissa, and y-axis represents ordinate.One rectangle frame is set in the surrounding of gesture path first, that is, a gesture is set Rectangle frame where track, the point of contact of the gesture path and the rectangle frame is then extracted, such as the point of contact A in Fig. 2, point of contact B and cut Point C;The central point of the rectangle frame is extracted afterwards, such as the central point O in Fig. 2.By the point of contact A extracted, point of contact B, point of contact C and in Heart point O is as key point.
(2) when detecting the presence of the side for the rectangle frame for not producing point of contact, chosen from gesture path away from the side The minimum point of distance as key point.
Specifically, still by taking Fig. 2 as an example, when the right edge for detecting the rectangle frame does not have point of contact, calculate in gesture path Point away from the minimum point of right edge distance, such as the end points D in Fig. 2, the key point using end points D as the gesture path.Now In Fig. 2, gesture path shares 5 key points.
(3) crucial point coordinates and gesture character corresponding to all above-mentioned key points are stored.
By taking Fig. 2 as an example, crucial point coordinates corresponding to above-mentioned 5 key points, and gesture character " c " are stored.
Step S104, according to above-mentioned crucial point coordinates and above-mentioned gesture character, relevant position shows the hand on the touchscreen Gesture path corresponding to gesture character.
Specifically, gesture path corresponding to gesture character can be entered in the relevant position of touch-screen by crucial point coordinates Row display.In one embodiment, step S104 is specifically included:
(a) according to above-mentioned gesture character, corresponding drafting function is called from default drafting function storehouse.
In particular it is required that prestore in drafting function value drafting function storehouse corresponding to each gesture character.Needing When gesture is drawn in touch-screen display, corresponding drafting function is called from the drafting function storehouse according to gesture character.
(b) paintbrush, painting canvas routine interface are called, and according to above-mentioned crucial point coordinates, corresponding drafting function, is packaged into and paints Algorithm processed.
Specifically, the relevant parameter of corresponding drafting function according to crucial point coordinates, can will be set, paintbrush is called, draw Cloth routine interface, paintbrush, painting canvas program, the drafting function that sets are packaged, obtain drawing corresponding to the gesture path Algorithm.
(c) above-mentioned rendering algorithm is applied, relevant position shows gesture path corresponding to gesture character on the touchscreen.
Specifically, the rendering algorithm is performed, you can paint relevant position (user draws the position of gesture) on the touchscreen Make gesture path, i.e., the gesture path that dynamically displaying user is drawn.Compared in the prior art, playing the animation that prestores Form, using rendering algorithm draw gesture path, can follow user gesture slide real trace, real trace is entered Row reappears, and simulation effect is more true to nature, and the interactive experience of user is improved.
In embodiment provided by the invention, the gesture path analogy method includes:Monitoring users real-time first are touching Gesture on screen draws operation, obtains the gesture and draws gesture path corresponding to operation;Then to gesture path carry out analysis and Identification, if the gesture path matches with the gesture that prestores, it is determined that gesture character corresponding to the gesture path;Hand is extracted afterwards Crucial point coordinates corresponding to the key point of gesture track, and store crucial point coordinates and gesture character;Finally according to crucial point coordinates With gesture character, on the touchscreen relevant position show gesture character corresponding to gesture path.In embodiment provided by the invention In, gesture path is identified first, and the key point of the gesture path of user's drafting is extracted, then according to the seat of key point The relevant position for being marked on touch-screen reappears the gesture path identified.So no matter user is carried out pre- in which position of touch-screen If the slide of gesture, the gesture path of reproduction can follow the real trace that gesture is slided, so as to reach effect true to nature, Improve the usage experience of user.In addition, the gesture path analogy method goes for all Android platforms, and can Smoothness operation.
In order to further enhance vivid effect, in one embodiment, before crucial point coordinates and gesture character is stored, Also include:Key point in gesture path is ranked up according to the drawing order of user, and it is suitable according to the progress of the result of sequence Sequence marks.Above-mentioned steps 104 include:According to hand corresponding to said sequence mark relevant position display gesture character on the touchscreen Gesture track.
Specifically, still by taking Fig. 2 as an example, when carrying out gesture drafting operation, drawing order is end points D, point of contact A, cut user Point B and point of contact C, is ordered as:1、2、3、4;In one embodiment, central point O can be labeled as last, using Fig. 2 as Example, is ordered as 5.Then mark in sequence, using the crucial point coordinates of each key point as location base, and Dynamic Announce gesture The drawing process of track.Fig. 3 shows that gesture path corresponding to gesture C provided in an embodiment of the present invention shows the signal of process Figure.
In one embodiment, in order to further enhance vivid effect, while above-mentioned each key point is stored, also deposit Starting point and end point are as key point caused by storage user's progress gesture drafting operation, in order to more accurately be painted to user The gesture of system is reappeared.
Further, after step s 104, in addition to:Mark in the order described above, eliminate the gesture rail on touch-screen Mark.The disappearance process of the gesture path, it is similar with the above-mentioned process that gesture path is drawn using rendering algorithm, it is no longer superfluous here State.Fig. 4 shows the schematic diagram of gesture path disappearance process corresponding to gesture C provided in an embodiment of the present invention.
In one embodiment, realized referring to Fig. 5, the above method by application layer, ccf layer and driving layer.Wherein, drive Dynamic layer includes IC (Integrated Circuit, integrated circuit) chip, for realizing step S102, step S102, step S103;Application layer is used to realize step S104;Ccf layer is used for the communication for realizing driving layer and application layer.
Specifically, before driving layer is analyzed and identified to gesture path, in addition to gesture coordinate file section is created Point and gesture character file node.Wherein gesture coordinate file node is used to store crucial point coordinates, gesture character file node For the gesture path gesture character that the match is successful determines afterwards.
Further, storing crucial point coordinates and above-mentioned gesture character includes:By above-mentioned crucial point coordinates and gesture character Store respectively to gesture coordinate file node and gesture character file node.
Driving layer establishment file node is used to be communicated with ccf layer and application layer, in one embodiment, drives layer The file node of establishment is as follows:
Proc/touchscreen_feature/gesture_coordinate (above-mentioned gesture coordinate file node)
Proc/touchscreen_feature/gesture_data (above-mentioned gesture character file node)
Proc/touchscreen_feature/gesture_onoff (switch control file node, it is current for storing The on off state of phantom touch control gesture function)
Proc/touchscreen_feature/gesture_type (gesture-type library file node, it is a variety of for storing The gesture of type)
Proc/touchscreen_feature/version (system version file nodes, for storing the gesture path The version of the platform of analogy method application)
It should be noted that above-mentioned application layer includes to switch control file node write state mark, the status indicator Two states, for distinguishing opening or the closing of phantom touch control gesture function, Bolean number can be used, or 0 or 1 represents.Drive Dynamic layer monitors the change of the status indicator of switch control file node in real time, so that the driving layer open or closing phantom touch Control gesture function.
See in one embodiment, Fig. 6 shows the interaction schematic diagram in implementation process provided in an embodiment of the present invention.Such as Shown in Fig. 6, the interaction of driving layer, ccf layer and application layer is specific as follows:
1st, in the case where screen is closed, receive the gesture of user on the touchscreen and draw operation, and transmit to driving layer.
2nd, layer is driven to obtain corresponding gesture path after listening to the gesture and drawing operation, carried out to the gesture path Analysis and identification.
3rd, drive layer will identify successful gesture character, extraction key point corresponding to crucial point coordinates be respectively written into gesture Character file node, gesture coordinate file node.
In one embodiment, can be by crucial point coordinates, gesture character with ASCALL (American Standard Code for Information Interchange, USA standard code for information interchange) code form, according to pre-defined Coordinate format is saved in IC chip register, specifically, each ASCALL codes is preserved with high-low-position.
4th, driving layer reports gesture message to ccf layer.
In one embodiment, driving layer sends a message to ccf layer in a manner of reporting key value.
5th, after ccf layer receives gesture message, gesture message is handled, generation gesture notice.
6th, ccf layer sends gesture notice to application layer.
In one embodiment, ccf layer notifies application layer in the form of broadcasting.
7th, after application layer receives gesture notice, gesture character file node, gesture coordinate file node are read Operation.
8th, application layer obtains crucial point coordinates, gesture character.
In one embodiment, after application layer obtains gesture notice, the crucial point coordinates and hand preserved in register is read Gesture character, ASCALL codes are converted into ten's digit.
9th, application layer shows gesture path in the relevant position of touch-screen.
In one embodiment, application layer is drawn out according to gesture character and crucial point coordinates using painting canvas, paintbrush simulation Gesture path, and wake up touch-screen.
Further, user can carry out setting using binding on the platform of the above-mentioned gesture path analogy method of application, Detailed process is as follows:
1) increase " gesture and somatosensory operation " entrance newly at the setting interface of platform, full position can be placed on, with convenient User frequently uses.
2) " gesture and somatosensory operation " entrance is clicked on, into gesture main menu, shows gesture master switch.
3) all gesture-types are shown, click on any gesture-type, selection needs the application bound.
User can be according to the needs of oneself, and the application to gesture binding is changed.
Therefore, also include after step s 104:Current screen locking type is detected, the screen locking type is judged;If Current screen locking type is safe screen locking, then lights screen, show the safe screen locking page (referring to Fig. 4);If current screen locking type is Screen locking is slided, then lights screen, and opens the application program of gesture character binding.So, it is convenient for the user to operate, further improve Consumer's Experience.
Embodiment two:
Fig. 7 shows the structural representation of gesture path analogue means provided in an embodiment of the present invention.As shown in fig. 7, should Gesture path analogue means, including:
Acquisition module 11, operation is drawn for the gesture of real-time monitoring users on the touchscreen, the gesture is obtained and draws behaviour Gesture path corresponding to work;
Identification module 12, for above-mentioned gesture path to be analyzed and identified, if gesture path and the gesture phase that prestores Matching, it is determined that gesture character corresponding to the gesture path;
Extraction module 13, for extracting crucial point coordinates corresponding to the key point of gesture path, and store key point seat Mark and gesture character;
Display module 14, for according to crucial point coordinates and gesture character, relevant position to show the gesture on the touchscreen Gesture path corresponding to character.
In embodiment provided by the invention, gesture path is identified first, and extracts the gesture rail of user's drafting The key point of mark, the gesture path identified is then reappeared in the relevant position of touch-screen according to the coordinate of key point.So not The slide of default gesture is carried out in which position of touch-screen by user, the gesture path of reproduction can follow gesture to slide Real trace, so as to reach effect true to nature, improve the usage experience of user.
Embodiment three:
Referring to Fig. 8, the embodiment of the present invention also provides a kind of electronic equipment 100, including:Processor 40, memory 41, bus 42 and communication interface 43, the processor 40, communication interface 43 and memory 41 connected by bus 42;Processor 40 is used to hold The executable module stored in line storage 41, such as computer program.
Wherein, memory 41 may include high-speed random access memory (RAM, Random Access Memory), Non-labile memory (non-volatile memory), for example, at least a magnetic disk storage may also be included.By extremely A few communication interface 43 (can be wired or wireless) is realized logical between the system network element and at least one other network element Letter connection, can use internet, wide area network, LAN, Metropolitan Area Network (MAN) etc..
Bus 42 can be isa bus, pci bus or eisa bus etc..The bus can be divided into address bus, data Bus, controlling bus etc..Only represented for ease of representing, in Fig. 8 with a four-headed arrow, it is not intended that an only bus or A type of bus.
Wherein, memory 41 is used for storage program, and the processor 40 performs the journey after execute instruction is received Sequence, the method performed by device that the stream process that foregoing any embodiment of the embodiment of the present invention discloses defines can apply to handle In device 40, or realized by processor 40.
Processor 40 is probably a kind of IC chip, has the disposal ability of signal.In implementation process, above-mentioned side Each step of method can be completed by the integrated logic circuit of the hardware in processor 40 or the instruction of software form.Above-mentioned Processor 40 can be general processor, including central processing unit (Central Processing Unit, abbreviation CPU), network Processor (Network Processor, abbreviation NP) etc.;It can also be digital signal processor (Digital Signal Processing, abbreviation DSP), application specific integrated circuit (Application Specific Integrated Circuit, referred to as ASIC), ready-made programmable gate array (Field-Programmable Gate Array, abbreviation FPGA) or other are programmable Logical device, discrete gate or transistor logic, discrete hardware components.It can realize or perform in the embodiment of the present invention Disclosed each method, step and logic diagram.General processor can be microprocessor or the processor can also be appointed What conventional processor etc..The step of method with reference to disclosed in the embodiment of the present invention, can be embodied directly in hardware decoding processing Device performs completion, or performs completion with the hardware in decoding processor and software module combination.Software module can be located at Machine memory, flash memory, read-only storage, programmable read only memory or electrically erasable programmable memory, register etc. are originally In the ripe storage medium in field.The storage medium is located at memory 41, and processor 40 reads the information in memory 41, with reference to Its hardware completes the step of above method.
Gesture path analogue means and electronic equipment provided in an embodiment of the present invention, the gesture rail provided with above-described embodiment Mark analogy method has identical technical characteristic, so can also solve identical technical problem, reaches identical technique effect.
The computer program product for the carry out gesture path analogy method that the embodiment of the present invention is provided, including store place The computer-readable recording medium of the executable non-volatile program code of device is managed, the instruction that described program code includes can be used for The method described in previous methods embodiment is performed, specific implementation can be found in embodiment of the method, will not be repeated here.
It is apparent to those skilled in the art that for convenience and simplicity of description, the device of foregoing description And the specific work process of electronic equipment, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
Flow chart and block diagram in accompanying drawing show multiple embodiment method and computer program products according to the present invention Architectural framework in the cards, function and operation.At this point, each square frame in flow chart or block diagram can represent one A part for module, program segment or code, a part for the module, program segment or code include one or more and are used to realize The executable instruction of defined logic function.It should also be noted that at some as the work(in the realization replaced, marked in square frame Energy can also be with different from the order marked in accompanying drawing generation.For example, two continuous square frames can essentially be substantially parallel Ground is performed, and they can also be performed in the opposite order sometimes, and this is depending on involved function.It is also noted that block diagram And/or the combination of each square frame and block diagram in flow chart and/or the square frame in flow chart, work(as defined in performing can be used Can or the special hardware based system of action realize, or the combination of specialized hardware and computer instruction can be used come reality It is existing.
In the description of the invention, it is necessary to explanation, term " " center ", " on ", " under ", "left", "right", " vertical ", The orientation or position relationship of the instruction such as " level ", " interior ", " outer " be based on orientation shown in the drawings or position relationship, merely to Be easy to the description present invention and simplify description, rather than instruction or imply signified device or element must have specific orientation, With specific azimuth configuration and operation, therefore it is not considered as limiting the invention.In addition, term " first ", " second ", " the 3rd " is only used for describing purpose, and it is not intended that instruction or hint relative importance.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, can be with Realize by another way.Device embodiment described above is only schematical, for example, the division of the unit, Only a kind of division of logic function, can there is other dividing mode when actually realizing, in another example, multiple units or component can To combine or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or beg for The mutual coupling of opinion or direct-coupling or communication connection can be by some communication interfaces, device or unit it is indirect Coupling or communication connection, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.
If the function is realized in the form of SFU software functional unit and is used as independent production marketing or in use, can be with It is stored in the executable non-volatile computer read/write memory medium of a processor.Based on such understanding, the present invention The part that is substantially contributed in other words to prior art of technical scheme or the part of the technical scheme can be with software The form of product is embodied, and the computer software product is stored in a storage medium, including some instructions are causing One computer equipment (can be personal computer, server, or network equipment etc.) performs each embodiment institute of the present invention State all or part of step of method.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read- Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with The medium of store program codes.
Finally it should be noted that:Embodiment described above, it is only the embodiment of the present invention, to illustrate the present invention Technical scheme, rather than its limitations, protection scope of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair It is bright to be described in detail, it will be understood by those within the art that:Any one skilled in the art The invention discloses technical scope in, it can still modify to the technical scheme described in previous embodiment or can be light Change is readily conceivable that, or equivalent substitution is carried out to which part technical characteristic;And these modifications, change or replacement, do not make The essence of appropriate technical solution departs from the spirit and scope of technical scheme of the embodiment of the present invention, should all cover the protection in the present invention Within the scope of.Therefore, protection scope of the present invention described should be defined by scope of the claims.

Claims (10)

  1. A kind of 1. gesture path analogy method, it is characterised in that including:
    The gesture of real-time monitoring users on the touchscreen draws operation, obtains the gesture and draws gesture path corresponding to operation;
    The gesture path is analyzed and identified, if the gesture path matches with the gesture that prestores, it is determined that described Gesture character corresponding to gesture path;
    Crucial point coordinates corresponding to the key point of the gesture path is extracted, and stores the crucial point coordinates and the gesture word Symbol;
    According to the crucial point coordinates and the gesture character, relevant position shows the gesture character pair on the touch-screen The gesture path answered.
  2. 2. according to the method for claim 1, it is characterised in that closed corresponding to the key point of the extraction gesture path Key point coordinates, and store the crucial point coordinates and the gesture character and include:
    Rectangle frame where the gesture path is set, extract the rectangle frame central point and the gesture path with it is described The point of contact of rectangle frame is as key point;
    When detecting the presence of the side for the rectangle frame for not producing point of contact, from the gesture path choose away from the side away from From minimum point as key point;
    Store crucial point coordinates corresponding to all key points and the gesture character.
  3. 3. according to the method for claim 1, it is characterised in that described according to the crucial point coordinates and the gesture word Symbol, relevant position shows that gesture path corresponding to the gesture character includes on the touch-screen:
    According to the gesture character, corresponding drafting function is called from default drafting function storehouse;
    Paintbrush, painting canvas routine interface are called, and according to the crucial point coordinates, corresponding drafting function, is packaged into rendering algorithm;
    Using the rendering algorithm, relevant position shows gesture path corresponding to the gesture character on the touch-screen.
  4. 4. according to the method for claim 1, it is characterised in that described that the gesture path is analyzed and identifies it Before, in addition to:
    Create gesture coordinate file node and gesture character file node;
    The storage crucial point coordinates includes with the gesture character:
    The crucial point coordinates and the gesture character are stored to the gesture coordinate file node and the gesture word respectively Accord with file node.
  5. 5. according to the method for claim 1, it is characterised in that the storage crucial point coordinates and the gesture character Before, in addition to:
    Key point in the gesture path is ranked up according to the drawing order of user, and it is suitable according to the progress of the result of sequence Sequence marks;
    The relevant position on the touch-screen shows that gesture path corresponding to the gesture character includes:
    According to the sequence notation, relevant position shows gesture path corresponding to the gesture character on the touch-screen.
  6. 6. according to the method for claim 5, it is characterised in that it is described according to the sequence notation on the touch-screen phase After answering gesture path corresponding to gesture character described in position display, in addition to:
    According to the sequence notation, the gesture path on the touch-screen is eliminated.
  7. 7. according to the method for claim 1, it is characterised in that the relevant position on the touch-screen shows the hand After gesture path corresponding to gesture character, in addition to:
    Current screen locking type is detected, the screen locking type is judged;
    If current screen locking type is safe screen locking, screen is lighted, shows the safe screen locking page;
    If current screen locking type lights screen, and open the application program of the gesture character binding to slide screen locking.
  8. A kind of 8. gesture path analogue means, it is characterised in that including:
    Acquisition module, operation is drawn for the gesture of real-time monitoring users on the touchscreen, the gesture is obtained and draws operation pair The gesture path answered;
    Identification module, for the gesture path to be analyzed and identified, if the gesture path and the gesture phase that prestores Match somebody with somebody, it is determined that gesture character corresponding to the gesture path;
    Extraction module, for extracting crucial point coordinates corresponding to the key point of the gesture path, and store the key point and sit Mark and the gesture character;
    Display module, for according to the crucial point coordinates and the gesture character, relevant position to be shown on the touch-screen Gesture path corresponding to the gesture character.
  9. 9. a kind of electronic equipment, including memory, processor, it is stored with what can be run on the processor on the memory Computer program, it is characterised in that realize that the claims 1 to 7 are any during computer program described in the computing device Described in method the step of.
  10. 10. a kind of computer-readable medium for the non-volatile program code that can perform with processor, it is characterised in that described Program code makes any described methods of claim 1-7 described in the computing device.
CN201710699304.5A 2017-08-15 2017-08-15 Gesture track simulation method and device and electronic equipment Active CN107463331B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710699304.5A CN107463331B (en) 2017-08-15 2017-08-15 Gesture track simulation method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710699304.5A CN107463331B (en) 2017-08-15 2017-08-15 Gesture track simulation method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN107463331A true CN107463331A (en) 2017-12-12
CN107463331B CN107463331B (en) 2020-08-07

Family

ID=60549738

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710699304.5A Active CN107463331B (en) 2017-08-15 2017-08-15 Gesture track simulation method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN107463331B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108762655A (en) * 2018-05-16 2018-11-06 深圳市沃特沃德股份有限公司 Start the method and terminal of application
CN108965575A (en) * 2018-05-02 2018-12-07 普联技术有限公司 A kind of gesture motion recognition methods, device and terminal device
CN109491578A (en) * 2018-12-28 2019-03-19 深圳竹云科技有限公司 A kind of user authen method based on mouse gestures
CN109558059A (en) * 2018-11-12 2019-04-02 大陆汽车投资(上海)有限公司 Handwriting tracks method for drafting and device
CN109885444A (en) * 2019-01-16 2019-06-14 深圳壹账通智能科技有限公司 Test method, device, storage medium and terminal device based on gesture identification
CN110956124A (en) * 2019-11-27 2020-04-03 云南电网有限责任公司电力科学研究院 Display device control method based on gestures and display device
CN111625179A (en) * 2020-06-02 2020-09-04 京东方科技集团股份有限公司 Graph drawing method, electronic device, and computer storage medium
CN112684895A (en) * 2020-12-31 2021-04-20 安徽鸿程光电有限公司 Marking method, device, equipment and computer storage medium
CN113093972A (en) * 2019-12-23 2021-07-09 北京集创北方科技股份有限公司 Gesture recognition method and system, storage medium and touch screen device
CN113383302A (en) * 2019-04-16 2021-09-10 深圳市柔宇科技股份有限公司 Method for locally selecting track and track combination, electronic equipment and storage medium
CN113589931A (en) * 2021-07-30 2021-11-02 重庆长安汽车软件科技有限公司 Gesture function display module, in-vehicle gesture system and automobile

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140320507A1 (en) * 2013-04-26 2014-10-30 Samsung Electronics Co., Ltd. User terminal device for providing animation effect and display method thereof
CN105068749A (en) * 2015-08-13 2015-11-18 广东欧珀移动通信有限公司 Method and system for rapidly drawing circular trace
CN105260024A (en) * 2015-10-15 2016-01-20 广东欧珀移动通信有限公司 Method and apparatus for stimulating gesture motion trajectory on screen
CN106354252A (en) * 2016-08-18 2017-01-25 电子科技大学 Continuous character gesture track recognizing method based on STDW

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140320507A1 (en) * 2013-04-26 2014-10-30 Samsung Electronics Co., Ltd. User terminal device for providing animation effect and display method thereof
CN105068749A (en) * 2015-08-13 2015-11-18 广东欧珀移动通信有限公司 Method and system for rapidly drawing circular trace
CN105260024A (en) * 2015-10-15 2016-01-20 广东欧珀移动通信有限公司 Method and apparatus for stimulating gesture motion trajectory on screen
CN106354252A (en) * 2016-08-18 2017-01-25 电子科技大学 Continuous character gesture track recognizing method based on STDW

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108965575B (en) * 2018-05-02 2020-07-28 普联技术有限公司 Gesture action recognition method and device and terminal equipment
CN108965575A (en) * 2018-05-02 2018-12-07 普联技术有限公司 A kind of gesture motion recognition methods, device and terminal device
CN108762655A (en) * 2018-05-16 2018-11-06 深圳市沃特沃德股份有限公司 Start the method and terminal of application
CN109558059A (en) * 2018-11-12 2019-04-02 大陆汽车投资(上海)有限公司 Handwriting tracks method for drafting and device
CN109558059B (en) * 2018-11-12 2021-10-22 大陆汽车车身电子系统(芜湖)有限公司 Handwriting track drawing method and device
CN109491578A (en) * 2018-12-28 2019-03-19 深圳竹云科技有限公司 A kind of user authen method based on mouse gestures
CN109885444A (en) * 2019-01-16 2019-06-14 深圳壹账通智能科技有限公司 Test method, device, storage medium and terminal device based on gesture identification
CN109885444B (en) * 2019-01-16 2022-03-15 深圳壹账通智能科技有限公司 Testing method and device based on gesture recognition, storage medium and terminal equipment
CN113383302A (en) * 2019-04-16 2021-09-10 深圳市柔宇科技股份有限公司 Method for locally selecting track and track combination, electronic equipment and storage medium
CN110956124A (en) * 2019-11-27 2020-04-03 云南电网有限责任公司电力科学研究院 Display device control method based on gestures and display device
CN113093972A (en) * 2019-12-23 2021-07-09 北京集创北方科技股份有限公司 Gesture recognition method and system, storage medium and touch screen device
WO2021244367A1 (en) * 2020-06-02 2021-12-09 京东方科技集团股份有限公司 Graph drawing method, electronic device and computer storage medium
CN111625179A (en) * 2020-06-02 2020-09-04 京东方科技集团股份有限公司 Graph drawing method, electronic device, and computer storage medium
CN111625179B (en) * 2020-06-02 2021-11-16 京东方科技集团股份有限公司 Graph drawing method, electronic device, and computer storage medium
CN112684895A (en) * 2020-12-31 2021-04-20 安徽鸿程光电有限公司 Marking method, device, equipment and computer storage medium
CN113589931A (en) * 2021-07-30 2021-11-02 重庆长安汽车软件科技有限公司 Gesture function display module, in-vehicle gesture system and automobile

Also Published As

Publication number Publication date
CN107463331B (en) 2020-08-07

Similar Documents

Publication Publication Date Title
CN107463331A (en) Gesture path analogy method, device and electronic equipment
CN104020943B (en) Character string is replaced
KR101825154B1 (en) Overlapped handwriting input method
CN102855082B (en) Character recognition for overlay text user input
CN108416003A (en) A kind of picture classification method and device, terminal, storage medium
CN106648434A (en) Method and device for controlling application interfaces through dragging gesture
CN106325737A (en) Method and equipment for erasing writing path
US20140080104A1 (en) Kanji stroke order learning device, kanji stroke order learning support method, kanji stroke order learning system and recording medium in which kanji stroke order learning program is recorded
CN105630271B (en) Method and apparatus for the input of electronic spreadsheet data
CN107305578A (en) Human-machine intelligence's answering method and device
CN107357787A (en) Semantic interaction method, apparatus and electronic equipment
CN107797794A (en) Edit methods, device, storage medium, processor and the terminal of program code
CN110297973A (en) A kind of data recommendation method based on deep learning, device and terminal device
CN107305575A (en) The punctuate recognition methods of human-machine intelligence's question answering system and device
CN107194213A (en) A kind of personal identification method and device
CN106774975A (en) Input method and device
TW201237764A (en) Method, apparatus, and computer program product for overlapped handwriting
CN108038894A (en) Animation creation method, device, electronic equipment and computer-readable recording medium
CN105094381A (en) Writing processing method and device
CN111103982A (en) Data processing method, device and system based on somatosensory interaction
CN107608510A (en) Method for building up, device and the electronic equipment in gesture model storehouse
CN107393044A (en) Intelligence is registered management method, apparatus and system
CN107229727A (en) One kind comment method and device
CN104281560A (en) Memory text information display method and device and terminal
CN203950454U (en) A kind of parent-child interaction learning device

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