Blockchain-based independent air conditioning control method, system, storage medium, and device
By assigning DIDs to smart sockets, gateways, and sensors in independent air conditioning systems and using blockchain for data signing and notarization, the problem of difficulty in measuring energy-saving effects in existing technologies is solved, data credibility and traceability are achieved, and the demonstrability and market transparency of energy-saving control solutions are improved.
Patent Information
- Application Number
- CN202211090459.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-07
- Publication Date
- 2025-11-14
- Estimated Expiration
- 2042-09-07
AI Technical Summary
Existing independent air conditioning energy-saving control schemes are difficult to measure quantitatively and reliably, making it difficult to demonstrate their superiority.
An independent air conditioning control system based on blockchain is adopted. By assigning DIDs to smart sockets, gateways and sensors, and using blockchain for data signing and storage, the system ensures the trustworthiness and traceability of data, and achieves stable storage of power consumption and environmental data.
By leveraging blockchain technology to ensure the credibility and traceability of data, the deployers of independent air conditioning control systems can clearly demonstrate their energy-saving effects, gain greater room for profit negotiation, and promote market transparency and the process of low-carbon energy conservation.
Smart Images

Figure CN116319902B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of blockchain technology, and in particular to a blockchain-based independent air conditioning control method, system, storage medium, and device. Background Technology
[0002] Independent air conditioners refer to split-type wall-mounted air conditioners, cabinet air conditioners, ceiling-mounted air conditioners, and multi-split air conditioners, which cannot be centrally managed. Statistics show that air conditioning energy consumption may account for more than 50% of a building's total energy consumption. Therefore, it is necessary to design energy-saving control schemes for these independent air conditioners to achieve energy conservation and carbon reduction.
[0003] In related technologies, parameters such as fan speed, target temperature, and airflow direction of independent air conditioners can be adjusted specifically based on the temperature and humidity in the air-conditioned room and the cooling / heating characteristics of the air conditioner. This minimizes energy waste while ensuring the comfort of indoor occupants. The above energy-saving control scheme can be implemented manually or by writing control codes into intelligent control devices, allowing indirect control of the corresponding air conditioning equipment via the air conditioner's remote control / control panel.
[0004] However, the above-mentioned energy-saving control schemes may attribute the effect of the nodes to the air conditioner itself rather than the energy-saving control scheme, making it difficult to quantitatively and reliably measure the energy-saving effect of the energy-saving control scheme, thus failing to demonstrate the superiority of the energy-saving control scheme. Summary of the Invention
[0005] This application provides a blockchain-based independent air conditioning control method, system, storage medium, and device to address the problem of being unable to measure the energy-saving effect of existing energy-saving control schemes. The technical solution is as follows:
[0006] On one hand, a blockchain-based independent air conditioning control method is provided for use in an independent air conditioning control system including at least one independent air conditioner, at least one sensor, a smart socket, a gateway, a data center, and a blockchain, wherein the blockchain has assigned a first DID to the smart socket, a second DID to the gateway, and a third DID to the sensor; the method includes:
[0007] The data center generates control commands according to a preset energy-saving control strategy and sends the control commands to the smart socket through the gateway;
[0008] The smart socket controls the operation of the independent air conditioner according to the control command;
[0009] The smart socket monitors the power consumption data of the independent air conditioner, signs the power consumption data using the first DID, and sends it to the gateway; the gateway signs the signed power consumption data using the second DID and sends it to the data center; the data center stores the power consumption data on the blockchain after verifying the signature.
[0010] The sensor collects environmental data within the space where the independent air conditioner is located, signs the environmental data using the third DID, and sends it to the gateway; the gateway signs the signed environmental data using the second DID and sends it to the data center; the data center stores the environmental data on the blockchain after verifying the signature.
[0011] In one possible implementation, the method further includes:
[0012] The data center updates the control command based on the environmental data and the energy-saving control strategy, and sends the updated control command to the smart socket through the gateway;
[0013] The smart socket controls the operation of the independent air conditioner according to the updated control instructions.
[0014] In one possible implementation, the method further includes:
[0015] The data center generates theoretical environmental data according to the control instructions;
[0016] The data center calculates the difference between the theoretical environmental data and the received environmental data;
[0017] If the difference exceeds a predetermined threshold, the data center generates fault information for the independent air conditioner.
[0018] In one possible implementation, the method further includes:
[0019] The smart socket registers its identity on the blockchain, and the blockchain tests the accuracy and stability of the smart socket. After the test is passed, the blockchain assigns a first DID to the smart socket.
[0020] The gateway registers its identity on the blockchain, and the blockchain assigns a second DID to the gateway.
[0021] The sensor registers its identity on the blockchain, which tests the accuracy and stability of the sensor and assigns a third DID to the sensor after the test is passed.
[0022] In one possible implementation, the method further includes:
[0023] When the data center is connected to the control terminal via a dedicated interface, the data center sends the power consumption data and the environmental data to the control terminal, and / or the data center receives the energy-saving control strategy or the control command sent by the control terminal, wherein the control terminal is an application control terminal or a web control terminal;
[0024] When the data center is connected to a third-party platform via a general interface, the data center sends the power consumption data and the environmental data to the third-party platform, and / or the data center receives the energy-saving control strategy or the control command sent by the third-party platform.
[0025] In one possible implementation, smart contracts are deployed on the blockchain, and the method further includes:
[0026] The smart contract generates the amount to be transferred based on the power consumption data and the effect achieved by the environmental parameters.
[0027] The transfer logic in the smart contract is invoked to transfer the amount from the on-chain account of the user of the independent air conditioner to the on-chain account of the deployer of the independent air conditioner control system.
[0028] In one possible implementation, the method further includes:
[0029] The smart contract acquires environmental data and power consumption data collected simultaneously.
[0030] The smart contract acquires reference data stored corresponding to the environmental data. The reference data is the power consumption data when adjusting the operating parameters of the independent air conditioner based on the temperature and humidity in the space where the independent air conditioner is located and the cooling / heating characteristics of the independent air conditioner.
[0031] The smart contract subtracts the reference data from the power consumption data to obtain the effect achieved by the power consumption data and the environmental parameters.
[0032] In one possible implementation, the smart contract generates the amount to be transferred based on the effect achieved by the power consumption data and the environmental parameters, including:
[0033] When the smart contract determines that the power consumption data and environmental parameters have reached a preset effect, it obtains a preset amount to be transferred; or,
[0034] The smart contract obtains a preset reward and punishment strategy, which includes the amount to be transferred corresponding to different levels of effect; the smart contract determines the level of effect achieved by the power consumption data and the environmental parameters, and obtains the corresponding amount to be transferred from the reward and punishment strategy according to the level.
[0035] On the one hand, a blockchain-based independent air conditioning control system is provided, which includes at least one independent air conditioner, at least one sensor, a smart socket, a gateway, a data center, and a blockchain, wherein the blockchain has assigned a first DID to the smart socket, a second DID to the gateway, and a third DID to the sensor;
[0036] The data center is used to generate control commands according to a preset energy-saving control strategy, and send the control commands to the smart socket through the gateway;
[0037] The smart socket is used to control the operation of the independent air conditioner according to the control command;
[0038] The smart socket is also used to monitor the power consumption data of the independent air conditioner, and to sign the power consumption data using the first DID and send it to the gateway; the gateway is used to sign the signed power consumption data using the second DID and send it to the data center; the data center is also used to upload the power consumption data to the blockchain for evidence storage after the signature verification is passed.
[0039] The sensor is used to collect environmental data within the space where the independent air conditioner is located, and sends the environmental data to the gateway after signing it with the third DID; the gateway is also used to sign the signed environmental data with the second DID and send it to the data center; the data center is also used to store the environmental data on the blockchain after the signature verification is passed.
[0040] On the one hand, a computer-readable storage medium is provided, wherein at least one instruction is stored in the storage medium, the at least one instruction being loaded and executed by a processor to implement the blockchain-based independent air conditioning control method described above.
[0041] On one hand, a computer device is provided, the computer device including a processor and a memory, the memory storing at least one instruction, the instruction being loaded and executed by the processor to implement the blockchain-based independent air conditioning control method as described above.
[0042] The beneficial effects of the technical solutions provided in this application include at least the following:
[0043] Since gateways, sensors, and smart sockets can all be trusted and traceable through the DID mechanism, and the environmental and power consumption data after being stored are stable, verifiable, and cannot be tampered with, the deployers of independent air conditioning control systems can use this data to clearly demonstrate the advantages and superiority of their products to customers, thereby gaining greater room for profit negotiation. This can not only improve the revenue of individual deployers on a micro level, but also promote market transparency, improve the competitive environment, and advance the overall process of low-carbon energy saving.
[0044] By acquiring power consumption data and reference data under the same environmental conditions, where the reference data is power consumption data measured using an independent air conditioning control scheme in related technologies, the power consumption data can be subtracted from the reference data to obtain the effect achieved by the power consumption data and environmental parameters. In other words, the energy-saving effect of the independent air conditioning control scheme of this application compared to independent air conditioning control schemes in related technologies can be directly observed, thus demonstrating the superiority of the independent air conditioning control scheme of this application. Attached Figure Description
[0045] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0046] Figure 1 This is a schematic diagram of the deployment process of an energy-saving control scheme provided in one embodiment of this application;
[0047] Figure 2 This is a structural block diagram of a blockchain-based independent air conditioning control system provided in one embodiment of this application;
[0048] Figure 3 This is a flowchart of a blockchain-based independent air conditioning control method provided in one embodiment of this application. Detailed Implementation
[0049] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the implementation methods of this application will be further described in detail below with reference to the accompanying drawings.
[0050] The following is an introduction to DID (Decentralized Identity).
[0051] Decentralized Identity (DID) is an identity authentication mechanism that can include an identifier and a document, possessing global uniqueness, high availability, resolvability, and cryptographic verifiability. If a decentralized identity relies on a particular blockchain implementation, then that decentralized identity can be said to be associated with that blockchain. In implementation, a typical decentralized identity identifier can be represented by the following string:
[0052] did:example:123123123123abcabcabc
[0053] The DID string consists of three parts: `did` (system identifier) and `example` (method identifier). `did` is the DID method identifier, indicating the specific blockchain method the DID relies on. `123123123123abcabcabc` is the identifier specified in the DID method, typically corresponding to a public-private key pair held by the individual. Documents within a decentralized identity can contain the public key corresponding to the DID and the corresponding encryption algorithm, which can be used to verify the decentralized identity identifier. For example, if user Zhang San sends a message carrying a decentralized identity signature and a DID identifier, other users only need to find Zhang San's decentralized identity public key in the blockchain based on the DID identifier to verify the validity of the decentralized identity signature. If the verification passes, it proves that the sender of the message is the person holding user Zhang San's private key, i.e., Zhang San himself.
[0054] The following section introduces the deployment and implementation process of energy-saving control solutions for independent air conditioners.
[0055] The energy-saving control solution for independent air conditioners mainly includes energy-saving potential assessment, solution design, equipment installation, online monitoring, energy-saving control, data analysis, fault diagnosis and maintenance management, etc. A schematic diagram of a feasible business process is shown below. Figure 1 As shown.
[0056] In the solution design phase, it is necessary to design an energy-saving control solution for the independent air conditioners to be managed through expert analysis or artificial intelligence analysis.
[0057] During the equipment installation phase, hardware and software need to be deployed. Hardware typically includes gateways, smart sockets, sensors, etc.; software typically includes software programs in components such as data centers, gateways, and sensors.
[0058] Please see Figure 2 , Figure 2This is a structural block diagram of a blockchain-based independent air conditioning control system provided in one embodiment of this application; the independent air conditioning control system deployed in this embodiment includes at least one independent air conditioner 210, at least one sensor 220, a smart socket 230, a gateway 240, a data center 250, and a blockchain 260. Figure 2 The example uses only a standalone air conditioner 210 and a sensor 220. The sensor 220, smart socket 230, and gateway 240 are all equipped with security chips to store identity keys and issue signatures after applying for a DID in the blockchain 260.
[0059] In the energy-saving control stage, the data center 250 can send control commands to the smart socket 230 via the gateway 240. The smart socket 230 then controls the operation of the independent air conditioner 210 according to these commands. This control can include turning the independent air conditioner 210 on and off, adjusting its temperature, airflow, airflow direction, humidity, etc. In other words, the smart socket 230 acts as an air conditioner controller "commanded" by the gateway 240. The smart socket 230 can control the independent air conditioner 210 via wired / wireless network connection or infrared transmission.
[0060] In the online monitoring phase, the monitoring of the independent air conditioner 210 includes two aspects. On the one hand, environmental data is monitored through the sensor 220. The environmental data is used to describe the cooling / heating effect of the independent air conditioner 210, such as the cooling / heating experience. On the other hand, power consumption data is monitored through the smart socket 230. The power consumption data is used to describe the energy-saving effect of the independent air conditioner 210, such as the amount of electricity saved.
[0061] Each sensor 220 is installed within the space where the independent air conditioner 210 is located to collect environmental data within that space. Different types of sensors 220 can be installed depending on the sampling requirements of the space. For example, a temperature sensor 220 can be installed when it is necessary to sample the temperature; a humidity sensor 220 can be installed when it is necessary to sample the humidity; an airflow sensor 220 can be installed when it is necessary to sample the airflow, and so on. Each sensor 220 establishes a connection with the data center 250 through a gateway 240 so that after collecting environmental data, it can be sent to the data center 250 via the gateway 240.
[0062] In the data analysis phase, the data center 250 can analyze the received environmental data and power consumption data separately. On the one hand, it can adjust energy-saving monitoring based on the analysis results, that is, update control commands to adjust the control of the independent air conditioner 210. On the other hand, it can perform fault diagnosis and maintenance management of the independent air conditioner 210 based on the analysis results.
[0063] It should be further noted that the data center 250 can provide external interfaces to connect with a matching control terminal or third-party platform, thereby achieving multi-channel control feedback. Specifically, when the data center 250 connects to the control terminal 270 via a dedicated interface, the data center 250 sends power consumption data and environmental data to the control terminal 270, and / or receives energy-saving control strategies or control commands from the control terminal 270, which can be an application-based control terminal or a web-based control terminal. When the data center 250 connects to a third-party platform (…) via a general interface… Figure 2 When connected (not shown in the diagram), the data center 250 sends power consumption data and environmental data to a third-party platform, and / or the data center 250 receives energy-saving control strategies or control commands sent by the third-party platform. In this way, in addition to the channels shown in the hardware deployment diagram above, such as the web-based control terminal / mobile application control terminal, a common interface can be exposed for third-party platforms (existing smart home systems) to access, thereby improving the user experience and avoiding the need to install / open multiple different smart home systems.
[0064] Data center 250 also needs to store environmental data and power consumption data on the blockchain. Since blockchain 260 is tamper-proof, once environmental data and power consumption data are stored, they are hard to deny, and the smart socket 230 and sensor 220 that provided the information can be traced through the above signature.
[0065] Companies already exist that provide energy-saving control solutions for independent air conditioners 210. However, these companies face a significant problem with their business models: their energy-saving effects may be questionable. Users of the independent air conditioner 210 may attribute the energy savings to the air conditioner itself rather than the energy-saving control solution. In other words, under traditional business models, companies providing energy-saving control solutions find it difficult to demonstrate their superiority to customers. Therefore, conventional energy-saving control solutions struggle to quantitatively and reliably measure their effectiveness. In this application, the gateway 240, sensor 220, and smart socket 230 can all be trusted and traceable through a DID mechanism. The stored environmental and power consumption data are stable, verifiable, and tamper-proof. Therefore, the deployer of the independent air conditioner control system can use this data to clearly demonstrate the product's advantages and superiority to customers, thereby gaining greater room for profit negotiation. This not only improves the revenue of individual deployers on a micro level but also promotes market transparency, improves the competitive environment, and advances the overall low-carbon energy-saving process.
[0066] Please refer to Figure 3 It illustrates a flowchart of a blockchain-based independent air conditioning control method according to an embodiment of this application, which can be applied to [various applications including...]. Figure 1In the illustrated independent air conditioning control system, the blockchain-based independent air conditioning control method may include:
[0067] Step 301: The blockchain assigns a first DID to the smart socket, a second DID to the gateway, and a third DID to the sensor.
[0068] When implementing the blockchain-based independent air conditioning control method for the first time, that is, before the blockchain has assigned the first DID to the smart socket, the second DID to the gateway, and the third DID to the sensor, step 301 needs to be executed; when implementing the blockchain-based independent air conditioning control method for the second time, that is, after the blockchain has assigned the first DID to the smart socket, the second DID to the gateway, and the third DID to the sensor, step 302 is executed directly.
[0069] Smart sockets, gateways, and sensors need to be registered on the blockchain, which can assign DIDs to each device. For ease of distinction, in this embodiment, the DID of the smart socket is referred to as the first DID, the DID of the gateway as the second DID, and the DID of the sensor as the third DID.
[0070] Specifically, smart sockets register their identities on the blockchain, which then tests their accuracy and stability. Upon passing the test, the blockchain assigns a first DID to the smart socket. Gateways register their identities on the blockchain, which then assigns a second DID to the gateway. Sensors register their identities on the blockchain, which then tests their accuracy and stability. Upon passing the test, the blockchain assigns a third DID to the sensor.
[0071] In this embodiment, only smart sockets and sensors that have passed the accuracy and stability tests can be assigned DIDs, and only data with reliable DID signatures can be uploaded to the blockchain as legitimate data for evidence storage. In this way, the data uploaded to the blockchain must come from the end devices that have passed the accuracy and stability tests, thereby further ensuring the authenticity of the returned data.
[0072] Step 302: The data center generates control commands based on the preset energy-saving control strategy and sends the control commands to the smart socket through the gateway.
[0073] Energy-saving control strategies can be set and stored in the data center according to the user's actual needs. For ease of understanding, several energy-saving control strategies are introduced below.
[0074] Batch control strategy: Set the on / off status, temperature, and mode of individual air conditioners in batches according to floors or zones;
[0075] Time-based disabling policy: Independent air conditioners are prohibited from use during transitional seasons or designated time periods;
[0076] Quota control strategy: Pre-allocated power consumption quotas can be set, and independent air conditioners that consume power up to the threshold will be alarmed or disabled;
[0077] Timed control strategy: The independent air conditioner is automatically timed according to the schedule to avoid leaving it on when people leave, and also to avoid damage to the independent air conditioner caused by directly cutting off the circuit breaker;
[0078] Temperature restriction strategy: Restrict the set temperature of individual air conditioners according to the unit's management requirements;
[0079] Linkage control strategy: Set the execution status of other strategies based on local temperature, humidity, etc.
[0080] In addition to the energy-saving control strategies mentioned above, other energy-saving control strategies can also be set, which are not limited in this embodiment.
[0081] Step 303: The smart socket controls the operation of the independent air conditioner according to the control command.
[0082] Step 304: The smart socket monitors the power consumption data of the independent air conditioner, signs the power consumption data using the first DID, and sends it to the gateway; the gateway signs the signed power consumption data using the second DID and sends it to the data center; the data center verifies the signature of the power consumption data and stores it on the blockchain.
[0083] The smart socket can periodically acquire power consumption data from an independent air conditioner. Each time power consumption data is acquired, the smart socket signs the data using the private key in its first DID (Digital ID), and sends the resulting first signature, power consumption data, and first DID identifier to the gateway. The gateway signs the received information using the private key in its second DID, and sends the resulting second signature and second DID identifier to the data center. The data center looks up the public key of the second DID based on the second DID identifier, verifies the second signature using the public key, and after successful verification, looks up the public key of the first DID based on the first DID identifier, verifies the first signature using the public key, and then stores the power consumption data and first DID identifier on the blockchain for evidence.
[0084] Step 305: The sensor collects environmental data in the space where the independent air conditioner is located, signs the environmental data using the third DID, and sends it to the gateway; the gateway signs the signed environmental data using the second DID and sends it to the data center; the data center stores the environmental data on the blockchain after verifying the signature.
[0085] Sensors periodically acquire environmental data within the space where an independent air conditioner is located. Each time environmental data is acquired, the sensor signs the data using the private key in the third DID and sends the resulting third signature, the environmental data, and the third DID identifier to the gateway. The gateway signs the received information using the private key in the second DID and sends the resulting fourth signature and the second DID identifier to the data center. The data center looks up the public key of the second DID based on the second DID identifier, verifies the fourth signature using the public key, and after successful verification, looks up the public key of the third DID based on the third DID identifier, verifies the third signature using the public key, and then stores the environmental data and the third DID identifier on the blockchain for evidence.
[0086] When the energy-saving control strategy is a linkage control strategy, the data center can also update the control instructions based on environmental data and the energy-saving control strategy, and send the updated control instructions to the smart socket through the gateway; the smart socket controls the operation of the independent air conditioner according to the updated control instructions.
[0087] In addition to adjusting the independent air conditioners according to the energy-saving control scheme mentioned above, this embodiment can also perform fault diagnosis on the independent air conditioners. Specifically, the data center generates theoretical environmental data according to control commands; the data center calculates the difference between the theoretical environmental data and the received environmental data; if the difference exceeds a predetermined threshold, the data center generates fault information for the independent air conditioner. For example, if the outlet air temperature is too high during cooling, it may be due to insufficient refrigerant leading to low cooling efficiency, and fault information indicating insufficient cooling capacity can be generated.
[0088] In this embodiment, because smart contracts are deployed on the blockchain, and both environmental data reflecting cooling / heating effects and power consumption data reflecting energy-saving effects are stored on the blockchain, payment / revenue sharing logic can be pre-deployed in the smart contracts based on the results of business negotiations. This allows for automatic completion of payment and revenue sharing processes when both cooling / heating and energy-saving effects are sufficiently good. Specifically, the smart contract can generate the amount to be transferred based on the power consumption data and the effects achieved by the environmental parameters; it can then call the transfer logic within the smart contract to transfer the amount from the user's on-chain account to the deployer's on-chain account of the independent air conditioning control system. The effects include both cooling / heating performance and energy-saving performance.
[0089] The following example, taking the achievement of the same cooling / heating effect, compares the energy-saving effect of the independent air conditioning control scheme provided in this embodiment with that of independent air conditioning control schemes provided by related technologies. Specifically, the smart contract acquires environmental data and power consumption data collected simultaneously; the smart contract acquires reference data stored corresponding to the environmental data, which is the power consumption data when adjusting the operating parameters of the independent air conditioner based on the temperature, humidity, and cooling / heating characteristics of the space where the independent air conditioner is located; the smart contract subtracts the reference data from the power consumption data to obtain the effect achieved by the power consumption data and environmental parameters.
[0090] The reference data may be historical power consumption data obtained after adopting an independent air conditioning control scheme provided by the relevant technology, or it may be test power consumption data obtained by an independent air conditioning manufacturer after adopting an independent air conditioning control scheme provided by the relevant technology.
[0091] In this way, by obtaining power consumption data and reference data under the same environmental conditions, where the reference data is power consumption data measured using an independent air conditioning control scheme in related technologies, the power consumption data can be subtracted from the reference data to obtain the effect achieved by the power consumption data and environmental parameters. That is, the energy-saving effect of the independent air conditioning control scheme of this application compared with the independent air conditioning control scheme in related technologies can be intuitively obtained, thus demonstrating the superiority of the independent air conditioning control scheme of this application.
[0092] When determining the amount to be transferred, the smart contract can obtain a preset amount when it determines that power consumption data and environmental parameters have reached a preset effect. For example, the preset effect may be that cooling reaches a preset temperature value and power saving reaches a preset power value, and the preset amount to be transferred is a fixed value. When the smart contract determines that power saving has reached the preset power value and cooling has reached the preset temperature value based on power consumption data, it determines that the power consumption data and environmental parameters have reached the preset effect and sets this fixed value as the amount to be transferred. When it determines that the power consumption data and environmental parameters have not reached the preset effect, the automatic payment and revenue sharing process is not triggered.
[0093] When determining the amount to be transferred, the smart contract can also obtain a preset reward and penalty strategy, which includes the amount to be transferred corresponding to different levels of effectiveness. The smart contract determines the level of effectiveness achieved by power consumption data and environmental parameters, and obtains the corresponding amount to be transferred from the reward and penalty strategy according to the level. Specifically, tiered reward / betting agreements can be set for cooling / heating effects and energy-saving effects. For example, additional rewards can be given to the deployment party after the power saving exceeds a certain percentage, and a portion of the solution fee can be deducted if the preset power saving value is not reached, etc.
[0094] In summary, the blockchain-based independent air conditioning control method provided in this application ensures the trustworthiness and traceability of gateways, sensors, and smart sockets through the DID mechanism. Furthermore, the stored environmental and power consumption data are stable, verifiable, and tamper-proof. Therefore, the deployer of the independent air conditioning control system can leverage this data to clearly demonstrate the advantages and superiority of their products to customers, thereby gaining greater room for profit negotiation. This not only improves the revenue of individual deployers on a micro level but also promotes market transparency, improves the competitive environment, and advances the overall low-carbon and energy-saving process on a macro level.
[0095] By acquiring power consumption data and reference data under the same environmental conditions, where the reference data is power consumption data measured using an independent air conditioning control scheme in related technologies, the power consumption data can be subtracted from the reference data to obtain the effect achieved by the power consumption data and environmental parameters. In other words, the energy-saving effect of the independent air conditioning control scheme of this application compared to independent air conditioning control schemes in related technologies can be directly observed, thus demonstrating the superiority of the independent air conditioning control scheme of this application.
[0096] Please refer to Figure 2 The diagram illustrates a structural block diagram of a blockchain-based independent air conditioning control system provided in one embodiment of this application. The blockchain-based independent air conditioning control system may include at least one independent air conditioner 210, at least one sensor 220, a smart socket 230, a gateway 240, a data center 250, and a blockchain 260. The blockchain 260 has assigned a first DID to the smart socket 230, a second DID to the gateway 240, and a third DID to the sensor 220.
[0097] Data center 250 is used to generate control commands according to preset energy-saving control strategies and send the control commands to smart socket 230 through gateway 240;
[0098] The smart socket 230 is used to control the operation of the independent air conditioner 210 according to control commands;
[0099] The smart socket 230 is also used to monitor the power consumption data of the independent air conditioner 210. After signing the power consumption data with the first DID, it is sent to the gateway 240. The gateway 240 is used to sign the signed power consumption data with the second DID and send it to the data center 250. The data center 250 is also used to upload the power consumption data to the blockchain for evidence storage after the signature verification is passed.
[0100] Sensor 220 is used to collect environmental data in the space where the independent air conditioner 210 is located. After signing the environmental data with a third DID, it is sent to the gateway 240. The gateway 240 is also used to sign the signed environmental data with a second DID and send it to the data center 250. The data center 250 is also used to store the environmental data on the blockchain after the signature verification is passed.
[0101] In an optional embodiment, the data center 250 is also configured to update control commands based on environmental data and energy-saving control strategies, and send the updated control commands to the smart socket 230 via the gateway 240.
[0102] The smart socket 230 is also used to control the operation of the independent air conditioner 210 according to the updated control instructions.
[0103] In an optional embodiment, data center 250 is further configured to:
[0104] Generate theoretical environment data based on control commands;
[0105] Calculate the difference between the theoretical environmental data and the received environmental data;
[0106] If the difference exceeds a predetermined threshold, fault information for independent air conditioner 210 will be generated.
[0107] In an optional embodiment,
[0108] The smart socket 230 is also used for identity registration on the blockchain 260. The blockchain 260 is also used to test the accuracy and stability of the smart socket 230. After the test is passed, the smart socket 230 is assigned a first DID.
[0109] Gateway 240 is also used for identity registration on blockchain 260, which is also used to assign a second DID to gateway 240.
[0110] Sensor 220 is also used for identity registration on blockchain 260. Blockchain 260 is also used to test the accuracy and stability of sensor 220 and assign a third DID to sensor 220 after the test is passed.
[0111] In an optional embodiment,
[0112] When the data center 250 is connected to the control terminal 270 through a dedicated interface, the data center 250 is also used to send power consumption data and environmental data to the control terminal 270, and / or the data center 250 is also used to receive energy-saving control strategies or control instructions sent by the control terminal 270, which is an application control terminal or a web control terminal.
[0113] When Data Center 250 connects to a third-party platform via a common interface ( Figure 2 When connected (not shown), the data center 250 is also used to send power consumption data and environmental data to a third-party platform, and / or the data center 250 is also used to receive energy-saving control strategies or control instructions sent by the third-party platform.
[0114] In an optional embodiment, a smart contract is deployed on the blockchain 260, which generates the amount to be transferred based on the effect achieved by power consumption data and environmental parameters.
[0115] Blockchain 260 is also used to invoke the transfer logic in the smart contract so that the on-chain account of the user of the independent air conditioner 210 can transfer the amount to the on-chain account of the deployer of the independent air conditioner control system.
[0116] In an optional embodiment, the smart contract is also used for:
[0117] Acquire simultaneously collected environmental data and power consumption data;
[0118] The intelligent system acquires and stores reference data corresponding to environmental data. The reference data is the power consumption data when adjusting the operating parameters of the independent air conditioner 210 based on the temperature, humidity and cooling / heating characteristics of the space where the independent air conditioner 210 is located.
[0119] Subtracting the reference data from the power consumption data yields the effect achieved by the power consumption data and environmental parameters.
[0120] In an optional embodiment, the smart contract is also used for:
[0121] Once the power consumption data and environmental parameters meet the preset requirements, obtain the preset amount to be transferred; or,
[0122] The system retrieves a preset reward and punishment strategy, which includes the amount to be transferred corresponding to different levels of effect. The smart contract determines the level of effect achieved by the power consumption data and environmental parameters, and retrieves the corresponding amount to be transferred from the reward and punishment strategy based on the level.
[0123] In summary, the blockchain-based independent air conditioning control system provided in this application embodiment ensures the trustworthiness and traceability of gateways, sensors, and smart sockets through the DID mechanism. Furthermore, the stored environmental and power consumption data are stable, verifiable, and tamper-proof. Therefore, the deployer of the independent air conditioning control system can leverage this data to clearly demonstrate the advantages and superiority of their products to customers, thereby gaining greater room for profit negotiation. This not only improves the revenue of individual deployers on a micro level but also promotes market transparency, improves the competitive environment, and advances the overall low-carbon and energy-saving process on a macro level.
[0124] By acquiring power consumption data and reference data under the same environmental conditions, where the reference data is power consumption data measured using an independent air conditioning control scheme in related technologies, the power consumption data can be subtracted from the reference data to obtain the effect achieved by the power consumption data and environmental parameters. In other words, the energy-saving effect of the independent air conditioning control scheme of this application compared to independent air conditioning control schemes in related technologies can be directly observed, thus demonstrating the superiority of the independent air conditioning control scheme of this application.
[0125] One embodiment of this application provides a computer-readable storage medium storing at least one instruction, which is loaded and executed by a processor to implement the blockchain-based independent air conditioning control method described above.
[0126] One embodiment of this application provides a computer device including a processor and a memory, wherein the memory stores at least one instruction, which is loaded and executed by the processor to implement the blockchain-based independent air conditioning control method described above.
[0127] It should be noted that the blockchain-based independent air conditioning control system provided in the above embodiments is only illustrated by the division of the above functional modules. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the blockchain-based independent air conditioning control system can be divided into different functional modules to complete all or part of the functions described above. Furthermore, the blockchain-based independent air conditioning control system and the blockchain-based independent air conditioning control method embodiments belong to the same concept, and their specific implementation process is detailed in the method embodiments, which will not be repeated here.
[0128] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.
[0129] The above description is not intended to limit the embodiments of this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the embodiments of this application should be included within the protection scope of the embodiments of this application.
Claims
1. A blockchain-based independent air conditioning control method, characterized in that, For use in an independent air conditioning control system including at least one independent air conditioner, at least one sensor, a smart socket, a gateway, a data center, and a blockchain, wherein the blockchain has assigned a first DID to the smart socket, a second DID to the gateway, and a third DID to the sensor; the method includes: The data center generates control commands according to a preset energy-saving control strategy and sends the control commands to the smart socket through the gateway; The smart socket controls the operation of the independent air conditioner according to the control command; The smart socket monitors the power consumption data of the independent air conditioner, signs the power consumption data using the first DID, and sends it to the gateway; the gateway signs the signed power consumption data using the second DID and sends it to the data center; the data center stores the power consumption data on the blockchain after verifying the signature. The sensor collects environmental data within the space where the independent air conditioner is located, signs the environmental data using the third DID, and sends it to the gateway; the gateway signs the signed environmental data using the second DID and sends it to the data center; the data center stores the environmental data on the blockchain after verifying the signature. The blockchain is deployed with smart contracts, and the method further includes: the smart contract generating a transferable amount based on the effect achieved by the power consumption data and the environmental data, wherein the effect achieved by the power consumption data and the environmental data refers to subtracting reference data from the power consumption data, and the reference data is the power consumption data when adjusting the operating parameters of the independent air conditioner based on the temperature, humidity and cooling / heating characteristics of the space where the independent air conditioner is located; and invoking the transfer logic in the smart contract to transfer the amount from the on-chain account of the user of the independent air conditioner to the on-chain account of the deployer of the independent air conditioner control system.
2. The blockchain-based independent air conditioning control method according to claim 1, characterized in that, The method further includes: The data center updates the control command based on the environmental data and the energy-saving control strategy, and sends the updated control command to the smart socket through the gateway; The smart socket controls the operation of the independent air conditioner according to the updated control instructions.
3. The blockchain-based independent air conditioning control method according to claim 1, characterized in that, The method further includes: The data center generates theoretical environmental data according to the control instructions; The data center calculates the difference between the theoretical environmental data and the received environmental data; If the difference exceeds a predetermined threshold, the data center generates fault information for the independent air conditioner.
4. The blockchain-based independent air conditioning control method according to claim 1, characterized in that, The method further includes: The smart socket registers its identity on the blockchain, and the blockchain tests the accuracy and stability of the smart socket. After the test is passed, the blockchain assigns a first DID to the smart socket. The gateway registers its identity on the blockchain, and the blockchain assigns a second DID to the gateway. The sensor registers its identity on the blockchain, which tests the accuracy and stability of the sensor and assigns a third DID to the sensor after the test is passed.
5. The blockchain-based independent air conditioning control method according to claim 1, characterized in that, The method further includes: When the data center is connected to the control terminal via a dedicated interface, the data center sends the power consumption data and the environmental data to the control terminal, and / or the data center receives the energy-saving control strategy or the control command sent by the control terminal, wherein the control terminal is an application control terminal or a web control terminal; When the data center is connected to a third-party platform via a general interface, the data center sends the power consumption data and the environmental data to the third-party platform, and / or the data center receives the energy-saving control strategy or the control command sent by the third-party platform.
6. The blockchain-based independent air conditioning control method according to claim 1, characterized in that, The method further includes: The smart contract acquires environmental data and power consumption data collected simultaneously. The smart contract acquires reference data stored corresponding to the environmental data; The smart contract subtracts the reference data from the power consumption data to obtain the effect achieved by the power consumption data and the environmental data.
7. The blockchain-based independent air conditioning control method according to claim 1, characterized in that, The smart contract generates the amount to be transferred based on the effect achieved by the power consumption data and the environmental data, including: When the smart contract determines that the power consumption data and the environmental data have reached a preset effect, it obtains a preset amount to be transferred; or, The smart contract obtains a preset reward and punishment strategy, which includes the amount to be transferred corresponding to different levels of effect; the smart contract determines the level of effect achieved by the power consumption data and the environmental data, and obtains the corresponding amount to be transferred from the reward and punishment strategy according to the level.
8. A blockchain-based independent air conditioning control system, characterized in that, The independent air conditioning control system includes at least one independent air conditioner, at least one sensor, a smart socket, a gateway, a data center, and a blockchain, wherein the blockchain has assigned a first DID to the smart socket, a second DID to the gateway, and a third DID to the sensor; The data center is used to generate control commands according to a preset energy-saving control strategy, and send the control commands to the smart socket through the gateway; The smart socket is used to control the operation of the independent air conditioner according to the control command; The smart socket is also used to monitor the power consumption data of the independent air conditioner, and to sign the power consumption data using the first DID and send it to the gateway; the gateway is used to sign the signed power consumption data using the second DID and send it to the data center; the data center is also used to upload the power consumption data to the blockchain for evidence storage after the signature verification is passed. The sensor is used to collect environmental data within the space where the independent air conditioner is located, and signs the environmental data using the third DID before sending it to the gateway; the gateway is also used to sign the signed environmental data using the second DID before sending it to the data center; the data center is also used to upload the environmental data to the blockchain for evidence storage after the signature verification is passed. The blockchain is deployed with a smart contract, which generates a transferable amount based on the effect achieved by the power consumption data and the environmental data. The effect achieved by the power consumption data and the environmental data refers to subtracting reference data from the power consumption data. The reference data is the power consumption data when adjusting the operating parameters of the independent air conditioner based on the temperature, humidity, and cooling / heating characteristics of the space where the independent air conditioner is located. The blockchain is also used to call the transfer logic in the smart contract to transfer the amount from the on-chain account of the user of the independent air conditioner to the on-chain account of the deployer of the independent air conditioner control system.
9. A computer-readable storage medium, characterized in that, The storage medium stores at least one instruction, which is loaded and executed by a processor to implement the blockchain-based independent air conditioning control method as described in any one of claims 1 to 7.
10. A computer device, characterized in that, The computer device includes a processor and a memory, the memory storing at least one instruction, which is loaded and executed by the processor to implement the blockchain-based independent air conditioning control method as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Energy-saving household control system
CN104932283A
Air conditioner control system based on block chain
CN110578995A
Block chain-based power generation data management method and intelligent power grid system
CN114399389A