A time parameter management method, device, equipment and readable storage medium

By writing a preset string into the IPMI specification and using an extended field to store the real time, the problem of overflow in the board manufacturing time field was solved, achieving compatibility with the IPMI standard and accurate acquisition of time parameters, thus avoiding data errors in operation and maintenance.

CN123049672APending Publication Date: 2026-11-06XINHUASAN INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611160928.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-31
Publication Date
2026-11-06

AI Technical Summary

Technical Problem

The 3-byte encoding of the board manufacturing time field in the existing IPMI specification cannot correctly represent the manufacturing time after 2028, causing time wrap-around, data overflow and decoding errors, affecting operation and maintenance judgment and management.

Method used

When time overflows, a preset string is written and the actual time is stored using an extended field. This, combined with the standard field and the extended field, forms a dual-track time recording mechanism to ensure accurate acquisition of time parameters.

Benefits of technology

It achieves full compatibility with existing IPMI standards, avoids data errors and maintenance chaos caused by time wrap-around, and ensures accurate reading of board manufacturing time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123049672A_ABST
    Figure CN123049672A_ABST
Patent Text Reader

Abstract

The present specification provides a time parameter management method, device, equipment and readable storage medium, the method comprises: reading the board card manufacturing time field in the board card information area used for storing the board card information of the target equipment;According to the reading result of reading a specific preset character string, read a specific extension field in the board card information area;According to the time parameter read as the board card manufacturing time of the target equipment;The specific preset character string is used to indicate that the current board card manufacturing time field does not record the board card manufacturing time, and the board card manufacturing time is recorded in the specific extension field in the board card information area agreed in advance. Through the technical scheme of the present specification, when the time field overflows, the preset character string is written and the extension field is enabled to carry the real time, which realizes the complete compatibility of the existing IPMI standard.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This specification relates to the field of communication technology, and in particular to a time parameter management method, apparatus, device, and readable storage medium. Background Technology

[0002] The Intelligent Platform Management Interface (IPMI) specification defines a hardware management architecture independent of the operating system and main processor. This allows system administrators to remotely monitor, diagnose, and control devices through a dedicated management channel, even in extreme situations such as operating system crashes, network interruptions, or hardware failures. Among the many data structures and functional modules defined by the IPMI specification, the Field Replaceable Unit (FRU) data storage specification is one of the most critical and fundamental components. The FRU data storage specification defines a standardized non-volatile storage format for recording static asset information of hardware devices, including but not limited to product manufacturer name, product model, product serial number, board manufacturing date, board serial number, asset tag, and various custom extended information. This information is typically stored in Electrically Erasable Programmable Read-Only Memory (EEPROM) or flash memory chips on the device's motherboard. The Baseboard Management Controller (BMC) is responsible for reading and parsing this information and providing query services to upper-level management software through the IPMI command interface. In actual operation and maintenance scenarios, FRU data is widely used in many key aspects such as asset inventory, warranty period calculation, hardware lifecycle management, fault tracing, batch replacement strategy formulation, and compliance auditing. It is an indispensable basic data support in the data center operation and maintenance system.

[0003] Among the multiple information areas defined in the FRU data storage specification, the Board Info Area plays a core role in recording asset information related to the device's motherboard. The data structure of the Board Info Area is organized strictly according to the IPMI specification, and includes fields such as area version number, area length, language code, Board Manufacturing Date / Time (Board MfgDate / Time), Board Manufacturer Name, Board Product Name, Board Serial Number, Board Part Number, and Board Extra. The Board Manufacturing Date / Time field is the only time-type field in the Board Info Area. Its design purpose is to provide maintenance personnel with a standardized timestamp to identify the actual manufacturing time of the motherboard. According to the explicit definitions in IPMI v1.5 and v2.0, the Board Manufacturing Date / Time field is encoded using a 3-byte (24-bit) unsigned integer, representing the number of minutes elapsed since Coordinated Universal Time (UTC) January 1, 1996, 00:00:00. In other words, this field uses January 1, 1996, at midnight as the time epoch, with minutes as the smallest unit of measurement, and expresses the time interval from this epoch to the actual manufacturing time of the board using a 24-bit unsigned integer. According to this encoding rule, the maximum value this field can represent is 2^24 - 1, or 16,777,215 minutes, corresponding to a time span of approximately 31.9 years. Therefore, theoretically, the latest time point this field can correctly represent is January 1, 1996, plus 16,777,215 minutes, approximately December 31, 2027, 01:30:00 (UTC time). This means that once the actual manufacturing time of the board exceeds this critical moment, the 3-byte field will no longer be able to correctly encode the time value, inevitably leading to a data overflow problem.

