CN112817801A - Single board detection method, computer equipment and computer readable medium - Google Patents

Single board detection method, computer equipment and computer readable medium Download PDF

Info

Publication number
CN112817801A
CN112817801A CN201911121877.5A CN201911121877A CN112817801A CN 112817801 A CN112817801 A CN 112817801A CN 201911121877 A CN201911121877 A CN 201911121877A CN 112817801 A CN112817801 A CN 112817801A
Authority
CN
China
Prior art keywords
single board
self
checking
board
mode
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
CN201911121877.5A
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201911121877.5A priority Critical patent/CN112817801A/en
Priority to PCT/CN2020/126512 priority patent/WO2021093655A1/en
Publication of CN112817801A publication Critical patent/CN112817801A/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
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • 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
    • 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

Abstract

The present disclosure provides a single board detection method, which receives a single board operation command, determines a to-be-detected single board and a tool self-checking thread corresponding to the single board operation command, and controls the to-be-detected single board to perform corresponding operations according to the tool self-checking thread, wherein one single board operation command is used for controlling one tool self-checking thread of one to-be-detected single board. The embodiment of the disclosure can realize asynchronous single self-check for distinguishing a single board aiming at one or a plurality of single boards on the premise of not influencing the existing service of other single boards, can realize self-check of the existing network capacity expansion single board or fault single board in an external field, and saves manpower and material resources. The present disclosure also provides a computer device and a computer readable medium.

Description

