CN114547033B - 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
CN114547033B
CN114547033B CN202210165194.5A CN202210165194A CN114547033B CN 114547033 B CN114547033 B CN 114547033B CN 202210165194 A CN202210165194 A CN 202210165194A CN 114547033 B CN114547033 B CN 114547033B
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.)
Active
Application number
CN202210165194.5A
Other languages
Chinese (zh)
Other versions
CN114547033A (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

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 management method, a system, equipment and a storage medium of key product data, wherein the method comprises the steps of reading field information of the key product data and carrying out consistency check on a field to be checked of the key product data in an application stage of the key product data; and under the condition that the consistency check fails, determining whether to perform the uniqueness processing of the key product data according to the header information of the key product data. Based on a management method of the key product data, a management system, equipment and storage medium of the key product data are also provided. According to the method, firstly, consistency verification of key product data is carried out, and under the condition that the consistency verification fails, whether uniqueness processing is carried out is judged according to the header information, so that the situation that key product data reading application fails and cannot be started and operated due to memory abnormality or data error is avoided, the whole environment or system abnormality is affected, and therefore the overall reliability of hardware equipment is improved.

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 end products have been widely used. The VPD data is key product data, is the most basic information of hardware equipment, is usually stored in a memory (EEPROM or FLASH), ensures that power failure is not lost, reads application by a hardware controller in the initialization process of a hardware equipment system, provides the most basic configuration information for the hardware equipment, and can not start and work of the hardware equipment system 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, an SAS address, and the like. If there are two or more identical data in the same environment or system, hardware device conflicts may be created, resulting in the overall environment or system not functioning properly. A safe and reliable VPD data controller management method is very important.
In the prior art, a main memory and a standby memory and a double partition mode are commonly used for preventing the VPD data from being wrong to cause system abnormality, but when the main memory and the standby memory or the double partition are abnormal, the system cannot be recovered from the abnormality or is started normally, the recovered VPD data is difficult to be unique, and the abnormality risk still exists.
Disclosure of Invention
In order to solve the technical problems, the invention provides a method, a system, equipment and a storage medium for managing key product data. The problem that the key product data cannot be started or work normally due to failure or uniqueness of the key product data reading application is avoided, and therefore the whole environment or system abnormality is affected, and the overall reliability of hardware equipment is improved.
In order to achieve the above purpose, the present invention adopts the following technical scheme:
a method of managing critical product data, comprising the steps of:
in the application stage of the key product data, reading field information of the key product data, and carrying out consistency check on a field to be checked of the key product data;
and under the condition that the consistency check fails, determining whether to perform the uniqueness processing of the key product data according to the header information of the key product data.
Further, before entering the critical product data application phase, a system initialization is first performed.
Further, the condition of the consistency check failure comprises failure of acquiring field information of the key product data and a to-be-checked field consistency check error of the key product data.
Further, under the condition that the consistency check is successful, the corresponding field check of the next key product data is performed.
Further, the process of determining whether to perform the unique processing of the key product data according to the header information of the key product data includes:
writing the correction data of the key product data into the memory if the data which is the same as the header information of the key product data already exists; then adding a random offset value to the fixed value of the correction data to serve as a default value of the key product data; the correction data of the key product data is key product data conforming to the specification of a data manager;
and if the data which is the same as 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.
Further, the method further comprises performing consistency check after the default values of the corresponding fields of the key product data are written into the memory.
The invention also provides a management system of the key product data, which comprises a consistency check module and a uniqueness processing module;
the consistency verification module is used for reading field information of the key product data and carrying out consistency verification on the field to be verified of the key product data in the key product data application stage;
and the uniqueness processing module is used for determining whether uniqueness processing of the key product data is carried out according to the header information of the key product data under the condition that the consistency check fails.
Further, the executing process of the uniqueness processing module is as follows:
writing the correction data of the key product data into the memory if the data which is the same as the header information of the key product data already exists; then adding a random offset value to the fixed value of the correction data to serve as a default value of the key product data; the correction data of the key product data is key product data conforming to the specification of a data manager;
and if the data which is the same as 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.
The invention also proposes a device comprising:
a memory for storing a computer program;
and 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 executed by a processor, implements the method steps.
The effects provided in the summary of the invention are merely effects of embodiments, not all effects of the invention, and one of the above technical solutions has the following advantages or beneficial effects:
the invention provides a management method, a system, equipment and a storage medium of key product data, wherein the method comprises the steps of reading field information of the key product data and carrying out consistency check on a field to be checked of the key product data in an application stage of the key product data; and under the condition that the consistency check fails, determining whether to perform the uniqueness processing of the key product data according to the header information of the key product data. Wherein the process of the uniqueness processing is to write the correction data of the key product data into the memory if there is already the same data as the header information of the key product data; then adding a random offset value to the fixed value of the correction data to serve as a default value of the key product data; the correction data of the key product data is the key product data conforming to the specification of the data manager; and if the data which is the same as 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. Based on a management method of the key product data, a management system, equipment and storage medium of the key product data are also provided. The method and the device firstly carry out consistency check on the key product data, judge whether to carry out uniqueness processing according to the header information under the condition that the consistency check fails, and avoid the situation that the key product data cannot be started and operated due to failure of reading application of the key product data caused by abnormal memory or data error, thereby influencing the whole environment or abnormal system, and further improving the integral reliability of hardware equipment.
The method and the device can be suitable for main and standby memories or double-partition key product data, and can ensure that the written data has uniqueness when the main and standby memories or the double-partition read errors.
Drawings
FIG. 1 is a flow chart of a method for managing key product data according to embodiment 1 of the present invention;
fig. 2 is a schematic diagram of a management system for key product data according to embodiment 1 of the present invention.
Detailed Description
In order to clearly illustrate the technical features of the present solution, the present invention will be described in detail below with reference to the following detailed description and the accompanying drawings. The following disclosure provides many different embodiments, or examples, for implementing different structures of the invention. In order to simplify the present disclosure, 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 processes are omitted so as to not unnecessarily obscure the present invention.
Example 1
The embodiment 1 of the invention provides a management method of key product data. The problem that the key product data cannot be started or work normally due to failure or uniqueness of the key product data reading application is avoided, and therefore the whole environment or system abnormality is affected, and the overall reliability of hardware equipment is improved.
In the application stage of the key product data, reading field information of the key product data, and carrying out consistency check on a field to be checked of the key product data;
and under the condition that the consistency check fails, determining whether to perform the uniqueness processing of the key product data according to the header information of the key product data. Writing the correction data of the key product data into the memory if the data which is the same as the header information of the key product data already exists; then adding a random offset value to the fixed value of the correction data to serve as a default value of the key product data; the correction data of the key product data is key product data conforming to the specification of a data manager; and if the data which is the same as 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. The condition that the consistency check fails comprises failure of acquiring field information of the key product data and consistency check errors of fields to be checked of the key product data.
FIG. 1 is a flow chart of a method for managing key product data according to embodiment 1 of the present invention;
in step S101, system initialization is performed, and a critical 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 the consistency check, determines whether the consistency check is successful, and if so, performs step S103, and if not, performs step S105. The reasons for unsuccessful consistency check include failure to acquire field information of the key product data and error of consistency check of the field to be checked of the key product data.
In step S103, it is determined whether or not the data N is applied to the system, and if all the fields are successfully applied, step S104 is performed. If not, one-time verification of the next key product data n+1 is performed, and the process returns to step S102.
In step S104, the product key data application phase is completed.
In step S105, it is determined whether or not to perform the unique processing of the key product data based on the 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 determined that there is no data identical to the header information of the key product data, step S107 is performed. A schematic representation of the segmentation of the product key data is given in table 1 below.
Gauge outfit 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, the correction data of the key product data is written into the memory; then adding a random offset value to the fixed value of the correction data to serve as a default value of the key product data; the correction data of the key product data is the key product data conforming to the specification of the data manager; the uniqueness of writing each data is guaranteed.
In step S107, default values of corresponding fields of the key product data are written into the memory.
When all data corresponding fields of the key product data are successfully applied, the key product data application stage is completed, and the system enters the next starting stage.
According to the management method for the key product data, which is provided by the embodiment 1 of the invention, the consistency check of the key product data is firstly carried out, and whether the uniqueness processing is carried out is judged according to the header information under the condition that the consistency check fails.
The method for managing key product data provided in embodiment 1 of the present invention is applicable to key product data of a main memory or a dual partition, and ensures that written data has uniqueness when the main memory or the dual partition reads errors.
Example 2
Based on the method for managing the key product data provided in embodiment 1 of the present invention, embodiment 2 of the present invention further provides a system for managing the key product data, as shown in fig. 2, which is a schematic diagram of a system for managing the 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 verification module is used for reading field information of the key product data and carrying out consistency verification on the field to be verified of the key product data in the key product data application stage;
and the uniqueness processing module is used for determining whether uniqueness processing of the key product data is carried out according to the header information of the key product data under the condition that the consistency check fails.
The consistency check module performs system initialization processing first before executing.
The execution process of the uniqueness processing module is as follows: writing the correction data of the key product data into the memory if the data which is the same as the header information of the key product data already exists; then adding a random offset value to the fixed value of the correction data to serve as a default value of the key product data; the correction data of the key product data is key product data conforming to the specification of a data manager; and if the data which is the same as 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. And after the default values of the corresponding fields of the key product data are written into the memory, consistency verification is performed.
According to the management system for the key product data, which is provided by the embodiment 2 of the invention, the consistency check of the key product data is firstly carried out, and whether the uniqueness processing is carried out is judged according to the header information under the condition that the consistency check fails.
The management system for key product data provided in embodiment 1 of the present invention is applicable to main and standby memories or dual-partition key product data, and ensures that written data has uniqueness when both main and standby memories or dual partitions read errors.
Example 3
The invention also proposes a device comprising:
a memory for storing a computer program;
the processor is used for realizing the following steps when executing the computer program:
in the application stage of the key product data, reading field information of the key product data, and carrying out consistency check on a field to be checked of the key product data;
and under the condition that the consistency check fails, determining whether to perform the uniqueness processing of the key product data according to the header information of the key product data. Writing the correction data of the key product data into the memory if the data which is the same as the header information of the key product data already exists; then adding a random offset value to the fixed value of the correction data to serve as a default value of the key product data; the correction data of the key product data is key product data conforming to the specification of a data manager; and if the data which is the same as 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. The condition that the consistency check fails comprises failure of acquiring field information of the key product data and consistency check errors of fields to be checked of the key product data.
FIG. 1 is a flow chart of a method for managing key product data according to embodiment 1 of the present invention;
in step S101, system initialization is performed, and a critical 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 the consistency check, determines whether the consistency check is successful, and if so, performs step S103, and if not, performs step S105. The reasons for unsuccessful consistency check include failure to acquire field information of the key product data and error of consistency check of the field to be checked of the key product data.
In step S103, it is determined whether or not the data N is applied to the system, and if all the fields are successfully applied, step S104 is performed. If not, one-time verification of the next key product data n+1 is performed, and the process returns to step S102.
In step S104, the product key data application phase is completed.
In step S105, it is determined whether or not to perform the unique processing of the key product data based on the 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 determined that there is no data identical to the header information of the key product data, step S107 is performed. A schematic representation of the segmentation of the product key data is given in table 1 below.
Gauge outfit 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, the correction data of the key product data is written into the memory; then adding a random offset value to the fixed value of the correction data to serve as a default value of the key product data; the correction data of the key product data is the key product data conforming to the specification of the data manager; the uniqueness of writing each data is guaranteed.
In step S107, default values of corresponding fields of the key product data are written into the memory.
When all data corresponding fields of the key product data are successfully applied, the key product data application stage is completed, and the system enters the next starting stage.
According to the device provided by the embodiment 3 of the invention, the consistency check of key product data is firstly carried out, and whether the uniqueness processing is carried out is judged according to the header information under the condition that the consistency check fails.
The device proposed in embodiment 3 of the present invention is applicable to main-standby memory or dual-partition critical product data, and ensures that the written data has uniqueness when both the main-standby memory or the dual-partition reads errors.
It is necessary to explain that: the technical scheme of the invention also provides electronic equipment, which comprises: a communication interface capable of information interaction with other devices such as a network device and the like; and the processor is connected with the communication interface to realize information interaction with other equipment, and is used for executing the virtualization system monitoring method provided by one or more of the technical schemes when running the computer program, and the computer program is stored in the memory. Of course, in practice, the various components in the electronic device are coupled together by a bus system. It will be appreciated that a bus system is used to enable connected communications between these components. The bus system includes a power bus, a control bus, and a status signal bus in addition to the 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. Wherein the nonvolatile Memory may be Read Only Memory (ROM), programmable Read Only Memory (PROM, programmable Read-Only Memory), erasable programmable Read Only Memory (EPROM, erasable Programmable Read-Only Memory), electrically erasable programmable Read Only Memory (EEPROM, electrically Erasable Programmable Read-Only Memory), magnetic random access Memory (FRAM, ferromagnetic random access Memory), flash Memory (Flash Memory), magnetic surface Memory, optical disk, or compact disk Read Only Memory (CD-ROM, compact Disc Read-Only Memory); the magnetic surface memory may be a disk memory or a tape memory. The volatile memory may be random access memory (RAM, random AccessMemory), which acts as external cache memory. By way of example, and not limitation, many forms of RAM are available, such as static random access memory (SRAM, static Random Access Memory), synchronous static random access memory (SSRAM, synchronous Static Random Access Memory), dynamic random access memory (DRAM, dynamic Random Access Memory), synchronous dynamic random access memory (SDRAM, synchronousDynamic Random Access Memory), double data rate synchronous dynamic random access memory (ddr sdram, double Data Rate Synchronous Dynamic Random Access Memory), enhanced synchronous dynamic random access memory (ESDRAM, enhanced Synchronous Dynamic Random Access Memory), synchronous link dynamic random access memory (SLDRAM, syncLink Dynamic Random Access Memory), direct memory bus random access memory (DRRAM, direct Rambus Random Access Memory). The memory described in the embodiments of the present application is 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 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 by instructions in the form of software. The processor may be a general purpose processor, a DSP (Digital Signal Processing, meaning a chip capable of implementing digital signal processing techniques), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. The processor may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present application. The 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 embodied in 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 having a memory, and the processor reads the program in the memory and performs the steps of the method in combination with its hardware. The processor executes the program to implement the corresponding flow in each method of the embodiments of the present application, and for brevity, will not be described in detail herein.
Example 4
The invention also provides a readable storage medium, the readable storage medium stores a computer program, and the computer program when executed by a processor realizes the following steps:
in the application stage of the key product data, reading field information of the key product data, and carrying out consistency check on a field to be checked of the key product data;
and under the condition that the consistency check fails, determining whether to perform the uniqueness processing of the key product data according to the header information of the key product data. Writing the correction data of the key product data into the memory if the data which is the same as the header information of the key product data already exists; then adding a random offset value to the fixed value of the correction data to serve as a default value of the key product data; the correction data of the key product data is key product data conforming to the specification of a data manager; and if the data which is the same as 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. The condition that the consistency check fails comprises failure of acquiring field information of the key product data and consistency check errors of fields to be checked of the key product data.
FIG. 1 is a flow chart of a method for managing key product data according to embodiment 1 of the present invention;
in step S101, system initialization is performed, and a critical 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 the consistency check, determines whether the consistency check is successful, and if so, performs step S103, and if not, performs step S105. The reasons for unsuccessful consistency check include failure to acquire field information of the key product data and error of consistency check of the field to be checked of the key product data.
In step S103, it is determined whether or not the data N is applied to the system, and if all the fields are successfully applied, step S104 is performed. If not, one-time verification of the next key product data n+1 is performed, and the process returns to step S102.
In step S104, the product key data application phase is completed.
In step S105, it is determined whether or not to perform the unique processing of the key product data based on the 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 determined that there is no data identical to the header information of the key product data, step S107 is performed. A schematic representation of the segmentation of the product key data is given in table 1 below.
Gauge outfit 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, the correction data of the key product data is written into the memory; then adding a random offset value to the fixed value of the correction data to serve as a default value of the key product data; the correction data of the key product data is the key product data conforming to the specification of the data manager; the uniqueness of writing each data is guaranteed.
In step S107, default values of corresponding fields of the key product data are written into the memory.
When all data corresponding fields of the key product data are successfully applied, the key product data application stage is completed, and the system enters the next starting stage.
The storage medium provided in embodiment 4 of the present invention firstly performs consistency verification of key product data, and then determines whether to perform unique processing according to header information under the condition of failed consistency verification.
The storage medium proposed in embodiment 4 of the present invention is applicable to main-standby memory or dual-partition critical product data, and ensures that the written data has uniqueness when both the main-standby memory or the dual-partition reads errors.
The embodiments of the present application also provide a storage medium, i.e. a computer storage medium, in particular a computer readable storage medium, for example comprising a memory storing a computer program executable by a processor for performing the steps of the aforementioned method. The computer readable storage medium may be FRAM, ROM, PROM, EPROM, EEPROM, flash Memory, magnetic surface Memory, optical disk, or CD-ROM.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the above method embodiments may be implemented by hardware associated with program instructions, where the foregoing program may be stored in a computer readable storage medium, and when executed, the program performs steps including the above method embodiments; and the aforementioned storage medium includes: a removable storage device, ROM, RAM, magnetic or optical disk, or other medium capable of storing program code. Alternatively, the integrated units described above may be stored in a computer readable storage medium if implemented in the form of software functional modules and sold or used as a stand-alone product. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partly contributing to the prior art, and the computer software product may be stored in a storage medium, and include several instructions to cause an electronic device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a removable storage device, ROM, RAM, magnetic or optical disk, or other medium capable of storing program code.
The description of the relevant parts in the processing device and the storage medium of the key product data provided in the embodiments of the present application may refer to the detailed description of the corresponding parts in the management method of the key product data provided in embodiment 1 of the present application, which is not repeated here.
It is noted that relational terms such as first and second, and the like are 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. Moreover, 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 is inherent to. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. In addition, the parts of the above technical solutions provided in the embodiments of the present application, which are consistent with the implementation principles of the corresponding technical solutions in the prior art, are not described in detail, so that redundant descriptions are avoided.
While the specific embodiments of the present invention have been described above with reference to the drawings, the scope of the present invention is not limited thereto. Other modifications and variations to the present invention will be apparent to those of skill in the art upon review of the foregoing description. It is not necessary here nor is it exhaustive of all embodiments. On the basis of the technical scheme of the invention, various modifications or variations which can be made by the person skilled in the art without the need of creative efforts are still within the protection scope of the invention.

Claims (8)

1. A method of managing critical product data, comprising the steps of:
in the application stage of the key product data, reading field information of the key product data, and carrying out consistency check on a field to be checked of the key product data;
under the condition that the consistency check fails, determining whether to perform the uniqueness processing of the key product data according to the header information of the key product data; the process of determining whether to perform the unique processing of the key product data according to the header information of the key product data comprises the following steps: writing the correction data of the key product data into the memory if the data which is the same as the header information of the key product data already exists; then adding a random offset value to the fixed value of the correction data to serve as a default value of the key product data; the correction data of the key product data is key product data conforming to the specification of a data manager; and if the data which is the same as 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.
2. A method of managing critical product data as claimed in claim 1, wherein the system initialization is performed first before entering the critical product data application stage.
3. The method according to claim 1, wherein the case of failure of the consistency check includes failure of obtaining field information of the key product data and a to-be-checked field consistency check error of the key product data.
4. The method according to claim 1, wherein in case of successful consistency check, the corresponding field check of the next key product data is performed.
5. The method of claim 1, further comprising performing a consistency check after writing the default values of the corresponding fields of the key product data to memory.
6. The management system of the key product data is characterized by comprising a consistency check module and a uniqueness processing module;
the consistency verification module is used for reading field information of the key product data and carrying out consistency verification on the field to be verified of the key product data in the key product data application stage;
the uniqueness processing module is used for determining whether uniqueness processing of the key product data is carried out according to the header information of the key product data under the condition that consistency verification fails; the execution process of the uniqueness processing module is as follows: writing the correction data of the key product data into the memory if the data which is the same as the header information of the key product data already exists; then adding a random offset value to the fixed value of the correction data to serve as a default value of the key product data; the correction data of the key product data is key product data conforming to the specification of a data manager; and if the data which is the same as 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.
7. A key product data management apparatus, comprising:
a memory for storing a computer program;
a processor for implementing the method steps of any one of claims 1 to 5 when executing said computer program.
8. A readable storage medium, characterized in that it has stored thereon a computer program which, when executed by a processor, implements the method steps of any of claims 1 to 5.
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 CN114547033A (en) 2022-05-27
CN114547033B true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116756784B (en) * 2023-05-22 2024-02-23 元心信息科技集团有限公司 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

Also Published As

Publication number Publication date
CN114547033A (en) 2022-05-27

Similar Documents

Publication Publication Date Title
US7143236B2 (en) Persistent volatile memory fault tracking using entries in the non-volatile memory of a fault storage unit
EP2048579B1 (en) System and method for managing memory errors in an information handling system
CN111078662B (en) Block chain data storage method and device
CN111090545B (en) Method, device and medium for recovering failed CPLD
US10725671B2 (en) Dual inline memory provisioning and reliability, availability, and serviceability enablement based on post package repair history
CN108932249B (en) Method and device for managing file system
CN101558452A (en) Method and device for reconfiguration of reliability data in flash EEPROM storage pages
CN114547033B (en) Method, system, equipment and storage medium for managing key product data
CN107479823B (en) Data verification method and device in random read-write file test
CN114528029B (en) Method, system, equipment and storage medium for realizing BIOS option setting
BRPI1015437B1 (en) METHOD AND DEVICE FOR MEMORY CARD READING AND RECORDING
CN109697158B (en) Log analysis method and device based on fault
CN106528322B (en) Method and apparatus for detecting non-documented corruption of data
CN116578327B (en) Program updating method and device, electronic equipment and storage medium
CN113867807A (en) Method, device, equipment and storage medium for shortening power-on time of server
CN111124294B (en) Sector mapping information management method and device, storage medium and equipment
JP2005149501A (en) System and method for testing memory with expansion card using dma
CN110956284A (en) Method, system, equipment and storage medium for maintaining reliability of product information
CN113961151B (en) Storage method and device of fault log, electronic equipment and storage medium
CN115495286A (en) Test method, system, equipment and storage medium for timed backup of configuration file
TW201525686A (en) Methods for accessing baseboard management controller
US6678107B1 (en) System and method for reading and writing N-way mirrored storage devices
CN115858251B (en) Control method and device of substrate control unit, electronic equipment and storage medium
CN117827294B (en) Memory starting processing method and device
CN113641512B (en) Method, system, equipment and storage medium for processing Ajax requests in merging mode

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