[0004] Specifically, starting January 1, 2028, the manufacturing dates of all newly manufactured servers, switches, and other network equipment will exceed the valid range of the board manufacturing date and time field in the IPMI FRU standard. When the number of minutes corresponding to the manufacturing time exceeds 16,777,215, the excess portion will be truncated due to the field length being only 3 bytes, causing the value to wrap around. For example, if the number of minutes corresponding to January 1, 2028 is 16,777,216, it will be truncated to 0 in the 3-byte field, and the decoded time will incorrectly display as 0:00 on January 1, 1996. This wrap-around phenomenon will result in a huge discrepancy of approximately 32 years between the decoded manufacturing time and the actual manufacturing time, seriously misleading maintenance personnel in judging the true lifecycle status of hardware equipment. More seriously, some decoders that strictly adhere to the IPMI specification may directly determine the FRU data area as invalid data when they detect abnormal field values ​​or checksum mismatches, thus refusing to return any board information, making it impossible for the upper-level management system to obtain the equipment's asset data. In the operation and maintenance practice of large-scale data centers, such data errors and parsing failures will trigger a series of chain reactions, including but not limited to chaotic asset ledger information, serious inaccuracies in warranty period calculations, complete failure of hardware life cycle assessments, failure to correctly implement batch replacement strategies, and unreliable compliance audit data, which pose significant operational risks and have incalculable potential economic losses and operational impacts. Summary of the Invention

[0005] In view of this, this specification provides a time parameter management method, apparatus, device, and readable storage medium to improve the problem of time wrap-around caused by the aforementioned time parameter overflow.

[0006] The specific technical solution is as follows: This specification provides a time parameter management method applied to a time parameter reading unit. The method includes: reading the board manufacturing time field in the board information area of ​​the target device used to store board information; reading a specific extended field in the board information area based on the reading result of a specific preset string; using the read time parameter as the board manufacturing time of the target device; the specific preset string is used to indicate that the current board manufacturing time field does not record the board manufacturing time, and the board manufacturing time is recorded in a pre-agreed specific extended field in the board information area; the specific preset string is a string that is pre-written into the board manufacturing time field of the target device when the board manufacturing time of the target device is later than a specific time threshold; the time parameter in the specific extended field is a time parameter that is pre-written into the specific extended field of the target device when the board manufacturing time of the target device is later than a specific time threshold.

[0007] As a technical solution, the time parameter of the specific extended field is stored in text format, and the step of using the read time parameter as the board manufacturing time of the target device includes: using the read text format time parameter as the board manufacturing time of the target device.

[0008] As a technical solution, the specific preset string is 0x00, and the specific preset string is used to identify that it is not specified; the step of reading the specific extended field in the board information area according to the reading result of reading the specific preset string includes: reading the specific extended field in the board information area according to the reading result of reading 0x00.

[0009] As a technical solution, the step of reading a specific extended field in the board information area based on the reading result of a specific preset string includes: obtaining an updated time reference origin and time offset value from the specific extended field, wherein the updated time reference origin is later than the standard time reference origin; the step of using the read time parameters as the board manufacturing time of the target device includes: calculating and obtaining the board manufacturing time of the target device based on the updated time reference origin and time offset value.

