CN109710145A - A kind of VPD information method for burn-recording and system based on storage product - Google Patents
A kind of VPD information method for burn-recording and system based on storage product Download PDFInfo
- Publication number
- CN109710145A CN109710145A CN201811484898.9A CN201811484898A CN109710145A CN 109710145 A CN109710145 A CN 109710145A CN 201811484898 A CN201811484898 A CN 201811484898A CN 109710145 A CN109710145 A CN 109710145A
- Authority
- CN
- China
- Prior art keywords
- vpd information
- information
- burning
- vpd
- storage product
- 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.)
- Granted
Links
Landscapes
- Tests Of Electronic Circuits (AREA)
Abstract
The present invention relates to storage production technical fields, provide a kind of VPD information method for burn-recording and system based on storage product, and method includes: that the storage product VPD information burning instruction of tester's input is received after Cent OS system is installed;According to the storage product VPD information burning instruction received, pre-generated VPD information burning wscript.exe is called;Control executes the VPD information burning wscript.exe called, and exports the Option Box that the VPD information is inputted for tester;The VPD information that tester inputs in the Option Box is received, and the VPD information of input is parsed;Board is written into the VPD information of input, and exports burning result information, to realize the automatic burning of VPD information, reduces the artificial intervention during burning VPD information, simplifies testing process, reduce the workload of test operator, improve testing efficiency.
Description
Technical field
The present invention relates to storage production technical field, specially a kind of VPD information burning side based on storage product
Method and system.
Background technique
In the production process of board, burning vital product data (Vital Product Data, VPD) information is one
Necessary step, wherein the burning of VPD information at present is to execute " %&*1 " under the Linux system of jig equipment, and enter
The OSES environment of mainboard executes order under the OSES environment of mainboard and carrys out burning VPD information.
But using above-mentioned VPD information burning scheme, need that current burning VPD information is combined to need to toggle ring
Border carries out system switching between the Linux system of jig equipment and the OSES environment of mainboard, and an order can only be burnt
A VPD information is recorded, percent of automatization is low, waste of manpower.
Summary of the invention
In order to overcome the defect of the prior art as indicated above, the present inventor has made intensive studies this, is paying
After a large amount of creative works, so as to complete the present invention.
Specifically, the technical problems to be solved by the present invention are: providing a kind of VPD information burning based on storage product
Method, it is intended to solve VPD information burning scheme in the prior art, need that current burning VPD information is combined to need to toggle ring
Border carries out system switching between the Linux system of jig equipment and the OSES environment of mainboard, and an order can only be burnt
A VPD information is recorded, the technical issues of percent of automatization is low, waste of manpower.
In order to solve the above technical problems, the technical scheme is that
A kind of VPD information method for burn-recording based on storage product, the method includes the following steps:
After Cent OS system is installed, the storage product VPD information burning instruction of tester's input is received;
According to the storage product VPD information burning instruction received, pre-generated VPD information burning script is called
Tool;
Control executes the VPD information burning wscript.exe called, and exports and input the VPD information for tester
Option Box;
The VPD information that tester inputs in the Option Box is received, and the VPD information of input is parsed;
Board is written into the VPD information of input, and exports burning result information.
As an improvement scheme, it is described after Cent OS system is installed, receive storage product VPD information burn
Further include following step before the step of record instruction:
It controls and Cent OS system is installed on the jig equipment of burning VPD information, the Cent OS system supports sg_
Senddiag order;
Pre-generated VPD information burning wscript.exe, the VPD information burning wscript.exe is for controlling VPD information
Burning.
As an improvement scheme, the VPD information of tester input includes SN information and date information.
As an improvement scheme, VPD information the step of parsing of described pair of input specifically include the following steps:
Length division is carried out to the SN information of tester input, 12-bit data before choosing;
Preceding 6 data in the preceding 12-bit data of selection are distributed into SNPrefix;
Rear 6 data in the preceding 12-bit data of selection are distributed into SN.
As an improvement scheme, the method also includes following step:
It in advance will be in the PN value write-in Cent OS system of board;
When receiving tester in the VPD information that the Option Box inputs, the board being previously written is read together
PN value.
Another object of the present invention is to provide a kind of VPD information programming system based on storage product, the system packets
It includes:
Burning command reception module, the storage for after Cent OS system is installed, receiving tester's input produce
Product VPD information burning instruction;
Wscript.exe calling module, for calling preparatory according to the storage product VPD information burning instruction received
The VPD information burning wscript.exe of generation;
Wscript.exe execution module, for controlling the VPD information burning wscript.exe for executing and calling;
Option Box output module, for exporting the Option Box for inputting the VPD information for tester;
VPD information receiving module, the VPD information inputted for receiving tester in the Option Box;
VPD information parsing module, for being parsed to the VPD information of input;
Board is written in VPD information writing module, the VPD information for that will input;
Burning result information output module, for exporting burning result information.
As an improvement scheme, the system also includes:
System installs module, installs Cent OS system on the jig equipment of burning VPD information for controlling, described
Cent OS system supports sg_senddiag order;
Wscript.exe generation module, for pre-generating VPD information burning wscript.exe, the VPD information burning script
Tool is used to control the burning of VPD information.
As an improvement scheme, the VPD information of tester input includes SN information and date information.
As an improvement scheme, the VPD information parsing module specifically includes:
Digits long division module, the SN information for inputting to the tester carry out length division, choose preceding 12
Position data;
First distribution module, for preceding 6 data in the preceding 12-bit data chosen to be distributed to SNPrefix;
Second distribution module, for rear 6 data in the preceding 12-bit data chosen to be distributed to SN.
As an improvement scheme, the system also includes:
PN value writing module, in advance will board PN value write-in Cent OS system in;
PN value read module, for when receiving tester in the VPD information that the Option Box inputs, reading together should
The PN value for the board being previously written.
In embodiments of the present invention, after Cent OS system is installed, the storage product of tester's input is received
VPD information burning instruction;According to the storage product VPD information burning instruction received, pre-generated VPD information is called
Burning wscript.exe;Control executes the VPD information burning wscript.exe called, and exports for described in tester's input
The Option Box of VPD information;The VPD information that tester inputs in the Option Box is received, and the VPD information of input is solved
Analysis;Board is written into the VPD information of input, and exports burning result information, to realize the automatic burning of VPD information, is reduced
Artificial intervention during burning VPD information, simplifies testing process, reduces the workload of test operator, improve
Testing efficiency.
Detailed description of the invention
Fig. 1 is the implementation flow chart of the VPD information method for burn-recording provided by the invention based on storage product;
Fig. 2 is the implementation flow chart that the VPD information provided by the invention to input is parsed;
Fig. 3 is the structural block diagram of the VPD information programming system provided by the invention based on storage product.
Specific embodiment
Below with reference to specific embodiment, the present invention is further described.But the purposes and mesh of these exemplary embodiments
Be only used to enumerate the present invention, any type of any restriction not is constituted to real protection scope of the invention, it is more non-to incite somebody to action this
The protection scope of invention is confined to this.
Fig. 1 shows the implementation flow chart of the VPD information method for burn-recording provided by the invention based on storage product, specific
Include the following steps:
In step s101, after Cent OS system is installed, the storage product VPD letter of tester's input is received
Cease burning instruction.
In this step, receiving storage product VPD information burning instruction can be generated by corresponding trigger action,
This is repeated no more.
In step s 102, it is instructed, is called pre-generated according to the storage product VPD information burning received
VPD information burning wscript.exe.
In step s 103, control executes the VPD information burning wscript.exe called, and exports defeated for tester
Enter the Option Box of the VPD information.
In step S104, the VPD information that tester inputs in the Option Box is received, and to the VPD information of input
It is parsed.
In this step, which is the input frame of information, can according to system it is different require to execute it is different defeated
Enter mode, and the VPD information of the input includes SN information and date information.
In step s105, board is written into the VPD information of input, and exports burning result information.
In this step, after VPD information success is written on board, it can be seen that PN, SN Prefix, SN on board,
The VPD informations such as Board Manufacture Date.
In embodiments of the present invention, following step is also needed to be implemented before executing above-mentioned steps S101:
(1) it controls and Cent OS system is installed on the jig equipment of burning VPD information, the Cent OS system is supported
Sg_senddiag order;
Cent OS system is installed on jig equipment not need between system to realize the burning of VPD information
Switching promotes burning efficiency, wherein the kernel version of the Cent OS system is 4.42, and to support above-mentioned sg_
Senddiag order.
(2) VPD information burning wscript.exe is pre-generated, the VPD information burning wscript.exe is for controlling VPD information
Burning.
Wherein, the VPD information burning wscript.exe is as the script that can be run in the Cent OS system, can be with
Shell language writes generation, and details are not described herein.
In embodiments of the present invention, as shown in Fig. 2, the above-mentioned VPD information to input specifically includes the step of parsing
Following step:
In step s 201, length division is carried out to the SN information of tester input, 12-bit data before choosing;
In step S202, preceding 6 data in the preceding 12-bit data of selection are distributed into SNPrefix;
In step S203, rear 6 data in the preceding 12-bit data of selection are distributed into SN.
In this embodiment, above-mentioned VPD information includes SN information and date information, wherein and VPD information also includes PN value,
Specifically:
It in advance will be in the PN value write-in Cent OS system of board;
When receiving tester in the VPD information that the Option Box inputs, the board being previously written is read together
PN value.
In this embodiment, the input of SN information and date information is inputted according to the format that system provides, herein
It repeats no more.
Fig. 3 shows the structural block diagram of the VPD information programming system provided by the invention based on storage product, for the ease of
Illustrate, the relevant part of the embodiment of the present invention is only gived in figure.
Include: based on the VPD information programming system for storing product
Burning command reception module 11, for receiving the storage of tester's input after Cent OS system is installed
Product VPD information burning instruction;
Wscript.exe calling module 12, for calling pre- according to the storage product VPD information burning instruction received
The VPD information burning wscript.exe first generated;
Wscript.exe execution module 13, for controlling the VPD information burning wscript.exe for executing and calling;
Option Box output module 14, for exporting the Option Box for inputting the VPD information for tester;
VPD information receiving module 15, the VPD information inputted for receiving tester in the Option Box;
VPD information parsing module 16, for being parsed to the VPD information of input;
Board is written in VPD information writing module 17, the VPD information for that will input;
Burning result information output module 18, for exporting burning result information.
In embodiments of the present invention, the system also includes:
System installs module 19, installs Cent OS system on the jig equipment of burning VPD information for controlling, described
Cent OS system supports sg_senddiag order;
Wscript.exe generation module 20, for pre-generating VPD information burning wscript.exe, the VPD information burning foot
This tool is used to control the burning of VPD information.
In embodiments of the present invention, VPD information parsing module 16 specifically includes:
Digits long division module 21, the SN information for inputting to the tester carries out length division, before selection
12-bit data;
First distribution module 22, for preceding 6 data in the preceding 12-bit data chosen to be distributed to SNPrefix;
Second distribution module 23, for rear 6 data in the preceding 12-bit data chosen to be distributed to SN.
In embodiments of the present invention, the system also includes:
PN value writing module 24, in advance will board PN value write-in Cent OS system in;
PN value read module 25, for being read together when receiving tester in the VPD information that the Option Box inputs
The PN value of the board being previously written.
The function of above-mentioned modules such as above method embodiment is recorded, and details are not described herein.
In embodiments of the present invention, after Cent OS system is installed, the storage product of tester's input is received
VPD information burning instruction;According to the storage product VPD information burning instruction received, pre-generated VPD information is called
Burning wscript.exe;Control executes the VPD information burning wscript.exe called, and exports for described in tester's input
The Option Box of VPD information;The VPD information that tester inputs in the Option Box is received, and the VPD information of input is solved
Analysis;Board is written into the VPD information of input, and exports burning result information, to realize the automatic burning of VPD information, is reduced
Artificial intervention during burning VPD information, simplifies testing process, reduces the workload of test operator, improve
Testing efficiency.
It should be appreciated that the purposes of these embodiments is merely to illustrate the present invention and is not intended to limit protection model of the invention
It encloses.In addition, it should also be understood that, after reading the technical contents of the present invention, those skilled in the art can make the present invention each
Kind change, modification and/or variation, all these equivalent forms equally fall within guarantor defined by the application the appended claims
Within the scope of shield.
Claims (10)
1. a kind of VPD information method for burn-recording based on storage product, which is characterized in that the method includes the following steps:
After Cent OS system is installed, the storage product VPD information burning instruction of tester's input is received;
According to the storage product VPD information burning instruction received, pre-generated VPD information burning script work is called
Tool;
Control executes the VPD information burning wscript.exe called, and exports the choosing that the VPD information is inputted for tester
Item frame;
The VPD information that tester inputs in the Option Box is received, and the VPD information of input is parsed;
Board is written into the VPD information of input, and exports burning result information.
2. the VPD information method for burn-recording according to claim 1 based on storage product, which is characterized in that described to work as Cent
After OS system is installed, receiving the step of storage product VPD information burning instructs before further includes following step:
It controls and Cent OS system is installed on the jig equipment of burning VPD information, the Cent OS system supports sg_
Senddiag order;
Pre-generated VPD information burning wscript.exe, the VPD information burning wscript.exe are used to control the burning of VPD information.
3. the VPD information method for burn-recording according to claim 2 based on storage product, which is characterized in that the tester
The VPD information of member's input includes SN information and date information.
4. the VPD information method for burn-recording according to claim 3 based on storage product, which is characterized in that described pair of input
VPD information the step of being parsed specifically include the following steps:
Length division is carried out to the SN information of tester input, 12-bit data before choosing;
Preceding 6 data in the preceding 12-bit data of selection are distributed into SNPrefix;
Rear 6 data in the preceding 12-bit data of selection are distributed into SN.
5. the VPD information method for burn-recording according to claim 4 based on storage product, which is characterized in that the method is also
Include the following steps:
It in advance will be in the PN value write-in Cent OS system of board;
When receiving tester in the VPD information that the Option Box inputs, the PN value of the board being previously written is read together.
6. a kind of VPD information programming system based on storage product, which is characterized in that the system comprises:
Burning command reception module, for receiving the storage product of tester's input after Cent OS system is installed
VPD information burning instruction;
Wscript.exe calling module, for calling pre-generated according to the storage product VPD information burning instruction received
VPD information burning wscript.exe;
Wscript.exe execution module, for controlling the VPD information burning wscript.exe for executing and calling;
Option Box output module, for exporting the Option Box for inputting the VPD information for tester;
VPD information receiving module, the VPD information inputted for receiving tester in the Option Box;
VPD information parsing module, for being parsed to the VPD information of input;
Board is written in VPD information writing module, the VPD information for that will input;
Burning result information output module, for exporting burning result information.
7. the VPD information programming system according to claim 6 based on storage product, which is characterized in that the system is also
Include:
System installs module, installs Cent OS system, the Cent OS on the jig equipment of burning VPD information for controlling
System supports sg_senddiag order;
Wscript.exe generation module, for pre-generating VPD information burning wscript.exe, the VPD information burning wscript.exe
For controlling the burning of VPD information.
8. the VPD information programming system according to claim 7 based on storage product, which is characterized in that the tester
The VPD information of member's input includes SN information and date information.
9. the VPD information programming system according to claim 8 based on storage product, which is characterized in that the VPD information
Parsing module specifically includes:
Digits long division module, the SN information for inputting to the tester carry out length division, choose preceding 12 digit
According to;
First distribution module, for preceding 6 data in the preceding 12-bit data chosen to be distributed to SNPrefix;
Second distribution module, for rear 6 data in the preceding 12-bit data chosen to be distributed to SN.
10. the VPD information programming system according to claim 9 based on storage product, which is characterized in that the system is also
Include:
PN value writing module, in advance will board PN value write-in Cent OS system in;
PN value read module, for reading this together in advance when receiving tester in the VPD information that the Option Box inputs
The PN value of the board of write-in.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811484898.9A CN109710145B (en) | 2018-12-06 | 2018-12-06 | VPD information burning method and system based on storage product |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811484898.9A CN109710145B (en) | 2018-12-06 | 2018-12-06 | VPD information burning method and system based on storage product |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109710145A true CN109710145A (en) | 2019-05-03 |
CN109710145B CN109710145B (en) | 2022-02-18 |
Family
ID=66253956
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811484898.9A Active CN109710145B (en) | 2018-12-06 | 2018-12-06 | VPD information burning method and system based on storage product |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109710145B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1614558A (en) * | 2003-11-06 | 2005-05-11 | 联想(北京)有限公司 | Burn recording method and system |
US20060023560A1 (en) * | 2004-07-28 | 2006-02-02 | Inventec Coporation | Structure for directly burning program into motherboard |
CN103632724A (en) * | 2013-12-04 | 2014-03-12 | 深圳市道通科技有限公司 | Nonvolatile storage chip sin burning method and system |
CN104636228A (en) * | 2013-11-11 | 2015-05-20 | 鸿富锦精密工业(深圳)有限公司 | Electronic device convenient to test and testing method |
CN105740013A (en) * | 2016-01-26 | 2016-07-06 | 广东欧珀移动通信有限公司 | Flash operation control method and apparatus |
CN107871068A (en) * | 2017-10-27 | 2018-04-03 | 深圳怡化电脑股份有限公司 | Firmware burning method, cd-rom recorder and computer-readable recording medium |
-
2018
- 2018-12-06 CN CN201811484898.9A patent/CN109710145B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1614558A (en) * | 2003-11-06 | 2005-05-11 | 联想(北京)有限公司 | Burn recording method and system |
US20060023560A1 (en) * | 2004-07-28 | 2006-02-02 | Inventec Coporation | Structure for directly burning program into motherboard |
CN104636228A (en) * | 2013-11-11 | 2015-05-20 | 鸿富锦精密工业(深圳)有限公司 | Electronic device convenient to test and testing method |
CN103632724A (en) * | 2013-12-04 | 2014-03-12 | 深圳市道通科技有限公司 | Nonvolatile storage chip sin burning method and system |
CN105740013A (en) * | 2016-01-26 | 2016-07-06 | 广东欧珀移动通信有限公司 | Flash operation control method and apparatus |
CN107871068A (en) * | 2017-10-27 | 2018-04-03 | 深圳怡化电脑股份有限公司 | Firmware burning method, cd-rom recorder and computer-readable recording medium |
Also Published As
Publication number | Publication date |
---|---|
CN109710145B (en) | 2022-02-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102799515B (en) | Applied program testing method and device | |
CN102520972B (en) | Video game development system and method thereof | |
CN107193544B (en) | Application program componentization development method and device | |
CN106775744B (en) | Method and device for generating static library | |
US20200359094A1 (en) | Screen parameter configuration system | |
CN102156643A (en) | Software integration method and system thereof | |
CN103309683A (en) | Software patch embedding method and device for hardware equipment | |
CN105487909B (en) | A method of reducing power equipment firmware upgrade amount | |
CN105487952A (en) | PCIE-SSD automatic test method based on FIO | |
CN103218428B (en) | A kind of dynamic link method and system | |
CN104572238A (en) | Method and system for generating executable software package efficiently | |
CN103513966A (en) | PHP developing framework based on assemblies | |
CN104133676A (en) | Function execution method and function execution device based on scripts | |
CN104503772A (en) | Operating system installation and test environment establishment method and device based on virtual machine | |
CN104142819B (en) | A kind of document handling method and device | |
CN104102581A (en) | Method and device for implementing unit testing | |
CN111966760A (en) | Hive data warehouse-based test data generation method and device | |
CN105893072A (en) | Chip firmware upgrading method and apparatus | |
CN109710145A (en) | A kind of VPD information method for burn-recording and system based on storage product | |
CN116009959B (en) | Flash item transplanting method, device and system and storage medium | |
CN110806891A (en) | Method and device for generating software version of embedded equipment | |
CN105242947A (en) | Method for upgrading BIOSs in batches | |
CN105893238A (en) | Code debugging method and device | |
CN104850015A (en) | Software packaging method and automobile electronic controller | |
CN108563560A (en) | Calabash-based client application program demand drive test method |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |