Blockchain-based method and device for on-chain storage of airport operation and maintenance time-series data.

By using blockchain technology to construct a target evidence storage and computation structure in airport operations and maintenance, the problem of the lack of a trust mechanism among multiple parties has been solved, enabling trusted storage and rapid evidence retrieval of airport operations and maintenance time-series data, and improving the efficiency of fault resolution.

CN120729498BActive Publication Date: 2026-07-31TRAVELSKY TECHNOLOGY LIMITED
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
TRAVELSKY TECHNOLOGY LIMITED
Filing Date
2025-06-18
Publication Date
2026-07-31

AI Technical Summary

Technical Problem

In the maintenance of low-voltage electrical systems in airports, the lack of a reliable mechanism among multiple stakeholders leads to a lack of reliable evidence for maintenance time-series data, resulting in low efficiency in troubleshooting.

Method used

A blockchain-based on-chain evidence storage method for airport operation and maintenance time-series data is adopted. By constructing a target evidence storage calculation structure, calculating the hash value and filling the on-chain structure, the reliable evidence storage and rapid evidence retrieval of data are achieved.

Benefits of technology

Establishing a multi-party trusted sharing mechanism enables efficient and reliable data exchange and rapid evidence retrieval, improving the efficiency and reliability of fault resolution.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120729498B_ABST
    Figure CN120729498B_ABST
Patent Text Reader

Abstract

This invention discloses a blockchain-based method and apparatus for on-chain evidence storage of airport operation and maintenance time-series data, relating to the field of airport operation and maintenance data management. The method includes: acquiring a pre-constructed target evidence storage calculation structure; traversing the target host evidence storage structures that meet the evidence storage calculation requirements within the target evidence storage calculation structure to obtain type attribute hash sets corresponding to different type attribute record items; filling the on-chain structure with the attribute hash sets corresponding to different type attribute record items, the target host address, and the record timestamp; transmitting the filled on-chain structure to the blockchain network; and storing the target record value set corresponding to different type attribute record items of the target host evidence storage structure in the target evidence storage calculation structure into an off-chain database. This invention solves the technical problem in related technologies where the lack of a trusted mechanism among multiple parties in airport operation and maintenance leads to a lack of trusted evidence storage for operation and maintenance time-series data, resulting in low efficiency in fault resolution.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the fields of airport operation and maintenance data management, airport digitization, blockchain technology, or other related fields. Specifically, it relates to a blockchain-based method and apparatus for on-chain storage of airport operation and maintenance time-series data. Background Technology

[0002] In traditional airport low-voltage electrical maintenance, facing numerous heterogeneous systems and technical layers, data collection, management, and analysis primarily rely on centralized IT infrastructure and manual processing. Under this model, data reliability, transparency, and security become significant challenges, especially when handling failures. The lack of shared trust among stakeholders leads to significant obstacles in liability delineation and fault response speed. Specifically, centralized data management is susceptible to single points of failure, manual processing is inefficient and error-prone, and data modification and forgery are difficult to detect. These problems severely impact the efficiency and reliability of airport operations and maintenance.

[0003] There is currently no effective solution to the above problems. Summary of the Invention

[0004] This invention provides a blockchain-based method and apparatus for on-chain storage of airport operation and maintenance time-series data, which at least solves the technical problem in related technologies that the lack of a trust mechanism among multiple parties involved in airport operation and maintenance, the lack of trustworthy storage of operation and maintenance time-series data, and the resulting low efficiency in fault resolution.

[0005] According to one aspect of the present invention, a blockchain-based method for on-chain evidence storage of airport operation and maintenance time-series data is provided, comprising: obtaining a pre-constructed target evidence storage calculation structure, wherein the target evidence storage calculation structure includes multiple target host evidence storage structures, the target host evidence storage structures storing N types of attribute record items and corresponding target record value sets, the target record value sets including operation and maintenance time-series data obtained after data collection from multiple types of airport data sources, where N is a positive integer; traversing the target host evidence storage structures that meet the evidence storage calculation requirements in the target evidence storage calculation structure to obtain type attribute hash sets corresponding to different type attribute record items; and configuring the different type attribute record items... The corresponding attribute hash set, target host address, and record timestamp are used to populate the on-chain structure. The structure items of the on-chain structure include: host address item, record time range item, and on-chain record value item. The on-chain record value item includes the record value set corresponding to each type of attribute record item. The record value set of each type of attribute record item includes the record value ID set calculated by reference and the Merkle value corresponding to each type of attribute. The Merkle value is obtained by recursively calculating based on the type attribute hash value. The populated on-chain structure is transmitted to the blockchain network, and the target record value set corresponding to the different type attribute record items of the target host evidence storage structure in the target evidence storage calculation structure is stored in the off-chain database.

[0006] Optionally, the step of filling the on-chain structure with the attribute hash set, target host address, and record timestamp corresponding to different types of attribute record items includes: using the attribute hash value corresponding to each type of attribute record item as a leaf node, performing recursive calculation to obtain the Merkle value set corresponding to different types of attribute record items; constructing a Merkle tree based on the Merkle value set; and filling the on-chain structure based on the Merkle tree, target host address, and record timestamp.

[0007] Optionally, before obtaining the pre-constructed target evidence storage calculation structure, the method further includes: constructing the initial target evidence storage calculation structure, wherein the target evidence storage calculation structure includes multiple target host evidence storage structures, each target host evidence storage structure includes N type attribute record items, each type attribute record item includes K specific target record value sets, and the record items corresponding to the target record value sets include: record value ID, record value type, record time, target host address, specific record value, record remarks, record value importance, and hash value corresponding to the specific record value, where K is a positive integer greater than 1; and filling the obtained original record value set with... The target evidence storage calculation structure is described below. The process involves traversing different target host evidence storage structures within the target evidence storage calculation structure to obtain the record pointer value set of the target host evidence storage structure. Then, it traverses different type attribute record items within the target host evidence storage structure to obtain the current storage quantity set. The process then determines whether the record pointer value corresponding to each type attribute in the current storage quantity set is greater than or equal to the maximum limit that the corresponding type attribute can accommodate in the record pointer value set. If the record pointer value corresponding to any type attribute is greater than or equal to the maximum limit that the corresponding type attribute can accommodate in the record pointer value set, the target host evidence storage structure is confirmed to meet the evidence storage calculation requirements.

[0008] Optionally, the step of filling the target evidence storage calculation structure with the acquired set of original record values ​​includes: acquiring a target data source set and a corresponding public key set, wherein the target data source set includes multiple target data sources within the airport area, and each target data source holds a corresponding public key; acquiring original record values ​​according to the target data source set, and filling the target evidence storage calculation structure with the original record values, wherein the record items corresponding to the set of original record values ​​include at least: target record value ID, record value type, record time, target host address, specific record value, record remarks, and signature.

[0009] Optionally, the step of filling the target evidence storage calculation structure with the original record value set includes: for any target data source in the target data source set, decrypting the signature in the original record value set using the public key corresponding to the target data source to obtain a decryption hash value, and performing hash calculation on the specific record value, comparing and verifying the record value hash calculation result with the decryption hash value; if the hash value verification result passes, obtaining the importance matching attribute set and the corresponding importance weight set; initializing the target record value set, filling the target record value ID, target record value type, record time, target host address, specific record value, and record remarks from the original record value set into the initialized target record value set; filling the importance weight value into the target record value importance item in the initialized target record value set, and calculating the hash value corresponding to the specific record value based on the record value ID, record value type, record time, target host address, specific record value, record remarks, and record value importance, and filling it into the target record value set; filling each value in the target record value set into the structure of the target record value type corresponding to the target host address in the target evidence storage calculation structure.

[0010] Optionally, before traversing the different target host evidence storage structures in the target evidence storage calculation structure to obtain the record pointer value set of the target host evidence storage structure, the method further includes: obtaining a configured record pointer value set, wherein the record pointer value set includes the maximum limit value that each type attribute can accommodate and the user-configured default value; calculating the record pointer value according to the record interval time and the importance of the target record value, and filling the record pointer value set.

[0011] Optionally, the step of calculating record pointer values ​​based on the recording interval time and the importance of the target record value, and filling the record pointer value set, includes: obtaining the set of maximum interval times since the last data clearing for different type attribute record items in the target host evidence storage structure of the target evidence storage calculation structure, wherein the maximum interval time set includes the maximum interval duration for each type attribute record item; traversing different type attribute record items in the target host evidence storage structure of the target evidence storage calculation structure to obtain the corresponding record value importance, and summing all the record value importances; calculating the different type attribute structures in the target host evidence storage structure of the target evidence storage calculation structure; and calculating record pointer values ​​based on the user configuration default values, type attribute structures, maximum interval durations, and corresponding on-chain rate configuration parameters corresponding to different type attribute record items, and filling them into the record pointer value set.

