Distributed energy transaction system and method based on block chain

Through a distributed energy trading system based on blockchain, the shortcomings of energy use monitoring and management in the existing technology are solved, and the electricity consumption planning and recommendations for saving electricity are realized, and users' understanding of household electricity consumption and management efficiency are improved.

CN120219078AInactive Publication Date: 2025-06-27CHENYANG DUOYIJIN TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510380734.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-28
Publication Date
2025-06-27
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing technology is difficult to effectively monitor and manage energy use, cannot warning for abnormal behaviors in advance, and lacks a recommendation mechanism for power consumption planning and saving electricity.

Method used

A distributed energy trading system based on blockchain is adopted, and a P2P alliance chain is established by collecting energy consumption unit information, registering energy consumption account terminals and sales terminals, and energy consumption transactions are carried out based on smart contracts, and energy consumption prediction event database is formulated, energy consumption data is monitored and analyzed in real time, and electricity consumption packages and adjustment suggestions are recommended.

Benefits of technology

Real-time monitoring and analysis of energy use is realized, abnormal behaviors are warned in advance, and electricity planning and recommendations for saving electricity are provided, so as to improve users' understanding and management efficiency of household electricity consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120219078A_ABST
    Figure CN120219078A_ABST
Patent Text Reader

Abstract

The invention discloses a distributed energy transaction system and method based on a block chain, and relates to the technical field of energy transaction, information of a plurality of energy consumption units is collected, the information of a single energy consumption unit comprises energy consumption position information, energy consumption data and power consumption interface information in an energy consumption position, and monitoring information of energy consumption data is collected; data binding is carried out between the monitoring information and the nodes, an energy consumption prediction event database is formulated, current energy consumption data in an energy consumption position in a time period is collected, event prediction information corresponding to the current energy consumption data which does not conform to a preset condition is searched to obtain prompt information, and energy consumption trend information corresponding to an energy consumption account end is obtained. And recommending the power utilization information to the energy utilization account end according to the power utilization characteristic information. According to the method, the power utilization package can be selected according to needs, reasonable planning of household power utilization can be facilitated, meanwhile, whether the power utilization package has the effect of saving electric energy or not is checked, and meanwhile, prompting is carried out.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of energy trading, and particularly to a distributed energy trading system and method based on blockchain. Background Art

[0002] With the development of society, the diversification and distribution of energy have increased the difficulty of energy trading. Among them, electric energy, water energy and gas are essential energies in contemporary society, and the use of this energy in households requires transaction processing. In the existing technology, it is difficult to monitor the energy-counting dials, and they cannot serve as a reminder when abnormal behaviors occur. Moreover, during the process of energy management, the prediction information that may exist in energy use cannot be prompted for users to view. In addition, it is impossible to recommend a suitable package for users according to their electricity usage habits and make an electricity usage adjustment recommendation based on the package, without an effective electricity usage planning function. Summary of the Invention

[0003] The purpose of the present invention is to provide a distributed energy trading system and method based on blockchain to solve the deficiencies in the background art.

[0004] To achieve the above purpose, the present invention provides the following technical solution: A distributed energy trading method based on blockchain, including the following steps:

[0005] Collect information of several energy-consuming units. Among them, the information of a single energy-consuming unit includes energy-consuming location information, energy-consuming data in the energy-consuming location and power consumption interface information. Register an energy-consuming account terminal according to the energy-consuming unit information. Each energy-consuming account terminal corresponds to a server and serves as a node. Collect information of energy-selling entities and register a selling terminal. Each selling terminal corresponds to a server and serves as a node. Establish an alliance among several nodes through the P2P protocol to obtain a blockchain, and establish transactions between nodes based on the smart contract of the blockchain;

[0006] Collect monitoring information of energy usage data, bind the monitoring information with the data between nodes, and use the monitoring information that meets the warning information as a warning message and send it to the selling terminal;

[0007] Formulate an energy usage prediction event database, where the energy usage prediction event database includes preset conditions of energy-consuming data in the energy-consuming location and event prediction information formulated corresponding to the preset conditions;

[0008] Collect the current energy-consuming data in the energy-consuming location within a period of time, find the event prediction information corresponding to the current energy-consuming data that does not meet the preset conditions to obtain a prompt message, and send the prompt message to the energy-consuming account terminal;

[0009] Obtain the energy usage trend information corresponding to the energy-consuming account terminal, where the energy usage trend information includes energy-consuming time and data corresponding to the energy-consuming time, and obtain the energy usage characteristic information of the energy-consuming account terminal according to the energy usage trend information;

[0010] Recommend electricity usage information to the energy consumption account terminal according to the electricity consumption characteristic information, where the electricity usage information includes an electricity usage package and electricity adjustment advice information, and obtain the energy consumption unit information electricity improvement index according to the electricity usage information.

