Summary of the invention
Embodiments of the invention provide one to dispatch from the factory method of testing and test system, it is possible to solve raw
Produce the problem that cost is high, detection efficiency is low.
For reaching above-mentioned purpose, embodiments of the invention adopt the following technical scheme that
First aspect, it is provided that one is dispatched from the factory method of testing, and described method includes:
Test program programming is entered intelligent terminal to be detected;Described test program is independent of operation
System;
Start the test system on described intelligent terminal, and run described survey in described test system
The assembly of described intelligent terminal is tested by examination program;
If the assembly of described intelligent terminal is normal, then by the interface of described test system to factory
Test system output detections is pointed out normally;If at least one assembly of described intelligent terminal is different
Often, then by the interface of described test system to described factory test system output detections failure
Prompting.
In conjunction with first aspect, in the implementation that the first is possible, if described intelligent terminal
Assembly is normal, and the most described method also includes:
Described operating system programming is entered described intelligent terminal.
In conjunction with the first possible implementation of first aspect or first aspect, can at the second
Can implementation in, described test program programming is entered intelligent terminal to be detected before,
Also include: obtain described test program.
In conjunction with the implementation that the second of first aspect is possible, in the realization side that the third is possible
In formula, the described test program of described acquisition includes:
Obtaining the first test program in described operating system, described first test program is described
A part of program of test program;
By described first test program and existing second test program of described factory test system
Merge obtain described test program, described second test program be described test program except described
Another part program outside a part of program;Or
Directly generating described test program according to detection content, described detection content includes described intelligence
Can needing the assembly of detection, judge that the described assembly needing detection is sentenced the most normally in terminal
Disconnected standard.
In conjunction with first aspect, in the 4th kind of possible implementation, the group of described intelligent terminal
Part includes: screen, backlight, receiver of remote-control sytem, button, WiFi, bluetooth.
Second aspect, it is provided that a kind of test system, described test system includes:
Programming unit, for entering intelligent terminal to be detected by test program programming;Described test
Program is independent of operating system;
Test cell, for starting the test system on described intelligent terminal, and in described test
System is run described test program and is tested the assembly of described intelligent terminal;
Tip element, if the assembly of described intelligent terminal is normal, then by described test system
Interface is pointed out normally to factory test system output detections;If at least the one of described intelligent terminal
Individual assembly is abnormal, then by the interface of described test system to the output inspection of described factory test system
The prompting that dendrometry loses.
In conjunction with second aspect, in the implementation that the first is possible, if described intelligent terminal
Assembly is normal, and the most described programming unit is additionally operable to:
Described operating system programming is entered described intelligent terminal.
In conjunction with the first possible implementation of second aspect or second aspect, can at the second
In the implementation of energy, described test system also includes:
Program acquiring unit, for entering intelligent terminal to be detected described by test program programming
Before, described test program is obtained.
In conjunction with the implementation that the second of second aspect is possible, in the realization side that the third is possible
In formula, described program acquiring unit specifically for:
Obtaining the first test program in described operating system, described first test program is described
A part of program of test program;
By described first test program and existing second test program of described factory test system
Merge obtain described test program, described second test program be described test program except described
Another part program outside a part of program;Or
Directly generating described test program according to detection content, described detection content includes described intelligence
Can needing the assembly of detection, judge that the described assembly needing detection is sentenced the most normally in terminal
Disconnected standard.
In conjunction with second aspect, in the 4th kind of possible implementation, the group of described intelligent terminal
Part includes: screen, backlight, receiver of remote-control sytem, button, WiFi, bluetooth.
The embodiment of the present invention provides one to dispatch from the factory method of testing and test system, by before testing
The test program programming that will be independent of operating system enters intelligent terminal to be detected, starts described intelligence
Test system in energy terminal, and run described test program to described intelligence in described test system
The assembly of energy terminal is tested;If all component of described intelligent terminal is normal, then pass through institute
The interface stating test system is pointed out normally to factory test system output detections;If described intelligence
At least one assembly of terminal is abnormal, then surveyed to described factory by the interface of described test system
The prompting that test system output detections is failed, so just completed before carrying out the programming of operating system
The detection of apparatus assembly, just carries out the programming of operating system, phase after all component is normal
For prior art, reduce production cost, improve detection efficiency.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, to the technical side in the embodiment of the present invention
Case is clearly and completely described, it is clear that described embodiment is only the present invention one
Divide embodiment rather than whole embodiments.Based on the embodiment in the present invention, this area is general
The every other embodiment that logical technical staff is obtained under not making creative work premise,
Broadly fall into the scope of protection of the invention.
The embodiment of the present invention provides one to dispatch from the factory method of testing and test system, as it is shown in figure 1,
The method includes:
101, test program programming is entered intelligent terminal to be detected;Test program is independent of behaviour
Make system.
102, the test system on intelligent terminal is started, and in test system testing results program
The assembly of intelligent terminal is tested.Then perform 103 or 104.
If the assembly of 103 intelligent terminals is normal, then surveyed to factory by the interface of test system
Test system output detections is pointed out normally.
If at least one assembly of 104 intelligent terminals is abnormal, then by testing the interface of system
To the prompting that factory test system output detections is failed.
The embodiment of the present invention provides one to dispatch from the factory method of testing, by will be independent of behaviour before testing
The test program programming making system enters intelligent terminal to be detected, starts the test on intelligent terminal
System, and in test system testing results program, the assembly of intelligent terminal is tested;If intelligence
The all component of energy terminal is normal, then exported to factory test system by the interface of test system
The normal prompting of detection;If at least one assembly of intelligent terminal is abnormal, then by test system
Interface to the failed prompting of factory test system output detections, so carrying out operating system
Just complete the detection of apparatus assembly before programming, just operate after all component is normal
The programming of system, compared to existing technologies, reduces production cost, improves detection efficiency.
In order to enable those skilled in the art to be more clearly understood that what the embodiment of the present invention provided
Technical scheme, below by specific embodiment, the another kind providing the embodiment of the present invention goes out
Factory's method of testing is described in detail, as in figure 2 it is shown, the method includes:
201, test program is obtained.
Concrete, as a example by android system, general test program is divided into two parts, one
Dividing in android system, another part is in factory test system, wherein at Android
A part of program in system is based on android system, and in factory test system
Another part program is based on linux system.But owing to android system is also based on
Linux system exploitation, the therefore a part of program in android system and factory testing system
Another part program in system finally will enter Linux layer.
Therefore, it can from android system, obtain this subprogram, by this part of journey
The code of sequence is integrated in factory test system, with another portion existing in factory test system
Branch merging obtains complete test program.Or
The program identical with this subprogram in android system can also be individually created,
Then the code of this subprogram is integrated in factory test system, with factory test system
In existing another part program integration obtain complete test program.It is of course also possible to root
Directly generating new test program according to detection content, wherein, detection content can be to be detected
On intelligent terminal need detection assembly, judge need detect assembly judge the most normally
The information such as standard.
202, test program programming is entered intelligent terminal to be detected.
Exemplary, by fever writes (Programmer), test program programming can be entered intelligence
In the memory of energy terminal.Fever writes actually one writes number programmable integrated circuit
According to instrument, fever writes is mainly used in single-chip microcomputer (containing embedded) or memory (containing BIOS)
Etc the programming (or claim write with a brush dipped in Chinese ink) of chip.
203, the test system on intelligent terminal is started, and in test system testing results program
The assembly of intelligent terminal is tested.
Exemplary, test system is a kind of to recover based on Recovery() the small-sized system of system
System, has the interface responding external control, such as adb interface (adb Interface), is somebody's turn to do
Test system is connected with factory test system by adb interface.Wherein Recovery system is
A kind of engineering mode system in android system, has system reducing, system backup, is
The functions such as system recovery, system upgrade and cache management, and what Recovery system took
Space is little.Adb interface is the interface that Android device is used to external program communication
(wherein adb is a program, can run on DOS(Disk Operating System, magnetic
Disk operating system) system, can be as the command console of linux system).
Above-mentioned test system runs the test program obtained, in the control of factory test system
Under the assembly of intelligent terminal is tested one by one, and testing result is timely by adb interface
Feed back to the PC end of factory test system.Then perform 204 or 205 according to testing result.
Wherein, intelligent terminal need the assembly of detection may include that screen, backlight, remote control
Receiver, button, WiFi(Wireless Fidelity, Wireless Fidelity), bluetooth etc..
If all component of 204 intelligent terminals is normal, then by the interface of test system to work
Factory's test system output detections is pointed out normally.
Wherein, point out normally to factory test system output detections, may include that display exists
On the PC end of factory test system, to point out staff's equipment normal.
Determine intelligent terminal need the assembly of detection all normal after can perform 206.
If at least one assembly of 205 intelligent terminals is abnormal, then by testing the interface of system
To the prompting that factory test system output detections is failed.
Wherein, may include that display is in work to the prompting that factory test system output detections is failed
On the PC end of factory's test system, to point out staff unit exception, need to stop follow-up system
Make flow process, and return factory's detection.
206, operating system programming is entered intelligent terminal.
As a example by android system, above-mentioned intelligent terminal assembly all complete detection and all
Time normal, just android system programming entered this intelligent terminal, and carries out follow-up assembling
Flow process.
It addition, intelligent terminal mentioned in the embodiment of the present invention can be intelligent terminal, including
Intelligent television, smart mobile phone, panel computer etc..
Visible, use above-mentioned method of testing of dispatching from the factory, by will be independent of operating system before testing
Test program programming enter intelligent terminal to be detected, start the test system on intelligent terminal,
And in test system testing results program, the assembly of intelligent terminal is tested;If intelligent terminal
All component normal, then by the interface of test system to factory test system output detections just
Normal prompting;If at least one assembly of intelligent terminal is abnormal, then by testing the interface of system
To the prompting that factory test system output detections is failed, so carry out operating system programming it
Before just complete the detection of apparatus assembly, after all component is normal, just carry out operating system
Programming, compared to existing technologies, reduces production cost, improves detection efficiency.
The embodiment of the present invention provides a kind of test system 01, as it is shown on figure 3, test system 01
Including:
Programming unit 011, for entering intelligent terminal to be detected by test program programming;Test journey
Sequence is independent of operating system;
Test cell 012, for starting the test system on intelligent terminal, and in test system
The assembly of intelligent terminal is tested by testing results program;
Tip element 013, if the assembly for intelligent terminal is normal, then by test system
Interface is pointed out normally to factory test system output detections;If at least one group of intelligent terminal
Part is abnormal, then by interface the carrying to the failure of factory test system output detections of test system
Show.
Optionally, if the assembly of intelligent terminal is normal, then programming unit 011 is additionally operable to:
Operating system programming is entered intelligent terminal.
Optionally, as shown in Figure 4, test system 01 also includes:
Program acquiring unit 014, for before test program programming is entered intelligent terminal, obtains
Take test program.
Optionally, program acquiring unit 014 specifically for:
Obtaining the first test program in operating system, the first test program is the one of test program
Subprogram;
Existing to first test program and factory test system the second test program is merged and obtains
Test program, the second test program is another part journey in addition to a part of program of test program
Sequence;Or
Directly generating test program according to detection content, detection content includes the need on intelligent terminal
Assembly to be detected, judge to need the most normal criterion of assembly of detection.
Wherein, the assembly of intelligent terminal includes: screen, backlight, receiver of remote-control sytem, button,
WiFi, bluetooth.
It addition, intelligent terminal mentioned in the embodiment of the present invention can be intelligent television, intelligence
The terminal such as mobile phone, panel computer.
The embodiment of the present invention provides a kind of test system, by will be independent of operation system before testing
The test program programming of system enters intelligent terminal to be detected, starts the test system on intelligent terminal
System, and in test system testing results program, the assembly of intelligent terminal is tested;If it is intelligent
The all component of terminal is normal, then by the interface of test system to factory test system output inspection
Survey normal prompting;If at least one assembly of intelligent terminal is abnormal, then by test system
Interface is to the failed prompting of factory test system output detections, so in the burning carrying out operating system
Just complete the detection of apparatus assembly before writing, after all component is normal, just carries out operation system
The programming of system, compared to existing technologies, reduces production cost, improves detection efficiency.
Through the above description of the embodiments, those skilled in the art can be clearly
Solution arrives, and for convenience and simplicity of description, only carries out illustrating with the division of above-mentioned each functional module
Bright, in actual application, can as desired above-mentioned functions be distributed by different functional modules
Complete, the internal structure of system will be divided into different functional modules, to complete above description
All or part of function.The specific works process of the system of foregoing description, system and unit,
It is referred to the corresponding process in preceding method embodiment, does not repeats them here.
In several embodiments provided herein, it should be understood that disclosed method and
System, can realize by another way.Such as, system embodiment described above is only
It is only illustrative, such as, described module or the division of unit, it is only a kind of logic function
Dividing, actual can have other dividing mode when realizing, and the most multiple unit or assembly are permissible
In conjunction with or be desirably integrated into another system, or some features can be ignored, or does not performs.
Another point, shown or discussed coupling each other or direct-coupling or communicate to connect permissible
It is the INDIRECT COUPLING by some interfaces, system or unit or communication connection, can be electrical,
Machinery or other form.
The described unit that illustrates as separating component can be or may not be and physically divide
Opening, the parts shown as unit can be or may not be physical location, the most permissible
It is positioned at a place, or can also be distributed on multiple NE.Can be according to reality
Need to select some or all of unit therein to realize the purpose of the present embodiment scheme.
It addition, each functional unit in each embodiment of the present invention can be integrated in a process
In unit, it is also possible to be that unit is individually physically present, it is also possible to two or more are single
Unit is integrated in a unit.Above-mentioned integrated unit both can realize to use the form of hardware,
The form that can also use SFU software functional unit realizes.
If described integrated unit realizes and as independent using the form of SFU software functional unit
When production marketing or use, can be stored in a computer read/write memory medium.Based on
Such understanding, prior art is contributed by technical scheme the most in other words
Part or completely or partially can the embodying with the form of software product of this technical scheme,
This computer software product is stored in a storage medium, including some instructions with so that one
Platform computer equipment (can be personal computer, server, or the network equipment etc.) or place
Reason device (processor) performs all or part of step of method described in each embodiment of the present invention.
And aforesaid storage medium includes: USB flash disk, portable hard drive, read-only storage (ROM,
Read-Only Memory), random access memory (RAM, Random Access
Memory), the various medium that can store program code such as magnetic disc or CD.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is also
Being not limited to this, any those familiar with the art is at the technology model that the invention discloses
In enclosing, change can be readily occurred in or replace, all should contain within protection scope of the present invention.
Therefore, protection scope of the present invention should be as the criterion with described scope of the claims.