[go: up one dir, main page]

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 PDF

Info

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
target
server
moc card
code
test
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
CN201810981123.6A
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201810981123.6A priority Critical patent/CN109144801A/en
Publication of CN109144801A publication Critical patent/CN109144801A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods 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/0022Methods 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 provisions for transferring data to distant stations, e.g. from a sensing device
    • G06K17/0025Methods 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 provisions 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

本申请公开了一种针对于服务器中MOC卡的测试方法,包括:调用MOC卡测试程序对待测试的MOC卡进行测试,并将测试结果存储至测试数据库中;从服务器产品档案库中获取目标服务器中的目标MOC卡的原厂SN码,原厂SN码在目标服务器生产组装时根据目标MOC卡的二维码标签的扫描信息提取生成,并存储在服务器产品档案库中;根据原厂SN码在测试数据库中查找目标MOC卡的测试结果,并存储测试结果与目标服务器的对应关系。本申请有效保障了MOC卡测试的正常进行和测试结果的记录存储,降低测试过程中的失误率。本申请还公开了一种针对于服务器中MOC卡的测试装置、设备及计算机可读存储介质,也具有上述有益效果。

The present application discloses a method for testing a MOC card in a server, including: calling a MOC card testing program to test the MOC card to be tested, and storing the test results in a test database; obtaining a target server from a server product archive the original SN code of the target MOC card in Find the test results of the target MOC card in the test database, and store the corresponding relationship between the test results and the target server. The application effectively guarantees the normal execution of the MOC card test and the recording and storage of the test results, and reduces the error rate in the test process. The present application also discloses a testing device, equipment and computer-readable storage medium for the MOC card in the server, which also have the above beneficial effects.

Description

