Method, device, equipment and medium for processing power consumption data of power supply users

By obtaining and calculating the electricity consumption data of users who transfer power supply, and using blockchain and smart contracts, the problem of unfair sharing of electricity expenditures for users of commercial buildings transferring power supply is solved, a fair sharing of electricity expenditures is achieved, and the interests of users are protected.

CN118172052BActive Publication Date: 2024-10-18STATE GRID JIANGSU ELECTRIC POWER CO LTD NANJING POWER SUPPLY COMPANY
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410114695.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-26
Publication Date
2024-10-18
Estimated Expiration
2044-01-26

AI Technical Summary

Technical Problem

It is difficult for users of commercial buildings to transfer power supply to understand and allocate public electricity expenditures and energy loss expenditures, resulting in unreasonable allocation of electricity bills and infringing on the interests of users.

Method used

By obtaining the electricity consumption data of the target transferred power supply users, including individual electricity consumption data, public data and loss data, calculate individual electricity consumption expenditure, public electricity consumption expenditure and electricity energy loss expenditure, and use blockchain and smart contracts to store and deduct payments. , to ensure fair sharing.

Benefits of technology

It achieves fair sharing of electricity expenditures for users of commercial buildings transferring power supply, prevents the occurrence of more electricity bills than actual expenditures, and ensures the rights and interests of users.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118172052B_ABST
    Figure CN118172052B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention discloses a method, device, equipment and medium for processing electricity consumption data of a power transfer user. The method includes: obtaining electricity consumption data of a target power transfer user; determining the individual electricity consumption expenditure of the target power transfer user according to the individual electricity consumption data; determining the first cost characteristic relationship of the target power transfer user according to public data, determining the second cost characteristic relationship of the power transfer alliance according to the first cost characteristic relationship, and determining the public electricity expenditure according to the first cost characteristic relationship and the second cost characteristic relationship; determining the electric energy loss expenditure of the target power transfer user according to the loss data; determining the target electricity expenditure of the target power transfer user according to the individual electricity expenditure, the public electricity expenditure and the electric energy loss expenditure; sending the electricity consumption data and the target electricity expenditure to the blockchain for storage. The present invention is to achieve a fair environment in which the power transfer users of each commercial building share the public electricity expenditure and the electric energy loss expenditure.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power transfer data, and in particular to a method, device, equipment and medium for processing power consumption data of a power transfer user. Background Art

[0002] At present, the number of commercial buildings that are the subjects of power transfer is increasing, and the charging model for power transfer is mainly that commercial buildings in areas where the public power grid has not reached independently create terminal charging management platforms and charge the power transfer users of each commercial building. After obtaining electricity from the power supply company, commercial buildings transmit it to various commercial stores through self-built distribution facilities. Since the power grid company cannot obtain the charging data of the power transfer subject of commercial buildings to the power transfer users of each commercial building during the power transfer link, it can only inform users of the current electricity price policy through the issuance and public announcement of policy documents. Ordinary commercial building power transfer terminal users find it difficult to understand this method and lack specific ways to protect their rights. The increase in the number of commercial buildings that are the subjects of power transfer has led to a more prominent problem of power transfer price increases when the power transfer terminal users of each commercial building pay their electricity expenses, which infringes the rights and interests of the power transfer terminal users of each commercial building.

[0003] When dealing with the cost sharing issue of public electricity expenses and electric energy loss expenses of various commercial shops, the existing electricity expenses paid by the terminal users of the transferred power supply to commercial buildings cannot be sure whether the public electricity expenses and electric energy loss expenses they need to pay are reasonable due to the lack of detailed cost sharing form. The imprecise cost sharing method will also damage the interests of the terminal users of the transferred power supply to commercial buildings to a certain extent. Summary of the invention

[0004] The present invention provides a method, device, equipment and medium for processing electricity consumption data of power supply users, so as to realize a fair environment in which power supply users of commercial buildings share public electricity consumption expenditure and electric energy loss expenditure, and prevent the behavior that power supply users of commercial buildings pay more electricity fees to the power supply subject of commercial buildings than the expenditure they should actually pay.

[0005] According to one aspect of the present invention, a method for processing power consumption data of a power supply user is provided, comprising:

[0006] Obtaining power consumption data of the target power supply transfer user; wherein the power consumption data includes individual power consumption data, public data and loss data;

[0007] Determine the individual electricity consumption expenditure of the target power supply transfer user according to the individual electricity consumption data;

[0008] Determine a first cost characteristic relationship of the target power supply transfer user according to the public data, determine a second cost characteristic relationship of the power supply transfer alliance according to the first cost characteristic relationship, and determine public electricity expenditure according to the first cost characteristic relationship and the second cost characteristic relationship; wherein the power supply transfer alliance is composed of a set number of power supply transfer users;

[0009] Determine the power loss expenditure of the target power supply user according to the loss data;

[0010] Determine the target electricity expenditure of the target power supply user according to the individual electricity expenditure, the public electricity expenditure and the electric energy loss expenditure;

[0011] Sending the electricity consumption data and the target electricity consumption expenditure to a blockchain for storage;

[0012] Based on the target electricity expenditure, the target electricity expenditure is deducted from the account of the target power supply user through a smart contract, and the target electricity expenditure is transferred to the power supply entity account.

[0013] Optionally, determining the individual electricity expenditure of the target power transfer user according to the individual electricity consumption data includes:

[0014] Obtaining set electricity price standards;

[0015] The set electricity price standard and the individual electricity consumption data are used to determine the individual electricity consumption expenditure of the target power supply transfer user.

[0016] Optionally, the public data includes location data of the target power transfer user in the commercial building, traffic data, and the area of ​​the target power transfer user;

[0017] Determining a first cost characteristic relationship of a target power supply transfer user according to the public data includes:

[0018] Determine the attractiveness data of the target power supply transfer user by using the traffic data and the area of ​​the target power supply transfer user;

[0019] A first cost characteristic relationship of the target power supply transfer user is determined based on the attractiveness data of the target power supply transfer user and a set grade coefficient.

[0020] Optionally, the first cost characteristic relationship is specifically:

[0021]

[0022] S i =A i ·tr i