[0010] This specification also provides a time parameter management device applied to a time parameter reading unit. The device includes: a first module for reading the board manufacturing time field in the board information area of ​​the target device used to store board information; a second module for reading a specific extended field in the board information area based on the reading result of a specific preset string; and a third module for using the read time parameter as the board manufacturing time of the target device. The specific preset string is used to indicate that the current board manufacturing time field does not record the board manufacturing time, and the board manufacturing time is recorded in a pre-agreed specific extended field in the board information area. The specific preset string is a string that is pre-written into the board manufacturing time field of the target device when the board manufacturing time of the target device is later than a specific time threshold. The time parameter in the specific extended field is a time parameter that is pre-written into the specific extended field of the target device when the board manufacturing time of the target device is later than a specific time threshold.

[0011] As a technical solution, the time parameter of the specific extended field is stored in text format, and the step of using the read time parameter as the board manufacturing time of the target device includes: using the read text format time parameter as the board manufacturing time of the target device.

[0012] As a technical solution, the specific preset string is 0x00, and the specific preset string is used to identify that it is not specified; the step of reading the specific extended field in the board information area according to the reading result of reading the specific preset string includes: reading the specific extended field in the board information area according to the reading result of reading 0x00.

[0013] As a technical solution, the step of reading a specific extended field in the board information area based on the reading result of a specific preset string includes: obtaining an updated time reference origin and time offset value from the specific extended field, wherein the updated time reference origin is later than the standard time reference origin; the step of using the read time parameters as the board manufacturing time of the target device includes: calculating and obtaining the board manufacturing time of the target device based on the updated time reference origin and time offset value.

[0014] This specification also provides an electronic device, including a processor and a readable storage medium storing machine-executable instructions that can be executed by the processor, which executes the machine-executable instructions to implement the aforementioned time parameter management method.

[0015] This specification also provides a readable storage medium storing machine-executable instructions that, when invoked and executed by a processor, cause the processor to implement the aforementioned time parameter management method.

[0016] The technical solutions provided in this specification offer at least the following beneficial effects: By writing a preset string when the time field overflows and enabling extended fields to carry the real time, full compatibility with the existing IPMI standard is achieved. The old tool only displays "Unspecified" without reporting an error, while the new tool can accurately read the manufacturing time after 2028, effectively avoiding data errors and maintenance chaos caused by time wrap-around. Attached Figure Description

[0017] To more clearly illustrate the technical solutions in the embodiments of this specification or the prior art, the drawings used in the description of the embodiments of this specification or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this specification. For those skilled in the art, other drawings can be obtained based on these drawings of the embodiments of this specification.

[0018] Figure 1 This is a flowchart of a time parameter management method in one embodiment of this specification; Figure 2 This is a structural diagram of a time parameter management device according to one embodiment of this specification; Figure 3 This is a hardware structure diagram of an electronic device according to one embodiment of this specification.

[0019] Reference numerals: Module 1 21, Module 22, Module 3 23. Detailed Implementation

[0020] The terminology used in the embodiments described herein is for the purpose of describing particular embodiments only and is not intended to limit the scope of this specification. The singular forms “a,” “described,” and “the” as used in this specification and claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used herein refers to any and all possible combinations comprising one or more of the associated listed items.

[0021] It should be understood that although the terms first, second, third, etc., may be used to describe various information in embodiments of this specification, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, without departing from the scope of this specification, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the word "if" may also be interpreted as "when," "when," or "in response to a determination."

[0022] This specification provides a time parameter management method, apparatus, device, and readable storage medium to at least improve one of the above-mentioned technical problems.

[0023] The specific technical solution is described below.

