CN107861848A - Gesture password method of testing, device, readable storage medium storing program for executing and electronic equipment - Google Patents

Gesture password method of testing, device, readable storage medium storing program for executing and electronic equipment Download PDF

Info

Publication number
CN107861848A
CN107861848A CN201711125389.2A CN201711125389A CN107861848A CN 107861848 A CN107861848 A CN 107861848A CN 201711125389 A CN201711125389 A CN 201711125389A CN 107861848 A CN107861848 A CN 107861848A
Authority
CN
China
Prior art keywords
gesture password
tested
drawing area
gesture
coordinate
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
CN201711125389.2A
Other languages
Chinese (zh)
Other versions
CN107861848B (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.)
Neusoft Corp
Original Assignee
Neusoft Corp
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 Neusoft Corp filed Critical Neusoft Corp
Priority to CN201711125389.2A priority Critical patent/CN107861848B/en
Publication of CN107861848A publication Critical patent/CN107861848A/en
Application granted granted Critical
Publication of CN107861848B publication Critical patent/CN107861848B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/2221Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test input/output devices or peripheral units
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

This disclosure relates to a kind of gesture password method of testing, device, readable storage medium storing program for executing and electronic equipment.This method includes:When receiving the gesture password to be tested of user's input and test triggering command, the gesture password for obtaining terminal to be tested draws the configuration information at interface;The configuration information at interface is drawn according to default position indication information and gesture password, determines the coordinate of each operating point in the gesture password drawing area of terminal to be tested;Test instruction is sent to terminal to be tested, test instruction is used to control coordinate of the terminal to be tested according to each operating point in gesture password drawing area, and the input process of gesture password to be tested is played back in terminal to be tested.Thus, the success rate of gesture password input can be lifted, is inputted so as to realize that the striding equipment of gesture password is stable.

Description