[0012] According to another aspect of the present invention, a blockchain-based on-chain evidence storage device for airport operation and maintenance time-series data is also provided, comprising: an evidence storage calculation structure acquisition unit, configured to acquire a pre-constructed target evidence storage calculation structure, wherein the target evidence storage calculation structure includes multiple target host evidence storage structures, the target host evidence storage structure stores N types of attribute record items and corresponding target record value sets, the target record value sets include operation and maintenance time-series data obtained after data collection from multiple types of airport data sources, where N is a positive integer; an evidence storage calculation structure traversal unit, configured to traverse the target host evidence storage structures that meet the evidence storage calculation requirements in the target evidence storage calculation structure, and obtain type attribute hash sets corresponding to different type attribute record items; and an on-chain structure filling unit. The first element is used to fill the on-chain structure with the attribute hash set, target host address, and record timestamp corresponding to different types of attribute record items. The on-chain structure includes the following structural items: host address item, record time range item, and on-chain record value item. The on-chain record value item includes the record value set corresponding to each type of attribute record item. The record value set of each type of attribute record item includes the record value ID set calculated by reference and the Merkle value corresponding to each type of attribute. The Merkle value is obtained by recursively calculating based on the type attribute hash value. The second element is used to transmit the filled on-chain structure to the blockchain network and store the target record value set corresponding to the different types of attribute record items of the target host evidence storage structure in the target evidence storage calculation structure into the off-chain database.

[0013] Optionally, the on-chain structure filling unit includes: a recursive module, used to recursively calculate the attribute hash value corresponding to each type attribute record item as a leaf node to obtain the Merkle value set corresponding to different type attribute record items; constructing a Merkle tree based on the Merkle value set; and an on-chain structure filling module, used to fill the on-chain structure based on the Merkle tree, the target host address, and the record timestamp.

[0014] Optionally, the blockchain-based airport operation and maintenance time-series data on-chain evidence storage device further includes: an evidence storage calculation structure component unit, used to construct an initial target evidence storage calculation structure before obtaining a pre-constructed target evidence storage calculation structure, wherein the target evidence storage calculation structure includes multiple target host evidence storage structures, each target host evidence storage structure includes N type attribute record items, each type attribute record item includes K specific target record value sets, the record items corresponding to the target record value sets include: record value ID, record value type, record time, target host address, specific record value, record remarks, record value importance, hash value corresponding to the specific record value, and K is a positive integer greater than 1; an evidence storage calculation structure filling unit, used to utilize The acquired set of original record values ​​is used to fill the target evidence storage calculation structure; the evidence storage structure traversal unit is used to traverse different target host evidence storage structures in the target evidence storage calculation structure to obtain the record pointer value set of the target host evidence storage structure, and traverse different type attribute record items in the target host evidence storage structure to obtain the current storage quantity set; the pointer set judgment unit is used to judge whether the record pointer value corresponding to each type attribute in the current storage quantity set is greater than or equal to the maximum limit value that the corresponding type attribute can accommodate in the record pointer value set, and if the record pointer value corresponding to any type attribute is greater than or equal to the maximum limit value that the corresponding type attribute can accommodate in the record pointer value set, the target host evidence storage structure is confirmed to meet the evidence storage calculation requirements.

[0015] Optionally, the evidence storage calculation structure filling unit includes: a data source acquisition module, used to acquire a target data source set and a corresponding public key set, wherein the target data source set includes multiple target data sources within the airport area, and each target data source holds a corresponding public key; and an original record value filling module, used to acquire original record values ​​based on the target data source set and fill the target evidence storage calculation structure with the original record values, wherein the record items corresponding to the original record value set include at least: target record value ID, record value type, record time, target host address, specific record value, record remarks, and signature.

[0016] Optionally, the original record value filling module includes: a decryption submodule, used to decrypt the signature in the original record value set using the public key corresponding to the target data source in the target data source set, to obtain a decryption hash value, and to perform hash calculation on the specific record value, and to compare and verify the record value hash calculation result with the decryption hash value; an importance weight acquisition submodule, used to acquire the importance matching attribute set and the corresponding importance weight set if the hash value verification result passes; and a record value set initialization submodule, used to initialize the target record value set, and to initialize the target record value set by adding the target record value ID, target record value type, and record value type to the original record value set. The recording time, target host address, specific record value, and record remarks are filled into the initialized target record value set; the importance weight filling submodule is used to fill the importance weight value into the target record value importance item in the initialized target record value set, and calculate the hash value corresponding to the specific record value based on the record value ID, record value type, recording time, target host address, specific record value, record remarks, and record value importance, and fill it into the target record value set; the record value set filling submodule is used to fill the values ​​of each item in the target record value set into the structure of the target record value type corresponding to the target host address in the target evidence storage calculation structure.

[0017] Optionally, the blockchain-based airport operation and maintenance time-series data on-chain evidence storage device further includes: a record pointer value set acquisition unit, used to acquire a configured record pointer value set before traversing different target host evidence storage structures in the target evidence storage calculation structure to obtain the record pointer value set of the target host evidence storage structure, wherein the record pointer value set includes the maximum limit value that each type attribute can accommodate and the user-configured default value; and a record pointer value set filling unit, used to calculate the record pointer value according to the record interval time and the importance of the target record value, and fill the record pointer value set.

[0018] Optionally, the record pointer value set filling unit includes: a time interval acquisition module, used to acquire the maximum interval time set between the last data clearing and different type attribute record items in the target host evidence storage structure of the target evidence storage calculation structure, wherein the maximum interval time set includes the maximum interval duration in each type attribute record item; a target record item traversal module, used to traverse different type attribute record items in the target host evidence storage structure of the target evidence storage calculation structure, obtain the corresponding record value importance, and sum the importance of all the record values; a type attribute structure calculation module, used to calculate the different type attribute structures in the target host evidence storage structure of the target evidence storage calculation structure; and a record pointer value set filling module, used to calculate the record pointer value based on the user configuration default value, type attribute structure, maximum interval duration, and corresponding on-chain rate configuration parameters corresponding to different type attribute record items, and fill it into the record pointer value set.

[0019] According to another aspect of the present invention, a computer-readable storage medium is also provided, the computer-readable storage medium including a stored computer program, wherein, when the computer program is executed, it controls the device where the computer-readable storage medium is located to execute any of the above-mentioned blockchain-based airport operation and maintenance time-series data on-chain notarization method.

[0020] According to another aspect of the present invention, an electronic device is also provided, including one or more processors and a memory, the memory being used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors cause the one or more processors to implement the blockchain-based airport operation and maintenance time-series data on-chain notarization method described above.

[0021] According to another aspect of the present invention, a computer program product is also provided, including a computer program that, when executed by a processor, implements the steps of the blockchain-based airport operation and maintenance time-series data on-chain evidence storage method described in any one of the above embodiments.

[0022] In this disclosure, a pre-constructed target evidence storage calculation structure is obtained. This target evidence storage calculation structure includes multiple target host evidence storage structures. Each target host evidence storage structure stores N types of attribute record items and corresponding target record value sets. The target record value sets include operational time-series data obtained after collecting data from multiple data sources at the airport. The target host evidence storage structures that meet the evidence storage calculation requirements are traversed to obtain type attribute hash sets corresponding to different type attribute record items. The attribute hash sets corresponding to different type attribute record items, the target host address, and the record timestamp are then filled into an on-chain structure. The on-chain structure includes: a host address item, a record time range item, and an on-chain record value item. The on-chain record value item includes a record value set corresponding to each type attribute record item. This record value set includes a set of record value IDs used for reference calculation and Merkle values ​​corresponding to each type attribute. The Merkle values ​​are recursively calculated based on the type attribute hash values. The filled on-chain structure is transmitted to a blockchain network, and the target record value sets corresponding to different type attribute record items of the target host evidence storage structures in the target evidence storage calculation structure are stored in an off-chain database.

