CN106649006B - Method and system for starting automatic test of board card - Google Patents

Method and system for starting automatic test of board card Download PDF

Info

Publication number
CN106649006B
CN106649006B CN201610875639.3A CN201610875639A CN106649006B CN 106649006 B CN106649006 B CN 106649006B CN 201610875639 A CN201610875639 A CN 201610875639A CN 106649006 B CN106649006 B CN 106649006B
Authority
CN
China
Prior art keywords
test
starting
board card
mode
program
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.)
Active
Application number
CN201610875639.3A
Other languages
Chinese (zh)
Other versions
CN106649006A (en
Inventor
朱长春
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
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 Guangzhou Shiyuan Electronics Thecnology Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201610875639.3A priority Critical patent/CN106649006B/en
Publication of CN106649006A publication Critical patent/CN106649006A/en
Application granted granted Critical
Publication of CN106649006B publication Critical patent/CN106649006B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
  • Stored Programmes (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The invention relates to a method and a system for starting automatic test of a board, wherein the method comprises the following steps: when the board card is started, detecting that a preset test entering condition is met, and switching the current starting mode into a preset test starting mode; starting up according to the test starting-up mode, wherein in a starting-up process corresponding to the test starting-up mode: loading an automatic test program and a board card system service to be tested, and forbidding starting of the service irrelevant to board card test; running the automatic test program to automatically test the board card; when the board card is started, the current starting mode is switched to the preset test starting mode when the preset test entering condition is detected to be met, at the moment, only the automatic test program and the board card system service to be tested are loaded, the service irrelevant to the board card test is forbidden to be started, and the preparation time for the mainboard to start and enter the test is shortened.

Description

Method and system for starting automatic test of board card
Technical Field
The invention relates to the field of board card testing, in particular to a method and a system for starting automatic testing of a board card.
Background
In the smart television mainboard production field, when the TV mainboard was produced in the mill, in order to ensure the integrality of all components and parts functions on the mainboard, can satisfy the user to the functional requirement of software on the mainboard simultaneously, need carry out the start test after the integrated circuit board is produced.
Because the system of the intelligent television is huge and the starting speed is slow, most televisions can be assembled into complete televisions only after the functions are confirmed to be normal after testing is carried out during the production of the main board, the testing of the main board usually needs to be carried out after the system is initialized with all services and resources after the system is started, so that the testing time of each card is long at present, the production time of the whole main board is greatly prolonged in addition to the whole testing time, the delivery cycle of the main board is influenced, and the production cost of a factory is increased.
Disclosure of Invention
Therefore, the method and the system for starting the automatic test of the board card can shorten the preparation time for starting the main board to enter the test and enable the board card to quickly enter the test state.
A method for starting automatic test of a board comprises the following steps: when the board card is started, detecting that a preset test entering condition is met, and switching the current starting mode into a preset test starting mode; starting up according to the test starting-up mode, wherein in a starting-up process corresponding to the test starting-up mode: loading an automatic test program and a board card system service to be tested, and forbidding starting of the service irrelevant to board card test; and running the automatic test program to automatically test the board card.
Aiming at the defects of the prior art, the system for starting the automatic test of the board is also provided.
A system for a board to initiate automatic testing, comprising: the device comprises a starting-up mode detection module, a program loading module and a test module; the startup mode detection module is used for detecting that a preset test entering condition is met when the board card is started up, and switching the current startup mode into a preset test startup mode; the program loading module is used for starting up according to the test starting-up mode, and in the starting-up process corresponding to the test starting-up mode: loading an automatic test program and a board card system service to be tested, and forbidding starting of the service irrelevant to board card test; the test module is used for operating the automatic test program to automatically test the board card.
The beneficial effect of this scheme: when the board card is started, the current starting mode is switched to the preset test starting mode when the preset test entering condition is detected to be met, at the moment, only the automatic test program and the board card system service to be tested are loaded, the service irrelevant to the board card test is forbidden to be started, and the preparation time for the mainboard to start and enter the test is shortened.
Drawings
Fig. 1 is a schematic flow chart of a method for starting an automatic test by a board card according to an embodiment;
fig. 2 is a schematic flow chart of a method for starting an automatic test by a board card according to another embodiment;
fig. 3 is a schematic structural diagram of a system for starting automatic test by a board card according to an embodiment.
Detailed Description
In order to further explain the technical means and effects of the present invention, the following description of the present invention with reference to the accompanying drawings and preferred embodiments is provided for a clear and complete description of the technical solutions of the present invention.
Fig. 1 is a schematic flow chart of a method for starting an automatic test by a board card according to an embodiment. As shown in fig. 1, a method for starting an automatic test by a board includes:
s101, when the board card is started, detecting that a preset test entering condition is met, and switching a current starting mode into a preset test starting mode;
as a preferred embodiment, the method for detecting that the preset condition for entering the test is met when the board is powered on may be to detect that a start file for starting the test power-on mode exists in the external storage device, where the external storage device may be a mobile hard disk, a U disk, or another storage device. In the intelligent television with the Android system, a starting file for starting a test starting mode is an AT _ BOOT.file; the method for detecting that the preset test entering condition is met when the board card is started may also be that a preset instruction for starting the test starting mode is received, and the instruction is preset in the board card system.
When the board card is started, the board card does not detect that the preset condition for entering the test is met, the board card is normally started, and a normal starting process is started.
S102, starting up according to the test starting-up mode, wherein in the starting-up process corresponding to the test starting-up mode: loading an automatic test program and a board card system service to be tested, and forbidding starting of the service irrelevant to board card test;
in this embodiment, when the motherboard is to enter the test boot mode, some services or processes unrelated to the test are prohibited or stopped, the influence of the running of some software related to the production test of some unrelated factories on the test time is eliminated, and meanwhile, the service to be tested is run in advance, so that the board card enters the test state in advance, and the preparation time for entering the test is shortened.
S103, running the automatic test program to automatically test the board card;
as a preferred embodiment, the specific steps of automatically testing the board by the automatic test program are that the automatic test program is detected to be loaded, and the test program is operated to perform a first type of test on the board; when the completion of the system service of the board card to be tested is detected, the testing program is operated to carry out a second type of test on the board card; the first type of test comprises the test of non-TV related functions such as a USB port, Bluetooth, WiFi and software version number acquisition; the second type of test includes channel switching, image signal testing for switching ATV, DTV, and HDMI channels.
When the board card is started, the current starting mode is switched to the preset test starting mode when the preset test entering condition is detected to be met, at the moment, the starting of services irrelevant to the board card test is forbidden, only an automatic test program and the board card system service to be tested are loaded, the service to be tested is operated in advance, the board card is enabled to enter the test state in advance, and the preparation time for the mainboard to be started to enter the test is shortened.
The board is applied to many intelligent devices, and the following embodiments take the board test of the smart television as an example for explanation.
Fig. 2 is a schematic flow chart of a method for starting automatic test by a board card according to another embodiment. As shown in fig. 2, a method for starting an automatic test of a board is characterized by comprising:
s201, in a bootloader starting stage of an Android system, if an AT _ BOOT. file is detected in an external USB flash disk, it is confirmed that a preset test entering condition is met, and a current starting mode is switched to a preset test starting mode;
when the intelligent television TV board card is started, the system judges the current starting mode, and the starting mode can be selected in various modes. In the current field of intelligent electronics, many intelligent devices are Android systems, in an intelligent television using the Android system, AT a bootloader (a program or method for early system start) start stage of the system, a TV board card identifies files in a usb disk, since a start file when entering AT (auto test abbreviation) is an AT _ boot.
S202, starting up according to the test boot mode, loading an automatic test program at.bin and a board chip program tvos.bin, and prohibiting starting of a service unrelated to board test;
in this embodiment, when it is determined that the current boot-up enters the auto-test boot-up mode, the resource AT _ init.res required for starting the AT is initialized, where AT _ init.res includes all relevant resources required for starting the AT, and generally, AT _ init.res is a subset of the resource init.res required for normal boot-up.
S203, detecting that loading of an automatic test program AT.bin is completed, and testing a USB port, Bluetooth, WiFi and software version number acquisition on the board card;
in this embodiment, normally, since the automatic test program at.bin program is relatively shorter and simpler than the television chip program tvos.bin program, the at.bin will be started up first, in order to save the time required for testing the board card, when the at.bin is started up, the television board card can be tested conventionally, and before the television chip program tvos.bin is not started up, the related functions of the TV of the board card cannot be tested, wherein the conventional test includes the test of the non-TV related functions such as the USB port, the bluetooth, the WiFi, and the acquisition software version number.
And S204, detecting that the board card chip program TVOS.bin is loaded, and performing channel switching, ATV switching, DTV switching and HDMI channel image signal testing on the board card.
In this embodiment, when the activation of the card chip program TVOS is completed, TV-related functional tests such as channel switching, and the like may be performed, where the TV-related functional tests include channel switching, ATV switching, DTV, HDMI channel, and the like.
When the board card is normally started, all resources init.res required by normal startup are initialized, and a normal startup process is started.
After test verification, the automatic test program is started after normal startup according to the same chip scheme (MSD338) and the same version system program (android 4.4), and the automatic test ready state needs about 35 seconds, while the method of the scheme is used for starting the test program to the ready state, and only about 13 seconds are needed.
The implementation method of the technical scheme does not influence the normal use of the system by the terminal user, and can be said to be two system modes;
the beneficial effects of this embodiment include: in the bootloader starting stage of the Android system, an AT _ BOOT.file in an external USB flash disk is detected, the condition that the preset test entering condition is met is confirmed, an automatic test program AT.bin and a board card chip program TVOS.bin are loaded, and the AT.bin program is relatively short and simple compared with the board card chip program TVOS.bin program, so that the AT.bin can be started up first, and when the AT.bin is started up, a television board card can be tested, and the time required by the board card testing is saved.
In addition, aiming at the defects of the prior art, the system for starting the automatic test of the board is also provided.
Fig. 3 is a schematic structural diagram of a system for starting automatic test by a board card according to an embodiment. As shown in fig. 3, a system for starting automatic test of a board includes: a starting-up mode detection module 100, a program loading module 200 and a test module 300;
the startup mode detection module 100 is configured to detect that a preset test entry condition is met when the board card is started up, and switch a current startup mode to a preset test startup mode;
when the intelligent television TV board card is started, the system judges the current starting mode, and the starting mode can be selected in various modes.
The program loading module 200 is configured to start up according to the test start-up mode, and in a start-up process corresponding to the test start-up mode: loading an automatic test program and a board card system service to be tested, and forbidding starting of the service irrelevant to board card test;
in this embodiment, when the motherboard is to enter the test boot mode, some services or processes unrelated to the test are prohibited or stopped, the influence of the running of some software related to the production test of some unrelated factories on the test time is eliminated, and meanwhile, the service to be tested is run in advance, so that the board card enters the test state in advance, and the preparation time for entering the test is shortened.
And the test module 300 is configured to run the automatic test program to automatically test the board card.
As a preferred embodiment, the test module 300 is further configured to detect that the loading of the automatic test program is completed, and run the test program to perform a first type of test on the board card; when the completion of the system service of the board card to be tested is detected, the testing program is operated to carry out a second type of test on the board card; the first type of test comprises the test of non-TV related functions such as a USB port, Bluetooth, WiFi and software version number acquisition; the second type of test includes channel switching, image signal testing for switching ATV, DTV, and HDMI channels.
The startup mode detection module detects that a preset test entering condition is met when the board card is started, the current startup mode is switched to a preset test startup mode, at the moment, the program loading module prohibits starting of services irrelevant to board card test, and only loads an automatic test program and board card system services to be tested, the services to be tested are operated in advance, the board card is enabled to enter a test state in advance, and the preparation time for the mainboard to enter the test is shortened.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (5)

1. A method for starting automatic test of a board is characterized by comprising the following steps:
when the board card is started, detecting that a preset test entering condition is met, and switching the current starting mode into a preset test starting mode;
starting up according to the test starting-up mode, wherein in a starting-up process corresponding to the test starting-up mode: loading an automatic test program AT.bin and a board card chip program TVOS.bin, and forbidding starting of services irrelevant to board card test;
running the automatic test program AT.bin and the board card chip program TVOS.bin to automatically test the board card;
the step of running the automatic test program AT.bin and the board card chip program TVOS.bin to automatically test the board card comprises the following steps:
bin completion of loading of an automatic test program AT is detected, and testing of a USB port, Bluetooth, WiFi and software version number acquisition is carried out on a board card;
and (4) detecting that the board card chip program TVOS.bin is loaded, and carrying out image signal tests on the board card for channel switching, ATV switching, DTV (digital television) and HDMI (high-definition multimedia interface) channels.
2. The method for starting the automatic test of the board card according to claim 1, wherein the step of detecting that the preset test entry condition is met when the board card is powered on comprises:
and if the starting file for starting the test starting mode is detected to exist in the external storage equipment, the preset condition for entering the test is met.
3. The method for starting the automatic test of the board card according to claim 1, wherein the step of detecting that the preset test entry condition is met when the board card is powered on comprises:
and if a preset instruction for starting the test starting mode is received, a preset test entering condition is met.
4. The method for board startup automatic testing according to claim 2, comprising:
the start file for starting the test boot mode is an AT _ BOOT.file;
the board card system is an Android system;
the step of detecting that a preset condition for entering the test is met when the board card is started comprises the following steps:
in a bootloader starting stage of an Android system, if AT _ BOOT. file files are detected in an external USB flash disk, the condition of meeting the preset test entering condition is confirmed.
5. A system for starting automatic testing of a board, comprising: the device comprises a starting-up mode detection module, a program loading module and a test module;
the startup mode detection module is used for detecting that a preset test entering condition is met when the board card is started up, and switching the current startup mode into a preset test startup mode;
the program loading module is used for starting up according to the test starting-up mode, and in the starting-up process corresponding to the test starting-up mode: loading an automatic test program AT.bin and a board card chip program TVOS.bin, and forbidding starting of services irrelevant to board card test;
the test module is used for running the automatic test program AT.bin and the board chip program TVOS.bin to automatically test the board;
the test module is also used for testing the USB port, the Bluetooth, the WiFi and the acquired software version number of the board card when detecting that the loading of the AT.bin is finished; and (4) detecting that the board card chip program TVOS.bin is loaded, and carrying out image signal tests on the board card for channel switching, ATV switching, DTV (digital television) and HDMI (high-definition multimedia interface) channels.
CN201610875639.3A 2016-09-30 2016-09-30 Method and system for starting automatic test of board card Active CN106649006B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610875639.3A CN106649006B (en) 2016-09-30 2016-09-30 Method and system for starting automatic test of board card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610875639.3A CN106649006B (en) 2016-09-30 2016-09-30 Method and system for starting automatic test of board card

Publications (2)

Publication Number Publication Date
CN106649006A CN106649006A (en) 2017-05-10
CN106649006B true CN106649006B (en) 2020-05-19

Family

ID=58854310

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610875639.3A Active CN106649006B (en) 2016-09-30 2016-09-30 Method and system for starting automatic test of board card

Country Status (1)

Country Link
CN (1) CN106649006B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108563538A (en) * 2018-03-14 2018-09-21 广州视源电子科技股份有限公司 Board test method, system, readable storage medium storing program for executing and computer equipment
CN109976493B (en) * 2019-03-14 2020-09-04 苏州浪潮智能科技有限公司 Multi-mode submodule startup and shutdown control method and device
CN110362436A (en) * 2019-07-12 2019-10-22 深圳忆联信息系统有限公司 Improve the method and device of Bootrom testing efficiency
CN112887632A (en) * 2021-01-08 2021-06-01 深圳市龙之源科技股份有限公司 Monitoring equipment rapid photographing processing method and device, monitoring equipment and storage

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1690976A (en) * 2004-04-24 2005-11-02 鸿富锦精密工业(深圳)有限公司 Automatic test system and method for mainboard
CN103399809B (en) * 2013-07-23 2016-08-10 珠海全志科技股份有限公司 Board method of testing and test device
CN104239211B (en) * 2014-09-26 2018-07-06 广东欧珀移动通信有限公司 A kind of mobile terminal rapidly enters the method and its device of test pattern
CN104459515A (en) * 2014-11-14 2015-03-25 深圳市金锐显数码科技有限公司 Mainboard production testing method
CN104794032B (en) * 2015-04-23 2018-09-18 福州大学 A method of realizing intelligent display hardware module automatic test

Also Published As

Publication number Publication date
CN106649006A (en) 2017-05-10

Similar Documents

Publication Publication Date Title
CN106649006B (en) Method and system for starting automatic test of board card
CN106201574B (en) Application interface starting method and device
KR101298364B1 (en) System and method of reducing factory program time for wireless devices
CN105187791A (en) Vehicle-mounted reverse video display method and device
CN104978231A (en) Multisystem device based on internal storage partitions and loading and switching method thereof
CN107368343B (en) Terminal starting method based on android system, terminal and storage medium
CN106648685B (en) Intelligent terminal system application processing method and device and intelligent terminal
CN104469504A (en) Method for rapidly starting Android smart television
CN105740010A (en) Power-on method and terminal equipment
WO2018099253A1 (en) Self-starting method and device
CN105260275A (en) Power on/off testing method applicable to automatic configuration partition of high-end host computer
CN106250263B (en) Standby process control device and standby process control method for electronic device
CN1983177A (en) System and method for selecting computer starting equipment
CN105430503A (en) Starting method and device of digital television
CN106713596B (en) Video playing method and device and mobile terminal
CN104239211A (en) Method and device for enabling mobile terminal to rapidly enter test mode
CN103544039A (en) Plug-in loading processing method and device
CN107957890B (en) Dynamically loading and deploying test files to prevent interruption of test execution
US20120303874A1 (en) Information processing unit and information processing method
CN111742297A (en) Firmware starting method, equipment and computer readable storage medium
CN103544061A (en) Smart television based safe exit method and device for external storage device
CN109240749B (en) Starting device and starting method of electronic equipment
CN107979774B (en) Terminal starting method, terminal and storage medium
CN107423168B (en) Test method and test device
CN110389878B (en) Program monitoring method, device, system on chip and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant