CN114547033A - Method, system, equipment and storage medium for managing key product data - Google Patents

Method, system, equipment and storage medium for managing key product data Download PDF

Info

Publication number
CN114547033A
CN114547033A CN202210165194.5A CN202210165194A CN114547033A CN 114547033 A CN114547033 A CN 114547033A CN 202210165194 A CN202210165194 A CN 202210165194A CN 114547033 A CN114547033 A CN 114547033A
Authority
CN
China
Prior art keywords
product data
key product
data
key
memory
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
Application number
CN202210165194.5A
Other languages
Chinese (zh)
Other versions
CN114547033B (en
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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202210165194.5A priority Critical patent/CN114547033B/en
Publication of CN114547033A publication Critical patent/CN114547033A/en
Application granted granted Critical
Publication of CN114547033B publication Critical patent/CN114547033B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2282Tablespace storage structures; Management thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2365Ensuring data consistency and integrity
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Storage Device Security (AREA)

Abstract

The invention provides a method, a system, equipment and a storage medium for managing key product data, wherein the method comprises the steps of reading field information of the key product data and carrying out consistency check on fields to be checked of the key product data at the key product data application stage; and under the condition that the consistency check fails, determining whether to perform uniqueness processing on the key product data according to the header information of the key product data. Based on a management method of key product data, a management system, equipment and storage medium of key product data are also provided. The method firstly checks the consistency of the key product data, judges whether to carry out uniqueness processing according to the header information under the condition that the consistency check fails, and avoids that the key product data cannot be started and operated due to failure of reading and applying the key product data caused by memory abnormity or data error so as to influence the whole environment or system abnormity, thereby improving the overall reliability of hardware equipment.

Description

Method, system, equipment and storage medium for managing key product data
Technical Field
The invention belongs to the technical field of computer data management, and particularly relates to a method, a system, equipment and a storage medium for managing key product data.
Background
With the rapid development of computer information technology, various hardware devices such as computers, servers, network devices, and terminal products are widely used. VPD data is key product data, is the most basic information of hardware devices, and is usually stored in a memory (EEPROM or FLASH), so as to ensure that power failure does not occur, and in the process of initializing a hardware device system, a hardware controller reads applications to provide the most basic configuration information for the hardware devices, and the hardware device system may not be started and operated due to VPD data errors. VPD data is very important for hardware devices, and is generally written in a production or factory link, and is a series of data sets, wherein some information needs to have uniqueness, such as a product serial number, a MAC address, an IP address, a SAS address, and the like. If there are two or more identical data in the same environment or system, hardware device conflicts may result, resulting in the entire environment or system not working properly. A safe and reliable VPD data controller management method is very important.
In the prior art, a main/standby memory and a dual-partition mode are commonly used to prevent a system from being abnormal due to VPD data errors, but when the main/standby memory or the dual-partition is abnormal, the system cannot be recovered from the abnormality or is normally started, and it is difficult to ensure that the recovered VPD data has uniqueness and an abnormal risk still exists.
Disclosure of Invention
In order to solve the technical problem, the invention provides a method, a system, equipment and a storage medium for managing key product data. The problem that the whole environment or system is abnormal due to the fact that the critical product data reading application fails or does not have uniqueness and cannot be started and operated normally is avoided, and therefore the whole reliability of hardware equipment is improved.
In order to achieve the purpose, the invention adopts the following technical scheme:
a method of managing key product data, comprising the steps of:
reading field information of the key product data at the key product data application stage, and carrying out consistency check on the fields to be checked of the key product data;
and under the condition that the consistency check fails, determining whether to perform uniqueness processing on the key product data according to the header information of the key product data.
Further, before entering the key product data application phase, system initialization is performed first.
Further, the condition of the consistency check failure includes that the field information of the key product data fails to be acquired and the consistency check error of the field to be checked of the key product data is detected.
Further, under the condition that the consistency check is successful, the corresponding field check of the next key product data is carried out.
Further, the process of determining whether to perform uniqueness processing on the key product data according to the header information of the key product data includes:
if the data identical to the header information of the key product data exists, writing the correction data of the key product data into a memory; then, the fixed value of the correction data and the random offset value are used as default values of the key product data; the correction data of the key product data are key product data according with the data manager;
and if no data identical to the header information of the key product data exists, writing the default value of the corresponding field of the key product data into a memory.
Further, the method further comprises performing consistency check after the default value of the corresponding field of the key product data is written into the memory.
The invention also provides a management system of the key product data, which comprises a consistency checking module and a uniqueness processing module;
the consistency checking module is used for reading field information of the key product data and carrying out consistency checking on fields to be checked of the key product data at the key product data application stage;
and the uniqueness processing module is used for determining whether to carry out uniqueness processing on the key product data according to the header information of the key product data under the condition that the consistency check fails.
Further, the unique processing module executes the following steps:
if the data identical to the header information of the key product data exists, writing the correction data of the key product data into a memory; then, the fixed value of the correction data and the random offset value are used as default values of the key product data; the correction data of the key product data are key product data according with the data manager;
and if no data identical to the header information of the key product data exists, writing the default value of the corresponding field of the key product data into a memory.
The invention also proposes a device comprising:
a memory for storing a computer program;
a processor for implementing the method steps when executing the computer program.
The invention also proposes a readable storage medium having stored thereon a computer program which, when being executed by a processor, carries out the method steps.
The effects provided in the summary of the invention are only the effects of the embodiments, not all of the effects of the invention, and one of the above technical solutions has the following advantages or beneficial effects:
the invention provides a method, a system, equipment and a storage medium for managing key product data, wherein the method comprises the steps of reading field information of the key product data and carrying out consistency check on fields to be checked of the key product data at the key product data application stage; and under the condition that the consistency check fails, determining whether to perform uniqueness processing on the key product data according to the header information of the key product data. The uniqueness processing process is to write the correction data of the key product data into the memory if the data identical to the header information of the key product data exists; then, the fixed value of the correction data and the random offset value are used as default values of the key product data; the correction data of the key product data are in accordance with the key product data specified by the data manager; and if no data identical to the header information of the key product data exists, writing the default value of the corresponding field of the key product data into the memory. Based on a key product data management method, a key product data management system, equipment and a storage medium are also provided. The invention firstly checks the consistency of the key product data, and judges whether to carry out uniqueness processing according to the header information under the condition that the consistency check fails, thereby avoiding that the key product data reading application fails due to memory abnormity or data error, which can not start and work and further influences the whole environment or system abnormity, and further improving the overall reliability of hardware equipment.
The method and the device can be suitable for the key product data of the main and standby memories or the double partitions, and ensure that the written data have uniqueness when the main and standby memories or the double partitions read errors.
Drawings
Fig. 1 is a flowchart of a method for managing key product data according to embodiment 1 of the present invention;
fig. 2 is a schematic diagram of a system for managing key product data according to embodiment 1 of the present invention.
Detailed Description
In order to clearly explain the technical features of the present invention, the following detailed description of the present invention is provided with reference to the accompanying drawings. The following disclosure provides many different embodiments, or examples, for implementing different features of the invention. To simplify the disclosure of the present invention, the components and arrangements of specific examples are described below. Furthermore, the present invention may repeat reference numerals and/or letters in the various examples. This repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed. It should be noted that the components illustrated in the figures are not necessarily drawn to scale. Descriptions of well-known components and processing techniques and procedures are omitted so as to not unnecessarily limit the invention.
Example 1
The embodiment 1 of the invention provides a method for managing key product data. The problem that the whole environment or system is abnormal because the key product data reading application fails or does not have uniqueness is avoided, and the whole environment or system is influenced, so that the overall reliability of hardware equipment is improved.
Reading field information of the key product data at the key product data application stage, and carrying out consistency check on the fields to be checked of the key product data;
and under the condition that the consistency check fails, determining whether to perform uniqueness processing on the key product data according to the header information of the key product data. If the data identical to the header information of the key product data exists, writing the correction data of the key product data into a memory; then, the fixed value of the correction data and the random offset value are used as default values of the key product data; the correction data of the key product data accords with the key product data specified by the data manager; and if no data identical to the header information of the key product data exists, writing the default value of the corresponding field of the key product data into a memory. The condition of consistency check failure comprises failure of obtaining field information of the key product data and consistency check error of a field to be checked of the key product data.
Fig. 1 is a flowchart of a method for managing key product data according to embodiment 1 of the present invention;
in step S101, system initialization is performed, and the key product data application phase is entered.
In step S102, the controller reads the corresponding field of the data N in the key product data from the memory, performs consistency check, determines whether the consistency check is successful, and if so, executes step S103. if not, executes step S105. The reason why the consistency check is unsuccessful comprises that the field information of the key product data is failed to obtain and the consistency check error of the field to be checked of the key product data is caused.
In step S103, it is determined whether or not data N is applied to the system, and if all the field applications are successful, step S104 is performed. If the verification is unsuccessful, the next one-time verification of the key product data N +1 is performed, and the step S102 is returned.
In step S104, the product critical data application phase is completed.
In step S105, it is determined whether to perform uniqueness processing of the key product data according to header information of the key product data. If it is judged that the same data as the header information of the key product data already exists, step S106 is performed. If it is judged that there is no data identical to the header information of the key product data, step S107 is performed. A piecewise schematic representation of product key data is given in table 1 below.
Watch head Data corresponding field
Data 0 XXXXXXXX XXXXXXXX
…… …… ……
Data N Product name XXXXXXXX
Data N +1 SN (uniqueness) XXXXXXXX
Data N +2 MAC address (uniqueness) XXXXXXXX
…… …… ……
In step S106, writing correction data of the key product data into the memory; then, the fixed value of the correction data and the random offset value are used as default values of the key product data; the correction data of the key product data are in accordance with the key product data specified by the data manager; the uniqueness of writing each data is guaranteed.
In step S107, the default values of the corresponding fields of the key product data are written into the memory.
And when all the corresponding data fields of the key product data are successfully applied, the application stage of the key product data is completed, and the system enters the next starting stage.
In the method for managing key product data provided in embodiment 1 of the present invention, consistency verification of key product data is performed first, and whether uniqueness processing is performed is determined according to header information when the consistency verification fails, so that the problem that VPD data reading application fails due to memory abnormality or data error, which may result in failure of starting and working, and further affect the whole environment or system abnormality is avoided, thereby improving the overall reliability of hardware devices.
The method for managing key product data provided in embodiment 1 of the present invention is applicable to key product data of a main/standby memory or a dual partition, and when the main/standby memory or the dual partition has a read error, it is ensured that the written data has uniqueness.
Example 2
Based on the method for managing key product data provided in embodiment 1 of the present invention, embodiment 2 of the present invention further provides a system for managing key product data, and fig. 2 is a schematic diagram of a system for managing key product data in embodiment 1 of the present invention, where the system includes a consistency check module and a uniqueness processing module;
the consistency checking module is used for reading field information of the key product data and carrying out consistency checking on fields to be checked of the key product data at the key product data application stage;
and the uniqueness processing module is used for determining whether to perform uniqueness processing on the key product data according to the header information of the key product data under the condition that the consistency check fails.
The consistency check module firstly performs system initialization processing before executing.
The execution process of the uniqueness processing module is as follows: if the data identical to the header information of the key product data exists, writing the correction data of the key product data into a memory; then, the fixed value of the correction data and the random offset value are used as default values of the key product data; the correction data of the key product data are key product data according with the data manager; and if the data identical to the header information of the key product data does not exist, writing the default value of the corresponding field of the key product data into the memory. And performing consistency check after the default values of the corresponding fields of the key product data are written into the memory.
In the management system for key product data provided in embodiment 2 of the present invention, consistency check of key product data is performed first, and whether uniqueness processing is performed is determined according to header information when the consistency check fails.
The management system for key product data provided in embodiment 1 of the present invention is applicable to key product data of a main/standby memory or a dual partition, and when the main/standby memory or the dual partition has a read error, it is ensured that the written data has uniqueness.
Example 3
The invention also proposes a device comprising:
a memory for storing a computer program;
a processor for implementing the method steps when executing the computer program as follows:
reading field information of the key product data at the key product data application stage, and carrying out consistency check on the fields to be checked of the key product data;
and under the condition that the consistency check fails, determining whether to perform uniqueness processing on the key product data according to the header information of the key product data. If the data identical to the header information of the key product data exists, writing the correction data of the key product data into a memory; then, the fixed value of the correction data and the random offset value are used as default values of the key product data; the correction data of the key product data are key product data according with the data manager; and if no data identical to the header information of the key product data exists, writing the default value of the corresponding field of the key product data into a memory. The condition of consistency check failure comprises failure of obtaining field information of the key product data and consistency check error of a field to be checked of the key product data.
FIG. 1 is a flowchart of a method for managing key product data according to embodiment 1 of the present invention;
in step S101, system initialization is performed, and the key product data application phase is entered.
In step S102, the controller reads the corresponding field of the data N in the key product data from the memory, performs consistency check, determines whether the consistency check is successful, and if so, executes step S103. if not, executes step S105. The reason why the consistency check is unsuccessful comprises that the field information of the key product data is failed to obtain and the consistency check error of the field to be checked of the key product data is caused.
In step S103, it is determined whether or not data N is applied to the system, and if all the field applications are successful, step S104 is performed. If the verification is unsuccessful, the next one-time verification of the key product data N +1 is performed, and the step S102 is returned.
In step S104, the product critical data application phase is completed.
In step S105, it is determined whether to perform uniqueness processing of the key product data according to header information of the key product data. If it is judged that the same data as the header information of the key product data already exists, step S106 is performed. If it is judged that there is no data identical to the header information of the key product data, step S107 is performed. A piecewise schematic representation of product key data is given in table 1 below.
Watch head Data corresponding field
Data 0 XXXXXXXX XXXXXXXX
…… …… ……
Data N Product name XXXXXXXX
Data N +1 SN (uniqueness) XXXXXXXX
Data N +2 MAC address (uniqueness) XXXXXXXX
…… …… ……
In step S106, writing correction data of the key product data into the memory; then, the fixed value of the correction data and the random offset value are used as default values of the key product data; the correction data of the key product data are in accordance with the key product data specified by the data manager; the uniqueness of writing each data is guaranteed.
In step S107, the default values of the corresponding fields of the key-product data are written into the memory.
And when all the corresponding data fields of the key product data are successfully applied, the application stage of the key product data is completed, and the system enters the next starting stage.
The device provided in embodiment 3 of the present invention performs consistency check on key product data, and determines whether to perform uniqueness processing according to header information when the consistency check fails, so that the present invention avoids that VPD data reading application fails due to memory abnormality or data error, which may result in failure of starting and working, and further affect the whole environment or system abnormality, thereby improving the overall reliability of hardware devices.
The device provided in embodiment 3 of the present invention is applicable to the main/standby memory or the dual partition key product data, and when the main/standby memory or the dual partition has an error in reading, it is ensured that the written data has uniqueness.
Need to explain: the technical solution of the present invention also provides an electronic device, including: the communication interface can carry out information interaction with other equipment such as network equipment and the like; and the processor is connected with the communication interface to realize information interaction with other equipment, and is used for executing a virtualization system monitoring method provided by one or more technical schemes when running a computer program, and the computer program is stored on the memory. Of course, in practice, the various components in an electronic device are coupled together by a bus system. It will be appreciated that a bus system is used to enable communications among the components. The bus system includes a power bus, a control bus, and a status signal bus in addition to a data bus. The memory in the embodiments of the present application is used to store various types of data to support the operation of the electronic device. Examples of such data include: any computer program for operating on an electronic device. It will be appreciated that the memory can be either volatile memory or nonvolatile memory, and can include both volatile and nonvolatile memory. Among them, the nonvolatile Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a magnetic random access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical disk, or a Compact Disc Read-Only Memory (CD-ROM); the magnetic surface storage may be disk storage or tape storage. Volatile memory can be Random Access Memory (RAM), which acts as external cache memory. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), Enhanced Synchronous Dynamic Random Access Memory (Enhanced DRAM), Synchronous Dynamic Random Access Memory (SLDRAM), Direct Memory (DRmb Access), and Random Access Memory (DRAM). The memories described in the embodiments of the present application are intended to comprise, without being limited to, these and any other suitable types of memory. The method disclosed in the embodiments of the present application may be applied to a processor, or may be implemented by a processor. The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The processor may be a general purpose processor, a DSP (Digital Signal Processing, i.e., a chip capable of implementing Digital Signal Processing technology), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc. The processor may implement or perform the methods, steps, and logic blocks disclosed in the embodiments of the present application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software modules may be located in a storage medium that is located in a memory and a processor reads the programs in the memory and performs the steps of the method described above in conjunction with its hardware. When the processor executes the program, corresponding processes in the methods of the embodiments of the present application are implemented, and for brevity, are not described herein again.
Example 4
The invention also proposes a readable storage medium on which a computer program is stored, which, when executed by a processor, implements the method steps of:
reading field information of the key product data at the key product data application stage, and carrying out consistency check on the fields to be checked of the key product data;
and under the condition that the consistency check fails, determining whether to perform uniqueness processing on the key product data according to the header information of the key product data. If the data identical to the header information of the key product data exists, writing the correction data of the key product data into a memory; then, the fixed value of the correction data and the random offset value are used as default values of the key product data; the correction data of the key product data are key product data according with the data manager; and if no data identical to the header information of the key product data exists, writing the default value of the corresponding field of the key product data into a memory. The condition of consistency check failure comprises failure of obtaining field information of the key product data and consistency check error of a field to be checked of the key product data.
FIG. 1 is a flowchart of a method for managing key product data according to embodiment 1 of the present invention;
in step S101, system initialization is performed, and the key product data application phase is entered.
In step S102, the controller reads the corresponding field of the data N in the key product data from the memory, performs consistency check, determines whether the consistency check is successful, and if so, executes step S103. if not, executes step S105. The reason why the consistency check is unsuccessful comprises that the field information of the key product data is failed to obtain and the consistency check error of the field to be checked of the key product data is caused.
In step S103, it is determined whether or not data N is applied to the system, and if all the field applications are successful, step S104 is performed. If the verification is unsuccessful, the next one-time verification of the key product data N +1 is performed, and the step S102 is returned.
In step S104, the product critical data application phase is completed.
In step S105, it is determined whether to perform uniqueness processing of the key product data according to header information of the key product data. If it is judged that the same data as the header information of the key product data already exists, step S106 is performed. If it is judged that there is no data identical to the header information of the key product data, step S107 is performed. A piecewise schematic representation of product key data is given in table 1 below.
Watch head Data corresponding field
Data 0 XXXXXXXX XXXXXXXX
…… …… ……
Data N Product name XXXXXXXX
Data N +1 SN (uniqueness) XXXXXXXX
Data N +2 MAC address (uniqueness) XXXXXXXX
…… …… ……
In step S106, writing correction data of the key product data into the memory; then, the fixed value of the correction data and the random offset value are used as default values of the key product data; the correction data of the key product data are in accordance with the key product data specified by the data manager; the uniqueness of writing each data is guaranteed.
In step S107, the default values of the corresponding fields of the key product data are written into the memory.
And when all the corresponding data fields of the key product data are successfully applied, the application stage of the key product data is completed, and the system enters the next starting stage.
In the storage medium provided in embodiment 4 of the present invention, consistency verification of key product data is performed first, and whether uniqueness processing is performed is determined according to header information when the consistency verification fails, so that the problem that VPD data reading application fails due to memory abnormality or data error and cannot be started or operated, which further affects the whole environment or system abnormality is avoided, thereby improving the overall reliability of hardware devices.
The storage medium provided in embodiment 4 of the present invention is applicable to key product data of a main/standby memory or a dual partition, and when the main/standby memory or the dual partition has a read error, it is ensured that the written data has uniqueness.
Embodiments of the present application further provide a storage medium, that is, a computer storage medium, specifically, a computer-readable storage medium, for example, a memory storing a computer program, where the computer program is executable by a processor to perform the steps of the foregoing method. The computer readable storage medium may be Memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface Memory, optical disk, or CD-ROM.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code. Alternatively, the integrated units described above in the present application may be stored in a computer-readable storage medium if they are implemented in the form of software functional modules and sold or used as independent products. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially implemented or portions thereof that contribute to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling an electronic device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.
For a description of a relevant part in the processing device and the storage medium of the key product data provided in the embodiment of the present application, reference may be made to detailed descriptions of a corresponding part in the management method of the key product data provided in embodiment 1 of the present application, and details are not described here again.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Furthermore, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include elements inherent in the list. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element. In addition, parts of the above technical solutions provided in the embodiments of the present application, which are consistent with the implementation principles of corresponding technical solutions in the prior art, are not described in detail so as to avoid redundant description.
Although the embodiments of the present invention have been described with reference to the accompanying drawings, the scope of the present invention is not limited thereto. Various modifications and alterations will occur to those skilled in the art based on the foregoing description. This need not be, nor should it be exhaustive of all embodiments. On the basis of the technical scheme of the invention, various modifications or changes which can be made by a person skilled in the art without creative efforts are still within the protection scope of the invention.