[0023] Based on the aforementioned disclosures, a host-based evidence storage structure can be established using multiple types of monitoring data sources. This reduces the resources and events required for verifying a large amount of invalid data in subsequent queries, facilitating rapid evidence retrieval based on events. Furthermore, this embodiment employs blockchain technology to achieve evidence storage of key time-series data for airport low-voltage electrical operation and maintenance using distributed ledger technology, establishing a multi-party trusted sharing mechanism. This provides a foundation for trusted multi-party collaboration, enabling efficient and reliable data exchange and rapid subsequent evidence retrieval. It provides strong support for trusted collaboration between airports and multiple service providers, thereby addressing the technical problems in related technologies where the lack of a trusted mechanism among multiple airport operation and maintenance entities, the lack of trusted evidence storage for operation and maintenance time-series data, and the resulting low efficiency in fault resolution are all issues. Attached Figure Description

[0024] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this application, illustrate exemplary embodiments of the invention and, together with their description, serve to explain the invention and do not constitute an undue limitation thereof. In the drawings:

[0025] Figure 1 This is a flowchart of an optional blockchain-based method for on-chain storage of airport operation and maintenance time-series data according to an embodiment of the present invention;

[0026] Figure 2 This is a flowchart of an optional blockchain-based on-chain evidence storage method for time-series data in airport operation and maintenance scenarios, according to an embodiment of the present invention.

[0027] Figure 3This is a schematic diagram of an optional blockchain-based on-chain evidence storage device for airport operation and maintenance time-series data according to an embodiment of the present invention;

[0028] Figure 4 This is a hardware structure block diagram of an electronic device (or mobile device) that executes a blockchain-based airport operation and maintenance time-series data on-chain notation method according to an embodiment of the present invention. Detailed Implementation

[0029] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0030] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0031] To facilitate understanding of the present invention by those skilled in the art, some terms or nouns involved in the various embodiments of the present invention are explained below:

[0032] Blockchain technology, or BT for short, is a distributed ledger technology that uses cryptographic algorithms to ensure data security and immutability, while allowing data to be replicated and shared across multiple nodes in the network, thus improving data transparency and trust. In airport operations and maintenance scenarios, blockchain technology is used to achieve trusted multi-party collaboration, ensuring reliable data exchange and notarization.

[0033] Time Series Data (TSD) refers to a sequence of data points recorded in chronological order, typically used to monitor and analyze phenomena that change over time. In airport operations and maintenance, TSD can include information such as equipment status, system logs, and traceability data, serving as a crucial basis for fault diagnosis and system maintenance.

[0034] Distributed Ledger Technology (DLT) is a component of blockchain technology that allows participants to share, copy, and synchronize transaction records or data in a decentralized network.

[0035] A Merkle Tree (MT) is a binary tree structure where each non-leaf node is a hash of the hash values ​​of its child nodes, and the hash value of the root node at the top level is called the Merkle root. This structure can efficiently verify the integrity of large datasets, confirming whether data has been tampered with by comparing only a small number of hash values. In this invention, the Merkle tree is used to compress data, requiring only the Merkle root to be stored on the blockchain, thus saving storage space and supporting fast querying and forensics.

[0036] An off-chain database (ODB) is a database that does not directly interact with the blockchain but stores data independently. In the blockchain application of this invention, off-chain databases are often used to store large amounts of detailed data, while the blockchain stores pointers or summaries of this data, such as Merkle root pointers, to reduce the storage burden on the blockchain itself.

[0037] It should be noted that the blockchain-based airport operation and maintenance time-series data on-chain storage method and apparatus of the present invention can be used in the fields of airport operation and maintenance data management and blockchain technology to realize on-chain storage of airport operation and maintenance scenario time-series data on-chain, and can also be used in any field other than airport operation and maintenance data management and blockchain technology to realize on-chain storage of airport operation and maintenance scenario time-series data on-chain.

[0038] It should be noted that the information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, and displayed data) collected by this invention are information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, storage, use, processing, transmission, provision, disclosure, and application of related data all comply with the relevant laws, regulations, and standards of the relevant regions, and necessary confidentiality measures have been taken. This process does not violate public order and good morals, and corresponding operation entry points are provided for users to choose to authorize or refuse. For example, this system has an interface with relevant users or organizations. Before obtaining relevant information, a request to obtain the information needs to be sent to the aforementioned user or organization through the interface, and the relevant information is obtained only after receiving consent from the aforementioned user or organization.

[0039] It should be noted that in this disclosure, customer information is collected and analyzed, and users are provided with corresponding operation entry points to choose whether to agree to or reject the automated decision results; if the user chooses to reject, the process will proceed to the expert decision-making process.

[0040] The following embodiments of the present invention can be applied to various blockchain-based systems / applications / equipment for on-chain storage of airport operation and maintenance time-series data. This invention can be applied to airport low-voltage electrical operation and maintenance services, airport operation and maintenance scenario time-series data management systems, etc. Compared to existing technologies with numerous heterogeneous systems and technical layers, where data collection, management, and analysis primarily rely on centralized IT infrastructure and manual processing (centralized data management is susceptible to single points of failure, manual processing is inefficient and error-prone, and data modification and forgery are difficult to detect, severely impacting the efficiency and reliability of airport operation and maintenance), data credibility, transparency, and security become significant challenges. Especially when handling fault events, the lack of shared trust among the various participants leads to difficulties in responsibility definition and fault response speed. In the face of significant obstacles, this invention addresses the need for trusted data exchange and rapid evidence retrieval in airport low-voltage electrical maintenance scenarios, and considers the limitations of blockchain in terms of storage capacity and performance. It provides an on-chain evidence storage method for key airport maintenance time-series data based on distributed ledger technology (such as blockchain). This method establishes a three-layer target evidence storage structure: target host, type attribute, and target record value. It enables dynamic pointer calculation based on factors such as the comprehensive time interval of multiple type attributes and record importance, constructing an on-chain structure centered on the monitoring subject and important events. This achieves efficient and trusted data exchange and subsequent rapid evidence retrieval, providing strong support for trusted collaboration between airports and multiple service providers.

[0041] The present invention will now be described in detail with reference to various embodiments.

[0042] Example 1

[0043] According to an embodiment of the present invention, an embodiment of a blockchain-based method for on-chain storage of airport operation and maintenance time-series data is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.

[0044] Figure 1 This is a flowchart of an optional blockchain-based on-chain evidence storage method for airport operation and maintenance time-series data according to an embodiment of the present invention, such as... Figure 1 As shown, the method includes the following steps:

[0045] Step S101: Obtain the pre-constructed target evidence storage calculation structure, wherein the target evidence storage calculation structure contains multiple target host evidence storage structures, and the target host evidence storage structure stores N types of attribute record items and corresponding target record value sets. The target record value sets include operation and maintenance time series data obtained after data collection from multiple data sources of the airport, where N is a positive integer.

[0046] This embodiment first defines a target evidence storage computation structure, which is the core framework for data management and evidence storage in the entire airport operation and maintenance scenario. It aims to process operation and maintenance time-series data from multiple data sources within the airport, ensuring efficient storage, data integrity, and convenient verification. The target evidence storage computation structure consists of multiple target host evidence storage structures, each corresponding to a specific monitoring or operation and maintenance entity within the airport, such as a backend server, critical network equipment, or a frontend PC.

[0047] It should be noted that each target host evidence storage structure stores target record items with N types of attributes. These types of attributes can include monitoring data, log records, link tracing, etc. Each type of attribute contains a set of target record values, which are stored in the form of airport operation and maintenance time-series data obtained through data collection.

[0048] In this embodiment, the data sources in the airport operation and maintenance scenario are extremely diverse, including but not limited to various equipment status information, network communication data, operation logs, etc. Through the pre-built target evidence storage computing structure, this embodiment can effectively integrate and manage the massive amounts of data generated by these data sources, providing a solid foundation for subsequent data evidence storage and analysis.

[0049] Step S102: Traverse the target host evidence storage structures that meet the evidence storage calculation requirements in the target evidence storage calculation structure to obtain the type attribute hash set corresponding to different type attribute record items.

[0050] After obtaining the target evidence storage computation structure, this embodiment further defines the requirements for evidence storage computation. These requirements are typically based on factors such as the timeliness and importance of the data, as well as storage space limitations. By setting reasonable evidence storage computation conditions, this embodiment can optimize the use of storage resources while ensuring data integrity and timeliness.

[0051] When traversing the target host's evidence storage structure, for structures that meet the evidence storage calculation requirements, this embodiment calculates the hash values ​​of record items with different attribute types. These sets of hash values ​​are called type attribute hash sets. The hash value calculation is based on the target record value, ensuring the immutability of the data and is a crucial step in constructing the Merkle tree and implementing data evidence storage.