Gesture password method of testing, device, readable storage medium storing program for executing and electronic equipment
Technical field
This disclosure relates to electronic technology field, in particular it relates to a kind of gesture password method of testing, device, readable storage Medium and electronic equipment.
Background technology
In Mobile solution, the Mobile solution of especially financial class, logged in for the ease of user, corresponding gesture can be set Password control.In order to lift security, special safe handling can be carried out to the gesture password control mostly, so, user is defeated Each element in the gesture password entered is generally difficult to identify, this undoubtedly adds Mobile solution performance in terms of gesture password input Difficulty of test.
At this stage, coordinate is mainly based upon to complete performance test of the Mobile solution in terms of gesture password input, i.e. first Gesture password to be tested is first recorded based on coordinate on first terminal, this is then played back in terminal to be tested according to the coordinate and treated Test the input process of gesture password.But the configuration information such as first terminal and the screen size of terminal to be tested might have Institute is different, in that way it is possible to cause the sliding trace of gesture password that is actually entered in terminal to be tested and gesture to be tested close The corresponding sliding trace existence position deviation of code, it is difficult to ensure the stability of striding equipment gesture password input.
In addition, when the operation points included in gesture password to be tested are more than 3, in the side that user passes through slip For formula when first terminal inputs gesture password to be tested, due to being discontinuity between repeatedly sliding, first terminal is difficult to catch To whole sliding process, in that way it is possible to cause the sliding trace of gesture password that is actually entered in terminal to be tested with it is to be measured Relatively large deviation be present in the corresponding sliding trace of examination gesture password.
The content of the invention
In order to solve problem present in correlation technique, the disclosure provides a kind of gesture password method of testing, device, readable Storage medium and electronic equipment.
To achieve these goals, the disclosure provides a kind of gesture password method of testing, including:
When receiving the gesture password to be tested of user's input and test triggering command, terminal to be tested is obtained Gesture password draws the configuration information at interface;
The configuration information at interface is drawn according to default position indication information and the gesture password, is determined described to be tested The coordinate of each operating point in the gesture password drawing area of terminal, wherein, the gesture password drawing area is located at the gesture Password is drawn on interface, and the position indication information is used to indicate the gesture password drawing area relative to the gesture password Draw the position at interface;
Test instruction is sent to the terminal to be tested, the test instruction is used to control the terminal to be tested according to institute The coordinate of each operating point in gesture password drawing area is stated, the gesture password to be tested is played back in the terminal to be tested Input process.
Alternatively, the gesture password draws the configuration information at interface including presetting ginseng on gesture password drafting interface The coordinate of examination point, the gesture password draw the scope at interface;
The configuration information that interface is drawn according to default position indication information and the gesture password, it is determined that described treat The coordinate of each operating point in the gesture password drawing area of terminal is tested, including:
The scope at interface is drawn according to the position indication information and the gesture password, determines that the gesture password is drawn The scope in region;
The scope and position instruction letter at interface are drawn according to the coordinate of the preset reference point, the gesture password Breath, it is determined that the coordinate of mapping reference point, wherein, the mapping reference point is that to be mapped to the gesture close for the preset reference point The corresponding reference point formed on code drawing area;
According to the coordinate of the mapping reference point, the scope of the gesture password drawing area and default operating point cloth Office's strategy, determine the coordinate of each operating point in the gesture password drawing area.
Alternatively, it is described according to the mapping coordinate of reference point, the scope of the gesture password drawing area and pre- If operating point placement strategy, determine the coordinate of each operating point in the gesture password drawing area, including:
According to the scope of the gesture password drawing area and the operating point placement strategy, determine that the gesture password is painted The height and width of n cell in region processed, wherein, the n cell is drawn according to the operating point placement strategy Point, n be the terminal to be tested gesture password drawing area in operating point quantity;
According to the height of each unit lattice in the mapping coordinate of reference point, the gesture password drawing area and width, And the operating point placement strategy, each unit center of a lattice point coordinates in the gesture password drawing area is determined respectively, and The each unit center of a lattice point coordinates is defined as to the coordinate of corresponding operating point in the gesture password drawing area.
Alternatively, methods described also includes:
Obtain in the input process that the gesture password to be tested is played back in the terminal to be tested described to be tested The actual sliding trace of the gesture password inputted in terminal;
It is defeated when the actual sliding trace expected sliding trace corresponding with the gesture password to be tested is completely the same Go out and be used to characterize successful first prompting message of gesture password input test;
When the actual sliding trace expected sliding trace corresponding with the gesture password to be tested is not quite identical, Export the second prompting message for characterizing gesture password input test failure.
The disclosure also provides a kind of gesture password test device, including:
First acquisition module, for receive user input gesture password to be tested and test triggering command when, The gesture password for obtaining terminal to be tested draws the configuration information at interface;
Determining module, for the gesture got according to default position indication information and first acquisition module Password draws the configuration information at interface, determines the coordinate of each operating point in the gesture password drawing area of the terminal to be tested, Wherein, the gesture password drawing area is located at the gesture password and drawn on interface, and the position indication information is used to indicate The gesture password drawing area draws the position at interface relative to the gesture password;
Sending module, for sending test instruction to the terminal to be tested, the test instruction is used to control described treat The coordinate of each operating point, is treated described in the gesture password drawing area that test terminal is determined according to the determining module The input process of the gesture password to be tested is played back in test terminal.
Alternatively, the gesture password draws the configuration information at interface including presetting ginseng on gesture password drafting interface The coordinate of examination point, the gesture password draw the scope at interface;
The determining module includes:
First determination sub-module, described in being got according to the position indication information and first acquisition module Gesture password draws the scope at interface, determines the scope of the gesture password drawing area;
Second determination sub-module, coordinate for the preset reference point that is got according to first acquisition module, The gesture password that first determination sub-module is determined draws the scope at interface and the position indication information, it is determined that reflecting The coordinate of reference point is penetrated, wherein, the mapping reference point is that the preset reference point is mapped to the gesture password drafting area The corresponding reference point formed on domain;
3rd determination sub-module, for the seat for the mapping reference point determined according to second determination sub-module The scope for the gesture password drawing area that mark, first determination sub-module are determined and default operating point layout plan Slightly, the coordinate of each operating point in the gesture password drawing area is determined.
Alternatively, the 3rd determination sub-module includes:
Range of cells determination sub-module, the gesture password for being determined according to first determination sub-module are painted The scope in region processed and the operating point placement strategy, determine in the gesture password drawing area height of n cell and Width, wherein, the n cell divides according to the operating point placement strategy, and n is the hand of the terminal to be tested The quantity of operating point in gesture password drawing area;
Point coordinates determination sub-module is operated, for the mapping reference point determined according to second determination sub-module Coordinate, the range of cells determination sub-module determine the height and width of each unit lattice in the gesture password drawing area Degree and the operating point placement strategy, determine each unit center of a lattice point coordinates in the gesture password drawing area respectively, And each unit center of a lattice point coordinates is defined as to the coordinate of corresponding operating point in the gesture password drawing area.
Alternatively, described device also includes:
Second acquisition module, the input of the gesture password to be tested is played back in the terminal to be tested for obtaining The actual sliding trace of the gesture password inputted in journey in the terminal to be tested;
First output module, for the actual sliding trace that is got when second acquisition module with it is described to be measured When expection sliding trace is completely the same corresponding to examination gesture password, export for characterizing gesture password input test successful first Prompting message;
Second output module, for the actual sliding trace that is got when second acquisition module with it is described to be measured Try expected sliding trace corresponding to gesture password it is not quite identical when, export for characterize gesture password input test failure the Two prompting messages.
The disclosure also provides a kind of computer-readable recording medium, is stored thereon with computer program, and the program is processed Device realizes the step of above-mentioned gesture password method of testing that the disclosure provides when performing.
The disclosure also provides a kind of electronic equipment, including:
The above computer readable storage medium storing program for executing that the disclosure provides;And
One or more processor, for performing the program in the computer-readable recording medium.
Pass through above-mentioned technical proposal, according to the gesture password of the terminal to be tested got draw interface configuration information, It is used to indicate position indication information of the gesture password drawing area relative to the position at gesture password drafting interface with default, The coordinate of each operating point in gesture password drawing area is determined, then according to the coordinate of each operating point, in terminal to be tested Play back the input process of gesture password to be tested.So, the success rate of gesture password input can be lifted, so as to realize that gesture is close The striding equipment of code is stable to be inputted.Further, since in this kind of gesture password test process, it is not necessarily based on coordinate and records gesture to be tested Password, thus in the absence of sliding process be difficult to catch the problem of, and then improve test efficiency and gesture password input into Power.
Other feature and advantage of the disclosure will be described in detail in subsequent specific embodiment part.
Brief description of the drawings
Accompanying drawing is for providing further understanding of the disclosure, and a part for constitution instruction, with following tool Body embodiment is used to explain the disclosure together, but does not form the limitation to the disclosure.In the accompanying drawings:
Fig. 1 is a kind of schematic diagram of implementation environment according to an exemplary embodiment.
Fig. 2 is a kind of flow chart of gesture password method of testing according to an exemplary embodiment.
Fig. 3 is that a kind of gesture password of terminal to be tested according to an exemplary embodiment draws interface.
Fig. 4 is a kind of schematic diagram of the input mode of gesture password according to an exemplary embodiment.
Fig. 5 A are the coordinates of each operating point in a kind of gesture password drawing area according to an exemplary embodiment Determine the flow chart of method.
Fig. 5 B are the coordinates of each operating point in a kind of gesture password drawing area according to another exemplary embodiment Determination method flow chart.
Fig. 6 is a kind of flow chart of gesture password method of testing according to another exemplary embodiment.
Fig. 7 is a kind of block diagram of gesture password test device according to an exemplary embodiment.
Fig. 8 is a kind of block diagram of gesture password test device according to another exemplary embodiment.
Fig. 9 is a kind of block diagram of gesture password test device according to another exemplary embodiment.
Figure 10 is a kind of block diagram of gesture password test device according to another exemplary embodiment.
Figure 11 is the block diagram of a kind of electronic equipment according to an exemplary embodiment.
Embodiment
The embodiment of the disclosure is described in detail below in conjunction with accompanying drawing.It should be appreciated that this place is retouched The embodiment stated is merely to illustrate and explained the disclosure, is not limited to the disclosure.
Fig. 1 is a kind of schematic diagram of implementation environment according to an exemplary embodiment.As shown in figure 1, the implementation ring Border can include:Terminal 110 to be tested and test terminal 120.Wherein, can between the terminal 110 to be tested and test terminal 120 To be communicated such as via bluetooth, ZigBee-network, WiFi network, 2G networks, 3G network, 4G networks, data wire.Treat Test terminal 110 may, for example, be smart mobile phone, tablet personal computer, Intelligent worn device etc., and test terminal 120 may, for example, be pen Remember this computer, desktop computer etc..In Fig. 1 with terminal 110 to be tested be smart mobile phone, test terminal 120 be notebook computer To illustrate.
Fig. 2 is a kind of flow chart of gesture password method of testing according to an exemplary embodiment.As shown in Fig. 2 The gesture password method of testing may comprise steps of.
In step 201, when receiving the gesture password to be tested of user's input and test triggering command, obtain The gesture password of terminal to be tested draws the configuration information at interface.
In the disclosure, the gesture password method of testing can apply to test terminal, such as the test end shown in Fig. 1 End 120.The gesture password of the terminal to be tested, which draws interface, can include preset reference point on gesture password drafting interface Coordinate, gesture password draw the scope (that is, the height and width at gesture password drafting interface) at interface.Also, above-mentioned preset reference point Can be the arbitrfary point on gesture password drafting interface, it is preferable that the preset reference point can be that gesture password draws interface One of which in four summits.Illustratively, as shown in figure 3, the preset reference point is the upper left that gesture password draws interface 31 Angular vertex 34, gesture password draw a height of h at interface 311, a width of w1
When user needs the gesture password input performance to terminal to be tested to test, test can it is expected Gesture password to be tested is input to test terminal, and triggers test start button, and test terminal is receiving the gesture to be tested After password and test triggering command, the configuration request that gesture password drafting interface can be sent to terminal to be tested disappears Breath, after the request message is received, the configuration information that the gesture password of itself can be drawn to interface is sent terminal to be tested To test terminal, test terminal receives the configuration information that the gesture password draws interface.
Wherein, user can it is expected that the gesture password to be tested of test is input to one of in the following manner Test terminal:(1) gesture password to be tested can be input to test terminal by user by slide;(2) user can lead to Cross input one and gesture password to be tested is input to test terminal by the character string that multiple numerals form, that is, pass through more numbers The character string of word composition characterizes gesture password to be tested, for example, with character string " 1256 " come to be tested shown in phenogram 4 Sliding trace 41 corresponding to gesture password.
In step 202, the configuration information at interface is drawn according to default position indication information and gesture password, it is determined that treating Test the coordinate of each operating point in the gesture password drawing area of terminal.
In the disclosure, the gesture password drawing area is located at gesture password and drawn on interface, also, the position instruction is believed Breath can serve to indicate that the gesture password drawing area draws the position at interface relative to gesture password.As shown in figure 3, the gesture Password drawing area 32 be located at gesture password draw interface 31 in, illustratively, above-mentioned position indication information for (12%, 35%, 10%, 10%), as shown in figure 3, the position indication information (12%, 35%, 10%, 10%) represents gesture password drawing area The spacing that 32 upper side frame and gesture password is drawn between the upper side frame at interface 31 draws the height at interface 31 for the gesture password h112%, i.e. 12%h1, the lower frame and gesture password of gesture password drawing area 32 are drawn between the lower frame at interface 31 Spacing is the height h that the gesture password draws interface 31135%, i.e. 35%h1, the left frame of gesture password drawing area 32 with The spacing that gesture password is drawn between the left frame at interface 31 draws the width w at interface 31 for the gesture password110%, i.e., 10%w1, the spacing that the left frame and gesture password of gesture password drawing area 32 are drawn between the left frame at interface 31 is the hand Gesture password draws the width w at interface 31110%, i.e. 10%w1
In addition, it is necessary to illustrate yes, above-mentioned default position indication information can be tester's setting or Acquiescence, for example, (0%, 30%, 0%, 0%).
In one embodiment, as shown in Figure 5A, test terminal can determine terminal to be tested in the following manner Gesture password drawing area in each operating point coordinate.
In step 2021, the scope at interface is drawn according to position indication information and gesture password, determines that gesture password is painted The scope in region processed.
In the disclosure, the scope of the gesture password drawing area can be the height and width of the gesture password drawing area.
Illustratively, test terminal can determine the scope of gesture password drawing area by below equation (1):
Wherein, h2、w2Height, the width of respectively described gesture password drawing area;h1、w1Respectively described gesture password is painted Height, the width at interface processed;(u, d, l, r) is the position indication information, and u is used for the top for indicating the gesture password drawing area Frame and gesture password draw the pitch information between the upper side frame at interface, and d is used to indicate under the gesture password drawing area Frame and gesture password draw the pitch information between the lower frame at interface, and l is used to indicate the gesture password drawing area Left frame and gesture password draw the pitch information between the left frame at interface;R is used to indicate the gesture password drawing area Left frame and gesture password draw interface left frame between pitch information, and u, d, l, r value [0%, 100%) in the range of.
In step 2022, the scope at interface is drawn according to the coordinate of preset reference point, gesture password and position instruction is believed Breath, it is determined that the coordinate of mapping reference point.
In the disclosure, the mapping reference point is mapped to institute's shape on gesture password drawing area for above-mentioned preset reference point Into corresponding reference point.As shown in figure 3, the preset reference point is the summit 34 that gesture password draws the upper left corner of interface 31, this is pre- If the corresponding reference point that reference point 34 is mapped on gesture password drawing area 32 is the upper left corner of gesture password drawing area 32 Summit 35.
Illustratively, the coordinate of the mapping reference point 35 can be determined by below equation (2):
Wherein, (x2,y2) it is the coordinate for mapping reference point 35;(x1,y1) be preset reference point 34 coordinate.
In addition, it is necessary to illustrate yes, above-mentioned preset reference point can be tester's setting or acquiescence, For example, the gesture password shown in Fig. 3 draws the summit 34 in the upper left corner on interface 31, it is not especially limited in the disclosure.
In step 2023, according to the coordinate of mapping reference point, the scope of gesture password drawing area and default behaviour Make point placement strategy, determine the coordinate of each operating point in gesture password drawing area.
In the disclosure, the default operating point placement strategy can serve to indicate that operating point in gesture password drawing area Number and each operating point position.Illustratively, as shown in Figure 3, the default operating point placement strategy is as follows:Gesture is close Code drawing area 32 includes 9 operating points (331、332、333、334、335、336、337、338、339), and 9 operating points Arranged according to the form of nine grids.
Specifically, testing terminal can determine that gesture password is painted by the step 20231 shown in Fig. 5 B and 20232 The flow chart of the determination method of the coordinate of each operating point in region processed.As shown in Figure 5 B, above-mentioned steps 2023 can include following Step.
In step 20231, according to the scope of gesture password drawing area and operating point placement strategy, gesture password is determined The height and width of n cell in drawing area.
In the disclosure, the n cell can divide according to above-mentioned default operating point placement strategy, also, n For the quantity of operating point in the gesture password drawing area of terminal to be tested.
Illustratively, as shown in figure 3, gesture password drawing area is divided into 9 cells, also, 9 unit lattices Into nine grids, so, according to the height h of gesture password drawing area 322, width w2And 9 operating point placement strategies, The height that above-mentioned 9 cells can be determined isWidth is
In step 20232, according to the height of each unit lattice in the mapping coordinate of reference point, gesture password drawing area and Width and operating point placement strategy, each unit center of a lattice point coordinates in gesture password drawing area is determined respectively, and should Each unit center of a lattice point coordinates is defined as the coordinate of corresponding operating point in gesture password drawing area.
In the disclosure, terminal is tested after the height of each unit in determining gesture password and width, can be combined upper The coordinate for the mapping reference point determined in step 202 and above-mentioned default operating point placement strategy are stated, to determine gesture password Each unit center of a lattice point coordinates in drawing area, and using each unit center of a lattice point coordinates as gesture password drawing area The coordinate of middle corresponding operating point.
Illustratively, as shown in figure 3, according to the coordinate (x for mapping reference point 352,y2), it is each in gesture password drawing area 32 The height of cellAnd widthAnd above-mentioned operating point placement strategy, it may be determined that go out operating point 331Coordinate beI.e.Operating point 332Coordinate beOperating point 333Coordinate beOperation Point 334Coordinate beOperating point 335Coordinate beOperating point 336Coordinate beThe 33 of operating point7Coordinate isOperation Point 338Coordinate beOperating point 339Coordinate be
In step 203, test instruction is sent to terminal to be tested.
In the disclosure, test instruction can be used for controlling terminal to be tested to draw area according to the gesture password determined The coordinate of each operating point in domain, the input process of the gesture password to be tested is played back in terminal to be tested.
After test terminal determines the coordinate of each operating point in gesture password drawing area, by terminal to be tested playback The input process of gesture password to be tested is stated, so as to which the gesture password to be tested is input in gesture password drawing area.Tool For body, terminal to be tested can pass through cunning according to the sequencing of each numerical character in gesture password to be tested, or user The sequencing for the operating point that slide passes through, draws in the gesture password of itself when dynamic operation inputs gesture password to be tested Simulation slips over the corresponding operating point at the coordinate position of each operating point corresponding with the gesture password to be tested successively in region Operation, to complete the playback of the input process of the gesture password to be tested, and drawn in the gesture password of the terminal to be tested A continuous sliding trace is formed in region.
Pass through above-mentioned technical proposal, according to the gesture password of the terminal to be tested got draw interface configuration information, It is used to indicate position indication information of the gesture password drawing area relative to the position at gesture password drafting interface with default, The coordinate of each operating point in gesture password drawing area is determined, then according to the coordinate of each operating point, in terminal to be tested Play back the input process of gesture password to be tested.So, the success rate of gesture password input can be lifted, so as to realize that gesture is close The striding equipment of code is stable to be inputted.Further, since in this kind of gesture password test process, it is not necessarily based on coordinate and records gesture to be tested Password, thus in the absence of sliding process be difficult to catch the problem of, and then improve test efficiency and gesture password input into Power.
Fig. 6 is a kind of flow chart of gesture password method of testing according to another exemplary embodiment.Such as Fig. 6 institutes Show, the above method can also comprise the following steps.
In step 204, obtain in the input process that gesture password to be tested is played back in terminal to be tested to be tested The actual sliding trace of the gesture password inputted in terminal.
In step 205, when actual sliding trace expected sliding trace corresponding with gesture password to be tested is completely the same When, export for characterizing successful first prompting message of gesture password input test.
In step 206, when actual sliding trace expected sliding trace incomplete one corresponding with gesture password to be tested During cause, the second prompting message for characterizing gesture password input test failure is exported.
In the disclosure, the test result of gesture password input is quickly and easily known for the ease of tester, is being incited somebody to action After gesture password to be tested is input in the gesture password drawing area of terminal to be tested, terminal to be tested can will enter into this The actual sliding trace of gesture password in gesture password drawing area sends to test terminal, test terminal and is receiving the reality After the sliding trace of border, can by it with the gesture password to be tested received before corresponding to expected sliding trace be compared, When the two is completely the same, above-mentioned steps 205 are performed, that is, are exported for characterizing successful first prompting of gesture password input test Message, when the two is not quite identical, above-mentioned steps 206 are performed, that is, exported for characterizing gesture password input test failure Second prompting message.Illustratively, test terminal can export above-mentioned first prompting message in a manner of pop-up and the second prompting disappears Breath, first prompting can also be sent to the intelligent terminal (for example, smart mobile phone, Intelligent worn device etc.) communicated with Message and the second prompting message.
Fig. 7 is a kind of block diagram of gesture password test device according to an exemplary embodiment.As shown in fig. 7, should Device 700 can include:First acquisition module 701, for receiving the gesture password to be tested of user's input and test During triggering command, the gesture password for obtaining terminal to be tested draws the configuration information at interface;Determining module 702, for according to pre- If the gesture password that gets of position indication information and first acquisition module 701 draw the configuration information at interface, The coordinate of each operating point in the gesture password drawing area of the terminal to be tested is determined, wherein, the gesture password draws area Domain is located at the gesture password and drawn on interface, and the position indication information is used to indicate that the gesture password drawing area is relative The position at interface is drawn in the gesture password;Sending module 703, for sending test instruction, institute to the terminal to be tested State the gesture password that test instruction is used to control the terminal to be tested to determine according to the determining module 702 and draw area The coordinate of each operating point in domain, the input process of the gesture password to be tested is played back in the terminal to be tested.
Alternatively, the gesture password draws the configuration information at interface including presetting ginseng on gesture password drafting interface The coordinate of examination point, the gesture password draw the scope at interface;As shown in figure 8, the determining module 702 can include:First Determination sub-module 7021, for the gesture got according to the position indication information and first acquisition module 701 Password draws the scope at interface, determines the scope of the gesture password drawing area;Second determination sub-module 7022, for basis The coordinate for the preset reference point that first acquisition module 701 is got, first determination sub-module 7021 are determined The gesture password draw interface scope and the position indication information, it is determined that mapping reference point coordinate, wherein, it is described Mapping reference point is mapped to the corresponding reference point formed on the gesture password drawing area by the preset reference point;The Three determination sub-modules 7023, coordinate for the mapping reference point determined according to second determination sub-module 7022, The scope for the gesture password drawing area that first determination sub-module 7021 is determined and default operating point layout Strategy, determine the coordinate of each operating point in the gesture password drawing area.
Alternatively, as shown in figure 9, the 3rd determination sub-module 7023 can include:Range of cells determination sub-module 70231, for the scope of the gesture password drawing area determined according to first determination sub-module 7021 and described Operating point placement strategy, the height and width of n cell in the gesture password drawing area are determined, wherein, described n is single First lattice divide according to the operating point placement strategy, and n is to be grasped in the gesture password drawing area of the terminal to be tested Make the quantity of point;Point coordinates determination sub-module 70232 is operated, for the institute determined according to second determination sub-module 7022 State the coordinate of mapping reference point, the range of cells determination sub-module 70231 is determined in the gesture password drawing area The height and width of each unit lattice and the operating point placement strategy, determine respectively each in the gesture password drawing area The center point coordinate of cell, and each unit center of a lattice point coordinates is defined as phase in the gesture password drawing area Answer the coordinate of operating point.
Figure 10 is a kind of block diagram of gesture password test device according to another exemplary embodiment.Such as Figure 10 institutes Show, said apparatus 700 can also include:Second acquisition module 704, treated for obtaining in the terminal to be tested described in playback The actual sliding trace of the gesture password inputted in the terminal to be tested is tested in the input process of gesture password;First is defeated Go out module 705, the actual sliding trace and the gesture to be tested for being got when second acquisition module 704 are close When expection sliding trace is completely the same corresponding to code, exports and disappear for characterizing successful first prompting of gesture password input test Breath;Second output module 706, the actual sliding trace for being got when second acquisition module 704 are treated with described When expection sliding trace is not quite identical corresponding to test gesture password, export for characterizing gesture password input test failure Second prompting message.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Figure 11 is the block diagram of a kind of electronic equipment 1100 according to an exemplary embodiment.As shown in figure 11, the electricity Sub- equipment 1100 can include:Processor 1101, memory 1102, multimedia groupware 1103, input/output (I/O) interface 1104, and communication component 1105.
Wherein, processor 1101 is used for the integrated operation for controlling the electronic equipment 1100, to complete above-mentioned gesture password All or part of step in method of testing.Memory 1102 is used to store various types of data to support in the electronic equipment 1100 operation, these data can for example include being used for any application program or method operated on the electronic equipment 1100 Instruction, and data that application program is related, such as contact data, the message of transmitting-receiving, picture, audio, video etc..Should Memory 1102 can be realized by any kind of volatibility or non-volatile memory device or combinations thereof, such as static state Random access memory (Static Random Access Memory, abbreviation SRAM), Electrically Erasable Read Only Memory (Electrically Erasable Programmable Read-Only Memory, abbreviation EEPROM), erasable programmable Read-only storage (Erasable Programmable Read-Only Memory, abbreviation EPROM), programmable read only memory (Programmable Read-Only Memory, abbreviation PROM), and read-only storage (Read-Only Memory, referred to as ROM), magnetic memory, flash memory, disk or CD.Multimedia groupware 1103 can include screen and audio-frequency assembly.Wherein Screen for example can be touch-screen, and audio-frequency assembly is used to export and/or input audio signal.For example, audio-frequency assembly can include One microphone, microphone are used to receive external audio signal.The audio signal received can be further stored in storage Device 1102 is sent by communication component 1105.Audio-frequency assembly also includes at least one loudspeaker, for exports audio signal.I/ O Interface 1104 provides interface between processor 1101 and other interface modules, and other above-mentioned interface modules can be keyboard, mouse Mark, button etc..These buttons can be virtual push button or entity button.Communication component 1105 be used for the electronic equipment 1100 with Wired or wireless communication is carried out between other equipment.Radio communication, such as Wi-Fi, bluetooth, near-field communication (Near Field Communication, abbreviation NFC), 2G, 3G or 4G, or one or more of combinations in them, therefore the corresponding communication Component 1105 can include:Wi-Fi module, bluetooth module, NFC module.
In one exemplary embodiment, electronic equipment 1100 can be by one or more application specific integrated circuits (Application Specific Integrated Circuit, abbreviation ASIC), digital signal processor (Digital Signal Processor, abbreviation DSP), digital signal processing appts (Digital Signal Processing Device, Abbreviation DSPD), PLD (Programmable Logic Device, abbreviation PLD), field programmable gate array (Field Programmable Gate Array, abbreviation FPGA), controller, microcontroller, microprocessor or other electronics member Part is realized, for performing above-mentioned gesture password method of testing.
In a further exemplary embodiment, a kind of computer-readable recording medium including programmed instruction, example are additionally provided Such as include the memory 1102 of programmed instruction, said procedure instruction can be performed by the processor 1101 of electronic equipment 1100 to complete Above-mentioned gesture password method of testing.
The preferred embodiment of the disclosure is described in detail above in association with accompanying drawing, still, the disclosure is not limited to above-mentioned reality The detail in mode is applied, in the range of the technology design of the disclosure, a variety of letters can be carried out to the technical scheme of the disclosure Monotropic type, these simple variants belong to the protection domain of the disclosure.
It is further to note that each particular technique feature described in above-mentioned embodiment, in not lance In the case of shield, it can be combined by any suitable means.In order to avoid unnecessary repetition, the disclosure to it is various can The combination of energy no longer separately illustrates.
In addition, it can also be combined between a variety of embodiments of the disclosure, as long as it is without prejudice to originally Disclosed thought, it should equally be considered as disclosure disclosure of that.