Claims (10)

1. A method for managing key product data, comprising the steps of:
reading field information of the key product data at the key product data application stage, and carrying out consistency check on the fields to be checked of the key product data;
and under the condition that the consistency check fails, determining whether to perform uniqueness processing on the key product data according to the header information of the key product data.
2. A method for managing key product data as claimed in claim 1, wherein before entering the application phase of key product data, system initialization is performed first.
3. The method for managing key product data as claimed in claim 1, wherein the case of consistency check failure includes failure to obtain field information of key product data and consistency check error of to-be-checked field of key product data.
4. The method for managing key product data as claimed in claim 1, wherein in case of successful consistency check, the corresponding field check of the next key product data is performed.
5. The method for managing key product data according to claim 1, wherein the determining whether to perform uniqueness processing on the key product data according to header information of the key product data includes:
if the data identical to the header information of the key product data exists, writing the correction data of the key product data into a memory; then, the fixed value of the correction data and the random offset value are used as default values of the key product data; the correction data of the key product data are key product data according with the data manager;
and if the data identical to the header information of the key product data does not exist, writing the default value of the corresponding field of the key product data into a memory.
6. A method for managing key product data as claimed in claim 5, further comprising performing a consistency check after writing default values of corresponding fields of the key product data into a memory.
7. The key product data management system is characterized by comprising a consistency check module and a uniqueness processing module;
the consistency checking module is used for reading field information of the key product data and carrying out consistency checking on fields to be checked of the key product data at the key product data application stage;
and the uniqueness processing module is used for determining whether to carry out uniqueness processing on the key product data according to the header information of the key product data under the condition that the consistency check fails.
8. The system for managing key product data as claimed in claim 7, wherein the unique processing module executes:
if the data identical to the header information of the key product data exists, writing the correction data of the key product data into a memory; then, the fixed value of the correction data and the random offset value are used as default values of the key product data; the correction data of the key product data are key product data according with the data manager;
and if no data identical to the header information of the key product data exists, writing the default value of the corresponding field of the key product data into a memory.
9. An apparatus, comprising:
a memory for storing a computer program;
a processor for implementing the method steps of any one of claims 1 to 6 when executing the computer program.
10. A readable storage medium, characterized in that the readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the method steps of any one of claims 1 to 6.
CN202210165194.5A 2022-02-22 2022-02-22 Method, system, equipment and storage medium for managing key product data Active CN114547033B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210165194.5A CN114547033B (en) 2022-02-22 2022-02-22 Method, system, equipment and storage medium for managing key product data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210165194.5A CN114547033B (en) 2022-02-22 2022-02-22 Method, system, equipment and storage medium for managing key product data

Publications (2)

Publication Number Publication Date
CN114547033A true CN114547033A (en) 2022-05-27
CN114547033B CN114547033B (en) 2024-01-16

Family

ID=81676926

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210165194.5A Active CN114547033B (en) 2022-02-22 2022-02-22 Method, system, equipment and storage medium for managing key product data

Country Status (1)

Country Link
CN (1) CN114547033B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116756784A (en) * 2023-05-22 2023-09-15 元心信息科技集团有限公司 System verification method and device, electronic equipment and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109635300A (en) * 2018-12-14 2019-04-16 泰康保险集团股份有限公司 Data verification method and device
CN110442564A (en) * 2019-07-23 2019-11-12 福建天泉教育科技有限公司 Incremental data method of calibration, storage medium
CN110795464A (en) * 2019-08-28 2020-02-14 腾讯科技(深圳)有限公司 Method, device, terminal and storage medium for checking field of object marker data
CN111555841A (en) * 2020-04-24 2020-08-18 中国船舶重工集团海装风电股份有限公司 Communication data checking method, device, equipment and medium
CN112000513A (en) * 2020-08-20 2020-11-27 北京浪潮数据技术有限公司 Computer and VPD data operation method, device and storage medium thereof
CN112416916A (en) * 2020-11-16 2021-02-26 中信银行股份有限公司 Data verification method and device, electronic equipment and readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109635300A (en) * 2018-12-14 2019-04-16 泰康保险集团股份有限公司 Data verification method and device
CN110442564A (en) * 2019-07-23 2019-11-12 福建天泉教育科技有限公司 Incremental data method of calibration, storage medium
CN110795464A (en) * 2019-08-28 2020-02-14 腾讯科技(深圳)有限公司 Method, device, terminal and storage medium for checking field of object marker data
CN111555841A (en) * 2020-04-24 2020-08-18 中国船舶重工集团海装风电股份有限公司 Communication data checking method, device, equipment and medium
CN112000513A (en) * 2020-08-20 2020-11-27 北京浪潮数据技术有限公司 Computer and VPD data operation method, device and storage medium thereof
CN112416916A (en) * 2020-11-16 2021-02-26 中信银行股份有限公司 Data verification method and device, electronic equipment and readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116756784A (en) * 2023-05-22 2023-09-15 元心信息科技集团有限公司 System verification method and device, electronic equipment and readable storage medium
CN116756784B (en) * 2023-05-22 2024-02-23 元心信息科技集团有限公司 System verification method and device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN114547033B (en) 2024-01-16

Similar Documents

Publication Publication Date Title
EP2048579B1 (en) System and method for managing memory errors in an information handling system
EP3916557A1 (en) Memory error processing method and device
CN102298545B (en) System startup boot processing method and device
WO2021135272A1 (en) Memory anomaly processing method and system, electronic device, and storage medium
JP2005050348A (en) Method for persistently tracking volatile memory fault
CN108932249B (en) Method and device for managing file system
CN107479823B (en) Data verification method and device in random read-write file test
CN114547033B (en) Method, system, equipment and storage medium for managing key product data
BRPI1015437B1 (en) METHOD AND DEVICE FOR MEMORY CARD READING AND RECORDING
CN117827294B (en) Memory starting processing method and device
CN114047958A (en) Starting method, equipment and medium for baseboard management controller of server
CN113867807A (en) Method, device, equipment and storage medium for shortening power-on time of server
CN116578327B (en) Program updating method and device, electronic equipment and storage medium
CN110956284A (en) Method, system, equipment and storage medium for maintaining reliability of product information
CN115729477A (en) Distributed storage IO path data writing and reading method, device and equipment
CN115495286A (en) Test method, system, equipment and storage medium for timed backup of configuration file
TW201525686A (en) Methods for accessing baseboard management controller
CN114356653A (en) Power-down protection method and device for industrial control firewall
CN113608603A (en) Method, system, equipment and storage medium for repairing PCIe fault equipment
TWI777259B (en) Boot method
CN113805946B (en) Processing method and device for nonvolatile attribute of android system and electronic equipment
CN115858251B (en) Control method and device of substrate control unit, electronic equipment and storage medium
CN118151853A (en) Data storage control method and system of FPGA device, FPGA system and medium
CN117590921A (en) Method and system for protecting data during power-down shutdown based on embedded Linux platform
CN113821387A (en) KVM function keep-alive test method, device, equipment and 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
GR01 Patent grant
GR01 Patent grant