[0052] This embodiment further constructs a dynamic Merkle tree based on hash sets of record items with different attribute types. A Merkle tree is a binary tree structure where the value of each non-leaf node is the hash value of all its child nodes. This structure can efficiently verify the integrity of large-scale datasets without recalculating the hash value of the entire dataset. Through dynamic pointer calculation and hash value updates, this embodiment can dynamically adjust the data on-chain strategy with limited storage resources, ensuring the preservation of critical data while avoiding excessive resource consumption.

[0053] Step S103: Fill the on-chain structure with the attribute hash set, target host address and record timestamp corresponding to different type attribute record items. The structure items of the on-chain structure include: host address item, record time range item and on-chain record value item. The on-chain record value item includes the record value set corresponding to each type attribute record item. The record value set of the type attribute record item includes the record value ID set calculated by reference and the Merkle value corresponding to each type attribute. The Merkle value is obtained by recursively calculating based on the type attribute hash value.

[0054] In step S103 of this embodiment, the attribute hash sets, target host addresses, and record timestamps corresponding to different types of attribute record items are filled into the on-chain structure. The on-chain structure design includes three key structural items: host address item, record time range item, and on-chain record value item. The on-chain record value item is further subdivided into a record value set, which covers the reference calculation of the record value ID set and the attribute hash values ​​of the corresponding type of attribute record item. The host address item stores the network address information of the target host. In airport operation and maintenance scenarios, each key device or system (such as servers, network devices, monitoring systems, etc.) has its unique network address. By explicitly identifying the host address in the on-chain structure, the source of the data can be easily traced, enhancing the transparency and credibility of the data. The record time range item defines the temporal boundaries of the on-chain data, typically the start and end times of the data, helping to determine the timeliness of the data and quickly locate the relevant time range during fault diagnosis, improving the speed of fault location and response. The on-chain record value item includes a set of record value IDs and a Merkle value. The set of record value IDs is a reference to the specific attribute record value, while the Merkle value is obtained by recursively calculating the hash value of all underlying data (i.e., leaf nodes).

[0055] Optionally, the step of filling the on-chain structure with the attribute hash set, target host address and record timestamp corresponding to different types of attribute record items includes: using the attribute hash value corresponding to each type of attribute record item as a leaf node, performing recursive calculation to obtain the Merkle value set corresponding to different types of attribute record items; constructing a Merkle tree based on the Merkle value set; and filling the on-chain structure based on the Merkle tree, target host address and record timestamp.

[0056] Before filling the on-chain structure with the attribute hash sets, target host addresses, and record timestamps corresponding to different types of attribute records, the attribute hash values ​​of each type of attribute record are first used as leaf nodes for recursive calculation to obtain the Merkel value set. This process ensures that even with a large amount of data, data integrity can be verified with minimal storage consumption and the fastest speed.

[0057] Based on the aforementioned Merkle value set, this embodiment constructs a Merkle tree. A Merkle tree is a special type of binary tree where each non-leaf node is a hash of the data hash value of its child nodes. The Merkle root formed by the root node of the tree is a compact representation of the integrity of all underlying data. Once the Merkle tree is constructed, the target host address, record timestamp, and Merkle value set will be integrated into the on-chain structure. This structure not only ensures the immutability of the data but also enables the rapid retrieval and verification of data records of specific hosts within a specific time range when needed, greatly optimizing the fault diagnosis and responsibility determination process in airport operations and maintenance.

[0058] Step S104: Transmit the filled on-chain structure to the blockchain network, and store the target record value set corresponding to the different type attribute record items of the target host's evidence storage structure in the target evidence storage calculation structure into the off-chain database.

[0059] In step S104 of this embodiment, once the set of target record values ​​under a specific target host and type attribute has passed trusted verification and computation processing and meets the conditions for evidence storage, a dual operation of data uplink and offlink storage will be performed. This process aims to ensure efficient data storage, fast access, and immutability to meet the high requirements for data integrity and processing efficiency in airport operation and maintenance scenarios.

[0060] In this embodiment, the constructed on-chain structure is transmitted to the blockchain network. This on-chain structure stores pointers to key information, specifically including the target host address, the record time range, and Merkle values ​​for specific attributes. These Merkle values ​​are obtained by hashing the set of target record values ​​under their respective attribute types. This on-chain operation ensures that even in massive data environments, data records related to specific events can be quickly located and verified, reducing the cost and performance issues associated with storing complete datasets on the blockchain.

[0061] Furthermore, this embodiment also stores the set of target record values ​​corresponding to different types of attribute record items of the target host evidence storage structure involved in the target evidence storage calculation structure into an off-chain database. The role of the off-chain database is to store detailed data that does not need to be frequently uploaded to the blockchain. Although this data is not directly stored in the distributed ledger of the blockchain, it can be quickly and accurately located and retrieved from the off-chain database through the Merkle value and record value ID provided by the on-chain structure.

[0062] Through the above steps, a pre-constructed target evidence storage calculation structure can be obtained. This structure contains multiple target host evidence storage structures, each storing N types of attribute record items and corresponding target record value sets. These target record value sets include operational time-series data obtained after collecting data from multiple airport data sources. The target host evidence storage structures that meet the evidence storage calculation requirements are traversed to obtain type attribute hash sets corresponding to different type attribute record items. The attribute hash sets corresponding to different type attribute record items, the target host address, and the record timestamp are then filled into an on-chain structure. The on-chain structure includes: a host address item, a record time range item, and an on-chain record value item. Each on-chain record value item includes a record value set corresponding to each type attribute record item, which includes a set of record value IDs used for reference calculation and Merkle values ​​corresponding to each type attribute. Merkle values ​​are recursively calculated based on type attribute hash values. The filled on-chain structure is then transmitted to the blockchain network, and the target record value sets corresponding to different type attribute record items in the target host evidence storage structures are stored in an off-chain database. In this embodiment, a host-based evidence storage structure based on multiple monitoring data sources can be established, reducing the resources and events required for verifying a large amount of invalid data in subsequent queries. This facilitates rapid evidence retrieval based on events. Furthermore, this embodiment employs blockchain technology to achieve evidence storage of key time-series data for airport low-voltage electrical operation and maintenance using distributed ledger technology, establishing a multi-party trusted sharing mechanism. This provides a foundation for trusted multi-party collaboration, enabling efficient and reliable data exchange and rapid subsequent evidence retrieval. It provides strong support for trusted collaboration between the airport and multiple service providers, thereby addressing the technical problems in related technologies where the lack of a trusted mechanism among multiple airport operation and maintenance entities, the lack of trusted evidence storage for operation and maintenance time-series data, and the resulting low efficiency in fault resolution are all issues.

[0063] In this embodiment, before implementing on-chain data notarization based on the target notarization computation structure, it is necessary to construct and populate the target notarization computation structure. Optionally, before obtaining the pre-constructed target notarization computation structure, the method further includes: constructing an initial target notarization computation structure, wherein the target notarization computation structure includes multiple target host notarization structures, each target host notarization structure includes N type attribute record items, each type attribute record item includes K specific target record value sets, and the record items corresponding to the target record value sets include: record value ID, record value type, record time, target host address, specific record value, record remarks, record value importance, and hash value corresponding to the specific record value, where K is a positive integer greater than 1; using the obtained original record value set The target evidence storage calculation structure is filled in; different target host evidence storage structures in the target evidence storage calculation structure are traversed to obtain the record pointer value set of the target host evidence storage structure; different type attribute record items in the target host evidence storage structure are traversed to obtain the current storage quantity set; it is determined whether the record pointer value corresponding to each type attribute in the current storage quantity set is greater than or equal to the maximum limit that the corresponding type attribute can accommodate in the record pointer value set; if the record pointer value corresponding to any type attribute is greater than or equal to the maximum limit that the corresponding type attribute can accommodate in the record pointer value set, it is confirmed that the target host evidence storage structure meets the evidence storage calculation requirements.