[0011] In a preferred embodiment, collect energy consumption location information and register the energy consumption account terminal according to the energy consumption location information, where the energy consumption account terminal establishes a data connection with multiple user mobile terminals;

[0012] Obtain the electricity interface information in the energy consumption location, where the electricity interface information is divided into a fixed electricity interface and a random electricity interface, and monitor the electricity data of the electricity interface information respectively;

[0013] Collect the energy consumption data in the energy consumption account terminal, where the energy consumption data in the energy consumption account terminal includes electricity data, water data and gas data, and obtain the energy consumption unit information according to the energy consumption account terminal, the energy consumption data in the energy consumption account terminal and the electricity interface information.

[0014] In a preferred embodiment, collect energy selling entity information and register the selling end according to the energy selling entity information. The selling end corresponds to a server and serves as a node;

[0015] Obtain the energy consumption unit information, and the energy consumption account terminal corresponds to a server and serves as a node;

[0016] Establish an alliance among several nodes through the P2P protocol to obtain a blockchain;

[0017] Formulate an intelligent contract between the selling end and the energy consumption account terminal, and establish an energy transaction between the selling end and the energy consumption account terminal based on the intelligent contract.

[0018] In a preferred embodiment, collect the monitoring information of the energy usage data, where the monitoring information includes an energy usage collection unit and a monitoring unit, and there is a corresponding relationship between the energy usage collection unit and the monitoring unit;

[0019] Grant an identity number to the energy usage collection unit, and bind the energy usage collection unit identity number to the energy consumption account terminal node data;

[0020] Grant an identity number to the monitoring unit, and bind the monitoring unit identity number to the selling end node data;

[0021] Formulate warning information, where the warning information includes a warning image and a warning time, obtain monitoring data according to the monitoring information, where the monitoring data includes the monitoring information that meets the warning information as warning information, and send the warning information to the selling end as a prompt.

[0022] In a preferred embodiment, the peak value of the electricity consumption data at the energy consumption location is collected, and the electricity consumption data based on the fixed electricity interface is used as the valley value of the electricity consumption data. Among them, the peak value and the valley value of the electricity consumption data are used as the preset conditions for the electricity consumption data, and the event prediction information that may exist when the electricity consumption data at the energy consumption location exceeds the preset conditions of the electricity consumption data is formulated;

[0023] Taking the duration of water use at the energy consumption location as the preset condition for the water consumption data, formulating the event prediction information that may exist when the water consumption data at the energy consumption location exceeds the preset conditions of the water consumption data;

[0024] Taking the duration of gas use at the energy consumption location as the preset condition for the gas consumption data, formulating the event prediction information that may exist when the gas consumption data at the energy consumption location exceeds the preset conditions of the gas consumption data.

[0025] In a preferred embodiment, the current energy consumption data at the energy consumption location within a period is collected, and the energy use status of the energy consumption location is judged based on the preset conditions and the current energy consumption data. Among them, the energy use status includes the normal status and the abnormal status;

[0026] The current electricity consumption data that does not meet the preset conditions is in an abnormal state. If the energy use status is in an abnormal state, the event prediction information formulated according to the preset conditions is searched in the electricity consumption preset event database, and the current energy consumption data and the event prediction information are sent to the energy consumption account terminal as prompt information.

[0027] In a preferred embodiment, the electricity consumption data of the energy consumption account terminal that meets the energy consumption preset condition information and the electricity consumption time corresponding to the electricity consumption data are used as the energy consumption trend information;

[0028] The adjacent energy consumption trend information that meets the preset time interval is bound to obtain the energy consumption characteristic information.

[0029] In a preferred embodiment, an electricity consumption package is recommended according to the electricity consumption time of the electricity consumption characteristic information, where the electricity consumption package includes the package time and the package price;

[0030] The electricity consumption characteristic information that does not meet the package time is obtained as the target adjustment information, the on-demand electricity interface corresponding to the target adjustment information is obtained based on the electricity interface information as the adjustment interface, and the use time of the adjustment interface is recommended within the package time as the electricity consumption adjustment suggestion information;

[0031] The change in electricity consumption is obtained based on the comparison value between the electricity consumption of the electricity consumption characteristic information and the electricity consumption of the energy consumption account terminal after the actual electricity consumption use information, and the electricity consumption improvement index is obtained according to the change in electricity consumption;

[0032] The electricity consumption improvement index that meets the improvement preset conditions is obtained as the qualified index, and the saved electricity consumption data is prompted to the energy consumption account terminal.

[0033] The present invention also provides a distributed energy trading system based on a blockchain, including:

