CN109902473A - Method for generating pattern, pattern generating apparatus and mobile terminal - Google Patents
Method for generating pattern, pattern generating apparatus and mobile terminal Download PDFInfo
- Publication number
- CN109902473A CN109902473A CN201910146835.0A CN201910146835A CN109902473A CN 109902473 A CN109902473 A CN 109902473A CN 201910146835 A CN201910146835 A CN 201910146835A CN 109902473 A CN109902473 A CN 109902473A
- Authority
- CN
- China
- Prior art keywords
- coordinate points
- pattern
- change amount
- amount signal
- touch 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
Links
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The application is suitable for technical field of mobile terminals, provide a kind of method for generating pattern, pattern generating apparatus, mobile terminal and computer readable storage medium, it include: when detecting the touch operation to touch screen, obtain the change amount signal of all coordinate points on the touch screen, wherein, the change amount signal of coordinate points refers to difference when current touch object touches the touch screen when the semaphore and current touch object that the coordinate points generate do not touch the touch screen between the semaphore that the coordinate points generate;According to the change amount signal of coordinate points all on the touch screen, the coordinate points that change amount signal is not zero in all coordinate points on the touch screen are obtained;According to the coordinate points that the change amount signal is not zero, the characteristic pattern of the current touch object is generated.The characteristic pattern that touching object can be generated according to the change amount signal of touch screen by the application, reduces the manufacturing cost of pattern.
Description
Technical field
The application belongs to technical field of mobile terminals more particularly to a kind of method for generating pattern, pattern generating apparatus, movement
Terminal and computer readable storage medium.
Background technique
With popularizing for the mobile terminals such as mobile phone, tablet computer, the information stored in mobile terminal is more and more, in order to mention
The safety of high mobile terminal, in using mobile terminal or opening mobile terminal before some application program, it usually needs
Authentication is carried out, such as fingerprint authentication is carried out by acquisition fingerprint pattern.However, acquisition fingerprint pattern is needed in mobile terminal
Middle installation finger print acquisition module, higher cost.
Summary of the invention
It can in view of this, this application provides a kind of method for generating pattern, pattern generating apparatus, mobile terminal and computers
Storage medium is read, to generate the characteristic pattern of touching object according to the change amount signal of touch screen, reduces the manufacturing cost of pattern.
The first aspect of the application provides a kind of method for generating pattern, and the method for generating pattern includes:
When detecting the touch operation to touch screen, the change amount signal of all coordinate points on the touch screen is obtained,
Wherein, the change amount signal of coordinate points refers to the semaphore generated when current touch object touches the touch screen in the coordinate points
Difference when not touching the touch screen with the current touch object between the semaphore that the coordinate points generate;
According to the change amount signal of coordinate points all on the touch screen, obtains and believe in all coordinate points on the touch screen
The coordinate points that number variable quantity is not zero;
According to the coordinate points that the change amount signal is not zero, the characteristic pattern of the current touch object is generated.
The second aspect of the application provides a kind of pattern generating apparatus, and the pattern generating apparatus includes:
Semaphore obtains module, owns on the touch screen for obtaining when detecting the touch operation to touch screen
The change amount signal of coordinate points, wherein the change amount signal of coordinate points refer to current touch object touch the touch screen when
The semaphore and the current touch object that the coordinate points generate do not touch the signal generated when the touch screen in the coordinate points
Difference between amount;
Coordinate points obtain module and obtain the touching for the change amount signal according to coordinate points all on the touch screen
Touch the coordinate points for shielding that change amount signal is not zero in upper all coordinate points;
Pattern gen-eration module, the coordinate points for being not zero according to the change amount signal generate the current touch object
The characteristic pattern of body.
The third aspect of the application provides a kind of mobile terminal, including memory, processor and is stored in described deposit
In reservoir and the computer program that can run on the processor, the processor are realized such as when executing the computer program
The step of method for generating pattern described in above-mentioned first aspect.
The fourth aspect of the application provides a kind of computer readable storage medium, and the computer readable storage medium is deposited
Computer program is contained, the method for generating pattern as described in above-mentioned first aspect is realized when the computer program is executed by processor
The step of.
The 5th aspect of the application provides a kind of computer program product, and the computer program product includes computer
Program realizes the method for generating pattern as described in above-mentioned first aspect when the computer program is executed by one or more processors
The step of.
Therefore application scheme obtains on the touch screen and owns when detecting the touch operation to touch screen
The change amount signal of coordinate points obtains institute on the touch screen according to the change amount signal of coordinate points all on the touch screen
There are the coordinate points that change amount signal is not zero in coordinate points, and the coordinate points being not zero according to the change amount signal, generates institute
State the characteristic pattern of current touch object.The application generates the characteristic pattern of current touch object according to the change amount signal of touch screen
Case, can to avoid image collecting device (such as finger print acquisition module) is installed in the terminal, reduce the generation of pattern at
This.
Detailed description of the invention
It in order to more clearly explain the technical solutions in the embodiments of the present application, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only some of the application
Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these
Attached drawing obtains other attached drawings.
Fig. 1 is the implementation process schematic diagram for the method for generating pattern that the embodiment of the present application one provides;
Fig. 2 a is X-axis Electrode Examples figure;Fig. 2 b is Y-axis Electrode Examples figure;Fig. 2 c is X-axis, Y-axis electrode merging exemplary diagram;
Fig. 3 a is the original signal amount exemplary diagram of touch screen;Fig. 3 b is the change amount signal exemplary diagram of touch screen;
Fig. 4 a is the coordinate points exemplary diagram that change amount signal is not zero on touch screen;Fig. 4 b is the feature of current touch object
Pattern instance figure;
Fig. 5 is the implementation process schematic diagram for the method for generating pattern that the embodiment of the present application two provides;
Fig. 6 is the implementation process schematic diagram for the method for generating pattern that the embodiment of the present application three provides;
Fig. 7 is the schematic diagram for the pattern generating apparatus that the embodiment of the present application four provides;
Fig. 8 is the schematic diagram for the mobile terminal that the embodiment of the present application five provides;
Fig. 9 is the schematic diagram for the mobile terminal that the embodiment of the present application six provides.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed
Body details, so as to provide a thorough understanding of the present application embodiment.However, it will be clear to one skilled in the art that there is no these specific
The application also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity
The detailed description of road and method, so as not to obscure the description of the present application with unnecessary details.
It should be appreciated that ought use in this specification and in the appended claims, term " includes " instruction is described special
Sign, entirety, step, operation, the presence of element and/or component, but be not precluded one or more of the other feature, entirety, step,
Operation, the presence or addition of element, component and/or its set.
In the specific implementation, mobile terminal described in the embodiment of the present application is including but not limited to such as with the sensitive table of touch
Mobile phone, laptop computer or the tablet computer in face (for example, touch-screen display and/or touch tablet) etc it is other
Portable device.It is to be further understood that in certain embodiments, the equipment is not portable communication device, but is had
The desktop computer of touch sensitive surface (for example, touch-screen display and/or touch tablet).
In following discussion, the mobile terminal including display and touch sensitive surface is described.However, should manage
Solution, mobile terminal may include that one or more of the other physical User of such as physical keyboard, mouse and/or control-rod connects
Jaws equipment.
Mobile terminal supports various application programs, such as one of the following or multiple: drawing application program, demonstration application
Program, word-processing application, website creation application program, disk imprinting application program, spreadsheet applications, game are answered
With program, telephony application, videoconference application, email application, instant messaging applications, forging
Refining supports application program, photo management application program, digital camera application program, digital camera application program, web-browsing to answer
With program, digital music player application and/or video frequency player application program.
At least one of such as touch sensitive surface can be used in the various application programs that can be executed on mobile terminals
Public physical user-interface device.It can be adjusted among applications and/or in corresponding application programs and/or change touch is quick
Feel the corresponding information shown in the one or more functions and terminal on surface.In this way, terminal public physical structure (for example,
Touch sensitive surface) it can support the various application programs with user interface intuitive and transparent for a user.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in the present embodiment, each process
Execution sequence should be determined by its function and internal logic, and the implementation process without coping with the embodiment of the present application constitutes any restriction.
In order to illustrate technical solution described herein, the following is a description of specific embodiments.
Referring to Fig. 1, it is the implementation process schematic diagram for the method for generating pattern that the embodiment of the present application one provides, as shown in the figure should
Method for generating pattern may comprise steps of:
Step S101 obtains the letter of all coordinate points on the touch screen when detecting the touch operation to touch screen
Number variable quantity.
Wherein, the change amount signal of coordinate points refers to and generates when current touch object touches the touch screen in the coordinate points
Difference when not touching the touch screen between the semaphore that the coordinate points generate of semaphore and current touch object.
In the embodiment of the present application, the current touch object, which can refer to, currently carries out touch operation to the touch screen
Object.Such as hand-held metal official seal, on the touchscreen by metal official seal pressing, metal official seal is current touch object.
In the embodiment of the present application, touch screen is usually placed with a certain number of capacitance electrode channels in the x, y direction
(such as common 16*36) is X-axis electrode as shown in Figure 2 a, and Fig. 2 b is Y-axis electrode, and Fig. 2 c is X-axis, the merging of Y-axis electrode, i.e. X
Axis, Y-axis electrode interlock, and intervening portion is capacitor position, thus form the matrix of X*Y, matrix each point x, y-coordinate distribution pair
Position corresponding to capacitor is answered, xth X-axis electrode, the y articles Y-axis electrode are located at.When there is conductor (such as human body) to touch touch
When some coordinate points on screen, the semaphore of the coordinate points can change (semaphore of the coordinate points becomes larger), thus, it is possible to
Navigate to the coordinate that touched position is located in capacitance matrix.It is the original signal amount exemplary diagram of touch screen as shown in Figure 3a,
I.e. finger does not touch the semaphore generated when screen (i.e. touch screen), is the change amount signal of touch screen, i.e. finger shown in Fig. 3 b
The semaphore generated and finger do not touch the difference between the semaphore generated when screen when touching screen.It can by Fig. 3 a and Fig. 3 b
Know, when detecting the touch operation to touch screen, the semaphore of touch location can change, and the semaphore of other positions is not
Change (i.e. the change amount signal of other positions is zero).
Step S102 is obtained on the touch screen and is owned according to the change amount signal of coordinate points all on the touch screen
The coordinate points that change amount signal is not zero in coordinate points.
In the embodiment of the present application, the coordinate points position that the change amount signal is not zero can refer to current touch
The contact position of object and the touch screen.
Step S103 generates the feature of the current touch object according to the coordinate points that the change amount signal is not zero
Pattern.
In the embodiment of the present application, the pattern that the coordinate points that the change amount signal is not zero are formed is the current touching
Touch the characteristic pattern of object.
Optionally, the coordinate points being not zero according to the change amount signal generate the spy of the current touch object
Levying pattern includes:
The blank image for generating pre-set dimension, marks the seat that the change amount signal is not zero in the blank image
Punctuate, the image after label are the characteristic pattern of the current touch object.
In the embodiment of the present application, the blank image can refer to that the gray value of pixel is 255 image.Institute
It states when marking the coordinate points that the change amount signal is not zero in blank image, need to guarantee the coordinate that change amount signal is not zero
Relative position or the regularity of distribution between point is constant, for example, change amount signal is not zero on the touchscreen coordinate points A and B,
A and B go together and B is located at the next column of A, then also needing to go together A and B when label A and B in blank image and B is located under A
One column.It is the coordinate points exemplary diagram that change amount signal is not zero on touch screen as shown in fig. 4 a, Fig. 4 b is current touch object
Characteristic pattern exemplary diagram.Wherein, position of the label coordinate points that change amount signal is not zero for identification in characteristic pattern, example
0 is set by the gray value for the corresponding pixel of coordinate points that change amount signal is not zero such as in characteristic pattern.
It should be noted that the feature of the current touch object generated according to the coordinate points that the change amount signal is not zero
Pattern can be not only used for authentication, can be used for carrying specific information, for example, current touch object is to be carved with company name
The official seal of title, then just carrying Business Name in the characteristic pattern of the official seal.
The embodiment of the present application generates the characteristic pattern of current touch object according to the change amount signal of touch screen, can be to avoid
Image collecting device (such as finger print acquisition module) is installed in the terminal, reduces the manufacturing cost of pattern.
Referring to Fig. 5, it is the implementation process schematic diagram for the method for generating pattern that the embodiment of the present application two provides, as shown in the figure should
Method for generating pattern may comprise steps of:
Step S501 obtains the letter of all coordinate points on the touch screen when detecting the touch operation to touch screen
Number variable quantity.
The step is identical as step S101, and for details, reference can be made to the associated descriptions of step S101, and details are not described herein.
Step S502 is obtained on the touch screen and is owned according to the change amount signal of coordinate points all on the touch screen
The coordinate points that change amount signal is not zero in coordinate points.
The step is identical as step S102, and for details, reference can be made to the associated descriptions of step S102, and details are not described herein.
Step S503 obtains the regularity of distribution for the coordinate points that the change amount signal is not zero.
Step S504 judges whether the regularity of distribution for the coordinate points that the change amount signal is not zero is default distribution rule
Rule.
Step S505, if the regularity of distribution for the coordinate points that the change amount signal is not zero is the default regularity of distribution, really
The fixed current touch object is default object.
In the embodiment of the present application, the regularity of distribution for the coordinate points that the change amount signal is not zero can refer to the letter
It is located at edge shape that the coordinate points at edge form in the coordinate points that number variable quantity is not zero or the change amount signal is not
Whether (not including edge) deposits in the edge shape and the edge shape that coordinate points in zero coordinate points positioned at edge form
In the coordinate points that change amount signal is not zero.The default regularity of distribution can refer to that user is pre-set current for judging
Whether touching object is the standard for presetting object, and the default regularity of distribution can refer to the coordinate points that change amount signal is not zero
In to be located at the edge shape that the coordinate points at edge form be to be located in the coordinate points that are not zero of preset shape or change amount signal
The edge shape of the coordinate points composition at edge is preset shape and is not zero in the edge shape there are change amount signal
Coordinate points.If the edge shape that the coordinate points in the coordinate points that the change amount signal is not zero positioned at edge form is default shape
Shape, it is determined that the current touch object is default object, if being located at edge in the coordinate points that the change amount signal is not zero
The edge shape of coordinate points composition be not preset shape, it is determined that the current touch object is not default object;If
The edge shape that coordinate points in the coordinate points that the change amount signal is not zero positioned at edge form is for preset shape and in institute
State in edge shape that there are the coordinate points that change amount signal is not zero, it is determined that the current touch object is default object, if
In the coordinate points that the change amount signal is not zero positioned at edge coordinate points form edge shape be not preset shape or
There is no the coordinate points that change amount signal is not zero in the edge shape, it is determined that the current touch object is not default
Object.
In the embodiment of the present application, the default object can refer to preset a certain type or have a certain function
The object of energy, metal official seal including but not limited to uniqueness.
In order to improve the efficiency for obtaining change amount signal in all coordinate points on touch screen, which can be basis
The touch screen customization of customer mobile terminal, square-shaped metal official seal is customized, the capacitor channel of touch screen is the matrix of X*Y, can
The matrix of X*X is divided into the chapter face by square-shaped metal official seal, each pair of point in the matrix of X*X answers an electricity on touch screen
Hold the width in channel, such as the width of touch screen is 5cm, is corresponding with 16 capacitor channels, each channel about 3mm, then can be with
5cm, every sub- a length of 3mm of Quad Sides in the matrix of chapter face are set by the rectangular side length in chapter face, chapter face last chapter face matrix is corresponding
Part 3mm*3mm son it is rectangular empty, formed be similar to two dimensional code pattern.When the metal official seal is pressed on touch screen
When, human body forms access by metal official seal and touch screen, and the non-position contact touch screen emptied of metal official seal makes signal quantitative change
Greatly, touch screen can learn the picture on surface (i.e. characteristic pattern) of current metal official seal by parsing these characteristic values.
In the embodiment of the present application, mobile terminal can first bind default object, and in binding, touch screen is switched to record
Enter mode, when detecting default object contact touch screen, obtains the characteristic pattern (i.e. standard pattern) of the default object, and
The characteristic pattern of the default object is stored in the flash memory of touch screen.Wherein, the typing mode can refer to
The mode of typing standard pattern, under the typing mode can with typing information, but can not identify sliding to touch screen or
The common operations such as person's click.For example, being carried out a little under Active mode to the icon for some application program for touching screen display
Hit operation, be for starting the application program, but be usually under typing mode obtain the characteristic pattern of the clicking operation, and
The application program is not started.The Active mode can refer to detection and identify the mode of common touch event, such as identify
The effect of touch operation.
Step S506, if the current touch object is default object, the seat being not zero according to the change amount signal
Punctuate generates the characteristic pattern of the current touch object.
The embodiment of the present application generate current touch object characteristic pattern before, first judge current touch object whether be
Default object, presetting object has uniqueness, can be to current touch by judging whether current touch object is default object
Object carries out prescreening, screens out the object for not having and generating pattern permission.
Referring to Fig. 6, it is the implementation process schematic diagram for the method for generating pattern that the embodiment of the present application three provides, as shown in the figure should
Method for generating pattern may comprise steps of:
Step S601 shows pending batch file.
In the embodiment of the present application, pending batch file is shown on the touchscreen, can be checked in order to approver described pending
Batch file passes through qualification to judge whether the pending batch file has examination & approval.Wherein, the pending batch file can be finger and appoint
One pending batch file may also mean that approver has the pending batch file of the power of examination and approval, be not limited thereto.Such as there are texts
Part A and B, current approver has the permission for the A that clears a paper, without the permission for the B that clears a paper, then file can be shown
A, and cannot show file B.
Optionally, before showing pending batch file, further includes:
Start default application program, and opens the pending batch file in the default application program.
In the embodiment of the present application, the default application program can refer to that user is mounted using journey from mobile terminal
The a certain type selected in sequence or the application program with a certain function, such as the application program with function of clearing a paper.
Optionally, user can modify selected application program according to actual needs.
Step S602 obtains the letter of all coordinate points on the touch screen when detecting the touch operation to touch screen
Number variable quantity.
The step is identical as step S101, and for details, reference can be made to the associated descriptions of step S101, and details are not described herein.
Step S603 is obtained on the touch screen and is owned according to the change amount signal of coordinate points all on the touch screen
The coordinate points that change amount signal is not zero in coordinate points.
The step is identical as step S102, and for details, reference can be made to the associated descriptions of step S102, and details are not described herein.
Step S604 generates the feature of the current touch object according to the coordinate points that the change amount signal is not zero
Pattern.
The step is identical as step S103, and for details, reference can be made to the associated descriptions of step S103, and details are not described herein.
Step S605 matches the characteristic pattern of the current touch object with standard pattern, if the current touching
The characteristic pattern and the standard pattern for touching object match, it is determined that the copending document approvals pass through.
In the embodiment of the present application, the standard pattern is for judging whether the approver for holding current touch object has
The permission of the pending batch file is examined, if the characteristic pattern of the current touch object matches with the standard pattern,
Determine that the approver for holding current touch object has the permission for examining the pending batch file and examines by described copending
File;If the characteristic pattern of the current touch object and the standard pattern mismatch, it is determined that hold current touch object
Approver do not have the permission for examining the pending batch file.Wherein it is possible to one or more standard patterns are stored in advance, when
When multiple standard patterns are stored in advance, if any mark in the characteristic pattern of the current touch object and the multiple standard pattern
Quasi- pattern matches, it is determined that the approver for holding current touch object has the permission for examining the pending batch file and examination & approval
Pass through the pending batch file;If the characteristic pattern of the current touch object is mismatched with the multiple standard pattern,
It determines that the approver for holding current touch object does not have the permission for examining the pending batch file, can prompt to work as described in prompt
Preceding touching object not with mobile terminal binding.
Optionally, the standard pattern is stored in the flash memory of the touch screen.
In the embodiment of the present application, standard pattern can be stored in advance in the flash memory that touch screen itself carries
In, to improve the safety of standard pattern, because mobile terminal can not be directly read in the flash memory for being stored in touch screen
Information, confidentiality with higher.
In addition, can be touch screen when being matched the characteristic pattern of the current touch object with standard pattern
Integrated circuit (Integrated Cirtuit, IC) by preset algorithm by the characteristic pattern and mark of the current touch object
Quasi- pattern is matched, and matching result is stored in registers, and touch screen IC, which is issued, after matching interrupts, and notice is moved
Dynamic terminal obtains matching result from register.Wherein, the preset algorithm can be the feature of the current touch object
Pattern and standard pattern carry out matched algorithm.
Optionally, after determining that the copending document approvals pass through, the embodiment of the present application further include:
File signature is carried out to the file that examination & approval pass through.
In the embodiment of the present application, file signature (such as digital signature) can be carried out to the file that examination & approval pass through, prevented
Document approvals result is tampered, and improves the safety of document approvals result.
The embodiment of the present application carries out priority assignation to the review operation of file by standard pattern, in current touch object
It determines that copending Note Auditing passes through when characteristic pattern matches with standard pattern, is examined so as to effectively prevent other people to carry out file
Batch, improve the safety of document approvals.
It is that the schematic diagram for the pattern generating apparatus that the embodiment of the present application four provides only shows for ease of description referring to Fig. 7
Part relevant to the embodiment of the present application is gone out.
The pattern generating apparatus includes:
Semaphore obtains module 70, for when detecting the touch operation to touch screen, obtaining institute on the touch screen
There is the change amount signal of coordinate points, wherein when the change amount signal of coordinate points refers to that current touch object touches the touch screen
The semaphore generated when the semaphore and current touch object that the coordinate points generate do not touch the touch screen in the coordinate points
Between difference;
Coordinate points obtain module 71, for the change amount signal according to coordinate points all on the touch screen, described in acquisition
The coordinate points that change amount signal is not zero in all coordinate points on touch screen;
Pattern gen-eration module 72, the coordinate points for being not zero according to the change amount signal, generates the current touch
The characteristic pattern of object.
Optionally, the pattern gen-eration module 72 is specifically used for:
The blank image for generating pre-set dimension, marks the seat that the change amount signal is not zero in the blank image
Punctuate, the image after label are the characteristic pattern of the current touch object.
Optionally, the pattern generating apparatus further include:
Rule obtains module 73, for obtaining the regularity of distribution for the coordinate points that the change amount signal is not zero;
Regular judgment module 74, for judging whether the regularity of distribution of coordinate points that the change amount signal is not zero is pre-
If the regularity of distribution;
Object determining module 75, if the regularity of distribution for the coordinate points being not zero for the change amount signal is default distribution
Rule, it is determined that the current touch object is default object;
Correspondingly, the pattern gen-eration module 72 is specifically used for:
If the current touch object is that default object is generated according to the coordinate points that the change amount signal is not zero
The characteristic pattern of the current touch object.
Optionally, the pattern generating apparatus further include:
File display module 76, for showing pending batch file;
Examination & approval are by module 77, for the characteristic pattern of the current touch object to be matched with standard pattern, if
The characteristic pattern of the current touch object matches with the standard pattern, it is determined that the copending document approvals pass through.
Optionally, the pattern generating apparatus further include:
Signature blocks 78, the file for passing through to examination & approval carry out file signature.
Optionally, the standard pattern is stored in the flash memory of the touch screen.
Optionally, the pattern generating apparatus further include:
Application launch module 79, for starting default application program, and open in the default application program it is described to
It clears a paper.
Pattern generating apparatus provided by the embodiments of the present application can be applied in preceding method embodiment one, embodiment two and reality
It applies in example three, details are referring to the description of above method embodiment one, embodiment two and embodiment three, and details are not described herein.
Fig. 8 is the schematic diagram for the mobile terminal that the embodiment of the present application five provides.The mobile terminal as shown in the figure can wrap
Include: one or more processors 801 (only show one) in figure;One or more input equipments 802 (one is only shown in figure),
One or more output equipments 803 (one is only shown in figure) and memory 804.It is above-mentioned processor 801, input equipment 802, defeated
Equipment 803 and memory 804 are connected by bus 805 out.Memory 804 for storing instruction, deposit for executing by processor 801
The instruction that reservoir 804 stores.Wherein:
The processor 801, for when detecting the touch operation to touch screen, obtaining all seats on the touch screen
The change amount signal of punctuate, wherein the change amount signal of coordinate points refers to when current touch object touches the touch screen at this
When the semaphore and current touch object that coordinate points generate do not touch the touch screen between the semaphore that the coordinate points generate
Difference;According to the change amount signal of coordinate points all on the touch screen, obtains and believe in all coordinate points on the touch screen
The coordinate points that number variable quantity is not zero;According to the coordinate points that the change amount signal is not zero, the current touch object is generated
Characteristic pattern.
Optionally, the processor 801 is specifically used for:
The blank image for generating pre-set dimension, marks the seat that the change amount signal is not zero in the blank image
Punctuate, the image after label are the characteristic pattern of the current touch object.
Optionally, the processor 801 is also used to:
Obtain the regularity of distribution for the coordinate points that the change amount signal is not zero;
Whether the regularity of distribution for judging the coordinate points that the change amount signal is not zero is the default regularity of distribution;
If the regularity of distribution for the coordinate points that the change amount signal is not zero is the default regularity of distribution, it is determined that described current
Touching object is default object.
The processor 801 is specifically used for:
If the current touch object is that default object is generated according to the coordinate points that the change amount signal is not zero
The characteristic pattern of the current touch object.
Optionally, the processor 801 is also used to:
Show pending batch file;
The characteristic pattern of the current touch object is matched with standard pattern, if the spy of the current touch object
Sign pattern matches with the standard pattern, it is determined that the copending document approvals pass through.
Optionally, after determining that the copending document approvals pass through, the processor 801 is also used to:
File signature is carried out to the file that examination & approval pass through.
Optionally, the standard pattern is stored in the flash memory of the touch screen.
Optionally, before showing pending batch file, the processor 801 is also used to:
Start default application program, and opens the pending batch file in the default application program.
It should be appreciated that in the embodiment of the present application, the processor 801 can be central processing unit (Central
Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital
Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit,
ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic
Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at
Reason device is also possible to any conventional processor etc..
Input equipment 802 may include that Trackpad, fingerprint adopt sensor (for acquiring the finger print information and fingerprint of user
Directional information), microphone, data receiver interface etc..Output equipment 803 may include display (LCD etc.), loudspeaker, data
Transmission interface etc..
The memory 804 may include read-only memory and random access memory, and to processor 801 provide instruction and
Data.The a part of of memory 804 can also include nonvolatile RAM.For example, memory 804 can also be deposited
Store up the information of device type.
In the specific implementation, processor 801, input equipment 802 described in the embodiment of the present application, 803 and of output equipment
Implementation described in the embodiment of method for generating pattern provided by the embodiments of the present application can be performed in memory 804, can also
Implementation described in pattern generating apparatus described in embodiment three is executed, details are not described herein.
Fig. 9 is the schematic diagram for the mobile terminal that the embodiment of the present application six provides.As shown in figure 9, the mobile end of the embodiment
End 9 includes: processor 90, memory 91 and is stored in the meter that can be run in the memory 91 and on the processor 90
Calculation machine program 92.The processor 90 is realized when executing the computer program 92 in above-mentioned each method for generating pattern embodiment
The step of, such as step S101 to S103 shown in FIG. 1.Alternatively, reality when the processor 90 executes the computer program 92
The function of each module/unit in existing above-mentioned each Installation practice, such as the function of module 70 to 79 shown in Fig. 7.
Illustratively, the computer program 92 can be divided into one or more module/units, it is one or
Multiple module/units are stored in the memory 91, and are executed by the processor 90, to complete the application.Described one
A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, which is used for
Implementation procedure of the computer program 92 in the mobile terminal 9 is described.For example, the computer program 92 can be divided
It is cut into semaphore and obtains module, coordinate points acquisition module, pattern gen-eration module, rule acquisition module, regular judgment module, object
Determining module, file display module, examination & approval are by module, signature blocks and application launch module, and each module concrete function is such as
Under:
Semaphore obtains module, owns on the touch screen for obtaining when detecting the touch operation to touch screen
The change amount signal of coordinate points, wherein the change amount signal of coordinate points refer to current touch object touch the touch screen when
The semaphore generated when the semaphore and current touch object that the coordinate points generate do not touch the touch screen in the coordinate points it
Between difference;
Coordinate points obtain module and obtain the touching for the change amount signal according to coordinate points all on the touch screen
Touch the coordinate points for shielding that change amount signal is not zero in upper all coordinate points;
Pattern gen-eration module, the coordinate points for being not zero according to the change amount signal generate the current touch object
The characteristic pattern of body.
Optionally, the pattern gen-eration module is specifically used for:
The blank image for generating pre-set dimension, marks the seat that the change amount signal is not zero in the blank image
Punctuate, the image after label are the characteristic pattern of the current touch object.
Optionally, rule obtains module, for obtaining the regularity of distribution for the coordinate points that the change amount signal is not zero;
Regular judgment module, for judging whether the regularity of distribution of coordinate points that the change amount signal is not zero is default
The regularity of distribution;
Object determining module, if the regularity of distribution for the coordinate points being not zero for the change amount signal is default distribution rule
Rule, it is determined that the current touch object is default object;
Correspondingly, the pattern gen-eration module is specifically used for:
If the current touch object is that default object is generated according to the coordinate points that the change amount signal is not zero
The characteristic pattern of the current touch object.
Optionally, file display module, for showing pending batch file;
Examination & approval are by module, for matching the characteristic pattern of the current touch object with standard pattern, if institute
The characteristic pattern and the standard pattern for stating current touch object match, it is determined that the copending document approvals pass through.
Optionally, signature blocks, the file for passing through to examination & approval carry out file signature.
Optionally, the standard pattern is stored in the flash memory of the touch screen.
Optionally, application launch module opens institute for starting default application program, and in the default application program
State pending batch file.
The mobile terminal 9 can be the calculating such as desktop PC, notebook, palm PC and cloud server and set
It is standby.The mobile terminal may include, but be not limited only to, processor 90, memory 91.It will be understood by those skilled in the art that Fig. 9
The only example of mobile terminal 9 does not constitute the restriction to mobile terminal 9, may include than illustrating more or fewer portions
Part perhaps combines certain components or different components, such as the mobile terminal can also include input-output equipment, net
Network access device, bus etc..
Alleged processor 90 can be central processing unit CPU, can also be other general processors, Digital Signal Processing
Device DSP, application-specific integrated circuit ASIC, ready-made programmable gate array FPGA or other programmable logic device, discrete gate or
Transistor logic, discrete hardware components etc..General processor can be microprocessor or the processor is also possible to appoint
What conventional processor etc..
The memory 91 can be the internal storage unit of the mobile terminal 9, such as the hard disk or interior of mobile terminal 9
It deposits.The memory 91 is also possible to the External memory equipment of the mobile terminal 9, such as be equipped on the mobile terminal 9
Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card dodge
Deposit card (Flash Card) etc..Further, the memory 91 can also both include the storage inside list of the mobile terminal 9
Member also includes External memory equipment.The memory 91 is for storing needed for the computer program and the mobile terminal
Other programs and data.The memory 91 can be also used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function
Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different
Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing
The all or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, can also
To be that each unit physically exists alone, can also be integrated in one unit with two or more units, it is above-mentioned integrated
Unit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function list
Member, the specific name of module are also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Above system
The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment
The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
Scope of the present application.
In embodiment provided herein, it should be understood that disclosed device/mobile terminal and method, it can be with
It realizes by another way.For example, device described above/mobile terminal embodiment is only schematical, for example, institute
The division of module or unit is stated, only a kind of logical function partition, there may be another division manner in actual implementation, such as
Multiple units or components can be combined or can be integrated into another system, or some features can be ignored or not executed.Separately
A bit, shown or discussed mutual coupling or direct-coupling or communication connection can be through some interfaces, device
Or the INDIRECT COUPLING or communication connection of unit, it can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or
In use, can store in a computer readable storage medium.Based on this understanding, the application realizes above-mentioned implementation
All or part of the process in example method, can also instruct relevant hardware to complete, the meter by computer program
Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on
The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation
Code can be source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium
It may include: any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic that can carry the computer program code
Dish, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM,
Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described
The content that computer-readable medium includes can carry out increasing appropriate according to the requirement made laws in jurisdiction with patent practice
Subtract, such as does not include electric carrier signal and electricity according to legislation and patent practice, computer-readable medium in certain jurisdictions
Believe signal.
Embodiment described above is only to illustrate the technical solution of the application, rather than its limitations;Although referring to aforementioned reality
Example is applied the application is described in detail, those skilled in the art should understand that: it still can be to aforementioned each
Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified
Or replacement, the spirit and scope of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution should all
Comprising within the scope of protection of this application.
Claims (10)
1. a kind of method for generating pattern, which is characterized in that the method for generating pattern includes:
When detecting the touch operation to touch screen, the change amount signal of all coordinate points on the touch screen is obtained, wherein
The change amount signal of coordinate points refers to the semaphore generated when current touch object touches the touch screen in the coordinate points and institute
State difference when current touch object does not touch the touch screen between the semaphore that the coordinate points generate;
According to the change amount signal of coordinate points all on the touch screen, signal change in all coordinate points on the touch screen is obtained
The coordinate points that change amount is not zero;
According to the coordinate points that the change amount signal is not zero, the characteristic pattern of the current touch object is generated.
2. method for generating pattern as described in claim 1, which is characterized in that described to be not zero according to the change amount signal
Coordinate points, the characteristic pattern for generating the current touch object include:
The blank image for generating pre-set dimension, marks the coordinate that the change amount signal is not zero in the blank image
Point, the image after label are the characteristic pattern of the current touch object.
3. method for generating pattern as described in claim 1, which is characterized in that on obtaining the touch screen in all coordinate points
After the coordinate points that change amount signal is not zero, further includes:
Obtain the regularity of distribution for the coordinate points that the change amount signal is not zero;
Whether the regularity of distribution for judging the coordinate points that the change amount signal is not zero is the default regularity of distribution;
If the regularity of distribution for the coordinate points that the change amount signal is not zero is the default regularity of distribution, it is determined that the current touch
Object is default object;
Correspondingly, generating the characteristic pattern packet of the current touch object according to the coordinate points that the change amount signal is not zero
It includes:
If the current touch object is default object, according to the coordinate points that the change amount signal is not zero, described in generation
The characteristic pattern of current touch object.
4. method for generating pattern as described in claim 1, which is characterized in that detect the touch operation to touch screen it
Before, further includes:
Show pending batch file;
After the characteristic pattern for generating the current touch object, further includes:
The characteristic pattern of the current touch object is matched with standard pattern, if the characteristic pattern of the current touch object
Case matches with the standard pattern, it is determined that the copending document approvals pass through.
5. method for generating pattern as claimed in claim 4, which is characterized in that determining that the copending document approvals pass through it
Afterwards, further includes:
File signature is carried out to the file that examination & approval pass through.
6. method for generating pattern as claimed in claim 4, which is characterized in that before showing pending batch file, further includes:
Start default application program, and opens the pending batch file in the default application program.
7. method for generating pattern as claimed in claim 4, which is characterized in that the standard pattern is stored in the touch screen
In flash memory.
8. a kind of pattern generating apparatus, which is characterized in that the pattern generating apparatus includes:
Semaphore obtains module, for when detecting the touch operation to touch screen, obtaining all coordinates on the touch screen
The change amount signal of point, wherein the change amount signal of coordinate points refers to when current touch object touches the touch screen in the seat
The semaphore generated when the semaphore and the current touch object that punctuate generates do not touch the touch screen in the coordinate points it
Between difference;
Coordinate points obtain module and obtain the touch screen for the change amount signal according to coordinate points all on the touch screen
The coordinate points that change amount signal is not zero in upper all coordinate points;
Pattern gen-eration module, the coordinate points for being not zero according to the change amount signal generate the current touch object
Characteristic pattern.
9. a kind of mobile terminal, including memory, processor and storage are in the memory and can be on the processor
The computer program of operation, which is characterized in that the processor realizes such as claim 1 to 7 when executing the computer program
The step of any one method for generating pattern.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists
In the step of realization method for generating pattern as described in any one of claim 1 to 7 when the computer program is executed by processor
Suddenly.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910146835.0A CN109902473B (en) | 2019-02-27 | 2019-02-27 | Pattern generation method, pattern generation device and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910146835.0A CN109902473B (en) | 2019-02-27 | 2019-02-27 | Pattern generation method, pattern generation device and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109902473A true CN109902473A (en) | 2019-06-18 |
CN109902473B CN109902473B (en) | 2021-09-07 |
Family
ID=66945723
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910146835.0A Active CN109902473B (en) | 2019-02-27 | 2019-02-27 | Pattern generation method, pattern generation device and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109902473B (en) |
Citations (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103902124A (en) * | 2014-03-11 | 2014-07-02 | 广州中国科学院先进技术研究所 | Three-dimensional holographic interaction system based on track recognition and control method thereof |
CN104517049A (en) * | 2014-12-09 | 2015-04-15 | 深圳市金立通信设备有限公司 | Terminal unlocking method |
CN105447447A (en) * | 2015-11-11 | 2016-03-30 | 广东欧珀移动通信有限公司 | Fingerprint identification method and fingerprint identification system of terminal |
CN105931009A (en) * | 2015-02-27 | 2016-09-07 | 京瓷办公信息系统株式会社 | Approval System And Approval Method |
KR20160149480A (en) * | 2015-06-18 | 2016-12-28 | 연세대학교 산학협력단 | Apparatus and Method of User Authentication Using Pressure Sensor on Device |
CN106547404A (en) * | 2016-11-03 | 2017-03-29 | 北京京东尚科信息技术有限公司 | Data logging system and method, information processor and method |
CN106681537A (en) * | 2016-10-24 | 2017-05-17 | 深圳市芯智科技有限公司 | Capacitance type trackpoint mouse and touch coordinate acquisition method thereof |
CN107015756A (en) * | 2017-03-31 | 2017-08-04 | 努比亚技术有限公司 | Mobile terminal and its method for realizing full frame fingerprint interaction |
CN107037901A (en) * | 2016-02-04 | 2017-08-11 | 中兴通讯股份有限公司 | A kind of image generating method, terminal and graphic user interface |
CN107194697A (en) * | 2013-09-18 | 2017-09-22 | 腾讯科技(深圳)有限公司 | The method and system authorized are provided by mobile terminal |
CN107885450A (en) * | 2017-11-09 | 2018-04-06 | 维沃移动通信有限公司 | Realize the method and mobile terminal of mouse action |
CN107944411A (en) * | 2017-12-04 | 2018-04-20 | 信利光电股份有限公司 | Fingerprint image sensor and fingerprint recognition system |
CN107967593A (en) * | 2017-10-17 | 2018-04-27 | 珠海思格特智能系统有限公司 | Intelligent seal system and method |
CN107992803A (en) * | 2017-11-10 | 2018-05-04 | 深圳市金立通信设备有限公司 | A kind of verification method of electronic signature, terminal device and computer-readable medium |
US20180218404A1 (en) * | 2011-10-19 | 2018-08-02 | Firstface Co., Ltd. | Activating display and performing additional function in mobile terminal with one-time user input |
CN108804016A (en) * | 2018-06-29 | 2018-11-13 | 江苏特思达电子科技股份有限公司 | Object identification method based on touch screen, device and electronic equipment |
CN109325742A (en) * | 2018-09-26 | 2019-02-12 | 平安普惠企业管理有限公司 | Business approval method, apparatus, computer equipment and storage medium |
-
2019
- 2019-02-27 CN CN201910146835.0A patent/CN109902473B/en active Active
Patent Citations (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180218404A1 (en) * | 2011-10-19 | 2018-08-02 | Firstface Co., Ltd. | Activating display and performing additional function in mobile terminal with one-time user input |
CN107194697A (en) * | 2013-09-18 | 2017-09-22 | 腾讯科技(深圳)有限公司 | The method and system authorized are provided by mobile terminal |
CN103902124A (en) * | 2014-03-11 | 2014-07-02 | 广州中国科学院先进技术研究所 | Three-dimensional holographic interaction system based on track recognition and control method thereof |
CN104517049A (en) * | 2014-12-09 | 2015-04-15 | 深圳市金立通信设备有限公司 | Terminal unlocking method |
CN105931009A (en) * | 2015-02-27 | 2016-09-07 | 京瓷办公信息系统株式会社 | Approval System And Approval Method |
KR20160149480A (en) * | 2015-06-18 | 2016-12-28 | 연세대학교 산학협력단 | Apparatus and Method of User Authentication Using Pressure Sensor on Device |
CN105447447A (en) * | 2015-11-11 | 2016-03-30 | 广东欧珀移动通信有限公司 | Fingerprint identification method and fingerprint identification system of terminal |
CN107037901A (en) * | 2016-02-04 | 2017-08-11 | 中兴通讯股份有限公司 | A kind of image generating method, terminal and graphic user interface |
CN106681537A (en) * | 2016-10-24 | 2017-05-17 | 深圳市芯智科技有限公司 | Capacitance type trackpoint mouse and touch coordinate acquisition method thereof |
CN106547404A (en) * | 2016-11-03 | 2017-03-29 | 北京京东尚科信息技术有限公司 | Data logging system and method, information processor and method |
CN107015756A (en) * | 2017-03-31 | 2017-08-04 | 努比亚技术有限公司 | Mobile terminal and its method for realizing full frame fingerprint interaction |
CN107967593A (en) * | 2017-10-17 | 2018-04-27 | 珠海思格特智能系统有限公司 | Intelligent seal system and method |
CN107885450A (en) * | 2017-11-09 | 2018-04-06 | 维沃移动通信有限公司 | Realize the method and mobile terminal of mouse action |
CN107992803A (en) * | 2017-11-10 | 2018-05-04 | 深圳市金立通信设备有限公司 | A kind of verification method of electronic signature, terminal device and computer-readable medium |
CN107944411A (en) * | 2017-12-04 | 2018-04-20 | 信利光电股份有限公司 | Fingerprint image sensor and fingerprint recognition system |
CN108804016A (en) * | 2018-06-29 | 2018-11-13 | 江苏特思达电子科技股份有限公司 | Object identification method based on touch screen, device and electronic equipment |
CN109325742A (en) * | 2018-09-26 | 2019-02-12 | 平安普惠企业管理有限公司 | Business approval method, apparatus, computer equipment and storage medium |
Non-Patent Citations (1)
Title |
---|
胡卉卉: "基于信息融合的生物特征手写签名身份认证", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Also Published As
Publication number | Publication date |
---|---|
CN109902473B (en) | 2021-09-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10671280B2 (en) | User input apparatus, computer connected to user input apparatus, and control method for computer connected to user input apparatus, and storage medium | |
US10248312B2 (en) | Glow touch feedback for virtual input devices | |
US10996834B2 (en) | Touchscreen apparatus user interface processing method and touchscreen apparatus | |
CN104335561B (en) | The communication that bio-identification is initiated | |
US9201539B2 (en) | Supplementing a touch input mechanism with fingerprint detection | |
CN107992803A (en) | A kind of verification method of electronic signature, terminal device and computer-readable medium | |
CN109445600A (en) | Tactile feedback method, device, terminal and computer readable storage medium | |
US20080309624A1 (en) | Mode sensitive processing of touch data | |
CN108400868B (en) | Seed key storage method and device and mobile terminal | |
CN104699306A (en) | Touch screen and display equipment | |
CN108038112A (en) | Document handling method, mobile terminal and computer-readable recording medium | |
CN107451244A (en) | File naming method, mobile terminal and computer-readable recording medium | |
CN107368735A (en) | One kind applies installation method, mobile terminal and computer-readable recording medium | |
CN107506494B (en) | Document handling method, mobile terminal and computer readable storage medium | |
CN109359582A (en) | Information search method, information search device and mobile terminal | |
CN108520186A (en) | Record screen method, mobile terminal and computer readable storage medium | |
CN109255221A (en) | Solve lock control method and electronic device | |
CN107301236A (en) | Application searches method, mobile terminal, server and computer-readable recording medium | |
CN107291367A (en) | Use method and device of eraser | |
CN107783932A (en) | Information processing method, mobile terminal and the computer-readable recording medium of calculator | |
CN107330058A (en) | Application searches method, mobile terminal and computer-readable recording medium | |
CN109902473A (en) | Method for generating pattern, pattern generating apparatus and mobile terminal | |
CN109062476A (en) | Menu treating method, mobile terminal and the computer readable storage medium of application | |
CN106778296A (en) | A kind of access method for accessing object, device and terminal | |
CN106484295A (en) | A kind of password method for retrieving and terminal |
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 |