[0064] The target evidence storage and computation structure consists of multiple layers, comprehensively covering various data types and sources that may be involved in airport operations and maintenance. The target host evidence storage structure is located at the first layer, with each structure corresponding to a specific monitoring entity, such as a backend server, critical network equipment, frontend PC, or customized terminal. By isolating the storage space of different data sources, the target host evidence storage structure helps to clearly distinguish and identify data streams from different entities, facilitating subsequent classification, management, and analysis. The type attribute record items are located at the second layer within the target host evidence storage structure. N type attribute record items cover all relevant data types, such as monitoring data, log data, and link tracing data. These type attribute record items further refine data classification, ensuring that each type of monitoring data has a corresponding storage and processing mechanism, improving the efficiency of data management and retrieval. Furthermore, the specific target record value set is located within the type attribute record items. Each record item contains K specific target record value sets, where K is a positive integer greater than 1, representing multiple specific data instances under the same type.

[0065] It should be noted that, in this embodiment, the record value ID uniquely identifies each specific record value, facilitating rapid location and referencing within large amounts of data; the record value type describes the data category to which the record value belongs, such as monitoring data, log information, etc., aiding in data classification and subsequent processing; the record time marks the specific timestamp of the record value's generation, crucial for the processing and analysis of time-series data; the target host address indicates the specific physical or logical location where the record value was generated, helping to trace the data source and understand the system topology; the specific record value stores the actual data content; and the record remarks provide additional information or annotations, which can be used to record extra details in specific contexts, such as operator remarks or special event descriptions; the record value importance quantifies and evaluates the relative importance of the record value, influencing data storage strategies and query priorities; and the hash value corresponding to the specific record value is a fixed-length digest obtained by hashing the record value, used to verify data integrity and consistency.

[0066] In this embodiment, the original record values ​​are continuously obtained from different data sources. After their credibility is verified, they are filled into the appropriate positions in the target evidence storage calculation structure according to preset standards, ensuring the effective integration and classified storage of data.

[0067] In this embodiment, the record pointer value set defines a series of indicators to guide when to upload data of specific attribute types to the blockchain. By calculating and updating the record pointer value set, dynamic control of data upload is achieved, ensuring timely storage of critical data while avoiding unnecessary resource consumption. The current storage quantity set reflects the number of specific data instances under various attribute types in the target host's storage structure. By comparing it with the record pointer value set, the utilization rate of storage space can be dynamically determined, deciding whether to perform data upload calculations.

[0068] Optionally, the step of filling the target evidence storage calculation structure with the obtained set of original record values ​​includes: obtaining a target data source set and a corresponding public key set, wherein the target data source set includes multiple target data sources within the airport area, and each target data source holds a corresponding public key; obtaining original record values ​​based on the target data source set, and filling the target evidence storage calculation structure with the original record values, wherein the record items corresponding to the set of original record values ​​include at least: target record value ID, record value type, record time, target host address, specific record value, record remarks, and signature.

[0069] In this embodiment, the target data source set covers the origins of all critical equipment and services within the airport area. These data sources encompass a wide range of data types, including monitoring, logs, and tracing. Each data source is equipped with a public key to verify the authenticity of data originating from that source. Next, raw record values ​​are obtained from the target data source set and used to populate the target evidence storage calculation structure. The raw record value set includes detailed record items, such as a target record value ID to uniquely identify each record; a record value type indicating the type of data; a record time indicating the moment the data was generated; a target host address specifying the data source; specific record values ​​containing the actual monitoring data; record notes providing additional information or context; and a signature to ensure the integrity and tamper-proof nature of the data during transmission.

[0070] Optionally, the step of filling the target evidence storage calculation structure with the original record value set includes: for any target data source in the target data source set, decrypting the signature in the original record value set using the public key corresponding to the target data source to obtain the decryption hash value, and performing hash calculation on the specific record value, comparing and verifying the record value hash calculation result with the decryption hash value; if the hash value verification result passes, obtaining the importance matching attribute set and the corresponding importance weight set; initializing the target record value set, filling the target record value ID, target record value type, record time, target host address, specific record value, and record remarks from the original record value set into the initialized target record value set; filling the importance weight value into the target record value importance item in the initialized target record value set, and calculating the hash value corresponding to the specific record value based on the record value ID, record value type, record time, target host address, specific record value, record remarks, and record value importance, and filling it into the target record value set; filling each value in the target record value set into the structure of the target record value type corresponding to the target host address in the target evidence storage calculation structure.

[0071] This embodiment further ensures that the authenticity and integrity of the data are fully verified before it is populated into the target evidence storage calculation structure. For each target data source in the target data source set, this embodiment uses the public key corresponding to that data source to decrypt the signature contained in the original record value set and performs a hash calculation on the specific record value. By comparing the hash calculation result with the decrypted signature to obtain the hash value, the system can identify whether the data has been tampered with or forged. If the hash value verification result is successful, the importance matching attribute set and the corresponding importance weight set are further obtained. Subsequently, the target record value set is initialized, and the relevant information of the verified original record values, including the target record value ID, record value type, record time, target host address, specific record value, and record remarks, are populated into the set.

[0072] In addition, this embodiment also calculates the hash value corresponding to the specific record value and fills it into the target record value set to ensure that the integrity of the stored data can be verified efficiently. Finally, all the values ​​in the target record value set are filled into the target evidence storage calculation structure, specifically into the target record value type structure corresponding to each target host address.

[0073] Optionally, before traversing the different target host evidence storage structures in the target evidence storage calculation structure to obtain the record pointer value set of the target host evidence storage structure, the method further includes: obtaining the configured record pointer value set, wherein the record pointer value set includes the maximum limit value that each type attribute can accommodate and the user-configured default value; calculating the record pointer value according to the record interval time and the importance of the target record value, and filling the record pointer value set.

[0074] First, this embodiment obtains the set of maximum intervals between the last data clearing and the different types of attribute records in the target host's evidence storage structure. The maximum interval refers to the longest time gap between each type of attribute record since the most recent data clearing. By analyzing this time set, it is possible to identify which data types may require more frequent data updates or evidence storage, thereby adjusting the on-chain strategy. Next, this embodiment traverses all types of attribute records in the target host's evidence storage structure to obtain the importance of each record value, which reflects the importance of a specific data record to airport operations and maintenance. Based on this, this embodiment calculates the structure of all types of attributes in the target host's evidence storage structure, analyzing the storage status, processing requirements, and relationships with other types of data, thereby understanding the overall data distribution and structure.

[0075] Furthermore, this embodiment calculates specific record pointer values ​​based on user-configured default values ​​for different types of attribute record items, type attribute structures, maximum interval durations, and on-chain rate configuration parameters. The record pointer values ​​reflect the timing and frequency of data on-chain processing (i.e., determining how many specific record values ​​are needed to calculate a Merkle tree). By filling these values ​​into the record pointer value set, the data on-chain plan can be dynamically adjusted, ensuring that critical data is promptly stored and proven, while avoiding unnecessary storage overhead and optimizing blockchain resource utilization.

[0076] Optionally, the step of calculating the record pointer value based on the recording interval time and the importance of the target record value, and filling the record pointer value set, includes: obtaining the set of maximum interval times since the last data clearing for different type attribute record items in the target host evidence storage structure of the target evidence storage calculation structure, wherein the maximum interval time set includes the maximum interval duration for each type attribute record item; traversing different type attribute record items in the target host evidence storage structure of the target evidence storage calculation structure to obtain the corresponding record value importance, and summing all record value importances; calculating the different type attribute structures in the target host evidence storage structure of the target evidence storage calculation structure; and calculating the record pointer value based on the user configuration default value, type attribute structure, maximum interval duration, and corresponding on-chain rate configuration parameters corresponding to different type attribute record items, and filling it into the record pointer value set.

[0077] In this embodiment, the calculation of the record pointer value is a dynamic process that combines the time interval of the recorded data with the importance of the target record value to determine when to put the target record value under a specific type of attribute on the blockchain for notarization, thus avoiding data redundancy and storage waste caused by blind notarization. The record interval refers to the time length from the last data clearing or notarization to the current moment. This time parameter reflects the data accumulation rate and the timeliness of the data. By monitoring the record interval, the system can identify whether the data has accumulated to a certain extent and requires notarization.

[0078] It should be noted that, when calculating the record pointer value, this embodiment takes into account the timeliness, importance and storage resource limitations of the data, combined with the recording interval time and the importance of the target record value. The calculation result of the record pointer value directly determines the timing and frequency of data being uploaded to the blockchain.

[0079] Through these steps, this embodiment not only provides an effective management and evidence storage strategy for massive amounts of airport operation and maintenance time-series data, but also lays a solid foundation for trusted data exchange among multiple parties, greatly improving the efficiency of airport operation and maintenance and the intelligence of data processing. At the same time, the method of dynamically calculating record pointer values ​​ensures efficient utilization of storage space, reduces operation and maintenance costs, and enhances the system's adaptability and flexibility.

