CN108958211A - A kind of output bas line test method - Google Patents

A kind of output bas line test method Download PDF

Info

Publication number
CN108958211A
CN108958211A CN201810458945.6A CN201810458945A CN108958211A CN 108958211 A CN108958211 A CN 108958211A CN 201810458945 A CN201810458945 A CN 201810458945A CN 108958211 A CN108958211 A CN 108958211A
Authority
CN
China
Prior art keywords
mobile terminal
test
controls
posture
bas line
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.)
Pending
Application number
CN201810458945.6A
Other languages
Chinese (zh)
Inventor
谭国良
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Sangge'er Polytron Technologies Inc
Original Assignee
Shenzhen Sangge'er Polytron Technologies Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Sangge'er Polytron Technologies Inc filed Critical Shenzhen Sangge'er Polytron Technologies Inc
Priority to CN201810458945.6A priority Critical patent/CN108958211A/en
Publication of CN108958211A publication Critical patent/CN108958211A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0218Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterised by the fault detection method dealing with either existing or incipient faults
    • G05B23/0243Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterised by the fault detection method dealing with either existing or incipient faults model based detection method, e.g. first-principles knowledge model
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24065Real time diagnostics

Abstract

The invention discloses a kind of output bas line test method, this method are as follows: establishes the end PC to the connection between mobile terminal, and establishes the end PC to the connection between auxiliary mechanical mechanism;The end PC generates test item according to the type of mobile terminal;The end PC controls the mobile terminal and completes to test according to test item, while the end PC controls the posture for assisting mechanical institutional adjustment mobile terminal;The end PC obtains the mobile terminal test result.The present invention is adjusted the posture of mobile terminal by setting auxiliary mechanical mechanism auxiliary, and the project of the end the PC control test simultaneously collects the resulting data of test, simplifies test operation.

Description