[0034] A first acquisition module, configured to acquire information of a plurality of energy-consuming units. Among them, the information of a single energy-consuming unit includes energy-consuming location information, energy-consuming data in the energy-consuming location, and power consumption interface information. An energy-consuming account terminal is registered according to the information of the energy-consuming units. One server corresponds to the energy-consuming account terminal and serves as a node. Information of an energy-selling entity is acquired and a selling terminal is registered. One server corresponds to the selling terminal and serves as a node. A consortium is established among a plurality of nodes through a P2P protocol to obtain a blockchain, and transactions between nodes are established based on a smart contract of the blockchain;

[0035] A second acquisition module, connected to the first acquisition module, is configured to acquire monitoring information of energy usage data, bind the monitoring information with data between nodes, use the monitoring information that meets the warning information as a warning message, and send it to the selling terminal;

[0036] A formulation module, connected to the second acquisition module, is configured to formulate an energy consumption prediction event database. Among them, the energy consumption prediction event database includes preset conditions of energy-consuming data in the energy-consuming location and event prediction information formulated corresponding to the preset conditions;

[0037] A third acquisition module, connected to the formulation module, is configured to acquire current energy-consuming data in the energy-consuming location within a period of time, find event prediction information corresponding to the current energy-consuming data that does not meet the preset conditions to obtain a prompt message, and send the prompt message to the energy-consuming account terminal;

[0038] An acquisition module, connected to the third acquisition module, is configured to acquire energy consumption trend information corresponding to the energy-consuming account terminal. Among them, the energy consumption trend information includes energy consumption time and data corresponding to the energy consumption time, and energy consumption characteristic information of the energy-consuming account terminal is obtained according to the energy consumption trend information;

[0039] A recommendation module, connected to the acquisition module, is configured to recommend power consumption usage information to the energy-consuming account terminal according to the power consumption characteristic information. Among them, the power consumption usage information includes a power consumption package and power consumption adjustment suggestion information, and an energy consumption improvement index of the energy-consuming unit information is obtained according to the power consumption usage information.

[0040] In the above technical solution, the technical effects and advantages provided by the present invention are:

[0041] 1. The present invention can help the selling end understand the situation of the dial, avoid personnel influencing the base number of the dial through some means and affecting the progress of the transaction, can obtain the electricity consumption situation, facilitate electricity conservation, can manage the energy consumption trend information in combination according to time intervals, facilitate the analysis of the energy consumption trend, can improve the time allocation of user electricity consumption, can improve the user's understanding of the electricity consumption of the household, can select an electricity consumption package according to needs, can help the household make a reasonable electricity consumption plan, and at the same time check whether there is an effect of saving electric energy through the electricity consumption package and give a prompt. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments recorded in the present invention. For those of ordinary skill in the art, other drawings can also be obtained according to these drawings.

[0043] Figure 1 It is a flowchart of the method of the present invention.

[0044] Figure 2 It is a system block diagram of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0045] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts fall within the scope of protection of the present invention.

[0046] Example 1. Please refer to Figure 1 As shown, a distributed energy trading method based on blockchain in this embodiment includes the following steps:

[0047] S1. Collect information of several energy-consuming units. Among them, the information of a single energy-consuming unit includes energy-consuming location information, energy-consuming data in the energy-consuming location, and power consumption interface information. Register an energy-consuming account end according to the energy-consuming unit information, with an energy-consuming account end corresponding to a server and serving as a node. Collect information of the energy selling entity and register the selling end. The selling end corresponds to a server and serves as a node. Establish an alliance among several nodes through the P2P protocol to obtain a blockchain, and establish transactions between nodes based on the smart contract of the blockchain.

[0048] In one embodiment, the step S1 of collecting information of a number of energy-consuming units, where the information of a single energy-consuming unit includes energy consumption location information, energy consumption data at the energy consumption location, and power consumption interface information, includes:

[0049] S111. Collect energy consumption location information, and register an energy consumption account terminal according to the energy consumption location information. Among them, the energy consumption account terminal establishes a data connection with multiple user mobile terminals;

[0050] S112. Obtain the power consumption interface information at the energy consumption location. Among them, the power consumption interface information is divided into a fixed power consumption interface and a temporary power consumption interface, and the power consumption data of the power consumption interface information is monitored respectively;

[0051] S113. Collect the energy consumption data in the energy consumption account terminal. Among them, the energy consumption data in the energy consumption account terminal includes power consumption data, water consumption data, and gas consumption data. The energy-consuming unit information is obtained according to the energy consumption account terminal, the energy consumption data in the energy consumption account terminal, and the power consumption interface information;