[0080] The following describes in detail another optional implementation method.

[0081] Figure 2 This is a flowchart of an optional blockchain-based on-chain evidence storage method for time-series data in airport operation and maintenance scenarios, according to an embodiment of the present invention. Figure 2 As shown, it includes the following steps:

[0082] Step S1: Establish the target evidence storage calculation structure T = {A1, A2, ..., A...} i ,...An};i=1,2,...,n;A i This represents the evidence storage structure of the i-th target host, such as backend servers, key network devices, frontend PCs, customized terminals, etc., all of which are target hosts. i ={F i1 ,F i2 ,...,F ij ,...A is};j=1,2,...,s;F ij This represents the target record value of the j-th type attribute, such as data types like monitoring, logs, and tracing. F ij ={R ij1 ,R ij2 ,...,R ijk ,...R ijt};k=1,2,...,t;R ijk Represented as the value of the k-th specific target record, R ijk ={MID,MTY,MTM,MAI,MBD,MRE,MIM,MHS}, where MID represents the target record value ID, MTY represents the target record value type, MTM represents the record time, MAI represents the target host address, MBD represents the specific record value, MRE represents the record remarks, MIM represents the importance of the target record value, and MHS represents the hash value of the target record value.

[0083] Step S2: Obtain the target data source set D = {S1, S2, ..., S...} i ,...S m} and the corresponding public key set P = {K1, K2, ..., K} i ,...K m};i=1,2,...,m;S i K represents the i-th available target data source. i This indicates that the public key held by the i-th target data source is used to verify its source data. Airports have a large number of low-voltage electrical systems and monitoring support systems, resulting in multiple different target data sources, such as different data sources for monitoring, logs, and tracing.

[0084] Step S3: Obtain the original record value based on D, and use it to fill T, as follows:

[0085] S301: Retrieve the original record value. The original record value O = {OID, OTY, OTM, OAI, OBD, ORE, OSG}. OID represents the unique ID of the record value, OTY represents the record value type, OTM represents the record time, OAI represents the target host address, OBD represents the specific record value, ORE represents the record remarks, and OSG represents the signature.

[0086] S302: OSG adopts S i The public key K corresponding to the target data source i Decrypt and perform hash calculation and comparison to verify whether the original record value O is trustworthy. If it is not trustworthy, do not perform subsequent operations; if it is trustworthy, continue.

[0087] S303: Obtain the importance matching attribute set C = {E1, E2, ..., E...} i ,...E q} and the corresponding importance weight set L={G1,G2,...,G i ,...G q};i=1,2,...,q;G i The value is between 0 and 1, with a larger value indicating higher importance. The process iterates through C to match OBD; if a match is found, the corresponding importance attribute E is matched. i Then obtain the corresponding specific importance weight G. i .

[0088] S304: Initialize the target record value R, fill R with the matching value from the original record value O, and then use the G obtained in S303. i The MIM is filled into R, and the MHS in R is calculated as MHS = hash(MID, MTY, MTM, MAI, MBD, MRE, MIM). The target record value R is filled into the structure of the MTY type corresponding to the host MAI in T.

[0089] Step S4: Obtain the set of user-configured record pointers P = {N1, N2, ..., N} i ,...N s};j=1,2,...,s;N i N represents the maximum value that the i-th type attribute can hold. i The specific value is the value configured by the user. If the user does not configure it, for example, the default value is set to 30.

[0090] Step S5: Calculate the record pointer value set P, based on factors such as record interval time and importance, as follows:

[0091] S501: Calculate the set of maximum intervals H = {Q1, Q2, ..., Q...} of the target record values ​​of different types of attributes in the specific host evidence storage structure of T, which is the set of the maximum intervals since the last data clearing. i ,...Q s};i=1,2,...,s;Q i This represents the maximum interval time in the target record value of the i-th specific attribute.

[0092] S502: Traverse the target record values ​​of different attribute types {R1,R2,...,R} in the specific host evidence storage structure of T. k ,...R t};k=1,2,...,t;Obtain the corresponding target record value importance {MIM1,MIM2,...,MIM k ,...MIM t}, summation calculation Calculate the different types of attribute structures in the specific host evidence storage structure in T, and obtain {X1,X2,...,X...} i ,...X s}

[0093] S503: Calculate the record pointer set P, specifically calculated as N. i =α×X i ×Y i -β×Q i , where Y i Configure default values ​​for users with different attribute types. α and β are user-adjustable parameters used to control the rate of chaining. Update the record pointer set P.

[0094] Step S6: Traverse the different host storage structures in T to obtain the record pointer value set P of the specific host structure. Traverse the target record values ​​of different types of attributes in the specific host structure to obtain the current storage quantity set {U1, U2, ..., U...}. i ,...U s};i=1,2,...,s;Traverse and judge U i ≥N i Whether it is true or false, if one of the conditions is met, the specific host is considered to have obtained the evidence calculation requirement; otherwise, it jumps to S3 to continue execution.

[0095] Step S7: Traverse the specific host evidence storage structures in T that meet the computational requirements in S6, and traverse the target record values ​​of different types of attributes in the specific host evidence storage structures to obtain the hash sets of different types of attributes {MHS1, MHS2, ..., MHS}. k ,...MHS t}, which is a leaf node, is recursively calculated to obtain the Merkel value Z. After traversing different types of attribute structures, the Merkel value set {Z1, Z2, ..., Z} is obtained. i ,...Z s}; Create and populate the chained structure J = {JAI, JTM, JTY}, where JAI represents the target host address, JTM is the record time range, and JTY represents the specific on-chain record value, JTY = {P1, P2, ..., P...} i ,...P s};i=1,2,...,s;Pi Let P be the record value corresponding to the i-th type attribute. i ={PIS,PZZ}, where PIS is the set of target record value IDs for reference calculation, and PZZ is the Merkle value of the specific attribute; put J on the chain, and store the record values ​​corresponding to different types of attributes of the specific host evidence structure in T into the off-chain database. After storage, clear the corresponding record values ​​and jump to step S3 to continue execution.

[0096] Through the above implementation methods, blockchain technology can be used to achieve on-chain evidence storage of key airport operation and maintenance time-series data, establishing an evidence storage structure based on the monitoring subject. This reduces the resources and events involved in subsequent queries that may involve a large number of invalid Merkle tree calculations and verifications, facilitating rapid evidence retrieval based on events. Furthermore, this invention proposes a dynamic Merkle tree calculation method, which, compared to fixed-quantity calculation methods, is more adaptable to the cumulative time characteristics of different data types. It also performs more aggregated calculations for potential fault events, thereby improving the efficiency of verification when querying related events.

[0097] The following is a detailed description with reference to another embodiment.

[0098] Example 2

[0099] The blockchain-based airport operation and maintenance time-series data on-chain evidence storage device provided in this embodiment includes multiple implementation units, each of which corresponds to a specific implementation step in Embodiment 1 above.

[0100] Figure 3 This is a schematic diagram of an optional blockchain-based on-chain evidence storage device for airport operation and maintenance time-series data according to an embodiment of the present invention, such as... Figure 3 As shown, the blockchain-based airport operation and maintenance time-series data on-chain evidence storage device may include: evidence storage calculation structure acquisition unit 31, evidence storage calculation structure traversal unit 32, on-chain structure filling unit 33, and data on-chain unit 34.

[0101] The evidence storage calculation structure acquisition unit 31 is used to acquire the pre-constructed target evidence storage calculation structure. The target evidence storage calculation structure includes multiple target host evidence storage structures. The target host evidence storage structure stores N types of attribute record items and corresponding target record value sets. The target record value sets include operation and maintenance time series data obtained after collecting data from multiple data sources of the airport. N is a positive integer.

[0102] The evidence storage calculation structure traversal unit 32 is used to traverse the target host evidence storage structure that meets the evidence storage calculation requirements in the target evidence storage calculation structure, and obtain the type attribute hash set corresponding to different type attribute record items.

[0103] The on-chain structure filling unit 33 is used to fill the on-chain structure with the attribute hash set, target host address and record timestamp corresponding to different type attribute record items. The structure items of the on-chain structure include: host address item, record time range item and on-chain record value item. The on-chain record value item includes the record value set corresponding to each type attribute record item. The record value set of the type attribute record item includes the record value ID set calculated by reference and the Merkle value corresponding to each type attribute. The Merkle value is obtained by recursively calculating based on the type attribute hash value.