Single board detection method, computer equipment and computer readable medium
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a board detection method, a computer device, and a computer readable medium.
Background
When the external field engineering is implemented, the single board needs to be subjected to maximum hardware self-inspection, the state of the single board before service cut-over is confirmed to be normal, and the condition that the subsequent risk single board possibly triggers service faults is prevented.
For hardware self-inspection of newly-built equipment, currently, an independent tool self-inspection version is used for self-inspection, and the single board is used for an external field after being confirmed to be normal. Currently, for self-checking of a current network expansion single board or a fault single board, self-checking of an independent tool is performed on all single boards except a master control single board, that is, each non-master control single board cannot realize independent self-checking of the tool. For example, a user issues a self-checking starting command, and all non-master control single boards start self-checking; a user sends a pause self-checking command, and all non-master control single boards pause self-checking; and the user sends a self-checking recovery command, and all the non-main control single boards recover self-checking. Therefore, if it is suspected that the existing network single board has a fault and needs to be self-checked, the single board can only be pulled out and transported back, and the single board is separated from the existing network for self-checking, which is time-consuming and labor-consuming.
Disclosure of Invention
In view of the above-mentioned shortcomings in the prior art, the present disclosure provides a single board detection method, a computer device and a computer readable medium.
In a first aspect, an embodiment of the present disclosure provides a board detection method, where the method includes:
receiving a single board operation command;
determining a to-be-detected single board and a tool self-inspection thread corresponding to the single board operation command, wherein one single board operation command is used for controlling one tool self-inspection thread of one to-be-detected single board;
and controlling the veneer to be detected to perform corresponding operation according to the tool self-checking thread.
Preferably, the single board operation command is multiple, and the types of the single board operation commands are the same or different.
Further, after controlling the to-be-detected veneer to perform corresponding operations according to the tool self-checking thread, the veneer detection method further includes:
receiving a single board query command;
determining a single board corresponding to the single board query command;
and obtaining and returning a query result according to the address of the single board, wherein the query result is a self-checking result of the single board.
Further, the veneer detection method further includes:
receiving a first mode switching command, wherein one first mode switching command is used for controlling a to-be-detected single board, and the to-be-detected single board is a single board currently in a current network mode;
acquiring a tool self-checking mode installation file of the to-be-checked single board corresponding to the first mode switching command;
and activating the tool self-checking mode installation file so that the to-be-detected single board is switched to the tool self-checking mode.
Preferably, the obtaining of the tool self-checking mode installation file of the board to be checked, which corresponds to the first mode switching command, includes:
downloading and storing a tool self-checking mode installation file of the to-be-checked single board corresponding to the first mode switching command;
and modifying the file calling path from the storage path of the current network mode installation file currently operated by the to-be-detected single board to the storage path of the tool self-checking mode installation file.
Preferably, the activating the tool self-checking mode installation file includes:
receiving a first restart command;
restarting the single board to be detected to enable the single board to be detected to obtain and install the tool self-checking mode installation file according to the file calling path;
and establishing connection with the veneer to be detected and synchronizing information.
Further, the single board operation command is a command for starting self-checking, and after the single board to be detected is controlled to perform corresponding operations according to the tool self-checking thread, the single board detection method further includes:
receiving a second mode switching command, wherein one second mode switching command is used for controlling one single board, and the single board is currently in a tool self-checking mode;
acquiring a current network mode installation file of the single board corresponding to the second mode switching command;
and activating the existing network mode installation file to switch the single board into the existing network mode.
Preferably, the obtaining of the existing network mode installation file of the board includes: and modifying the file calling path from the storage path of the tool self-checking mode installation file currently operated by the single board to the storage path of the existing network mode installation file.
Preferably, the activating the existing network mode installation file includes:
receiving a second restart command;
and restarting the single board to enable the single board to acquire and install the existing network mode installation file according to the file calling path.
In another aspect, an embodiment of the present disclosure further provides a computer device, including: one or more processors and storage; the storage device stores one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors implement the board detection method provided in the foregoing embodiments.
The embodiment of the present disclosure further provides a computer-readable medium, on which a computer program is stored, where the computer program, when executed, implements the board detection method provided in the foregoing embodiments.
The single board detection method provided by the embodiment of the disclosure receives a single board operation command, determines a to-be-detected single board and a tool self-checking thread corresponding to the single board operation command, and controls the to-be-detected single board to perform corresponding operations according to the tool self-checking thread, wherein one single board operation command is used for controlling one tool self-checking thread of one to-be-detected single board. The embodiment of the disclosure can realize asynchronous single self-check for distinguishing a single board aiming at one or a plurality of single boards on the premise of not influencing the existing service of other single boards, can realize self-check of the existing network capacity expansion single board or fault single board in an external field, and saves manpower and material resources.
Drawings
Fig. 1 is a flowchart of a single board detection method according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of a single board detection process according to an embodiment of the present disclosure;
fig. 3 is a flowchart of a board detection query according to another embodiment of the present disclosure;
fig. 4 is a flowchart illustrating a mode of a single board switching from an existing network mode to a tool self-checking mode according to still another embodiment of the present disclosure;
fig. 5 is a signaling flow diagram of single board mode switching according to an embodiment of the present disclosure;
fig. 6 is a flowchart illustrating a mode of switching a single board from a tool self-test mode to an existing network mode according to another embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a main control board according to another embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of a main control board according to still another embodiment of the present disclosure.
Detailed Description
Example embodiments will be described more fully hereinafter with reference to the accompanying drawings, but which may be embodied in 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, and will fully convey the scope of the disclosure to those skilled in the art.
As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
Embodiments described herein may be described with reference to plan and/or cross-sectional views in light of idealized schematic illustrations of the disclosure. Accordingly, the example illustrations can be modified in accordance with manufacturing techniques and/or tolerances. Accordingly, the embodiments are not limited to the embodiments shown in the drawings, but include modifications of configurations formed based on a manufacturing process. Thus, the regions illustrated in the figures have schematic properties, and the shapes of the regions shown in the figures illustrate specific shapes of regions of elements, but are not intended to be limiting.
Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and the present disclosure, and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
The current network environment requires that a certain single board or a plurality of single boards can be independently self-checked on the premise of not influencing the operation of the existing services of other single boards, but the current network environment cannot be realized. In view of the disadvantage of the single board self-test, the embodiment of the present disclosure provides a single board detection method, which is applied to a master control single board. The main control single board comprises a product configuration management (PMFG) module, a tool self-checking communication (PTATCOMM) module, a software version management (SDM) module and a machine frame management (CHM) module, wherein the software version management module is used for realizing loading, activation and replacement of an installation file; the machine frame management module is used for restarting the single board to be detected; the product configuration management module is used for receiving the command sent by the terminal, distributing the command to each single board and returning the corresponding processing result to the terminal to be displayed to the user; the tool self-checking communication module is used for managing the single board in the tool self-checking mode and is responsible for processing the self-checking command.
As shown in fig. 1, the single board detection method provided in the embodiment of the present disclosure includes the following steps:
and step 11, receiving a single board operation command.
In this step, the product configuration management module of the main control board receives a board operation command sent by the terminal, and the terminal may be a user terminal.
And step 12, determining the single board to be detected and the tool self-checking thread corresponding to the single board operation command.
And a single board operation command is used for controlling a tool self-checking thread of a single board to be detected, wherein the single board to be detected is a single board in a tool self-checking mode. Generally, a single board has two working modes, one is a tool self-checking mode, the tool self-checking mode has fewer functions and is mainly used for single board troubleshooting, testing and the like; the other working mode is a current network mode, which has more functions and is a working mode that the single board is accessed to the current network. That is to say, the single board targeted by the single board operation command is a single board in the tool self-checking mode, the single board is referred to as a to-be-checked single board, and the to-be-checked single board may be in a state where checking has not started, a self-checking suspension state, or a self-checking state.
In the embodiment of the present disclosure, when the board to be tested is switched to the tool self-checking mode, a tool self-checking communication process is correspondingly generated in the main control board, so as to separately manage and monitor the board to be tested, implement the execution, monitoring, and self-checking result log record of the self-checking test, and enable the corresponding terminal to command to view the state of the board and view the self-checking result.
In the self-checking control, the multi-thread mode is adopted in the method, when the self-checking of one single board is started, a corresponding tool self-checking thread is started, and the tool self-checking thread is responsible for the operations of starting the self-checking, suspending the self-checking, recovering the self-checking and the like of the single board. That is to say, the single board operation command for starting self-inspection corresponds to a tool self-inspection thread for starting self-inspection, the single board operation command for suspending self-inspection corresponds to a tool self-inspection thread for suspending self-inspection, the single board operation command for resuming self-inspection corresponds to a tool self-inspection thread for resuming self-inspection, and the self-inspection threads of different single boards are not interfered with each other.
And step 13, controlling the to-be-detected single board to perform corresponding operation according to the tool self-checking thread.
The self-checking thread of the tool comprises self-checking test items, if the single board operation command is the single board operation starting the self-checking, the main control single board sends the self-checking test items in the corresponding self-checking thread to the single board to be detected one by one, so that the single board to be detected performs the self-checking according to the self-checking test items.
If the single board operation command is the single board operation for suspending the self-checking, the corresponding self-checking thread judges whether the self-checking can be suspended, if the self-checking can be suspended, the next self-checking test item is stopped to be issued, and therefore the self-checking of the single board to be detected is suspended after the current self-checking test item is executed.
If the single board operation command is the single board operation for suspending the self-checking, the corresponding self-checking thread judges whether the self-checking can be recovered, if so, the self-checking test items are issued one by one at the position of the self-checking test item suspended and issued last time, so that the single board to be detected continues the self-checking.
It should be noted that, after the single board self-test is finished, the main control single board destroys the corresponding self-test thread, and releases the system resource.
It can be seen from steps 11 to 13 that, in the single board detection method provided in the embodiment of the present disclosure, a single board operation command is received, a to-be-detected single board and a tool self-checking thread corresponding to the single board operation command are determined, and the to-be-detected single board is controlled to perform corresponding operations according to the tool self-checking thread, where one single board operation command is used to control one tool self-checking thread of one to-be-detected single board. The embodiment of the disclosure can realize asynchronous single self-check for distinguishing a single board aiming at one or a plurality of single boards on the premise of not influencing the existing service of other single boards, can realize self-check of the existing network capacity expansion single board or fault single board in an external field, and saves manpower and material resources.
After step 13, the single board detection method may further include the following steps: and receiving and storing the self-checking result sent by the single board to be checked. In some embodiments, after the single board to be tested executes one test item, the test result is sent to the self-checking thread of the main control single board, and the self-checking thread stores the self-checking result of the single board to be tested according to the address of the single board to be tested. That is to say, in the embodiment of the present disclosure, the single board is distinguished and stored according to the self-inspection result.
In some embodiments, the number of the board operating commands may be multiple, and the types of the board operating commands may be the same or different. The types of the single board operation command comprise: the self-checking is started, suspended and resumed, and the operation commands aiming at different single boards to be tested are not influenced mutually and are independent of each other.
The single board detection method is described in detail below with reference to fig. 2. As shown in fig. 2, the main control board manages N boards, that is, board 1, board 2, … …, and board N, the main control board includes a product configuration management module and a tool self-checking communication module, the tool self-checking communication module generates a tool self-checking communication process, the tool self-checking communication process includes N tool self-checking threads, and one tool self-checking thread corresponds to one board. The product configuration management module of the main control board receives N board operation commands (i.e. board operation command 1, board operation commands 2, … …, and board operation command N), and distributes the N board operation commands to the fixture self-test communication module. And the tool self-checking communication module respectively issues each single board operation command to a tool self-checking thread of the corresponding single board to be detected. And after each tool self-checking thread receives the single board operation command, controlling the corresponding single board to be detected to perform corresponding operation. And after the self-checking of each single board is finished, returning a self-checking result to a corresponding tool self-checking thread of the master control single board.
The embodiment of the present disclosure implements asynchronous self-test for distinguishing single boards, and the single board operation commands for different single boards in fig. 2 may be different types of commands, for example, single board operation command 1 may be a start self-test command for single board 1, single board operation command 2 may be a suspend self-test command for single board 2, single board operation command N may be an inquiry command for single board N, and various single board operation commands distinguish single boards without mutual influence.
In some embodiments, as shown in fig. 3, after controlling the board to be detected to perform the corresponding operation (i.e. step 13) according to the tool self-checking thread, the board detection method may further include the following steps:
step 31, receiving a single board query command.
And step 32, determining the single board corresponding to the single board inquiry command.
And step 33, obtaining and returning a query result according to the address of the single board, wherein the query result is a self-checking result of the single board.
The main control single board stores the self-checking information of each single board by using the address of each single board as an index, so in this step, the main control single board queries the self-checking result of the single board according to the address of the single board as the index. The method and the device can realize the differentiated single board storage of the self-checking result data, and can present the self-checking result of a specific single board to a user by taking the single board as a unit, so that the user can quickly acquire the desired self-checking information, and the data acquisition is quicker.
It should be noted that, the user may query the self-test result of a certain specified single board, or may query the self-test results of all single boards. The self-checking result may be inquired after the single board completes all the self-checking test items, or the self-checking result may be inquired during the self-checking process of the single board (the returned inquiry result is the self-checking result of the completed self-checking test item).
In this step, the main control single board returns the self-test result to the terminal sending the query command, so that the terminal presents the self-test result to the user.
The single board to be detected can be self-detected only when being in the tool self-detection mode, and if the single board to be detected is not in the tool self-detection mode at present but in the existing network mode, the single board to be detected needs to be switched from the existing network mode to the tool self-detection mode. The following describes in detail the process of switching the to-be-detected single board from the current network mode to the tool self-checking mode with reference to fig. 4 and 5.
In another embodiment of the present disclosure, as shown in fig. 4, the single board detection method may further include the following steps:
step 41, a first mode switching command is received.
And a first mode switching command is used for controlling a single board to be detected, wherein the single board to be detected is a single board currently in a current network mode. In this step, when the to-be-detected single board is currently in the current network mode, the user sends a first mode switching command to the main control single board through the terminal, that is, the first mode switching command is used to switch one to-be-detected single board from the current network mode to the tool self-checking mode.
And 42, acquiring a tool self-inspection mode installation file of the to-be-inspected single board corresponding to the first mode switching command.
The tool self-checking mode installation file is an installation patch package and comprises a self-checking version file (namely a system file) and a self-checking test item file when the main control single board initializes the system. Unlike conventional patch packages for a process or a dynamic library, the fixture self-check mode installation file in the embodiment of the present disclosure is for the whole software system.
In this step, the master control board obtains a tool self-checking mode installation file of a certain board to be activated, specifically, the software version management module of the master control board downloads the tool self-checking mode installation file of the board to be activated, stores the tool self-checking mode installation file in the hard disk of the master control board, and then modifies the file call path from the current path (i.e., the storage path of the current network mode installation file currently running by the board to be activated corresponding to the first mode switching command) to the storage path of the tool self-checking mode installation file by the software version management module of the master control board, thereby completing the storage path replacement of the file to be activated.
And 43, activating a tool self-checking mode installation file so that the to-be-detected single board is switched to the tool self-checking mode.
In this step, the main control board separately restarts a certain board to be detected corresponding to the first mode switching command, specifically, the product configuration management module receives the first restarting command and sends the first restarting command to the machine frame management module, and the machine frame management module restarts the board to be detected, so that the board to be detected acquires and installs the tool self-checking mode installation file according to the file calling path. After the step 41 and the step 42, the file call path pointed by the software version management module is the storage address of the tool self-checking mode installation file, so that the board to be inspected acquires the tool self-checking mode installation file. The veneer to be detected is started in a tool self-detection mode at the moment, a tool self-detection communication process can be connected with the veneer to be detected when the veneer is started, a handshake link is established, information synchronization is carried out, and the synchronized information can comprise time, veneer information and the like.
Different single boards to be detected can be distinguished by installing and activating the tool self-checking mode installation file, and then the single boards to be detected are restarted independently, so that the existing network mode is switched to the self-checking mode.
The following describes in detail the process of switching the to-be-detected single board from the tool self-inspection mode to the existing network mode with reference to fig. 5 and 6.
In another embodiment of the present disclosure, when the single board operation command is a self-checking start command, after controlling the single board to be tested to perform corresponding operations (i.e. step 13) according to the tool self-checking thread, as shown in fig. 6, the single board detection method may further include the following steps:
step 61, receiving a second mode switching command.
And a second mode switching command is used for controlling a single board, wherein the single board is currently in a tool self-checking mode. In this step, after a single board completes self-inspection, the user wants to switch the single board from the tool self-inspection mode to the network-returning mode, and at this time, the single board is currently in the tool self-inspection mode, and the user sends a second mode switching command to the main control single board through the terminal, that is, the second mode switching command is used to switch the single board from the tool self-inspection mode to the network-returning mode.
Step 62, obtaining the current network mode installation file of the single board corresponding to the second mode switching command.
In this step, the master control board separately obtains the current network mode installation file of a certain board (the board is the board corresponding to the second mode switching command), and specifically, the software version management module of the master control board modifies the file call path from the current path (i.e., the storage path of the tool self-check mode installation file currently running on the board corresponding to the second mode switching command) to the storage path of the current network mode installation file, thereby completing the storage path replacement of the file to be activated.
And step 63, activating the existing network mode installation file to switch the single board to the existing network mode.
In this step, the master control board separately restarts a certain board corresponding to the second mode switching command, and specifically, the product configuration management module receives the second restart command and sends the second restart command to the fixture self-check communication module, the fixture self-check communication module sends the second restart command to the software version management module, and the software version management module restarts the board, so that the board acquires and installs the existing network mode installation file according to the file call path. After the step 61 and the step 62, the file call path pointed by the software version management module is the storage address of the current network mode installation file, so that the single board acquires the current network mode installation file. At this time, the single board is started in the current network mode.
Different single boards can be distinguished by installing and activating the existing network mode installation files, and then the single boards are independently restarted, so that the tool self-checking mode is switched to the existing network mode.
As shown in fig. 5, after the single board is switched from the current network mode to the tool self-checking mode, if a user wants to check the start state of the single board to be tested, a check command may be sent to the main control single board, the product configuration management module of the main control single board sends the check command to the tool self-checking communication module, and the tool self-checking communication process of the tool self-checking communication module stores link establishment information (i.e., keep-alive information) of all single boards to be tested, so that the tool self-checking communication module feeds corresponding information back to the product configuration management module, and the product configuration management module feeds back the corresponding information to the user.
Based on the same technical concept, an embodiment of the present disclosure further provides a main control board, as shown in fig. 7, where the main control board includes a product configuration management module 1 and a tool self-checking communication module 2, and the product configuration management module 1 is configured to receive a board operation command.
The tool self-checking communication module 2 is used for determining a to-be-detected single board and a tool self-checking thread corresponding to the single board operation command, wherein one single board operation command is used for controlling one tool self-checking thread of one to-be-detected single board; and controlling the veneer to be detected to perform corresponding operation according to the tool self-checking thread.
In some embodiments, the single board operation command is multiple, and the types of the single board operation commands are the same or different.
In some embodiments, the product configuration management module 1 is configured to receive a single board query command.
The tool self-checking communication module 2 is further configured to determine a single board corresponding to the single board query command, and obtain and return a query result according to the address of the single board, where the query result is a self-checking result of the single board.
In some embodiments, the product configuration management module 1 is further configured to receive a first mode switching command, where one first mode switching command is used to control one board to be detected, and the board to be detected is a board currently in a current network mode.
As shown in fig. 8, the master control board may further include a software version management module 3 and a machine frame management module 4, where the software version management module 3 is configured to obtain a tool self-checking mode installation file of the board to be checked, which corresponds to the first mode switching command.
The machine frame management module 4 is used for activating the tool self-checking mode installation file, so that the veneer to be detected is switched to the tool self-checking mode.
In some embodiments, the software version management module 3 is configured to download and store a tool self-checking mode installation file of the board to be tested, which corresponds to the first mode switching command; and modifying the file calling path from the storage path of the current network mode installation file currently operated by the to-be-detected single board to the storage path of the tool self-checking mode installation file.
In some embodiments, the product configuration management module 1 is further configured to receive a first restart command.
The machine frame management module 4 is configured to restart the board to be detected according to a first restart command, so that the board to be detected obtains and installs the tool self-inspection mode installation file according to the file call path; and establishing connection with the single board to be detected and synchronizing information.
In some embodiments, the product configuration management module 1 is further configured to receive a second mode switching command after receiving and storing the self-test result sent by the board to be tested, where one second mode switching command is used to control one board, and the board is a board currently in a tool self-test mode.
The software version management module 3 is further configured to acquire an existing network mode installation file of the board corresponding to the second mode switching command.
The machine frame management module 4 is further configured to activate the existing network mode installation file, so that the single board is switched to the existing network mode.
In some embodiments, the software version management module 3 is configured to modify a file call path from a storage path of a tool self-check mode installation file currently running on the board to a storage path of the existing network mode installation file.
In some embodiments, the product configuration management module 1 is further configured to receive a second restart command.
The machine frame management module 4 is configured to restart the board according to the second restart command, so that the board obtains and installs the existing network mode installation file according to the file call path.
An embodiment of the present disclosure further provides a computer device, including: one or more processors and storage; the storage device stores one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors implement the board detection method provided in the foregoing embodiments.
The embodiment of the present disclosure further provides a computer-readable medium, on which a computer program is stored, where the computer program, when executed, implements the board detection method provided in the foregoing embodiments.
It will be understood by those of ordinary skill in the art that all or some of the steps of the methods disclosed above, functional modules/units in the apparatus, may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.
Example embodiments have been disclosed herein, and although specific terms are employed, they are used and should be interpreted in a generic and descriptive sense only and not for purposes of limitation. In some instances, features, characteristics and/or elements described in connection with a particular embodiment may be used alone or in combination with features, characteristics and/or elements described in connection with other embodiments, unless expressly stated otherwise, as would be apparent to one skilled in the art. It will, therefore, be understood by those skilled in the art that various changes in form and details may be made therein without departing from the scope of the invention encompassed by the appended claims.

