The content of the invention
The embodiment of the present invention provides a kind of circuit board detection method, device, storage medium and terminal, can improve circuit board
The reliability of quality monitoring.
The embodiment of the present invention provides a kind of circuit board detection method, in terminal, the described method comprises the following steps:
Send logging request to and server, the logging request carry tester the first identification information and
Authentication information;
After logining successfully, test open signal is sent to circuit board to be tested so that the circuit board initially enters survey
Trial operation state;
Every test unit for electrical property parameters of the circuit board in test run state is obtained, and according to every test
Unit for electrical property parameters judges whether the circuit board is qualified;
If qualified, obtain the second identification information of the circuit board, and by second identification information with
And every test unit for electrical property parameters is sent to server.
In circuit board detection method of the present invention, the logging request also carries the hardware identity of the terminal
Identification information.
In circuit board detection method of the present invention, the acquisition circuit board is each in test run state
Test unit for electrical property parameters, and according to it is described it is every test unit for electrical property parameters judge the circuit board whether the step of qualification it
Before, it further includes:
Obtain the type information of the circuit board;
All standard unit for electrical property parameters, the standard unit for electrical property parameters are obtained from the server according to the type information
For the unit for electrical property parameters of the circuit board of qualification corresponding with the type information;
Every test unit for electrical property parameters that the circuit board is obtained in test run state, and according to the items
Test unit for electrical property parameters judges whether qualified step includes the circuit board:
Obtain every test unit for electrical property parameters of the circuit board in test run state;
Every unit for electrical property parameters of testing is compared with all standard unit for electrical property parameters, to judge the electricity
Whether road plate is qualified.
In circuit board detection method of the present invention, if described qualified, the second identity of the circuit board is obtained
Identification information, and second identification information and the items are tested into the step of unit for electrical property parameters is sent to server
Afterwards, further include:
Receive the sequence number for the circuit board that the server is sent;
The circuit board is generated according to the sequence number, first identity letter, second identification information
Identity Quick Response Code.
In circuit board detection method of the present invention, second identification information is the hardware of the circuit board
Mark.
The present invention also provides a kind of circuit board testing device, in terminal, described device to include:
First sending module, for send logging request to and server, the logging request carry the of tester
One identification information and authentication information;
Second sending module after logining successfully, sends test open signal to circuit board to be tested so that described
Circuit board initially enters test run state;
First judgment module, for obtaining every test unit for electrical property parameters of the circuit board in test run state,
And judge whether the circuit board is qualified according to every unit for electrical property parameters of testing;
3rd sending module if qualified for the circuit board, obtains the second identification information of the circuit board,
And second identification information and every test unit for electrical property parameters are sent to server.
In circuit board testing device of the present invention, further include
First acquisition module, for obtaining the type information of the circuit board;
Second acquisition module, for obtaining all standard unit for electrical property parameters from the server according to the type information,
The standard unit for electrical property parameters is the unit for electrical property parameters of the circuit board of qualification corresponding with the type information;
First judgment module includes:
Acquiring unit, for obtaining every test unit for electrical property parameters of the circuit board in test run state;
Judging unit, for every unit for electrical property parameters and all standard unit for electrical property parameters tested to be carried out pair
Than to judge whether the circuit board is qualified.
In circuit board testing device of the present invention, further include:
Receiving module, for receiving the sequence number for the circuit board that the server is sent;
Generation module, for being given birth to according to the sequence number, first identity letter, second identification information
Into the identity Quick Response Code of the circuit board.
The present invention also provides a kind of storage medium, computer program is stored in the storage medium, when the calculating
When machine program is run on computers so that the computer performs method described in any one of the above embodiments.
The present invention also provides a kind of terminals, and including processor and memory, computer journey is stored in the memory
Sequence, the processor is by calling the computer program stored in the memory, for performing described in any of the above-described
Method.
Term " first ", " second ", " the 3rd " in description and claims of this specification and above-mentioned attached drawing etc.
(if present) is the object for distinguishing similar, without being used to describe specific order or precedence.It should be appreciated that this
The object of sample description can exchange in the appropriate case.In addition, term " comprising " and " having " and their any deformation, meaning
Figure is to cover non-exclusive include.For example, it contains the process of series of steps, method or contains a series of modules or list
The device of member, terminal, system are not necessarily limited to those steps clearly listed or module or unit, can also include unclear
The step of ground is listed or module or unit can also be included for intrinsic its of these processes, method, apparatus, terminal or system
Its step or module or unit.
With reference to figure 1, Fig. 1 is a kind of flow chart of circuit board detection method in one embodiment of the invention, in terminal,
This method comprises the following steps:
To with server, the first identity that the logging request carries tester is believed for S101, transmission logging request
Breath and authentication information.
In order to ensure to carry out tight management and control to tester, it is necessary to be could testing circuit board of having permission, so
It just can guarantee the stringent of test, and conveniently the quality management and control for circuit board and call to account to shoddy circuit board.
First identification information can be understood as the identity ID of the account of user, which can be understood as the close of account
Code.After the server receives first identification information and authentication information, to first identification information and mirror
Power information audited, if examination & verification show first identification information and authentication information it is legal and match, allow
It logs in, and sends to login successfully and respond to the terminal.
S102, after logining successfully, send test open signal to circuit board to be tested so that the circuit board start into
Enter test run state.
Circuit board and terminal are connected, then after the completion of tester logs in, send test open signal so that electricity
Road plate initially enters test run state.
S103, every test unit for electrical property parameters of the circuit board in test run state is obtained, and according to described each
Item test unit for electrical property parameters judges whether the circuit board is qualified.
Wherein, in some embodiments, which is provided with detection chip, which can detect the circuit board
Every unit for electrical property parameters, after which is connected with the control chip, directly at the control chip obtain test data.And
And after the terminal sends test open signal to the control chip, each circuit of the control chip controls circuit board starts
Into test run.
In this step, terminal will test the standard unit for electrical property parameters of unit for electrical property parameters and qualified circuit board and carry out pair
Than, if all standard unit for electrical property parameters tests unit for electrical property parameters corresponding adaptation respectively with items respectively, the circuit board is qualified, if
The problem of one of which or several unit for electrical property parameters are unqualified, then specifically indicate, prompting tester's circuit board is wherein.
If S104, qualification, the second identification information of the circuit board is obtained, and second identity is believed
Breath and every test unit for electrical property parameters are sent to server.
In this step, when the every unit for electrical property parameters for detecting the circuit board is satisfied by requiring, then the circuit board is judged
For qualified circuit board, and the second identity of the circuit board and every test unit for electrical property parameters are sent to service
Device, when server is for storage, by the first identification information, the second identification information and every test unit for electrical property parameters
It stores.
From the foregoing, it will be observed that the embodiment of the present invention by send logging request to and server, the logging request carry survey
The first identification information and authentication information of examination person;After logining successfully, test open signal is sent to circuit to be tested
Plate so that the circuit board initially enters test run state;Obtain every survey of the circuit board in test run state
Unit for electrical property parameters is tried, and judges whether the circuit board is qualified according to every unit for electrical property parameters of testing;If qualified, obtain
Second identification information of the circuit board, and second identification information and every test electrical property are joined
Number is sent to server;So as to improve the reliability of board quality supervision.
With reference to figure 2, Fig. 2 is a kind of flow chart of circuit board detection method in one embodiment of the invention, in terminal,
This method comprises the following steps:
To with server, the first identity that the logging request carries tester is believed for S201, transmission logging request
Breath and authentication information.
In order to ensure to carry out tight management and control to tester, it is necessary to be could testing circuit board of having permission, so
It just can guarantee the stringent of test, and conveniently the quality management and control for circuit board and call to account to shoddy circuit board.
First identification information can be understood as the identity ID of the account of user, which can be understood as the close of account
Code.After the server receives first identification information and authentication information, to first identification information and mirror
Power information audited, if examination & verification show first identification information and authentication information it is legal and match, allow
It logs in, and sends to login successfully and respond to the terminal.
S202, after logining successfully, send test open signal to circuit board to be tested so that the circuit board start into
Enter test run state.
Circuit board and terminal are connected, then after the completion of tester logs in, send test open signal so that electricity
Road plate initially enters test run state.
S203, the type information for obtaining the circuit board.
Because for different batteries, the model for the circuit board that may be equipped with is different, therefore, for different model
Circuit board, all standard unit for electrical property parameters are different.In this step, after circuit board and the terminal, which are established, to be connected,
The hardware parameter of the terminal inquiry circuit board is so as to obtaining the type information of the circuit board.
S204, all standard unit for electrical property parameters is obtained from the server according to the type information, the standard is electrical
Energy parameter is the unit for electrical property parameters of the circuit board of qualification corresponding with the type information.
In some embodiments, after terminal gets the type information of the circuit board to be detected, inquiry can be passed through
The mode of server obtains all standard unit for electrical property parameters.
S205, every test unit for electrical property parameters of the circuit board in test run state is obtained, and according to described each
Item test unit for electrical property parameters judges whether the circuit board is qualified.
Wherein, in some embodiments, which is provided with detection chip, which can detect the circuit board
Every unit for electrical property parameters, after which is connected with the control chip, directly at the control chip obtain test data.And
And after the terminal sends test open signal to the control chip, each circuit of the control chip controls circuit board starts
Into test run.
Step S205 includes:
S2051, every test unit for electrical property parameters of the circuit board in test run state is obtained;
S2052, every unit for electrical property parameters of testing is compared with all standard unit for electrical property parameters, to judge
Whether the circuit board is qualified.In this step, terminal will test the standard electrical property of unit for electrical property parameters and qualified circuit board
Parameter is compared, if all standard unit for electrical property parameters tests unit for electrical property parameters corresponding adaptation respectively, the electricity with items respectively
Road plate is qualified, if one of which or several unit for electrical property parameters are unqualified, specifically indicates, prompts tester's circuit board
Problem is wherein.
If S206, qualification, the second identification information of the circuit board is obtained, and second identity is believed
Breath and every test unit for electrical property parameters are sent to server.
In this step, when the every unit for electrical property parameters for detecting the circuit board is satisfied by requiring, then the circuit board is judged
For qualified circuit board, and the second identification information of the circuit board and every test unit for electrical property parameters are sent to clothes
When server is for storage, the first identification information, the second identification information and every test electrical property are joined for business device
Number stores.
S207, the sequence number for receiving the circuit board that the server is sent.
When server receives the unit for electrical property parameters for detecting qualified circuit board, the first identification information, second
After identification information, a special sequence number can be worked out to the circuit board, for anti-fake.
S208, the electricity is generated according to the sequence number, first identity letter, second identification information
The identity Quick Response Code of road plate.
In this step, the information of the manufacturer of the circuit board can also can be added in the identity Quick Response Code.
Fig. 3 is refer to, the embodiment of the present invention additionally provides a kind of circuit board testing device, which includes:
First sending module 301, for send logging request to and server, the logging request carry tester's
First identification information and authentication information.
Second sending module 302 after logining successfully, sends test open signal to circuit board to be tested so that
The circuit board initially enters test run state.
First judgment module 303, for obtaining every test electrical property ginseng of the circuit board in test run state
Number, and judge whether the circuit board is qualified according to every unit for electrical property parameters of testing.
3rd sending module 304 if qualified for the circuit board, obtains the second identity letter of the circuit board
Breath, and second identification information and every test unit for electrical property parameters are sent to server.
Fig. 4 is refer to, in some embodiments, which further includes
First acquisition module 305, for obtaining the type information of the circuit board;
Second acquisition module 306, for obtaining all standard electrical property ginseng from the server according to the type information
Number, the standard unit for electrical property parameters are the unit for electrical property parameters of the circuit board of qualification corresponding with the type information;
In this embodiment, which includes:
Acquiring unit 3031, for obtaining every test unit for electrical property parameters of the circuit board in test run state;
Judging unit 3032, for every unit for electrical property parameters of testing to be carried out with all standard unit for electrical property parameters
Comparison, to judge whether the circuit board is qualified.
In some embodiments, which further includes:
Receiving module 307, for receiving the sequence number for the circuit board that the server is sent.
Generation module 308, for being believed according to the sequence number, first identity letter, second identity
Breath generates the identity Quick Response Code of the circuit board.
The embodiment of the present invention also provides a kind of storage medium, and computer program is stored in the storage medium, when the calculating
When machine program is run on computers, which performs the method described in any of the above-described embodiment.
The present invention also provides a kind of terminals, and including processor and memory, computer journey is stored in the memory
Sequence, the processor is by calling the computer program stored in the memory, for performing described in any of the above-described
Method.
It should be noted that one of ordinary skill in the art will appreciate that whole in the various methods of above-described embodiment or
Part steps are relevant hardware can be instructed to complete by program, which can be stored in computer-readable storage medium
In matter, which can include but is not limited to:Read-only memory (ROM, Read Only Memory), random access memory
Device (RAM, Random Access Memory), disk or CD etc..
The embodiment of the present invention also provides a kind of terminal, and including processor and memory, calculating is stored in the memory
Machine program, the processor is by calling the computer program stored in the memory, for performing above-described embodiment
The method.
Method, apparatus, storage medium and the terminal provided above the embodiment of the present invention is described in detail, herein
In apply specific case the principle of the present invention and embodiment be set forth, the explanation of above example is only intended to sides
Assistant solves the method and its core concept of the present invention;Meanwhile for those skilled in the art, thought according to the invention,
There will be changes in specific embodiment and application range, in conclusion this specification content should not be construed as to this hair
Bright limitation.