Disclosure of Invention
In view of the above, in order to overcome at least one aspect of the above problems, an embodiment of the present invention provides a server maintenance method, including:
acquiring a unique identifier of a server;
acquiring a test scheme in a database according to the unique identifier;
testing the server according to the test scheme;
responding to errors in the test process, maintaining the server according to the error types and setting corresponding zone bits in the database;
and continuously testing the server according to the zone bit.
In some embodiments, obtaining the test solution in the database according to the unique identifier further comprises:
determining a plurality of test items corresponding to the server in the database according to the unique identifier;
acquiring a flag bit set in the database by the server;
and selecting a plurality of test items as test schemes according to the zone bits.
In some embodiments, the repairing the server according to the error type and setting the corresponding flag bit in the database further comprises:
matching a maintenance scheme in the database according to the error type;
and maintaining the server by using the maintenance scheme.
In some embodiments, obtaining the unique identifier of the server further comprises:
acquiring hardware parameters of the server;
and calculating the unique identifier according to the hardware parameter.
Based on the same inventive concept, according to another aspect of the present invention, an embodiment of the present invention further provides a server maintenance system, including:
the first acquisition module is configured to acquire the unique server identifier;
the second acquisition module is configured to acquire the test scheme in the database according to the unique identifier;
the testing module is configured to test the server according to the testing scheme;
the maintenance module is configured to respond to errors in the test process, maintain the server according to the error types and set corresponding zone bits in the database;
and the continuous testing module is configured to continuously test the server according to the zone bit.
In some embodiments, the second obtaining module is further configured to:
determining a plurality of test items corresponding to the server in the database according to the unique identifier;
acquiring a flag bit set in the database by the server;
and selecting a plurality of test items as test schemes according to the zone bits.
In some embodiments, the maintenance module is further configured to:
matching a maintenance scheme in the database according to the error type;
and maintaining the server by using the maintenance scheme.
In some embodiments, the first obtaining module is further configured to:
acquiring hardware parameters of the server;
and calculating the unique identifier according to the hardware parameter.
Based on the same inventive concept, according to another aspect of the present invention, an embodiment of the present invention further provides a computer apparatus, including:
at least one processor; and
a memory storing a computer program operable on the processor, wherein the processor executes the program to perform the steps of:
acquiring a unique identifier of a server;
acquiring a test scheme in a database according to the unique identifier;
testing the server according to the test scheme;
responding to errors in the test process, maintaining the server according to the error types and setting corresponding zone bits in the database;
and continuously testing the server according to the zone bit.
In some embodiments, obtaining the test solution in the database according to the unique identifier further comprises:
determining a plurality of test items corresponding to the server in the database according to the unique identifier;
acquiring a flag bit set in the database by the server;
and selecting a plurality of test items as test schemes according to the zone bits.
In some embodiments, the repairing the server according to the error type and setting the corresponding flag bit in the database further comprises:
matching a maintenance scheme in the database according to the error type;
and maintaining the server by using the maintenance scheme.
In some embodiments, obtaining the unique identifier of the server further comprises:
acquiring hardware parameters of the server;
and calculating the unique identifier according to the hardware parameter.
Based on the same inventive concept, according to another aspect of the present invention, an embodiment of the present invention further provides a computer-readable storage medium storing a computer program which, when executed by a processor, performs the steps of:
acquiring a unique identifier of a server;
acquiring a test scheme in a database according to the unique identifier;
testing the server according to the test scheme;
responding to errors in the test process, maintaining the server according to the error types and setting corresponding zone bits in the database;
and continuously testing the server according to the zone bit.
In some embodiments, obtaining the test solution in the database according to the unique identifier further comprises:
determining a plurality of test items corresponding to the server in the database according to the unique identifier;
acquiring a flag bit set in the database by the server;
and selecting a plurality of test items as test schemes according to the zone bits.
In some embodiments, the repairing the server according to the error type and setting the corresponding flag bit in the database further comprises:
matching a maintenance scheme in the database according to the error type;
and maintaining the server by using the maintenance scheme.
In some embodiments, obtaining the unique identifier of the server further comprises:
acquiring hardware parameters of the server;
and calculating the unique identifier according to the hardware parameter.
The invention has one of the following beneficial technical effects: according to the scheme provided by the invention, the unique flag bit is set as the identification code, the interactive cooperation of an MES production execution system and a DIAG test system is realized, unqualified products in the production process of the server are specially controlled, the test flow after the maintenance of the unqualified products of the server is automatically controlled and foolproof, the production test flow of the server is optimized, the manual operation and the uncontrollable operation steps are changed into controllable and automatic, the production test flow is optimized, the test item loss and even the complaint of customers caused by manual operation errors are avoided, and the product quality is ensured.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention are described in further detail with reference to the accompanying drawings.
It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are used for distinguishing two entities with the same name but different names or different parameters, and it should be noted that "first" and "second" are merely for convenience of description and should not be construed as limitations of the embodiments of the present invention, and they are not described in any more detail in the following embodiments.
According to an aspect of the present invention, an embodiment of the present invention provides a server maintenance method, as shown in fig. 1, which may include the steps of:
s1, acquiring the unique identifier of the server;
s2, acquiring a test scheme in a database according to the unique identifier;
s3, testing the server according to the test scheme;
s4, responding to errors in the test process, maintaining the server according to the error types and setting corresponding zone bits in the database;
and S5, continuing to test the server according to the zone bit.
The proposal provided by the invention mainly aims at the maintenance treatment of unqualified server products which fail in the production test process of the server, through the system control maintenance and test flow, all the unqualified server products after maintenance treatment start to continue to be tested according to the test items corresponding to the set zone bits, for example, starting with the first test item, specifically through an automated interworking by the MES production execution system and the DIAG test system, the testing process is automatically controlled and set, if a server comes out from a maintenance worker station, the testing is automatically started from a testing item corresponding to the DIAG testing system according to the flag bit, the testing is prohibited from continuing from the failed testing item, and the condition that the testing item is missed due to the operation error of maintenance workers and products which are not completely tested pass the testing is fundamentally avoided.
Like this through setting up only marker bit as the identification code, realize MES production execution system and DIAG test system's interactive cooperation, carry out special control to the defective work in the server production process, carry out automatic control to the test procedure after the defective work maintenance, become manual operation and uncontrollable operating procedure controllable and automatic, optimized production test procedure, avoid artificial misoperation to cause the test item to miss even the customer complains, guarantee product quality.
In some embodiments, obtaining the test solution in the database according to the unique identifier further comprises:
determining a plurality of test items corresponding to the server in the database according to the unique identifier;
acquiring a flag bit set in the database by the server;
and selecting a plurality of test items as test schemes according to the zone bits.
In some embodiments, the repairing the server according to the error type and setting the corresponding flag bit in the database further comprises:
matching a maintenance scheme in the database according to the error type;
and maintaining the server by using the maintenance scheme.
In some embodiments, obtaining the unique identifier of the server further comprises:
acquiring hardware parameters of the server;
and calculating the unique identifier according to the hardware parameter.
The following general example illustrates the implementation of the invention, the DIAG test system is actually a serial test flow, and includes three test links of front test, aging and rear test, each link includes a plurality of test items, and the whole test process is that these test items are sequentially run item by item; in the previous testing link, preparation work before testing such as upgrading BIOS, BMC and firmware of each component is generally carried out, and the compatibility problem of hardware and software is avoided during testing; however, in the actual production test process, if a fail occurs in a certain test item, the server is a non-qualified product and is transferred to a maintenance station for maintenance, and in many cases, a certain failed component needs to be replaced when the failed component is repaired to be a qualified product, for example, a mainboard is maintained and replaced when the fail is tested in an aging pressure test, if the test is continued directly from the aging pressure test, all test items in the previous test link are not executed, and a missing item occurs, operations such as upgrading the BIOS, the BMC, the firmware of each component and the like are not executed, so that the subsequent test item fails and the final test result is affected, and therefore, a serious control leak and a quality risk exist when the test item with the failure starts. One of the root reasons is that an MES production execution system and a DIAG test system of a factory are two independent systems, the MES production execution system controls the whole production process and ensures that each server flows in each work station, the DIAG test system is responsible for testing each server, the two systems respectively take the roles of ensuring the production test process of the servers, but the two systems do not carry out interactive operation before the two systems, so that the test process is uncontrollable after unqualified products are maintained; the patent is to put through an MES execution system and a DIAG test system, so that the two systems are interactively matched, the specific realization mode is that the MES execution system sets a state bit default of 0 in all product files, all unqualified product products entering a maintenance station in the production process, the MES execution system automatically sets the state bit of 1 and uploads the state bit to a database when a maintenance person replaces the components, the DIAG test system inquires the state bit of a product to be tested in the database before testing, if the state bit is 0, a normal test flow is executed, if the state bit is 1, the product after maintenance automatically starts testing from a first test item, and the state bit in the database is recovered to the default value of 0, so that the MES execution system and the DIAG test system can ensure that the unqualified product entering the maintenance station automatically starts testing from the first test item after maintenance processing, and fundamentally stops the maintenance person from manually setting the test flow, the method avoids the test item loss caused by manual misoperation, and the product which is not completely tested passes the test. The invention is already applied to the production test of the Langchao server and is approved by all large Internet clients, thus being applicable to the production test flow of server manufacturers.
According to the scheme provided by the invention, the unique flag bit is set as the identification code, the interactive cooperation of an MES production execution system and a DIAG test system is realized, unqualified products in the production process of the server are specially controlled, the test flow after the maintenance of the unqualified products of the server is automatically controlled and foolproof, the production test flow of the server is optimized, the manual operation and the uncontrollable operation steps are changed into controllable and automatic, the production test flow is optimized, the test item loss and even the complaint of customers caused by manual operation errors are avoided, and the product quality is ensured.
Based on the same inventive concept, according to another aspect of the present invention, an embodiment of the present invention further provides a server maintenance system 400, as shown in fig. 2, including:
a first obtaining module 401 configured to obtain a unique server identifier;
a second obtaining module 402 configured to obtain the test solution in the database according to the unique identifier;
a testing module 403 configured to test the server according to the testing scheme;
a maintenance module 404 configured to respond to an error in the test process, maintain the server according to the error type, and set a corresponding flag bit in the database;
and a continuous testing module 405 configured to continuously test the server according to the flag bit.
In some embodiments, the second obtaining module 402 is further configured to:
determining a plurality of test items corresponding to the server in the database according to the unique identifier;
acquiring a flag bit set in the database by the server;
and selecting a plurality of test items as test schemes according to the zone bits.
In some embodiments, the maintenance module 404 is further configured to:
matching a maintenance scheme in the database according to the error type;
and maintaining the server by using the maintenance scheme.
In some embodiments, the first obtaining module 401 is further configured to:
acquiring hardware parameters of the server;
and calculating the unique identifier according to the hardware parameter.
According to the scheme provided by the invention, the unique flag bit is set as the identification code, the interactive cooperation of an MES production execution system and a DIAG test system is realized, unqualified products in the production process of the server are specially controlled, the test flow after the maintenance of the unqualified products of the server is automatically controlled and foolproof, the production test flow of the server is optimized, the manual operation and the uncontrollable operation steps are changed into controllable and automatic, the production test flow is optimized, the test item loss and even the complaint of customers caused by manual operation errors are avoided, and the product quality is ensured.
Based on the same inventive concept, according to another aspect of the present invention, as shown in fig. 3, an embodiment of the present invention further provides a computer apparatus 501, comprising:
at least one processor 520; and
a memory 510, the memory 510 storing a computer program 511 executable on the processor, the processor 520 executing the program to perform the steps of:
s1, acquiring the unique identifier of the server;
s2, acquiring a test scheme in a database according to the unique identifier;
s3, testing the server according to the test scheme;
s4, responding to errors in the test process, maintaining the server according to the error types and setting corresponding zone bits in the database;
and S5, continuing to test the server according to the zone bit.
In some embodiments, obtaining the test solution in the database according to the unique identifier further comprises:
determining a plurality of test items corresponding to the server in the database according to the unique identifier;
acquiring a flag bit set in the database by the server;
and selecting a plurality of test items as test schemes according to the zone bits.
In some embodiments, the repairing the server according to the error type and setting the corresponding flag bit in the database further comprises:
matching a maintenance scheme in the database according to the error type;
and maintaining the server by using the maintenance scheme.
In some embodiments, obtaining the unique identifier of the server further comprises:
acquiring hardware parameters of the server;
and calculating the unique identifier according to the hardware parameter.
According to the scheme provided by the invention, the unique flag bit is set as the identification code, the interactive cooperation of an MES production execution system and a DIAG test system is realized, unqualified products in the production process of the server are specially controlled, the test flow after the maintenance of the unqualified products of the server is automatically controlled and foolproof, the production test flow of the server is optimized, the manual operation and the uncontrollable operation steps are changed into controllable and automatic operation, the production test flow is optimized, the test item leakage and even customer complaint caused by manual operation errors are avoided, and the product quality is ensured.
Based on the same inventive concept, according to another aspect of the present invention, as shown in fig. 4, an embodiment of the present invention further provides a computer-readable storage medium 601, where the computer-readable storage medium 601 stores computer program instructions 610, and the computer program instructions 610, when executed by a processor, perform the following steps:
s1, acquiring the unique identifier of the server;
s2, acquiring a test scheme in a database according to the unique identifier;
s3, testing the server according to the test scheme;
s4, responding to errors in the test process, maintaining the server according to the error types and setting corresponding zone bits in the database;
and S5, continuing to test the server according to the zone bit.
In some embodiments, obtaining the test solution in the database according to the unique identifier further comprises:
determining a plurality of test items corresponding to the server in the database according to the unique identifier;
acquiring a flag bit set in the database by the server;
and selecting a plurality of test items as test schemes according to the zone bits.
In some embodiments, the repairing the server according to the error type and setting the corresponding flag bit in the database further comprises:
matching a maintenance scheme in the database according to the error type;
and maintaining the server by using the maintenance scheme.
In some embodiments, obtaining the unique identifier of the server further comprises:
acquiring hardware parameters of the server;
and calculating the unique identifier according to the hardware parameter.
According to the scheme provided by the invention, the unique flag bit is set as the identification code, the interactive cooperation of an MES production execution system and a DIAG test system is realized, unqualified products in the production process of the server are specially controlled, the test flow after the maintenance of the unqualified products of the server is automatically controlled and foolproof, the production test flow of the server is optimized, the manual operation and the uncontrollable operation steps are changed into controllable and automatic, the production test flow is optimized, the test item loss and even the complaint of customers caused by manual operation errors are avoided, and the product quality is ensured.
Finally, it should be noted that, as will be understood by those skilled in the art, all or part of the processes of the methods of the above embodiments may be implemented by a computer program, which may be stored in a computer-readable storage medium, and when executed, may include the processes of the embodiments of the methods described above.
Further, it should be appreciated that the computer-readable storage media (e.g., memory) herein can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory.
Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as software or hardware depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the disclosed embodiments of the present invention.
The foregoing is an exemplary embodiment of the present disclosure, but it should be noted that various changes and modifications could be made herein without departing from the scope of the present disclosure as defined by the appended claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements of the disclosed embodiments of the invention may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
It should be understood that, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.
The numbers of the embodiments disclosed in the embodiments of the present invention are merely for description, and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, of embodiments of the invention is limited to these examples; within the idea of an embodiment of the invention, also technical features in the above embodiment or in different embodiments may be combined and there are many other variations of the different aspects of the embodiments of the invention as described above, which are not provided in detail for the sake of brevity. Therefore, any omissions, modifications, substitutions, improvements, and the like that may be made without departing from the spirit and principles of the embodiments of the present invention are intended to be included within the scope of the embodiments of the present invention.