A server intelligent management platform based on blockchain technology

By integrating blockchain network management module, data verification module, smart contract management module, data synchronization module and encryption and privacy protection module in the server intelligent management platform, the problems of inefficient processing efficiency, insufficient dynamic load adjustment support and incomplete privacy protection in the existing technology are solved, and the automation and intelligence of server operations are realized, which significantly improves the server response speed and processing capabilities.

CN118445067BActive Publication Date: 2025-05-02SHANGHAI KUANFAN TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410519877.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-28
Publication Date
2025-05-02
Estimated Expiration
2044-04-28

AI Technical Summary

Technical Problem

The existing blockchain-based server management solutions fail to fully utilize the decentralization advantages of blockchain, resulting in inefficient processing efficiency, insufficient support for dynamic server load adjustment, and incomplete privacy protection mechanisms, and the ineffective solution to the dynamic update and data integrity verification of smart contracts.

Method used

A server intelligent management platform based on blockchain technology was designed, including blockchain network management module, data verification module, smart contract management module, data synchronization module and encryption and privacy protection module. These modules are used to realize load balancing, data integrity verification, smart contract management, data synchronization and privacy protection.

Benefits of technology

Through smart contracts, automatic server load adjustments are performed, resource utilization efficiency is optimized, server operation is automated and intelligent, server response speed and processing capabilities are improved, dynamic load balancing reduces overload risk, ensures system stability and reliability, and improves the performance and user experience of the entire server network.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118445067B_ABST
    Figure CN118445067B_ABST
Patent Text Reader

Abstract

The invention discloses a server intelligent management platform based on blockchain technology, which relates to the field of blockchain technology, including a blockchain network management module, which builds a blockchain network on a server to deploy smart contracts, and dynamically controls the server through a load balancing system; a data verification module, which sets a server data verification mechanism to verify the integrity and consistency of data stored on the server; a smart contract management module, which sets an access control framework based on blockchain to test the access rights of smart contracts to automatically manage server resources; a data synchronization module, which sets a data synchronization mechanism to verify data replication tasks through smart contracts; an encryption and privacy protection module, which integrates smart contracts through privacy protection protocols to encrypt database data privacy. The adjustment and allocation of server loads are automatically executed through smart contracts, which optimizes the utilization efficiency of resources and realizes the automation and intelligence of server operations.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of blockchain technology, and in particular to a server intelligent management platform based on blockchain technology. Background Art

[0002] Since its introduction, blockchain technology has been widely used in many fields due to its unique decentralized characteristics, data immutability and transparency. In the early days, it was mainly used in cryptocurrency systems, and then its application expanded to supply chain management, smart contracts, data security and other fields. Especially in server management, blockchain technology provides a new way of thinking, which can enhance the security and transparency of data processing through distributed ledger technology.

[0003] Existing blockchain-based server management solutions generally fail to fully utilize the decentralized advantages of blockchain and need to balance the load of multiple servers, resulting in low processing efficiency, insufficient support for dynamic server load adjustment, and imperfect privacy protection mechanisms. In addition, many existing systems cannot effectively solve the problems of dynamic updates and data integrity verification of smart contracts, which limits the application scope of these systems in dynamic and changing network environments. Summary of the invention

[0004] In view of the above-mentioned problems existing in the existing server intelligent management platform based on blockchain technology, the present invention is proposed.

[0005] Therefore, the problem to be solved by the present invention is that the existing blockchain-based server management solutions usually fail to fully utilize the decentralized advantages of blockchain, and should balance the load of multiple servers, resulting in low processing efficiency, insufficient support for dynamic server load adjustment, and imperfect privacy protection mechanism. In addition, many existing systems cannot effectively solve the problems of dynamic update and data integrity verification of smart contracts.

[0006] In order to solve the above technical problems, the present invention provides the following technical solutions: a server intelligent management platform based on blockchain technology, which includes a blockchain network management module, which builds a blockchain network on the server to deploy smart contracts, and dynamically controls the server through a load balancing system;

[0007] Data verification module, sets up the server data verification mechanism to verify the integrity and consistency of the data stored on the server;

[0008] Smart contract management module, which sets up access control framework based on blockchain and tests the ability of smart contracts to automatically manage access rights to server resources;

[0009] Data synchronization module, setting up data synchronization mechanism and verifying data replication tasks through smart contracts;

[0010] The encryption and privacy protection module integrates smart contracts through privacy protection protocols to encrypt database data privacy.