[0023] Among them, p iThe probability of a single customer transferring power to user i in a commercial building; S i and S j are the attractiveness data of target power supply user i and power supply user j in commercial buildings to customers; T i and T j are the distances between the target power supply user i and the power supply user j and the entrance to the public area respectively; A i is the area of ​​the target power supply user i in the commercial building; tr i The flow data of people at the target power supply user in the commercial building; τ j It is the Kendall rank correlation coefficient of the flow of people between the commercial building transfer power supply user j and the target transfer power supply user in the core commercial building.

[0024] Optionally, determining the public electricity expenditure according to the first cost characteristic relationship and the second cost characteristic relationship includes:

[0025] Obtain the number of power supply transfer users in the power supply transfer alliance, the total number of power supply transfer users and the total public electricity expenditure;

[0026] Determine the probability of occurrence of the transfer power supply users of the transfer power supply alliance according to the number of transfer power supply users in the transfer power supply alliance and the total number of transfer power supply users;

[0027] The public electricity expenditure of the target power transfer user is determined according to the probability of occurrence of the power transfer user in the power transfer alliance, the first cost characteristic relationship, the second cost characteristic relationship and the total public electricity expenditure.

[0028] Optionally, the loss data includes the complex power of the target power supply user line;

[0029] Determining the power loss expenditure of the target power supply user according to the loss data includes:

[0030] Determine the line power loss of the target power supply user based on the complex power of the target power supply user line;

[0031] The power loss expenditure of the target power supply user is determined according to the line power loss and the set power electricity fee.

[0032] Optionally, the power loss expenditure is specifically expressed as:

[0033]

[0034]

[0035]

[0036] xc =pr·ΔS L,k

[0037] Among them, S L,k The complex power of the target power supply user line; ΔS L,k The line power loss of the target power supply user line; S Gi is the complex power generated by the generator; β is the power loss bearing coefficient, which means that the generator and the load each bear half of the power loss; S i is the complex power of the target power supply user i; S j A is the complex power at the power supply user j; d is the power transfer matrix; S ij is the power difference between the power supply user i and the power supply user j; ΔS G is the power loss of the generator; ΔS all is the total power loss; x c The cost of electricity loss that needs to be shared by end users of commercial buildings; pr is the basic electricity charge corresponding to unit power per unit time.

[0038] According to another aspect of the present invention, there is provided a device for processing power consumption data of a power transfer user, comprising:

[0039] A data acquisition module is used to acquire the power consumption data of the target power supply user; wherein the power consumption data includes individual power consumption data, public data and loss data;

[0040] An individual electricity expenditure determination module, used to determine the individual electricity expenditure of the target power supply user according to the individual electricity consumption data;

[0041] A public electricity expenditure determination module, configured to determine a first cost characteristic relationship of the target power supply transfer user according to the public data, determine a second cost characteristic relationship of the power supply transfer alliance according to the first cost characteristic relationship, and determine public electricity expenditure according to the first cost characteristic relationship and the second cost characteristic relationship; wherein the power supply transfer alliance is composed of a set number of power supply transfer users;

[0042] An electric energy loss expenditure determination module, used to determine the electric energy loss expenditure of the target power supply user according to the loss data;

[0043] A target electricity expenditure determination module, used to determine the target electricity expenditure of the target power supply user according to the individual electricity expenditure, the public electricity expenditure and the electric energy loss expenditure;

[0044] A data storage module, used to send the electricity consumption data and the target electricity consumption expenditure to a blockchain for storage;

[0045] The target electricity expenditure collection module is used to deduct the target electricity expenditure from the account of the target power supply user through a smart contract based on the target electricity expenditure, and transfer the target electricity expenditure to the power supply subject account.

[0046] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0047] at least one processor; and

[0048] a memory communicatively connected to the at least one processor; wherein,

[0049] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for processing electricity consumption data of the power transfer user described in any embodiment of the present invention.

[0050] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for processing electricity consumption data of a power supply user described in any embodiment of the present invention when executed.

[0051] The technical solution of the embodiment of the present invention is to obtain the electricity consumption data of the target power supply user; determine the individual electricity consumption expenditure of the target power supply user according to the individual electricity consumption data; determine the first cost characteristic relationship of the target power supply user according to the public data, determine the second cost characteristic relationship of the power supply alliance according to the first cost characteristic relationship, and determine the public electricity expenditure according to the first cost characteristic relationship and the second cost characteristic relationship; wherein the power supply alliance is composed of a set number of power supply users; determine the electric energy loss expenditure of the target power supply user according to the loss data; determine the target electricity expenditure of the target power supply user according to the individual electricity expenditure, the public electricity expenditure and the electric energy loss expenditure; and send the electricity consumption data and the target electricity expenditure to the blockchain for storage. This technical solution is to realize a fair environment in which the power supply users of each commercial building share the public electricity expenditure and the electric energy loss expenditure, and prevent the power supply users of each commercial building from paying more electricity fees to the power supply subject of the commercial building than the actual expenditure they should pay.

[0052] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0054] Figure 1 This is a flow chart of a method for processing power consumption data of a power supply user provided in accordance with the first embodiment of the present invention;

[0055] Figure 2 This is a flow chart of a method for processing power consumption data of a power supply user provided in accordance with Embodiment 2 of the present invention;

[0056] Figure 3 2 is a schematic diagram of the structure of a device for processing power consumption data of a power supply user provided in accordance with Embodiment 3 of the present invention;

[0057] Figure 4 It is a schematic diagram of the structure of an electronic device provided according to Embodiment 4 of the present invention. DETAILED DESCRIPTION

[0058] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0059] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0060] Embodiment 1

[0061] Figure 1This is a flowchart of a method for processing power consumption data of a power supply user provided in accordance with the first embodiment of the present invention. This embodiment is applicable to the case of processing power consumption data of users of various power supply terminals in commercial buildings. The method can be executed by a power consumption data processing device for a power supply user. The power consumption data processing device for a power supply user can be implemented in the form of hardware and / or software. The power consumption data processing device for a power supply user can be configured in an electronic device with data processing capabilities. Figure 1 As shown, the method includes:

[0062] The technical solution of this embodiment can be executed by the power consumption data processing system of the power supply user, and the power consumption data processing system of the power supply user can be used by the Trusted Execution Environment (TEE) as a trusted privacy computing platform, and applied to various commercial stores in commercial buildings as power supply users. In this embodiment, the meter power consumption data of each commercial store in the commercial building can be encrypted and uploaded to the TEE platform and decrypted. In the TEE platform, the actual power consumption data of the commercial store is calculated according to the pre-set electricity fee calculation method for the commercial store's own electricity fee and the apportionment calculation of public electricity fees and power loss fees. The calculated various power consumption data of the commercial building power supply users and the account information of the commercial building power supply users and the commercial building power supply subjects can be encrypted and uploaded to the blockchain. At the same time, the power consumption data is uploaded to the storage system, and the trusted software base supervises all uploaded data. This embodiment combines trusted privacy computing with blockchain, and transmits the electricity consumption data of commercial stores to the TEE platform for calculation of the commercial stores' own electricity charges and the refined allocation of public electricity charges and power loss costs, ensuring that the cost data of each commercial building power supply user in allocating public electricity charges and power loss costs is more accurate. At the same time, a supervision link is set up to ensure that the data is not tampered with by a third party during the upload process, so as to create a fair and good electricity consumption platform environment for commercial building power supply users.

[0063] S110: Obtain power consumption data of the target power supply user.

[0064] Among them, the electricity consumption data includes individual electricity consumption data, public data and loss data. The power transfer user can be understood as the user who cannot directly supply electricity to the end user by the power transfer entity. The power transfer user in this embodiment can refer to each commercial store in a commercial building. The target power transfer user can be understood as a commercial store for which the total electricity expenditure of the user needs to be calculated. Individual electricity consumption data can be understood as the electricity consumption of a commercial store that needs to be technically processed within a preset time period. For example, individual electricity consumption data can be the electricity consumption of the target power transfer user in the current month. Public data can be understood as electricity consumption data in public areas. The public data in this embodiment may include the location and traffic information of the commercial building where the commercial store is located. Loss data can be understood as the loss data of the power supply line for each commercial store user whose power transfer entity is a commercial building. In this embodiment, individual electricity consumption data, public data and loss data of the target power transfer user that need to be calculated can be obtained.

[0065] S120: Determine the individual electricity expenditure of the target power supply transfer user according to the individual electricity consumption data.

[0066] Among them, individual electricity expenditure can be understood as the individual electricity cost of the target power supply user. In this embodiment, the individual electricity expenditure of the target power supply user can be determined according to the individual land use data within a preset time period and the corresponding electricity price standard. In this embodiment, the individual electricity expenditure of the target power supply user can be determined according to the individual electricity use data used by the target power supply user in the current month.

[0067] In this embodiment, optionally, determining the individual electricity expenditure of the target power transfer user based on the individual electricity consumption data includes: obtaining a set electricity price standard; and determining the individual electricity expenditure of the target power transfer user based on the set electricity price standard and the individual electricity consumption data.

[0068] The set electricity price standard can be understood as the electricity price standard corresponding to the individual electricity consumption data. The set electricity price standard can be pre-set. For example, in this embodiment, the electricity price standard for the current month can be preset. In this embodiment, the individual electricity expenditure of the target transfer user can be determined by multiplying the set electricity price standard and the individual electricity consumption data.

[0069] Specifically, the individual electricity expenditure C of each target power supply user in the commercial building in the current month p Can be:

[0070] C p =P×Q i

[0071] Among them, P is the set electricity price standard for the month, Q iThe individual electricity consumption data of the target power supply transfer user in the current month. In this embodiment, through such a setting, the individual electricity consumption costs of each target power supply transfer user in the commercial building can be determined based on the monthly electricity price standard, which is clearer.

[0072] S130. Determine a first cost characteristic relationship of a target power supply transfer user based on public data, determine a second cost characteristic relationship of a power supply transfer alliance based on the first cost characteristic relationship, and determine public electricity expenditure based on the first cost characteristic relationship and the second cost characteristic relationship.

[0073] Among them, the power transfer alliance is composed of a set number of power transfer users; the set number can be a pre-set number and can be set according to actual needs. Public electricity expenditure can be understood as the public electricity expenses shared by the target power transfer users in commercial buildings. The cost characteristic relationship can be obtained by substituting information such as the location and flow of people of the target power transfer user in the commercial building where the commercial store is located into the cost relationship formula. Among them, the public data may include the location information of the target power transfer user in the commercial building and the flow of people information of the current target power transfer user. The first cost characteristic relationship is used to characterize the probability of a single customer going out of the target power transfer user in the commercial building. The first cost characteristic relationship in this embodiment can be represented by a relationship. The first cost characteristic relationship in this embodiment can be determined by the Huff model and the Kendall rank correlation coefficient. In this embodiment, the first cost relationship of the target power transfer user can be determined based on the location data and flow of people data of the target power transfer user in the commercial building included in the public data.

[0074] Among them, the transfer power user members in the transfer power supply alliance may not include the target transfer power user that needs to be calculated at present. The transfer power supply alliance in this embodiment may be composed of a set number of transfer power users, and the transfer power user members of the transfer power supply alliance may be set according to actual conditions. The first cost characteristic relationship in this embodiment may represent the relationship of a single target transfer power user, and the second cost characteristic relationship may represent the sum of each transfer power user in the transfer power supply alliance. In this embodiment, the cost relationship of each transfer power user in the transfer power supply alliance can be determined in the same way according to the first cost relationship of the target transfer power user, and the cost relationship of each transfer power user in the transfer power supply alliance can be accumulated to determine the second cost characteristic relationship of the transfer power supply alliance. Among them, the public electricity expenditure may be the electricity cost generated by the target transfer power user for the public electricity information. The public electricity expenditure in this embodiment can be based on the first cost characteristic relationship and the second cost characteristic relationship, and the Shapley value algorithm Shapley is used to perform the public electricity cost sharing calculation to obtain the public electricity expenditure of the target transfer power user.