[0052] As described in the above steps S111 - S113, collect the energy consumption location information, and register an energy consumption account terminal according to the energy consumption location information. Among them, the energy consumption location information is the household number corresponding to the household location and the household head information, and the power consumption account terminal is registered with the household number and the household head information. An energy consumption account terminal can establish a data connection with multiple user mobile terminals, and multiple users can enter the energy consumption account terminal according to the household number and the household head information to view the power consumption data, water consumption data, and gas consumption data. For the power consumption data, it is necessary to collect the power consumption interface information at the energy consumption location, that is, the power consumption interface in the household. Among them, the power consumption interfaces of multiple electrical devices such as refrigerators and electric kettles for keeping warm are used as fixed power consumption interfaces, and other interfaces that are not powered on for a long time are used as temporary power consumption interfaces. At the same time, the power consumption data of each interface is monitored. After the registration of the energy consumption account terminal is established, the collected power consumption data, water consumption data, and gas consumption data are all synchronously updated to the energy consumption account terminal in real time. The energy-consuming unit information is obtained according to the energy consumption account terminal, the energy consumption data in the energy consumption account terminal, and the power consumption interface information, which can collect the energy usage in the family and display it through the energy consumption account terminal;

[0053] In one embodiment, the step S12 of corresponding an energy-consuming unit information to a server as a node, collecting energy selling entity information corresponding to a server as a node, and establishing an alliance among several nodes through the P2P protocol to obtain a blockchain, and establishing a transaction between nodes based on the smart contract of the blockchain, includes:

[0054] S121. Collect energy selling entity information, and register a selling end according to the energy selling entity information. The selling end corresponds to a server and serves as a node;

[0055] S122. Obtain the information of the energy-consuming unit, and correspond one server to the energy-using account side and use it as a node;

[0056] S123. Establish an alliance among several nodes through the P2P protocol to obtain a blockchain;

[0057] S124. Formulate a smart contract between the selling end and the energy-using account end, and establish an energy transaction between the selling end and the energy-using account end based on the smart contract;

[0058] As described in the above steps S121 - S124, collect the information of the energy selling entity. Among them, the energy selling entity information corresponds to three selling entities of electricity, water, and gas, and register to obtain the selling end. The selling end corresponds to one server and is used as a node. The energy-using account end corresponds to one server and is used as a node. Then the nodes are created. After that, an alliance can be established through the P2P protocol to obtain a blockchain. Since the transactions of the three selling entities of electricity, water, and gas are different, smart contracts need to be formulated separately. Then, based on the smart contracts, establish an energy transaction between the selling end and the energy-using account end. The energy-using account end can pay fees corresponding to the energy consumption data. Since the node alliance is established through the P2P protocol, data cannot be tampered with between each node, and it has good security;

[0059] S2. Collect the monitoring information of the energy usage data, bind the monitoring information with the data between nodes, use the monitoring information that meets the warning information as the warning message, and send it to the selling end;

[0060] In one embodiment, the step S2 of collecting the monitoring information of the energy usage data, binding the monitoring information with the data between nodes, using the monitoring information that meets the warning information as the warning message, and sending it to the selling end includes:

[0061] S21. Collect the monitoring information of the energy usage data. Among them, the monitoring information includes the energy usage collection unit and the monitoring unit, and there is a corresponding relationship between the energy usage collection unit and the monitoring unit;

[0062] S22. Grant an identity number to the energy usage collection unit, and bind the identity number of the energy usage collection unit with the node data of the energy-using account end;

[0063] S23. Grant an identity number to the monitoring unit, and bind the identity number of the monitoring unit with the node data of the selling end;

[0064] S24. Formulate warning information. Among them, the warning information includes a warning image and a warning time. Obtain the monitoring data according to the monitoring information. Among them, the monitoring data includes the monitoring information that meets the warning information as the warning message, and send the warning message to the selling end as a prompt;

[0065] As described in the above steps S21 - S23, monitor information of energy usage data is collected. For example, the monitor information of electricity usage data is the monitoring camera and electricity meter; the monitor information of water usage data is the monitoring camera and water meter; the monitor information of gas usage data is the monitoring camera and gas usage meter. All the above monitoring cameras are correspondingly set beside the dial for monitoring the dial to avoid any behavior of personnel affecting the dial reading. The monitoring unit and the energy usage collection unit are both assigned identity numbers and corresponding to each other. At the same time, the monitoring data of the monitoring unit is transmitted to the corresponding selling end for the selling end to manage, which can greatly improve the management of the dial, avoid any interference to the dial by personnel, and greatly improve the accuracy of energy usage data collection. The warning information includes a warning image and a warning time. The warning image is the situation of personnel touching the dial, and the warning time is the time when personnel touch the dial, both of which are recorded through monitoring. Then, the monitoring information that meets the warning information is used as a warning message, and the warning message is sent to the selling end as a prompt, which can help the selling end understand the situation of the dial, and can avoid personnel influencing the base number of the dial by some means and affecting the transaction;

[0066] S3. Develop an energy usage prediction event database, where the energy usage prediction event database includes preset conditions of energy usage data in the energy usage location and event prediction information formulated corresponding to the preset conditions;

[0067] In one embodiment, the step S3 of developing the energy usage prediction event database, where the energy usage prediction event database includes preset conditions of energy usage data in the energy usage location and event prediction information formulated corresponding to the preset conditions, includes:

[0068] S31. Collect the peak value of electricity usage data in the energy usage location, and use the electricity usage data based on the fixed electricity interface as the valley value of electricity usage data. Among them, the peak value and valley value of electricity usage data are used as the preset conditions of electricity usage data, and formulate event prediction information that may exist when the electricity usage data in the energy usage location exceeds the preset conditions of electricity usage data;

[0069] S32. Use the duration of water usage in the energy usage location as the preset condition of water usage data, and formulate event prediction information that may exist when the water usage data in the energy usage location exceeds the preset conditions of water usage data;

[0070] S33. Use the duration of gas usage in the energy usage location as the preset condition of gas usage data, and formulate event prediction information that may exist when the gas usage data in the energy usage location exceeds the preset conditions of gas usage data;

[0071] As described in the above steps S31 - S33, a database for energy consumption prediction events is formulated, and settings are made one by one in the order of electricity, water, and gas. For electricity, it is formulated for any one energy consumption account terminal. For water and gas, several energy consumption account terminals are unified. The peak value of electricity consumption data in the energy consumption location is collected, and the electricity consumption data based on the fixed electricity interface is used as the valley value of electricity consumption data. The valley value and the peak value are used as the preset conditions for electricity consumption data. The electricity consumption data of the energy consumption account terminal is monitored. When it is lower than the preset conditions of the electricity consumption data, there may be a situation where the electrical equipment with a fixed electricity interface is accidentally turned off, which may affect the user's life. When it exceeds the preset conditions of the electricity consumption data, there may be a leakage situation or an unreasonable electricity consumption situation, which will also increase the user's electricity consumption. It is impossible to know the electricity consumption situation, and it is difficult to save electricity;

[0072] S4. Collect the current energy consumption data in the energy consumption location within a period of time, find the event prediction information corresponding to the current energy consumption data that does not meet the preset conditions to obtain a prompt message, and send the prompt message to the energy consumption account terminal;

[0073] In one embodiment, the step S4 of collecting the current energy consumption data in the energy consumption location within a period of time, finding the event prediction information corresponding to the current energy consumption data that does not meet the preset conditions to obtain a prompt message, and sending the prompt message to the energy consumption account terminal includes:

[0074] S41. Collect the current energy consumption data in the energy consumption location within a period of time, and judge the energy usage status of the energy consumption location based on the preset conditions and the current energy consumption data. Among them, the energy usage status includes a normal status and an abnormal status;

[0075] S42. The current electricity consumption data that does not meet the preset conditions is in an abnormal status. If the energy usage status is in an abnormal status, then find the event prediction information formulated corresponding to the preset conditions based on the electricity consumption preset event database, and send the current energy consumption data and the event prediction information as a prompt message to the energy consumption account terminal;

[0076] As described in the above steps S41 and S42, collect the current energy consumption data in the energy consumption location within a period of time. For example, take one month or one week as a period, collect the current electricity consumption data within this period, compare the current electricity consumption data with the preset conditions, and obtain the current electricity consumption data that does not meet the preset conditions. It is possible to know the energy usage status. The current electricity consumption data that does not meet the preset conditions is in an abnormal status. If the energy usage status is in an abnormal status, find the corresponding event prediction information, and then jointly prompt the event prediction information and the current energy consumption data to the energy consumption account terminal for the user to understand, avoiding the bad experience brought to the user by abnormal energy consumption data, and having a good role in monitoring and predicting energy consumption data;

[0077] S5. Obtain the energy consumption trend information corresponding to the energy consumption account terminal, where the energy consumption trend information includes the energy consumption time and the data corresponding to the energy consumption time, and obtain the energy consumption characteristic information of the energy consumption account terminal according to the energy consumption trend information;

[0078] In one embodiment, step S5 of obtaining the energy consumption trend information corresponding to the energy consumption account terminal, where the electricity consumption trend information includes the energy consumption time and the data corresponding to the energy consumption time, and obtaining the energy consumption characteristic information of the energy consumption account terminal according to the energy consumption trend information includes:

[0079] S51. Take the electricity consumption data of the energy consumption account terminal that meets the energy consumption preset condition information and the electricity consumption time corresponding to the electricity consumption data as the energy consumption trend information;

[0080] S52. Bind adjacent energy consumption trend information that meets the preset time interval to obtain the energy consumption characteristic information;