[0011] As a preferred solution of the server intelligent management platform based on blockchain technology described in the present invention, wherein: the deployment of smart contracts on the server through the blockchain network includes:

[0012] Configure the network based on the Hyperledger Fabric environment and configure each server node;

[0013] Designing the functional modules of smart contracts includes data collection module, load assessment module and data verification module;

[0014] Set a timer to periodically collect resource usage data from nodes connected to the blockchain network and store it in the blockchain.

[0015] As a preferred solution of the server intelligent management platform based on blockchain technology described in the present invention, the dynamic control of the server through the load balancing system includes:

[0016] The load ratio is calculated by the load evaluation module and is expressed as:

[0017]

[0018] Among them B i (t) represents the total load ratio of server i at time t, C i Indicates the total capacity of the server.

[0019] L i '(t) represents the total load of server i at time t;

[0020] Set the system load ratio function, expressed as:

[0021]

[0022] Where f(B) represents the weighted average of the system's maximum load ratio, S ij (t) represents the load transfer from server j to server i at time t, α is the time decay constant, β and γ are adjustment parameters, and T represents the total time period;

[0023] Initialize S ij (t), is set to the initial value zero;

[0024] Initialize S using ij (t) Calculate the total load L of each server i '(t), expressed as:

[0025]

[0026] Where L i (t) represents the basic load of server i at time t, B j (t) represents the load ratio of server j at time t;

[0027] Calculate the load ratio B of each server i (t), and calculate the initial f(B), expressed as;

[0028]

[0029] Using the gradient descent optimization algorithm, calculate f(B) with respect to S ij (t) and update S ij (t), expressed as;

[0030]

[0031] Where η is the learning rate;

[0032] Iterate the calculation and use the updated S ij (t) Recalculate the total server load L i '(t) and load ratio B i (t), and recalculate f(B). After f(B) reaches the minimum server load ratio, stop the iteration and use the optimized S ij (t) Apply to the server in real time to adjust server transfer and dynamically balance server load.

[0033] As a preferred solution of the server intelligent management platform based on blockchain technology described in the present invention, wherein: the server data verification mechanism is set to verify the integrity and consistency of the data stored on the server, including:

[0034] Before storing the data, the structure is defined, and a hash value and a timestamp are added, expressed as:

[0035] D a _H a =H a (D a )+T s )

[0036] Where D a Indicates the actual stored data, T s Indicates the specific timestamp of being written, D a _H a Indicates the hash value, and stores the data in the server. a Indicates the use of hash function calculation;

[0037] After the data is stored, the hash value of the stored data is recalculated, and the smart contract is triggered regularly through the timer to verify the consistency and integrity of the stored data through the smart contract, which is expressed as:

[0038] I V =v e (D a +D a _H a , T s )

[0039] Among them I V Represents a Boolean value, v e Represents the verify function. If the calculated hash value is consistent with the stored hash value, it returns true, indicating that the verification is successful. If the calculated hash value is inconsistent with the stored hash value, it returns false, indicating that the verification failed.

[0040] As a preferred solution of the server intelligent management platform based on blockchain technology of the present invention, wherein: the access control framework set based on blockchain includes:

[0041] Set up role-based access control ABAC rules as the access control model;

[0042] Define access rules to grant permissions based on user attributes and requested resource attributes, expressed as:

[0043] A C _P e =eval(A t _U s ,A t _R e ,P O )

[0044] Among them A t _U s Represents the attribute set of the user, A t _R e Represents a set of resource attributes, P O Indicates predefined policy rules, A C _P e It is a Boolean value. eval represents an evaluation function. It receives user attributes and resource attributes as input, evaluates these attributes according to policy rules, and determines whether the access conditions are met. If true is returned, it means that permission is granted. If false is returned, it means that authorization fails.

[0045] As a preferred solution of the server intelligent management platform based on blockchain technology described in the present invention, wherein: the test smart contract automatically manages the access rights of server resources including:

[0046] Use the Ethereum test network to perform testing and configure testing tools;

[0047] Use Solidity's test framework to write test cases, use test tools to execute all written test cases, monitor test results, and confirm that all tests meet expectations;

[0048] For test cases that failed, check the logical errors and security vulnerabilities in the contract code, modify the contract code, and re-test the modified smart contract in its entirety;

[0049] Use a timer to regularly audit access logs to verify the implementation of access control policies.

[0050] As a preferred solution of the server intelligent management platform based on blockchain technology described in the present invention, wherein: the setting of the data synchronization mechanism and the verification of the data replication task through the smart contract include:

[0051] Through smart contracts, data updates are detected and collected, and D o represents the original data, D n Represents the updated data, calculated by hash function D o and D n The hash values ​​are compared and data synchronization is triggered when the results are different.

[0052] Through the blockchain network, D n And the calculated hash value H(D n )Synchronize to all blockchain nodes;

[0053] Each node receives new data D n and hash value H(D n ) and store them in a local database.

[0054] As a preferred solution of the server intelligent management platform based on blockchain technology described in the present invention, wherein: the integration of smart contracts through privacy protection protocols to encrypt database data privacy includes:

[0055] Use AES encryption technology to encrypt the entire database and the data transmission channel;

[0056] Use homomorphic encryption technology to encrypt encrypted data and integrate local homomorphic encryption logic into smart contracts;

[0057] Implement a zero-knowledge proof framework as a privacy-preserving protocol and integrate it into smart contracts.

[0058] A computer device comprises: a memory and a processor; the memory stores a computer program, and the processor implements the steps of a server intelligent management platform based on blockchain technology when executing the computer program.

[0059] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of a server intelligent management platform based on blockchain technology.

[0060] The beneficial effects of the present invention are as follows: the adjustment and allocation of server loads are automatically executed through smart contracts, the utilization efficiency of resources is optimized, the automation and intelligence of server operations are realized, the server response speed and processing capacity are significantly improved, and dynamic load balancing reduces the risk of overload, ensuring the stability and reliability of system operation, thereby improving the performance of the entire server network and user experience. Algorithms are used to confirm that data has not been tampered with during storage or transmission, ensuring the accuracy and security of the data. The characteristics of smart contracts are used to automatically manage and execute access control policies without the need for centralized management operations. BRIEF DESCRIPTION OF THE DRAWINGS

[0061] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

[0062] Figure 1 This is a flow chart of the server intelligent management platform based on blockchain technology.

[0063] Figure 2 This is a structural diagram of the server intelligent management platform based on blockchain technology. DETAILED DESCRIPTION

[0064] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific embodiments of the present invention are described in detail below in conjunction with the accompanying drawings.

[0065] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.

[0066] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor is it a separate or selective embodiment that is mutually exclusive with other embodiments.

[0067] Example 1

[0068] Reference Figure 1 and Figure 2 , which is the first embodiment of the present invention, and which provides a server intelligent management platform based on blockchain technology. The server intelligent management platform based on blockchain technology includes:

[0069] S1, blockchain network management module, builds blockchain network on the server to deploy smart contracts, dynamically controls the server through the load balancing system, dynamically allocates resources to optimize performance and response speed, and is also responsible for handling the management of nodes joining or leaving the network to ensure the stability and security of the network;

[0070] Preferably, building a blockchain network on a server to deploy a smart contract includes:

[0071] Configure the network based on the Hyperledger Fabric environment and configure each server node;

[0072] Designing the functional modules of smart contracts includes data collection module, load assessment module and data verification module;

[0073] Set a timer to periodically collect resource usage data from nodes connected to the blockchain network and store it in the blockchain.

[0074] By utilizing the immutability of blockchain technology, the security and integrity of collected data during storage and transmission can be guaranteed. Key performance indicators can be captured in real time to ensure data accuracy and real-time updates, which serves as the basis for effective load management. Through continuous monitoring, performance degradation or other abnormalities can be discovered in a timely manner, so that preventive measures can be taken before the problem becomes a bigger obstacle. The setting of smart contracts can allow flexible adjustment of logic and functions according to business needs, support system expansion and upgrade, monitor smart contracts and system performance, ensure that the system responds quickly, and handle performance bottlenecks in a timely manner.

[0075] Further, dynamically controlling the server through the load balancing system includes,

[0076] The load ratio is calculated by the load evaluation module and is expressed as:

[0077]

[0078] Among them Bi (t) represents the total load ratio of server i at time t, C i Represents the total capacity of the server, L i '(t) represents the total load of server i at time t;

[0079] Set the system load ratio function, expressed as:

[0080]

[0081] Where f(B) represents the weighted average of the system's maximum load ratio, S ij (t) represents the load transfer from server j to server i at time t, α is the time decay constant, β and γ are adjustment parameters, and T represents the total time period;

[0082] Initialize S ij (t), is set to the initial value zero;

[0083] Initialize S using ij (t) Calculate the total load L of each server i '(t), expressed as:

[0084]

