Cloud edge collaborative carbon intelligent management platform resource optimization scheduling method based on block chain
By using a blockchain-based cloud-edge collaborative carbon intelligent management platform, the issues of data security, transparency, and privacy protection in carbon management have been resolved, achieving efficient, secure, and fair carbon trading and enhancing the ability to achieve carbon emission reduction targets.
Patent Information
- Application Number
- CN202411441121.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-16
- Publication Date
- 2024-11-15
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing carbon management technologies are inadequate in terms of data security, information transparency, dynamic adjustment capabilities, and privacy protection, and therefore cannot meet the requirements for achieving carbon emission reduction targets.
A cloud-edge collaborative carbon smart management platform based on blockchain is adopted. Data is collected through measuring devices, preliminarily processed by a microprocessor, and timestamped and formatted by a blockchain server to generate a real-time pricing strategy for the smart grid. Transaction information is stored using smart contracts to establish a distributed ledger and generate a unique public and private key for each trading entity to conduct carbon emission rights trading.
It improves the efficiency and credibility of carbon management, ensures data security and transparency, promotes trust between supply and demand sides, optimizes carbon trading models, and enhances trading flexibility and fairness.
Smart Images

Figure CN118966471A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of carbon intelligent management technology, and specifically to a resource optimization and scheduling method for a cloud-edge collaborative carbon intelligent management platform based on blockchain. Background Art
[0002] With the development of information technology, especially the advancement of Internet technology, although the problem of data transmission and sharing has been alleviated to a certain extent, the security and credibility of data have not been fundamentally solved. In addition, due to the lack of effective regulatory measures, the traditional carbon trading market often has information asymmetry, that is, buyers and sellers have different levels of information on carbon emission quotas, which will lead to inefficient market and is not conducive to the realization of carbon emission reduction targets.
[0003] In the face of the above challenges, the blockchain technology that has emerged in recent years is considered to play an important role in the field of carbon management due to its decentralization, high transparency and strong security. However, although blockchain technology has the potential to solve the above problems in theory, it faces many challenges in practical application. For example, how to seamlessly connect blockchain technology with the existing carbon management system, how to design reasonable smart contracts to regulate the carbon trading process, and how to ensure the accuracy of data collection equipment and the security of data transmission. These are all technical obstacles that need to be overcome at the practical level.
[0004] In addition, most existing carbon management technologies ignore the real-time nature and dynamic adjustment capabilities of data. Since carbon emissions change over time, a system that can reflect the latest emission status in real time is needed to support decision-making. Existing systems can often only provide static historical data and cannot meet the requirements of dynamic adjustment. At the same time, in terms of privacy protection, how to protect the privacy of enterprises and individuals while ensuring data transparency is also an urgent problem to be solved.
[0005] In summary, existing carbon management technologies have deficiencies in data security, information transparency, dynamic adjustment capabilities and privacy protection. A new technical solution is urgently needed to make up for these shortcomings and improve the efficiency and credibility of carbon management. Summary of the invention
[0006] In order to solve the above technical problems, the present invention provides a resource optimization scheduling method for a cloud-edge collaborative carbon intelligent management platform based on blockchain. The specific technical solution is as follows: A resource optimization scheduling method for a cloud-edge collaborative carbon intelligent management platform based on blockchain, comprising the following steps: Step S1: The measuring device collects carbon emission related data and sends it to the microprocessor through the communication interface; Step S2: The microprocessor receives data from the measuring device and performs preliminary processing on it to reduce the computing burden of the main server; Step S3: storing the processed carbon emission data in a storage unit, constructing a user-side model, classifying users according to their privacy sensitivity, and generating a real-time pricing strategy for the smart grid accordingly; Step S4: The microprocessor transmits the carbon emission data to the blockchain server, which adds a timestamp to the data and organizes it into a unified format. While receiving the data, the blockchain server records the transaction process and stores the transaction information in the form of a smart contract. Step S5: The blockchain server broadcasts the timestamped data to other nodes in the network, establishes a distributed ledger, and generates a unique public and private key for each subject participating in the transaction; Step S6: If the carbon emission data exceeds the preset threshold, an early warning is triggered. At the same time, based on the results of spot electricity trading, the participants and data of the carbon emission rights trading market are determined, and the carbon rights block is traded.
[0007] As a preferred embodiment of the present invention, the data of the measuring device is preliminarily processed in step S2, specifically comprising the following steps: Step S21: Remove invalid or erroneous data items to ensure that all data are within the preset range. If the data exceeds the preset normal range, the abnormality should be recorded, and a warning should be sent and a secondary verification should be performed; Step S22, converting the original readings into numerical values that can directly reflect the actual measurement results, and ensuring that all data use a unified unit; Step S23, averaging or summarizing the data in the continuous time period to extract relevant features; Step S24: Add an accurate timestamp to each piece of data to ensure that all data is arranged in chronological order; Step S25: using statistical methods or machine learning models to detect abnormal patterns in the data and marking the detected abnormal data; Step S25: Pack the processed data into a message or data packet in a fixed format.
[0008] As a preferred embodiment of the present invention, the specific steps of step S3 are: Step S31, initializing the storage unit, formatting the processed carbon emission data into a unified format and writing it into the storage unit, and backing it up regularly; Step S32: collecting the user's personal information based on the data in the storage unit to understand the user's demand for privacy protection; Step S33: using a machine learning algorithm to classify users, and classifying users into different categories according to their privacy sensitivity; Step S34: construct different utility functions for users with different privacy sensitivity levels and construct a cost function for power suppliers; Step S35, using an optimization algorithm to solve the optimal power consumption, optimal power supply and optimal electricity price; Step S36: Generate a real-time pricing strategy for the smart grid based on the solution results and publish it through the blockchain trading platform.
[0009] As a preferred embodiment of the present invention, the specific steps of step S4 are: Step S41, the microprocessor sends data by carrying authentication information, and the blockchain server waits to receive data from the microprocessor. The blockchain server parses the data in the request and verifies whether the data format is correct. If the data format is correct, the server continues to the next step; otherwise, an error message is returned to the microprocessor; Step S42: After receiving the data, the blockchain server immediately adds a timestamp to the data. The blockchain server needs to organize the received data into a unified format; Step S43: When the blockchain server receives and processes data, each data reception is regarded as a transaction, and the initiator, receiving time, and data content of the transaction are recorded. The transaction information will be encapsulated into a transaction object and submitted to the blockchain network through a smart contract; Step S44: After the transaction information is sent to the smart contract, the smart contract will verify the validity of the transaction information and write the valid information into the blockchain.
[0010] As a preferred embodiment of the present invention, the specific steps of step S5 are: Step S51: The blockchain server receives the data and verifies the integrity and format of the data; Step S52: The blockchain server broadcasts the data with the timestamp to other nodes in the network. The data needs to be encrypted or signed to ensure the security of the data during transmission. After receiving the data, each node will verify it and add the data to the local temporary memory pool for further processing. Step S53: After receiving the data, each node in the network integrates the data into a new block to form a distributed bill. After receiving the data, each node puts it into a temporary memory pool. When a node believes that there is enough data to form a new block, the node will start to build a new block. During the process of building a new block, the node will verify the data and resolve potential conflicts. After the new block is built, the node will broadcast it to other nodes in the network. Other nodes will verify the new block and add it to their own blockchain. Step S54: using an asymmetric encryption algorithm to generate a unique public key and private key for each subject participating in the carbon emission data transaction; Step S55: When an entity wants to initiate a transaction, it signs the transaction with its own private key, and the signed transaction will be broadcast to other nodes in the network; after receiving the transaction, other nodes verify the signature with the public key of the transaction initiator; once the transaction is verified, it will be added to the transaction pool to be packaged, waiting to be integrated into the new block.
[0011] As a preferred embodiment of the present invention, the specific steps of step S6 are: Step S61: The blockchain server continuously receives carbon emission data from the microprocessor. Whenever new carbon emission data arrives, the server immediately compares it with a preset threshold. If the carbon emission data exceeds the preset threshold, an early warning is triggered. Step S62: The blockchain server obtains the latest transaction results from the electric energy spot trading platform, and determines the subject that needs to participate in the carbon emission rights trading market based on the transaction analysis results; Step S63: Determine the data required by the entities participating in the carbon emission rights trading: calculate the carbon emissions of each entity, and determine its demand in the carbon emission rights trading market based on the difference between the actual carbon emissions of the entity and its allocated quota; Step S64: After the participating entities and transaction data are determined, the blockchain server will start the transaction process and generate transaction records.
[0012] As a preferred embodiment of the present invention, the blockchain server in step S64 initiates a transaction process specifically including: Step S641: Generate a transaction record, recording the information of both parties to the transaction, the transaction amount, and the transaction price; Step S642, transaction verification and confirmation: the transaction record will be broadcast to other nodes in the blockchain network, and each node will verify the transaction record; Step S643, transaction packaging: When the transaction record is confirmed to be correct, it will be packaged into a new block; Step S644, block broadcast and consensus: The new block will be broadcast to the entire blockchain network, and the nodes in the network will reach a consensus through the consensus mechanism to confirm the validity of the new block; Step S645, transaction records are uploaded to the blockchain: Once the new block is confirmed, the transaction records will be permanently recorded on the blockchain.
[0013] The beneficial effects of the present invention are: 1. The present invention provides an integrated solution for carbon data collection, processing, storage and supervision through blockchain technology, which greatly improves the efficiency of carbon management. The monitoring equipment can collect carbon emission data in real time and transmit it to the blockchain server through wireless or wired communication. This distributed data processing method reduces the dependence on a single server and enhances the stability and reliability of the system. In addition, the microprocessor completes the initial processing of the data locally, avoiding overload of the main server and further improving the response speed of the system.
[0014] 2. The application of blockchain technology ensures the security and integrity of data. By adding a timestamp to each piece of data and broadcasting it in the blockchain network, the present invention achieves the immutability of data. This not only enhances the authenticity of the data, but also provides a reliable basis for subsequent credit assessment and transactions. At the same time, due to the decentralized nature of blockchain, no party can change the historical records alone, ensuring the transparency and traceability of data throughout its life cycle.
[0015] 3. The present invention promotes the trust building between the supply and demand sides by introducing a credit evaluation mechanism. Using blockchain to record the transaction process not only ensures the security of the transaction, but also allows users to reasonably plan their electricity usage behavior based on the electricity price provided by the power supplier, reducing unnecessary energy waste. In addition, adjusting the electricity price strategy according to the user's privacy sensitivity not only protects the user's privacy, but also encourages the user's enthusiasm for participating in energy-saving and emission-reduction activities.
[0016] 4. The present invention also optimizes the carbon trading model and improves the flexibility and fairness of transactions. By generating a unique identity for each trading subject and allowing it to participate in spot electricity trading and carbon emission rights trading, the present invention builds a fair and competitive market environment. The use of smart contracts to automatically execute transaction terms during the transaction process reduces transaction costs and improves transaction efficiency. At the same time, by setting reasonable trading rules, such as sealed bids, auction decryption, transaction matching and settlement, the orderly operation of the market is ensured. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 This is a flow chart of the resource optimization and scheduling method of the cloud-edge collaborative carbon intelligent management platform based on blockchain in the present invention. DETAILED DESCRIPTION
[0018] The following is combined with Figure 1 The present invention is described in further detail.
[0019] This embodiment discloses a resource optimization scheduling method for a cloud-edge collaborative carbon intelligent management platform based on blockchain, comprising the following steps: Step S1: The measuring device collects carbon emission related data and sends it to the microprocessor through the communication interface. The specific scheme is as follows; Step S11: Collect carbon emission related data through measuring equipment (such as CO2 sensors, air quality monitors, etc.). Set the collection frequency, for example, collect data once every minute to ensure the timeliness and continuity of the data. The data output by the sensor is usually presented in the form of analog signals (voltage) or digital signals (such as ADC values).
[0020] Step S12: Convert the raw signal collected by the sensor into a meaningful physical quantity (a numerical value that can directly reflect the actual measurement result). Analog signal to digital signal conversion: If the sensor outputs an analog signal, it needs to be converted into a digital signal through an analog-to-digital converter (ADC). According to the characteristics of the sensor or the conversion formula provided by the manufacturer, the digital signal is converted into an actual physical quantity, such as converting the ADC value into CO2 concentration (ppm). The data is corrected according to environmental conditions (such as temperature and humidity) to eliminate errors caused by environmental changes.
[0021] Step S13: Process and filter the converted data to remove noise and outliers. Use a filtering algorithm (such as a low-pass filter) to remove high-frequency noise in the data. Detect and remove data points that are significantly deviated from the normal range, for example, using a statistical method (such as the standard deviation method) to identify outliers.
[0022] Use smoothing algorithms (such as moving average) to reduce data fluctuations and improve data stability.
[0023] Step S14: Pack the processed data into a specified format for transmission through the communication interface. Pack the processed data according to certain rules, such as combining information such as timestamp, device ID, CO2 concentration, etc. into a data packet. Ensure that the data packet is encoded in a format that the microprocessor can recognize, such as ASCII code or hexadecimal format. Data verification: Add a check code (such as a CRC check code) to ensure data integrity.
[0024] Step S15: Send the data to the microprocessor through the communication interface on the measuring device. Select a suitable communication interface according to the application scenario, such as serial port (UART), SPI, I2C, CAN bus, etc. Define the data transmission protocol to ensure that the data can be correctly parsed. For example, define the data frame format, start flag, end flag, etc. Set a suitable transmission rate (baud rate) according to the capabilities of the communication interface to ensure that the data can be transmitted stably. Perform error detection and processing during data transmission, such as retransmission mechanism, error log recording, etc.
[0025] Step S2: The microprocessor receives data from the measuring device and performs preliminary processing on it to reduce the computing burden of the main server. The specific scheme is as follows; Step S21, the microprocessor receives raw data from the measuring device. The microprocessor connects to the measuring device through a serial port (UART), SPI, I2C or other interface to receive data sent by the sensor. The data output by the sensor is usually a raw signal represented in digital form (such as voltage value, ADC value, etc.), which needs to be further converted into a meaningful physical quantity (a numerical value that can directly reflect the actual measurement result).
[0026] Step S22: Perform preliminary processing on the raw data to remove noise and outliers. Data filtering: Remove obviously erroneous data points, such as extreme values or data that do not conform to physical laws. Smoothing: Use a filter (such as a moving average filter) to smooth the data to reduce the impact of noise. Data correction: Correct the data according to sensor characteristics or environmental conditions to eliminate deviations.
[0027] Step S23: Convert the raw data into meaningful physical quantities (values that can directly reflect the actual measurement results) and perform standardization. Convert the raw values output by the sensor into actual physical quantities, for example, convert the voltage value into the actual CO2 concentration (ppm). Ensure that all data use a unified unit to facilitate subsequent processing and comparison. Use the conversion formula or table lookup method provided by the sensor to map the raw readings into physical quantities.
[0028] Step S24: compress and summarize the data to reduce the amount of data and relieve the pressure on the main server. Sample data at a fixed interval or frequency to reduce the size of the data stream. Summarize the data within a period of time, for example, calculate the average value per minute. Data screening: only retain important data points, such as data points exceeding the threshold, and ignore the data under normal conditions.
[0029] Step S25: Ensure the security and integrity of data during transmission. Encrypt data using an encryption algorithm (such as AES) to prevent data from being eavesdropped or tampered with during transmission. Sign data using digital signature technology (such as RSA) to verify the source and integrity of data. Transmit data through a secure communication protocol (such as TLS / SSL) to ensure the security of data during network transmission.
[0030] Step S26: Upload the preliminarily processed data to the main server for further processing and analysis. The data is uploaded in a format that the main server can recognize. Use a suitable network transmission protocol (such as HTTP, MQTT, CoAP) to send the data to the main server. Handle possible errors during the data upload process, such as retry mechanism, error logging, etc.
[0031] Step S3: Store the processed carbon emission data in the storage unit, build a user-side model, classify users according to their privacy sensitivity, and generate a real-time pricing strategy for the smart grid. The specific plan is as follows: Step S31: Store the pre-processed carbon emission data into a storage unit for subsequent analysis and use. Ensure that the carbon emission data has been formatted into a unified format, such as CSV, JSON, or XML. Store the formatted data in a suitable storage medium, such as a relational database (such as MySQL, PostgreSQL), a NoSQL database (such as MongoDB), a file system (such as HDFS), or a cloud storage service (such as AWS S3). Create indexes for the stored data to speed up queries. Ensure that the data structure supports efficient read and write operations.
[0032] Step S32: Based on the stored data, a user-side model is constructed to analyze the user's behavior and needs. Relevant carbon emission data and other user-related information such as power consumption, power consumption time, geographic location, etc. are extracted from the storage unit. The collected data is preprocessed, including cleaning, normalization, feature extraction, etc., so as to better input it into the model. According to the characteristics of the problem, a suitable machine learning or deep learning model is selected, such as logistic regression, random forest, neural network, etc. The model is trained using the collected data and the hyperparameters are adjusted to obtain better prediction performance.
[0033] Step S33: Classify users according to their privacy sensitivity so as to formulate personalized strategies. Privacy preference survey: Understand users' demand for privacy protection through questionnaire surveys, user feedback, etc.
[0034] User classification algorithm: Use clustering algorithms (such as K-means clustering) or other classification algorithms (such as decision trees, support vector machines) to classify users. Privacy protection measures: Provide corresponding privacy protection measures for users with different privacy sensitivity levels, such as data encryption, anonymization, etc.
[0035] Step S34: Generate a real-time pricing strategy for the smart grid based on the user classification results. Define the user's utility function, taking into account factors such as the user's electricity cost and privacy protection requirements. Define the power supplier's cost function, including power generation cost, transmission loss, etc.
[0036] Step S35: Use an optimization algorithm (such as Lagrange duality theory, genetic algorithm, particle swarm optimization, etc.) to solve the optimal power consumption, optimal power supply and optimal electricity price.
[0037] Step S36: Generate a real-time pricing strategy for the smart grid based on the solution results and publish it through the blockchain trading platform to ensure transparency and traceability.
[0038] Step S4: The microprocessor transmits the carbon emission data to the blockchain server, which adds a timestamp to the data and organizes it into a unified format. While receiving the data, the blockchain server records the transaction process and stores the transaction information in the form of a smart contract. The specific steps are as follows: Step S41: The microprocessor is responsible for sending the processed carbon emission data to the blockchain server. This process is usually implemented through a network protocol (such as HTTP, HTTPS or WebSocket). The microprocessor needs to know the address (IP address or domain name) and port number of the blockchain server. The data is usually serialized into JSON format or other formats that are easy to transmit. When sending a request, the microprocessor may carry authentication information (such as an API key) to ensure that only authorized devices can send data.
[0039] The blockchain server listens to a specific port and waits to receive data from the microprocessor. The server needs to listen to a port and receive a POST request. The server needs to parse the data in the request and verify whether the data format is correct. If the data format is correct, the server continues to the next step; otherwise, it returns an error message to the microprocessor.
[0040] Step S42: After receiving the data, the blockchain server immediately adds a timestamp to the data. The timestamp is usually a millisecond representation of the current UTC time to ensure accuracy. The timestamp can be used to prove when the data arrived at the blockchain server and is stored as part of the data to ensure the integrity and time attributes of the data.
[0041] The blockchain server needs to organize the received data into a unified format for easy storage and subsequent processing. The data needs to be organized according to a predetermined format. For example, all carbon emission data contains fields such as timestamp, device ID, and carbon emission. Data cleaning may also be required to remove outliers or fill in missing values. The organized data should meet the requirements of blockchain storage and facilitate subsequent access through smart contracts.
[0042] Step S43: While receiving and processing data, the blockchain server needs to record the transaction process and store the transaction information in the form of a smart contract. Each data reception can be regarded as a transaction, and the initiator of the transaction (microprocessor), reception time, data content and other information need to be recorded. These transaction information will be encapsulated into a transaction object and submitted to the blockchain network through a smart contract. The transaction object usually contains the transaction type, transaction timestamp, participant information, etc.
[0043] Step S44: The blockchain server stores the transaction information on the blockchain through a smart contract. A smart contract is a piece of code deployed on the blockchain that can automatically execute certain logic, such as verifying transaction information, recording transaction history, etc. After the transaction information is sent to the smart contract, the smart contract will verify the validity of the transaction information and write the valid information to the blockchain. Once the transaction information is confirmed and written to the blockchain, it becomes an unalterable record, ensuring the transparency and credibility of the data.
[0044] Step S5: The blockchain server broadcasts the timestamped data to other nodes in the network, establishes a distributed ledger, and generates a unique public key and private key for each subject participating in the transaction for subsequent transaction authentication, specifically; Step S51: The blockchain server receives the carbon emission data from the microprocessor and adds a timestamp to it. The blockchain server receives the data and verifies the integrity and format of the data. The blockchain server adds a timestamp of the current time to the data to ensure the time attribute of the data.
[0045] Step S52: The blockchain server broadcasts the timestamped data to other nodes in the network. Broadcasting is usually implemented through a P2P (peer-to-peer) network to ensure that data can be transmitted quickly and reliably. When broadcasting data, some encryption or signing may be required to ensure the security of the data during transmission. After each node receives the data, it will verify it and add the data to the local temporary memory pool (called Mempool) for further processing.
[0046] Step S53: After receiving the data, each node in the network integrates the data into a new block to form a distributed bill. After receiving the data, each node puts it into a temporary memory pool. When a node believes that there is enough data to form a new block, the node will start to build a new block. In the process of building a new block, the node will verify the data and resolve potential conflicts (such as double payment problems). After the new block is built, the node will broadcast it to other nodes in the network, and other nodes will verify the new block and add it to their own blockchain.
[0047] Step S54: Generate a unique public key and private key for each subject participating in the carbon emission data transaction. In the blockchain network, each subject participating in the transaction needs to have a unique identifier, which is usually achieved through a public key-private key pair. The private key is used to sign the transaction to prove the identity of the initiator of the transaction. The public key is used to verify the transaction signature and serve as the address in the transaction record. Asymmetric encryption algorithms (such as RSA, ECDSA, etc.) are usually used to generate public and private keys to ensure the security of the keys.
[0048] Step S55: Use the public key and private key to authenticate the transaction to ensure the legitimacy and security of the transaction. When a subject wants to initiate a transaction (such as the transfer of carbon emission rights), it needs to use its own private key to sign the transaction. The signed transaction will be broadcast to other nodes in the network. After receiving the transaction, other nodes will use the public key of the transaction initiator to verify the signature to ensure the legitimacy of the transaction. Once the transaction is verified, it will be added to the transaction pool to be packaged, waiting to be integrated into the new block.
[0049] Step S6: If the carbon emission data exceeds the preset threshold, the early warning mechanism is triggered. At the same time, based on the results of the spot electricity transaction, the participants and data of the carbon emission rights trading market are determined, and the carbon rights block is traded, specifically: Step S61: monitor carbon emission data and trigger an early warning mechanism when the data exceeds a preset threshold.
[0050] The blockchain server continuously receives carbon emission data from the microprocessor and performs preliminary processing on it (such as data cleaning and formatting). A reasonable carbon emission threshold is pre-set according to the actual situation. For example, if the environmental protection standard of a certain area stipulates that the carbon dioxide emissions shall not exceed 1000ppm per square meter per hour, this value can be used as the threshold. Whenever new carbon emission data arrives, the server immediately compares it with the preset threshold. If the carbon emission data exceeds the preset threshold, the early warning mechanism is triggered. The early warning can be carried out in a variety of ways, such as sending emails, SMS notifications, push messages, etc.
[0051] Step S62: Determine which entities need to participate in the carbon emission rights trading market based on the results of the spot electricity trading. The blockchain server needs to obtain the latest trading results from the spot electricity trading platform. These results usually include information about the buyer and seller, trading volume, trading price, etc. Analyze which entities (such as power companies, factories, commercial users, etc.) have generated a large amount of carbon emissions in electricity trading based on the trading results. Based on the analysis results, determine which entities need to participate in the carbon emission rights trading market. If a factory consumes a large amount of electricity and generates high carbon emissions in electricity trading, then the factory needs to participate in carbon emission rights trading.
[0052] Step S63: Determine the data required by the entities participating in the carbon emission rights trading. Calculate the carbon emissions: Calculate the carbon emissions of each entity based on the carbon emission data and relevant information of the participating entities.
[0053] According to the regulations of the government or environmental protection agency, each entity is allocated a certain carbon emission quota. According to the difference between the actual carbon emissions of the entity and its allocated quota, its demand in the carbon emission rights trading market is determined. If the carbon emissions of the entity exceed the quota, it needs to purchase carbon emission rights; if it is lower than the quota, it can sell the excess carbon emission rights.
[0054] Step S64, carbon rights block trading is carried out on the blockchain platform. After the participating entities and transaction data are determined, the blockchain server will start the transaction process. Generate a transaction record to record the information of both parties to the transaction, the transaction amount, the transaction price, etc. Transaction verification and confirmation: The transaction record will be broadcast to other nodes in the blockchain network, and each node will verify the transaction record. Verification includes but is not limited to confirming the identities of both parties to the transaction, whether the transaction amount is reasonable, etc. Transaction packaging: When the transaction record is confirmed to be correct, it will be packaged into a new block. Block broadcast and consensus: The new block will be broadcast to the entire blockchain network, and the nodes in the network will reach a consensus through a consensus mechanism (such as proof of work PoW, proof of equity PoS, etc.) to confirm the validity of the new block. Transaction record chain: Once the new block is confirmed, the transaction record will be permanently recorded on the blockchain and become an unalterable historical record.
[0055] The above are all preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention. Therefore, any equivalent changes made based on the structure, shape, and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A resource optimization and scheduling method for a cloud-edge collaborative carbon intelligent management platform based on blockchain, characterized in that: The following steps are involved: Step S1: The measuring device collects carbon emission related data and sends it to the microprocessor through the communication interface; Step S2: The microprocessor receives data from the measuring device and performs preliminary processing on it to reduce the computing burden of the main server; Step S3: storing the processed carbon emission data in a storage unit, constructing a user-side model, classifying users according to their privacy sensitivity, and generating a real-time pricing strategy for the smart grid accordingly; Step S4: The microprocessor transmits the carbon emission data to the blockchain server, which adds a timestamp to the data and organizes it into a unified format. While receiving the data, the blockchain server records the transaction process and stores the transaction information in the form of a smart contract. Step S5: The blockchain server broadcasts the timestamped data to other nodes in the network, establishes a distributed ledger, and generates a unique public and private key for each subject participating in the transaction; Step S6: If the carbon emission data exceeds the preset threshold, an early warning is triggered. At the same time, based on the results of spot electricity trading, the participants and data of the carbon emission rights trading market are determined, and the carbon rights block is traded.
2. According to the blockchain-based cloud-edge collaborative carbon intelligent management platform resource optimization scheduling method of claim 1, it is characterized in that: The data of the measuring device is preliminarily processed in step S2, which specifically includes the following steps: Step S21: Remove invalid or erroneous data items to ensure that all data are within the preset range. If the data exceeds the preset normal range, the abnormality should be recorded, and a warning should be sent and a secondary verification should be performed; Step S22, converting the original readings into numerical values that can directly reflect the actual measurement results, and ensuring that all data use a unified unit; Step S23, averaging or summarizing the data in the continuous time period to extract relevant features; Step S24: Add an accurate timestamp to each piece of data to ensure that all data is arranged in chronological order; Step S25: using statistical methods or machine learning models to detect abnormal patterns in the data and marking the detected abnormal data; Step S25: Pack the processed data into a message or data packet in a fixed format.
3. According to the blockchain-based cloud-edge collaborative carbon intelligent management platform resource optimization scheduling method of claim 1, it is characterized in that: The specific steps of step S3 are: Step S31, initializing the storage unit, formatting the processed carbon emission data into a unified format and writing it into the storage unit, and backing it up regularly; Step S32: collecting the user's personal information based on the data in the storage unit to understand the user's demand for privacy protection; Step S33: using a machine learning algorithm to classify users, and classifying users into different categories according to their privacy sensitivity; Step S34: construct different utility functions for users with different privacy sensitivity levels and construct a cost function for power suppliers; Step S35, using an optimization algorithm to solve the optimal power consumption, optimal power supply and optimal electricity price; Step S36: Generate a real-time pricing strategy for the smart grid based on the solution results and publish it through the blockchain trading platform.
4. According to claim 1, the resource optimization and scheduling method of the cloud-edge collaborative carbon intelligent management platform based on blockchain is characterized in that: The specific steps of step S4 are: Step S41, the microprocessor sends data by carrying authentication information, and the blockchain server waits to receive data from the microprocessor. The blockchain server parses the data in the request and verifies whether the data format is correct. If the data format is correct, the server continues to the next step; otherwise, an error message is returned to the microprocessor; Step S42: After receiving the data, the blockchain server immediately adds a timestamp to the data. The blockchain server needs to organize the received data into a unified format; Step S43: When the blockchain server receives and processes data, each data reception is regarded as a transaction, and the initiator, receiving time, and data content of the transaction are recorded. The transaction information will be encapsulated into a transaction object and submitted to the blockchain network through a smart contract; Step S44: After the transaction information is sent to the smart contract, the smart contract will verify the validity of the transaction information and write the valid information into the blockchain.
5. According to claim 1, the resource optimization and scheduling method of the cloud-edge collaborative carbon intelligent management platform based on blockchain is characterized in that: The specific steps of step S5 are: Step S51: The blockchain server receives the data and verifies the integrity and format of the data; Step S52: The blockchain server broadcasts the data with the timestamp to other nodes in the network. The data needs to be encrypted or signed when broadcasting to ensure the security of the data during transmission. After each node receives the data, it will verify it and add the data to the local temporary memory pool for further processing. Step S53: After receiving the data, each node in the network integrates the data into a new block to form a distributed bill. After receiving the data, each node puts it into a temporary memory pool. When a node believes that the data can form a new block, the node will start to build a new block. During the process of building a new block, the node will verify the data and resolve potential conflicts. After the new block is built, the node will broadcast it to other nodes in the network. Other nodes will verify the new block and add it to their own blockchain. Step S54: using an asymmetric encryption algorithm to generate a unique public key and private key for each subject participating in the carbon emission data transaction; Step S55: When a subject wants to initiate a transaction, it signs the transaction with its own private key, and the signed transaction will be broadcast to other nodes in the network; after receiving the transaction, other nodes verify the signature with the public key of the transaction initiator; Once a transaction is verified, it will be added to the transaction pool to be packaged, waiting to be integrated into the new block.
6. The resource optimization and scheduling method for the cloud-edge collaborative carbon intelligent management platform based on blockchain according to claim 1 is characterized in that: The specific steps of step S6 are: Step S61: The blockchain server continuously receives carbon emission data from the microprocessor. Whenever new carbon emission data arrives, the server immediately compares it with a preset threshold. If the carbon emission data exceeds the preset threshold, an early warning is triggered. Step S62: The blockchain server obtains the latest transaction results from the electric energy spot trading platform, and determines the subject that needs to participate in the carbon emission rights trading market based on the transaction analysis results; Step S63: Determine the data required by the entities participating in the carbon emission rights trading: calculate the carbon emissions of each entity, and determine its demand in the carbon emission rights trading market based on the difference between the actual carbon emissions of the entity and its allocated quota; Step S64: After the participating entities and transaction data are determined, the blockchain server will start the transaction process and generate transaction records.
7. The resource optimization and scheduling method for the cloud-edge collaborative carbon intelligent management platform based on blockchain according to claim 6 is characterized in that: In step S64, the blockchain server will initiate a transaction process that specifically includes: Step S641: Generate a transaction record, recording the information of both parties to the transaction, the transaction amount, and the transaction price; Step S642, transaction verification and confirmation: the transaction record will be broadcast to other nodes in the blockchain network, and each node will verify the transaction record; Step S643, transaction packaging: When the transaction record is confirmed to be correct, it will be packaged into a new block; Step S644, block broadcast and consensus: The new block will be broadcast to the entire blockchain network, and the nodes in the network will reach a consensus through the consensus mechanism to confirm the validity of the new block; Step S645, transaction records are uploaded to the blockchain: Once the new block is confirmed, the transaction records will be permanently recorded on the blockchain.
Citation Information
Patent Citations
Method and system for protecting privacy of users in big data mining environments
CN103294967A
Customizable position privacy protection method and system based on user portrait
CN114760146A
User privacy protection method and system under big data mining
CN115618414A
Carbon emission permit trading method based on block chain
CN116664140A
Personalized random response method based on local differential privacy
CN117294490A
Cited By
Zero-carbon footprint real-time monitoring method and terminal system
CN121120080A
Carbon cooperation-oriented mine fire area plugging material transaction and carbon credit generation method
CN121391482A
Carbon coordination-oriented mine fire area plugging material transaction and carbon credit generation method
CN121391482B