A kind of output bas line test method
Technical field
Technical solution provided by the invention is related to off-the-shelf hardware detection field, and in particular to the test side in a kind of producing line Method.
Background technique
Electronic product test is the important link in electronic product production process.It tests for lacking in discovery electronic product It falls into, guarantees the quality important in inhibiting of electronic product.Manual test and automatic test are two kinds of bases of electronic product test This means, the two complement each other, and can not mutually replace.Wherein, automatic test can capture resource contention, multithreading, deadlock The equal indiscoverable mistake of manual tests, and a large amount of mechanicalnesses, reperformance test can be efficiently completed, can simulate mass data or The application scenarios such as a large amount of concurrent operations of person or user, thus effectively shorten the product test period, improve the reliability of test with And accuracy.
The detections such as paddy such as the general stability for being concentrated mainly on detection system of electronic product test software and safety at present Sing CTS, monkey that official provides and recommends.And for producing line youngster, need to detect the stabilization and peace of not only system It entirely, further include that each physical device works whether normal operation, whether circuit is unobstructed and whether basic function can be accurately real Existing, whether the cooperation between hardware and software is perfect.It is then desired to targetedly meet the automatic test of electronic product test Existing manual test is substituted, working efficiency is promoted.
Summary of the invention
For overcome the deficiencies in the prior art, the purpose of the present invention is intended to provide a kind of adaptive determining detection type and goes forward side by side The method of row detection.
Method provided by the invention is as follows:
A kind of output bas line test method, this method comprises: establishing the end PC to the connection between mobile terminal;Establish the end PC Connection between auxiliary mechanical mechanism;The end PC generates test item according to the type of mobile terminal;The end PC controls institute It states mobile terminal and completes to test according to test item, while the end PC controls the appearance for assisting mechanical institutional adjustment mobile terminal State;The end PC obtains the mobile terminal test result.
Further, after the end PC obtains the mobile terminal test result, this method further include: the end PC will be surveyed Test result standardized transmission to manufacturing enterprise's production process execute system (ManufacturingExecution System, mes)。
Further, establish the end PC to the connection between mobile terminal, specifically include: the end PC is issued to the mobile terminal Debug command;The mobile terminal is converted to debugging mode, and connect in this mode with the end PC.
Further, after the end PC generates test item according to the type of mobile terminal, this method further includes the PC End adjustment test item.
Further, the end PC controls the posture for assisting mechanical institutional adjustment mobile terminal, specifically includes: the PC End determines current test item;The end PC determines the corresponding posture in mobile terminal according to current test item;The end the PC control The posture for assisting mobile terminal described in mechanical structural adjustment.
Further, the end PC controls the mobile terminal and completes to test according to test item, specifically includes: the end PC The mainboard that integrated functionality on mainboard carries out is tested in the mobile terminal according to testing project control;The end PC is according to test item Control the mobile terminal on mainboard and its connection peripheral components carry out system test;The end PC is according to test item control It makes the mobile terminal and carries out burn-in test.
Further, the mainboard test, system test, burn-in test specifically include: the end PC sends control letter Breath controls the mobile terminal and starts test process;Reply the end the PC test process state in the mobile terminal;The end PC is sent It controls information and controls the mobile terminal test operation.
Further, the end PC sends control information and controls the mobile terminal test operation, specifically includes: the PC End compiling batch processing (Batch, bat) file is executable file;The end PC executes the order of executable file one by one, and controls Complete the test operation of corresponding order in mobile terminal processed;Test operation is completed according to the order that the end PC executes in the mobile terminal one by one, And test result is returned to the end PC.
Compared with prior art, the present invention adjusts the posture of mobile terminal by setting auxiliary mechanical mechanism auxiliary Whole, the project of the end the PC control test simultaneously collects the resulting data of test, simplifies test operation.
Detailed description of the invention
Fig. 1 is a kind of output bas line detection method flow chart of the present invention.
Fig. 2 is to establish the end PC to the flow chart connected between mobile terminal.
Fig. 3 is the flow chart of step S400 in Fig. 1.
Fig. 4 is the flow chart of step S500 in Fig. 1.
Fig. 5 is the flow chart of the test of mainboard described in Fig. 4, system test and burn-in test.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
The embodiment of the present invention provides a kind of output bas line detection method, is related to the end PC, mobile terminal, auxiliary mechanical mechanism System (Manufacturing Execution System, mes) is executed with manufacturing enterprise's production process, wherein the control of the end PC Mobile terminal auxiliary mechanical mechanism auxiliary under complete specific project test, and obtain test as a result, deposit the end mes supply after It is continuous to count and trace to the source, as shown in Figure 1, above-mentioned specific steps include:
Step S100: the end PC is established to the connection between mobile terminal and auxiliary mechanical mechanism.
The end PC controls the fortune of the auxiliary mechanical mechanism by wired or wireless connection type connection auxiliary mechanical mechanism Dynamic and stopping, and control the movement of the auxiliary mechanical mechanism.The end PC and the mobile terminal, which are established, to be communicated to connect, described in control Mobile terminal tested before preparation, referring to FIG. 2, specifically:
The end step S101:PC issues debug command to the mobile terminal.
The end PC is electrically connected by universal serial bus (Universal Serial Bus, USB) with the mobile terminal, And (USBDebug) signaling request mobile terminal is debugged by universal serial bus and carries out debugging connection.
Step S102: the mobile terminal is converted to debugging mode.
The mobile terminal is that the USB interface connecting with the end PC is set as USBDebug mode, and adjusts system mode, is closed The process for needing to call peripheral components and occupying the most of functions of mainboard is closed and hung up, necessary operation and processing energy are only retained Power, maintenance system run and execute detection work.
Step S103: the end PC is connect under debugging mode with the mobile terminal.
The end PC completes to connect under USBDebug mode with the mobile terminal, at this time the mobile terminal available end PC Debug command, the end PC can directly control mobile terminal in the case where not tied up, any hardware and software device for calling mobile terminal.
Step S200: the end PC is according to the type production test project of mobile terminal.
Mobile terminal can be the intelligent terminal including plate, mobile phone, and intelligent terminal operation has android system or other bases In the operating system that Linux derives from, these systems are including the device for obtaining the device integrated including mainboard and periphery addition Hardware information, and obtained by the way that hardware information is transmitted to the end PC under USBDebug mode for the program run on the end PC, and control Call each road hardware in mobile terminal processed.Under the premise of herein, the end PC obtains mobile terminal mainboard by the connection between mobile terminal The upper integrated relevant information, including processor model, power, frequency, core number, working method of device etc., the frequency of memory, The hardware capability informations such as capacity and usb interface, earphone interface, WiFi module, bluetooth module etc. are integrated in integrated on mainboard Interface, sensor and the relevant information of independent functional module.
According to the relevant information of the device integrated on the mobile terminal got, the end PC determines the device that can detecte Part, as test item, these test items are compiled into list, and test information and test item pair are generated after test It should and show.
Step S300: the end PC adjusts test item.
According to different devices, after the end PC determines the device that can detecte and output listing, some test items are not The necessity tested, such as the test that processor Continuous accumulation calculates and continuous logic calculates are usual before processor factory The stringent progress of meeting, user pass through the project of the end PC adjustment detection, the end PC control mobile terminal detection according to actual needs The test item for needing to detect.
Step S400: the end the PC control assists mechanical institutional adjustment posture.
After the end PC determines test item, control assists mechanical institutional adjustment posture, and the mobile terminal is assisted to complete test, than When as tested and calibrating gravity sensing, need that mobile phone is fixed respectively in two directions, while the mobile terminal Calibrate the basic data of gravity sensor.Control assists mechanical structural adjustment posture, referring to FIG. 3, specifically:
The end step S401:PC determines current test item.
The end PC determines current test item, and the end PC sends the order for starting test process to mobile terminal, and the mobile terminal is same When only carry out a test process, the end PC obtains the test process that mobile terminal currently carries out, and according to the Process flowchart auxiliary machine Tool structure.
The end step S402:PC determines the corresponding posture in mobile terminal according to current test item.
After the end PC obtains the test process that current mobile terminal carries out, being of use end according to the determination of the type of test should locate In state.The end PC is to test the gravity of tablet computer according to test process in specific implementation, determines tablet computer needs Horizontal positioned and tablet computer four edges are distinguished straight down, plate state perpendicular to the ground.It is another specific real The end Shi Zhong, PC is to test the gyroscope of tablet computer according to test process, and it is horizontal positioned to determine that tablet computer needs, it After need uniform rotation in the horizontal plane.
The end step S403:PC controls mobile terminal posture described in the mechanical structural adjustment of the auxiliary.
Control auxiliary mechanical mechanism in the end PC drives the mobile terminal to stablize in a kind of posture, and the end PC controls the movement After the corresponding process in test is completed at end, the end PC controls the auxiliary mechanical mechanism and the mobile terminal is driven to stablize in another appearance State, the end PC controls the correspondence process in the mobile terminal completion test, until getting test result.
Step S500: test is completed in the end PC control mobile terminal.
The PC controls the auxiliary mechanical structure and the mobile terminal stabilization is driven to control institute under one or more of postures It states mobile terminal and completes corresponding test item, referring to FIG. 4, specifically including:
The end step S501:PC carries out mainboard test according to current testing project control mobile terminal.
The end PC test item according to involved by mobile terminal, control the mobile terminal on mainboard integrate memory, WiFi communication module, bluetooth communication, GPS chip, memory, sim card slot, camera, loudspeaker, USB, key, SD card The interfaces of modules such as slot, multiple point touching identification are tested, and determine the reliable of mainboard interface, processor can by interface and The load of bus completion integrated device.
The end step S502:PC carries out system test according to current testing project control mobile terminal.
The end PC test item according to involved by mobile terminal, in the module for determining that mobile terminal can be integrated with normal load Afterwards, control the mobile terminal on mainboard integrate memory, WiFi communication module, bluetooth communication, GPS chip, memory, The modules such as sim card slot, camera, loudspeaker, USB, key, SD card slot, multiple point touching identification are tested, and determine mainboard It is compatible with device, device can normal interactive information, complete work.
The end step S503:PC controls mobile terminal and carries out burn-in test.
The end PC also controls mobile terminal and carries out burn-in test to normal work to do, and the execution of continuous several times includes switching on and shutting down, video Decoding, the display of 2D image, 3D rendering, the transmitting-receiving of communication module, suspend mode and the test of annular etc. guarantee the reliable of mobile terminal Property meets design requirement.
Step S600: the end PC obtains test result and formatted transport is to mes.
Test result and the ownship information including detection SN, No. imei, Bluetooth address, the address wifi pass through The formal mode of json, xml are stored into mes, for the yields of later period statistical product, failure rate, it is convenient in the future with confession It answers manufacturer to link up product defects and design requirement, while being traced to source when finding product quality problem in the later period, find product and deposit The reason of the problem.
It is tested in the mainboard, system test, during burn-in test, the end PC controls the mobile terminal and completes institute There is the test process of each test item in test item, the mobile terminal is under the control at the end PC, completion pair item by item The test of test item, to guarantee the precision of test to greatest extent.It is specific referring to Fig. 5:
It is executable file that the end step Sa1:PC, which compiles bat file,.
The test item that the end PC currently needs to complete according to mobile terminal generates the executable file of corresponding adb order .bat, and by this document it is compiled as executable file.
The end step Sa2:PC sends corresponding test command in executable file to mobile terminal one by one.
The end PC sequence executes the order in executable file, controls the mobile terminal and gradually carries out test assignment
Step Sa3: mobile terminal determines no ongoing test command.
The mobile terminal determines whether test process and is carrying out after receiving the order of the end PC transmission, if there is then by the life It enables the test process executed hang up, if carried out currently without test process, handles the test process.
Step Sa4: mobile terminal executes test command one by one, generates the file of specified format.
The mobile terminal executes corresponding test program, and generates the test result file of specified format.
Step Sa5: the file of specified format is returned to the end PC by the mobile terminal.
Test process is completed in the mobile terminal under the auxiliary of auxiliary mechanical mechanism, and returns to accordingly result number to the end PC According to.
In the embodiment for the gyro calibiatio i that a kind of pair of tablet computer integrates, the mobile terminal is tablet computer, described The end PC determines that tablet computer includes gyroscope, needs to calibrate gyroscope according to the hardware information of mobile terminal, the end PC The order for compiling and executing bat file alignment gyroscope is sent to tablet computer, and tablet computer receives calibration gyroscope Order, determination are carrying out currently without test process, run the detection procedure of gyroscope, and inform operating status to the end PC, The end PC obtains the detection procedure that the tablet computer starts gyroscope, and is needed according to gyro calibiatio i test by plate For the gesture stability of computer in the first posture of horizontal stationary, the end PC controls auxiliary mechanical mechanism for the posture tune of the tablet computer Whole and remain first state, tablet computer is determined in the case where remaining static, and is repeatedly obtained the data of gravity sensor, is asked flat After mean value and under horizontality, the normal data of gravity sensor is compared, and takes the difference as correction value record, backward Operating status is informed at the end PC, and the end PC in gyro calibiatio i process according to needing to control tablet computer the of horizontal stationary Tablet computer is adjusted and is maintained at the second posture by two postures, the end PC control auxiliary mechanical mechanism, and it is complete that the end PC controls tablet computer The difference verification of pairs of gyroscope, determines in the case where introducing the difference, gyroscope can correctly formulate orientation.
The foregoing is only a preferred embodiment of the present invention, but scope of protection of the present invention is not limited thereto, In the technical scope disclosed by the present invention, any changes or substitutions that can be easily thought of by anyone skilled in the art, It should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with scope of protection of the claims Subject to.