[0024] In one embodiment, this specification provides a time parameter management method applied to a time parameter reading unit. The method includes: reading a board manufacturing time field in a board information area of ​​a target device used for storing board information; reading a specific extended field in the board information area based on a reading result of a specific preset string; using the read time parameter as the board manufacturing time of the target device; the specific preset string is used to indicate that the current board manufacturing time field does not record the board manufacturing time, and the board manufacturing time is recorded in a pre-agreed specific extended field in the board information area; the specific preset string is a string pre-written into the board manufacturing time field of the target device when the board manufacturing time of the target device is later than a specific time threshold; the time parameter in the specific extended field is a time parameter pre-written into the specific extended field of the target device when the board manufacturing time of the target device is later than a specific time threshold.

[0025] This method is primarily applied to time parameter reading units, such as the FRU parsing module in a baseboard management controller, the ipmitool command-line tool, or any software entity capable of accessing IPMI FRU information. This method utilizes unspecified states reserved in the IPMI specification as trigger signals, combining standard and extended fields to form a dual-track time recording and reading mechanism. This allows for accurate acquisition of board manufacturing times after 2028 without compromising existing standard compatibility.

[0026] The target device involved in this method typically refers to a server, network switch, or storage device, which contains one or more replaceable boards, such as motherboards, backplanes, power modules, or fan control boards. Each board's board information area contains a board manufacturing time field, which is generally defined in the IPMI specification as a 3-byte binary number, based on January 1, 1996, 00:00:00 UTC, and counted in minutes.

[0027] The specific time threshold can be set to 23:59:00 UTC on December 31, 2027, or more conservatively, to January 1, 2027, to ensure that the new mechanism is enabled before any possible overflow occurs.

[0028] When the actual manufacturing time of the board exceeds this threshold, the board manufacturer will write a pre-agreed specific preset string into the original board manufacturing time field when burning FRU information on the production line. According to the IPMI specification, when the value of this field is all zeros, i.e., hexadecimal 0x000000, its semantics are defined as unspecified or unknown, and this all-zero string is used as the specific preset string.

[0029] The production line's programming program also writes the actual board manufacturing time in a different format within a specific extended field in the board information area of ​​the same board. This specific extended field can be a reserved custom area in the board information area, such as the Board Extra area after the standard field, or a field with a Type / Length Value structure defined by the manufacturer. To ensure universality and readability, the time parameter in this extended field can be in a human-readable text format, such as the string "2028-11-26T11:26:00+08:00" conforming to the ISO 8601 standard, or in a fixed structured format, such as a compact binary data structure containing year, month, day, hour, minute, and second. The location, format, and parsing method of this extended field must be pre-agreed upon within the system or between related toolchains, forming a proprietary but stable protocol.

[0030] Specifically, such as Figure 1 This includes the following steps, the order of which can be changed depending on the needs of the actual application scenario: Step S11: Read the board manufacturing time field from the board information area of ​​the target device used to store board information.

[0031] When the time parameter reading unit needs to obtain the manufacturing time of a target board, it first initiates a standard IPMI FRU read command to obtain the raw data of the entire board information area. The reading unit then locates the board manufacturing time field with a fixed offset address and reads its 3-byte value. At this time, the reading unit performs a judgment step: checking whether the read value is equal to a preset string, which in this embodiment is all zeros 0x000000. If the value is not equal to all zeros, it means that the board was manufactured before 2028, and its manufacturing time can still be represented normally by the standard field. Therefore, the reading unit can directly calculate the actual manufacturing time according to the standard algorithm of the IPMI specification, that is, multiplying 1996 by the number of minutes and return it, and the whole process ends. Conversely, if the reading unit finds that the value of the field is exactly equal to the preset string of all zeros, it means that the standard field has been intentionally cleared to indicate a special state: the actual board manufacturing time has exceeded the representation range of the standard field, and the time information has been transferred to a pre-agreed specific extended field.

[0032] Step S12: Based on the reading result of the specific preset string, read the specific extended field in the board information area.

[0033] Based on this determination, the reading unit determines the specific offset address and data length of the extended field within the board information area using internally preset configuration information or a lookup table. For example, the extended field might be designated to be at the end of the board information area, beginning with a specific tag byte followed by a length byte and the actual time data. The reading unit then sends another read command or a batch of commands to retrieve the raw data of the extended field.

