CN115080328A - Board card testing method and system - Google Patents

Board card testing method and system Download PDF

Info

Publication number
CN115080328A
CN115080328A CN202211010011.9A CN202211010011A CN115080328A CN 115080328 A CN115080328 A CN 115080328A CN 202211010011 A CN202211010011 A CN 202211010011A CN 115080328 A CN115080328 A CN 115080328A
Authority
CN
China
Prior art keywords
test
board card
current
item
address
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
CN202211010011.9A
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.)
Jiangxi Firefly Microelectronics Technology Co ltd
Original Assignee
Jiangxi Firefly Microelectronics Technology 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 Jiangxi Firefly Microelectronics Technology Co ltd filed Critical Jiangxi Firefly Microelectronics Technology Co ltd
Priority to CN202211010011.9A priority Critical patent/CN115080328A/en
Publication of CN115080328A publication Critical patent/CN115080328A/en
Pending legal-status Critical Current

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/2273Test methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/80Information retrieval; Database structures therefor; File system structures therefor of semi-structured data, e.g. markup language structured data such as SGML, XML or HTML
    • G06F16/83Querying
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/80Information retrieval; Database structures therefor; File system structures therefor of semi-structured data, e.g. markup language structured data such as SGML, XML or HTML
    • G06F16/84Mapping; Conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Abstract

The invention provides a board testing method and a board testing system, wherein the method comprises the steps of identifying keyword data in a testing instruction, and finding out a corresponding target testing item in a preset item database according to the keyword data; identifying the IP address of the test board card, and finding out a corresponding test file in a preset test database according to the target test item and the IP address; converting the test file into a corresponding XML file, and sending the XML file to the test board card; calling a plurality of test programs in the XML file one by one in the test board card, and correspondingly transmitting the test programs to a plurality of test ports in the test board card respectively so as to enable the test board card to correspondingly execute the test programs; and receiving a test result fed back by the test board card, and generating a corresponding detection table according to the test result. By means of the method, the test of the board card can be completed simply and quickly, so that the time for testing the board card is shortened greatly, and the test efficiency of the board card is improved.

Description