[0081] As described in steps S51 and S52 above, in an energy consumption location, its electricity consumption data has a certain regularity. For example, the electricity consumption data is concentrated in certain time periods. Take the energy consumption data that meets the energy consumption preset condition information and the time corresponding to the energy consumption data as the energy consumption trend information. Generally, there are multiple energy consumption trend information. Take multiple energy consumption trend information that meets the preset time interval as the energy consumption characteristic information. For example, if the time interval between the times of adjacent energy consumption trend information meets the preset time interval, then take the adjacent multiple energy consumption trend information as the energy consumption characteristic information. There can be multiple energy consumption characteristic information. The energy consumption characteristic information is to aggregate independent multiple energy consumption trend information through the preset time interval, which can manage the energy consumption trend information according to the time interval, facilitate the analysis of the energy consumption trend, and improve the time allocation of user electricity consumption;

[0082] S6. Recommend electricity consumption usage information to the energy consumption account terminal according to the electricity consumption characteristic information, where the electricity consumption usage information includes electricity consumption packages and electricity consumption adjustment suggestion information, and obtain the electricity consumption improvement index of the energy consumption unit information according to the electricity consumption usage information;

[0083] In one embodiment, step S6 of recommending electricity consumption usage information to the energy consumption account terminal according to the electricity consumption characteristic information, where the electricity consumption usage information includes electricity consumption packages and electricity consumption adjustment suggestion information, and obtaining the electricity consumption improvement index of the energy consumption unit information according to the electricity consumption usage information includes:

[0084] S61. Recommend an electricity consumption package according to the energy consumption time of the electricity consumption characteristic information, where the electricity consumption package includes a package time and a package price;

[0085] S62. Obtain the electricity consumption characteristic information that does not meet the package time as the target adjustment information. Based on the electricity consumption interface information, obtain the corresponding on-demand electricity consumption interface for the target adjustment information as the adjustment interface, and recommend the usage time of the adjustment interface within the package time as the electricity consumption adjustment recommendation information;

[0086] S63. Obtain the changed electricity consumption based on the comparison value between the electricity consumption of the electricity consumption characteristic information and the electricity consumption of the energy account terminal after implementing the electricity consumption usage information. Obtain the electricity consumption improvement index according to the changed electricity consumption. The calculation formula of the electricity consumption improvement index is:

[0087] Among them, is the electricity consumption improvement index, I t is the electricity consumption of the electricity consumption characteristic information, I y is the electricity consumption of the energy account terminal after implementing the electricity consumption usage information, α > 1, α is the electricity consumption improvement coefficient. When I t - I y is less than zero, the ± in α ±1 takes -, when I t - I y is greater than zero, the ± in α ±1 takes +. In addition, The larger it is, the smaller the electricity consumption of the energy account terminal after implementing the electricity consumption usage information represents;

[0088] S64. Obtain the electricity consumption improvement index that meets the improvement preset condition as the qualified index, and prompt the saved electricity consumption data to the energy account terminal;

[0089] As described in the above steps S61 - S64, recommend an electricity consumption package according to the time corresponding to the electricity consumption characteristic information (for example, if the peak electricity consumption time of the electricity consumption characteristic information is from 8:00 to 12:00, and the time of the electricity consumption package is from 9:00 to 5:00 the next day, then for the peak electricity consumption time of the electricity consumption characteristic information from 8:00 to 12:00, it is recommended to select and recommend this electricity consumption package). Obtain the recommended usage time of the peak electricity consumption of the electricity consumption characteristic information outside the package and adjust it to the electricity consumption package. For example, adjust the electricity consumption data of the random electricity interface used from 8:00 to 9:00 within 8:00 - 12:00 to the electricity consumption package. For example, the random electricity interface used from 8:00 to 9:00 is used for electrical equipment such as stereos and televisions, generating an energy consumption data, and this energy consumption data is adjusted to the electricity consumption package through the usage recommendation of the electricity consumption package. After collecting the comparison value of the electricity consumption at the energy consumption account end after implementing the electricity consumption usage information based on the electricity consumption characteristic information to obtain the variable electricity consumption, then calculate the electricity consumption improvement index, obtain the electricity consumption improvement index that meets the improvement preset conditions as the qualified index, and prompt the saved electricity consumption data to the energy consumption account end. The situation of electricity saving is used as the improvement preset condition, and the prompt information is sent to the energy consumption account end for the user to view, which can improve the user's understanding of the household electricity consumption, enable the user to select an electricity consumption package according to needs, help with reasonable planning of household electricity consumption, and at the same time check whether there is an effect of saving electric energy through the electricity consumption package, and at the same time give a prompt;

[0090] A distributed energy trading method based on blockchain, comprising:

[0091] A first collection module, used to collect information of a plurality of energy consumption units. Among them, the information of a single energy consumption unit includes energy consumption location information, energy consumption data in the energy consumption location, and electricity interface information. Register an energy consumption account end according to the energy consumption unit information, with the energy consumption account end corresponding to a server and serving as a node. Collect energy selling subject information and register a selling end, with the selling end corresponding to a server and serving as a node. Establish an alliance among a plurality of nodes through the P2P protocol to obtain a blockchain, and establish transactions between nodes based on the smart contract of the blockchain;