It is a kind of to be directed to the test method of MOC card, device and equipment in server
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.一种针对于服务器中MOC卡的测试方法,其特征在于,包括:1. a test method for MOC card in the server, is characterized in that, comprises: 调用MOC卡测试程序对待测试的MOC卡进行测试,并将测试结果存储至测试数据库中;Call the MOC card test program to test the MOC card to be tested, and store the test results in the test database; 从服务器产品档案库中获取目标服务器中的目标MOC卡的原厂SN码,所述原厂SN码在所述目标服务器生产组装时根据所述目标MOC卡的二维码标签的扫描信息提取生成,并存储在所述服务器产品档案库中,所述待测试的MOC卡包括所述目标MOC卡;The original SN code of the target MOC card in the target server is obtained from the server product archive, and the original SN code is extracted and generated according to the scanning information of the QR code label of the target MOC card during the production and assembly of the target server. , and stored in the server product archive, and the MOC card to be tested includes the target MOC card; 根据所述原厂SN码在所述测试数据库中查找所述目标MOC卡的测试结果,并存储所述测试结果与所述目标服务器的对应关系。The test result of the target MOC card is searched in the test database according to the original SN code, and the corresponding relationship between the test result and the target server is stored. 2.根据权利要求1所述的测试方法,其特征在于,在所述根据所述原厂SN码在所述测试数据库中查找所述目标MOC卡的测试结果之后,还包括:2. test method according to claim 1, is characterized in that, after described according to described original factory SN code in described test database to find the test result of described target MOC card, also comprise: 若查找失败,则生成第一报错信息,以便提醒用户在所述服务器产品档案库中存储的所述目标MOC卡的所述原厂SN码有误。If the search fails, a first error message is generated to remind the user that the original SN code of the target MOC card stored in the server product archive is incorrect. 3.根据权利要求1所述的测试方法,其特征在于,在所述根据所述原厂SN码在所述测试数据库中查找所述目标MOC卡的测试结果,并存储所述测试结果与所述目标服务器的对应关系之后,还包括:3. test method according to claim 1, is characterized in that, in described according to described original factory SN code in described test database to find the test result of described target MOC card, and store described test result and all After describing the corresponding relationship of the target server, it also includes: 生成对粘贴在所述目标服务器上的所述目标MOC卡的二维码标签的扫描请求;generating a scan request for the QR code label of the target MOC card pasted on the target server; 在接收到扫描输入的所述二维码标签的扫描信息后,从所述扫描信息中提取所述目标MOC卡的原厂SN码;After receiving the scan information of the two-dimensional code label scanned and input, extract the original SN code of the target MOC card from the scan information; 判断本次获取的原厂SN码与所述服务器产品档案库中存储的所述目标MOC卡的原厂SN码是否一致;Determine whether the original SN code obtained this time is consistent with the original SN code of the target MOC card stored in the server product archive; 若否,则生成第二报错信息,以便提醒用户粘贴在所述目标服务器上的所述目标MOC卡的所述二维码标签有误,需要进行更换。If not, a second error message is generated to remind the user that the two-dimensional code label of the target MOC card pasted on the target server is wrong and needs to be replaced. 4.根据权利要求1至3任一项所述的测试方法,其特征在于,所述在所述目标服务器生产组装时根据所述目标MOC卡的二维码标签的扫描信息提取生成所述原厂SN码,并存储在所述服务器产品档案库中具体包括:4. The test method according to any one of claims 1 to 3, wherein, when the target server is produced and assembled, the original source is extracted and generated according to the scanning information of the two-dimensional code label of the target MOC card. The factory SN code and stored in the server product archive specifically include: 接收扫描输入的所述目标服务器的序列号;Receive the serial number of the target server entered by scanning; 接收扫描输入的所述目标MOC卡的所述二维码标签的扫描信息;Receive the scanning information of the described two-dimensional code label of the described target MOC card of scanning input; 对所述扫描信息进行数据位数校验;Performing a data digit check on the scanned information; 若校验成功,则从所述扫描信息中提取生成所述目标MOC卡的所述原厂SN码;If the verification is successful, extract and generate the original SN code of the target MOC card from the scan information; 将所述序列号与所述原厂SN码的对应关系存储至所述服务器产品档案库中。The corresponding relationship between the serial number and the original SN code is stored in the server product archive. 5.根据权利要求4所述的测试方法,其特征在于,在所述从所述扫描信息中提取生成所述目标MOC卡的所述原厂SN码之后、所述将所述序列号与所述原厂SN码的对应关系存储至所述服务器产品档案库中之前,还包括:5. The test method according to claim 4, characterized in that, after the original SN code of the target MOC card is extracted and generated from the scan information, the serial number is compared with the original SN code of the target MOC card. Before the corresponding relationship of the original SN code is stored in the server product archive, it also includes: 判断所述原厂SN码是否已经存在于所述服务器产品档案库中;Judging whether the original SN code already exists in the server product archive; 若是,则生成第三报错信息,以便提醒用户对所述目标MOC卡的所述二维码标签扫描有误;If so, then generate the third error message, so as to remind the user that there is an error in scanning the two-dimensional code label of the target MOC card; 若否,则继续执行所述将所述序列号与所述原厂SN码的对应关系存储至所述服务器产品档案库中的步骤。If not, continue to execute the step of storing the corresponding relationship between the serial number and the original SN code in the server product archive. 6.一种针对于服务器中MOC卡的测试装置,其特征在于,包括:6. A test device for MOC card in the server, characterized in that, comprising: 测试模块:用于调用MOC卡测试程序对待测试的MOC卡进行测试,并将测试结果存储至测试数据库中;Test module: used to call the MOC card test program to test the MOC card to be tested, and store the test results in the test database; 获取模块:用于从服务器产品档案库中获取目标服务器中的目标MOC卡的原厂SN码,所述原厂SN码在所述目标服务器生产组装时根据所述目标MOC卡的二维码标签的扫描信息提取生成,并存储在所述服务器产品档案库中,所述待测试的MOC卡包括所述目标MOC卡;Obtaining module: used to obtain the original SN code of the target MOC card in the target server from the server product archive, the original SN code is based on the QR code label of the target MOC card when the target server is produced and assembled The scanned information is extracted and generated, and stored in the server product archive, and the MOC card to be tested includes the target MOC card; 生成模块:用于在所述目标服务器生产组装时根据所述目标MOC卡的二维码标签的扫描信息提取生成所述目标MOC卡的原厂SN码,并存储在所述服务器产品档案库中;Generation module: used to extract and generate the original SN code of the target MOC card according to the scanning information of the QR code label of the target MOC card during production and assembly of the target server, and store it in the server product archive ; 存储模块:用于根据所述原厂SN码在所述测试数据库中查找所述目标MOC卡的测试结果,并存储所述测试结果与所述目标服务器的对应关系。Storage module: used to look up the test result of the target MOC card in the test database according to the original SN code, and store the corresponding relationship between the test result and the target server. 7.根据权利要求6所述的测试装置,其特征在于,还包括:7. The test device according to claim 6, further comprising: 报错模块:用于当所述存储模块根据所述原厂SN码在所述测试数据库中查找所述目标MOC卡的测试结果失败时,生成第一报错信息,以便提醒用户在所述服务器产品档案库中存储的所述目标MOC卡的所述原厂SN码有误。Error reporting module: for when the storage module fails to find the test result of the target MOC card in the test database according to the original SN code, generate the first error reporting message, so as to remind the user to record the server product file The original SN code of the target MOC card stored in the library is incorrect. 8.根据权利要求6所述的测试装置,其特征在于,还包括:8. The test device according to claim 6, further comprising: 扫描请求模块:用于生成对粘贴在所述目标服务器上的所述目标MOC卡的二维码标签的扫描请求;Scanning request module: for generating a scanning request to the QR code label of the target MOC card pasted on the target server; 提取模块:用于在接收到扫描输入的所述二维码标签的扫描信息后,从所述扫描信息中提取所述目标MOC卡的原厂SN码;Extraction module: for extracting the original SN code of the target MOC card from the scan information after receiving the scan information of the two-dimensional code label input by scanning; 二维码标签校验模块:用于判断本次获取的原厂SN码与所述服务器产品档案库中存储的所述目标MOC卡的原厂SN码是否一致;若否,则生成第二报错信息,以便提醒用户粘贴在所述目标服务器上的所述目标MOC卡的所述二维码标签有误,需要进行更换。Two-dimensional code label verification module: used to judge whether the original SN code obtained this time is consistent with the original SN code of the target MOC card stored in the server product archive; if not, generate a second error report information, so as to remind the user that the two-dimensional code label of the target MOC card pasted on the target server is wrong and needs to be replaced. 9.一种针对于服务器中MOC卡的测试设备,其特征在于,包括:9. a kind of test equipment for MOC card in the server, is characterized in that, comprises: 存储器:用于存储计算机程序;Memory: used to store computer programs; 处理器:用于执行所述计算机程序以实现如权利要求1至5任一项所述的针对于服务器中MOC卡的测试方法的步骤。Processor: steps for executing the computer program to implement the method for testing an MOC card in a server according to any one of claims 1 to 5. 10.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机程序,所述计算机程序被处理器执行时用以实现如权利要求1至5任一项所述的针对于服务器中MOC卡的测试方法的步骤。10. A computer-readable storage medium, characterized in that, a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the computer program is used to realize any one of claims 1 to 5. The steps of the test method for the MOC card in the server.
CN201810981123.6A 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 Pending CN109144801A (en)

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 (6)