[0085] Where L i (t) represents the basic load of server i at time t, B j (t) represents the load ratio of server j at time t;

[0086] Calculate the load ratio B of each server i (t), and calculate the initial f(B), expressed as;

[0087]

[0088] Using the gradient descent optimization algorithm, calculate f(B) with respect to S ij (t) and update S ij (t), expressed as;

[0089]

[0090] Where η is the learning rate;

[0091] Iterate the calculation and use the updated S ij (t) Recalculate the total server load L i '(t) and load ratio B i (t), and recalculate f(B). After f(B) reaches the minimum server load ratio, stop the iteration and use the optimized S ij(t) Apply to the server in real time to adjust server transfer and dynamically balance server load.

[0092] The objective function f(B) aims to minimize the maximum load ratio among all servers. The integral calculation includes a time decay factor to reduce the impact of past load on current decisions. The optimization of S ij The value of (t) optimizes the load distribution of the entire server group, ensuring that no single server is overloaded, but rather distributing the workload more evenly across all servers. Through accurate load assessment and automatic execution of adjustments by smart contracts, the system can achieve optimal resource allocation, ensuring that all servers are not idle or overloaded, reducing manual intervention, improving operational efficiency and reducing errors, and improving the efficiency of hardware utilization. Optimized load distribution can reduce unnecessary energy consumption. At the same time, all decisions about load adjustment and system response are recorded on the blockchain. Through this step, the automation and intelligence of server operations are realized, significantly improving server response speed and processing power. Dynamic load balancing reduces the risk of overload, ensures the stability and reliability of system operation, and thus improves the performance of the entire server network and user experience.

[0093] S2, data verification module, sets up the server data verification mechanism to verify the integrity and consistency of the data stored on the server, ensuring that the data has not been tampered with or damaged during transmission or storage. The data verification module also automatically detects data redundancy and errors and triggers the repair process to maintain data accuracy and reliability;

[0094] Preferably, a server data verification mechanism is provided to verify the integrity and consistency of data stored on the server, including:

[0095] Before storing the data, the structure is defined, and a hash value and a timestamp are added, expressed as:

[0096] D a _H a =H a (D a +T s )

[0097] Where D a Indicates the actual stored data, T s Indicates the specific timestamp of being written, D a _H a Indicates the hash value, and stores the data in the server. a Indicates the use of hash function calculation;

[0098] After the data is stored, the hash value of the stored data is recalculated, and the smart contract is triggered regularly through the timer to verify the consistency and integrity of the stored data through the smart contract, which is expressed as:

[0099] I V =v e (D a +D a _H a , T s )

[0100] Among them I V Represents a Boolean value, v e Represents the verify function. If the calculated hash value is consistent with the stored hash value, it returns true, indicating that the verification is successful. If the calculated hash value is inconsistent with the stored hash value, it returns false, indicating that the verification failed.

[0101] By attaching hash values ​​and timestamps, not only the security and integrity of the data are enhanced, but also the efficiency is improved and the need for manual intervention is reduced through the automated verification mechanism of smart contracts. This solution utilizes the immutability of blockchain to provide a higher level of protection for server data and ensures the long-term integrity of data through regular audits. Effective data integrity verification reduces the possibility of operational failures due to data errors, avoids economic losses and reputation risks caused by data corruption, and improves the compliance of data processing.

[0102] S3, smart contract management module, sets up an access control framework based on blockchain, orchestrates and manages smart contracts, and tests smart contracts to automatically manage access rights to server resources, such as assigning which users or other smart contracts can access specific resources. At the same time, this module is responsible for monitoring the execution of smart contracts to ensure that they operate in accordance with established rules and policies;

[0103] Preferably, setting up an access control framework based on blockchain includes:

[0104] Set up role-based access control ABAC rules as the access control model;

[0105] Define access rules to grant permissions based on user attributes and requested resource attributes, expressed as:

[0106] A C _P e =eval(A t _U s ,A t _R e ,P O )

[0107] Among them A t _U s Represents the attribute set of the user, A t _R e Represents a set of resource attributes, PO Indicates predefined policy rules, A C _P e It is a Boolean value. eval represents an evaluation function. It receives user attributes and resource attributes as input, evaluates these attributes according to policy rules, and determines whether the access conditions are met. If true is returned, it means that permission is granted. If false is returned, it means that authorization fails.