[0075] Specifically, the public electricity expenditure in this embodiment can be determined based on public data using the Hough model and the Kendall rank correlation system to determine the cost characteristic relationship of a single target power supply user in a commercial building, and then, based on the cost characteristic relationship, the Shapley value algorithm Shapley is used to determine the Shapley value of the target power supply user, and the corresponding cost allocation calculation is performed on the target power supply user according to the Shapley value to determine the public electricity expenditure of the target power supply user.

[0076] S140. Determine the power loss expenditure of the target power supply user according to the loss data.

[0077] Among them, the power loss expenditure can be understood as the power loss cost of the transmission line of each target power supply user in this commercial power supply environment where there is only one power supply entity, namely the commercial building power supply entity. In this embodiment, the power loss cost of each target power supply user can be determined based on the loss data of the power supply line of each commercial store user.

[0078] S150, determining the target electricity expenditure of the target power supply user according to the individual electricity expenditure, public electricity expenditure and electric energy loss expenditure.

[0079] Among them, the target electricity expenditure can be understood as the electricity fee that the target power supply user needs to pay. The target electricity expenditure in this embodiment can be the total value obtained by adding up the individual electricity expenditure, public electricity expenditure and electric energy loss expenditure. In this embodiment, the electricity expenditure fee can be obtained by adding up the individual electricity expenditure, public electricity expenditure and electric energy loss expenditure of each target power supply user, and the target electricity expenditure of the target power supply user can be determined.

[0080] S160: Send the electricity consumption data and target electricity expenditure to the blockchain for storage.

[0081] In this embodiment, the calculated electricity consumption data of each power supply user in the commercial building and the account information of each power supply user and the power supply subject of the commercial building can be encrypted and uploaded to the blockchain. At the same time, the electricity consumption data can also be uploaded to the Ceph distributed storage system. The trusted software base can supervise all uploaded data to prevent the electricity consumption data and electricity expenditure data of the power supply users in the commercial building from being tampered with during the transmission process.

[0082] S170. Based on the target electricity expenditure, the target electricity expenditure is deducted from the account of the target power supply user through the smart contract, and the target electricity expenditure is transferred to the account of the power supply transfer entity.

[0083] Among them, the smart contract can be set in the blockchain and can be used to collect the corresponding electricity expenditure from the target power supply user. The expenditure can be understood as the target electricity expenditure corresponding to the target power supply user, that is, the corresponding total electricity cost.

[0084] In this embodiment, after the electricity consumption data and the target expenditure are sent to the blockchain for storage, the target electricity expenditure can also be collected from the target power supply user through the smart contract of the blockchain. Specifically, the target electricity expenditure of the user can be deducted from the account balance of the target power supply user in the commercial building, and the target electricity expenditure can be transferred to the account of the commercial building power supply entity.

[0085] The technical solution of the embodiment of the present invention is to obtain the electricity consumption data of the target power supply user; determine the individual electricity expenditure of the target power supply user according to the individual electricity consumption data; determine the cost characteristic relationship of the target power supply user according to the public data, and determine the public electricity expenditure according to the cost characteristic relationship; determine the electric energy loss expenditure of the target power supply user according to the loss data; determine the target electricity expenditure of the target power supply user according to the individual electricity expenditure, the public electricity expenditure and the electric energy loss expenditure; send the electricity consumption data and the target electricity expenditure to the blockchain for storage; deduct the target electricity expenditure from the account of the target power supply user through a smart contract based on the target electricity expenditure, and transfer the target electricity expenditure to the power supply subject account. This technical solution is to achieve a fair environment in which the power supply users of each commercial building share the public electricity expenditure and the electric energy loss expenditure, and prevent the power supply users of each commercial building from paying more electricity fees to the power supply subject of the commercial building than they should actually pay.

[0086] Embodiment 2

[0087] Figure 2 It is a flow chart of a method for processing electricity consumption data of a power transfer user provided in accordance with the second embodiment of the present invention, and this embodiment is optimized based on the above embodiment. The specific optimization is as follows: the public data includes the location data of the target power transfer user in the commercial building, the flow of people data and the area of ​​the target power transfer user; the first cost characteristic relationship of the target power transfer user is determined according to the public data, including: determining the attractiveness data of the target power transfer user by using the flow of people data and the area of ​​the target power transfer user; determining the first cost characteristic relationship of the target power transfer user based on the attractiveness data of the target power transfer user and the set grade coefficient. . As Figure 2 As shown, the method includes:

[0088] S210: Obtain power consumption data of the target power supply user.

[0089] Among them, electricity consumption data includes individual electricity consumption data, public data and loss data.

[0090] S220. Determine the individual electricity consumption expenditure of the target power supply transfer user according to the individual electricity consumption data.

[0091] In this embodiment, optionally, the public data includes location data of the target power transfer user in the commercial building, pedestrian flow data, and the area of ​​the region where the target power transfer user is located.

[0092] The location data of the target power transfer user in the commercial building can be understood as the distance between the target power transfer user and the entrance of the public area. The flow of people data can be understood as the flow of people of the target power transfer user in the commercial building, and the area of ​​the target power transfer user can be understood as the area occupied by the target power transfer user in the commercial building.

[0093] S230: Determine the attraction data of the target power supply transfer user by using the passenger flow data and the area of ​​the target power supply transfer user.

[0094] The attractiveness data can be understood as the attractiveness of the target power transfer user to customers in the commercial building. The attractiveness data in this embodiment can be determined as the attractiveness data of the target power transfer user by multiplying the flow data of the target power transfer user in the commercial building and the area of ​​the target power transfer user in the commercial building.

[0095] S240: Determine a first cost characteristic relationship of the target power supply transfer user based on the attractiveness data of the target power supply transfer user and a set grade coefficient.

[0096] The set grade coefficient may be a pre-set grade coefficient. The set grade coefficient in this embodiment may adopt a Kendall grade coefficient. In this embodiment, the first cost characteristic relationship of the target power transfer user may be determined by using a Hough model and a Kendall grade correlation coefficient based on the attractiveness data of the target power transfer user and the location data of the target power transfer user.

[0097] Determine the first cost characteristic relationship of the target power transfer user according to public data, including: determine the attraction data of the target power transfer user according to the flow data and the area of ​​the target power transfer user; determine the first cost characteristic relationship of the target power transfer user based on the attraction data of the target power transfer user and the set grade coefficient.