[0092] A second collection module, connected to the first collection module, used to collect monitoring information of energy consumption data, bind the monitoring information with the data between nodes, and use the monitoring information that meets the warning information as a warning message and send it to the selling end;

[0093] A formulation module, connected to the second collection module, used to formulate an energy consumption prediction event database. Among them, the energy consumption prediction event database includes preset conditions of energy consumption data in the energy consumption location and event prediction information formulated corresponding to the preset conditions;

[0094] The third collection module, connected to the formulation module, is used to collect the current energy consumption data at the energy consumption location within a period, find the event prediction information corresponding to the current energy consumption data that does not meet the preset conditions to obtain a prompt message, and send the prompt message to the energy consumption account terminal;

[0095] The acquisition module, connected to the third collection module, is used to acquire the energy consumption trend information corresponding to the energy consumption account terminal. Among them, the energy consumption trend information includes the energy consumption time and the data corresponding to the energy consumption time, and obtains the energy consumption characteristic information of the energy consumption account terminal according to the energy consumption trend information;

[0096] The recommendation module, connected to the acquisition module, is used to recommend electricity consumption usage information to the energy consumption account terminal according to the electricity consumption characteristic information. Among them, the electricity consumption usage information includes an electricity consumption package and electricity consumption adjustment advice information, and obtains an electricity consumption improvement index of the energy consumption unit information according to the electricity consumption usage information;

[0097] As mentioned above, it is only the specific implementation manner of this application, but the protection scope of this application is not limited thereto. Any person skilled in the art within the technical scope disclosed by this application can easily think of changes or substitutions, which should all be covered within the protection scope of this application. Therefore, the protection scope of this application should be subject to the protection scope of the said claims.

Claims

1. A distributed energy trading method based on blockchain, characterized in that: The following steps are involved: Collect information of several energy consumption units, where the information of a single energy consumption unit includes the energy consumption location information, the energy consumption data in the energy consumption location and the power interface information; register the energy consumption account end according to the energy consumption unit information, and use the energy consumption account end to correspond to a server and act as a node; collect the information of the energy selling subject to register the selling end, and use the selling end to correspond to a server and act as a node; establish an alliance between several nodes through the P2P protocol to obtain a blockchain, and establish transactions between nodes based on the smart contract of the blockchain; Collect monitoring information of energy usage data, bind the monitoring information with data between nodes, use the monitoring information that meets the early warning information as warning information, and send it to the sales end; Formulate an energy usage prediction event database, wherein the energy usage prediction event database includes preset conditions of energy usage data in energy usage locations and event prediction information formulated corresponding to the preset conditions; Collect current energy consumption data in energy consumption locations within a period of time, find event prediction information corresponding to current energy consumption data that does not meet preset conditions to obtain prompt information, and send the prompt information to the energy consumption account end; Obtaining energy consumption trend information corresponding to the energy consumption account end, wherein the energy consumption trend information includes energy consumption time and data corresponding to the energy consumption time, and obtaining energy consumption characteristic information of the energy consumption account end according to the energy consumption trend information; The electricity usage information is recommended to the energy account end based on the electricity usage characteristic information, wherein the electricity usage information includes electricity packages and electricity adjustment suggestion information, and the energy unit information electricity improvement index is obtained based on the electricity usage information.

2. A distributed energy transaction method based on blockchain according to claim 1, characterized in that: Collecting energy usage location information, and registering an energy usage account terminal according to the energy usage location information, wherein the energy usage account terminal establishes a data connection with multiple user mobile terminals; Acquire the power interface information in the energy consumption location, wherein the power interface information is divided into fixed power interface and anytime power interface, and the power consumption data of the power interface information are monitored respectively; Collect energy usage data from the energy usage account end, wherein the energy usage data in the energy usage account end includes electricity usage data, water usage data and gas usage data, and obtain energy usage unit information based on the energy usage account end, the energy usage data in the energy usage account end and the electricity interface information.

3. A distributed energy transaction method based on blockchain according to claim 2, characterized in that: Collect the energy selling subject information, register the selling end according to the energy selling subject information, and the selling end corresponds to a server and acts as a node; Obtain energy consumption unit information, and use the energy consumption account end to correspond to a server as a node; A number of nodes establish an alliance through the P2P protocol to obtain a blockchain; Formulate a smart contract between the sales end and the energy user account end, and establish energy transactions between the sales end and the energy user account end based on the smart contract.

