Blockchain data storage system for customs smart seed cabinets
By introducing a blockchain data storage system into the customs smart seed cabinet, the real-time and integrity of data are solved, effective traceability of seed information is realized, and the management efficiency and data security of customs personnel are improved.
Patent Information
- Application Number
- CN202510157616.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-13
- Publication Date
- 2025-08-12
- Estimated Expiration
- 2045-02-13
AI Technical Summary
The existing customs smart seed cabinets cannot ensure the real-time and integrity of data, resulting in poor data storage effect and inability to effectively trace seed information, affecting the management efficiency of customs personnel.
The blockchain data storage system is adopted, including data collection, processing, on-chain storage and access control modules, to ensure the real-time and integrity of the data, and to store it on the blockchain node through encryption algorithms to realize data sharing and traceability.
It improves the real-time and integrity of data storage, realizes effective traceability of seed information, improves the ability of customs personnel to manage seed information, and ensures the security and consistency of data.
Smart Images

Figure CN120030606B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data storage technology, and specifically to a blockchain data storage system for a customs smart seed cabinet. Background Art
[0002] Customs conducts detailed inspections of imported goods to ensure that no prohibited or illegal items are brought into the country. Among them, the Customs Smart Seed Cabinet is a new type of customs automation equipment that can be used to conduct fast and accurate quarantine inspections of imported and exported plants and plant products.
[0003] However, the existing customs intelligent seed cabinets cannot ensure the real-time and integrity of data when in use, resulting in poor data storage and inability to effectively trace seed information, making it difficult for customs personnel to better manage seed information. Summary of the Invention
[0004] The purpose of the present invention is to provide a blockchain data storage system for customs smart seed cabinets, which can ensure the real-time and integrity of data, improve data storage effects, and effectively trace seed information, so that customs personnel can better manage seed information, solving the problems raised in the above-mentioned background technology.
[0005] To achieve the above object, the present invention provides the following technical solutions:
[0006] The blockchain data storage system of the Customs Smart Seed Cabinet includes:
[0007] The data collection module is used to collect information on the types, quantities and sources of seeds in the customs intelligent seed cabinets and determine the real-time data of seeds in the customs intelligent seed cabinets;
[0008] The data processing module is used to clean and transform the real-time data of seeds in the customs intelligent seed cabinets and determine the standardized real-time data of seeds in the customs intelligent seed cabinets;
[0009] The on-chain storage module is used to reach a consensus on the real-time data of seeds in the customs smart seed cabinet and store the real-time data of seeds in the customs smart seed cabinet securely on the blockchain node;
[0010] The access control module is used to monitor access security of data query access ports in real time, verify and control access rights to the blockchain, and share real-time seed data from the customs smart seed cabinet;
[0011] Perform access security monitoring on the data query access port in real time and perform the following operations:
[0012] Real-time data collection and query of operating parameters of access ports, wherein the operating parameters include request rate, request processing response time rate, error code ratio and attack blocking rate;
[0013] Obtaining an operation abnormality determination coefficient by using the data query access port operation parameters including the request rate, request processing response time rate, error code ratio and attack blocking rate;
[0014] The abnormal operation determination coefficient is obtained by the following formula:
[0015]
[0016] Where C represents the operation abnormality determination coefficient; n represents the number of unit times included in the operation time of the data query access port; R i represents the request rate corresponding to the i-th unit time; T pi represents the request processing response time rate corresponding to the i-th unit time; E i A represents the error code ratio corresponding to the i-th unit time; i represents the attack blocking rate corresponding to the i-th unit time;
[0017] comparing the operation abnormality determination coefficient with a preset determination coefficient threshold;
[0018] When the operation abnormality determination coefficient exceeds a preset determination coefficient threshold, the encryption strength of the data query access port is determined, and the security of the data query access port is determined based on the encryption strength.
[0019] Preferably, the data acquisition module includes:
[0020] A species collection unit is used to conduct online monitoring and real-time collection of seed species stored in the customs intelligent seed cabinet, and obtain seed species data of the customs intelligent seed cabinet;
[0021] The quantity collection unit is used to conduct online monitoring and real-time collection of the number of seeds stored in the customs intelligent seed cabinet, and obtain the seed quantity data of the customs intelligent seed cabinet;
[0022] The source collection unit is used to conduct online monitoring and real-time collection of the sources of seeds stored in the customs intelligent seed cabinet, and obtain the source data of seeds in the customs intelligent seed cabinet;
[0023] Among them, the real-time data of seeds in the customs intelligent seed cabinet is determined based on the seed type data, seed quantity data and seed source data of the customs intelligent seed cabinet.
[0024] Preferably, the data processing module includes:
[0025] The data cleaning unit is used to clean the real-time data of seeds in the customs intelligent seed cabinet. The specific process is as follows:
[0026] Check data consistency: Use data processing tools to check the real-time data of seeds in the customs smart seed cabinets to check whether there are any inconsistent data in the real-time data of seeds in the customs smart seed cabinets, and remove any inconsistent data in the real-time data of seeds in the customs smart seed cabinets;
[0027] Processing invalid values: Using data processing tools, the real-time data of seeds in the customs intelligent seed cabinets is checked to see whether there are invalid values in the real-time data of seeds in the customs intelligent seed cabinets, and invalid values in the real-time data of seeds in the customs intelligent seed cabinets are removed;
[0028] Processing missing values: Based on data processing tools, the real-time data of seeds in the customs intelligent seed cabinet is checked to see whether there are missing values in the real-time data of seeds in the customs intelligent seed cabinet, and the missing values in the real-time data of seeds in the customs intelligent seed cabinet are removed.
[0029] Preferably, the data processing module further includes:
[0030] A data conversion unit, used to convert the real-time data of seeds in the customs intelligent seed cabinet;
[0031] Including data unification and data integration;
[0032] Data unification: Based on ETL tools, the real-time seed data of the customs intelligent seed cabinets is converted to unify the data, eliminate the dimensional differences of the data, and determine the standardized data.
[0033] Data integration: Based on ETL tools, the standardized real-time data of seeds in customs intelligent seed cabinets are integrated into a unified view.
[0034] Preferably, the on-chain storage module includes:
[0035] The data consensus unit is used to reach consensus on the real-time seed data of the customs intelligent seed cabinet. The specific process is as follows;
[0036] Data definition: Define the real-time seed data of the customs intelligent seed cabinet, and define a unified data model and metadata, including data structure, data type, and data format;
[0037] Data mapping: Map the real-time data of seeds in the customs intelligent seed cabinets, determine the data mapping relationship between the real-time data of seeds in the customs intelligent seed cabinets, and make the data consistent;
[0038] Data rules: Develop data rules and constraints based on the real-time data of seeds in the customs smart seed cabinets, specify the legal scope of data, define data constraints, and automatically review the real-time data of seeds in the customs smart seed cabinets to determine whether it complies with regulations;
[0039] Data testing: Test the real-time seed data of the customs smart seed cabinet after consensus is reached, check the consistency and accuracy of the data, and make adjustments or storage based on the test results.
[0040] Preferably, the on-chain storage module further includes:
[0041] Data storage unit, used to store the real-time seed data of the customs smart seed cabinet in blockchain;
[0042] Based on the real-time data of seeds in the customs smart seed cabinet, the blockchain node is searched, the real-time data of seeds in the customs smart seed cabinet is encrypted using an encryption algorithm, and the encrypted real-time data of seeds in the customs smart seed cabinet is securely stored on the blockchain node.
[0043] Preferably, the access control module includes:
[0044] Data query unit, used to query the real-time data of seeds in the customs intelligent seed cabinet;
[0045] Through smart contracts or API interfaces, the customs department initiates data query requests to the blockchain network;
[0046] Access verification unit, used to verify access rights of customs authorities;
[0047] After the blockchain network receives the data query request sent by the customs department, it verifies the customs department's access rights. If the verification is qualified, the data query request will be routed to the corresponding blockchain node;
[0048] Data sharing unit, used to share the real-time data of seeds in the customs intelligent seed cabinet;
[0049] After receiving the data query request, the blockchain node obtains the encrypted customs smart seed cabinet seed real-time data from the blockchain according to the authority, decrypts and restores the encrypted customs smart seed cabinet seed real-time data, and returns the decrypted and restored customs smart seed cabinet seed real-time data to the customs department, so that the customs smart seed cabinet seed real-time data can be shared.
[0050] Preferably, the blockchain network verifies the access rights of the customs department by performing the following operations:
[0051] Obtain the data query access port of the customs department;
[0052] Based on the pre-set data query access ports of the blockchain network, a comparative analysis of the data query access ports of the customs department is conducted;
[0053] Among them, the data query access port of the customs department is compared one by one with multiple data query access ports pre-set by the blockchain network to determine whether the data query access port of the customs department is within the range of multiple data query access ports pre-set by the blockchain network, and to determine whether the customs department has the authority to access the blockchain data. After verifying the access rights of the customs department, the customs department can access the data only if the verification is qualified.
[0054] Preferably, determining whether the customs department has the authority to access blockchain data includes:
[0055] When the customs department's data query access port is within the range of multiple data query access ports pre-set by the blockchain network, the customs department has the authority to access the blockchain data;
[0056] When the customs department's data query access port is not within the range of multiple data query access ports pre-set by the blockchain network, the customs department does not have the authority to access the blockchain data.
[0057] Preferably, when the operation abnormality determination coefficient exceeds a preset determination coefficient threshold, the encryption strength of the data query access port is determined, and the security of the data query access port is determined by the encryption strength, and the following operations are performed:
[0058] When the operation abnormality determination coefficient exceeds a preset determination coefficient threshold, the encrypted transmission times of the data query access port are retrieved;
[0059] Extract the attack frequency and bandwidth utilization corresponding to each encrypted transmission number;
[0060] The encryption transmission security factor is obtained by using the attack frequency and bandwidth utilization corresponding to each encrypted transmission number in combination with the operation abnormality determination coefficient;
[0061] The encryption transmission security factor is obtained by the following formula:
[0062]
[0063] Among them, S represents the encryption transmission security factor; m represents the number of encryption transmissions; f i represents the attack frequency corresponding to the i-th encrypted transmission; P di represents the bandwidth utilization rate corresponding to the i-th encrypted transmission; C represents the operation abnormality determination coefficient; f b represents the standard deviation of the attack frequency corresponding to m encrypted transmissions; P bIndicates the standard deviation of bandwidth utilization corresponding to m encrypted transmissions;
[0064] Comparing the encryption transmission security factor with a preset encryption transmission security factor threshold;
[0065] When the encryption transmission security factor exceeds a preset encryption transmission security factor threshold, the security of the data query access port is determined to be abnormal, and a security abnormality alarm is issued.
[0066] Compared with the prior art, the present invention has the following beneficial effects:
[0067] 1. The present invention determines the real-time data of seeds in the customs smart seed cabinet by collecting information on the types, quantities and sources of seeds in the customs smart seed cabinet, determines the standardized real-time data of seeds in the customs smart seed cabinet by cleaning and converting the real-time data of seeds in the customs smart seed cabinet, ensures the consistency and accuracy of the data by reaching a consensus on the real-time data of seeds in the customs smart seed cabinet, and uses an encryption algorithm to encrypt the real-time data of seeds in the customs smart seed cabinet, and securely stores the encrypted real-time data of seeds in the customs smart seed cabinet on the blockchain node, which can ensure the real-time and integrity of the data, improve the data storage effect, and effectively trace the seed information, so that customs personnel can better manage the seed information.
[0068] 2. The present invention uses smart contracts or API interfaces. The customs department initiates a data query request to the blockchain network. The blockchain network verifies the access rights of the customs department. After the verification is qualified, the data query request will be routed to the corresponding blockchain node. After receiving the data query request, the blockchain node obtains the encrypted customs smart seed cabinet seed real-time data from the blockchain according to the authority, and decrypts and restores the encrypted customs smart seed cabinet seed real-time data, and returns the decrypted and restored customs smart seed cabinet seed real-time data to the customs department, so that the customs smart seed cabinet seed real-time data can be shared, thereby realizing data sharing on the blockchain. BRIEF DESCRIPTION OF THE DRAWINGS
[0069] Figure 1 This is a module structure diagram of the blockchain data storage system of the customs intelligent seed cabinet of the present invention;
[0070] Figure 2 This is a flowchart of the algorithm for controlling access rights to blockchain in the present invention;
[0071] Figure 3 This is a structural diagram of the customs intelligent seed cabinet of the present invention.
[0072] In the picture: 1. Cabinet; 2. Storage drawer; 3. Slide rail; 4. Seed storage robot. DETAILED DESCRIPTION
[0073] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.
[0074] In order to solve the problem that the existing customs intelligent seed cabinet cannot ensure the real-time and integrity of data when in use, resulting in poor data storage effect, inability to effectively trace seed information, and making it difficult for customs personnel to better manage seed information, please refer to Figure 1-Figure 3 , this embodiment provides the following technical solutions:
[0075] The blockchain data storage system of the customs smart seed cabinet includes: data acquisition module, data processing module, chain storage module and access control module.
[0076] It should be noted that through the interactive communication between the data acquisition module, data processing module, chain storage module and access control module, the real-time and integrity of the data can be ensured, the data storage effect can be improved, and the seed information can be effectively traced, so that customs personnel can better manage the seed information.
[0077] Specifically, the data collection module is used to collect information on the types, quantities and sources of seeds in the customs smart seed cabinet in real time to determine the real-time data of seeds in the customs smart seed cabinet; the data processing module is used to clean and transform the real-time data of seeds in the customs smart seed cabinet to determine the standardized real-time data of seeds in the customs smart seed cabinet; the on-chain storage module is used to reach a consensus on the real-time data of seeds in the customs smart seed cabinet, and the real-time data of seeds in the customs smart seed cabinet is securely stored on the blockchain node to ensure the security and consistency of the data; the access rights to the blockchain are controlled through the access control module, and the real-time data of seeds in the customs smart seed cabinet is shared, so that users can view and track data changes in real time.
[0078] Among them, by analyzing the data on the blockchain, the customs department can grasp the flow information of global seeds in real time, formulate more scientific and reasonable policies, improve law enforcement efficiency, and ensure the traceability of data through the openness and transparency of blockchain technology, so that every data can be traced back to its source, ensuring the authenticity and traceability of the data.
[0079] In this embodiment, as a preferred technical solution of the present invention, the data acquisition module includes a type acquisition unit, a quantity acquisition unit and a source acquisition unit.
[0080] Among them, the type collection unit is used to conduct online monitoring and real-time collection of seed types stored in the customs intelligent seed cabinet, and obtain the seed type data of the customs intelligent seed cabinet;
[0081] Among them, the quantity collection unit is used to conduct online monitoring and real-time collection of the number of seeds stored in the customs intelligent seed cabinet, and obtain the seed quantity data of the customs intelligent seed cabinet;
[0082] Among them, the source collection unit is used to conduct online monitoring and real-time collection of the source of seeds stored in the customs intelligent seed cabinet, and obtain the source data of seeds in the customs intelligent seed cabinet;
[0083] Specifically, based on the seed type data of the customs intelligent seed cabinet, the seed quantity data of the customs intelligent seed cabinet and the seed source data of the customs intelligent seed cabinet, the real-time data of the seeds in the customs intelligent seed cabinet is determined.
[0084] It should be noted that by collecting real-time seed data from customs smart seed cabinets, it is convenient for subsequent blockchain storage, allowing customs departments to have real-time information on the flow of global seeds.
[0085] Specifically, the customs intelligent seed cabinet includes a cabinet body 1, on which a storage drawer 2 for storing seeds is provided. The storage drawer 2 is movably connected to the cabinet body 1 through a slide rail 3. A seed storage robot 4 is provided on one side of the cabinet body 1. The seed storage robot 4 is used to store seeds in the storage drawer 2.
[0086] In this embodiment, as a preferred technical solution of the present invention, the data processing module includes: a data cleaning unit and a data conversion unit.
[0087] Among them, the data cleaning unit is used to clean the real-time data of seeds in the customs intelligent seed cabinet. The specific process is as follows:
[0088] Check data consistency: Use data processing tools to check the real-time data of seeds in the customs smart seed cabinets to check whether there are any inconsistent data in the real-time data of seeds in the customs smart seed cabinets, and remove any inconsistent data in the real-time data of seeds in the customs smart seed cabinets;
[0089] Processing invalid values: Using data processing tools, the real-time data of seeds in the customs intelligent seed cabinets is checked to see whether there are invalid values in the real-time data of seeds in the customs intelligent seed cabinets, and invalid values in the real-time data of seeds in the customs intelligent seed cabinets are removed;
[0090] Processing missing values: Using data processing tools, the real-time seed data of the customs intelligent seed cabinets is checked to see if there are any missing values in the real-time seed data of the customs intelligent seed cabinets, and any missing values in the real-time seed data of the customs intelligent seed cabinets are removed;
[0091] Among them, the data conversion unit is used to convert the real-time data of seeds in the customs intelligent seed cabinet;
[0092] Including data unification and data integration;
[0093] Data unification: Based on ETL tools, the real-time seed data of the customs intelligent seed cabinets is converted to unify the data, eliminate the dimensional differences of the data, and determine the standardized data.
[0094] Data integration: Based on ETL tools, the standardized real-time data of seeds in customs intelligent seed cabinets are integrated into a unified view.
[0095] In this embodiment, as a preferred technical solution of the present invention, the uplink storage module includes:
[0096] The data consensus unit is used to reach consensus on the real-time seed data of the customs intelligent seed cabinet. The specific process is as follows;
[0097] Data definition: Define the real-time seed data of the customs intelligent seed cabinet, and define a unified data model and metadata, including data structure, data type, and data format;
[0098] Data mapping: Map the real-time data of seeds in the customs intelligent seed cabinets, determine the data mapping relationship between the real-time data of seeds in the customs intelligent seed cabinets, and make the data consistent;
[0099] Data rules: Develop data rules and constraints based on the real-time data of seeds in the customs smart seed cabinets, specify the legal scope of data, define data constraints, and automatically review the real-time data of seeds in the customs smart seed cabinets to determine whether it complies with regulations;
[0100] Data testing: Test the real-time seed data of the customs smart seed cabinet after consensus is reached, check the consistency and accuracy of the data, and make adjustments or storage based on the test results.
[0101] In this embodiment, as a preferred technical solution of the present invention, the uplink storage module further includes:
[0102] Data storage unit, used to store the real-time seed data of the customs smart seed cabinet in blockchain;
[0103] Based on the real-time data of seeds in the customs smart seed cabinet, the blockchain node is searched, the real-time data of seeds in the customs smart seed cabinet is encrypted using an encryption algorithm, and the encrypted real-time data of seeds in the customs smart seed cabinet is securely stored on the blockchain node.
[0104] In this embodiment, as a preferred technical solution of the present invention, the access control module includes:
[0105] Data query unit, used to query the real-time data of seeds in the customs intelligent seed cabinet;
[0106] Through smart contracts or API interfaces, the customs department initiates data query requests to the blockchain network;
[0107] Access verification unit, used to verify access rights of customs authorities;
[0108] After the blockchain network receives the data query request sent by the customs department, it verifies the customs department's access rights. If the verification is qualified, the data query request will be routed to the corresponding blockchain node;
[0109] Data sharing unit, used to share the real-time data of seeds in the customs intelligent seed cabinet;
[0110] After receiving the data query request, the blockchain node obtains the encrypted customs smart seed cabinet seed real-time data from the blockchain according to the authority, decrypts and restores the encrypted customs smart seed cabinet seed real-time data, and returns the decrypted and restored customs smart seed cabinet seed real-time data to the customs department, so that the customs smart seed cabinet seed real-time data can be shared.
[0111] In this embodiment, as a preferred technical solution of the present invention, the blockchain network verifies the access rights of the customs department and performs the following operations:
[0112] Obtain the data query access port of the customs department;
[0113] Based on the pre-set data query access ports of the blockchain network, a comparative analysis of the data query access ports of the customs department is conducted;
[0114] Among them, the data query access port of the customs department is compared one by one with multiple data query access ports pre-set by the blockchain network to determine whether the data query access port of the customs department is within the range of multiple data query access ports pre-set by the blockchain network;
[0115] When the customs department's data query access port is within the range of multiple data query access ports pre-set by the blockchain network, the customs department has the authority to access the blockchain data;
[0116] If the customs department's data query access port is not within the range of multiple data query access ports pre-set by the blockchain network, the customs department will not have the authority to access the blockchain data;
[0117] After the customs department's access rights are verified, the customs department can access the data only if the verification is qualified.
[0118] Therefore, through smart contracts or API interfaces, the customs department initiates a data query request to the blockchain network. The blockchain network verifies the access rights of the customs department. After the verification is qualified, the data query request will be routed to the corresponding blockchain node. After receiving the data query request, the blockchain node obtains the encrypted customs smart seed cabinet seed real-time data from the blockchain according to the authority, and decrypts and restores the encrypted customs smart seed cabinet seed real-time data, and returns the decrypted and restored customs smart seed cabinet seed real-time data to the customs department, so that the customs smart seed cabinet seed real-time data can be shared, thereby realizing data sharing on the blockchain.
[0119] Specifically, the data query access port is monitored for access security in real time, and the following operations are performed:
[0120] Real-time data collection and query of operating parameters of access ports, wherein the operating parameters include request rate, request processing response time rate, error code ratio and attack blocking rate;
[0121] Obtaining an operation abnormality determination coefficient by using the data query access port operation parameters including the request rate, request processing response time rate, error code ratio and attack blocking rate;
[0122] The abnormal operation determination coefficient is obtained by the following formula:
[0123]
[0124] Where C represents the operation abnormality determination coefficient; n represents the number of unit times included in the operation time of the data query access port; R i represents the request rate corresponding to the i-th unit time; T pi represents the request processing response time rate corresponding to the i-th unit time; E i A represents the error code ratio corresponding to the i-th unit time; i represents the attack blocking rate corresponding to the i-th unit time;
[0125] comparing the operation abnormality determination coefficient with a preset determination coefficient threshold;
[0126] When the operation abnormality determination coefficient exceeds a preset determination coefficient threshold, the encryption strength of the data query access port is determined, and the security of the data query access port is determined based on the encryption strength.
[0127] The technical effect of the above technical solution is that by collecting real-time operating parameters of the data query access port (such as request rate, request processing response time, error code ratio, and attack blocking rate), the system can instantly perceive the port's operating status. This real-time monitoring mechanism helps quickly identify potential security threats or performance bottlenecks, allowing the system to take timely countermeasures and reduce potential losses. Using the collected operating parameters, a specific formula is used to calculate the operational anomaly determination coefficient (C), which comprehensively reflects the overall operational status of the data query access port. This method is more comprehensive and accurate than monitoring a single parameter, and can more precisely identify abnormal port behavior. By presetting the determination coefficient threshold, the system can flexibly adjust the sensitivity of security monitoring based on actual needs. This helps balance system security and performance, avoiding false positives or negatives caused by oversensitivity. When the operational anomaly determination coefficient exceeds the preset threshold, the system determines the encryption strength of the data query access port. This mechanism helps promptly detect and correct insufficient encryption strength, thereby improving the security of the data query access port. Through real-time monitoring and anomaly determination, the system can promptly identify and optimize performance bottlenecks, thereby improving the operational efficiency of the data query access port. At the same time, this mechanism also helps to reasonably allocate system resources and avoid resource waste and excessive consumption.
[0128] In summary, the technical benefits of this solution in terms of performance indicators are primarily reflected in real-time monitoring and response, accurate operational anomaly detection, flexible threshold setting, encryption strength determination and security enhancement, and performance optimization and resource utilization. These benefits collectively enhance the security and operational efficiency of data query access ports.
[0129] Specifically, when the operation abnormality determination coefficient exceeds a preset determination coefficient threshold, the encryption strength of the data query access port is determined, and the security of the data query access port is determined based on the encryption strength, and the following operations are performed:
[0130] When the operation abnormality determination coefficient exceeds a preset determination coefficient threshold, the encrypted transmission times of the data query access port are retrieved;
[0131] Extract the attack frequency and bandwidth utilization corresponding to each encrypted transmission number;
[0132] The encryption transmission security factor is obtained by using the attack frequency and bandwidth utilization corresponding to each encrypted transmission number in combination with the operation abnormality determination coefficient;
[0133] The encryption transmission security factor is obtained by the following formula:
[0134]
[0135] Among them, S represents the encryption transmission security factor; m represents the number of encryption transmissions; f i represents the attack frequency corresponding to the i-th encrypted transmission; P di represents the bandwidth utilization rate corresponding to the i-th encrypted transmission; C represents the operation abnormality determination coefficient; f b represents the standard deviation of the attack frequency corresponding to m encrypted transmissions; P b Indicates the standard deviation of bandwidth utilization corresponding to m encrypted transmissions;
[0136] Comparing the encryption transmission security factor with a preset encryption transmission security factor threshold;
[0137] When the encryption transmission security factor exceeds a preset encryption transmission security factor threshold, the security of the data query access port is determined to be abnormal, and a security abnormality alarm is issued.
[0138] The technical effect of the above technical solution is that by incorporating parameters such as the number of encrypted transmissions, attack frequency, and bandwidth utilization, combined with an operational anomaly determination coefficient, the solution can more accurately assess the security of the data query access port during encrypted transmission. The calculation of the encrypted transmission security coefficient takes into account information from multiple dimensions, making security determinations more comprehensive and accurate. The solution monitors the operational status of the data query access port in real time and immediately determines the encryption strength when an anomaly is detected. This dynamic monitoring mechanism helps promptly identify potential security threats and respond quickly, thereby reducing security risks. By presetting the encrypted transmission security coefficient threshold, the system can flexibly adjust the sensitivity of security monitoring based on actual needs. This helps balance system security and performance, avoids false positives or false negatives caused by oversensitivity, and ensures timely issuance of security anomaly alerts when necessary. When the encrypted transmission security coefficient exceeds the preset threshold, the system determines that the data query access port has a security anomaly and issues a security anomaly alert. This mechanism helps promptly identify and remediate security vulnerabilities, enhances the system's security capabilities, and protects data security and integrity. Through real-time monitoring and accurate security determination, the solution optimizes system resource utilization and avoids unnecessary resource waste. At the same time, this mechanism also helps to improve the operating efficiency of the system and ensure the stability and reliability of the data query access port.
[0139] In summary, the technical benefits of this solution in terms of performance indicators are primarily reflected in accurate security assessments, dynamic monitoring and response, flexible security threshold settings, enhanced security protection capabilities, and optimized resource utilization. These benefits collectively improve the security, stability, and operational efficiency of data query access ports.
[0140] It should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that includes a list of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus.
[0141] While embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions, and variations may be made to these embodiments without departing from the principles and spirit of the invention, and that the scope of the invention is defined by the appended claims and their equivalents.
Claims
1. The blockchain data storage system of the customs intelligent seed cabinet is characterized by: include: The data collection module is used to collect information on the types, quantities and sources of seeds in the customs intelligent seed cabinets and determine the real-time data of seeds in the customs intelligent seed cabinets; The data processing module is used to clean and transform the real-time data of seeds in the customs intelligent seed cabinets and determine the standardized real-time data of seeds in the customs intelligent seed cabinets; The on-chain storage module is used to reach a consensus on the real-time data of seeds in the customs smart seed cabinet and store the real-time data of seeds in the customs smart seed cabinet securely on the blockchain node; The access control module is used to monitor access security of data query access ports in real time, verify and control access rights to the blockchain, and share real-time seed data from the customs smart seed cabinet; Perform access security monitoring on the data query access port in real time and perform the following operations: Real-time data collection and query of operating parameters of access ports, wherein the operating parameters include request rate, request processing response time rate, error code ratio and attack blocking rate; Obtaining an operation abnormality determination coefficient by using the data query access port operation parameters including the request rate, request processing response time rate, error code ratio and attack blocking rate; The operation abnormality determination coefficient is obtained by the following formula: Where C represents the operation abnormality determination coefficient; n represents the number of unit times included in the operation time of the data query access port; R i represents the request rate corresponding to the i-th unit time; T pi represents the request processing response time rate corresponding to the i-th unit time; E i A represents the error code ratio corresponding to the i-th unit time; i represents the attack blocking rate corresponding to the i-th unit time; comparing the operation abnormality determination coefficient with a preset determination coefficient threshold; When the operation abnormality determination coefficient exceeds the preset determination coefficient threshold, the encryption strength of the data query access port is determined, and the security of the data query access port is determined by the encryption strength, and the following operations are performed: When the operation abnormality determination coefficient exceeds a preset determination coefficient threshold, the encrypted transmission times of the data query access port are retrieved; Extract the attack frequency and bandwidth utilization corresponding to each encrypted transmission number; The encryption transmission security factor is obtained by using the attack frequency and bandwidth utilization corresponding to each encrypted transmission number in combination with the operation abnormality determination coefficient; The encryption transmission security factor is obtained by the following formula: Among them, S represents the encryption transmission security factor; m represents the number of encryption transmissions; f i represents the attack frequency corresponding to the i-th encrypted transmission; P di represents the bandwidth utilization rate corresponding to the i-th encrypted transmission; C represents the operation abnormality determination coefficient; f b represents the standard deviation of the attack frequency corresponding to m encrypted transmissions; P b Indicates the standard deviation of bandwidth utilization corresponding to m encrypted transmissions; Comparing the encryption transmission security factor with a preset encryption transmission security factor threshold; When the encryption transmission security factor exceeds a preset encryption transmission security factor threshold, the security of the data query access port is determined to be abnormal, and a security abnormality alarm is issued.
2. The blockchain data storage system of the customs intelligent seed cabinet according to claim 1, characterized in that: The data acquisition module includes: A species collection unit is used to conduct online monitoring and real-time collection of seed species stored in the customs intelligent seed cabinet, and obtain seed species data of the customs intelligent seed cabinet; The quantity collection unit is used to conduct online monitoring and real-time collection of the number of seeds stored in the customs intelligent seed cabinet, and obtain the seed quantity data of the customs intelligent seed cabinet; The source collection unit is used to conduct online monitoring and real-time collection of the sources of seeds stored in the customs intelligent seed cabinet, and obtain the source data of seeds in the customs intelligent seed cabinet; Among them, based on the seed type data of the customs intelligent seed cabinet, the seed quantity data of the customs intelligent seed cabinet and the seed source data of the customs intelligent seed cabinet, the real-time seed data of the customs intelligent seed cabinet is determined; The data processing module includes: The data cleaning unit is used to clean the real-time data of seeds in the customs intelligent seed cabinet. The specific process is as follows: Using data processing tools, the real-time seed data of the customs intelligent seed cabinet is checked to see if there is any inconsistent data in the real-time seed data of the customs intelligent seed cabinet, and any inconsistent data in the real-time seed data of the customs intelligent seed cabinet is removed; Using data processing tools, the real-time seed data of the customs intelligent seed cabinet is checked to see whether there are invalid values in the real-time seed data of the customs intelligent seed cabinet, and invalid values in the real-time seed data of the customs intelligent seed cabinet are removed; Based on data processing tools, the real-time data of seeds in the customs intelligent seed cabinet is checked to verify whether there are missing values in the real-time data of seeds in the customs intelligent seed cabinet, and the missing values in the real-time data of seeds in the customs intelligent seed cabinet are removed.
3. The blockchain data storage system of the customs intelligent seed cabinet according to claim 2 is characterized in that: The data processing module further includes: A data conversion unit, used to convert the real-time data of seeds in the customs intelligent seed cabinet; Including data unification and data integration; Data unification: Based on ETL tools, the real-time seed data of the customs intelligent seed cabinets is converted to unify the data, eliminate the dimensional differences of the data, and determine the standardized data. Data integration: Based on ETL tools, the standardized real-time data of seeds in customs intelligent seed cabinets are integrated into a unified view.
4. The blockchain data storage system for the customs intelligent seed cabinet according to claim 3 is characterized in that: The uplink storage module includes: The data consensus unit is used to reach consensus on the real-time seed data of the customs intelligent seed cabinet. The specific process is as follows; Define the real-time data of seeds in the customs intelligent seed cabinet, and define a unified data model and metadata, including data structure, data type, and data format; Map the real-time data of seeds in the customs intelligent seed cabinets, determine the data mapping relationship between the real-time data of seeds in the customs intelligent seed cabinets, and make the data consistent; Formulate data rules and constraints based on the real-time data of seeds in the customs smart seed cabinet, specify the legal scope of data, define data constraints, and automatically review the real-time data of seeds in the customs smart seed cabinet to determine whether it complies with regulations; The real-time seed data of the customs smart seed cabinet after consensus is tested to check the consistency and accuracy of the data, and adjust or store it according to the test results.
5. The blockchain data storage system of the customs intelligent seed cabinet according to claim 4 is characterized in that: The uplink storage module further includes: Data storage unit, used to store the real-time seed data of the customs smart seed cabinet in blockchain; Based on the real-time data of seeds in the customs smart seed cabinet, the blockchain node is searched, the real-time data of seeds in the customs smart seed cabinet is encrypted using an encryption algorithm, and the encrypted real-time data of seeds in the customs smart seed cabinet is securely stored on the blockchain node.
6. The blockchain data storage system of the customs intelligent seed cabinet according to claim 5, characterized in that: The access control module includes: Data query unit, used to query the real-time data of seeds in the customs intelligent seed cabinet; Through smart contracts or API interfaces, the customs department initiates data query requests to the blockchain network; Access verification unit, used to verify access rights of customs authorities; After the blockchain network receives the data query request sent by the customs department, it verifies the customs department's access rights. If the verification is qualified, the data query request will be routed to the corresponding blockchain node; Data sharing unit, used to share the real-time data of seeds in the customs intelligent seed cabinet; After receiving the data query request, the blockchain node obtains the encrypted customs smart seed cabinet seed real-time data from the blockchain according to the authority, decrypts and restores the encrypted customs smart seed cabinet seed real-time data, and returns the decrypted and restored customs smart seed cabinet seed real-time data to the customs department, so that the customs smart seed cabinet seed real-time data can be shared.
7. The blockchain data storage system for the customs intelligent seed cabinet according to claim 6, characterized in that: The blockchain network verifies access rights to the customs department and performs the following actions: Obtain the data query access port of the customs department; Based on the pre-set data query access ports of the blockchain network, a comparative analysis of the data query access ports of the customs department is conducted; Among them, the data query access port of the customs department is compared one by one with multiple data query access ports pre-set by the blockchain network to determine whether the data query access port of the customs department is within the range of multiple data query access ports pre-set by the blockchain network, and to determine whether the customs department has the authority to access the blockchain data. After verifying the access rights of the customs department, the customs department can access the data only if the verification is qualified.
8. The blockchain data storage system for the customs intelligent seed cabinet according to claim 7, characterized in that: Determine whether customs authorities have access to blockchain data, including: When the customs department's data query access port is within the range of multiple data query access ports pre-set by the blockchain network, the customs department has the authority to access the blockchain data; When the customs department's data query access port is not within the range of multiple data query access ports pre-set by the blockchain network, the customs department does not have the authority to access the blockchain data.
Citation Information
Patent Citations
Computer information security intelligent monitoring method and system
CN118018277A
Intelligent file cabinet management method based on RFID technology
CN119089925A