Claims (8)

1. a kind of output bas line test method, it is characterised in that: this method comprises:
The end PC is established to the connection between mobile terminal;
The end PC is established to the connection between auxiliary mechanical mechanism;
The end PC generates test item according to the type of mobile terminal;
The end PC controls the mobile terminal and completes to test according to test item, while the end PC controls the mechanical machine of the auxiliary The posture of structure adjustment mobile terminal;And
The end PC obtains the mobile terminal test result.
2. a kind of output bas line test method according to claim 1, it is characterised in that: the end PC obtains the shifting After the test result of moved end, this method further include: the end PC is by test result standardized transmission to manufacturing enterprise's production process Execution system (Manufacturing Execution System, mes).
3. a kind of output bas line test method according to claim 1, it is characterised in that: establish the end PC between mobile terminal Connection, specifically include:
The end PC issues debug command to the mobile terminal;And
The mobile terminal is converted to debugging mode, and connect in this mode with the end PC.
4. a kind of output bas line test method according to claim 1, it is characterised in that: the end PC is according to mobile terminal Type generate test item after, this method further includes, and the end PC adjusts test item.
5. a kind of output bas line test method according to claim 1, it is characterised in that: the end PC controls the auxiliary Mechanical mechanism adjusts the posture of mobile terminal, specifically includes:
The end PC determines current test item;
The end PC determines the corresponding posture in mobile terminal according to current test item;And
The end PC controls the posture for assisting mobile terminal described in mechanical structural adjustment.
6. a kind of output bas line test method according to claim 1, it is characterised in that: the end PC controls the movement End completes to test according to test item, specifically includes:
The mainboard that integrated functionality on mainboard carries out is tested in the end PC mobile terminal according to testing project control;
The end PC mobile terminal according to testing project control on mainboard and its connection peripheral components carry out complete machine survey Examination;And
The end PC mobile terminal according to testing project control carries out burn-in test.
7. a kind of output bas line test method according to claim 6, it is characterised in that: the mainboard test, complete machine Test, burn-in test specifically include: the end PC sends the control information control mobile terminal and starts test process;
Reply the end the PC test process state in the mobile terminal;
The end PC sends control information and controls the mobile terminal test operation.
8. a kind of output bas line test method according to claim 7, it is characterised in that: the end PC sends control letter Breath controls the mobile terminal test operation, specifically includes: the end PC compiling batch processing (Batch, the bat) file is as executable File;
The end PC executes the order of executable file one by one, and controls the test operation that corresponding order is completed in mobile terminal;And
The mobile terminal returns to test result to the end PC.
CN201810458945.6A 2018-05-15 2018-05-15 A kind of output bas line test method Pending CN108958211A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810458945.6A CN108958211A (en) 2018-05-15 2018-05-15 A kind of output bas line test method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810458945.6A CN108958211A (en) 2018-05-15 2018-05-15 A kind of output bas line test method