[0034] Step S13: Use the read time parameter as the board manufacturing time for the target device.

[0035] After obtaining the data from the extended fields, the reading unit needs to decode it according to pre-agreed parsing rules. If the ISO 8601 text format is used, the reading unit needs to call a string parsing function to extract the year, month, day, hour, minute, second, and time zone information from a string like "2028-11-26T11:26:00+08:00". If a custom binary structure is used, for example, the first two bytes represent the year, the next byte represents the month, and so on, the reading unit needs to decode it according to the corresponding bitwise operation rules.

[0036] After decoding is complete, the reading unit will use the time parameter successfully parsed from the extended field as the final board manufacturing time of the target board and provide it to the upper-layer application or maintenance personnel.

[0037] In one implementation, after successfully parsing the extended field, the time parameter reading unit can perform an additional plausibility check to confirm that the parsed year is indeed greater than 2027, preventing errors caused by corrupted extended field data. If the extended field itself is also empty or parsing fails, the reading unit can fall back to a default behavior, such as returning a specific error code, or marking the board manufacturing time as unknown but later than 2027, instead of returning an obviously incorrect time. This design ensures that even in extreme abnormal situations, the system will not be misled by erroneous data.

[0038] In one implementation, the time parameter of the specific extended field is stored in text format, and the step of using the read time parameter as the board manufacturing time of the target device includes: using the read text format time parameter as the board manufacturing time of the target device.

[0039] In one implementation, the specific preset string is 0x00, and the specific preset string is used to identify that it is not specified; the step of reading the specific extended field in the board information area according to the reading result of reading the specific preset string includes: reading the specific extended field in the board information area according to the reading result of reading 0x00.

[0040] In one implementation, reading a specific extended field in the board information area based on the reading result of a specific preset string includes: obtaining an updated time reference origin and time offset value from the specific extended field, wherein the updated time reference origin is later than the standard time reference origin; and using the read time parameters as the board manufacturing time of the target device includes: calculating and obtaining the board manufacturing time of the target device based on the updated time reference origin and time offset value.

[0041] In one implementation, the definition of "Unspecified" (0x00) in the IPMI specification is utilized. When a time overflow occurs, the standard 3-byte time field is set to zero, and the actual time is written to the Board Extra extension area in text format (ISO 8601). This approach is suitable for scenarios with a large number of existing devices, outdated maintenance tools (such as ipmitool) that cannot be upgraded, and where zero-risk, zero-intrusion requirements are necessary.

[0042] When the date is greater than 2027-12-31, the standard Board Mfg Date / Time field is set to 0 (i.e., "unspecified" as defined in the specification). A custom field is added to the Board Extra string extension field in the Board Info Area, for example, Board Extra: 2028-11-26 11:26:00 UTC+08:00. The FRU header, Board Info Area version number, and standard field lengths and layouts are not modified.

[0043] Standard tools (ipmitool, BMC FRU parsing logic) still parse according to the IPMI standard and see Board MfgDate: Unspecified. If the operation and maintenance tools need an accurate date, they will additionally parse the custom date in Board Extra.

[0044] The Board Extra field must not duplicate existing Board Extra fields. It is fully compatible with the IPMI standard; setting the field to 0 ("unspecified") is a standard-allowed usage and does not perform non-standard extensions to existing fields. ipmitool can parse FRUs correctly without crashing or misinterpreting fields; it will simply see Mfg Date as Unspecified. The existing FRU parsing logic in OpenBMC / BMC does not need to be modified.

[0045] In one implementation, the Format Version of the Board Info Area is upgraded from 1 to 2, the MfgDate / Time field is expanded from 3 bytes to 4 bytes, and subsequent fields are shifted by 1 byte. The parser branches by version number: version 1 is parsed using 3 bytes, and version 2 is parsed using 4 bytes.