Claims (11)

1. A single board detection method comprises the following steps:
receiving a single board operation command;
determining a to-be-detected single board and a tool self-inspection thread corresponding to the single board operation command, wherein one single board operation command is used for controlling one tool self-inspection thread of one to-be-detected single board;
and controlling the veneer to be detected to perform corresponding operation according to the tool self-checking thread.
2. The method according to claim 1, wherein the single board operation command is plural, and the types of the single board operation commands are the same or different.
3. The method of claim 1, wherein after controlling the board to be inspected to perform the corresponding operation according to the tooling self-checking thread, the method further comprises:
receiving a single board query command;
determining a single board corresponding to the single board query command;
and obtaining and returning a query result according to the address of the single board, wherein the query result is a self-checking result of the single board.
4. The method of any of claims 1-3, further comprising:
receiving a first mode switching command, wherein one first mode switching command is used for controlling a to-be-detected single board, and the to-be-detected single board is a single board currently in a current network mode;
acquiring a tool self-checking mode installation file of the to-be-checked single board corresponding to the first mode switching command;
and activating the tool self-checking mode installation file so that the to-be-detected single board is switched to the tool self-checking mode.
5. The method of claim 4, wherein the obtaining of the tool self-checking mode installation file of the board to be checked corresponding to the first mode switching command comprises:
downloading and storing a tool self-checking mode installation file of the to-be-checked single board corresponding to the first mode switching command;
and modifying the file calling path from the storage path of the current network mode installation file currently operated by the to-be-detected single board to the storage path of the tool self-checking mode installation file.
6. The method of claim 5, wherein the activating the tool self-test mode installation file comprises:
receiving a first restart command;
restarting the single board to be detected to enable the single board to be detected to obtain and install the tool self-checking mode installation file according to the file calling path;
and establishing connection with the veneer to be detected and synchronizing information.
7. The method according to any one of claims 1 to 3, wherein the single board operation command is a self-checking start command, and after controlling the single board to be checked to perform corresponding operations according to the tooling self-checking thread, the method further comprises:
receiving a second mode switching command, wherein one second mode switching command is used for controlling one single board, and the single board is currently in a tool self-checking mode;
acquiring a current network mode installation file of the single board corresponding to the second mode switching command;
and activating the existing network mode installation file to switch the single board into the existing network mode.
8. The method of claim 7, wherein the obtaining of the existing network mode installation file of the board comprises:
and modifying the file calling path from the storage path of the tool self-checking mode installation file currently operated by the single board to the storage path of the existing network mode installation file.
9. The method of claim 8, wherein the activating the active network mode installation file comprises:
receiving a second restart command;
and restarting the single board to enable the single board to acquire and install the existing network mode installation file according to the file calling path.
10. A computer device, comprising:
one or more processors;
a storage device having one or more programs stored thereon;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the veneer detection method according to any one of claims 1-9.
11. A computer-readable medium, on which a computer program is stored, wherein said program, when executed, implements a veneer detection method according to any of claims 1-9.
CN201911121877.5A 2019-11-15 2019-11-15 Single board detection method, computer equipment and computer readable medium Pending CN112817801A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201911121877.5A CN112817801A (en) 2019-11-15 2019-11-15 Single board detection method, computer equipment and computer readable medium
PCT/CN2020/126512 WO2021093655A1 (en) 2019-11-15 2020-11-04 Single plate detection method, computer device and computer-readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911121877.5A CN112817801A (en) 2019-11-15 2019-11-15 Single board detection method, computer equipment and computer readable medium

