CN108021816A - Test method, device, storage medium and the electronic equipment of electronic equipment - Google Patents
Test method, device, storage medium and the electronic equipment of electronic equipment Download PDFInfo
- Publication number
- CN108021816A CN108021816A CN201711268811.XA CN201711268811A CN108021816A CN 108021816 A CN108021816 A CN 108021816A CN 201711268811 A CN201711268811 A CN 201711268811A CN 108021816 A CN108021816 A CN 108021816A
- Authority
- CN
- China
- Prior art keywords
- electronic equipment
- password
- character string
- test
- user
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000010998 test method Methods 0.000 title claims abstract description 31
- 238000003860 storage Methods 0.000 title claims abstract description 20
- 238000012360 testing method Methods 0.000 claims abstract description 98
- 238000012986 modification Methods 0.000 claims description 15
- 230000004048 modification Effects 0.000 claims description 15
- 238000012545 processing Methods 0.000 claims description 5
- 238000012546 transfer Methods 0.000 claims description 5
- 238000000034 method Methods 0.000 abstract description 13
- 238000010586 diagram Methods 0.000 description 9
- 238000004891 communication Methods 0.000 description 7
- 238000013478 data encryption standard Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 7
- 239000000047 product Substances 0.000 description 7
- 238000003780 insertion Methods 0.000 description 6
- 230000037431 insertion Effects 0.000 description 6
- 238000004519 manufacturing process Methods 0.000 description 5
- 230000005611 electricity Effects 0.000 description 4
- 238000005070 sampling Methods 0.000 description 3
- 230000001960 triggered effect Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 239000007795 chemical reaction product Substances 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000005484 gravity Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000011056 performance test Methods 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 210000004556 brain Anatomy 0.000 description 1
- 238000005314 correlation function Methods 0.000 description 1
- 238000005034 decoration Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/602—Providing cryptographic facilities or services
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2273—Test methods
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- Quality & Reliability (AREA)
- Telephone Function (AREA)
- User Interface Of Digital Computer (AREA)
- Storage Device Security (AREA)
Abstract
This application discloses the test method of a kind of electronic equipment, device, storage medium and electronic equipment, which includes:Obtain test pattern entry instruction;Interface for password input is provided a user according to the test pattern entry instruction, and obtains the password that user is inputted by the interface for password input;Operation is decrypted according to the device identification of the password and electronic equipment;When successful decryption, control the electronic equipment to be tested into test pattern, so as to prevent criminal arbitrarily enters test pattern from obtaining device parameter, improve Security of test, method is simple, highly practical.
Description
Technical field
This application involves field of computer technology, more particularly to the test method of a kind of electronic equipment, device, storage medium
And electronic equipment.
Background technology
In general, handset products are before dispatching from the factory or when exportation abroad is required for by stringent production test, with
Ensure product quality and system performance.Existing test method has two kinds:Brush the engineering software of test again to end product
Version, or Engineering Order (such as * #123456#) is manually entered by tester, so that end product is switched to special pattern
Tested after opening specific function.
In above two test method, the first test method is more intelligent relative to second of test method, test
Efficiency can also be improved significantly, but test the change for being easy to cause handset capability parameter later, for this reason, some countries or international
When testing agency carries out sampling observation test, second of test method more is used, as long as but this test mode Engineering Order incident
To leakage, other terminal producers or rival firms are easy for obtaining the performance indicator parameter of our company's product, cause product number
According to leakage, risk is high.
The content of the invention
The embodiment of the present application provides test method, device, storage medium and the electronic equipment of a kind of electronic equipment, can improve
The security of testing for electrical equipment process.
The embodiment of the present application provides the test method of a kind of electronic equipment, including:
Obtain test pattern entry instruction;
Interface for password input is provided a user according to the test pattern entry instruction, and obtains user and passes through the password
The password of inputting interface input;
Operation is decrypted according to the device identification of the password and electronic equipment;
When successful decryption, the electronic equipment is controlled to be tested into test pattern.
The embodiment of the present application additionally provides the test device of a kind of electronic equipment, including:
First acquisition module, for obtaining test pattern entry instruction;
Second acquisition module, for providing a user interface for password input according to the test pattern entry instruction, and is obtained
Take the password that family is inputted by the interface for password input;
Deciphering module, for operation to be decrypted according to the device identification of the password and electronic equipment;
Test module, for when successful decryption, controlling the electronic equipment to be tested into test pattern.
The embodiment of the present application additionally provides a kind of storage medium, and a plurality of instruction, the finger are stored with the storage medium
Order is suitable for being loaded by processor to perform the test method of any of the above-described electronic equipment.
The embodiment of the present application additionally provides a kind of electronic equipment, including processor and memory, the processor with it is described
Memory is electrically connected, and the memory is for storing instruction and data, the processor are used for the electricity described in any of the above-described
Step in the test method of sub- equipment.
Test method, device, storage medium and the electronic equipment for the electronic equipment that the application provides, mould is tested by obtaining
Formula entry instruction, then, provides a user interface for password input, and obtain user and pass through this according to the test pattern entry instruction
The password of interface for password input input, then, is decrypted operation, and work as according to the device identification of the password and the electronic equipment
During successful decryption, the electronic equipment is controlled to be tested into test pattern, so as to be avoided that criminal arbitrarily enters test
Pattern acquiring device parameter, improves Security of test, method is simple, highly practical.
Brief description of the drawings
Below in conjunction with the accompanying drawings, by the way that the embodiment of the application is described in detail, the technical solution of the application will be made
And other beneficial effects are apparent.
Fig. 1 is the schematic diagram of a scenario of testing process provided by the embodiments of the present application.
Fig. 2 is the flow diagram of test method provided by the embodiments of the present application.
Fig. 3 is another flow diagram of test method provided by the embodiments of the present application.
Fig. 4 is the schematic diagram of interface for password input provided by the embodiments of the present application.
Fig. 5 is the structure diagram of the test device of electronic equipment provided by the embodiments of the present application.
Fig. 6 is another structure diagram of test device provided by the embodiments of the present application.
Fig. 7 is the structure diagram of deciphering module provided by the embodiments of the present application.
Fig. 8 is the structure diagram of electronic equipment provided by the embodiments of the present application.
Embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, the technical solution in the embodiment of the present application is carried out clear, complete
Site preparation describes, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on
Embodiment in the application, the every other implementation that those skilled in the art are obtained without creative efforts
Example, shall fall in the protection scope of this application.
The embodiment of the present application provides test method, device, storage medium and the electronic equipment of a kind of electronic equipment.
The test method of a kind of electronic equipment, including:Obtain test pattern entry instruction;Entered according to the test pattern and referred to
Order provides a user interface for password input, and obtains the password that user is inputted by the interface for password input;According to the password and
Operation is decrypted in the device identification of electronic equipment;When successful decryption, the electronic equipment is controlled to be surveyed into test pattern
Examination.
Wherein, which is the unique identifier of electronic equipment, it can be IMEI (International
Mobile Equipment Identity, International Mobile Equipment Identity code) number, SN codes (Serial Number, product serial
Number) etc..The interface for password input can be supplied to user in the form of pop-up box, which can show as letter and/or number
The form of word.
Specifically, Fig. 1 is referred to, can be on dialing circle when tester needs to be tested for the property electronic equipment
Face inputs Engineering Order * #123456#, generates test pattern entry instruction with triggering, electronic equipment, which detects, generates test mould
After formula entry instruction, an interface for password input can be ejected, which is equipped with input frame, and user can be manual
Password is inputted in the input frame, and clicks on " Enter " button, at this time, electronic equipment can be according to the password and the equipment of itself
Operation is decrypted in mark, and in successful decryption, is tested automatically into test pattern, when decryption fails, prompts to use
Password is re-entered at family.
As shown in Fig. 2, Fig. 2 is the flow diagram of the test method of electronic equipment provided by the embodiments of the present application, it has
Body flow can be as follows:
101st, test pattern entry instruction is obtained.
In the present embodiment, in production test or sampling observation, tester need in test mode to electronic equipment into
Row performance test, in general, life can be triggered by the Engineering Order specified in communication interface or the input of other particular interfaces
Into the test pattern entry instruction, enter test pattern with control electronics.
102nd, interface for password input is provided a user according to the test pattern entry instruction, and obtains user and pass through the password
The password of inputting interface input.
In the present embodiment, which can be supplied to user in the form of pop-up box, which can show
The password can be inputted in interface for password input by modes such as word or voices for letter and/or the form of numeral, user.
It should be noted that the password is typically what is obtained from server, which can be that user passes through it
That his electronic equipment obtains or obtained by this electronic equipment, when to be obtained by this electronic equipment, this is close
The communications portal of server can be set on code inputting interface, thus user need not exit the interface for password input can be achieved and
The connection of server, and when successfully getting password from server, electronic equipment can automatically switch back into Password Input circle
Face.
That is, the interface for password input can include logging in interface, at this time, according to the engineering test mode entry instruction
After providing a user interface for password input, which can also include:
Obtain the call operation that user logs in this interface;
Login window is shown according to the call operation, which is used for user and inputs login account and modification logging;
The device identification for obtaining electronic equipment from server according to login account input by user and modification logging corresponds to
Password, and provide a user the password.
In the present embodiment, this, which logs in interface, can show as Text Link, or icon etc., its position can be taking human as setting
It is fixed, such as positioned at the lower right corner of interface for password input or the lower left corner etc..The login window can include login account input frame
With modification logging input frame, the login account and modification logging can be production firm's sets itselfs, for logging in company's clothes
Business device.The call operation can by clicking on, touching, the mode such as gesture or voice realizes.The device identification is electronic equipment
Unique identifier, it can be that (International Mobile Equipment Identity, world movement are set IMEI
Standby identity code) number, SN codes (Serial Number, product ID) etc..
After server has been logged in by interface for password input, which can be completed by server, such as, use
Family can be identified so that whois lookup corresponds to password with manual input device, can also be completed by electronic equipment, such as, electronics is set
Standby to obtain the device identification of itself automatically and search in the server, afterwards for the password found, electronic equipment can be with
User is shown in the form of prompting frame.
103rd, operation is decrypted according to the device identification of the password and the electronic equipment.
For example, above-mentioned steps 103 can specifically include:
The password is handled using default decipherment algorithm, obtains decryption character string;
Standard characters is determined according to the device identification of electronic equipment;
Judge whether the decryption character string and standard characters are identical;
If so, then successful decryption;
If it is not, then decryption failure.
In the present embodiment, which can be that user sets in advance, it can be symmetric encipherment algorithm
Corresponding inverse operation, the symmetric encipherment algorithm can be AES (Advanced Encryption Standard, superencipherment marks
It is accurate) algorithm, DES (Data Encryption Standard, data encryption standards) algorithm etc., can will be bright by Encryption Algorithm
Text becomes ciphertext, otherwise can be become ciphertext in plain text by decipherment algorithm.The decryption character string or standard characters mainly may be used
With including numeral and/or letter, when both have identical digital or alphabetical, and the numeral or the position all same at letter place
When, it is believed that the decryption character string is identical with standard characters, successful decryption.
Further, above-mentioned steps " determining standard characters according to the device identification of electronic equipment " can specifically include:
Using the device identification of electronic equipment as standard characters;Alternatively,
Obtain stored character string;The device identification of the stored character string and electronic equipment is combined, and
Standard characters is determined according to the character string after combination.
In the present embodiment, standard characters that can be directly using device identification as decryption, can also combine other numbers
According to, such as stored character string, the standard characters is generated together.When needing to combine the stored text string generation standard
During character string, which can be splicing or insertion, for example can fill into the stored word in the last position of device identification
Symbol string, or in a staggered manner by the single insertion device identification of stored character string, it is, of course, also possible to be it
His mode, does not limit here.Character string after combination can also do certain conversion directly as standard characters,
That is, above-mentioned steps " determining standard characters according to the character string after combination " can specifically include:
The character string after the combination is changed using default transfer algorithm, and using transformed character string as standard
Character string.
In the present embodiment, which can be the combination of the addition or subtraction, or both that are manually set, than
Each character in the character string after combination can such as be subtracted or plus some positions, at this time, for numerical character, then directly showed
For numerical computations (such as 435 subtract 2 be changed into 213), and for alphabetic character, then show as reach or rear move that (for example efg is subtracted
2 are changed into cde), in this way, even if user has taken device identification and character string, it is also difficult to obtain standard characters, add decryption
The difficulty of work.
It is to be understood that the stored character string should be that storage in advance is good, it can be obtained from server
, for example be the random code or user's sets itself of server generation, only server need to be ensured when generating password
The character string used is consistent with the character string stored in electronic equipment.Electronic equipment, can when writing IMEI number or SN
Preserved with the same time writing the character string, and after keeping, it is ensured that user can not change and check the character string, avoid illegal
Molecule obtains the character string.
104th, when successful decryption, the electronic equipment is controlled to be tested into test pattern.
In the present embodiment, only when Password Input is correct, electronic equipment can just enter test pattern, and once exit
Test pattern, when next time will also be tested, prompting can input password again.
It can be seen from the above, the test method of electronic equipment provided in this embodiment, applied to electronic equipment, is surveyed by obtaining
Mode entry instruction is tried, then, interface for password input is provided a user according to the test pattern entry instruction, and obtain user and lead to
The password of interface for password input input is crossed, then, operation is decrypted according to the device identification of the password and the electronic equipment,
And when successful decryption, control the electronic equipment to be tested into test pattern, so as to be avoided that criminal arbitrarily enters
Test pattern obtains device parameter, improves Security of test, method is simple, highly practical.
In the present embodiment, carried out exemplified by specifically being integrated in the electronic device by the test device of the electronic equipment detailed
Explanation.
Fig. 3 and Fig. 1 are referred to, the test method of a kind of electronic equipment, idiographic flow can be as follows:
201st, electronic equipment obtains test pattern entry instruction.
For example, when tester inputs Engineering Order at instruction input interface (such as dialing interface), life can be triggered
Into test pattern entry instruction.
202nd, electronic equipment provides a user interface for password input according to the test pattern entry instruction, and obtains user and lead to
The password of interface for password input input is crossed, which includes logging in interface.
For example, when detecting that user have input Engineering Order, electronic equipment can be by way of password authentification to surveying
Examination personnel carry out authentication, are only verified, could smoothly enter test pattern.
203rd, electronic equipment obtains user and the call operation of interface is logged in this, and is shown according to the call operation and log in window
Mouthful, which is used for user and inputs login account and modification logging.
For example, Fig. 4 is referred to, which can be shown to user in the form of pop-up box, can set thereon
It is equipped with input frame for inputting password and for logging in interface with server communication.Interface is logged in when user clicks on this
When, it can show a login window, which includes login account input frame and modification logging input frame.
204th, electronic equipment obtains equipment of itself mark according to login account input by user and modification logging from server
Know corresponding password, and provide a user the password.
For example, after electronic equipment is successfully established the communication connection with server, it can be automatically in the number of server
According to search in storehouse and the corresponding password of equipment of itself mark, and search result is shown to user.It should be noted that the password
Typically server shifts to an earlier date what is generated according to device identification, during password is generated, cracks difficulty for enhancing, server is also
Other data can be combined, for example server can generate a random code, will be generated after the random code and device identification combination
The password, and the random code can be preserved and used in the electronic device so that subsequent decryption operates.
205th, electronic equipment is handled the password using default decipherment algorithm, obtains decryption character string, and obtain
The character string of storage.
206th, the stored character string and device identification are combined by electronic equipment, and utilize default transfer algorithm pair
Character string after the combination is changed, afterwards using transformed character string as standard characters.
For example, which can be the inverse operation of the symmetric encipherment algorithm such as aes algorithm or DES algorithms, this is
The data that the character string namely server of storage use in cryptographic processes are generated.When combination need and server for encrypting
Combination is consistent, such as splicing or insertion, for example the stored character string can be filled into the last position of device identification, or
In a staggered manner by the single insertion device identification of stored character string, which can be artificial
The combination of the addition or subtraction, or both of setting, for example each character in the character string after combination can be subtracted or added
Some positions.
207th, electronic equipment judges whether the decryption character string and standard characters are identical, if so, then performing following step
208, perform above-mentioned steps 202 if it is not, then returning.
208th, electronic equipment is tested into test pattern.
For example, when the decryption character string and standard characters have identical digital or alphabetical, and the numeral or letter institute
Position all same when, it is believed that the decryption character string is identical with standard characters, successful decryption, can smoothly enter survey
Die trial formula is tested, and otherwise, electronic equipment can prompt user to re-enter password.
It can be seen from the above, the test method of electronic equipment provided in this embodiment, applied to electronic equipment, wherein electronics is set
It is standby to obtain test pattern entry instruction, then, interface for password input is provided a user according to the test pattern entry instruction,
And the password that user is inputted by the interface for password input is obtained, which includes logging in interface, then, obtains and uses
Family logs in this call operation of interface, and shows login window according to the call operation, which inputs for user
Login account and modification logging, then, obtain from server according to login account input by user and modification logging and itself set
It is standby to identify corresponding password, and the password is provided a user, then, the password is handled using default decipherment algorithm, is obtained
To decryption character string, and stored character string is obtained, then, the stored character string and device identification is combined,
And the character string after the combination is changed using default transfer algorithm, afterwards using transformed character string as standard character
String, next, it is determined that whether the decryption character string and standard characters are identical, if so, then tested into test pattern, so that
It is avoided that criminal arbitrarily enters test pattern and obtains device parameter, improves Security of test, method is simple, highly practical.
It is according to the described method of above-described embodiment, the present embodiment that the angle of the test device from electronic equipment is further
It is described, the test device of the electronic equipment can specifically be realized as independent entity, can also be integrated in electronics and be set
It is standby, for example realized in terminal, which can include mobile phone, tablet computer and personal computer etc..
Referring to Fig. 5, the test device of electronic equipment provided by the embodiments of the present application has been described in detail in Fig. 5, applied to electricity
Sub- equipment, the test device can include:First acquisition module 10, the second acquisition module 20, deciphering module 30 and test module
40, wherein:
(1) first acquisition module 10
First acquisition module 10, for obtaining test pattern entry instruction.
In the present embodiment, in production test or sampling observation, tester need in test mode to electronic equipment into
Row performance test, in general, life can be triggered by the Engineering Order specified in communication interface or the input of other particular interfaces
Into the test pattern entry instruction, enter test pattern with control electronics.
(2) second acquisition modules 20
Second acquisition module 20, for providing a user interface for password input according to the test pattern entry instruction, and is obtained
Take the password that family is inputted by the interface for password input.
In the present embodiment, which can be supplied to user in the form of pop-up box, which can show
The password can be inputted in interface for password input by modes such as word or voices for letter and/or the form of numeral, user.
It should be noted that the password is typically what is obtained from server, which can be that user passes through it
That his electronic equipment obtains or obtained by this electronic equipment, when to be obtained by this electronic equipment, this is close
The communications portal of server can be set on code inputting interface, thus user need not exit the interface for password input can be achieved and
The connection of server, and when successfully getting password from server, electronic equipment can automatically switch back into Password Input circle
Face.
That is, the interface for password input can include logging in interface, at this time, Fig. 6 is referred to, which can also wrap
The 3rd acquisition module 50 is included, is used for:
Second acquisition module 20 according to the engineering test mode entry instruction provide a user interface for password input it
Afterwards, the call operation that user logs in this interface is obtained;
Login window is shown according to the call operation, which is used for user and inputs login account and modification logging;
The device identification for obtaining electronic equipment from server according to login account input by user and modification logging corresponds to
Password, and provide a user the password.
In the present embodiment, this, which logs in interface, can show as Text Link, or icon etc., its position can be taking human as setting
It is fixed, such as positioned at the lower right corner of interface for password input or the lower left corner etc..The login window can include login account input frame and
Modification logging input frame, the login account and modification logging can be production firm's sets itselfs, for logging in company service
Device.The call operation can by clicking on, touching, the mode such as gesture or voice realizes.The device identification be electronic equipment only
One identification marking, it can be that (International Mobile Equipment Identity, world movement are set IMEI number
Standby identity code), SN codes (Serial Number, product ID) etc..
After server has been logged in by interface for password input, which can be manually completed by user, such as,
User can be identified so that whois lookup corresponds to password with manual input device, can also be automatically performed by electronic equipment, such as,
Electronic equipment can obtain the device identification of itself automatically to server, search in the server, close for what is found afterwards
Code, electronic equipment can be shown to user in the form of prompting frame.
(3) deciphering module 30
Deciphering module 30, for operation to be decrypted according to the device identification of the password and electronic equipment.
For example, referring to Fig. 7, which can specifically include processing unit 31, determination unit 32 and judge single
Member 33, wherein:
Processing unit 31, for being handled using default decipherment algorithm the password, obtains decryption character string;
Determination unit 32, standard characters is determined for the device identification according to electronic equipment;
Judging unit 33, for judging whether the decryption character string and standard characters are identical;
If so, then successful decryption;
If it is not, then decryption failure.
In the present embodiment, which can be that user sets in advance, it can be symmetric encipherment algorithm
Corresponding inverse operation, the symmetric encipherment algorithm can be AES (Advanced Encryption Standard, superencipherment marks
It is accurate) algorithm, DES (Data Encryption Standard, data encryption standards) algorithm etc., can will be bright by Encryption Algorithm
Text becomes ciphertext, otherwise can be become ciphertext in plain text by decipherment algorithm.The decryption character string or standard characters mainly may be used
With including numeral and/or letter, when both have identical digital or alphabetical, and the numeral or the position all same at letter place
When, it is believed that the decryption character string is identical with standard characters, successful decryption.
Further, which specifically can be used for:
Using the device identification of electronic equipment as standard characters;Alternatively,
Obtain stored character string;The device identification of the stored character string and electronic equipment is combined, and
Standard characters is determined according to the character string after combination.
In the present embodiment, standard characters that can be directly using device identification as decryption, can also combine other numbers
According to, such as stored character string, the standard characters is generated together.When needing to combine the stored text string generation standard
During character string, which can be splicing or insertion, for example can fill into the stored word in the last position of device identification
Symbol string, or in a staggered manner by the single insertion device identification of stored character string, it is, of course, also possible to be it
His mode, does not limit here.Character string after combination can also do certain conversion directly as standard characters,
That is, the determination unit 32 further can be used for:
The character string after the combination is changed using default transfer algorithm, and using transformed character string as standard
Character string.
In the present embodiment, which can be the combination of the addition or subtraction, or both that are manually set, than
Each character in the character string after combination can such as be subtracted or plus some positions, at this time, for numerical character, then directly showed
For numerical computations (such as 435 subtract 2 be changed into 213), and for alphabetic character, then show as reach or rear move that (for example efg is subtracted
2 are changed into cde), in this way, even if user has taken device identification and character string, it is also difficult to obtain standard characters, add decryption
The difficulty of work.
It is to be understood that the stored character string should be that storage in advance is good, it can be obtained from server
, for example be the random code or user's sets itself of server generation, only server need to be ensured when generating password
The character string used is consistent with the character string stored in electronic equipment.Electronic equipment, can when writing IMEI number or SN
Preserved with the same time writing the character string, and after keeping, it is ensured that user can not change and check the character string, avoid illegal
Molecule obtains the character string.
(4) test module 40
Test module 40, for when successful decryption, controlling the electronic equipment to be tested into test pattern.
In the present embodiment, only when Password Input is correct, electronic equipment can just enter test pattern, and once exit
Test pattern, when next time will also be tested, prompting can input password again.
It when it is implemented, above unit can be realized as independent entity, can also be combined, be made
Realized for same or several entities, the specific implementation of above unit can be found in embodiment of the method above, herein not
Repeat again.
It can be seen from the above, the test device of electronic equipment provided in this embodiment, applied to electronic equipment, is obtained by first
Modulus block 10 obtains test pattern entry instruction, and the second acquisition module 20 provides a user close according to the test pattern entry instruction
Code inputting interface, and the password that user is inputted by the interface for password input is obtained, deciphering module 30 is according to the password and the electricity
Operation is decrypted in the device identification of sub- equipment, and when successful decryption, test module 40 controls the electronic equipment to enter test mould
Formula is tested, so as to be avoided that criminal arbitrarily enters test pattern and obtains device parameter, improves Security of test, method
Simply, it is highly practical.
In addition, the embodiment of the present application additionally provides a kind of electronic equipment, which can be smart mobile phone, tablet electricity
The equipment such as brain.Shown in Fig. 8, electronic equipment 900 includes processor 901, memory 902, display screen 903 and control circuit 904.
Wherein, processor 901 is electrically connected with memory 902, display screen 903, control circuit 904 respectively.
Processor 901 is the control centre of electronic equipment 900, utilizes various interfaces and the whole electronic equipment of connection
Various pieces, by the application program of operation or load store in memory 902, and call and are stored in memory 902
Data, perform electronic equipment various functions and processing data so as to electronic equipment carry out integral monitoring.
In the present embodiment, processor 901 in electronic equipment 900 can according to the steps, by one or one with
On the corresponding instruction of process of application program be loaded into memory 902, and be stored in memory by processor 901 to run
Application program in 902, so as to fulfill various functions:
Obtain test pattern entry instruction;
Interface for password input is provided a user according to the test pattern entry instruction, and obtains user and passes through the Password Input
The password of interface input;
Operation is decrypted according to the device identification of the password and electronic equipment;
When successful decryption, the electronic equipment is controlled to be tested into test pattern.
Memory 902 can be used for storage application program and data.Including in the application program that memory 902 stores can be
The instruction performed in processor.Application program can form various functions module.Processor 901 is stored in memory by operation
902 application program, so as to perform various functions application and data processing.
Display screen 903 can be used for display by information input by user or be supplied to the information of user and the various figures of terminal
Shape user interface, these graphical user interface can be made of image, text, icon, video and its any combination.
Control circuit 904 is electrically connected with display screen 903, and information is shown for control display screen 903.
In certain embodiments, as shown in figure 8, electronic equipment 900 further includes:Radio circuit 905, input unit 906, sound
Frequency circuit 907, sensor 908 and power supply 909.Wherein, processor 901 respectively with radio circuit 905, input unit 906, sound
Frequency circuit 907, sensor 908 and power supply 909 are electrically connected.
Radio circuit 905 is used for transceiving radio frequency signal, to be built by wireless communication and the network equipment or other electronic equipments
Vertical wireless telecommunications, the receiving and transmitting signal between the network equipment or other electronic equipments.
Input unit 906 can be used for numeral, character information or the user's characteristic information (such as fingerprint) for receiving input, and
Produce the keyboard related with user setting and function control, mouse, operation lever, optics or the input of trace ball signal.Wherein,
Input unit 906 can include fingerprint recognition module.
Voicefrequency circuit 907 can provide the audio interface between user and terminal by loudspeaker, microphone.
Electronic equipment 900 can also include at least one sensor 908, for example, optical sensor, motion sensor and its
His sensor.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein, ambient light sensor can root
The brightness of display panel is adjusted according to the light and shade of ambient light, proximity sensor can close display when terminal is moved in one's ear
Panel and/or backlight.As one kind of motion sensor, gravity accelerometer can detect in all directions (generally three
Axis) acceleration size, size and the direction of gravity are can detect that when static, available for identification mobile phone posture application (such as
Horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;As for
The other sensors such as gyroscope that terminal can also configure, barometer, hygrometer, thermometer, infrared ray sensor, it is no longer superfluous herein
State.
The all parts that power supply 909 is used for electron equipment 900 are powered.In certain embodiments, power supply 909 can pass through
Power-supply management system and processor 901 are logically contiguous, so as to realize management charging, electric discharge, Yi Jigong by power-supply management system
The functions such as consumption management.
Although not shown in Fig. 8, electronic equipment 900 can also include camera, bluetooth module etc., and details are not described herein.
It will appreciated by the skilled person that all or part of step in the various methods of above-described embodiment can be with
Completed by instructing, or control relevant hardware to complete by instructing, which can be stored in one and computer-readable deposit
In storage media, and loaded and performed by processor.For this reason, the embodiment of the present invention provides a kind of storage medium, wherein storing
There is a plurality of instruction, which can be loaded by processor, and any electronics provided to perform the embodiment of the present invention is set
Step in standby test method.
Wherein, which can include:Read-only storage (ROM, Read Only Memory), random access memory
Body (RAM, Random Access Memory), disk or CD etc..
By the instruction stored in the storage medium, any electronics that the embodiment of the present invention is provided can be performed and set
Step in standby test method, it is thereby achieved that the test side for any electronic equipment that the embodiment of the present invention is provided
Beneficial effect achieved by method, refers to embodiment above, details are not described herein.
The specific implementation of each operation can be found in embodiment above above, and details are not described herein.
To sum up it is somebody's turn to do, although the application is disclosed above with preferred embodiment, above preferred embodiment simultaneously is not used to limit
The application, those of ordinary skill in the art, are not departing from spirit and scope, can make various changes and profit
Decorations, therefore the protection domain of the application is subject to the scope that claim defines.
Claims (10)
1. the test method of a kind of electronic equipment, it is characterised in that including:
Obtain test pattern entry instruction;
Interface for password input is provided a user according to the test pattern entry instruction, and obtains user and passes through the Password Input
The password of interface input;
Operation is decrypted according to the device identification of the password and electronic equipment;
When successful decryption, the electronic equipment is controlled to be tested into test pattern.
2. the test method of electronic equipment according to claim 1, it is characterised in that described according to the password and electronics
Operation is decrypted in the device identification of equipment, including:
The password is handled using default decipherment algorithm, obtains decryption character string;
Standard characters is determined according to the device identification of electronic equipment;
Judge whether the decryption character string and standard characters are identical;
If so, then successful decryption;
If it is not, then decryption failure.
3. the test method of electronic equipment according to claim 2, it is characterised in that the equipment according to electronic equipment
Mark determines standard characters, including:
Using the device identification of electronic equipment as standard characters;Alternatively,
Obtain stored character string;The device identification of the stored character string and electronic equipment is combined, and root
Standard characters is determined according to the character string after combination.
4. the test method of the electronic equipment according to right wants 3, it is characterised in that described true according to the character string after combination
Determine standard characters, including:
The character string after the combination is changed using default transfer algorithm, and using transformed character string as standard word
Symbol string.
5. the test method of the electronic equipment according to any one in claim 1-4, it is characterised in that the password is defeated
Entering interface includes logging in interface, after interface for password input is provided a user according to the engineering test mode entry instruction,
Further include:
User is obtained to the call operation for logging in interface;
Login window is shown according to the call operation, the login window is used for user and inputs login account and modification logging;
The corresponding password of the device identification is obtained from server according to login account input by user and modification logging, and to
User provides the password.
6. the test device of a kind of electronic equipment, it is characterised in that including:
First acquisition module, for obtaining test pattern entry instruction;
Second acquisition module, for providing a user interface for password input according to the test pattern entry instruction, and obtains use
The password that family is inputted by the interface for password input;
Deciphering module, for operation to be decrypted according to the device identification of the password and electronic equipment;
Test module, for when successful decryption, controlling the electronic equipment to be tested into test pattern.
7. the test device of the electronic equipment according to right wants 6, it is characterised in that the deciphering module includes:
Processing unit, for being handled using default decipherment algorithm the password, obtains decryption character string;
Determination unit, standard characters is determined for the device identification according to electronic equipment;
Judging unit, for judging whether the decryption character string and standard characters are identical;
If so, then successful decryption;
If it is not, then decryption failure.
8. the test device of the electronic equipment according to right wants 7, it is characterised in that the determination unit is specifically used for:
Using the device identification of electronic equipment as standard characters;Alternatively,
Obtain stored character string;The device identification of the stored character string and electronic equipment is combined, and root
Standard characters is determined according to the character string after combination.
9. a kind of storage medium, it is characterised in that a plurality of instruction is stored with the storage medium, described instruction is suitable for by handling
Device loading is with the test method of the electronic equipment any one of perform claim requirement 1 to 5.
10. a kind of electronic equipment, it is characterised in that including processor and memory, the processor and the memory are electrical
Connection, the memory are used for any one of perform claim requirement 1 to 5 with data, the processor for storing instruction
Electronic equipment test method in step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711268811.XA CN108021816B (en) | 2017-12-05 | 2017-12-05 | Electronic device test method and device, storage medium and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711268811.XA CN108021816B (en) | 2017-12-05 | 2017-12-05 | Electronic device test method and device, storage medium and electronic device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108021816A true CN108021816A (en) | 2018-05-11 |
CN108021816B CN108021816B (en) | 2021-01-26 |
Family
ID=62078270
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711268811.XA Expired - Fee Related CN108021816B (en) | 2017-12-05 | 2017-12-05 | Electronic device test method and device, storage medium and electronic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108021816B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108965577A (en) * | 2018-05-28 | 2018-12-07 | 维沃移动通信有限公司 | A kind of interface display method and terminal device |
CN110555323A (en) * | 2019-07-31 | 2019-12-10 | 深圳震有科技股份有限公司 | Serial port control method and device, computer equipment and readable storage medium |
CN110659522A (en) * | 2019-09-04 | 2020-01-07 | 广西电网有限责任公司防城港供电局 | Storage medium security authentication method and device, computer equipment and storage medium |
CN111356133A (en) * | 2018-12-24 | 2020-06-30 | 深圳市广和通无线股份有限公司 | Security testing method and device for wireless communication module and computer equipment |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101382973A (en) * | 2007-09-03 | 2009-03-11 | 纬创资通股份有限公司 | Method for raising information safety for computer system and relevant apparatus thereof |
JP2009134343A (en) * | 2007-11-28 | 2009-06-18 | Yuhshin Co Ltd | Biometrics device and biometrics system |
CN102158468A (en) * | 2011-01-26 | 2011-08-17 | 清华大学 | Method for sharing and acquiring data in social network service (SNS) |
CN103188677A (en) * | 2011-12-29 | 2013-07-03 | 中国移动通信集团北京有限公司 | Client software authentication method and client software authentication device and client software authentication system |
CN104484592A (en) * | 2014-12-31 | 2015-04-01 | 广州视源电子科技股份有限公司 | Starting method and system of mobile equipment factory pattern |
CN105045690A (en) * | 2015-07-10 | 2015-11-11 | 小米科技有限责任公司 | Terminal test method and apparatus |
US20160042196A1 (en) * | 2008-08-12 | 2016-02-11 | Apogee Technology Consultants, LLC. | Location-based recovery device and risk management system for portable computing devices and data |
CN106406279A (en) * | 2016-09-28 | 2017-02-15 | 北京小米移动软件有限公司 | Equipment testing method, apparatus and electronic device |
US20170048066A1 (en) * | 2012-09-30 | 2017-02-16 | Apple Inc. | Secure Escrow Service |
US20170046521A1 (en) * | 2014-11-06 | 2017-02-16 | International Business Machines Corporation | Secure database backup and recovery |
CN106682480A (en) * | 2016-11-29 | 2017-05-17 | 歌尔科技有限公司 | Intelligent decryption system and method, intelligent wearable device and intelligent mobile terminal |
CN107346287A (en) * | 2017-07-20 | 2017-11-14 | 广东艾檬电子科技有限公司 | A kind of exam pool applied program testing method, terminal and simulator |
-
2017
- 2017-12-05 CN CN201711268811.XA patent/CN108021816B/en not_active Expired - Fee Related
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101382973A (en) * | 2007-09-03 | 2009-03-11 | 纬创资通股份有限公司 | Method for raising information safety for computer system and relevant apparatus thereof |
JP2009134343A (en) * | 2007-11-28 | 2009-06-18 | Yuhshin Co Ltd | Biometrics device and biometrics system |
US20160042196A1 (en) * | 2008-08-12 | 2016-02-11 | Apogee Technology Consultants, LLC. | Location-based recovery device and risk management system for portable computing devices and data |
CN102158468A (en) * | 2011-01-26 | 2011-08-17 | 清华大学 | Method for sharing and acquiring data in social network service (SNS) |
CN103188677A (en) * | 2011-12-29 | 2013-07-03 | 中国移动通信集团北京有限公司 | Client software authentication method and client software authentication device and client software authentication system |
US20170048066A1 (en) * | 2012-09-30 | 2017-02-16 | Apple Inc. | Secure Escrow Service |
US20170046521A1 (en) * | 2014-11-06 | 2017-02-16 | International Business Machines Corporation | Secure database backup and recovery |
CN104484592A (en) * | 2014-12-31 | 2015-04-01 | 广州视源电子科技股份有限公司 | Starting method and system of mobile equipment factory pattern |
CN105045690A (en) * | 2015-07-10 | 2015-11-11 | 小米科技有限责任公司 | Terminal test method and apparatus |
CN106406279A (en) * | 2016-09-28 | 2017-02-15 | 北京小米移动软件有限公司 | Equipment testing method, apparatus and electronic device |
CN106682480A (en) * | 2016-11-29 | 2017-05-17 | 歌尔科技有限公司 | Intelligent decryption system and method, intelligent wearable device and intelligent mobile terminal |
CN107346287A (en) * | 2017-07-20 | 2017-11-14 | 广东艾檬电子科技有限公司 | A kind of exam pool applied program testing method, terminal and simulator |
Non-Patent Citations (4)
Title |
---|
知秋: "CDMA手机测试指令及解锁", 《家庭电子》 * |
老林自留地: "常见显示器工厂模式的进入方法大全", 《WWW.360DOC.COM/CONTENT/14/0715/11/4379521_394527444.SHTML》 * |
耿东久: "基于Android手机的远程访问和控制系统", 《计算机应用》 * |
陈果: "电子设备模拟测试平台框架的设计与实现", 《电子技术与软件工程》 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108965577A (en) * | 2018-05-28 | 2018-12-07 | 维沃移动通信有限公司 | A kind of interface display method and terminal device |
CN111356133A (en) * | 2018-12-24 | 2020-06-30 | 深圳市广和通无线股份有限公司 | Security testing method and device for wireless communication module and computer equipment |
CN111356133B (en) * | 2018-12-24 | 2023-09-08 | 深圳市广和通无线股份有限公司 | Security test method and device for wireless communication module and computer equipment |
CN110555323A (en) * | 2019-07-31 | 2019-12-10 | 深圳震有科技股份有限公司 | Serial port control method and device, computer equipment and readable storage medium |
CN110555323B (en) * | 2019-07-31 | 2023-06-30 | 深圳震有科技股份有限公司 | Control method and device for serial port, computer equipment and readable storage medium |
CN110659522A (en) * | 2019-09-04 | 2020-01-07 | 广西电网有限责任公司防城港供电局 | Storage medium security authentication method and device, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108021816B (en) | 2021-01-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108021816A (en) | Test method, device, storage medium and the electronic equipment of electronic equipment | |
CN107145795A (en) | Screenshot method, device and computer equipment | |
CN104901805B (en) | A kind of identification authentication methods, devices and systems | |
CN106327193B (en) | A kind of system unlocking method and equipment | |
CN109600740A (en) | Document down loading method, device and computer readable storage medium | |
CN109145552A (en) | Information ciphering method and terminal device | |
CN108551521A (en) | A kind of log-on message reminding method and mobile terminal | |
CN109743696A (en) | Identifying code encryption method, system and readable storage medium storing program for executing | |
CN108280337A (en) | A kind of message protection method and mobile terminal | |
CN107786569A (en) | A kind of identifying code sending method, method of reseptance and relevant device | |
CN107590397A (en) | A kind of method and apparatus for showing embedded webpage | |
CN108958582A (en) | A kind of application program launching method and terminal | |
CN110149628A (en) | A kind of information processing method and terminal device | |
CN109376519A (en) | A kind of unlocked by fingerprint method and terminal device | |
CN109409044A (en) | A kind of verifying interface display method and terminal | |
CN108229139A (en) | A kind of cipher-code input method and mobile terminal | |
CN108197448A (en) | Document display method, device, readable storage medium storing program for executing and terminal | |
CN109462693A (en) | A kind of information processing method, terminal and computer readable storage medium | |
CN107992742A (en) | A kind of method and apparatus of installation kit identification | |
CN110427761A (en) | A kind of reminding method and terminal device | |
CN109801061A (en) | Delay in payment method, mobile terminal and storage medium | |
CN109446794A (en) | A kind of cipher-code input method and its mobile terminal | |
CN108040186A (en) | The sending method and mobile terminal of a kind of dtmf signal | |
CN104615954A (en) | Password storage method and device | |
CN108171036A (en) | The control method and mobile terminal of a kind of application program |
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 | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20210126 |
|
CF01 | Termination of patent right due to non-payment of annual fee |