Board card testing method and system
Technical Field
The invention relates to the technical field of data processing, in particular to a board test method and a board test system.
Background
The board card is one of printed circuit boards (PCB for short), has a plug core when being manufactured, can be inserted into a slot of a main circuit board (mainboard) of a computer to control the operation of hardware, such as a display, a collection card and other devices, and can realize corresponding hardware functions after a driving program is installed.
In order to ensure the product quality of the board card, the existing board card needs to be subjected to performance testing before leaving a factory, and defective products are discovered in time.
However, in the prior art, most of the board cards are subjected to one-to-one performance test in a manual mode, and a worker is required to continuously and manually write a corresponding test program on a test server, so that the test time consumed by each board card is long, the test efficiency of the board card is reduced, and the large-scale production of the board card is not facilitated.
Disclosure of Invention
Based on this, the invention aims to provide a board test method and a board test system, so as to solve the problems that in the prior art, most of the board tests the performance of each board one by one in a manual mode, and a worker needs to continuously and manually write a corresponding test program on a test server, so that the test time consumed by each board is long, the test efficiency of the board is reduced, and the large-scale production of the board is not facilitated.
The first aspect of the embodiments of the present invention provides a board testing method, where the method includes:
when a test instruction is received, identifying keyword data in the test instruction, and finding out a corresponding target test item in a preset item database according to the keyword data;
identifying the IP address of the current test board card, and finding out a corresponding test file in a preset test database according to the target test item and the IP address;
converting the test file into a corresponding XML file, and establishing wired communication connection with the current test board card so as to send the XML file to the current test board card;
calling a plurality of test programs in the XML file one by one in the current test board card, and correspondingly transmitting the plurality of test programs to a plurality of test ports in the current test board card respectively so as to enable the current test board card to correspondingly execute the plurality of test programs;
and receiving a test result fed back by the current test board card, and generating a corresponding detection table according to the test result.
The invention has the beneficial effects that: when a test instruction is received, immediately identifying keyword data in the current test instruction, and searching a corresponding target test item in a preset item database according to the current keyword data; correspondingly, identifying the IP address of the current test board card, and finding out a corresponding test file in a preset test database according to the target test item and the IP address; on the basis, converting the current test file into a corresponding XML file, and establishing wired communication connection with the current test board card so as to send the XML file to the current test board card; furthermore, a plurality of test programs in the XML file are called one by one from the current test board card, and the current test programs are respectively and correspondingly transmitted to a plurality of test ports in the current test board card, so that the current test board card correspondingly executes a plurality of test programs; and finally, only receiving the test result fed back by the current test board card, and generating a corresponding detection table according to the fed-back test result. According to the mode, on the premise that manual participation is not needed, the test of each board card can be simply and quickly completed, so that the board card test time is greatly shortened, the board card test efficiency is correspondingly improved, and the board card test system is suitable for large-scale popularization and use.
Preferably, the step of correspondingly transmitting the plurality of test programs to a plurality of test ports in the test board card respectively so that the test board card executes the plurality of test programs correspondingly includes:
acquiring the test time of the current test board card for executing a plurality of test programs, and judging whether the test time is within a preset time threshold value;
if the test time is judged not to be within the preset time threshold, sending a reset instruction to the current test board card so as to enable the current test board card to execute a plurality of test programs again;
preferably, after the step of receiving the test result fed back by the current test board card and generating the corresponding detection table according to the test result, the method further includes:
identifying a plurality of test values in the detection table, and judging whether the plurality of test values respectively correspond to preset standard threshold values;
if the test values are judged not to be within the preset standard threshold, correspondingly sending out bad prompt information, and marking the current test board card as a defective product.
The algorithm for finding out the corresponding target test item in the preset item database according to the keyword data is as follows:
Figure 78914DEST_PATH_IMAGE001
wherein, E { x n Denotes the target test item, N denotes the total number of items, x i Representing the ith test item, and n represents the keyword data;
wherein, the algorithm for converting the test file into the corresponding XML file is as follows:
Figure 693566DEST_PATH_IMAGE002
wherein S represents the XML file, R X (m) represents an autocorrelation function, e represents the test file, and fs represents a switching frequency;
the algorithm for generating the corresponding detection table according to the test result is as follows:
Figure 865922DEST_PATH_IMAGE003
wherein F represents the detection table, a 0 …a k Cosine coefficients representing Fourier factors, b 1 …b k Respectively, the sine coefficients of the fourier factors, k the test results, and λ the detection constant.
Preferably, the method further comprises:
and establishing a wired communication connection with a display device, and sending the detection meter to the display device in real time so as to display the detection meter on a display interface of the display device in real time.
Preferably, the step of identifying the IP address of the current test board includes:
when the IP address of the current test board card is received, judging whether the IP address of the current test board card is complete;
and if the current IP address of the test board card is not complete, repairing the current IP address of the test board card based on a preset IP address database.
Preferably, the method further comprises:
finding out a control signal corresponding to the XML file, and analyzing coordinate information of the target test item in the XML file according to the control signal;
and detecting a coordinate point corresponding to the coordinate information so as to start the target test item according to the coordinate point.
Preferably, the method further comprises:
and when the number of the target test items is at least two, receiving a selection instruction issued by a user, and starting the corresponding target test item according to the selection instruction.
A second aspect of the embodiments of the present invention provides a board test system, where the system includes:
the first searching module is used for identifying keyword data in a test instruction when the test instruction is received, and searching a corresponding target test item in a preset item database according to the keyword data;
the identification module is used for identifying the IP address of the current test board card and finding out a corresponding test file in a preset test database according to the target test item and the IP address;
the conversion module is used for converting the test file into a corresponding XML file and establishing wired communication connection with the current test board card so as to send the XML file to the current test board card;
the test module is used for calling a plurality of test programs in the XML file one by one in the current test board card and correspondingly transmitting the test programs to a plurality of test ports in the current test board card respectively so as to enable the current test board card to correspondingly execute the test programs;
the receiving module is used for receiving a test result fed back by the current test board card and generating a corresponding detection table according to the test result;
in the board card test system, the test module is specifically configured to:
acquiring the test time of the current test board card for executing a plurality of test programs, and judging whether the test time is within a preset time threshold value;
if the test time is judged not to be within the preset time threshold, sending a reset instruction to the current test board card so as to enable the current test board card to execute a plurality of test programs again;
among the above-mentioned board card test system, the board card test system still includes the judgment module, the judgment module is specifically used for:
identifying a plurality of test values in the detection table, and judging whether the plurality of test values respectively correspond to preset standard threshold values;
if the test values are judged not to be within the preset standard threshold, correspondingly sending out bad prompt information, and marking the current test board card as a defective product.
The algorithm for finding out the corresponding target test item in the preset item database according to the keyword data is as follows:
Figure 817697DEST_PATH_IMAGE001
wherein, E { x n Denotes the target test item, N denotes the total number of items, x i Representing the ith test item, and n represents the keyword data;
wherein, the algorithm for converting the test file into the corresponding XML file is as follows:
Figure 962371DEST_PATH_IMAGE002
wherein S represents the XML file, R X (m) represents an autocorrelation function, e represents the test file, and fs represents a switching frequency;
the algorithm for generating the corresponding detection table according to the test result is as follows:
Figure 810241DEST_PATH_IMAGE003
wherein F represents the detection table, a 0 …a k Cosine coefficients representing Fourier factors, b 1 …b k Respectively, the sine coefficients of the fourier factors, k the test results, and λ the detection constant.
Among the above-mentioned integrated circuit board test system, integrated circuit board test system still includes display module, display module specifically is used for:
and establishing a wired communication connection with a display device, and sending the detection meter to the display device in real time so as to display the detection meter on a display interface of the display device in real time.
In the board card test system, the identification module is specifically configured to:
when the IP address of the current test board card is received, judging whether the IP address of the current test board card is complete;
and if the current IP address of the test board card is not complete, repairing the current IP address of the test board card based on a preset IP address database.
In the board test system, the board test system further includes a second search module, and the second search module is specifically configured to:
finding out a control signal corresponding to the XML file, and analyzing coordinate information of the target test item in the XML file according to the control signal;
and detecting a coordinate point corresponding to the coordinate information so as to start the target test item according to the coordinate point.
In the board test system, the board test system further includes a selection module, and the selection module is specifically configured to:
and when the number of the target test items is at least two, receiving a selection instruction issued by a user, and starting the corresponding target test item according to the selection instruction.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
Fig. 1 is a flowchart of a board test method according to a first embodiment of the present invention;
fig. 2 is a block diagram of a board test system according to a second embodiment of the present invention.
The following detailed description will further illustrate the invention in conjunction with the above-described figures.
Detailed Description
To facilitate an understanding of the invention, the invention will now be described more fully with reference to the accompanying drawings. Several embodiments of the invention are presented in the drawings. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
It will be understood that when an element is referred to as being "secured to" another element, it can be directly on the other element or intervening elements may also be present. When an element is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may also be present. The terms "vertical," "horizontal," "left," "right," and the like as used herein are for illustrative purposes only.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
In the prior art, most of the board cards are subjected to one-to-one performance test in a manual mode, and a worker is required to continuously and manually write a corresponding test program on a test server, so that the test time of each board card is long, the test efficiency of the board card is reduced, and the large-scale production of the board card is not facilitated.
Referring to fig. 1, a board test method according to a first embodiment of the present invention is shown, where the board test method provided in this embodiment can simply and quickly complete the test of each board without human intervention, so as to greatly shorten the board test time, correspondingly improve the board test efficiency, and is suitable for wide popularization and use.
Specifically, the board card testing method provided by this embodiment specifically includes the following steps:
step S10, when a test instruction is received, identifying keyword data in the test instruction, and finding out a corresponding target test item in a preset item database according to the keyword data;
specifically, in this embodiment, it is first described that the board test method provided in this embodiment is specifically applied to electronic devices such as computers and mobile phones, which need to mount boards, and is used for testing the usability of the boards, so as to ensure the product quality of the boards. In addition, it should be noted that the board test method provided in this embodiment is implemented based on a test server arranged in the background, where an item database, a test database, and an IP address database are preset in the test server.
Therefore, in this step, it should be noted that, when the test server receives the test instruction of the board, the current test server may immediately identify the keyword data in the current test instruction, specifically, the keyword data may be a keyword such as a heating value, power, and operating voltage.
Furthermore, after the test server identifies the keyword data in the current test instruction, the current test server may further correspondingly find out a required target test item in an item database preset in the current test server according to the identified keyword data.
Step S20, identifying the IP address of the current test board card, and finding out the corresponding test file in a preset test database according to the target test item and the IP address;
further, in this step, it should be noted that, after the test server obtains the required target test item, the current test server further identifies an IP address in the current test board, where it is noted that the IP address of each test board has uniqueness, that is, each test board has only one corresponding IP address.
On the basis, the test server further searches a corresponding test file in a test database preset in the test server according to the target test item and the identified IP address.
In this step, it should be noted that the step of identifying the IP address of the current test board includes:
when the IP address of the current test board card is received, judging whether the IP address of the current test board card is complete;
and if the current IP address of the test board card is not complete, repairing the current IP address of the test board card based on a preset IP address database.
It should be noted that, when the test server receives the IP address of the current test board, the current test server may determine whether the IP address of the current test board is complete in real time, where it is pointed out that the current test server can effectively test the test board only on the premise that the IP address of the test board is complete.
Further, if the test server determines that the IP address of the current test board card is incomplete, the IP address of the current test board card is immediately repaired based on the preset IP address database inside the test server, so as to facilitate subsequent processing.
Step S30, converting the test file into a corresponding XML file, and establishing a wired communication connection with the current test board card so as to issue the XML file to the current test board card;
specifically, in this step, it should be noted that after the test server obtains the IP address and the test file of the current test board through the above steps, the current test server further converts the obtained test file into a file in an XML format, where it is pointed out that the XML file has a characteristic of fast reading speed, so as to save the time for reading the file.
On the basis, the current test server can immediately establish effective communication connection with the current test board card, and meanwhile, the converted XML file is sent to the current test board card to formally start testing.
Step S40, calling a plurality of test programs in the XML file one by one in the current test board card, and correspondingly transmitting the test programs to a plurality of test ports in the current test board card respectively so as to enable the current test board card to correspondingly execute the test programs;
further, in this step, it should be noted that the test server may further call a plurality of test programs in the XML file one by one inside the current test board card, where it is understood that the current board card is tested through the called test programs in this embodiment.
On the basis, the current test server correspondingly transmits the current test programs to the test ports of the current test board card respectively, so that the current test board card executes the currently input test program.
It should be noted that, the step of correspondingly transmitting the plurality of test programs to the plurality of test ports in the test board card respectively so that the test board card executes the plurality of test programs correspondingly includes:
acquiring the test time of the current test board card for executing a plurality of test programs, and judging whether the test time is within a preset time threshold value;
if the test time is judged not to be within the preset time threshold, sending a reset instruction to the current test board card so as to enable the current test board card to execute a plurality of test programs again;
in this step, it should be noted that the test resources can be effectively saved by setting the time threshold, so that the test server is prevented from being in a state of testing one board card for a long time, and the test efficiency of the board card is effectively improved.
Step S50, receiving a test result fed back by the current test board card, and generating a corresponding detection table according to the test result;
finally, in this step, it should be noted that, after the test server provided in this embodiment receives the test result fed back by the current test board, the current test server can further generate a corresponding detection table according to the received test result, so that the worker can intuitively judge whether the performance of the current board reaches the standard.
In this embodiment, it should be further noted that, after the step of receiving the test result fed back by the current test board and generating the corresponding detection table according to the test result, the method further includes:
identifying a plurality of test values in the detection table, and judging whether the plurality of test values respectively correspond to preset standard threshold values;
if the test values are judged not to be within the preset standard threshold, correspondingly sending out bad prompt information, and marking the current test board card as a defective product.
The algorithm for finding out the corresponding target test item in the preset item database according to the keyword data is as follows:
Figure 532209DEST_PATH_IMAGE001
wherein, E { x n Denotes the target test item, N denotes the total number of items, x i Representing the ith test item, and n represents the keyword data;
wherein, the algorithm for converting the test file into the corresponding XML file is as follows:
Figure 163042DEST_PATH_IMAGE002
wherein S represents the XML file, R X (m) represents an autocorrelation function, e represents the test file, and fs represents a switching frequency;
the algorithm for generating the corresponding detection table according to the test result is as follows:
Figure 958960DEST_PATH_IMAGE004
wherein F represents the detection table, a 0 …a k Cosine coefficients representing Fourier factors, b 1 …b k Respectively, the sine coefficients of the fourier factors, k the test results, and λ the detection constant.
In this step, it should be noted that, by comparing the test values in the generated test table with the preset standard thresholds in the test server, it can be objectively and accurately determined whether the current test board is good or bad.
In addition, in this embodiment, it should be further noted that the method further includes:
and establishing a wired communication connection with a display device, and sending the detection meter to the display device in real time so as to display the detection meter on a display interface of the display device in real time.
Furthermore, it should be noted that, in this embodiment, the current test server is externally connected to a display device, and the detection table is displayed on a display interface of the display device in real time, so that the worker can check the test result of the current test board card in real time.
Further, in this embodiment, it should be noted that the method further includes:
finding out a control signal corresponding to the XML file, and analyzing coordinate information of the target test item in the XML file according to the control signal;
and detecting a coordinate point corresponding to the coordinate information to start the target test item according to the coordinate point, so that the target test item can be started accurately.
Further, in this embodiment, it should be further noted that the method further includes:
and when the number of the target test items is at least two, receiving a selection instruction issued by a user, and starting the corresponding target test item according to the selection instruction, so that the plurality of target test items can be effectively processed according to the selection of the user.
When the test system is used, when a test instruction is received, the keyword data in the current test instruction is immediately identified, and a corresponding target test item is found in a preset item database according to the current keyword data; correspondingly, identifying the IP address of the current test board card, and finding out a corresponding test file in a preset test database according to the target test item and the IP address; on the basis, converting the current test file into a corresponding XML file, and establishing wired communication connection with the current test board card so as to send the XML file to the current test board card; furthermore, a plurality of test programs in the XML file are called one by one from the current test board card, and the current test programs are respectively and correspondingly transmitted to a plurality of test ports in the current test board card, so that the current test board card correspondingly executes a plurality of test programs; and finally, only receiving the test result fed back by the current test board card, and generating a corresponding detection table according to the fed back test result. According to the mode, on the premise that manual participation is not needed, the test of each board card can be simply and quickly completed, so that the board card test time is greatly shortened, the board card test efficiency is correspondingly improved, and the board card test system is suitable for large-scale popularization and use.
It should be noted that the above implementation process is only for illustrating the applicability of the present application, but this does not mean that the board testing method of the present application has only the above-mentioned one implementation flow, and on the contrary, the board testing method of the present application can be incorporated into the feasible embodiments of the present application as long as the board testing method of the present application can be implemented.
In summary, the board test method provided by the embodiment of the invention can simply and rapidly complete the test of each board without human intervention, thereby greatly shortening the board test time, correspondingly improving the board test efficiency, and being suitable for large-scale popularization and use.
Referring to fig. 2, a board test system according to a second embodiment of the present invention is shown, and the system includes:
the first searching module 12 is configured to, when a test instruction is received, identify keyword data in the test instruction, and search a corresponding target test item in a preset item database according to the keyword data;
the identification module 22 is configured to identify an IP address of the current test board, and find out a corresponding test file in a preset test database according to the target test item and the IP address;
the conversion module 32 is configured to convert the test file into a corresponding XML file, and establish a wired communication connection with the current test board, so as to send the XML file to the current test board;
the test module 42 is configured to call a plurality of test programs in the XML file one by one in the current test board, and correspondingly transmit the plurality of test programs to a plurality of test ports in the current test board, so that the current test board correspondingly executes the plurality of test programs;
the receiving module 52 is configured to receive a test result fed back by the current test board, and generate a corresponding detection table according to the test result;
in the board card test system, the test module 42 is specifically configured to:
acquiring the test time of the current test board card for executing a plurality of test programs, and judging whether the test time is within a preset time threshold value;
if the test time is judged not to be within the preset time threshold, sending a reset instruction to the current test board card so as to enable the current test board card to execute a plurality of test programs again;
in the board test system, the board test system further includes a determination module 62, where the determination module 62 is specifically configured to:
identifying a plurality of test values in the detection table, and judging whether the plurality of test values respectively correspond to preset standard threshold values;
if the test values are judged not to be within the preset standard threshold, correspondingly sending out bad prompt information, and marking the current test board card as a defective product;
the algorithm for finding out the corresponding target test item in the preset item database according to the keyword data is as follows:
Figure 40048DEST_PATH_IMAGE001
wherein, E { x n Denotes the target test item, N denotes the total number of items, x i Representing the ith test item, and n represents the keyword data;
wherein, the algorithm for converting the test file into the corresponding XML file is as follows:
Figure 186996DEST_PATH_IMAGE002
wherein S represents the XML file, R X (m) represents an autocorrelation function, e represents the test file, and fs represents a switching frequency;
the algorithm for generating the corresponding detection table according to the test result is as follows:
Figure 385634DEST_PATH_IMAGE005
wherein F represents the detection table, a 0 …a k Cosine coefficients representing Fourier factors, b 1 …b k Respectively, the sine coefficients of the fourier factors, k the test results, and λ the detection constant.
Among the above-mentioned board card test system, the board card test system further includes a display module 72, and the display module 72 is specifically configured to:
and establishing a wired communication connection with a display device, and sending the detection meter to the display device in real time so as to display the detection meter on a display interface of the display device in real time.
In the board card test system, the identification module 22 is specifically configured to:
when the IP address of the current test board card is received, judging whether the IP address of the current test board card is complete;
and if the current IP address of the test board card is not complete, repairing the current IP address of the test board card based on a preset IP address database.
In the board test system, the board test system further includes a second search module 82, and the second search module 82 is specifically configured to:
finding out a control signal corresponding to the XML file, and analyzing coordinate information of the target test item in the XML file according to the control signal;
and detecting a coordinate point corresponding to the coordinate information so as to start the target test item according to the coordinate point.
In the board test system, the board test system further includes a selection module 92, and the selection module 92 is specifically configured to:
and when the number of the target test items is at least two, receiving a selection instruction issued by a user, and starting the corresponding target test item according to the selection instruction.
In summary, the board test method and system provided by the embodiments of the present invention can simply and quickly complete the test of each board without human intervention, thereby greatly shortening the board test time, correspondingly improving the board test efficiency, and being suitable for wide-scale popularization and use.
The above modules may be functional modules or program modules, and may be implemented by software or hardware. For a module implemented by hardware, the above modules may be located in the same processor; or the modules can be respectively positioned in different processors in any combination.
The logic and/or steps represented in the flowcharts or otherwise described herein, such as an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
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 present 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 (10)

1. A method for testing a board, the method comprising:
when a test instruction is received, identifying keyword data in the test instruction, and finding out a corresponding target test item in a preset item database according to the keyword data;
identifying the IP address of the current test board card, and finding out a corresponding test file in a preset test database according to the target test item and the IP address;
converting the test file into a corresponding XML file, and establishing wired communication connection with the current test board card so as to send the XML file to the current test board card;
calling a plurality of test programs in the XML file one by one in the current test board card, and correspondingly transmitting the plurality of test programs to a plurality of test ports in the current test board card respectively so as to enable the current test board card to correspondingly execute the plurality of test programs;
receiving a test result fed back by the current test board card, and generating a corresponding detection table according to the test result;
the step of correspondingly transmitting the plurality of test programs to a plurality of test ports in the current test board card respectively so that the current test board card correspondingly executes the plurality of test programs includes:
acquiring the test time of the current test board card for executing a plurality of test programs, and judging whether the test time is within a preset time threshold value;
if the test time is judged not to be within the preset time threshold, sending a reset instruction to the current test board card so as to enable the current test board card to execute a plurality of test programs again;
after the step of receiving the test result fed back by the current test board card and generating the corresponding detection table according to the test result, the method further includes:
identifying a plurality of test values in the detection table, and judging whether the plurality of test values respectively correspond to preset standard threshold values;
if the test values are judged not to be within the preset standard threshold, correspondingly sending out bad prompt information, and marking the current test board card as a defective product;
the algorithm for finding out the corresponding target test item in the preset item database according to the keyword data is as follows:
Figure 215441DEST_PATH_IMAGE001
wherein, E { x n Denotes the target test item, N denotes the total number of items, x i Representing the ith test item, and n represents the keyword data;
wherein, the algorithm for converting the test file into the corresponding XML file is as follows:
Figure 966359DEST_PATH_IMAGE002
wherein S represents the XML file, R X (m) represents an autocorrelation function, e represents the test file, and fs represents a switching frequency;
the algorithm for generating the corresponding detection table according to the test result is as follows:
Figure 198758DEST_PATH_IMAGE003
wherein F represents the detection table, a 0 …a k Cosine coefficients representing Fourier factors, b 1 …b k Respectively, the sine coefficients of the fourier factors, k the test results, and λ the detection constant.
2. The board card testing method according to claim 1, characterized in that: the method further comprises the following steps:
and establishing a wired communication connection with a display device, and sending the detection meter to the display device in real time so as to display the detection meter on a display interface of the display device in real time.
3. The board card testing method according to claim 1, characterized in that: the step of identifying the IP address of the current test board comprises:
when the IP address of the current test board card is received, judging whether the IP address of the current test board card is complete;
and if the current IP address of the test board card is judged to be incomplete, repairing the current IP address of the test board card based on a preset IP address database.
4. The board card testing method according to claim 1, characterized in that: the method further comprises the following steps:
finding out a control signal corresponding to the XML file, and analyzing coordinate information of the target test item in the XML file according to the control signal;
and detecting a coordinate point corresponding to the coordinate information so as to start the target test item according to the coordinate point.
5. The board card testing method according to claim 1, characterized in that: the method further comprises the following steps:
and when the number of the target test items is at least two, receiving a selection instruction issued by a user, and starting the corresponding target test item according to the selection instruction.
6. A board testing system, the system comprising:
the first searching module is used for identifying keyword data in a test instruction when the test instruction is received, and searching a corresponding target test item in a preset item database according to the keyword data;
the identification module is used for identifying the IP address of the current test board card and finding out a corresponding test file in a preset test database according to the target test item and the IP address;
the conversion module is used for converting the test file into a corresponding XML file and establishing wired communication connection with the current test board card so as to send the XML file to the current test board card;
the test module is used for calling a plurality of test programs in the XML file one by one in the current test board card and correspondingly transmitting the test programs to a plurality of test ports in the current test board card respectively so as to enable the current test board card to correspondingly execute the test programs;
the receiving module is used for receiving a test result fed back by the current test board card and generating a corresponding detection table according to the test result;
wherein the test module is specifically configured to:
acquiring the test time of the current test board card for executing a plurality of test programs, and judging whether the test time is within a preset time threshold value;
if the test time is judged not to be within the preset time threshold, sending a reset instruction to the current test board card so as to enable the current test board card to execute a plurality of test programs again;
the board card test system further comprises a judgment module, and the judgment module is specifically used for:
identifying a plurality of test values in the detection table, and judging whether the plurality of test values respectively correspond to preset standard threshold values;
if the test values are judged not to be within the preset standard threshold, correspondingly sending out bad prompt information, and marking the current test board card as a defective product;
the algorithm for finding out the corresponding target test item in the preset item database according to the keyword data is as follows:
Figure 767142DEST_PATH_IMAGE001
wherein, E { x n Denotes the target test item, N denotes the total number of items, x i Representing the ith test item, and n represents the keyword data;
wherein, the algorithm for converting the test file into the corresponding XML file is as follows:
Figure 124305DEST_PATH_IMAGE002
wherein S represents the XML file, R X (m) represents an autocorrelation function, e represents the test file, and fs represents a switching frequency;
the algorithm for generating the corresponding detection table according to the test result is as follows:
Figure 741231DEST_PATH_IMAGE003
wherein F represents the detection table, a 0 …a k Cosine coefficients representing Fourier factors, b 1 …b k Respectively, the sine coefficients of the fourier factors, k the test results, and λ the detection constant.
7. The board card test system of claim 6, wherein: the board card test system further comprises a display module, and the display module is specifically used for:
and establishing a wired communication connection with a display device, and sending the detection meter to the display device in real time so as to display the detection meter on a display interface of the display device in real time.
8. The board card test system of claim 6, wherein: the identification module is specifically configured to:
when the IP address of the current test board card is received, judging whether the IP address of the current test board card is complete;
and if the current IP address of the test board card is not complete, repairing the current IP address of the test board card based on a preset IP address database.
9. The board card test system of claim 6, wherein: the board card test system further comprises a second search module, and the search module is specifically configured to:
finding out a control signal corresponding to the XML file, and analyzing coordinate information of the target test item in the XML file according to the control signal;
and detecting a coordinate point corresponding to the coordinate information so as to start the target test item according to the coordinate point.
10. The board card test system of claim 6, wherein: the board card test system further comprises a selection module, and the selection module is specifically used for:
and when the number of the target test items is at least two, receiving a selection instruction issued by a user, and starting the corresponding target test item according to the selection instruction.
CN202211010011.9A 2022-08-23 2022-08-23 Board card testing method and system Pending CN115080328A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211010011.9A CN115080328A (en) 2022-08-23 2022-08-23 Board card testing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211010011.9A CN115080328A (en) 2022-08-23 2022-08-23 Board card testing method and system

Publications (1)

Publication Number Publication Date
CN115080328A true CN115080328A (en) 2022-09-20

Family

ID=83244810

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211010011.9A Pending CN115080328A (en) 2022-08-23 2022-08-23 Board card testing method and system

Country Status (1)

Country Link
CN (1) CN115080328A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116433666A (en) * 2023-06-14 2023-07-14 江西萤火虫微电子科技有限公司 Board card line defect online identification method, system, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060069963A1 (en) * 2004-09-15 2006-03-30 Alstom Transport Sa Device and method for controlling a console
US20080209267A1 (en) * 2007-02-26 2008-08-28 Oracle International Corporation Diagnostic test sets
CN108490336A (en) * 2018-03-14 2018-09-04 广州视源电子科技股份有限公司 Board test method, system, readable storage medium storing program for executing and computer equipment
CN108519935A (en) * 2018-03-15 2018-09-11 广州视源电子科技股份有限公司 Board test method, device, readable storage medium storing program for executing and computer equipment
CN108519933A (en) * 2018-02-08 2018-09-11 广州视源电子科技股份有限公司 Board test method, device, readable storage medium storing program for executing and computer equipment
CN108519934A (en) * 2018-03-15 2018-09-11 广州视源电子科技股份有限公司 Board test method, device, readable storage medium storing program for executing and computer equipment
CN109614519A (en) * 2018-12-07 2019-04-12 万兴科技股份有限公司 Data lead-in method and data importing device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060069963A1 (en) * 2004-09-15 2006-03-30 Alstom Transport Sa Device and method for controlling a console
US20080209267A1 (en) * 2007-02-26 2008-08-28 Oracle International Corporation Diagnostic test sets
CN108519933A (en) * 2018-02-08 2018-09-11 广州视源电子科技股份有限公司 Board test method, device, readable storage medium storing program for executing and computer equipment
CN108490336A (en) * 2018-03-14 2018-09-04 广州视源电子科技股份有限公司 Board test method, system, readable storage medium storing program for executing and computer equipment
CN108519935A (en) * 2018-03-15 2018-09-11 广州视源电子科技股份有限公司 Board test method, device, readable storage medium storing program for executing and computer equipment
CN108519934A (en) * 2018-03-15 2018-09-11 广州视源电子科技股份有限公司 Board test method, device, readable storage medium storing program for executing and computer equipment
CN109614519A (en) * 2018-12-07 2019-04-12 万兴科技股份有限公司 Data lead-in method and data importing device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
赵艳红等: "基于内容分析的中文BBS话题检测系统的设计与实现", 《计算机应用与软件》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116433666A (en) * 2023-06-14 2023-07-14 江西萤火虫微电子科技有限公司 Board card line defect online identification method, system, electronic equipment and storage medium
CN116433666B (en) * 2023-06-14 2023-08-15 江西萤火虫微电子科技有限公司 Board card line defect online identification method, system, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN106771972B (en) Automatic testing device, system and method for POS machine mainboard
CN101865125B (en) Test method of fan module
CN111240973B (en) Equipment testing method and system based on simulation and readable storage medium
CN111552600B (en) Signal testing method, system, device and readable storage medium
CN111693089A (en) Product quality control method, device, equipment and storage medium for assembly line
CN108519935B (en) Board card testing method and device, readable storage medium and computer equipment
CN115080328A (en) Board card testing method and system
CN108123935B (en) Circuit board testing method and device, storage medium and terminal
CN108376110B (en) Automatic detection method, system and terminal equipment
CN111751143A (en) Intelligent lock testing system, method, device and storage medium
CN113709650A (en) Microphone testing method, device and storage medium
CN112903308A (en) Performance detection method and device for automobile equipment, electronic equipment and storage medium
CN113341300B (en) Matrix key circuit automatic detection method, device, medium and equipment
CN112564825B (en) Method, device, equipment and system for detecting Bluetooth equipment function
CN214669306U (en) Non-invasive load identification module detection device
CN113472611A (en) Method and device for acquiring WiFi signal strength and readable storage medium
CN115454840A (en) Vehicle testing method and system
CN106405430B (en) Lithium ion battery on-line detection conversion control equipment, system and method
CN113281639A (en) Board card testing device, system and method
CN112003656A (en) System and method for testing vehicle-mounted wireless communication terminal assembly product
CN113849356B (en) Equipment testing method and device, electronic equipment and storage medium
CN111190830B (en) Method and device for automatically identifying computer port state and starting test program
CN113645655B (en) Distribution network testing method, device and system for internet of things (IoT) module and terminal
CN115543712A (en) Automatic detection method and device for equipment configuration information, electronic equipment and medium
CN109739752B (en) Built-in resource testing method and device, electronic equipment and readable 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20220920

RJ01 Rejection of invention patent application after publication