[0108] ABAC allows access rights to be defined based on the attributes of the user and the attributes of the requested resources, providing a high degree of flexibility and scalability. It is particularly suitable for complex and dynamically changing environments such as cloud services and big data platforms. Smart contracts are deployed on the blockchain to manage access control logic. The framework uses the tamper-proof nature of the blockchain to ensure the transparency and integrity of access control rules and policies. Compared with traditional access control systems that rely on centralized databases and management systems, it prevents the risks of tampering and single point failures. By combining ABAC with blockchain technology, this framework can execute more complex access control decisions based on a combination of multiple attributes of users and resources, which provides higher flexibility and personalized security management for access control.

[0109] Furthermore, the test smart contract automatically manages the access rights of server resources, including:

[0110] Use the Ethereum test network to perform testing and configure testing tools;

[0111] Use Solidity's test framework to write test cases, use test tools to execute all written test cases, monitor test results, and confirm that all tests meet expectations;

[0112] For test cases that failed, check the logical errors and security vulnerabilities in the contract code, modify the contract code, and re-test the modified smart contract in its entirety;

[0113] Use a timer to regularly audit access logs to verify the implementation of access control policies.

[0114] By combining ABAC with blockchain technology, the framework can perform more complex access control decisions based on a combination of multiple attributes of users and resources, providing greater flexibility and personalized security management for access control, ensuring its security and reliability during actual deployment and runtime. Testing tools include development tools such as Truffle Suite, Hardhat or Remix, which provide the functions of compiling, deploying and testing smart contracts.

[0115] S4, data synchronization module, sets up data synchronization mechanism to manage the data replication process between different servers or data centers, verifies data replication tasks through smart contracts, and ensures consistency among all data copies. In addition, the module can dynamically adjust replication frequency and priority to optimize data synchronization according to network conditions and data usage frequency;

[0116] Preferably, a data synchronization mechanism is set up to verify data replication tasks through smart contracts, including:

[0117] Through smart contracts, data updates are detected and collected, and D o represents the original data, D n Represents the updated data, calculated by hash function D o and D n The hash values ​​are compared and data synchronization is triggered when the results are different.

[0118] Through the blockchain network, D n And the calculated hash value H(D n )Synchronize to all blockchain nodes;

[0119] Each node receives new data D n and hash value H(D n ) and store them in a local database.

[0120] By utilizing the immutability of blockchain technology and the automation characteristics of smart contracts, the security and transparency of data processing are effectively improved, ensuring that any important data updates will not be missed, while ensuring the consistency and integrity of data in the entire blockchain system, which is crucial to ensuring the security and response speed of the system.

[0121] S5, encryption and privacy protection module, integrates smart contracts through privacy protection protocols, encrypts database data privacy, ensures data confidentiality and privacy security, supports multiple encryption algorithms, and can select appropriate encryption schemes based on data sensitivity and access control requirements. The module can also monitor and manage the life cycle of encryption keys, including key generation, distribution, use and destruction;

[0122] Preferably, the smart contract is integrated through the privacy protection protocol to encrypt the database data privacy including:

[0123] Use AES encryption technology to encrypt the entire database and the data transmission channel;

[0124] Use homomorphic encryption technology to encrypt encrypted data and integrate local homomorphic encryption logic into smart contracts;

[0125] Implement a zero-knowledge proof framework as a privacy-preserving protocol and integrate it into smart contracts.

[0126] Select appropriate encryption technology for the blockchain environment to protect the security of data during storage and transmission. Use homomorphic encryption technology to allow calculations on encrypted data, which is suitable for multi-chain environments where data processing needs to be performed while keeping the data encrypted. Integrate the selected zero-knowledge proof technology into the blockchain platform to verify the validity of transactions and data while protecting privacy, ensuring the security of data during storage and transmission. It also allows effective data processing and verification while keeping data encrypted, greatly enhancing the security and functionality of the system.

[0127] Example 2

[0128] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.

[0129] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.

[0130] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.

[0131] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, any one of the following technologies known in the art or a combination thereof can be used to implement: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0132] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.

Claims