Publications (1)

Publication Number Publication Date
CN112817801A true CN112817801A (en) 2021-05-18

Family

ID=75852024

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911121877.5A Pending CN112817801A (en) 2019-11-15 2019-11-15 Single board detection method, computer equipment and computer readable medium

Country Status (2)

Country Link
CN (1) CN112817801A (en)
WO (1) WO2021093655A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023185266A1 (en) * 2022-03-30 2023-10-05 中兴通讯股份有限公司 Automatic detection method, single board, electronic device and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3670932B2 (en) * 2000-05-02 2005-07-13 ペンタックス株式会社 Circuit board inspection system and circuit board
US6658580B1 (en) * 2000-05-20 2003-12-02 Equipe Communications Corporation Redundant, synchronous central timing systems with constant master voltage controls and variable slave voltage controls
CN105004984A (en) * 2015-06-25 2015-10-28 深圳市芯海科技有限公司 Automatic chip testing method
CN107843829A (en) * 2017-10-25 2018-03-27 上海斐讯数据通信技术有限公司 A kind of parallel test system and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023185266A1 (en) * 2022-03-30 2023-10-05 中兴通讯股份有限公司 Automatic detection method, single board, electronic device and storage medium

Also Published As

Publication number Publication date
WO2021093655A1 (en) 2021-05-20