[0104] The data on-chain unit 34 is used to transmit the filled on-chain structure to the blockchain network and store the target record value set corresponding to different type attribute record items of the target host evidence storage structure in the target evidence storage calculation structure into the off-chain database.

[0105] The aforementioned blockchain-based airport operation and maintenance time-series data on-chain evidence storage device can acquire a pre-built target evidence storage calculation structure through the evidence storage calculation structure acquisition unit 31. This target evidence storage calculation structure includes multiple target host evidence storage structures, each storing N types of attribute record items and corresponding target record value sets. The target record value sets include operation and maintenance time-series data obtained after collecting data from multiple airport data sources. The evidence storage calculation structure traversal unit 32 traverses the target host evidence storage structures that meet the evidence storage calculation requirements, obtaining the type attribute hash sets corresponding to different type attribute record items. The on-chain structure filling unit 33 then populates the different type attribute records... The attribute hash set corresponding to the record item, the target host address, and the record timestamp are used to fill the on-chain structure. The structure items of the on-chain structure include: host address item, record time range item, and on-chain record value item. The on-chain record value item includes the record value set corresponding to each type of attribute record item. The record value set of each type of attribute record item includes the record value ID set of reference calculation and the Merkle value corresponding to each type of attribute. The Merkle value is obtained by recursive calculation based on the type attribute hash value. The filled on-chain structure is transmitted to the blockchain network through the data on-chain unit 34, and the target record value set corresponding to different type attribute record items of the target host notarization structure in the target notarization calculation structure is stored in the off-chain database. In this embodiment, a host-based evidence storage structure based on multiple monitoring data sources can be established, reducing the resources and events required for verifying a large amount of invalid data in subsequent queries. This facilitates rapid evidence retrieval based on events. Furthermore, this embodiment employs blockchain technology to achieve evidence storage of key time-series data for airport low-voltage electrical operation and maintenance using distributed ledger technology, establishing a multi-party trusted sharing mechanism. This provides a foundation for trusted multi-party collaboration, enabling efficient and reliable data exchange and rapid subsequent evidence retrieval. It provides strong support for trusted collaboration between the airport and multiple service providers, thereby addressing the technical problems in related technologies where the lack of a trusted mechanism among multiple airport operation and maintenance entities, the lack of trusted evidence storage for operation and maintenance time-series data, and the resulting low efficiency in fault resolution are all issues.

[0106] Optionally, the on-chain structure filling unit includes: a recursive module, used to recursively calculate the attribute hash value corresponding to each type attribute record item as a leaf node to obtain the Merkle value set corresponding to different type attribute record items; constructing a Merkle tree based on the Merkle value set; and an on-chain structure filling module, used to fill the on-chain structure based on the Merkle tree, the target host address, and the record timestamp.

[0107] Optionally, the blockchain-based airport operation and maintenance time-series data on-chain evidence storage device further includes: an evidence storage calculation structure component unit, used to construct an initial target evidence storage calculation structure before obtaining a pre-constructed target evidence storage calculation structure, wherein the target evidence storage calculation structure includes multiple target host evidence storage structures, each target host evidence storage structure includes N type attribute record items, each type attribute record item includes K specific target record value sets, and the record items corresponding to the target record value sets include: record value ID, record value type, record time, target host address, specific record value, record remarks, record value importance, and the hash value corresponding to the specific record value, where K is a positive integer greater than 1; and an evidence storage calculation structure filling unit, using... The system uses the acquired set of original record values ​​to fill the target evidence storage calculation structure; the evidence storage structure traversal unit is used to traverse different target host evidence storage structures in the target evidence storage calculation structure to obtain the record pointer value set of the target host evidence storage structure, and traverse different type attribute record items in the target host evidence storage structure to obtain the current storage quantity set; the pointer set judgment unit is used to judge whether the record pointer value corresponding to each type attribute in the current storage quantity set is greater than or equal to the maximum limit that the corresponding type attribute can accommodate in the record pointer value set, and if the record pointer value corresponding to any type attribute is greater than or equal to the maximum limit that the corresponding type attribute can accommodate in the record pointer value set, the system confirms that the target host evidence storage structure meets the evidence storage calculation requirements.

[0108] Optionally, the evidence storage computation structure filling unit includes: a data source acquisition module, used to acquire a target data source set and a corresponding public key set, wherein the target data source set includes multiple target data sources within the airport area, and each target data source holds a corresponding public key; and an original record value filling module, used to acquire original record values ​​based on the target data source set and fill the target evidence storage computation structure with the original record values, wherein the record items corresponding to the original record value set include at least: target record value ID, record value type, record time, target host address, specific record value, record remarks, and signature.

[0109] Optionally, the original record value filling module includes: a decryption submodule, used to decrypt the signature in the original record value set using the public key corresponding to the target data source in the target data source set, to obtain the decryption hash value, and to perform hash calculation on the specific record value, and to compare and verify the record value hash calculation result with the decryption hash value; an importance weight acquisition submodule, used to obtain the importance matching attribute set and the corresponding importance weight set if the hash value verification result passes; and a record value set initialization submodule, used to initialize the target record value set, and to initialize the target record value ID and target record value type in the original record value set. The module populates the initial target record value set with the record time, target host address, specific record value, and record remarks. The importance weight filling submodule is used to fill the importance weight value into the target record value importance item in the initial target record value set, and calculate the hash value corresponding to the specific record value based on the record value ID, record value type, record time, target host address, specific record value, record remarks, and record value importance, and fill it into the target record value set. The record value set filling submodule is used to fill the values ​​in the target record value set into the structure of the target record value type corresponding to the target host address in the target evidence calculation structure.

[0110] Optionally, the blockchain-based airport operation and maintenance time-series data on-chain evidence storage device further includes: a record pointer value set acquisition unit, used to acquire a configured record pointer value set before traversing different target host evidence storage structures in the target evidence storage calculation structure to obtain the record pointer value set of the target host evidence storage structure, wherein the record pointer value set includes the maximum limit value that each type attribute can accommodate and the user-configured default value; and a record pointer value set filling unit, used to calculate the record pointer value according to the record interval time and the importance of the target record value, and fill the record pointer value set.

[0111] Optionally, the record pointer value set filling unit includes: a time interval acquisition module, used to acquire the maximum interval time set between the last data clearing and the different types of attribute record items in the target host evidence storage structure of the target evidence storage calculation structure, wherein the maximum interval time set includes the maximum interval duration in each type of attribute record item; a target record item traversal module, used to traverse the different types of attribute record items in the target host evidence storage structure of the target evidence storage calculation structure, obtain the corresponding record value importance, and sum the importance of all record values; a type attribute structure calculation module, used to calculate the different types of attribute structures in the target host evidence storage structure of the target evidence storage calculation structure; and a record pointer value set filling module, used to calculate the record pointer value based on the user configuration default value, type attribute structure, maximum interval duration, and corresponding on-chain rate configuration parameters corresponding to the different types of attribute record items, and fill it into the record pointer value set.

[0112] The aforementioned blockchain-based airport operation and maintenance time-series data on-chain evidence storage device may also include a processor and a memory. The aforementioned evidence storage calculation structure acquisition unit 31, evidence storage calculation structure traversal unit 32, on-chain structure filling unit 33, data on-chain unit 34, etc., are all stored in the memory as program units, and the processor executes the aforementioned program units stored in the memory to realize the corresponding functions.

[0113] The aforementioned processor contains a kernel, which retrieves the corresponding program units from memory. One or more kernels can be configured, and adjusting kernel parameters enables on-chain storage of time-series data in airport operations and maintenance scenarios based on blockchain technology.

[0114] The aforementioned memory may include non-permanent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0115] According to another aspect of the present invention, a computer-readable storage medium is also provided, the computer-readable storage medium including a stored computer program, wherein, when the computer program is running, it controls the device where the computer-readable storage medium is located to execute any of the above-described blockchain-based airport operation and maintenance time-series data on-chain notarization methods.

[0116] According to another aspect of the present invention, an electronic device is also provided, including one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors cause the one or more processors to implement the blockchain-based airport operation and maintenance time-series data on-chain evidence storage method of any one of the above embodiments.

[0117] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the blockchain-based airport operation and maintenance time-series data on-chain evidence storage method described in various embodiments of this application.

[0118] This application also provides a computer program product, including a non-volatile computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the blockchain-based airport operation and maintenance time-series data on-chain evidence storage method described in various embodiments of this application.