1. A server intelligent management platform based on blockchain technology, characterized by: include, The blockchain network management module builds a blockchain network on the server and deploys smart contracts, dynamically controlling the server through the load balancing system; Data verification module, which sets up the server data verification mechanism to verify the integrity and consistency of the data stored on the server; Smart contract management module, which sets up access control framework based on blockchain and tests the ability of smart contracts to automatically manage access rights to server resources; Data synchronization module, setting up data synchronization mechanism and verifying data replication tasks through smart contracts; The encryption and privacy protection module integrates smart contracts through privacy protection protocols to encrypt database data privacy; The deployment of smart contracts on the server through the blockchain network includes: Configure the network based on the Hyperledger Fabric environment and configure each server node; Designing the functional modules of smart contracts includes data collection module, load assessment module and data verification module; Set a timer to periodically collect resource usage data from nodes connected to the blockchain network and store it on the blockchain; The dynamic control of the server by the load balancing system includes: The load ratio is calculated by the load evaluation module and is expressed as: in represents the total load ratio of server i at time t, Indicates the total capacity of the server. represents the total load of server i at time t; Set the system load ratio function, expressed as: in Represents the weighted average of the system's maximum load ratio, represents the load transfer from server j to server i at time t, is the time decay constant, and are adjustment parameters, T represents the total time period; initialization , set to the initial value zero; Use Initialization Calculate the total load on each server , expressed as: in represents the basic load of server i at time t, represents the load ratio of server j at time t; Calculate the load ratio for each server , and calculate the initial , expressed as; , using the gradient descent optimization algorithm, calculate about The gradient of , expressed as; , among which Learning rate; Iterate the calculation and use the updated Recalculate the total server load and load ratio , and recalculate ,exist After the server load ratio is minimized, stop the iteration and transfer the optimized Apply to the server in real time to adjust server transfer and dynamically balance server load; The server data verification mechanism is set to verify the integrity and consistency of the data stored on the server, including: Before storing data, define the structure, add hash value and timestamp, expressed as: ,in Indicates the actual stored data. Indicates the specific timestamp that was written. Represents the hash value, storing the data in the server, Indicates the use of hash function calculation; After the data is stored, the hash value of the stored data is recalculated, and the smart contract is triggered regularly through the timer to verify the consistency and integrity of the stored data through the smart contract, which is expressed as: ,in Represents a Boolean value, Represents the verify function, which returns if the calculated hash value is consistent with the stored hash value , indicating that the verification is successful. If the calculated hash value is inconsistent with the stored hash value, it will be returned as , indicating that verification failed.

2. The server intelligent management platform based on blockchain technology as claimed in claim 1, characterized in that: The access control framework based on blockchain includes: Set up role-based access control ABAC rules as the access control model; Define access rules to grant permissions based on user attributes and requested resource attributes, expressed as: ,in Represents a collection of user attributes, Represents a collection of attributes for a resource. Indicates the predefined policy rules. is a Boolean value, Represents an evaluation function that receives user attributes and resource attributes as input, evaluates these attributes according to policy rules, and determines whether the access conditions are met. If , it means permission is granted. If it returns , it means authorization failed.

3. The server intelligent management platform based on blockchain technology as claimed in claim 2, characterized in that: The test smart contract automatically manages the access rights of server resources, including: Use the Ethereum test network to perform testing and configure testing tools; Use Solidity's test framework to write test cases, use test tools to execute all written test cases, monitor test results, and confirm that all tests meet expectations; For test cases that failed, check the logical errors and security vulnerabilities in the contract code, modify the contract code, and re-test the modified smart contract in its entirety; Use a timer to regularly audit access logs to verify the implementation of access control policies.

4. The server intelligent management platform based on blockchain technology as claimed in claim 3, characterized in that: The data synchronization mechanism is set up to verify the data replication task through the smart contract, including: Through smart contracts, data updates are detected and collected. Represents the original data, Indicates updated data, calculated by hash function and The hash values ​​are compared and data synchronization is triggered when the results are different. Through the blockchain network and the calculated hash value Synchronize to all blockchain nodes; Each node receives new data and hash value , and store them in a local database.

5. The server intelligent management platform based on blockchain technology as claimed in claim 4, characterized in that: The integration of smart contracts through privacy protection protocols to encrypt database data privacy includes: Use AES encryption technology to encrypt the entire database and the data transmission channel; Use homomorphic encryption technology to encrypt encrypted data and integrate local homomorphic encryption logic into smart contracts; Implement a zero-knowledge proof framework as a privacy-preserving protocol and integrate it into smart contracts.

6. A computer device comprising: Memory and processor; The memory stores a computer program, characterized in that when the processor executes the computer program, the steps of the server intelligent management platform based on blockchain technology described in any one of claims 1 to 5 are implemented.

7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the server intelligent management platform based on blockchain technology described in any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Manufacturing industry privacy data security protection system and method based on block chain

    CN115659416A

  • Edge calculation method for effectively combining electronic certificate and smart contract and storage medium

    CN117591286A