[0098] In this embodiment, optionally, the first cost characteristic relationship of the target power supply transfer user in this embodiment is specifically:

[0099]

[0100] S i =A i ·tr i

[0101] Among them, p i The probability of a single customer transferring electricity to user i in a commercial building can be expressed as: i and S j are the attractiveness data of target power supply users i and j in commercial buildings to customers; T i and T j are the distances between the target power supply users i and j and the entrance to the public area; A i It can be the area of ​​the target power supply user i in the commercial building; tr i It can be used to transfer the flow of people to the target power supply users in the commercial building; j The Kendall rank correlation coefficient of the flow of people between the target power supply transfer user j in the commercial building and the target power supply transfer user in the core commercial building can be used.

[0102] Through such a setting in this embodiment, the first cost characteristic relationship can be used to reflect the calculation details of the public sharing, and the accurate electricity cost data that each commercial building power supply user needs to share can be obtained, so that each power supply user can clearly understand the public electricity sharing details.

[0103] S250. Determine a second cost characteristic relationship of the power transfer alliance based on the first cost characteristic relationship, and determine the public electricity expenditure of the target power transfer user based on the first cost characteristic relationship and the second cost characteristic relationship.

[0104] In this embodiment, optionally, the public electricity expenditure of the target transfer power supply user is determined according to the first cost characteristic relationship and the second cost characteristic relationship, including: obtaining the number of transfer power supply users in the transfer power supply alliance, the total number of transfer power supply users and the total public electricity expenditure; determining the probability of occurrence of transfer power supply users in the transfer power supply alliance according to the number of transfer power supply users in the transfer power supply alliance and the total number of transfer power supply users; determining the public electricity expenditure of the target transfer power supply user according to the probability of occurrence of transfer power supply users in the transfer power supply alliance, the first cost characteristic relationship, the second cost characteristic relationship and the total public electricity expenditure.

[0105] Among them, the number of transfer power supply users in the transfer power supply alliance can be the number of transfer power supply users included in the transfer power supply alliance. In this embodiment, the number of transfer power supply users in the transfer power supply alliance can be set when the transfer power supply alliance is established. The total number of transfer power supply users can be understood as the total number of all transfer power supply users included in the same transfer power supply entity. The total public electricity expenditure can be understood as the total cost that needs to be shared under the electricity consumption in the public areas of the commercial building. The probability of the appearance of a transfer power supply user in the transfer power supply alliance can be understood as the probability of the appearance of all transfer power supply users in the transfer power supply alliance.

[0106] In this embodiment, the probability of occurrence of a transfer power supply user in the transfer power supply alliance can be determined based on the number of transfer power supply users in the transfer power supply alliance and the total number of transfer power supply users. The specific method can be to obtain the probability by comparing the factorial of the transfer power supply users in the transfer power supply alliance with the factorial of the data obtained by subtracting the number of transfer power supply users in the transfer power supply alliance from 1 and then comparing it with the factorial of the total number of transfer power supply users.

[0107] In this embodiment, the public electricity expenditure of the target transfer power supply user can be determined based on the probability of the transfer power supply user appearing in the transfer power supply alliance, the first cost characteristic relationship, the second cost characteristic relationship, and the total public electricity expenditure. The specific method can be to use the Shapley value algorithm Shapley to perform public electricity cost sharing calculation based on the calculated cost characteristic relationship of the commercial building transfer power supply terminal user to determine the commercial building, the public electricity cost that each transfer power supply user needs to share pub The expenditure is:

[0108]

[0109] Among them, x pub The public electricity expenditure of the target power supply users can be transferred; C pub It can be the total expenditure on public electricity in the commercial building; V The number of users of the commercial buildings that can be supplied with electricity in the power supply alliance V formed in the commercial building; n N can be the total number of commercial building power supply users in the commercial building; c(V) can be the second cost characteristic relationship of the power supply alliance V composed of the commercial building power supply users in the commercial building; C(V∪{i}) can be the cost characteristic relationship after the commercial building power supply user i is added to this power supply alliance V, which can be specifically expressed as:

[0110]

[0111]

[0112] Among them, p i The probability of a single customer transferring electricity to user i in a commercial building; p j The probability of a single customer transferring electricity to user j in a commercial building.

[0113] Through such a setting in the present embodiment, the first cost characteristic relationship and the second cost relationship can be used to reflect the calculation details of the public sharing through a relational expression, so as to obtain the precise electricity cost data that each transferred power supply terminal user in the commercial building needs to share, so that the target transferred power supply users can clearly understand it and ensure a fair environment for the commercial building transferred power supply platform.

[0114] S260: Determine the power loss expenditure of the target power supply user according to the loss data.

[0115] In this embodiment, optionally, the loss data includes the complex power of the target transfer power user line; determining the electric energy loss expenditure of the target transfer power user based on the loss data includes: determining the line power loss of the target transfer power user based on the complex power of the target transfer power user line; determining the electric energy loss expenditure of the target transfer power user based on the line power loss and the set power electricity fee.

[0116] Among them, the complex power of the target transfer power supply user line can be understood as the complex power of the power supply line for the target transfer power supply user by the transfer power supply subject of the commercial building. The line power loss can be calculated by the power flow tracking method based on the complex power of the power supply line for the target transfer power supply user by the transfer power supply subject of the commercial building. The set power electricity fee can be pre-set. In this embodiment, the complex power of the target transfer power supply user line corresponds to a set power basic electricity fee, which can be set according to actual needs.

[0117] In this embodiment, the power transfer matrix parameters can be determined based on the parameters in the cost characteristic relationship in combination with the power flow tracking method, and then the line power loss data can be determined. Specifically, in this embodiment, the line power loss can be determined by the power flow tracking method based on the complex power of the target power supply user line, the power transfer matrix, the power sleep bearing coefficient, and the power loss of the engine. The power loss expenditure of the target power supply user in this embodiment can be obtained by multiplying the obtained line power loss and the set power electricity fee.

