CN108009057A - For the test method of Password Input, device, storage medium and electronic equipment - Google Patents

For the test method of Password Input, device, storage medium and electronic equipment Download PDF

Info

Publication number
CN108009057A
CN108009057A CN201711123399.2A CN201711123399A CN108009057A CN 108009057 A CN108009057 A CN 108009057A CN 201711123399 A CN201711123399 A CN 201711123399A CN 108009057 A CN108009057 A CN 108009057A
Authority
CN
China
Prior art keywords
tested
msub
input
mrow
password
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
CN201711123399.2A
Other languages
Chinese (zh)
Other versions
CN108009057B (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 CN201711123399.2A priority Critical patent/CN108009057B/en
Publication of CN108009057A publication Critical patent/CN108009057A/en
Application granted granted Critical
Publication of CN108009057B publication Critical patent/CN108009057B/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)
  • Input From Keyboards Or The Like (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

It is this disclosure relates to a kind of for the test method of Password Input, device, storage medium and electronic equipment.This method includes:When receiving character string password to be tested input by user and test triggering command, the first configuration information of terminal to be tested is obtained;According to the second configuration information and the first configuration information of the reference terminal prestored, coordinate transformation relation is determined;Coordinate and coordinate transformation relation of each character in the first input keyboard in character string password to be tested, determines coordinate of each character in the second input keyboard in character string password to be tested;Test instruction is sent to terminal to be tested, which is used for the input process for controlling coordinate of each character of the terminal to be tested in character string password to be tested in the second input keyboard to put character string password to be tested in the second input keyboard last time.Thus, the success rate of Password Input can be lifted, to realize that the striding equipment of password stablizes the parametrization of input and Password Input, so as to ensure that testing efficiency.

Description

For the test method of Password Input, device, storage medium and electronic equipment
Technical field
This disclosure relates to electronic technology field, and in particular, to it is a kind of for the test method of Password Input, device, deposit Storage media and electronic equipment.
Background technology
In mobile application, the mobile application of especially financial class, all can package specific Password Input frame, this kind of password Each input element in input frame is generally difficult to identify, in this way, undoubtedly adding mobile application performance in terms of Password Input Difficulty of test.
At this stage, coordinate is mainly based upon to complete performance test of the mobile application in terms of Password Input, i.e. is existed first Character string password to be tested is recorded based on coordinate on first terminal, it is to be measured that this is then played back in terminal to be tested according to the coordinate Try the input process of character string 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 password that is actually entered in terminal to be tested, there are deviation, hardly possible with character string password to be tested To ensure the stability of striding equipment Password Input.In addition, whenever carrying out a Password Input test, it is required for character to be tested Each character in string password is recorded one time, and can not be parameterized, so that the cpu load of test terminal has been aggravated, test effect Rate is low.
The content of the invention
In order to solve the problems, such as present in correlation technique, the disclosure provides a kind of test method for Password Input, fills Put, storage medium and electronic equipment.
To achieve these goals, the disclosure provides a kind of test method for Password Input, including:
When receiving character string password to be tested input by user and test triggering command, terminal to be tested is obtained The first configuration information;
According to the second configuration information of the reference terminal prestored and first configuration information, determine that coordinate conversion is closed System, the coordinate transformation relation be used to representing in the first input keyboard of the reference terminal coordinate of each input character with it is described Transformational relation in second input keyboard of terminal to be tested between the coordinate of corresponding input character, the first input keyboard There is identical keyboard layout with the described second input keyboard;
Coordinate and the seat of each character in the described first input keyboard in the character string password to be tested Transformational relation is marked, determines coordinate of each character in the described second input keyboard in the character string password to be tested;
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 Coordinate of each character in the described second input keyboard in character string password to be tested is stated, keyboard last time is inputted described second Put the input process of the character string password to be tested.
Alternatively, first screen resolution and first screen of first configuration information including the terminal to be tested are close Degree;
Second configuration information includes the second screen resolution and the second screen density of the reference terminal.
Alternatively, the second configuration information of the reference terminal that the basis prestores and first configuration information, really Position fixing transformational relation, including:
Second configuration information of the reference terminal that the basis prestores and first configuration information, pass through following public affairs Formula determines coordinate transformation relation:
Wherein, (x2i,y2i) represent that i-th of character in the character string password to be tested inputs keyboard described second In coordinate;(x1i,y1i) represent that i-th of character in the character string password to be tested is inputted in keyboard described first Coordinate;First screen resolution, second screen resolution are represented respectively; Den1、Den2The first screen density, the second screen density are represented respectively;correcx、correcyX-axis is represented respectively The correction factor on direction, in Y direction.
Alternatively, the method further includes:
Obtain and be input to institute after putting the input process of the character string password to be tested in the described second input keyboard last time State and actually enter password in terminal to be tested;
When it is described actually enter password and matched completely with the character string password to be tested when, output is used to characterizing password defeated Enter the first prompting message being successfully tested;
When it is described actually enter password and the character string password Incomplete matching to be tested when, output is used to characterize password Second prompting message of input test failure.
The disclosure also provides a kind of test device for Password Input, including:
First acquisition module, for receiving character string password to be tested input by user and test triggering command When, obtain the first configuration information of terminal to be tested;
First determining module, mould is obtained for the second configuration information according to the reference terminal prestored and described first First configuration information that block is got, determines coordinate transformation relation, and the coordinate transformation relation is used to represent the reference The coordinate of each input character is corresponding defeated with the second input keyboard of the terminal to be tested in first input keyboard of terminal Enter the transformational relation between the coordinate of character, the first input keyboard has identical keyboard cloth with the described second input keyboard Office;
Second determining module, keyboard is inputted for each character in the character string password to be tested described first In the coordinate transformation relation determined of coordinate and first determining module, determine the character string password to be tested In each character described second input keyboard in coordinate;
Sending module, for sending test instruction to the terminal to be tested, the test instruction is used to control described treat Each character in the character string password to be tested that test terminal is determined according to second determining module is described second The coordinate in keyboard is inputted, the input process of the character string password to be tested is put in the described second input keyboard last time.
Alternatively, first screen resolution and first screen of first configuration information including the terminal to be tested are close Degree;
Second configuration information includes the second screen resolution and the second screen density of the reference terminal.
Alternatively, first determining module is used for according to the second configuration information of reference terminal for prestoring and described First configuration information, coordinate transformation relation is determined by the following formula:
Wherein, (x2i,y2i) represent that the i-th character in the character string password to be tested is inputted in keyboard described second Coordinate;(x1i,y1i) represent that the i-th character in the character string password to be tested inputs the coordinate in keyboard described first;First screen resolution, second screen resolution are represented respectively;Den1、 Den2The first screen density, the second screen density are represented respectively;correcx、correcyX-direction is represented respectively The correction factor in upper, Y direction.
Alternatively, described device further includes:
Second acquisition module, the defeated of the character string password to be tested is put for obtaining in the described second input keyboard last time Enter to be input in the terminal to be tested after process and actually enter password;
First output module, for when it is described actually enter password and matched completely with the character string password to be tested when, Output is used to characterize the first prompting message that Password Input is successfully tested;
Second output module, for actually entering password and the character string password Incomplete matching to be tested when described When, output is used for the second prompting message for characterizing Password Input test crash.
The disclosure also provides a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that should The step of above-mentioned test method for Password Input that the disclosure provides is realized when program is executed by processor.
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.
In the above-mentioned technical solutions, according to the first configuration information of the terminal to be tested got and the reference being locally stored Second configuration information of terminal determines coordinate transformation relation, and will be each in character string password to be tested according to the transformational relation Character is mapped to the second input keyboard of terminal to be tested from the first input keyboard of reference terminal, so as to fulfill in the second input The purpose of the input process of character string password to be tested is played back on keyboard.In this way, the success rate of Password Input can be lifted, so that Realize that the striding equipment of password stablizes input.In addition, it is directed to same terminal to be tested, it is only necessary to determine a coordinate transformation relation, Achieve that the test operation of multiple Password Input, can realize the parametrization of Password Input, so as to ensure that testing efficiency.
Other feature and advantage of the disclosure will be described in detail in subsequent specific embodiment part.
Brief description of the drawings
Attached 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 test method for Password Input according to an exemplary embodiment.
Fig. 3 A and Fig. 3 B are a kind of layouts of the first input keyboard of reference terminal according to an exemplary embodiment Schematic diagram.
Fig. 4 is a kind of flow chart of the test method for Password Input shown according to another exemplary embodiment.
Fig. 5 is a kind of block diagram of test device for Password Input according to an exemplary embodiment.
Fig. 6 is a kind of block diagram of the test device for Password Input shown according to another exemplary embodiment.
Fig. 7 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 attached drawing.It should be appreciated that this place is retouched The embodiment stated is only used for describing and explaining 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 communicate such as via bluetooth, ZigBee-network, WiFi network, 2G networks, 3G network, 4G networks, data cable.Treat Test terminal 110 may, for example, be smart mobile phone, tablet computer, intelligent wearable 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 laptop To illustrate.
Fig. 2 is a kind of flow chart of test method for Password Input according to an exemplary embodiment.Such as Fig. 2 Shown, this method may comprise steps of.
In step 201, when receiving character string password to be tested input by user and test triggering command, obtain Take the first configuration information of terminal to be tested.
In the disclosure, which can be applied to test terminal, such as shown in Fig. 1 Test terminal 120.Wherein, character string password to be tested can be made of at least one of letter, numeral, symbol;First matches somebody with somebody Confidence ceases the first screen resolution and the first screen density that can include terminal to be tested.
When user needs to test the Password Input performance of terminal to be tested, the to be measured of test can it is expected Character string Password Input is tried to test terminal, and triggers test start button, test terminal is receiving the character string to be tested After password and test triggering command, the first configuration request message can be sent to terminal to be tested, terminal to be tested exists After receiving the first configuration request message, the first configuration information of itself can be sent to test terminal, test is eventually End receives first configuration information.
In step 202, match somebody with somebody according to the first of the second configuration information of the reference terminal prestored and terminal to be tested Confidence ceases, and determines coordinate transformation relation.
In the disclosure, the second screen resolution and the second screen which can be including reference terminal are close Degree.Wherein, which may be identical with the first above-mentioned screen resolution, it is also possible to which different, the second screen is close Degree may be identical with the first above-mentioned screen density, it is also possible to and it is different, it is specifically dependent upon terminal to be tested and the reality of reference terminal Border configures.Also, second configuration information can be the letter that tester sets and is stored in the storage unit of test terminal Breath, for example, the second screen resolution is 720*1280, the second screen density is 320dpi.In addition, the second of the reference terminal matches somebody with somebody Confidence breath can also be test terminal by communicate with reference terminal and it is getting and be stored in test terminal storage unit In information.Illustratively, the second configuration request message can be sent to reference terminal by testing terminal, and reference terminal is receiving To after the second configuration request message, the second configuration information of itself can be sent to test terminal, test terminal and connect Second configuration information is received, and by second configuration information storage into local corresponding storage unit.
In addition, above-mentioned coordinate transformation relation, which can be used to indicate that in the first input keyboard of reference terminal, respectively inputs character Transformational relation between coordinate and the coordinate of corresponding input character in the second input keyboard of terminal to be tested, wherein, first Input keyboard has identical keyboard layout with the second input keyboard, also, the first input keyboard and the second input keyboard are equal It can include digital input keyboard and/or letter input keyboard.
Illustratively, test terminal can determine the coordinate transformation relation by below equation (1):
Wherein, (x2i,y2i) represent that i-th of character in character string password to be tested inputs the coordinate in keyboard second; (x1i,y1i) represent that i-th of character in character string password to be tested inputs the coordinate in keyboard first;The first screen resolution, second screen resolution are represented respectively;Den1、Den2 The first screen density, the second screen density are represented respectively;correcx、correcyRepresent respectively in X-direction, Y direction On the correction factor.
In addition, correction factor correcx、correcyCan be tester according to the second configuration information of reference terminal with The value of the first configuration information setting or the empirical value of acquiescence of terminal to be tested, for example, correcx=correcy= 1。
In step 203, each character in character string password to be tested is in the first input keyboard of reference terminal Coordinate and coordinate transformation relation, determine second enter key of each character in character string password to be tested in terminal to be tested Coordinate in disk.
In the disclosure, the coordinate of each character can be that tester sets in advance in the first input keyboard of the reference terminal Set.By Mobile banking application Password Input test exemplified by, reference terminal first input keyboard layout such as Fig. 3 A and Shown in Fig. 3 B, wherein, setting of the tester to each character coordinates in the first input keyboard can be as follows:
LocationMap=' q':'[30,860]','g':'[350,988]','3':'[70,1220][583,872] [94,1220]',……}
Wherein, the coordinate of character " q " is (30,60) in the first input keyboard, and the coordinate of character " g " is (350,988), word According with the coordinate of " 3 ", (94,1220) (wherein, (70,1220) indicate entry into digital input keyboard for (70,1220) (583,872) Button 31 (" 123 ") coordinate, (583,872) represent digital input keyboard in character " 3 " coordinate, (94,1220) table Show the coordinate for the button 32 (" abc ") for returning to letter input keyboard).
, can be according to each in the first of above-mentioned setting the input keyboard after test terminal receives character string password to be tested The coordinate of character, determines coordinate of each character in the first input keyboard in character string password to be tested, then according to upper successively State the coordinate transformation relation that step 202 is determined and each character in character string password to be tested is mapped to the of terminal to be tested In two input keyboards, that is, determine each character in character string password to be tested in the second input keyboard of terminal to be tested Coordinate.
In step 204, test instruction is sent to terminal to be tested.
In the disclosure, test instruction can be used for controlling terminal to be tested each in character string password to be tested Coordinate of the character in the second input keyboard, the input process of the character string password to be tested is put in the second input keyboard last time. Determine that each character is after second inputs the coordinate in keyboard in character string password to be tested when testing terminal, by terminal to be tested The input process of the character string password to be tested is played back, so that by the character string Password Input to be tested into Password Input frame. Specifically, terminal to be tested can be according to the sequencing of each character in character string password to be tested, in the second enter key The operation of button of each character at the coordinate position in the second input keyboard is clicked in simulation successively on disk, to be measured to complete this Try the playback of the input process of character string password.
In the above-mentioned technical solutions, according to the first configuration information of the terminal to be tested got and the reference being locally stored Second configuration information of terminal determines coordinate transformation relation, and will be each in character string password to be tested according to the transformational relation Character is mapped to the second input keyboard of terminal to be tested from the first input keyboard of reference terminal, so as to fulfill in the second input The purpose of the input process of character string password to be tested is played back on keyboard.In this way, the success rate of Password Input can be lifted, so that Realize that the striding equipment of password stablizes input.In addition, it is directed to same terminal to be tested, it is only necessary to determine a coordinate transformation relation, Achieve that the test operation of multiple Password Input, can realize the parametrization of Password Input, so as to ensure that testing efficiency.
Fig. 4 is a kind of flow chart of the test method for Password Input shown according to another exemplary embodiment.Such as Shown in Fig. 4, the above method can also comprise the following steps.
In step 205, obtain and inputted after putting the input process of character string password to be tested in the second input keyboard last time Password is actually entered on to terminal to be tested.
In step 206, when actually entering password and being matched completely with character string password to be tested, output is used to characterize close Code successful first prompting message of input test.
In step 207, when actually entering password with character string password Incomplete matching to be tested, output is used to characterize Second prompting message of Password Input test crash.
In the disclosure, the test result of Password Input can be quickly and easily known for the ease of tester, is being incited somebody to action After character string Password Input to be tested is into Password Input frame, terminal to be tested can will enter into the reality of the Password Input frame Input password is sent, can be by it with receiving before after receiving this and actually entering password to test terminal, test terminal Character string password to be tested carry out string matching, when the two completely match when, perform above-mentioned steps 206, i.e., output be used for The first prompting message that characterization Password Input is successfully tested, when the two Incomplete matching, performs above-mentioned steps 207, that is, exports For characterizing the second prompting message of Password Input test crash.Illustratively, test terminal can be exported in a manner of pop-up The first prompting message and the second prompting message are stated, can also be to the intelligent terminal communicated with (for example, smart mobile phone, intelligence Energy wearable device etc.) send first prompting message and the second prompting message.
Fig. 5 is a kind of block diagram of test device for Password Input according to an exemplary embodiment.Such as Fig. 5 institutes Show, which can include:First acquisition module 501, for receive character string password to be tested input by user, And during test triggering command, obtain the first configuration information of terminal to be tested;First determining module 502, for according in advance First configuration information that second configuration information of the reference terminal of storage and first acquisition module 501 are got, really Position fixing transformational relation, the coordinate transformation relation are used to represent that the first of the reference terminal inputs each input character in keyboard Coordinate and the terminal to be tested second input keyboard in it is corresponding input character coordinate between transformational relation, it is described First input keyboard has identical keyboard layout with the described second input keyboard;Second determining module 503, for according to Coordinate and first determining module 502 of each character in the described first input keyboard in character string password to be tested is true The coordinate transformation relation made, determines each character in the character string password to be tested in the described second input keyboard Coordinate;Sending module 504, for sending test instruction to the terminal to be tested, the test instruction is used to control described Each character in the character string password to be tested that terminal to be tested is determined according to second determining module 503 is described Coordinate in second input keyboard, the input process of the character string password to be tested is put in the described second input keyboard last time.
Alternatively, first screen resolution and first screen of first configuration information including the terminal to be tested are close Degree;Second configuration information includes the second screen resolution and the second screen density of the reference terminal.
Alternatively, first determining module 502 be used for according to the second configuration information of reference terminal prestored and First configuration information, coordinate transformation relation is determined by above equation (1).
Fig. 6 is a kind of block diagram of the test device for Password Input shown according to another exemplary embodiment.Such as Fig. 6 Shown, above device 500 can also include:Second acquisition module 505, institute is put for obtaining in the described second input keyboard last time State to be input in the terminal to be tested after the input process of character string password to be tested and actually enter password;First output mould Block 506, for when it is described actually enter password and matched completely with the character string password to be tested when, output is used to characterize password Successful first prompting message of input test;Second output module 507, for when it is described actually enter password with it is described to be tested During character string password Incomplete matching, output is used for the second prompting message for characterizing Password Input test crash.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in related this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 7 is the block diagram of a kind of electronic equipment 700 according to an exemplary embodiment.As shown in fig. 7, the electronics is set Standby 700 can include:Processor 701, memory 702, multimedia component 703, input/output (I/O) interface 704, Yi Jitong Believe component 705.
Wherein, processor 701 is used to control the integrated operation of the electronic equipment 700, and to complete, above-mentioned to be used for password defeated All or part of step in the test method entered.Memory 702 is used to store various types of data to support in the electronics The operation of equipment 700, these data can for example include being used for any application program or the side operated on the electronic equipment 700 The instruction of method, and the relevant data of application program, such as contact data, the message of transmitting-receiving, picture, audio, video etc.. The memory 702 can realize by any kind of volatibility or non-volatile memory device or combinations thereof, such as quiet State random access memory (Static Random Access Memory, abbreviation SRAM), the read-only storage of electrically erasable Device (Electrically Erasable Programmable Read-Only Memory, abbreviation EEPROM), it is erasable to compile Journey read-only storage (Erasable Programmable Read-Only Memory, abbreviation EPROM), may be programmed read-only storage Device (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 component 703 can include screen and audio component.Wherein Screen for example can be touch-screen, and audio component is used to export and/or input audio signal.For example, audio component can include One microphone, microphone are used to receive external audio signal.The received audio signal can be further stored in storage Device 702 is sent by communication component 705.Audio component further includes at least one loudspeaker, for exports audio signal.I/O Interface 704 provides interface between processor 701 and other interface modules, other above-mentioned interface modules can be keyboard, mouse, Button etc..These buttons can be virtual push button or entity button.Communication component 705 is used for the electronic equipment 700 and other Wired or wireless communication is carried out between equipment.Wireless 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 705 can include:Wi-Fi module, bluetooth module, NFC module.
In one exemplary embodiment, electronic equipment 700 can be by one or more application application-specific integrated circuit (Application Specific Integrated Circuit, abbreviation ASIC), digital signal processor (Digital Signal Processor, abbreviation DSP), digital signal processing appts (Digital Signal Processing Device, Abbreviation DSPD), programmable logic device (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 the above-mentioned test method for Password Input.
In a further exemplary embodiment, a kind of computer-readable recording medium including programmed instruction, example are additionally provided Such as include the memory 702 of programmed instruction, above procedure instruction can be performed with completion by the processor 701 of electronic equipment 700 The test method for Password Input stated.
The preferred embodiment of the disclosure is described in detail above in association with attached 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 solution 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. test method for Password Input, it is characterised in that including:
    When receiving character string password to be tested input by user and test triggering command, the of terminal to be tested is obtained One configuration information;
    According to the second configuration information of the reference terminal prestored and first configuration information, coordinate transformation relation is determined, The coordinate transformation relation is used to represent that the first of the reference terminal coordinate for inputting each input character in keyboard is treated with described Test terminal second input keyboard in it is corresponding input character coordinate between transformational relation, it is described first input keyboard with The second input keyboard has identical keyboard layout;
    Coordinate and the coordinate of each character in the described first input keyboard in the character string password to be tested turns Relation is changed, determines coordinate of each character in the described second input keyboard in the character string password to be tested;
    Test instruction is sent to the terminal to be tested, the test instruction is used to control the terminal to be tested to treat according to Coordinate of each character in character string password in the described second input keyboard is tested, institute is put in the described second input keyboard last time State the input process of character string password to be tested.
  2. 2. according to the method described in claim 1, it is characterized in that, first configuration information includes the terminal to be tested First screen resolution and the first screen density;
    Second configuration information includes the second screen resolution and the second screen density of the reference terminal.
  3. 3. according to the method described in claim 2, it is characterized in that, the second configuration of the reference terminal that the basis prestores Information and first configuration information, determine coordinate transformation relation, including:
    Second configuration information of the reference terminal that the basis prestores and first configuration information, by the following formula come Determine coordinate transformation relation:
    <mfenced open = "{" close = ""> <mtable> <mtr> <mtd> <mrow> <mfrac> <msub> <mi>x</mi> <mrow> <mn>2</mn> <mi>i</mi> </mrow> </msub> <msub> <mi>x</mi> <mrow> <mn>1</mn> <mi>i</mi> </mrow> </msub> </mfrac> <mo>=</mo> <mfrac> <mrow> <msub> <mi>Res</mi> <msub> <mi>x</mi> <mn>1</mn> </msub> </msub> <mo>&amp;CenterDot;</mo> <msub> <mi>correc</mi> <mi>x</mi> </msub> </mrow> <mrow> <msub> <mi>Res</mi> <msub> <mi>x</mi> <mn>2</mn> </msub> </msub> </mrow> </mfrac> </mrow> </mtd> </mtr> <mtr> <mtd> <mrow> <mfrac> <msub> <mi>y</mi> <mrow> <mn>2</mn> <mi>i</mi> </mrow> </msub> <msub> <mi>y</mi> <mrow> <mn>1</mn> <mi>i</mi> </mrow> </msub> </mfrac> <mo>=</mo> <mfrac> <mrow> <msub> <mi>Den</mi> <mn>1</mn> </msub> <mo>&amp;CenterDot;</mo> <msub> <mi>conec</mi> <mi>y</mi> </msub> </mrow> <mrow> <msub> <mi>Den</mi> <mn>2</mn> </msub> </mrow> </mfrac> </mrow> </mtd> </mtr> </mtable> </mfenced>
    Wherein, (x2i,y2i) represent that i-th of character in the character string password to be tested inputs the seat in keyboard described second Mark;(x1i,y1i) represent that i-th of character in the character string password to be tested inputs the coordinate in keyboard described first;First screen resolution, second screen resolution are represented respectively;Den1、 Den2The first screen density, the second screen density are represented respectively;correcx、correcyX-direction is represented respectively The correction factor in upper, Y direction.
  4. 4. according to the method described in claim 1, it is characterized in that, the method further includes:
    Obtain and be input to described treat after the input process of the character string password to be tested is put in the described second input keyboard last time Password is actually entered in test terminal;
    When it is described actually enter password and matched completely with the character string password to be tested when, output is used to characterize Password Input survey Try successful first prompting message;
    When it is described actually enter password and the character string password Incomplete matching to be tested when, output is used to characterize Password Input Second prompting message of test crash.
  5. A kind of 5. test device for Password Input, it is characterised in that including:
    First acquisition module, for when receiving character string password to be tested input by user and test triggering command, obtaining Take the first configuration information of terminal to be tested;
    First determining module, is obtained for the second configuration information according to the reference terminal prestored and first acquisition module First configuration information got, determines coordinate transformation relation, and the coordinate transformation relation is used to represent the reference terminal The first input keyboard in the coordinate of each input character input corresponding input word in keyboard with the second of the terminal to be tested Transformational relation between the coordinate of symbol, the first input keyboard have identical keyboard layout with the described second input keyboard;
    Second determining module, for each character in the character string password to be tested in the described first input keyboard The coordinate transformation relation that coordinate and first determining module are determined, determines in the character string password to be tested Coordinate of each character in the described second input keyboard;
    Sending module, for sending test instruction to the terminal to be tested, the test instruction is used to control described to be tested Each character in the character string password to be tested that terminal is determined according to second determining module is in the described second input Coordinate in keyboard, the input process of the character string password to be tested is put in the described second input keyboard last time.
  6. 6. device according to claim 5, it is characterised in that first configuration information includes the terminal to be tested First screen resolution and the first screen density;
    Second configuration information includes the second screen resolution and the second screen density of the reference terminal.
  7. 7. device according to claim 6, it is characterised in that first determining module is used for according to the ginseng prestored The second configuration information of terminal and first configuration information are examined, coordinate transformation relation is determined by the following formula:
    <mfenced open = "{" close = ""> <mtable> <mtr> <mtd> <mrow> <mfrac> <msub> <mi>x</mi> <mrow> <mn>2</mn> <mi>i</mi> </mrow> </msub> <msub> <mi>x</mi> <mrow> <mn>1</mn> <mi>i</mi> </mrow> </msub> </mfrac> <mo>=</mo> <mfrac> <mrow> <msub> <mi>Res</mi> <msub> <mi>x</mi> <mn>1</mn> </msub> </msub> <mo>&amp;CenterDot;</mo> <msub> <mi>correc</mi> <mi>x</mi> </msub> </mrow> <mrow> <msub> <mi>Res</mi> <msub> <mi>x</mi> <mn>2</mn> </msub> </msub> </mrow> </mfrac> </mrow> </mtd> </mtr> <mtr> <mtd> <mrow> <mfrac> <msub> <mi>y</mi> <mrow> <mn>2</mn> <mi>i</mi> </mrow> </msub> <msub> <mi>y</mi> <mrow> <mn>1</mn> <mi>i</mi> </mrow> </msub> </mfrac> <mo>=</mo> <mfrac> <mrow> <msub> <mi>Den</mi> <mn>1</mn> </msub> <mo>&amp;CenterDot;</mo> <msub> <mi>conec</mi> <mi>y</mi> </msub> </mrow> <mrow> <msub> <mi>Den</mi> <mn>2</mn> </msub> </mrow> </mfrac> </mrow> </mtd> </mtr> </mtable> </mfenced>
    Wherein, (x2i,y2i) represent that the i-th character in the character string password to be tested inputs the seat in keyboard described second Mark;(x1i,y1i) represent that the i-th character in the character string password to be tested inputs the coordinate in keyboard described first;First screen resolution, second screen resolution are represented respectively;Den1、 Den2The first screen density, the second screen density are represented respectively;correcx、correcyX-direction is represented respectively The correction factor in upper, Y direction.
  8. 8. device according to claim 5, it is characterised in that described device further includes:
    Second acquisition module, the input of the character string password to be tested is put for obtaining in the described second input keyboard last time It is input to after journey in the terminal to be tested and actually enters password;
    First output module, for when it is described actually enter password and matched completely with the character string password to be tested when, output The first prompting message being successfully tested for characterizing Password Input;
    Second output module, for when it is described actually enter password and the character string password Incomplete matching to be tested when, it is defeated Go out the second prompting message for characterizing Password Input test crash.
  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.
CN201711123399.2A 2017-11-14 2017-11-14 Test method and device for password input, storage medium and electronic equipment Active CN108009057B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711123399.2A CN108009057B (en) 2017-11-14 2017-11-14 Test method and device for password input, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711123399.2A CN108009057B (en) 2017-11-14 2017-11-14 Test method and device for password input, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN108009057A true CN108009057A (en) 2018-05-08
CN108009057B CN108009057B (en) 2021-04-02

Family

ID=62052281

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711123399.2A Active CN108009057B (en) 2017-11-14 2017-11-14 Test method and device for password input, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN108009057B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111026651A (en) * 2019-11-25 2020-04-17 东软集团股份有限公司 Test method, test device, storage medium and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110154246A1 (en) * 2009-12-21 2011-06-23 Samsung Electronics Co., Ltd. Image forming apparatus with touchscreen and method of editing input letter thereof
CN105022687A (en) * 2014-04-22 2015-11-04 腾讯科技(深圳)有限公司 Implementation method and device of sliding operation in automated testing scheme
CN105653056A (en) * 2015-12-17 2016-06-08 北京奇虎科技有限公司 Input method test method and device
CN106991343A (en) * 2016-01-11 2017-07-28 仁宝电脑工业股份有限公司 Secure payment device and its safe payment method
CN107193476A (en) * 2017-05-10 2017-09-22 北京百度网讯科技有限公司 Data inputting method and device, computer equipment and computer-readable recording medium
CN107273736A (en) * 2017-05-10 2017-10-20 百富计算机技术(深圳)有限公司 Cipher-code input method, device, computer equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110154246A1 (en) * 2009-12-21 2011-06-23 Samsung Electronics Co., Ltd. Image forming apparatus with touchscreen and method of editing input letter thereof
CN105022687A (en) * 2014-04-22 2015-11-04 腾讯科技(深圳)有限公司 Implementation method and device of sliding operation in automated testing scheme
CN105653056A (en) * 2015-12-17 2016-06-08 北京奇虎科技有限公司 Input method test method and device
CN106991343A (en) * 2016-01-11 2017-07-28 仁宝电脑工业股份有限公司 Secure payment device and its safe payment method
CN107193476A (en) * 2017-05-10 2017-09-22 北京百度网讯科技有限公司 Data inputting method and device, computer equipment and computer-readable recording medium
CN107273736A (en) * 2017-05-10 2017-10-20 百富计算机技术(深圳)有限公司 Cipher-code input method, device, computer equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张仲一: "《基于Kinect的隔空人手键盘输入 》", 《中国传媒大学学报(自然科学版)》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN108009057B (en) 2021-04-02

Similar Documents

Publication Publication Date Title
CN103814380B (en) For strengthening the method and apparatus of the security in equipment using multiple-factor password or dynamic password
JP6997343B2 (en) How to quickly open an application or application function, and a terminal
CN103477342B (en) Device access using voice authentication
CN105740686B (en) The control method and device of application
TWI574197B (en) Systems and methods for gesture lock obfuscation
CN107924288A (en) Electronic equipment and its method for carrying out perform function using speech recognition
US20060156028A1 (en) Security management method, program, and information device
TW201702951A (en) Mobile payment device and mobile payment system
CN108563933A (en) Control method, device, storage medium and the mobile terminal of application program
CN105141768A (en) Method and device for multi-user identification and mobile terminal
CN108154055A (en) Cipher-code input method, mobile terminal and storage medium
CN107145291A (en) Information processor and information processing method
TW200937254A (en) A method for inputting control commands and a handheld device thereof
CN102968587B (en) A kind of electronic equipment and the method giving electronic equipment unlocking information for change
CN108156594A (en) A kind of method and terminal for realizing virtual card
WO2019047148A1 (en) Password verification method, terminal, and computer readable storage medium
CN107688329A (en) Intelligent home furnishing control method and intelligent home control system
CN103870180A (en) Method and device for unlocking touch screen
CN108154020A (en) A kind of identifying code input and display methods and equipment
CN110083527A (en) A kind of generation method and device, electronic equipment of test case
CN106126082A (en) Control the method for terminal, device and terminal
US11158323B2 (en) Electronic apparatus, electronic system and control method thereof
AU2019201441B2 (en) Electronic device for processing user voice input
CN108009057A (en) For the test method of Password Input, device, storage medium and electronic equipment
CN104991702B (en) A kind of method and terminal of terminal display picture

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