[0046] In one implementation, the private computation based on the base time remapping still uses a field length of 3 bytes and the version number is increased to 2. However, the time base is rewritten from 1996-01-01 to 2027-01-01 (or 2028), which is equivalent to "borrowing" to continue for another 31.9 years. The code changes are minimal and no storage expansion is required.

[0047] In one implementation, such as Figure 2 This specification also provides a time parameter management device applied to a time parameter reading unit. The device includes: a first module for reading the board manufacturing time field in the board information area of ​​the target device used to store board information; a second module for reading a specific extended field in the board information area based on the reading result of a specific preset string; and a third module for using the read time parameter as the board manufacturing time of the target device. The specific preset string is used to indicate that the current board manufacturing time field does not record the board manufacturing time, and the board manufacturing time is recorded in a pre-agreed specific extended field in the board information area. The specific preset string is a string that is pre-written into the board manufacturing time field of the target device when the board manufacturing time of the target device is later than a specific time threshold. The time parameter in the specific extended field is a time parameter that is pre-written into the specific extended field of the target device when the board manufacturing time of the target device is later than a specific time threshold.

[0048] In one implementation, the time parameter of the specific extended field is stored in text format, and the step of using the read time parameter as the board manufacturing time of the target device includes: using the read text format time parameter as the board manufacturing time of the target device.

[0049] In one implementation, the specific preset string is 0x00, and the specific preset string is used to identify that it is not specified; the step of reading the specific extended field in the board information area according to the reading result of reading the specific preset string includes: reading the specific extended field in the board information area according to the reading result of reading 0x00.

[0050] In one implementation, reading a specific extended field in the board information area based on the reading result of a specific preset string includes: obtaining an updated time reference origin and time offset value from the specific extended field, wherein the updated time reference origin is later than the standard time reference origin; and using the read time parameters as the board manufacturing time of the target device includes: calculating and obtaining the board manufacturing time of the target device based on the updated time reference origin and time offset value.

[0051] The implementation methods of the apparatus are the same as or similar to the corresponding implementation methods, and will not be described in detail here.

[0052] In one embodiment, this specification provides an electronic device including a processor and a readable storage medium storing machine-executable instructions executable by the processor. The processor executes the machine-executable instructions to implement the aforementioned time parameter management method. From a hardware perspective, a hardware architecture diagram can be found... Figure 3 As shown.

[0053] In one embodiment, this specification provides a readable storage medium storing machine-executable instructions that, when invoked and executed by a processor, cause the processor to implement the aforementioned time parameter management method.

[0054] Here, a readable storage medium can be any electronic, magnetic, optical, or other physical storage device that can contain or store information, such as executable instructions, data, etc. For example, a readable storage medium can be: RAM (Random Access Memory), volatile memory, non-volatile memory, flash memory, storage drives (such as hard disk drives), solid-state drives, any type of storage disk (such as optical discs, DVDs, etc.), or similar storage media, or combinations thereof.

[0055] The systems, devices, modules, or units described in the above embodiments can be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer, which can take the form of a personal computer, laptop computer, cellular phone, camera phone, smartphone, personal digital assistant, media player, navigation device, email sending and receiving device, game console, tablet computer, wearable device, or any combination of these devices.

[0056] For ease of description, the above devices are described in terms of function, divided into various units. Of course, in implementing this specification, the functions of each unit can be implemented in one or more software and / or hardware components.

[0057] Those skilled in the art will understand that embodiments of this specification can be provided as methods, systems, or computer program products. Therefore, this specification can take the form of a completely hardware implementation, a completely software implementation, or an implementation combining software and hardware aspects. Furthermore, embodiments of this specification can take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0058] This specification is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments thereof. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0059] Furthermore, these computer program instructions can also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in the process. Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0060] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0061] Those skilled in the art will understand that embodiments of this specification can be provided as methods, systems, or computer program products. Therefore, this specification can take the form of a completely hardware implementation, a completely software implementation, or an implementation combining software and hardware aspects. Furthermore, this specification can take the form of a computer program product implemented on one or more computer-usable storage media (which may include, but are not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0062] The above description is merely an embodiment of this specification and is not intended to limit this specification. Various modifications and variations can be made to this specification by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this specification should be included within the scope of the claims of this specification.