[0118] Specifically, in this embodiment, considering that there is only one power supply transfer subject in this commercial power supply transfer environment, that is, the commercial building power supply transfer subject, and each commercial store, that is, each target power supply transfer user has a complete installation of electric meters, the power flow tracking method is used to calculate the power transmission loss allocation, that is, the power loss expenditure of the target power supply transfer user can be obtained, which can be specifically expressed as:

[0119]

[0120]

[0121]

[0122] x c =pr·ΔS L,k

[0123] Among them, S L,k The complex power of the power supply user line can be transferred to the target; ΔS L,k The line power loss of the target power supply user line can be transferred; S Giis the complex power generated by the generator; β is the power loss bearing coefficient, which can generally be set to 0.5, which means that the generator and the load each bear half of the power loss; S i is the complex power at the power supply user i; S j A can be the complex power at the power supply user j; d is the power transfer matrix; S ij is the power difference between the power supply user i and the power supply user j; ΔS G is the power loss of the generator; ΔS all Can be the total power loss; x c The electricity loss cost that needs to be shared by the end users of commercial buildings; pr can be the basic electricity charge corresponding to unit power per unit time.

[0124] Through such a setting in the present embodiment, the loss data can be used to determine the calculation details of the electric energy loss expenditure of the target power supply user, and the electric energy loss costs that need to be shared by each power supply terminal user in the commercial building can be obtained, so that the target power supply user can clearly understand it, and the user's actual electricity consumption data can be prevented from being tampered with by the outside world. At the same time, the power supply entity cannot arbitrarily charge inappropriate fees to the power supply users of commercial buildings.

[0125] S270. Determine the target electricity expenditure of the target power supply user based on individual electricity expenditure, public electricity expenditure and power loss expenditure.

[0126] S280: Send the electricity consumption data and target electricity expenditure to the blockchain for storage.

[0127] S290. Based on the target electricity expenditure, the target electricity expenditure is deducted from the account of the target power supply user through the smart contract, and the target electricity expenditure is transferred to the account of the power supply entity.

[0128] Furthermore, in this embodiment, the TEE platform uploads the power consumption and electricity fee data of each commercial building power supply user, the account information of each commercial building power supply terminal user, and the account information of the commercial building power supply subject to the power consumption data collection platform in the blockchain; all uploaded data are converted into a blockchain-readable format through protocol parsing, wherein the power consumption data of each commercial building power supply terminal user is uploaded to the Ceph distributed storage system, and all data is encrypted by a hash algorithm and uploaded to the blockchain; the trusted software can also supervise the uploaded data to prevent the data from being tampered with, and upload the trusted report to the blockchain at regular intervals as a certificate of data trustworthiness.

[0129] In addition, the blockchain in this embodiment can also send the encrypted electricity consumption data and target electricity expenditure of each commercial building power supply user to the power grid company and the regulatory department platform, decrypt the encrypted data; compare the decrypted actual electricity consumption data and various electricity cost data with the various electricity consumption data of the Ceph distributed storage system; if there is no difference in the comparison result, the power grid company and the regulatory department can view the actual electricity consumption data and various electricity cost data of each commercial building power supply terminal user.

[0130] The electricity consumption data processing system of the power supply users of this embodiment can upload the meter data of each commercial store in the commercial building to the TEE platform after asymmetric encryption and digital signature. The platform calculates the individual electricity charges of the commercial building power supply terminal users and the refined cost sharing calculation method according to the pre-set detailed calculation method of each shared electricity charge. The public electricity charges and electric energy loss charges that each commercial building power supply terminal user needs to share are calculated to obtain the accurate electricity cost data that each commercial building power supply terminal user needs to share. These electricity cost data and electricity consumption data are stored in the Ceph distributed storage system and uploaded to the blockchain after hash encryption. The trusted software base supervises the electricity consumption data and account information. Finally, the smart contract of the blockchain will pay the electricity charges of the commercial building power supply users to the commercial building power supply entity, and complete the collection of electricity charges from the commercial building power supply entity to the commercial building power supply terminal users.

[0131] In the present embodiment, during the processing of electricity consumption data of commercial building power supply users, the electricity consumption data of commercial building power supply users only passes through the user node and the TEE trusted privacy computing platform, and is not directly transmitted to the commercial building power supply entity. The commercial building power supply entity cannot directly charge electricity fees to the commercial building power supply terminal users, which prevents malicious price increases. At the same time, the expenses that need to be shared by the commercial building power supply terminal users are calculated in the computing platform TEE according to the allocation algorithm of public electricity expenditure and power loss expenditure. While effectively preventing the actual electricity consumption data of users from being tampered with by the outside world, it also prevents the power supply entity from arbitrarily charging inappropriate fees to commercial building power supply users. The refined calculation of shared expenses can ensure a fair environment for the commercial building power supply platform.

[0132] The technical solution of the embodiment of the present invention is to obtain the electricity consumption data of the target power supply user; determine the individual electricity consumption expenditure of the target power supply user according to the individual electricity consumption data; determine the first cost characteristic relationship of the target power supply user according to the public data; determine the second cost characteristic relationship of the power supply alliance according to the first cost characteristic relationship; the power supply alliance is composed of a set number of power supply users; determine the public electricity consumption expenditure of the target power supply user according to the first cost characteristic relationship and the second cost characteristic relationship; determine the electric energy loss expenditure of the target power supply user according to the loss data; determine the target electricity consumption expenditure of the target power supply user according to the individual electricity consumption expenditure, the public electricity consumption expenditure and the electric energy loss expenditure; and send the electricity consumption data and the target electricity consumption expenditure to the blockchain for storage. This technical solution is to realize a fair environment in which the power supply users of each commercial building share the public electricity consumption expenditure and the electric energy loss expenditure, and prevent the power supply users of each commercial building from paying more electricity fees to the power supply subject of the commercial building than the actual expenditure they should pay.

[0133] Embodiment 3

[0134] Figure 3 1 is a schematic diagram of the structure of a device for processing power consumption data of a power supply user provided according to Embodiment 3 of the present invention. Figure 3 As shown, the device comprises:

[0135] The data acquisition module 310 is used to acquire the power consumption data of the target power supply user; wherein the power consumption data includes individual power consumption data, public data and loss data;