Similar Documents

Publication Publication Date Title
CN110798375B (en) Monitoring method, system and terminal equipment for enhancing high availability of container cluster
CN106959866B (en) Log collection client and upgrading method thereof
US9146839B2 (en) Method for pre-testing software compatibility and system thereof
US20220179682A1 (en) Task processing method, apparatus, and system based on distributed system
CN100407638C (en) Method for software upgrading and withdrawing
US8856592B2 (en) Mechanism to provide assured recovery for distributed application
CN102708018B (en) Method and system for exception handling, proxy equipment and control device
CN105933407B (en) method and system for realizing high availability of Redis cluster
CN105468717B (en) Database operation method and device
CN107844343B (en) Upgrading system and method for complex server application system
US20060218545A1 (en) Server system and online software update method
CN109491698B (en) System updating method and device based on hot patch
US20080141283A1 (en) Application Controlling Apparatus And Storage Medium Which Stores Software For The Apparatus
CN106095621B (en) The restoration methods and system that Launcher is operating abnormally in a kind of Android system
US20170060671A1 (en) Anomaly recovery method for virtual machine in distributed environment
CN112003917B (en) File storage management method, system, device and medium
WO2017198156A1 (en) Service deployment method, apparatus and system
CN108108296B (en) Cloud testing method, server and client
CN104503861A (en) Abnormality handling method and system, agency device and control device
CN102710438B (en) Node management method, device and system
CN112817801A (en) Single board detection method, computer equipment and computer readable medium
CN111966520A (en) Database high-availability switching method, device and system
CN111880947A (en) Data transmission method and device
US10514991B2 (en) Failover device ports
CN114090211A (en) Method and device for coordinating single-task master-slave program and related multi-server 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