Claims (10)

  1. A kind of 1. gesture password method of testing, it is characterised in that including:
    When receiving the gesture password to be tested of user's input and test triggering command, the gesture of terminal to be tested is obtained Password draws the configuration information at interface;
    The configuration information at interface is drawn according to default position indication information and the gesture password, determines the terminal to be tested Gesture password drawing area in each operating point coordinate, wherein, the gesture password drawing area is located at the gesture password Draw on interface, the position indication information is used to indicate that the gesture password drawing area is drawn relative to the gesture password The position at interface;
    Test instruction is sent to the terminal to be tested, the test instruction is used to control the terminal to be tested according to the hand The coordinate of each operating point in gesture password drawing area, plays back the input of the gesture password to be tested in the terminal to be tested Process.
  2. 2. according to the method for claim 1, it is characterised in that the configuration information that the gesture password draws interface includes institute State gesture password and draw the coordinate of preset reference point on interface, the scope at gesture password drafting interface;
    The configuration information that interface is drawn according to default position indication information and the gesture password, is determined described to be tested The coordinate of each operating point in the gesture password drawing area of terminal, including:
    The scope at interface is drawn according to the position indication information and the gesture password, determines the gesture password drawing area Scope;
    The scope at interface and the position indication information are drawn according to the coordinate of the preset reference point, the gesture password, really Surely the coordinate of reference point is mapped, wherein, the mapping reference point is mapped to the gesture password for the preset reference point and painted The corresponding reference point formed on region processed;
    According to the coordinate of the mapping reference point, the scope of the gesture password drawing area and default operating point layout plan Slightly, the coordinate of each operating point in the gesture password drawing area is determined.
  3. 3. device according to claim 2, it is characterised in that coordinate, the hand according to the mapping reference point The scope of gesture password drawing area and default operating point placement strategy, determine respectively to operate in the gesture password drawing area The coordinate of point, including:
    According to the scope of the gesture password drawing area and the operating point placement strategy, determine that the gesture password draws area The height and width of n cell in domain, wherein, the n cell divides according to the operating point placement strategy, N be the terminal to be tested gesture password drawing area in operating point quantity;
    According to the height of each unit lattice and width in the mapping coordinate of reference point, the gesture password drawing area and The operating point placement strategy, determines each unit center of a lattice point coordinates in the gesture password drawing area respectively, and by institute State the coordinate that each unit center of a lattice point coordinates is defined as corresponding operating point in the gesture password drawing area.
  4. 4. according to the method for claim 1, it is characterised in that methods described also includes:
    Obtain in the input process that the gesture password to be tested is played back in the terminal to be tested in the terminal to be tested The actual sliding trace of the gesture password of upper input;
    When the actual sliding trace expected sliding trace corresponding with the gesture password to be tested is completely the same, output is used In sign successful first prompting message of gesture password input test;
    When the actual sliding trace expected sliding trace corresponding with the gesture password to be tested is not quite identical, output For characterizing the second prompting message of gesture password input test failure.
  5. A kind of 5. gesture password test device, it is characterised in that including:
    First acquisition module, for when receiving the gesture password to be tested of user's input and test triggering command, obtaining The gesture password of terminal to be tested draws the configuration information at interface;
    Determining module, for the gesture password got according to default position indication information and first acquisition module The configuration information at interface is drawn, determines the coordinate of each operating point in the gesture password drawing area of the terminal to be tested, wherein, The gesture password drawing area is located at the gesture password and drawn on interface, and the position indication information is used to indicate the hand Gesture password drawing area draws the position at interface relative to the gesture password;
    Sending module, for described to be tested for controlling to the terminal transmission test instruction to be tested, the test instruction The coordinate of each operating point in the gesture password drawing area that terminal is determined according to the determining module, described to be tested The input process of the gesture password to be tested is played back in terminal.
  6. 6. device according to claim 5, it is characterised in that the configuration information that the gesture password draws interface includes institute State gesture password and draw the coordinate of preset reference point on interface, the scope at gesture password drafting interface;
    The determining module includes:
    First determination sub-module, for the gesture got according to the position indication information and first acquisition module Password draws the scope at interface, determines the scope of the gesture password drawing area;
    Second determination sub-module, it is coordinate for the preset reference point that is got according to first acquisition module, described The gesture password that first determination sub-module is determined draws the scope at interface and the position indication information, it is determined that mapping ginseng The coordinate of examination point, wherein, the mapping reference point is that the preset reference point is mapped on the gesture password drawing area The corresponding reference point formed;
    3rd determination sub-module, coordinate, institute for the mapping reference point determined according to second determination sub-module The scope for the gesture password drawing area that the first determination sub-module is determined and default operating point placement strategy are stated, really The coordinate of each operating point in the fixed gesture password drawing area.
  7. 7. device according to claim 6, it is characterised in that the 3rd determination sub-module includes:
    Range of cells determination sub-module, the gesture password for being determined according to first determination sub-module draw area The scope in domain and the operating point placement strategy, the height and width of n cell in the gesture password drawing area are determined, Wherein, the n cell divides according to the operating point placement strategy, and n is that the gesture of the terminal to be tested is close The quantity of operating point in code drawing area;
    Point coordinates determination sub-module is operated, for the seat for the mapping reference point determined according to second determination sub-module Mark, the range of cells determination sub-module determine the height of each unit lattice and width in the gesture password drawing area, And the operating point placement strategy, each unit center of a lattice point coordinates in the gesture password drawing area is determined respectively, and The each unit center of a lattice point coordinates is defined as to the coordinate of corresponding operating point in the gesture password drawing area.
  8. 8. device according to claim 5, it is characterised in that described device also includes:
    Second acquisition module, in the input process that the gesture password to be tested is played back in the terminal to be tested for obtaining The actual sliding trace of the gesture password inputted in the terminal to be tested;
    First output module, for the actual sliding trace and the trial work to be measured got when second acquisition module When expection sliding trace is completely the same corresponding to gesture password, export for characterizing successful first prompting of gesture password input test Message;
    Second output module, for the actual sliding trace and the trial work to be measured got when second acquisition module When expection sliding trace is not quite identical corresponding to gesture password, exports and carried for characterizing the second of gesture password input test failure Show message.
  9. 9. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is held by processor The step of method any one of claim 1-4 is realized during row.
  10. 10. a kind of electronic equipment, it is characterised in that including:
    Computer-readable recording medium described in claim 9;And
    One or more processor, for performing the program in the computer-readable recording medium.