[0136] An individual electricity expenditure determination module 320 is used to determine the individual electricity expenditure of the target power supply transfer user according to the individual electricity consumption data;

[0137] The public electricity expenditure determination module 330 is used to determine a first cost characteristic relationship of a target power supply transfer user according to public data, determine a second cost characteristic relationship of a power supply transfer alliance according to the first cost characteristic relationship, and determine the public electricity expenditure according to the first cost characteristic relationship and the second cost characteristic relationship; wherein the power supply transfer alliance is composed of a set number of power supply transfer users;

[0138] An electric energy loss expenditure determination module 340 is used to determine the electric energy loss expenditure of the target power supply user according to the loss data;

[0139] The target electricity expenditure determination module 350 is used to determine the target electricity expenditure of the target power supply user according to the individual electricity expenditure, the public electricity expenditure and the electric energy loss expenditure;

[0140] A data storage module 360, for sending the electricity consumption data and the target electricity consumption expenditure to the blockchain for storage;

[0141] The target electricity expenditure collection module 370 is used to deduct the target electricity expenditure from the account of the target power supply user through a smart contract based on the target electricity expenditure, and transfer the target electricity expenditure to the power supply subject account.

[0142] Optionally, an individual electricity expenditure determination module is specifically used to obtain a set electricity price standard; the set electricity price standard and individual electricity consumption data are used to determine the individual electricity expenditure of the target power supply user.

[0143] Optionally, the public data includes location data of the target power transfer user in the commercial building, traffic data, and the area of ​​the target power transfer user;

[0144] The public electricity expenditure determination module is specifically used to determine the attractiveness data of the target power supply transfer user based on the passenger flow data and the area where the target power supply transfer user is located; and determine the first cost characteristic relationship of the target power supply transfer user based on the attractiveness data of the target power supply transfer user and the set grade coefficient.

[0145] Optionally, the first cost characteristic relationship is specifically:

[0146]

[0147] S i =A i ·tr i

[0148] Among them, p i The probability of a single customer transferring power to user i in a commercial building; S i and S j are the attractiveness data of target power supply user i and power supply user j in commercial buildings to customers; T i and T j are the distances between the target power supply user i and the power supply user j and the entrance to the public area respectively; A i is the area of ​​the target power supply user i in the commercial building; tr i The flow data of people at the target power supply user in the commercial building; τ j It is the Kendall rank correlation coefficient of the flow of people between the commercial building transfer power supply user j and the target transfer power supply user in the core commercial building.

[0149] Optionally, a public electricity expenditure determination module is specifically used to obtain the number of transfer power supply users in the transfer power supply alliance, the total number of transfer power supply users and the total public electricity expenditure; determine the probability of occurrence of transfer power supply users in the transfer power supply alliance based on the number of transfer power supply users in the transfer power supply alliance and the total number of transfer power supply users; determine the public electricity expenditure of the target transfer power supply user based on the probability of occurrence of the transfer power supply users in the transfer power supply alliance, the first cost characteristic relationship, the second cost characteristic relationship and the total public electricity expenditure.

[0150] Optionally, the loss data includes the complex power of the target transfer power supply user line;

[0151] The power loss expenditure determination module is specifically used to determine the line power loss of the target power supply user based on the complex power of the target power supply user line; and determine the power loss expenditure of the target power supply user by combining the line power loss and the set power electricity fee.

[0152] Optionally, the power loss expenditure is specifically expressed as:

[0153]

[0154]

[0155]

[0156] x c =pr·ΔS L,k

[0157] Among them, S L,k The complex power of the target power supply user line; ΔS L,k The line power loss of the target power supply user line; S Gi is the complex power generated by the generator; β is the power loss bearing coefficient, which means that the generator and the load each bear half of the power loss; S i is the complex power of the target power supply user i; S j A is the complex power at the power supply user j; d is the power transfer matrix; S ij is the power difference between the power supply user i and the power supply user j; ΔS G is the power loss of the generator; ΔS all is the total power loss; x c The electricity loss cost that needs to be shared by end users of commercial buildings; pr is the basic electricity charge corresponding to unit power per unit time.

[0158] An electricity consumption data processing device for a power transfer user provided in an embodiment of the present invention can execute an electricity consumption data processing method for a power transfer user provided in any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method.

[0159] Embodiment 4

[0160] Figure 4 1 is a schematic diagram of the structure of an electronic device provided according to Embodiment 4 of the present invention. The electronic device 10 is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0161] like Figure 4 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0162] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange data / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0163] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The processor 11 executes the various methods and processes described above, such as a method for processing power consumption data of power users.

[0164] In some embodiments, the method for processing electricity consumption data of the power transfer user may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the method for processing electricity consumption data of the power transfer user described above may be executed. Alternatively, in other embodiments, the processor 11 may be configured to execute the method for processing electricity consumption data of the power transfer user in any other appropriate manner (for example, by means of firmware).

