CN116820863A - Cascade test method, cascade test device, electronic equipment and storage medium - Google Patents
Cascade test method, cascade test device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN116820863A CN116820863A CN202310841393.8A CN202310841393A CN116820863A CN 116820863 A CN116820863 A CN 116820863A CN 202310841393 A CN202310841393 A CN 202310841393A CN 116820863 A CN116820863 A CN 116820863A
- Authority
- CN
- China
- Prior art keywords
- board
- board card
- test
- mode
- feedback information
- 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
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 133
- 238000010998 test method Methods 0.000 title claims abstract description 34
- 238000000034 method Methods 0.000 claims description 35
- 238000012544 monitoring process Methods 0.000 claims description 10
- 238000001514 detection method Methods 0.000 abstract description 2
- 238000012806 monitoring device Methods 0.000 description 15
- 238000004891 communication Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 230000008569 process Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000004044 response Effects 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/26—Functional testing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2273—Test methods
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2289—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by configuration test
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)
- Tests Of Electronic Circuits (AREA)
Abstract
The invention provides a cascade test method, a cascade test device, electronic equipment and a storage medium, which relate to the technical field of automatic detection and comprise the following steps: responding to the test request, and acquiring configuration data; determining a mode for testing a plurality of boards based on a test mode included in the configuration data; if the mode is a cascade mode, starting the first board card based on the testing sequence included in the configuration data, starting the second board card after receiving the feedback information of the first board card, and storing the feedback information of the first board card into the information base until the testing is completed on a plurality of board cards. The configuration data is obtained by responding to the test request, the mode of testing a plurality of boards is determined based on the test mode, when the mode is the cascade mode, the first board is started based on the test sequence, the second board is started after the feedback information of the first board is received, and the feedback information of the first board is stored in the information base until the plurality of boards are tested, so that the power-on efficiency is improved, and the error position in the test can be positioned.
Description
Technical Field
The present invention relates to the field of automatic detection technologies, and in particular, to a cascade test method, a cascade test device, an electronic device, and a storage medium.
Background
The board card is one kind of printed circuit board and may be inserted into the slot of the main circuit board of computer to control the operation of hardware and to realize corresponding hardware function after installing driver. The general computer board card can be used as a whole board to realize computer service.
When the board card leaves the factory, the board card needs to be tested, for example, cascade test, the cascade test needs to test a plurality of board cards to be tested according to a certain sequence, a tester usually performs power-on manually to test the board card, the tester checks the power-on condition after power-on, the power-on process is complex and the power-on efficiency is low, or the test is performed through automatic power-on, but the power-on error position in the test cannot be determined through the automatic power-on process.
Disclosure of Invention
Therefore, the invention aims to provide a cascade test method, a cascade test device, an electronic device and a storage medium, wherein the first board card is started according to a test sequence, and the second board card is started after feedback information of the first board card is received, so that the power-on efficiency is improved, and the error position in the test can be positioned.
In a first aspect, an embodiment of the present invention provides a cascade test method, including: responding to the test request, and acquiring configuration data; determining a mode for testing a plurality of boards based on a test mode included in the configuration data; if the mode is a cascade mode, starting the first board card based on the testing sequence included in the configuration data, starting the second board card after receiving the feedback information of the first board card, and storing the feedback information of the first board card into the information base until the testing is completed on a plurality of board cards.
In a preferred embodiment of the present invention, the starting the second board after receiving the feedback information of the first board includes: determining a preset information receiving time based on the configuration data; and starting the second board card after receiving the feedback information of the first board card in the information receiving time.
In a preferred embodiment of the present invention, after receiving feedback information of the first board card in the information receiving time and starting the second board card, the method includes: if the feedback information of the first board card is not received in the information receiving time, determining the starting failure of the first board card, recording the times of the starting failure to an information base, and restarting the first board card; and stopping the test if the number of times of starting failure reaches a preset number of times threshold.
In a preferred embodiment of the present invention, if the feedback information of the first board card is not received within the information receiving time, determining that the first board card fails to start includes: the information receiving time is used as a countdown initial value of the monitoring equipment; if the monitoring equipment does not receive the feedback information of the first board card when counting down from the countdown initial value to 0, determining that the first board card fails to start.
In a preferred embodiment of the present invention, after the determining that the first board card fails to start, the method further includes: and alarming through an alarm based on the data in the information base.
In a preferred embodiment of the present invention, the method further comprises: if the mode is an independent mode, starting the board card corresponding to the board card data based on the board card data included in the configuration data.
In a preferred embodiment of the present invention, the method further includes, after the first board card is started according to the test sequence included in the configuration data, starting the second board card after receiving feedback information of the first board card, and storing the feedback information of the first board card in the information base until the test is completed on a plurality of board cards: reading data in an information base; and visually displaying the data in the information base.
In a second aspect, an embodiment of the present invention further provides a cascade test apparatus, including: the configuration data acquisition module is used for responding to the test request and acquiring configuration data; the mode determining module is used for determining modes for testing a plurality of boards based on a testing mode included in the configuration data; and the board card testing module is used for starting the first board card based on the testing sequence included in the configuration data if the mode is the cascade mode, starting the second board card after receiving the feedback information of the first board card, and storing the feedback information of the first board card into the information base until the testing is completed on a plurality of board cards.
In a third aspect, an embodiment of the present invention further provides an electronic device, including a processor and a memory, where the memory stores computer executable instructions executable by the processor, and the processor executes the computer executable instructions to implement the cascade test method of the first aspect.
In a fourth aspect, embodiments of the present invention also provide a computer-readable storage medium storing computer-executable instructions that, when invoked and executed by a processor, cause the processor to implement the cascade test method of the first aspect.
The embodiment of the invention has the following beneficial effects:
the embodiment of the invention provides a cascade test method, a cascade test device, electronic equipment and a storage medium, wherein configuration data are acquired by responding to a test request, a mode for testing a plurality of boards is determined based on a test mode included in the configuration data, a first board is started based on a test sequence included in the configuration data under the condition that the mode is a cascade mode, a second board is started after feedback information of the first board is received, and the feedback information of the first board is stored in an information base until the plurality of boards are tested, so that the power-on efficiency is improved, and error positions in the test can be positioned.
Additional features and advantages of the disclosure will be set forth in the description which follows, or in part will be obvious from the description, or may be learned by practice of the techniques of the disclosure.
The foregoing objects, features and advantages of the disclosure will be more readily apparent from the following detailed description of the preferred embodiments taken in conjunction with the accompanying drawings.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the present invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a cascade test method according to an embodiment of the present invention;
FIG. 2 is a flow chart of another cascade test method according to an embodiment of the invention;
FIG. 3 is a schematic diagram of a cascading test scenario provided in an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a cascade test device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The board card is one kind of printed circuit board and may be inserted into the slot of the main circuit board of computer to control the operation of hardware and to realize corresponding hardware function after installing driver. The general computer board card can be used as a whole board to realize computer service.
When the board card leaves the factory, the board card needs to be tested, for example, cascade test, the cascade test needs to test a plurality of board cards to be tested according to a certain sequence, a tester usually performs power-on manually to test the board card, the tester checks the power-on condition after power-on, the power-on process is complex and the power-on efficiency is low, or the test is performed through automatic power-on, but the power-on error position in the test cannot be determined through the automatic power-on process.
Based on the above, the cascade test method, the cascade test device, the electronic device and the storage medium provided by the embodiment of the invention can obtain the configuration data by responding to the test request, and then determine the mode of testing a plurality of boards based on the test mode included in the configuration data.
For the sake of understanding the present embodiment, a cascade test method disclosed in the present embodiment is first described in detail.
Example 1
An embodiment of the invention provides a cascade test method, and fig. 1 is a flowchart of the cascade test method provided by the embodiment of the invention. As shown in fig. 1, the cascade test method may include the steps of:
step S101, in response to the test request, configuration data is acquired.
The test request includes configuration data, where the configuration data may include a test mode corresponding to the board card and a test sequence for testing the plurality of board cards, and the test mode may include a cascade mode and an individual mode.
Step S102, determining a mode for testing a plurality of boards based on a testing mode included in the configuration data.
And determining the mode for testing the plurality of boards according to the mode included in the test mode included in the configuration data.
Step S103, if the mode is a cascade mode, starting the first board card based on the test sequence included in the configuration data, starting the second board card after receiving the feedback information of the first board card, and storing the feedback information of the first board card into the information base until the test is completed on a plurality of board cards.
The first board card is a board card tested before the second board card, the second board card is started after feedback information of the first board card is received, and the feedback information of the first board card is stored to the information base while the second board card is started, so that testing conditions of the first board card can be checked later.
The feedback information may be operation conditions, status information, etc. of the board card.
Of course, the test mode may also be an independent mode, and when the test mode is the independent mode, the board card corresponding to the board card data may be started based on the board card data included in the configuration data.
The board card data may be the data of the board card to be tested, so as to determine the board card and test the board card.
As an implementation manner, after the first board is started based on the test sequence included in the configuration data, the second board is started after the feedback information of the first board is received, and the feedback information of the first board is stored in the information base until the test is completed on a plurality of boards, the method may further include: reading data in an information base; and visually displaying the data in the information base.
The data in the information base is feedback information of the tested board card, the feedback information can be sent to the display module to display the feedback information, and the display module can be a display screen or the like.
According to the cascade test method provided by the embodiment of the invention, the configuration data can be obtained by responding to the test request, the mode for testing a plurality of boards can be determined based on the test mode included in the configuration data, the first board is started based on the test sequence included in the configuration data under the condition that the mode is the cascade mode, the second board is started after the feedback information of the first board is received, and the feedback information of the first board is stored in the information base until the plurality of boards are tested, so that the power-on efficiency is improved, and the error position in the test can be positioned.
Example 2
The embodiment of the invention also provides another cascade test method; the method is realized on the basis of the method of the embodiment; the method focuses on the specific implementation mode of starting the second board card after receiving the feedback information of the first board card.
Fig. 2 is a flowchart of another cascade test method according to an embodiment of the present invention, as shown in fig. 2, the cascade test method may include the following steps:
step S201, a preset information reception time is determined based on the configuration data.
The configuration data may further include a preset information receiving time.
Step S202, after receiving feedback information of the first board card in the information receiving time, starting the second board card.
In order to avoid that the second board card is always in a state of waiting to be opened because the feedback information of the first board card is not received for a long time, the second board card is started after the feedback information of the first board card is received in the information receiving time.
If feedback information of the first board card is not received in the information receiving time, the first board card can be considered to have errors, power failure and the like.
Specifically, after the second board card is started after receiving the feedback information of the first board card in the information receiving time, the method may further include: if the feedback information of the first board card is not received in the information receiving time, determining the starting failure of the first board card, recording the times of the starting failure to an information base, and restarting the first board card; and stopping the test if the number of times of starting failure reaches a preset number of times threshold.
After the start failure of the first board card is determined, the number of start failures is recorded in the information base, the number of failures in the information base is obtained after each start failure, the number of failures is increased, when the number of failures is increased to a threshold value, the test is stopped, after the test is stopped, a tester can determine the board card which is currently started to fail in the information base according to the test sequence and feedback information, and error checking is performed.
If the feedback information of the first board card is not received within the information receiving time, determining that the first board card fails to start may include: the information receiving time is used as a countdown initial value of the monitoring equipment; if the monitoring equipment does not receive the feedback information of the first board card when counting down from the countdown initial value to 0, determining that the first board card fails to start.
The monitoring device can be a watchdog, when the monitoring device is tested, the state of the monitoring device is adjusted from a standby state to a test state, when the board card is started, the monitoring device counts down the information receiving time as an initial value, and if the count down is 0, feedback information of the first board card is not received yet, the starting failure of the first board card is determined.
The back-off time is reset if the back-off time of the monitoring device is 0 and the front board card is started successfully.
Specifically, after determining that the first board fails to start, the method may further include: and alarming through an alarm based on the data in the information base.
The alarm can comprise a light emitting diode, a buzzer and the like, the starting failure times of the first board card can be determined through data in the information base, and when the starting failure times reach a preset time threshold, the alarm can be used for alarming, so that a tester can quickly find that the test is wrong.
According to the cascade test method provided by the embodiment of the invention, the information receiving time can be preset, the second board card is started after the feedback information of the first board card is received in the information receiving time, the problems that the test cannot be performed and the waiting time is too long and the test time is dragged are avoided, and when the number of times of board card start failure reaches the preset number threshold, an alarm is given out through an alarm, so that a tester can quickly find that the test is wrong.
Example 3
Fig. 3 is a schematic diagram of a cascade test scenario provided in an embodiment of the present invention, where, as shown in fig. 3, the cascade test scenario may include: a function configuration unit 301, a memory recording unit 302, an automation control unit 303, a monitoring unit 304, a power-on control unit 305, a first board 306, a second board 307, an alarm unit 308, and a display unit 309.
In practical application, the function configuration unit 301 may acquire configuration data and store the configuration information in the storage recording unit 302, the automation control unit 303 identifies the configuration data and determines a corresponding test mode, when the test mode is a cascade mode, the monitoring unit 304 configures a countdown initial value of the monitoring device according to the configuration data, and sends running state information of the monitoring device to the storage recording unit 302, meanwhile, the automation control unit 303 controls the power-on control unit 305 to start powering on the first board 306, after the test is completed, feedback information of the first board 306 is sent to the automation control unit 303 and the storage recording unit 302, the automation control unit 303 controls the monitoring unit 304 to reset the countdown initial value of the monitoring device, and then the automation control unit 303 controls the power-on control unit 305 to test the second board 307 until all board tests are completed, and the information in the storage recording unit 302 can be visually displayed through the display unit 309.
The monitoring device may be a watchdog, the running state information of the monitoring device may include a standby state, a test state and a timeout state, where the monitoring device may switch from the standby state to the test state when the test is started, the storage recording unit 302 may record that the number of start failures of the board is 1 when the monitoring device starts from a countdown initial value until the countdown is 0, the monitoring device 304 may send the timeout state of the monitoring device to the storage recording unit 302 when the storage recording unit 302 still does not receive the feedback information of the board, and the alarm unit 308 may alarm when the number of start failures of the board reaches a threshold.
The visual display content can be parameters such as feedback information of the board card, serial port information and the like.
It should be noted that, in this practical application, only two boards are taken as an example.
Example 4
Corresponding to the above method embodiment, the embodiment of the present invention provides a cascade test device, and fig. 4 is a schematic structural diagram of the cascade test device provided by the embodiment of the present invention, as shown in fig. 4, where the cascade test device may include:
the configuration data acquisition module 401 is configured to acquire configuration data in response to a test request.
The mode determining module 402 is configured to determine a mode for testing a plurality of boards based on a test mode included in the configuration data.
And the board card testing module 403 is configured to, if the mode is a cascade mode, start the first board card based on the testing sequence included in the configuration data, start the second board card after receiving the feedback information of the first board card, and store the feedback information of the first board card in the information base until the testing is completed for a plurality of board cards.
According to the cascade test device provided by the embodiment of the invention, the configuration data can be obtained by responding to the test request, the mode for testing a plurality of boards can be determined based on the test mode included in the configuration data, and under the condition that the mode is the cascade mode, the first board is started based on the test sequence included in the configuration data, the second board is started after the feedback information of the first board is received, and the feedback information of the first board is stored in the information base until the plurality of boards are tested, so that the power-on efficiency is improved, and the error position in the test can be positioned.
In some embodiments, the board test module is further configured to determine a preset information receiving time based on the configuration data; and starting the second board card after receiving the feedback information of the first board card in the information receiving time.
In some embodiments, the board card testing module is further configured to determine a start failure of the first board card if feedback information of the first board card is not received within the information receiving time, record the number of times of the start failure to the information base, and restart the first board card; and stopping the test if the number of times of starting failure reaches a preset number of times threshold.
In some embodiments, the board test module is further configured to use the information receiving time as a countdown initial value of the monitoring device; if the monitoring equipment does not receive the feedback information of the first board card when counting down from the countdown initial value to 0, determining that the first board card fails to start.
In some embodiments, the board test module is further configured to alert through an alarm based on data in the information base.
In some embodiments, the board test module is further configured to, if the mode is an independent mode, start a board corresponding to the board data based on the board data included in the configuration data.
In some embodiments, the board test module is further configured to read data in the information base;
and visually displaying the data in the information base.
The device provided by the embodiment of the present invention has the same implementation principle and technical effects as those of the foregoing method embodiment, and for the sake of brevity, reference may be made to the corresponding content in the foregoing method embodiment where the device embodiment is not mentioned.
Example 5
The embodiment of the invention also provides electronic equipment for running the cascade test method; referring to the schematic structural diagram of an electronic device shown in fig. 5, the electronic device includes a memory 500 and a processor 501, where the memory 500 is configured to store one or more computer instructions, and the one or more computer instructions are executed by the processor 501 to implement the cascade test method described above.
Further, the electronic device shown in fig. 5 further includes a bus 502 and a communication interface 503, and the processor 501, the communication interface 503, and the memory 500 are connected by the bus 502.
The memory 500 may include a high-speed random access memory (RAM, random Access Memory), and may further include a non-volatile memory (non-volatile memory), such as at least one magnetic disk memory. The communication connection between the system network element and at least one other network element is implemented via at least one communication interface 503 (which may be wired or wireless), which may use the internet, a wide area network, a local network, a metropolitan area network, etc. Bus 502 may be an ISA bus, a PCI bus, an EISA bus, or the like. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, only one bi-directional arrow is shown in FIG. 4, but not only one bus or type of bus.
The processor 501 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuitry in hardware or instructions in software in the processor 501. The processor 501 may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU for short), a network processor (Network Processor, NP for short), etc.; but also digital signal processors (Digital Signal Processor, DSP for short), application specific integrated circuits (Application Specific Integrated Circuit, ASIC for short), field-programmable gate arrays (Field-Programmable Gate Array, FPGA for short) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The disclosed methods, steps, and logic blocks in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be embodied directly in the execution of a hardware decoding processor, or in the execution of a combination of hardware and software modules in a decoding processor. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in the memory 500, and the processor 501 reads the information in the memory 500, and in combination with its hardware, performs the steps of the method of the previous embodiment.
The embodiment of the invention also provides a computer readable storage medium, which stores computer executable instructions that when being called and executed by a processor, cause the processor to implement the cascade test method, and the specific implementation can be referred to the method embodiment and will not be described herein.
The computer program product for performing the cascade test method according to the embodiment of the present invention includes a computer readable storage medium storing a non-volatile program code executable by a processor, where the program code includes instructions for performing the method described in the foregoing method embodiment, and specific implementation may refer to the method embodiment and will not be described herein.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. The above-described apparatus embodiments are merely illustrative, for example, the division of the units is merely a logical function division, and there may be other manners of division in actual implementation, and for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some communication interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer readable storage medium executable by a processor. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Finally, it should be noted that: the above examples are only specific embodiments of the present invention, and are not intended to limit the scope of the present invention, but it should be understood by those skilled in the art that the present invention is not limited thereto, and that the present invention is described in detail with reference to the foregoing examples: any person skilled in the art may modify or easily conceive of the technical solution described in the foregoing embodiments, or perform equivalent substitution of some of the technical features, while remaining within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention, and are intended to be included in the scope of the present invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.
Claims (10)
1. A cascade test method, the method comprising:
responding to the test request, and acquiring configuration data;
determining a mode for testing a plurality of boards based on a testing mode included in the configuration data;
and if the mode is a cascade mode, starting a first board card based on a test sequence included in the configuration data, starting a second board card after receiving feedback information of the first board card, and storing the feedback information of the first board card into an information base until a plurality of board cards are tested.
2. The cascade test method of claim 1, wherein the starting the second board after receiving the feedback information of the first board comprises:
determining a preset information receiving time based on the configuration data;
and starting the second board card after receiving the feedback information of the first board card in the information receiving time.
3. The cascade test method of claim 2, wherein after the second board is started after receiving the feedback information of the first board within the information receiving time, the method further comprises:
if the feedback information of the first board card is not received in the information receiving time, determining the starting failure of the first board card, recording the times of the starting failure to the information base, and restarting the first board card;
and stopping the test if the number of failed starting times reaches a preset number of times threshold.
4. The cascade test method of claim 3, wherein determining that the first board has failed to start if the feedback information of the first board is not received within the information receiving time comprises:
taking the information receiving time as a countdown initial value of the monitoring equipment;
and if the monitoring equipment does not receive the feedback information of the first board card when the countdown initial value is counted down to 0, determining that the first board card is failed to start.
5. The cascading test method of claim 3, further comprising, after said determining that the first board card failed to boot,:
and alarming through an alarm based on the data in the information base.
6. The cascade test method according to claim 1, characterized in that the method further comprises:
and if the mode is an independent mode, starting a board card corresponding to the board card data based on the board card data included in the configuration data.
7. The cascade test method according to claim 1, wherein a first board is started up in the test order based on the configuration data, a second board is started up after feedback information of the first board is received, and the feedback information of the first board is stored in an information base until a plurality of boards are tested, the method comprising:
reading data in the information base;
and visually displaying the data in the information base.
8. A cascade test apparatus, the apparatus comprising:
the configuration data acquisition module is used for responding to the test request and acquiring configuration data;
the mode determining module is used for determining modes for testing a plurality of boards based on the testing modes included in the configuration data;
and the board card testing module is used for starting a first board card based on a testing sequence included in the configuration data if the mode is a cascade mode, starting a second board card after receiving feedback information of the first board card, and storing the feedback information of the first board card into an information base until the testing is completed on a plurality of board cards.
9. An electronic device comprising a processor and a memory, the memory storing computer executable instructions executable by the processor, the processor executing the computer executable instructions to implement the cascade test method of any of claims 1-7.
10. A computer readable storage medium storing computer executable instructions which, when invoked and executed by a processor, cause the processor to implement the cascade test method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310841393.8A CN116820863A (en) | 2023-07-10 | 2023-07-10 | Cascade test method, cascade test device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310841393.8A CN116820863A (en) | 2023-07-10 | 2023-07-10 | Cascade test method, cascade test device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116820863A true CN116820863A (en) | 2023-09-29 |
Family
ID=88116605
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310841393.8A Pending CN116820863A (en) | 2023-07-10 | 2023-07-10 | Cascade test method, cascade test device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116820863A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107678899A (en) * | 2017-09-26 | 2018-02-09 | 郑州云海信息技术有限公司 | A kind of multiple boards merge the diagnostic method of test |
CN108874441A (en) * | 2018-06-20 | 2018-11-23 | 上海思源弘瑞自动化有限公司 | A kind of board configuration method, device, server and storage medium |
CN109709923A (en) * | 2018-12-28 | 2019-05-03 | Oppo(重庆)智能科技有限公司 | Test control method and device, system, computer readable storage medium |
US20210157910A1 (en) * | 2019-11-21 | 2021-05-27 | International Business Machines Corporation | Access card penetration testing |
CN115470060A (en) * | 2022-09-30 | 2022-12-13 | 深圳市天微电子股份有限公司 | Hardware board card, test equipment, test system and synchronous test method |
-
2023
- 2023-07-10 CN CN202310841393.8A patent/CN116820863A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107678899A (en) * | 2017-09-26 | 2018-02-09 | 郑州云海信息技术有限公司 | A kind of multiple boards merge the diagnostic method of test |
CN108874441A (en) * | 2018-06-20 | 2018-11-23 | 上海思源弘瑞自动化有限公司 | A kind of board configuration method, device, server and storage medium |
CN109709923A (en) * | 2018-12-28 | 2019-05-03 | Oppo(重庆)智能科技有限公司 | Test control method and device, system, computer readable storage medium |
US20210157910A1 (en) * | 2019-11-21 | 2021-05-27 | International Business Machines Corporation | Access card penetration testing |
CN115470060A (en) * | 2022-09-30 | 2022-12-13 | 深圳市天微电子股份有限公司 | Hardware board card, test equipment, test system and synchronous test method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6393586B1 (en) | Method and apparatus for diagnosing and conveying an identification code in post on a non-booting personal computer | |
US9778988B2 (en) | Power failure detection system and method | |
CN112199244B (en) | Method, system, equipment and medium for detecting power failure of server | |
CN104320308B (en) | A kind of method and device of server exception detection | |
CN106547653B (en) | Computer system fault state detection method, device and system | |
CN107678909B (en) | Circuit and method for monitoring chip configuration state in server | |
CN106547655B (en) | The method and system of memory bar quantity on circuit for detecting plate | |
US10691562B2 (en) | Management node failover for high reliability systems | |
US9158646B2 (en) | Abnormal information output system for a computer system | |
CN118035018A (en) | Storage device detection method and device, storage medium and electronic device | |
WO2024124862A1 (en) | Server-based memory processing method and apparatus, processor and an electronic device | |
CN115934446A (en) | Self-checking method, server, equipment and storage medium | |
CN116820863A (en) | Cascade test method, cascade test device, electronic equipment and storage medium | |
CN114003416B (en) | Memory error dynamic processing method, system, terminal and storage medium | |
US11726853B2 (en) | Electronic control device | |
CN114996069A (en) | Mainboard test method, device and medium | |
CN115098342A (en) | System log collection method, system, terminal and storage medium | |
CN114328080A (en) | Firmware state detection method and device and electronic equipment | |
JP6094685B2 (en) | Information processing apparatus and information processing apparatus control program | |
CN113220510A (en) | Device detection method, detection device, and computer-readable storage medium | |
CN114443446B (en) | Hard disk indicator lamp control method, system, terminal and storage medium | |
CN116382968B (en) | Fault detection method and device for external equipment | |
US9515907B2 (en) | Monitoring method of monitoring module | |
CN114385379B (en) | Method, system, terminal and storage medium for detecting on-board information refreshing | |
CN116881050A (en) | Interactive automatic restarting method, device and 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 |