Publications (1)

Publication Number Publication Date
CN108958211A true CN108958211A (en) 2018-12-07

Family

ID=64499756

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810458945.6A Pending CN108958211A (en) 2018-05-15 2018-05-15 A kind of output bas line test method

Country Status (1)

Country Link
CN (1) CN108958211A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111831546A (en) * 2020-05-29 2020-10-27 大数金科网络技术有限公司 UI test framework method compatible with mobile terminal and PC terminal simultaneously
TWI799025B (en) * 2021-12-22 2023-04-11 技嘉科技股份有限公司 Processing system, device and method for automatic testing interface card

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101368991A (en) * 2007-08-15 2009-02-18 鹏智科技(深圳)有限公司 Electronic device test device and method thereof
CN104375911A (en) * 2014-11-24 2015-02-25 上海盈方微电子有限公司 Fast android whole machine function detection method based on android platform engineering mode
CN107917726A (en) * 2017-11-20 2018-04-17 上海与德科技有限公司 The test device and test method of sensor
CN207321362U (en) * 2017-08-08 2018-05-04 深圳市万臻时代通讯技术有限公司 A kind of mobile phone sensor intelligent test device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101368991A (en) * 2007-08-15 2009-02-18 鹏智科技(深圳)有限公司 Electronic device test device and method thereof
CN104375911A (en) * 2014-11-24 2015-02-25 上海盈方微电子有限公司 Fast android whole machine function detection method based on android platform engineering mode
CN207321362U (en) * 2017-08-08 2018-05-04 深圳市万臻时代通讯技术有限公司 A kind of mobile phone sensor intelligent test device
CN107917726A (en) * 2017-11-20 2018-04-17 上海与德科技有限公司 The test device and test method of sensor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111831546A (en) * 2020-05-29 2020-10-27 大数金科网络技术有限公司 UI test framework method compatible with mobile terminal and PC terminal simultaneously
TWI799025B (en) * 2021-12-22 2023-04-11 技嘉科技股份有限公司 Processing system, device and method for automatic testing interface card

