CN109144801A - It is a kind of to be directed to the test method of MOC card, device and equipment in server - Google Patents
It is a kind of to be directed to the test method of MOC card, device and equipment in server Download PDFInfo
- Publication number
- CN109144801A CN109144801A CN201810981123.6A CN201810981123A CN109144801A CN 109144801 A CN109144801 A CN 109144801A CN 201810981123 A CN201810981123 A CN 201810981123A CN 109144801 A CN109144801 A CN 109144801A
- Authority
- CN
- China
- Prior art keywords
- moc card
- test
- target
- server
- genuine
- 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
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/2205—Detection 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
-
- 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
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K17/00—Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
- G06K17/0022—Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
- G06K17/0025—Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device the arrangement consisting of a wireless interrogation device in combination with a device for optically marking the record carrier
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Computer Networks & Wireless Communication (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
This application discloses a kind of test methods for being directed to MOC card in server, comprising: calls MOC card test program to test MOC card to be tested, and test result is stored into test database;From the genuine SN code of the target MOC card obtained in destination server in server product file store, genuine SN code is extracted according to the scanning information of the two-dimension code label of target MOC card in destination server production and assembly and is generated, and is stored in server product file store;The test result of target MOC card is searched in test database according to genuine SN code, and stores the corresponding relationship of test result and destination server.The record storage that is normally carried out with test result of the application effective guarantee MOC card test, reduces the fault rate in test process.Disclosed herein as well is a kind of test devices, equipment and computer readable storage medium for being directed to MOC card in server, it may have above-mentioned beneficial effect.
Description
Technical field
This application involves server technology fields, in particular to a kind of to be directed to the test method of MOC card in server, dress
It sets, equipment and computer readable storage medium.
Background technique
MOC card is an important component in server.It, generally all can be to institute in server in server production and assembly
The MOC card of installation carries out registration of filing, i.e., by the genuine SN code of the sequence number of server and the MOC card being mounted in the server
It is bound.
Server is tested after a period of use, such as burn-in test etc..The main body chip CPU's of server
Test is individually carried out with the test of MOC card, so after testing completion to MOC card, is needed according to registering in archives
Genuine SN code finds the test record of corresponding MOC card, is used as the complete of the server together with the test result of server CPU
Whole test result.
But in the prior art when progress server is filed, particular by some one-dimension code mark on scanning MOC card
Easily there is scanning fault to obtain genuine SN code, and due to being pasted with multiple one-dimension code labels on MOC card in label, lead
Cause information of filing is wrong so that test result can not normal storage, influence being normally carried out for test.
As it can be seen which kind of is directed to the measuring technology of MOC card in server using, just so as to the test of effective guarantee MOC card
The record storage with test result is often carried out, fault rate is reduced, is those skilled in the art's technical problem urgently to be resolved.
Summary of the invention
Being designed to provide for the application a kind of is directed to the test method of MOC card, device, equipment and calculating in server
Machine readable storage medium storing program for executing, so as to the record storage of effective guarantee MOC card test being normally carried out with test result, reduction was tested
Fault rate in journey.
In order to solve the above technical problems, the application provides a kind of test method for being directed to MOC card in server, comprising:
It calls MOC card test program to test MOC card to be tested, and test result is stored to test database
In;
From the genuine SN code of the target MOC card obtained in server product file store in destination server, the genuine SN
Code is extracted according to the scanning information of the two-dimension code label of the target MOC card in the destination server production and assembly and is generated,
And be stored in the server product file store, the MOC card to be tested includes the target MOC card;
The test result of the target MOC card is searched in the test database according to the genuine SN code, and is stored
The corresponding relationship of the test result and the destination server.
Optionally, in the survey for searching the target MOC card in the test database according to the genuine SN code
After test result, further includes:
If searching failure, the first error information is generated, to remind user to deposit in the server product file store
The genuine SN code of the target MOC card of storage is wrong.
Optionally, in the survey for searching the target MOC card in the test database according to the genuine SN code
Test result, and after storing the corresponding relationship of the test result and the destination server, further includes:
Generate the scan request to the two-dimension code label for the target MOC card being pasted on the destination server;
After receiving the scanning information of the two-dimension code label of scanning input, from the scanning information described in extraction
The genuine SN code of target MOC card;
Judge the original of the target MOC card stored in the genuine SN code and the server product file store of this acquisition
Whether factory's SN code is consistent;
If it is not, generating the second error information, then to remind user to be pasted onto the target on the destination server
The two-dimension code label of MOC card is wrong, is replaced.
Optionally, it is described in the destination server production and assembly according to the two-dimension code label of the target MOC card
Scanning information, which extracts, generates the genuine SN code, and is stored in the server product file store and specifically includes:
Receive the sequence number of the destination server of scanning input;
Receive the scanning information of the two-dimension code label of the target MOC card of scanning input;
Data bits verification is carried out to the scanning information;
If verifying successfully, the genuine SN code for generating the target MOC card is extracted from the scanning information;
The corresponding relationship of the sequence number and the genuine SN code is stored into the server product file store.
Optionally, described after extracting the genuine SN code for generating the target MOC card in the scanning information,
Before the corresponding relationship by the sequence number and the genuine SN code is stored into the server product file store, also wrap
It includes:
Judge whether the genuine SN code is already present in the server product file store;
If so, third error information is generated, to remind user to sweep the two-dimension code label of the target MOC card
It retouches wrong;
It stores if it is not, then continuing to execute the corresponding relationship by the sequence number and the genuine SN code to the service
Step in device file of product library.
Present invention also provides a kind of test devices for being directed to MOC card in server, comprising:
Test module: for calling MOC card test program to test MOC card to be tested, and test result is deposited
Storage is into test database;
Obtain module: for the genuine SN from the target MOC card obtained in destination server in server product file store
Code, the genuine SN code is in the destination server production and assembly according to the scanning of the two-dimension code label of the target MOC card
Information extraction generates, and is stored in the server product file store, and the MOC card to be tested includes the target MOC
Card;
Generation module: in the destination server production and assembly according to the two-dimension code label of the target MOC card
Scanning information extract the genuine SN code for generating the target MOC card, and be stored in the server product file store;
Memory module: for searching the survey of the target MOC card in the test database according to the genuine SN code
Test result, and store the corresponding relationship of the test result Yu the destination server.
Optionally, further includes:
Report an error module: described in being searched in the test database when the memory module according to the genuine SN code
When the test result failure of target MOC card, the first error information is generated, to remind user in the server product file store
The genuine SN code of the target MOC card of middle storage is wrong.
Optionally, further includes:
Scan request module: for generating the two dimensional code to the target MOC card being pasted on the destination server
The scan request of label;
Extraction module: for receive scanning input the two-dimension code label scanning information after, from the scanning
The genuine SN code of the target MOC card is extracted in information;
Two-dimension code label correction verification module: in the genuine SN code and the server product file store for judging this acquisition
Whether the genuine SN code of the target MOC card of storage is consistent;If it is not, generating the second error information, then to remind user viscous
The two-dimension code label for being attached to the target MOC card on the destination server is wrong, is replaced.
Present invention also provides a kind of test equipments for being directed to MOC card in server, comprising:
Memory: for storing computer program;
Processor: as described above any MOC in server is directed to realize for executing the computer program
The step of test method of card.
Present invention also provides a kind of computer readable storage medium, meter is stored in the computer readable storage medium
Calculation machine program, to realize any as described above be directed in server when the computer program is executed by processor
The step of test method of MOC card.
The test method for being directed to MOC card in server provided herein includes: that MOC card test program is called to treat
The MOC card of test is tested, and test result is stored into test database;Mesh is obtained from server product file store
The genuine SN code of the target MOC card in server is marked, the genuine SN code is in the destination server production and assembly according to institute
The scanning information for stating the two-dimension code label of target MOC card, which extracts, to be generated, and is stored in the server product file store, described
MOC card to be tested includes the target MOC card;The target is searched in the test database according to the genuine SN code
The test result of MOC card, and store the corresponding relationship of the test result Yu the destination server.
As it can be seen that compared with the prior art, provided herein is directed in server in the test method of MOC card, when
After MOC card to be tested all completes test, i.e., using the mesh of the destination server stored in server product file store
The genuine SN code for marking MOC card, searches the test result of target MOC card in the test database of MOC card, to form target clothes
The complete test content of business device.Since the genuine SN code of each MOC card in server product file store is all particular by sweeping
Retouch what the mode of two-dimension code label obtained, and it is general on MOC card only have a readily discernible two-dimension code label, therefore greatly
Ground reduces the error rate of the genuine SN code in server product file store, so effective guarantee MOC card test it is normal into
Capable and test result record storage, reduces the fault rate in test process.Provided herein is directed to MOC in server
The above-mentioned test side for being directed to MOC card in server may be implemented in test device, equipment and the computer readable storage medium of card
Method equally has above-mentioned beneficial effect.
Detailed description of the invention
In order to illustrate more clearly of the technical solution in the prior art and the embodiment of the present application, below will to the prior art and
Attached drawing to be used is needed to make brief introduction in the embodiment of the present application description.Certainly, in relation to the attached drawing of the embodiment of the present application below
A part of the embodiment in only the application of description is not paying creativeness to those skilled in the art
Under the premise of labour, other attached drawings can also be obtained according to the attached drawing of offer, other accompanying drawings obtained also belong to the application
Protection scope.
Fig. 1 is a kind of flow chart for being directed to the test method of MOC card in server provided herein;
Fig. 2 is a kind of structural block diagram for being directed to the test device of MOC card in server provided herein.
Specific embodiment
The core of the application, which is to provide, a kind of is directed to the test method of MOC card, device, equipment and calculating in server
Machine readable storage medium storing program for executing, so as to the record storage of effective guarantee MOC card test being normally carried out with test result, reduction was tested
Fault rate in journey.
In order to which technical solutions in the embodiments of the present application is more clearly and completely described, below in conjunction with this Shen
Please attached drawing in embodiment, technical solutions in the embodiments of the present application is introduced.Obviously, described embodiment is only
Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art
Every other embodiment obtained without making creative work, shall fall in the protection scope of this application.
Referring to FIG. 1, Fig. 1 is a kind of process for being directed to the test method of MOC card in server provided herein
Figure, mainly comprises the steps that
Step 1: calling MOC card test program to test MOC card to be tested, and test result is stored to test
In database.
Specifically, as previously mentioned, after server comes into operation, need periodically to carry out the test such as aging, to send out in time
Existing potential faults, safeguards system normal safe operation.Wherein, the component MOC card in server is needed individually from server master
It removes on plate and is tested respectively, MOC card test program is specific to after the test program of MOC card, operation test
Test result can be automatically generated.In actual test, often the MOC card removed in multiple servers is concentrated and carries out mass
Test.Therefore, after the MOC card in server to have been carried out to test, it is also necessary to by the test record for the MOC card tested with
The corresponding relationship of server is set up, to form the complete test result of the server.
Step 2: from the genuine SN code of the target MOC card obtained in server product file store in destination server, genuine
SN code is extracted according to the scanning information of the two-dimension code label of target MOC card in destination server production and assembly and is generated, and is stored
In server product file store, MOC card to be tested includes target MOC card.
In the assembling production process of server, assembler can save the important information of server, establish clothes
Business device file of product library, wherein the information stored just includes all parts (including MOC card) installed in every server
Component information, the sequence number of server and the component information of its component are bound.For this device of MOC card, need
The component information of storage just includes its genuine SN code.Genuine SN code is can be only set by manufacturer when MOC is stuck in production factory
The device coding of one identification, has multiple labels all to carry its genuine SN code on MOC card.
For the target MOC card in destination server, after it has been running for MOC card test program, can survey
Its test result is searched in examination database, and is searched according to the genuine SN code for being exactly target MOC card.Provided herein is directed to
In server in the test method of MOC card, the genuine SN code of the target MOC card stored in server product file store is not
It is to be obtained as passing through scanning one-dimension code label in the prior art, but pass through the two-dimension code label on scanning target MOC card
It obtains.A two-dimension code label is only had due to general on MOC card, and two dimensional code is readily discernible, therefore, can greatly reduce service
The error rate of the genuine SN code of acquisition is scanned in device file of product library.
Step 3: searching the test result of target MOC card in test database according to genuine SN code, and store test knot
The corresponding relationship of fruit and destination server.
It, can be in the survey of MOC card after the genuine SN code that the target MOC card of destination server has been determined by step 2
It tries to search test result corresponding with genuine SN code, the i.e. test result of target MOC card in database, and establishing and store should
The corresponding relationship of test result and destination server forms the complete test content of destination server.
As it can be seen that provided herein is directed in server in the test method of MOC card, when MOC card to be tested all
After completing test, i.e., using the genuine SN of the target MOC card of the destination server stored in server product file store
Code searches the test result of target MOC card, to form the complete survey of destination server in the test database of MOC card
Try content.Since the genuine SN code of each MOC card in server product file store is all particular by scanning the two-dimensional code label
What mode obtained, and it is general only with a readily discernible two-dimension code label on MOC card, therefore significantly reduce server
The error rate of genuine SN code in file of product library, and then effective guarantee MOC card test is normally carried out and test result
Record storage reduces the fault rate in test process.
The test method for being directed to MOC card in server provided herein, on the basis of the above embodiments:
As a kind of preferred embodiment, in the test knot for searching target MOC card in test database according to genuine SN code
After fruit, further includes:
If searching failure, the first error information is generated, to remind user to store in server product file store
The genuine SN code of target MOC card is wrong.
Specifically, if not finding survey corresponding with the genuine SN code of target MOC card in the test database of MOC card
Test result, then explanation this time search in based on genuine SN code be it is wrong, therefore, the first error information pair can be generated in time
User reminds, and can specifically be reminded using modes such as voice, text, images, and user's time update server is enabled
The genuine SN code of the target MOC card stored in file of product library.
As a kind of preferred embodiment, in the test knot for searching target MOC card in test database according to genuine SN code
Fruit, and after storing the corresponding relationship of test result and destination server, further includes:
Generate the scan request to the two-dimension code label for the target MOC card being pasted on destination server;
After receiving the scanning information of two-dimension code label of scanning input, target MOC card is extracted from scanning information
Genuine SN code;
Judging the genuine SN code of the target MOC card stored in the genuine SN code and server product file store of this acquisition is
It is no consistent;
If it is not, generating the second error information, then so as to the two of the target MOC card for reminding user to be pasted on destination server
It is wrong to tie up code label, is replaced.
It specifically, generally can also be on the server (specifically on server rear window) in server assembling production process
Also the two-dimension code label of upper MOC card is pasted, certainly, the MOC card of two-dimension code label and server installation on server rear window
On two-dimension code label be duplicate.When sometimes having carried out replacement to the MOC card installed in server, operator
Member may forget to replace the two-dimension code label being pasted on server rear window simultaneously.For this purpose, in order to ensure being pasted on server
Two-dimension code label correctness, provided herein is directed in server in the test method of MOC card, also to being pasted onto
Two-dimension code label on server rear window is verified.When pair for storing target MOC card test result and destination server
After should being related to, scan request is can be generated and shown, scan the two dimension being pasted on server rear window with request for test personnel
Code label, then extracts genuine SN code from scanning information, and with the target MOC card that is stored in server product file store
Genuine SN code compares: if the two is consistent, illustrating that the two-dimension code label being pasted on server rear window is correct;If two
Person is inconsistent, then the two-dimension code label that is pasted on server rear window of explanation is wrong, and second can be generated at this time and report an error letter
Breath, to remind user to replace the two-dimension code label on server rear window.
As a kind of preferred embodiment, in destination server production and assembly according to the two-dimension code label of target MOC card
Scanning information, which extracts, generates genuine SN code, and is stored in server product file store and specifically includes:
Receive the sequence number of the destination server of scanning input;
Receive the scanning information of the two-dimension code label of the target MOC card of scanning input;
Data bits verification is carried out to scanning information;
If verifying successfully, the genuine SN code for generating target MOC card is extracted from scanning information;
The corresponding relationship of sequence number and genuine SN code is stored into server product file store.
As previously mentioned, needing in the assembling production process of destination server by the original of the target MOC card of destination server
Factory's SN code is stored into server product file store.Specifically, the destination server of assembler scanning input is being received
Sequence number, target MOC card two-dimension code label after, first scanning information to the two-dimension code label can carry out data bits verification,
Tentatively to confirm the correctness of scanning result.If verifying the two dimensional code for successfully illustrating that scanning information comes from MOC card really
Label, rather than the label of other component can then extract genuine SN code from scanning information, with the sequence number of destination server into
Row binding, the corresponding relationship of the two is stored into server product file store.
Wherein, when carrying out data bits verification, the scanning information of the two-dimension code label of MOC card is typically all 88 numbers
According to, if digit is not right, illustrate scan mistake.In addition, the information carried in two-dimension code label is more, the set meal including MOC card
Number, configuration information and genuine SN code etc., genuine SN code can be only obtained using wherein useful data segment.
As a kind of preferred embodiment, after extracting the genuine SN code for generating target MOC card in scanning information, by sequence
Before the corresponding relationship of row number and genuine SN code is stored into server product file store, further includes:
Judge whether genuine SN code is already present in server product file store;
If so, third error information is generated, to remind user wrong to the two-dimension code label scanning of target MOC card;
The corresponding relationship of sequence number and genuine SN code is stored into server product file store if it is not, then continuing to execute
Step.
Specifically, in the assembling production process of destination server, the target of destination server is extracted when having scanned
When the genuine SN code of MOC card, duplicate checking can be first carried out in server product file store, then again after duplicate checking is out of question by the original
Factory's SN code and the corresponding relationship of sequence number are stored.Since a MOC card can only correspond to an a server i.e. sequence
Number, therefore, if find that genuine SN code is already present in server product file store when duplicate checking, illustrate to the target
The scanning of the two-dimension code label of MOC card is wrong, needs to generate third error information to remind user.
The test device for being directed to MOC card in server provided herein is introduced below.
Referring to Fig. 2, Fig. 2 is a kind of structure for being directed to the test device of MOC card in server provided herein
Block diagram;Including test module 1, obtain module 2, generation module 3 and memory module 4;
Test module 1 deposits test result for calling MOC card test program to test MOC card to be tested
Storage is into test database;
Module 2 is obtained for the genuine SN from the target MOC card obtained in destination server in server product file store
Code, genuine SN code are extracted according to the scanning information of the two-dimension code label of target MOC card in destination server production and assembly and are generated,
And be stored in server product file store, the MOC card to be tested includes target MOC card;
Generation module 3 is used to be believed in destination server production and assembly according to the scanning of the two-dimension code label of target MOC card
Breath extracts the genuine SN code for generating target MOC card, and is stored in server product file store;
Memory module 4 is used to search the test result of target MOC card in test database according to genuine SN code, and stores
The corresponding relationship of test result and destination server.
As it can be seen that the test device for being directed to MOC card in server provided herein, when MOC card to be tested is all complete
After test, i.e., using the genuine SN code of the target MOC card of the destination server stored in server product file store,
The test result of target MOC card is searched in the test database of MOC card, to be formed in the complete test of destination server
Hold.Since the genuine SN code of each MOC card in server product file store is all particular by the mode for scanning the two-dimensional code label
It obtains, and it is general only with a readily discernible two-dimension code label on MOC card, therefore significantly reduce server product
The error rate of genuine SN code in file store, and then the record of effective guarantee MOC card test being normally carried out with test result
Storage reduces the fault rate in test process.
The test device for being directed to MOC card in server provided herein, on the basis of the above embodiments:
As a kind of preferred embodiment, further includes:
Report an error module: described in being searched in the test database when the memory module according to the genuine SN code
When the test result failure of target MOC card, the first error information is generated, to remind user in the server product file store
The genuine SN code of the target MOC card of middle storage is wrong.
As a kind of preferred embodiment, further includes:
Scan request module: for generating the two dimensional code to the target MOC card being pasted on the destination server
The scan request of label;
Extraction module: for receive scanning input the two-dimension code label scanning information after, from the scanning
The genuine SN code of the target MOC card is extracted in information;
Two-dimension code label correction verification module: in the genuine SN code and the server product file store for judging this acquisition
Whether the genuine SN code of the target MOC card of storage is consistent;If it is not, generating the second error information, then to remind user viscous
The two-dimension code label for being attached to the target MOC card on the destination server is wrong, is replaced.
As a kind of preferred embodiment, generation module 3 is specifically used for:
Receive the sequence number of the destination server of scanning input;Receive the two dimensional code of the target MOC card of scanning input
The scanning information of label;Data bits verification is carried out to scanning information;If verifying successfully, is extracted from scanning information and generate mesh
Mark the genuine SN code of MOC card;
Memory module 4 is specifically used for:
The corresponding relationship of the sequence number and the genuine SN code is stored into server product file store.
As a kind of preferred embodiment, further includes:
Judgment module: for generation module 3 from scanning information extract generate target MOC card genuine SN code after,
Before memory module 4 stores the corresponding relationship of sequence number and genuine SN code into server product file store, genuine SN is judged
Whether code is already present in server product file store;If so, third error information is generated, to remind user to target
The two-dimension code label scanning of MOC card is wrong;If it is not, then memory module 4 continues on for sequence number pass corresponding with genuine SN code
System stores into server product file store.
Present invention also provides a kind of test equipments for being directed to MOC card in server, comprising:
Memory: for storing computer program;
Processor: as described above any MOC in server is directed to realize for executing the computer program
The step of test method of card.
Present invention also provides a kind of computer readable storage medium, computer is stored in computer readable storage medium
Program as described above any is directed to MOC card in server to realize when the computer program is executed by processor
Test method the step of.
The test device, equipment and computer readable storage medium for being directed to MOC card in server provided herein
Specific embodiment can correspond to each other reference with the test method as described above for being directed to MOC card in server, here
Just repeat no more.
Each embodiment is described in a progressive manner in the application, the highlights of each of the examples are with other realities
The difference of example is applied, the same or similar parts in each embodiment may refer to each other.For device disclosed in embodiment
Speech, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is referring to method part illustration
?.
It should be noted that in present specification, the relational terms of such as " first " and " second " etc are used merely to
One entity or operation and another entity or operate is distinguished, without necessarily requiring or implying these entities or
There are any actual relationship or orders between person's operation.In addition, the terms "include", "comprise" or its any other
Variant is intended to non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only
It including those elements, but also including other elements that are not explicitly listed, or further include for this process, method, object
Product or the intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...",
It is not precluded in the process, method, article or apparatus that includes the element that there is also other identical elements.
Technical solution provided herein is described in detail above.Specific case used herein is to this Shen
Principle and embodiment please is expounded, the present processes that the above embodiments are only used to help understand and its
Core concept.It should be pointed out that for those skilled in the art, in the premise for not departing from the application principle
Under, can also to the application, some improvement and modification can also be carried out, these improvement and modification also fall into the protection of the claim of this application
In range.
Claims (10)
1. a kind of test method for being directed to MOC card in server characterized by comprising
It calls MOC card test program to test MOC card to be tested, and test result is stored into test database;
From the genuine SN code of the target MOC card obtained in destination server in server product file store, the genuine SN code exists
It is extracted and is generated according to the scanning information of the two-dimension code label of the target MOC card when destination server production and assembly, and deposited
In the server product file store, the MOC card to be tested includes the target MOC card for storage;
The test result of the target MOC card is searched in the test database according to the genuine SN code, and described in storage
The corresponding relationship of test result and the destination server.
2. test method according to claim 1, which is characterized in that it is described according to the genuine SN code in the test
After the test result for searching the target MOC card in database, further includes:
If searching failure, the first error information is generated, to remind user to store in the server product file store
The genuine SN code of the target MOC card is wrong.
3. test method according to claim 1, which is characterized in that it is described according to the genuine SN code in the test
The test result of the target MOC card is searched in database, and it is corresponding with the destination server to store the test result
After relationship, further includes:
Generate the scan request to the two-dimension code label for the target MOC card being pasted on the destination server;
After receiving the scanning information of the two-dimension code label of scanning input, the target is extracted from the scanning information
The genuine SN code of MOC card;
Judge the genuine SN of the target MOC card stored in the genuine SN code and the server product file store of this acquisition
Whether code is consistent;
If it is not, generating the second error information, then to remind user to be pasted onto the target MOC card on the destination server
The two-dimension code label it is wrong, replaced.
4. test method according to any one of claims 1 to 3, which is characterized in that described raw in the destination server
It is extracted when producing assembling according to the scanning information of the two-dimension code label of the target MOC card and generates the genuine SN code, and be stored in
It is specifically included in the server product file store:
Receive the sequence number of the destination server of scanning input;
Receive the scanning information of the two-dimension code label of the target MOC card of scanning input;
Data bits verification is carried out to the scanning information;
If verifying successfully, the genuine SN code for generating the target MOC card is extracted from the scanning information;
The corresponding relationship of the sequence number and the genuine SN code is stored into the server product file store.
5. test method according to claim 4, which is characterized in that generate institute in described extract from the scanning information
After stating the genuine SN code of target MOC card, the corresponding relationship by the sequence number and the genuine SN code store to
Before in the server product file store, further includes:
Judge whether the genuine SN code is already present in the server product file store;
If so, third error information is generated, to remind user to have the two-dimension code label scanning of the target MOC card
Accidentally;
It is produced if it is not, then continuing to execute the corresponding relationship by the sequence number and the genuine SN code and storing to the server
Step in product file store.
6. a kind of test device for being directed to MOC card in server characterized by comprising
Test module: for calling MOC card test program to test MOC card to be tested, and by test result store to
In test database;
Obtain module: for the genuine SN code from the target MOC card obtained in destination server in server product file store, institute
Genuine SN code is stated to be mentioned in the destination server production and assembly according to the scanning information of the two-dimension code label of the target MOC card
Generation is taken, and is stored in the server product file store, the MOC card to be tested includes the target MOC card;
Generation module: for the sweeping according to the two-dimension code label of the target MOC card in the destination server production and assembly
It retouches information extraction and generates the genuine SN code of the target MOC card, and be stored in the server product file store;
Memory module: for searching the test knot of the target MOC card in the test database according to the genuine SN code
Fruit, and store the corresponding relationship of the test result Yu the destination server.
7. test device according to claim 6, which is characterized in that further include:
Report an error module: for when the memory module searches the target according to the genuine SN code in the test database
When the test result failure of MOC card, the first error information is generated, to remind user to deposit in the server product file store
The genuine SN code of the target MOC card of storage is wrong.
8. test device according to claim 6, which is characterized in that further include:
Scan request module: for generating the two-dimension code label to the target MOC card being pasted on the destination server
Scan request;
Extraction module: for receive scanning input the two-dimension code label scanning information after, from the scanning information
The middle genuine SN code for extracting the target MOC card;
Two-dimension code label correction verification module: it is stored in the genuine SN code and the server product file store for judging this acquisition
The target MOC card genuine SN code it is whether consistent;If it is not, generating the second error information, then to remind user to be pasted onto
The two-dimension code label of the target MOC card on the destination server is wrong, is replaced.
9. a kind of test equipment for being directed to MOC card in server characterized by comprising
Memory: for storing computer program;
Processor: server is directed to as described in any one of claim 1 to 5 to realize for executing the computer program
The step of test method of middle MOC card.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer in the computer readable storage medium
Program is directed to service as described in any one of claim 1 to 5 to realize when the computer program is executed by processor
In device the step of the test method of MOC card.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810981123.6A CN109144801A (en) | 2018-08-27 | 2018-08-27 | It is a kind of to be directed to the test method of MOC card, device and equipment in server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810981123.6A CN109144801A (en) | 2018-08-27 | 2018-08-27 | It is a kind of to be directed to the test method of MOC card, device and equipment in server |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109144801A true CN109144801A (en) | 2019-01-04 |
Family
ID=64828291
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810981123.6A Pending CN109144801A (en) | 2018-08-27 | 2018-08-27 | It is a kind of to be directed to the test method of MOC card, device and equipment in server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109144801A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109818825A (en) * | 2019-01-07 | 2019-05-28 | 郑州云海信息技术有限公司 | A kind of Rack server intelligent testing method and system |
CN111275144A (en) * | 2020-01-17 | 2020-06-12 | 浪潮商用机器有限公司 | Design method and device for binding CPU information into product system |
CN111598589A (en) * | 2020-05-20 | 2020-08-28 | 闻泰通讯股份有限公司 | Electronic equipment detection method and device, storage medium and electronic equipment |
CN113419162A (en) * | 2021-07-09 | 2021-09-21 | 广州朗国电子科技股份有限公司 | PCB testing method and device based on android system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080313503A1 (en) * | 2007-06-14 | 2008-12-18 | Hong Fu Jin Precision Industry (Shenzhen) Co., Ltd. | Device and method for testing motherboard |
CN102762032A (en) * | 2011-04-28 | 2012-10-31 | 上海博泰悦臻电子设备制造有限公司 | Method and system for tracking part quality |
CN104281954A (en) * | 2014-04-30 | 2015-01-14 | 上海高研明鉴信息技术有限公司 | Anti-counterfeiting method for product |
CN107492332A (en) * | 2017-08-10 | 2017-12-19 | 捷星显示科技(福建)有限公司 | A kind of lcd productive line test result store method |
-
2018
- 2018-08-27 CN CN201810981123.6A patent/CN109144801A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080313503A1 (en) * | 2007-06-14 | 2008-12-18 | Hong Fu Jin Precision Industry (Shenzhen) Co., Ltd. | Device and method for testing motherboard |
CN102762032A (en) * | 2011-04-28 | 2012-10-31 | 上海博泰悦臻电子设备制造有限公司 | Method and system for tracking part quality |
CN104281954A (en) * | 2014-04-30 | 2015-01-14 | 上海高研明鉴信息技术有限公司 | Anti-counterfeiting method for product |
CN107492332A (en) * | 2017-08-10 | 2017-12-19 | 捷星显示科技(福建)有限公司 | A kind of lcd productive line test result store method |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109818825A (en) * | 2019-01-07 | 2019-05-28 | 郑州云海信息技术有限公司 | A kind of Rack server intelligent testing method and system |
CN109818825B (en) * | 2019-01-07 | 2022-02-18 | 郑州云海信息技术有限公司 | Rack server intelligent test method and system |
CN111275144A (en) * | 2020-01-17 | 2020-06-12 | 浪潮商用机器有限公司 | Design method and device for binding CPU information into product system |
CN111598589A (en) * | 2020-05-20 | 2020-08-28 | 闻泰通讯股份有限公司 | Electronic equipment detection method and device, storage medium and electronic equipment |
CN113419162A (en) * | 2021-07-09 | 2021-09-21 | 广州朗国电子科技股份有限公司 | PCB testing method and device based on android system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109144801A (en) | It is a kind of to be directed to the test method of MOC card, device and equipment in server | |
JP6782778B2 (en) | Data processing method and equipment | |
CN106230602B (en) | The integrity detection system and method for the certificate chain of digital certificate | |
CN110427375B (en) | Method and device for identifying field type | |
CN110008254A (en) | A kind of transformer equipment account verification processing method | |
US8554727B2 (en) | Method and system of tiered quiescing | |
CN110764980A (en) | Log processing method and device | |
CN108664388A (en) | Dynamic field data return to test system, method, electronic equipment and the readable storage medium storing program for executing of interface | |
CN111522741A (en) | Interface test code generation method and device, electronic equipment and readable storage medium | |
CN107223257A (en) | Method of testing, test server and system | |
CN108959374B (en) | Data storage method and device and electronic equipment | |
CN106874306A (en) | People information portrait Compare System Key Performance Indicator evaluating method | |
CN107451058A (en) | A kind of software development methodology and device | |
CN112632926B (en) | Bill data processing method and device, electronic equipment and storage medium | |
CN104809238B (en) | Data processing method and device for data collecting system | |
CN108388930A (en) | The method and device of verification contract spare part picture correctness and integrality | |
CN108415886B (en) | A kind of data label error correction method and device based on production process | |
CN108304569B (en) | Test data accumulation method and device | |
CN108572948B (en) | Doorplate information processing method and device | |
CN110570207A (en) | commodity tracing method and device | |
CN112187708B (en) | Automatic supplementing method and equipment for certificate chain of digital certificate | |
CN112905722B (en) | Behavior recognition method and device and storage medium | |
CN113469649A (en) | Project progress analysis method and device, electronic equipment and storage medium | |
CN106933888A (en) | Database configuration management system | |
CN113220594B (en) | Automatic test method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190104 |