* Cited by examiner, † Cited by third party
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 浪潮商用机器有限公司 A design method and device for binding CPU information into a product system
CN111598589A (en) * 2020-05-20 2020-08-28 闻泰通讯股份有限公司 Electronic equipment detection method and device, storage medium and electronic equipment
CN113312252A (en) * 2020-02-27 2021-08-27 北京搜狗科技发展有限公司 Method and device for realizing service request test
CN113419162A (en) * 2021-07-09 2021-09-21 广州朗国电子科技股份有限公司 PCB testing method and device based on android system
CN115098293A (en) * 2022-07-15 2022-09-23 上海叁零肆零科技有限公司 Automatic test system for terminal equipment of Internet of things

Citations (4)

* Cited by examiner, † Cited by third party
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
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 (8)

* Cited by examiner, † Cited by third party
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 浪潮商用机器有限公司 A design method and device for binding CPU information into a product system
CN113312252A (en) * 2020-02-27 2021-08-27 北京搜狗科技发展有限公司 Method and device for realizing service request test
CN113312252B (en) * 2020-02-27 2024-10-25 北京搜狗科技发展有限公司 Method and device for realizing service request test
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
CN115098293A (en) * 2022-07-15 2022-09-23 上海叁零肆零科技有限公司 Automatic test system for terminal equipment of Internet of things

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
CN109902016B (en) Web test method and test platform
CN109408357A (en) A kind of automatic interface testing method and device
US10552242B2 (en) Runtime failure detection and correction
CN108536521B (en) Simulation platform-based offline environment checking method and device
CN113037521B (en) Methods, communication systems and storage media for identifying communication equipment status
CN108664388A (en) Dynamic field data return to test system, method, electronic equipment and the readable storage medium storing program for executing of interface
CN116069384B (en) Configuration change processing method, device, computer equipment and storage medium
CN107451058A (en) A kind of software development methodology and device
CN108415886B (en) A method and device for data label error correction based on production process
CN115061908A (en) Method and device for positioning defect code, storage medium and computer equipment
CN106874306A (en) People information portrait Compare System Key Performance Indicator evaluating method
CN113220488A (en) Record sheet pasting method and device based on mobile terminal
CN105468530B (en) A kind of program error detection method and system based on finite state machine
CN104809238B (en) Data processing method and device for data collecting system
CN110020550B (en) Evaluation method, device and equipment for checking platform
CN106933888A (en) Database configuration management system
CN111159028B (en) Webpage testing method and device
CN110704319A (en) A test case risk analysis method and device
CN119028601B (en) A method and management system for identifying deviations from clinical trial protocols
CN113868137A (en) Method, device and system for processing buried point data and server
CN112307088A (en) Method, device and equipment for inquiring state of process node and storage medium
CN113282496B (en) Automatic interface testing method, device, equipment and storage medium
CN113159971B (en) Information extraction method, device, electronic device and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190104

RJ01 Rejection of invention patent application after publication