Similar Documents

Publication Publication Date Title
KR101984363B1 (en) Methods and systems for a universal wireless platform for asset monitoring
CN107656872B (en) Software testing method, device, equipment and computer storage medium
WO2016082740A1 (en) Method of determining relative position of positioning terminal
CN109919919A (en) Pcb board detection method, device and computer readable storage medium
CN106054058A (en) System and method capable of performing testing and temperature control on multiple Sigma-Delta ADC chips
CN108509337A (en) The dynamic testing method and device called based on interface
WO2019033282A1 (en) Positioning system and building method therefor
CN108958211A (en) A kind of output bas line test method
CN105120483B (en) Automatic testing method and system for compatibility of smart card and mobile terminal
CN105511977A (en) Vehicle-mounted navigation system testing method and device
CN109633529B (en) Detection equipment, method and device for positioning accuracy of positioning system
CN108346404B (en) Parameter debugging method for time schedule controller and screen driving circuit
CN111769995B (en) Meter terminal management method, system, mobile terminal and readable storage medium
US20100312541A1 (en) Program test device and program
JP2013069281A (en) System and method for equipment monitoring component configuration
CN106201864A (en) A kind of application programming interface API method of testing, device and mobile device
CN114578790A (en) Unmanned aerial vehicle flight control automatic test method, system, equipment and medium
CN113127486A (en) Information collection and storage method, device, equipment and storage medium
CN110023770A (en) For testing method, test platform and the test macro of chip
CN114924546A (en) Calibration system and method for hardware-in-loop test
CN114116497A (en) Test method and device and server
CN109311135A (en) Long control device, manufacture system are surveyed, long control method is surveyed and surveys long control program
TWI653452B (en) Sensor test system and method applied thereto
CN110188021A (en) A kind of automated testing method of server
CN103559133A (en) Detection method, device and system of Android device system

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