[0165] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0166] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0167] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0168] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying data to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0169] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0170] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0171] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0172] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for processing power consumption data of a power supply user, characterized in that: include: Obtaining power consumption data of the target power supply transfer user; wherein the power consumption data includes individual power consumption data, public data and loss data; Determine the individual electricity consumption expenditure of the target power supply transfer user according to the individual electricity consumption data; Determine a first cost characteristic relationship of the target power supply transfer user according to the public data, determine a second cost characteristic relationship of the power supply transfer alliance according to the first cost characteristic relationship, and determine public electricity expenditure according to the first cost characteristic relationship and the second cost characteristic relationship; wherein the power supply transfer alliance is composed of a set number of power supply transfer users; Determine the power loss expenditure of the target power supply user according to the loss data; Determine the target electricity expenditure of the target power supply user according to the individual electricity expenditure, the public electricity expenditure and the electric energy loss expenditure; Sending the electricity consumption data and the target electricity consumption expenditure to a blockchain for storage; Based on the target electricity expenditure, the target electricity expenditure is deducted from the account of the target power supply user through a smart contract, and the target electricity expenditure is transferred to the power supply subject account; The public data includes location data of the target power transfer user in the commercial building, traffic data, and the area of ​​the target power transfer user; Determining a first cost characteristic relationship of a target power supply transfer user according to the public data includes: Determine the attractiveness data of the target power supply transfer user by using the traffic data and the area of ​​the target power supply transfer user; Determine a first cost characteristic relationship of the target power supply transfer user based on the attractiveness data of the target power supply transfer user and a set grade coefficient; The first cost characteristic relationship is specifically: ; ; in, Targeted switching of electricity users in commercial buildings for a single customer The probability of being at and They are the target power supply users in commercial buildings. Power supply users Customer attractiveness data; and They are respectively the target power supply users Power supply users Distance from entrances to common areas; Targeted power supply users in commercial buildings The area of ​​the region; The pedestrian flow data of the target power supply users in the commercial building; Transit power supply for commercial buildings Kendall rank correlation coefficient of the flow of people between the target power supply users in the commercial building; Determining the public electricity expenditure according to the first cost characteristic relationship and the second cost characteristic relationship includes: Obtain the number of power supply transfer users in the power supply transfer alliance, the total number of power supply transfer users and the total public electricity expenditure; Determine the probability of occurrence of the transfer power supply users of the transfer power supply alliance according to the number of transfer power supply users in the transfer power supply alliance and the total number of transfer power supply users; The public electricity expenditure of the target power transfer user is determined according to the probability of occurrence of the power transfer user in the power transfer alliance, the first cost characteristic relationship, the second cost characteristic relationship and the total public electricity expenditure.

2. The method according to claim 1, characterized in that Determining the individual electricity consumption expenditure of the target power supply transfer user according to the individual electricity consumption data includes: Obtaining set electricity price standards; The set electricity price standard and the individual electricity consumption data are used to determine the individual electricity consumption expenditure of the target power supply transfer user.

3. The method according to claim 1, characterized in that The loss data includes the complex power of the target power supply user line; Determining the power loss expenditure of the target power supply user according to the loss data includes: Determine the line power loss of the target power supply user based on the complex power of the target power supply user line; The power loss expenditure of the target power supply user is determined according to the line power loss and the set power electricity fee.

4. The method according to claim 1, characterized in that The power loss expenditure is specifically expressed as: ; ; ; ; in, The complex power of the target power supply user line; Line power loss of the target power supply user line; is the complex power generated by the generator; is the power loss bearing coefficient, which means that the generator and the load each bear half of the power loss; Power supply to target users The complex power at For power supply users The complex power at is the power transfer matrix; For power supply users With the power supply users The power difference between the two locations; is the power loss of the generator; is the total power loss; The cost of electricity loss that needs to be shared by end users of electricity supplied to commercial buildings; It is the basic electricity charge corresponding to unit power per unit time.

5. A device for processing power consumption data of a power supply user, characterized in that: include: A data acquisition module is used to acquire the power consumption data of the target power supply user; wherein the power consumption data includes individual power consumption data, public data and loss data; An individual electricity expenditure determination module, used to determine the individual electricity expenditure of the target power supply user according to the individual electricity consumption data; A public electricity expenditure determination module, configured to determine a first cost characteristic relationship of the target power supply transfer user according to the public data, determine a second cost characteristic relationship of the power supply transfer alliance according to the first cost characteristic relationship, and determine public electricity expenditure according to the first cost characteristic relationship and the second cost characteristic relationship; wherein the power supply transfer alliance is composed of a set number of power supply transfer users; An electric energy loss expenditure determination module, used to determine the electric energy loss expenditure of the target power supply user according to the loss data; A target electricity expenditure determination module, used to determine the target electricity expenditure of the target power supply user according to the individual electricity expenditure, the public electricity expenditure and the electric energy loss expenditure; A data storage module, used to send the electricity consumption data and the target electricity consumption expenditure to a blockchain for storage; A target electricity expenditure collection module is used to deduct the target electricity expenditure from the account of the target power supply user through a smart contract based on the target electricity expenditure, and transfer the target electricity expenditure to the power supply subject account; The public data includes location data of the target power transfer user in the commercial building, traffic data, and the area of ​​the target power transfer user; The public electricity expenditure determination module is specifically used to determine the attractiveness data of the target power transfer user based on the traffic data and the area of ​​the target power transfer user; determine the first cost characteristic relationship of the target power transfer user based on the attractiveness data of the target power transfer user and the set grade coefficient; The first cost characteristic relationship is specifically: ; ; in, Targeted switching of electricity users in commercial buildings for a single customer The probability of being at and They are the target power supply users in commercial buildings. Power supply users Customer attractiveness data; and They are respectively the target power supply users Power supply users Distance from entrances to common areas; Targeted power supply users in commercial buildings The area of ​​the region; The pedestrian flow data of the target power supply users in the commercial building; Transit power supply for commercial buildings Kendall rank correlation coefficient of the flow of people between the target power supply users in the commercial building; The public electricity expenditure determination module is specifically used to obtain the number of transfer power supply users in the transfer power supply alliance, the total number of transfer power supply users and the total public electricity expenditure; determine the probability of occurrence of the transfer power supply users of the transfer power supply alliance according to the number of transfer power supply users in the transfer power supply alliance and the total number of transfer power supply users; determine the public electricity expenditure of the target transfer power supply user according to the probability of occurrence of the transfer power supply users of the transfer power supply alliance, the first cost characteristic relationship, the second cost characteristic relationship and the total public electricity expenditure.

6. The device according to claim 5, characterized in that The individual electricity expenditure determination module is specifically used to obtain a set electricity price standard; and determine the individual electricity expenditure of the target power supply user by using the set electricity price standard and the individual electricity consumption data.

7. The device according to claim 5, characterized in that The loss data includes the complex power of the target power supply user line; The power loss expenditure determination module is specifically used to determine the line power loss of the target power supply user based on the complex power of the target power supply user line; and determine the power loss expenditure of the target power supply user according to the line power loss and the set power electricity fee.

8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for processing electricity consumption data of the power transfer user described in any one of claims 1-4.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for processing electricity consumption data of a power supply user according to any one of claims 1 to 4 when executed.

Citation Information

Patent Citations

  • Value-added tax electronic invoice management system based on block chain technology

    CN115115440A

  • Method and system for processing power utilization data of power supply transfer users based on alliance chain

    CN116680753A