4. A distributed energy transaction method based on blockchain according to claim 1, characterized in that: Collect monitoring information of energy usage data, wherein the monitoring information includes an energy usage collection unit and a monitoring unit, and there is a corresponding relationship between the energy usage collection unit and the monitoring unit; Assigning an energy usage collection unit identity number and binding the energy usage collection unit identity number to the energy consumption account end node data; Assigning a monitoring unit identity number and binding the monitoring unit identity number to the selling end node data; Formulate early warning information, wherein the early warning information includes an early warning image and an early warning time, obtain monitoring data based on the monitoring information, wherein the monitoring data includes monitoring information that meets the early warning information as warning information, and send the warning information to the selling end as a prompt.

5. According to a distributed energy transaction method based on blockchain according to claim 1, it is characterized by: The peak value of electricity consumption data in the energy consumption location is collected, and the electricity consumption data based on the fixed electricity consumption interface is used as the valley value of electricity consumption data, wherein the peak value of electricity consumption data and the valley value of electricity consumption data are used as the preset conditions of electricity consumption data, and event prediction information that may exist when the electricity consumption data in the energy consumption location exceeds the preset conditions of electricity consumption data is formulated; Taking the duration of water use in the energy-consuming location as the preset condition of water use data, formulate event prediction information that may occur when the water use data in the energy-consuming location exceeds the preset condition of water use data; Taking the duration of gas consumption in the energy consumption location as a preset condition for the gas consumption data, possible event prediction information is formulated when the gas consumption data in the energy consumption location exceeds the preset condition for the gas consumption data.

6. A distributed energy transaction method based on blockchain according to claim 1, characterized in that: Collect current energy usage data of energy usage locations within a period of time, and determine the energy usage status of the energy usage locations based on preset conditions and the current energy usage data, wherein the energy usage status includes a normal state and an abnormal state; The current electricity consumption data that does not meet the preset conditions is in an abnormal state. If the energy usage status is in an abnormal state, the event prediction information corresponding to the preset conditions is searched based on the electricity consumption preset event database, and the current energy consumption data and event prediction information are sent to the energy consumption account end as prompt information.

7. A distributed energy transaction method based on blockchain according to claim 1, characterized in that: The power consumption data of the energy consumption account terminal that meets the preset energy consumption condition information and the power consumption time corresponding to the power consumption data are used as the energy consumption trend information; The energy usage characteristic information is obtained by binding adjacent energy usage trend information that meets a preset time interval.

8. The distributed energy transaction method based on blockchain according to claim 1 is characterized by: Recommending an electricity package based on the energy consumption time of the electricity consumption characteristic information, wherein the electricity package includes the package time and the package price; Obtaining power usage characteristic information that does not meet the package time as target adjustment information, obtaining the power usage interface at any time corresponding to the target adjustment information based on the power usage interface information as the adjustment interface, and recommending the usage time of the adjustment interface to the package time as power usage adjustment suggestion information; The power consumption based on the power consumption characteristic information is compared with the power consumption at the energy consumption account end after the power consumption information is implemented to obtain the changed power consumption, and the power consumption improvement index is obtained according to the changed power consumption; The electricity consumption improvement index that meets the preset improvement conditions is obtained as a qualified index, and the saved electricity consumption data is prompted to the energy consumption account end.

9. A distributed energy trading system based on blockchain, used to implement the energy trading method according to any one of claims 1 to 8, characterized in that: include: The first collection module is used to collect information of several energy consumption units, wherein the information of a single energy consumption unit includes information of energy consumption location, energy consumption data in the energy consumption location and power interface information; an energy consumption account terminal is registered according to the energy consumption unit information, and the energy consumption account terminal corresponds to a server and acts as a node; information of energy selling entities is collected to register a selling terminal, and the selling terminal corresponds to a server and acts as a node; an alliance is established between several nodes through a P2P protocol to obtain a blockchain, and transactions between nodes are established based on smart contracts of the blockchain; The second collection module is connected to the first collection module and is used to collect monitoring information of energy usage data, bind the monitoring information with data between nodes, use the monitoring information that meets the early warning information as warning information, and send it to the selling end; a formulation module connected to the second acquisition module, and used to formulate an energy consumption prediction event database, wherein the energy consumption prediction event database includes preset conditions of energy consumption data in energy consumption locations and event prediction information formulated corresponding to the preset conditions; The third collection module is connected to the formulation module and is used to collect current energy consumption data in energy consumption locations within a period of time, find event prediction information corresponding to current energy consumption data that does not meet preset conditions to obtain prompt information, and send the prompt information to the energy consumption account end; an acquisition module connected to the third acquisition module, and configured to acquire energy usage trend information corresponding to the energy usage account end, wherein the energy usage trend information includes energy usage time and data corresponding to the energy usage time, and obtain energy usage characteristic information of the energy usage account end according to the energy usage trend information; The recommendation module is connected to the acquisition module and is used to recommend electricity usage information to the energy account end based on the electricity usage characteristic information, wherein the electricity usage information includes electricity packages and electricity adjustment suggestion information, and obtains the energy unit information electricity improvement index based on the electricity usage information.