[0119] Figure 4 This is a hardware structure block diagram of an electronic device (or mobile device) that executes a blockchain-based airport operation and maintenance time-series data on-chain notation method according to an embodiment of the present invention. Figure 4 As shown, an electronic device may include one or more ( Figure 4The processor 402 (which may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc.) and the memory 404 for storing data may also be included. In addition, it may include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the I / O interface), a network interface, a keyboard, a power supply, and / or a camera. Those skilled in the art will understand that... Figure 4 The structure shown is for illustrative purposes only and does not limit the structure of the electronic device described above. For example, the electronic device may also include components that are more... Figure 4 The more or fewer components shown, or having the same Figure 4 The different configurations shown.

[0120] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0121] In the above embodiments of the present invention, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0122] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For instance, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling, direct coupling, or communication connection may be through some interfaces; the indirect coupling or communication connection between units or modules may be electrical or other forms.

[0123] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0124] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0125] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.

[0126] The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.

Claims

1. A blockchain-based method for on-chain storage of airport operation and maintenance time-series data, characterized in that, include: Obtain a pre-constructed target evidence storage calculation structure, wherein the target evidence storage calculation structure includes multiple target host evidence storage structures, and the target host evidence storage structure stores N types of attribute record items and corresponding target record value sets, wherein the target record value sets include operation and maintenance time series data obtained after data collection from multiple data sources of the airport, and N is a positive integer; Traverse the target host evidence storage structure that meets the evidence storage calculation requirements in the target evidence storage calculation structure to obtain the type attribute hash set corresponding to different type attribute record items; The on-chain structure is filled with the attribute hash set, target host address and record timestamp corresponding to different types of attribute record items. The structure items of the on-chain structure include: host address item, record time range item and on-chain record value item. The on-chain record value item includes the record value set corresponding to each type of attribute record item. The record value set of the type of attribute record item includes the record value ID set calculated by reference and the Merkle value corresponding to each type of attribute. The Merkle value is obtained by recursively calculating based on the type attribute hash value. The filled on-chain structure is transmitted to the blockchain network, and the target record value set corresponding to the different type attribute record items of the target host evidence storage structure in the target evidence storage calculation structure is stored in the off-chain database.

2. The airport operation and maintenance time-series data chain on-chain evidence storage method according to claim 1, characterized in that, The steps of filling the on-chain structure with the attribute hash set, target host address, and record timestamp corresponding to different types of attribute record items include: The attribute hash value corresponding to each type attribute record is used as a leaf node for recursive calculation to obtain the Merkel value set corresponding to different type attribute record items. Construct a Merkle tree based on the Merkle value set; The chain structure is populated based on the Merkle tree, the target host address, and the record timestamp.

3. The airport operation and maintenance time-series data chain on-chain evidence storage method according to claim 1, characterized in that, Before obtaining the pre-built target evidence storage computation structure, the following is also included: Construct the initial target evidence storage calculation structure, wherein the target evidence storage calculation structure includes multiple target host evidence storage structures, each target host evidence storage structure includes N type attribute record items, each type attribute record item includes K specific target record value sets, and the record items corresponding to the target record value sets include: record value ID, record value type, record time, target host address, specific record value, record remarks, record value importance, and hash value corresponding to the specific record value, where K is a positive integer greater than 1; The target evidence storage calculation structure is filled with the acquired set of original record values; By traversing the different target host evidence storage structures in the target evidence storage calculation structure, the record pointer value set of the target host evidence storage structure is obtained. By traversing the different type attribute record items in the target host evidence storage structure, the current storage quantity set is obtained. Determine whether the record pointer value corresponding to each type of attribute in the current storage set is greater than or equal to the maximum limit that the corresponding type of attribute in the record pointer value set can accommodate, and if the record pointer value corresponding to any type of attribute is greater than or equal to the maximum limit that the corresponding type of attribute in the record pointer value set can accommodate, confirm that the target host evidence storage structure meets the evidence storage calculation requirements.

4. The airport operation and maintenance time-series data chain on-chain evidence storage method according to claim 3, characterized in that, The step of filling the target evidence storage calculation structure with the acquired set of original record values ​​includes: Obtain the target data source set and the corresponding public key set, wherein the target data source set includes multiple target data sources within the airport area, and each target data source holds a corresponding public key; The original record values ​​are obtained from the target data source set and used to fill the target evidence storage calculation structure. The record items corresponding to the original record value set include at least: target record value ID, record value type, record time, target host address, specific record value, record remarks, and signature.

5. The airport operation and maintenance time-series data chain on-chain evidence storage method according to claim 4, characterized in that, The step of filling the target evidence storage calculation structure with the original set of record values ​​includes: For any target data source in the target data source set, the signature in the original record value set is decrypted using the public key corresponding to the target data source to obtain the decryption hash value, and a hash calculation is performed on the specific record value. The hash calculation result of the record value is compared and verified with the decryption hash value. If the hash value verification result passes, obtain the set of importance matching attributes and the corresponding set of importance weights; Initialize the target record value set by filling the target record value ID, target record value type, record time, target host address, specific record value, and record remarks from the original record value set into the initialized target record value set; The importance weight value is filled into the target record value importance item in the initialized target record value set, and the hash value corresponding to the specific record value is calculated based on the record value ID, record value type, record time, target host address, specific record value, record remarks and record value importance, and then filled into the target record value set. The values ​​in the target record value set are filled into the structure of the target record value type corresponding to the target host address in the target evidence storage calculation structure.

6. The airport operation and maintenance time-series data chain on-chain evidence storage method according to claim 3, characterized in that, Before traversing the different target host evidence storage structures in the target evidence storage calculation structure to obtain the record pointer value set of the target host evidence storage structure, the process further includes: Obtain the configured record pointer value set, wherein the record pointer value set includes the maximum limit value that each type attribute can hold and the user-configured default value; The record pointer value is calculated based on the recording interval and the importance of the target record value, and then the record pointer value set is filled.

7. The airport operation and maintenance time-series data chain on-chain evidence storage method according to claim 6, characterized in that, The steps of calculating record pointer values ​​based on the recording interval and the importance of the target record value, and populating the record pointer value set, include: Obtain the set of maximum interval times since the last data clearing in different types of attribute records in the target host evidence storage structure of the target evidence storage calculation structure, wherein the maximum interval time set includes the maximum interval duration in each type of attribute record; Traverse the different types of attribute records in the target host evidence storage structure of the target evidence storage calculation structure to obtain the corresponding record value importance, and sum the importance of all the record values; Calculate the different types of attribute structures in the target host evidence storage structure within the target evidence storage calculation structure; Based on the user configuration default values, type attribute structure, maximum interval duration, and corresponding on-chain rate configuration parameters corresponding to different type attribute record items, the record pointer value is calculated and filled into the record pointer value set.

8. A blockchain-based on-chain storage device for airport operation and maintenance time-series data, characterized in that, include: The evidence storage calculation structure acquisition unit is used to acquire a pre-constructed target evidence storage calculation structure, wherein the target evidence storage calculation structure includes multiple target host evidence storage structures, and the target host evidence storage structure stores N types of attribute record items and corresponding target record value sets. The target record value set includes operation and maintenance time series data obtained after collecting data from multiple data sources of the airport, where N is a positive integer. The evidence storage calculation structure traversal unit is used to traverse the target host evidence storage structure that meets the evidence storage calculation requirements in the target evidence storage calculation structure, and obtain the type attribute hash set corresponding to different type attribute record items; The on-chain structure filling unit is used to fill the on-chain structure with the attribute hash set, target host address and record timestamp corresponding to different types of attribute record items. The structure items of the on-chain structure include: host address item, record time range item and on-chain record value item. The on-chain record value item includes the record value set corresponding to each type of attribute record item. The record value set of the type of attribute record item includes the record value ID set calculated by reference and the Merkle value corresponding to each type of attribute. The Merkle value is obtained by recursively calculating based on the type attribute hash value. The data on-chain unit is used to transmit the filled on-chain structure to the blockchain network and store the target record value set corresponding to the different type attribute record items of the target host evidence storage structure in the target evidence storage calculation structure into the off-chain database.

9. An electronic device, characterized in that, It includes one or more processors and a memory, the memory being used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors cause the one or more processors to implement the blockchain-based airport operation and maintenance time-series data on-chain evidence storage method according to any one of claims 1 to 7.

10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the steps of the blockchain-based airport operation and maintenance time-series data on-chain evidence storage method as described in any one of claims 1 to 7.