CN201711125389.2A 2017-11-14 2017-11-14 Gesture password testing method and device, readable storage medium and electronic equipment Active CN107861848B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711125389.2A CN107861848B (en) 2017-11-14 2017-11-14 Gesture password testing method and device, readable storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711125389.2A CN107861848B (en) 2017-11-14 2017-11-14 Gesture password testing method and device, readable storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN107861848A true CN107861848A (en) 2018-03-30
CN107861848B CN107861848B (en) 2021-06-04

Family

ID=61700409

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711125389.2A Active CN107861848B (en) 2017-11-14 2017-11-14 Gesture password testing method and device, readable storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN107861848B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108614965A (en) * 2018-04-08 2018-10-02 咪咕文化科技有限公司 Checking method, checking device and computer readable storage medium
CN109324741A (en) * 2018-09-30 2019-02-12 广州云测信息技术有限公司 A kind of method of controlling operation thereof, device and system
CN111026651A (en) * 2019-11-25 2020-04-17 东软集团股份有限公司 Test method, test device, storage medium and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103593141A (en) * 2013-11-29 2014-02-19 河南博仕达通信技术有限公司 Hand gesture recognizing unlocking device and method
WO2015110066A1 (en) * 2014-01-24 2015-07-30 Tencent Technology (Shenzhen) Company Limited Unlocking control method and apparatus for intelligent terminal
CN104991687A (en) * 2015-06-09 2015-10-21 惠州Tcl移动通信有限公司 Method and system for acquiring curve operating track of touch-screen device
CN105511780A (en) * 2015-11-26 2016-04-20 小米科技有限责任公司 Test method and device
CN106991303A (en) * 2017-03-07 2017-07-28 微梦创科网络科技(中国)有限公司 A kind of recognition methods of gesture identifying code and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103593141A (en) * 2013-11-29 2014-02-19 河南博仕达通信技术有限公司 Hand gesture recognizing unlocking device and method
WO2015110066A1 (en) * 2014-01-24 2015-07-30 Tencent Technology (Shenzhen) Company Limited Unlocking control method and apparatus for intelligent terminal
CN104991687A (en) * 2015-06-09 2015-10-21 惠州Tcl移动通信有限公司 Method and system for acquiring curve operating track of touch-screen device
CN105511780A (en) * 2015-11-26 2016-04-20 小米科技有限责任公司 Test method and device
CN106991303A (en) * 2017-03-07 2017-07-28 微梦创科网络科技(中国)有限公司 A kind of recognition methods of gesture identifying code and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108614965A (en) * 2018-04-08 2018-10-02 咪咕文化科技有限公司 Checking method, checking device and computer readable storage medium
CN109324741A (en) * 2018-09-30 2019-02-12 广州云测信息技术有限公司 A kind of method of controlling operation thereof, device and system
CN111026651A (en) * 2019-11-25 2020-04-17 东软集团股份有限公司 Test method, test device, storage medium and electronic equipment
CN111026651B (en) * 2019-11-25 2024-01-16 东软集团股份有限公司 Test method, device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN107861848B (en) 2021-06-04