Claims

1. A time parameter management method, characterized in that, Applied to a time parameter reading unit, the method includes: Read the board manufacturing time field from the board information area of ​​the target device used to store board information; Based on the reading result of a specific preset string, read the specific extended field in the board information area; The read time parameter is used as the board manufacturing time for the target device; The specific preset string is used to indicate that the current board manufacturing time field does not record the board manufacturing time, and the board manufacturing time is recorded in a specific extended field in the pre-agreed board information reading area; The specific preset string is a string that is pre-written into the board manufacturing time field of the target device when the board manufacturing time of the target device is later than a specific time threshold; the time parameter in the specific extended field is a time parameter that is pre-written into the specific extended field of the target device when the board manufacturing time of the target device is later than a specific time threshold.

2. The method according to claim 1, characterized in that, The time parameter of the specific extended field is stored in text format, and the step of using the read time parameter as the board manufacturing time of the target device includes: The time parameter in the read text format is used as the board manufacturing time of the target device.

3. The method according to claim 1, characterized in that, The specific preset string is 0x00, and the specific preset string is used to identify that it is not specified; The step of reading specific extended fields in the board information area based on the reading result of a specific preset string includes: Based on the read result of 0x00, a specific extended field in the board information area is read.

4. The method according to claim 1, characterized in that, The step of reading specific extended fields in the board information area based on the reading result of a specific preset string includes: Obtain the updated time reference origin and time offset value from a specific extended field, wherein the updated time reference origin is later than the standard time reference origin; The step of using the read time parameter as the board manufacturing time for the target device includes: The board manufacturing time of the target device is calculated based on the updated time reference origin and time offset value.

5. A time parameter management device, characterized in that, The device, applied to a time parameter reading unit, includes: The first module is used to read the board manufacturing time field from the board information area of ​​the target device, which is used to store board information. The second module is used to read specific extended fields in the board information area based on the reading result of a specific preset string; The third module is used to determine the board manufacturing time of the target device based on the read time parameters. The specific preset string is used to indicate that the current board manufacturing time field does not record the board manufacturing time, and the board manufacturing time is recorded in a specific extended field in the pre-agreed board information reading area; The specific preset string is a string that is pre-written into the board manufacturing time field of the target device when the board manufacturing time of the target device is later than a specific time threshold; the time parameter in the specific extended field is a time parameter that is pre-written into the specific extended field of the target device when the board manufacturing time of the target device is later than a specific time threshold.

6. The apparatus according to claim 5, characterized in that, The time parameter of the specific extended field is stored in text format, and the step of using the read time parameter as the board manufacturing time of the target device includes: The time parameter in the read text format is used as the board manufacturing time of the target device.

7. The apparatus according to claim 5, characterized in that, The specific preset string is 0x00, and the specific preset string is used to identify that it is not specified; The step of reading specific extended fields in the board information area based on the reading result of a specific preset string includes: Based on the read result of 0x00, a specific extended field in the board information area is read.

8. The apparatus according to claim 5, characterized in that, The step of reading specific extended fields in the board information area based on the reading result of a specific preset string includes: Obtain the updated time reference origin and time offset value from a specific extended field, wherein the updated time reference origin is later than the standard time reference origin; The step of using the read time parameter as the board manufacturing time for the target device includes: The board manufacturing time of the target device is calculated based on the updated time reference origin and time offset value.

9. An electronic device, characterized in that, include: A processor and a readable storage medium storing machine-executable instructions that can be executed by the processor to implement the method of any one of claims 1-4.

10. A readable storage medium, characterized in that, The readable storage medium stores machine-executable instructions that, when invoked and executed by a processor, cause the processor to implement the method described in any one of claims 1-4.