Similar Documents

Publication Publication Date Title
CN104660549B (en) Auth method and device
CN107861848A (en) Gesture password method of testing, device, readable storage medium storing program for executing and electronic equipment
CN105447368B (en) A kind of control method and user terminal of user terminal access permission
EP1857954A1 (en) Portable electronic apparatus and recording medium for changing the access permission of an application or file upon user biometric identification
CN103186369B (en) The layout method and device of virtual key in terminal
WO2016037318A1 (en) Fingerprint identification method and apparatus, and mobile terminal
CN104331668B (en) Bad password reminding method and device
KR101648446B1 (en) Electronic conference system, method for controlling the electronic conference system, and digital pen
CN104809402B (en) A kind of information fuzzy display methods and terminal
CN104063639B (en) Carry out the verification processing device of verification processing
CN104793969B (en) Application program discharging method and device
CN104486354B (en) A kind of method that safety gives password for change
CN109857505A (en) Execution method, apparatus, terminal and the storage medium of operation
CN108475306A (en) User interface for mobile device
CN105045554B (en) A kind of image display method and user terminal
CN106603241A (en) Unlocking method, apparatus and electronic device
CN104808933B (en) The solution lock control method and device of intelligent terminal
CN107948411A (en) Terminal control method and device, terminal installation and computer-readable recording medium
CN105653195B (en) Screenshotss method and mobile terminal
CN105138887B (en) A kind of input method of log-on message, device and terminal device
CN105227628B (en) The message informing method for the application that terminal executes and the message informing device of application
CN106570139A (en) Electronic book bookmark generating and positioning method and system based on mobile terminal
CN105764136A (en) Location method and user terminal
CN105930068B (en) The quick control method of personal hot spot and device
CN106201153A (en) A kind of operation entry methods of exhibiting and 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