CN111626794A - Electricity charge calculation method, device, system, electronic equipment and storage medium - Google Patents

Electricity charge calculation method, device, system, electronic equipment and storage medium Download PDF

Info

Publication number
CN111626794A
CN111626794A CN202010498333.7A CN202010498333A CN111626794A CN 111626794 A CN111626794 A CN 111626794A CN 202010498333 A CN202010498333 A CN 202010498333A CN 111626794 A CN111626794 A CN 111626794A
Authority
CN
China
Prior art keywords
electricity
metering
current
meter
identification
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010498333.7A
Other languages
Chinese (zh)
Other versions
CN111626794B (en
Inventor
陈云
刘毅
高浪
何珂
何正旭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sichuan Energy Internet Research Institute EIRI Tsinghua University
Original Assignee
Sichuan Energy Internet Research Institute EIRI Tsinghua University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sichuan Energy Internet Research Institute EIRI Tsinghua University filed Critical Sichuan Energy Internet Research Institute EIRI Tsinghua University
Priority to CN202010498333.7A priority Critical patent/CN111626794B/en
Publication of CN111626794A publication Critical patent/CN111626794A/en
Application granted granted Critical
Publication of CN111626794B publication Critical patent/CN111626794B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0283Price estimation or determination
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • Accounting & Taxation (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Finance (AREA)
  • Health & Medical Sciences (AREA)
  • Game Theory and Decision Science (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Public Health (AREA)
  • Water Supply & Treatment (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Primary Health Care (AREA)
  • Tourism & Hospitality (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application provides an electric charge calculation method, an electric charge calculation device, an electric charge calculation system, electronic equipment and a storage medium, wherein the method comprises the steps of receiving a regional electric charge query request, wherein the regional electric charge query request comprises at least one electric meter identifier in a region; acquiring corresponding electricity charge metering data information according to each electricity meter identification, wherein the electricity charge metering data information comprises current readings of the electricity meters and a plurality of metering parameter values, and the plurality of metering parameter values respectively represent current numerical values of the plurality of metering parameters related to the electricity charges; collapsing a preset stack-state model into a current momentum eigen-state corresponding to each electric meter identification according to a plurality of metering parameter values corresponding to each electric meter identification, wherein the preset stack-state model is generated according to the plurality of metering parameters; and calculating the current electricity consumption cost of each corresponding electricity meter according to the current reading of the electricity meter corresponding to each electricity meter identification and the current momentum eigenstate.

Description

Electricity charge calculation method, device, system, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of quantum computing technologies, and in particular, to a method, an apparatus, a system, an electronic device, and a storage medium for calculating an electric charge.
Background
The existing electric charge calculation method for a large area (e.g., a park, a cell, a mall, etc.) calculates the electric charge by reading each electric meter in the area and the electric charge related parameters (e.g., the unit price of the electric charge, the multiplying power of the electric meter, and the binding relationship between the electric meter and the user) corresponding to each electric meter, but the electric charge calculation method recalculates the electric charge when the electric charge related parameters corresponding to each electric meter change, and a system executing the electric charge calculation method during recalculation cannot provide services to the outside, which is equivalent to the situation that the user cannot inquire the electric charge during the recalculation, so that the problems of low electric charge calculation efficiency and low real-time performance are caused by the unavailable time caused by recalculation of the system.
Disclosure of Invention
An object of the embodiments of the present application is to provide an electric charge calculation method, an electric charge calculation device, an electric charge calculation system, an electronic device, and a storage medium, so as to solve the problem that when an electric charge related parameter changes, an existing calculation method may be recalculated to cause system unavailability, which further causes low electric charge calculation efficiency and low real-time performance.
In a first aspect, an embodiment of the present invention provides an electric charge calculation method, where the method includes: receiving a regional electric charge query request, wherein the regional electric charge query request comprises at least one electric meter identifier in a region; acquiring corresponding electricity charge metering data information according to each electricity meter identification, wherein the electricity charge metering data information comprises current readings of the electricity meters and a plurality of metering parameter values, and the plurality of metering parameter values respectively represent current values of a plurality of metering parameters related to electricity charges; collapsing a preset stack state model into a current momentum eigen state corresponding to each ammeter identification according to a plurality of metering parameter values corresponding to each ammeter identification, wherein the preset stack state model is generated according to the plurality of metering parameters; and calculating the current electricity consumption cost of each corresponding electricity meter according to the current reading of the electricity meter corresponding to each electricity meter identification and the current momentum eigenstate.
In the above designed electricity fee calculating method, after receiving a regional electricity fee inquiry request, obtaining electricity fee measurement data information corresponding to each electricity meter identifier in real time, collapsing the stack state model into a current momentum eigenstate corresponding to each electricity meter identifier by extracting a plurality of measurement parameter values in the electricity fee measurement data information corresponding to each electricity meter identifier and inputting the plurality of measurement parameter values corresponding to each electricity meter identifier into the stack state model respectively, calculating the current electricity fee of the electricity meter corresponding to each electricity meter identifier according to the current reading and the current momentum eigenstate of the electricity meter corresponding to each electricity meter identifier, in the above mode, only under the condition of user inquiry and call, extracting the measurement parameter value corresponding to each electricity meter, at this time, collapsing the stack state model constructed in advance to obtain the current eigenstate corresponding to each electricity meter identifier regardless of whether each measurement parameter changes and is extracted as the current value of each measurement parameter, and then the electric charge is calculated, so that the problems of low electric charge calculation efficiency and low real-time performance caused by unavailable system due to recalculation in the conventional calculation mode when the electric charge related parameters change in the conventional method are solved, and the electric charge calculation efficiency and the real-time performance are improved.
In an optional implementation of the first aspect, the regional electricity fee inquiry request includes a plurality of meter identifiers in a region, and after the calculating the current electricity fee of each corresponding meter according to the current reading of the meter corresponding to each meter identifier and the current momentum eigenstate, the method further includes: and calculating the total electricity consumption cost of all the electricity meters according to the current electricity consumption cost of all the electricity meters.
In an optional implementation of the first aspect, before the receiving the regional electric charge query request, the method further includes: acquiring a plurality of metering parameters in the electric charge metering data information; and generating a superposition state model corresponding to the plurality of metering parameters according to the plurality of metering parameters to obtain the preset superposition state model.
In an optional implementation of the first aspect, the generating, according to the plurality of metrology parameters, a superposition state model corresponding to the plurality of metrology parameters includes: and converting the normalized linear combination of the plurality of metering parameters into a superposition state model corresponding to the plurality of metering parameters.
In an optional implementation of the first aspect, collapsing the preset stack state model into the current momentum eigenstate corresponding to each meter identifier according to a plurality of metering parameter values corresponding to each meter identifier includes: and collapsing the preset superposition state model into the current momentum eigen-state corresponding to each electric meter identification according to a plurality of metering parameter values corresponding to each electric meter identification by using a wave function collapsing method.
In an optional implementation of the first aspect, before collapsing the preset stack state model into the current momentum eigenstate corresponding to each meter identifier according to the plurality of metering parameter values corresponding to each meter identifier, the method further includes: judging whether each metering parameter value corresponding to each ammeter identification is the same as the metering parameter value obtained in the last inquiry; if so, acquiring a second momentum eigenstate corresponding to each ammeter identification, wherein the second momentum eigenstate corresponding to each ammeter identification is obtained according to the metering parameter value corresponding to each ammeter identification during last query and the preset superposition state model; and calculating the current electricity consumption cost of each corresponding electricity meter according to the current reading of the electricity meter corresponding to each electricity meter identification and the second momentum eigenstate.
In a second aspect, an embodiment of the present invention provides an electric charge calculation apparatus, including: the receiving module is used for receiving a regional electric charge query request, wherein the regional electric charge query request comprises at least one electric meter identifier in a region; the system comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring corresponding electric charge metering data information according to each electric meter identifier, the electric charge metering data information comprises the current reading of the electric meter and a plurality of metering parameter values, and the plurality of metering parameter values respectively represent the current values of a plurality of metering parameters related to the electric charge; the collapse module is used for collapsing a preset stack state model into a current momentum eigen state corresponding to each ammeter identification according to a plurality of metering parameter values corresponding to each ammeter identification, and the preset stack state model is generated according to the metering parameters; and the calculation module is used for calculating the current electricity consumption cost of each corresponding ammeter according to the current reading of the ammeter corresponding to each ammeter identification and the current momentum eigen state.
In the above-designed electricity fee calculating apparatus, after receiving a regional electricity fee inquiry request, acquiring electricity fee measurement data information corresponding to a plurality of electricity meter identifications in a region in real time, extracting current values of a plurality of measurement parameters in the electricity fee measurement data information corresponding to each electricity meter identification, inputting the current values of the plurality of measurement parameters corresponding to each electricity meter identification into a stack state model, collapsing the stack state model into a current momentum eigenstate corresponding to each electricity meter identification, calculating current electricity fees of the electricity meters corresponding to each electricity meter identification according to the current readings of the electricity meters corresponding to each electricity meter identification and the current momentum eigenstate, and further obtaining total electricity fees of all the electricity meters in the region, in the above manner, only under the condition of user inquiry and call, the current value of the measurement parameter corresponding to each electricity meter is extracted regardless of whether each measurement parameter changes or not, the current value of each measurement parameter is extracted, the method has the advantages that the pre-constructed stack state model is collapsed to obtain the current momentum eigen state corresponding to each ammeter identification, electricity charges are calculated, the problems that in the existing method, when relevant parameters of the electricity charges change, recalculation can be carried out in the existing calculation mode, the system is unavailable, electricity charges are low in calculation efficiency and instantaneity, and the electricity charges are calculated efficiently and real-timely are improved.
In an optional implementation of the second aspect, the obtaining module is further configured to obtain a plurality of metering parameters in the electricity charge metering data information; and the conversion module is used for converting the plurality of metering parameters into the superposition state models corresponding to the plurality of metering parameters to obtain the preset superposition state model.
In an optional implementation of the second aspect, the conversion module is specifically configured to convert the normalized linear combination of the multiple metering parameters into a superposition state model corresponding to the multiple metering parameters.
In a third aspect, an embodiment provides an electric charge calculation system, where the system includes a data acquisition unit, a data processing unit, and a calculation unit, where the data acquisition unit, the data processing unit, and the calculation unit are in communication connection; the data acquisition unit is used for receiving a regional electric charge query request which comprises at least one electric meter identifier in a region; acquiring corresponding electricity charge metering data information according to each electricity meter identification, wherein the electricity charge metering data information comprises an electricity meter current reading and a plurality of metering parameter values, the plurality of metering parameter values respectively represent current values of a plurality of metering parameters related to electricity charges, the electricity meter current reading corresponding to each electricity meter identification is sent to a computing unit, and the plurality of metering parameter values corresponding to each electricity meter identification are sent to the data processing unit; the data processing unit is used for collapsing a preset superposition state model into a current momentum eigen state corresponding to each ammeter identification according to each metering parameter value corresponding to each ammeter identification, the preset superposition state model is generated according to the plurality of metering parameters, and the current momentum eigen state corresponding to each ammeter identification is sent to the calculating unit; and the calculating unit is used for calculating the current electricity consumption cost of each corresponding ammeter according to the current reading and the current momentum eigenstate of the ammeter corresponding to each ammeter identification.
In a fourth aspect, an embodiment provides an electronic device, including a memory and a processor, where the memory stores a computer program, and the processor executes the computer program to perform the method in the first aspect or any optional implementation manner of the first aspect.
In a fifth aspect, the embodiments provide a storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the method in the first aspect or any optional implementation manner of the first aspect.
In a sixth aspect, embodiments provide a computer program product, which when run on a computer, causes the computer to execute the method of the first aspect, or any optional implementation manner of the first aspect.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a first flowchart of a method for calculating an electric charge according to an embodiment of the present application;
fig. 2 is a second flowchart of a method for calculating an electric charge according to an embodiment of the present application;
fig. 3 is a third flowchart of a method for calculating an electric charge according to an embodiment of the present application;
fig. 4 is a fourth flowchart of an electric charge calculation method according to an embodiment of the present application;
fig. 5 is a fifth flowchart of an electric charge calculation method according to an embodiment of the present application;
fig. 6 is a structural diagram of an electric charge calculation apparatus according to an embodiment of the present application;
fig. 7 is a block diagram of an electric charge calculation system according to an embodiment of the present application;
fig. 8 is a block diagram of an electronic device according to an embodiment of the present application.
Icon: 200-a receiving module; 202-an obtaining module; 204-collapse module; 206-a calculation module; 208-a conversion module; 30-an electricity fee calculation system; 301-a data acquisition unit; 302-a data processing unit; 303-a calculation unit; 4-an electronic device; 401-a processor; 402-a memory; 403-communication bus.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
First embodiment
As shown in fig. 1, an embodiment of the present application provides an electric charge calculation method, where the electric charge calculation method may be applied to a server, where the server may be a server composed of a physical device and an operating system, or may be a quantum computer, and the electric charge calculation method may specifically include the following steps:
step S100: and receiving a regional electric charge inquiry request which comprises at least one electric meter identifier in the region.
Step S102: and acquiring corresponding electricity charge metering data information according to each electric meter identification, wherein the electricity charge metering data information comprises the current reading of the electric meter and a plurality of metering parameter values.
Step S104: and collapsing the preset superposition state model into the current momentum eigen state corresponding to each electric meter identification according to a plurality of metering parameter values corresponding to each electric meter identification.
Step S106: and calculating the current electricity consumption cost of the electric meter corresponding to each electric meter identification according to the current reading of the electric meter corresponding to each electric meter identification and the current momentum eigen state.
In step S100, the area may represent a certain cell, a certain mall or a certain park, and the regional power fee query request may be actively sent to the server through the user or the property, for example, when a certain user wants to query the household power fee, the power box may be opened to send the regional power fee query request to the server, and at this time, only one meter identifier included in the regional power fee query request is the user; when the property wants to inquire the electricity consumption of users in the self-management cell, the electricity box can be opened to send a regional electricity consumption inquiry request to the server, the electricity consumption corresponding to each electricity meter identifier in the cell can be calculated, and a plurality of electricity meter identifiers can be included; the electric meter of each user or each merchant has a unique identifier; in addition, the server can identify the uniquely corresponding electric meter equipment according to the electric meter identification, and can also inquire a merchant or a user associated with the uniquely corresponding electric meter equipment corresponding to the electric meter identification in the database. After receiving the power rate inquiry request sent by the user, the server may perform step S102.
In step S102, the server obtains a current reading of the electric meter corresponding to each electric meter identifier and a plurality of measurement parameter values according to the electric charge query request, where the plurality of measurement parameter values respectively represent current values of a plurality of measurement parameters related to the electric charge. The current reading of the electric meter corresponding to each electric meter identification is used for making a difference with the reading of the corresponding electric meter in the previous meter reading process to obtain the reading difference of the electric meter, and then the electric charge of the corresponding electric meter is calculated according to the reading difference of each electric meter; the measuring parameters represent a plurality of variable quantities of the electric charge calculated together with the current reading of the electric meter, and the variable quantities specifically comprise the unit price of the electric charge of the electric meter, the binding relationship of the electric meter and the multiplying power of the electric meter; the multiplying power of the electric meter is a variable parameter which needs to be combined with the reading number to calculate the actual electricity consumption of the user in the process of calculating the electricity fee, for example, the multiplying power of the electric meter is 200, the reading difference is 20, and the actual electricity consumption is 200 × 20 ═ 4000 KW/H; the unit price of the electric meter is a variable parameter which needs to be combined with the actual electricity consumption of a user to calculate the electricity fee in the process of calculating the electricity fee, for example, 1KW/H is 0.5 yuan; the ammeter binding relation indicates whether the current ammeter is bound with the merchant, if so, the value can be 1, and if not, the value can be 0. After the server obtains the current reading of the electric meter corresponding to each electric meter identifier and the current value corresponding to each of the plurality of metering parameters, step S104 may be executed.
In step S104, a preset overlay state model is configured in advance in the server, and the overlay state model is obtained by conversion according to a plurality of metering parameters required for calculating the electric charge. When the server inputs a plurality of metering parameter values corresponding to one ammeter identification into a preset superposition state model, the preset superposition state model can be collapsed into a specific value, and the specific value is the current momentum eigen state; when the plurality of metering parameter values of the electric meter corresponding to each electric meter identification are different, each electric meter can correspond to a current momentum eigenstate. After obtaining the current momentum eigenstate corresponding to each meter id, the server may perform step S106.
In step S106, the server calculates an electric meter reading difference corresponding to each electric meter according to the current electric meter reading corresponding to each electric meter identifier and the electric meter reading recorded when each electric meter identifier was queried last time, specifically, the electric meter reading difference is obtained by subtracting the electric meter reading recorded when queried last time from the current electric meter reading, and in this way, the electric meter reading difference corresponding to each electric meter identifier can be obtained, and then the current electric charge corresponding to each electric meter identifier is calculated according to the electric meter reading difference corresponding to each electric meter identifier and the current momentum eigenstate corresponding to each electric meter identifier obtained in step S104.
In the above designed electricity fee calculating method, after receiving a regional electricity fee inquiry request, obtaining electricity fee metering data information corresponding to a plurality of electricity meter identifications in a region in real time, extracting current values of a plurality of metering parameters in the electricity fee metering data information corresponding to each electricity meter identification, respectively inputting the current values of the plurality of metering parameters corresponding to each electricity meter identification into a superposition state model, respectively collapsing the superposition state model into a current momentum eigenstate corresponding to each electricity meter identification, calculating current electricity fees of the electricity meters corresponding to each electricity meter identification according to the current readings of the electricity meters corresponding to each electricity meter identification and the current momentum eigenstate, and further obtaining total electricity fees of all the electricity meters in the region, only in the above mode, the current value of the metering parameter corresponding to each electricity meter is extracted under the condition that a user inquires and calls, and at this time, the current value of each metering parameter is extracted regardless of whether the change or not, the method has the advantages that the pre-constructed stack state model is collapsed to obtain the current momentum eigen state corresponding to each ammeter identification, electricity charges are calculated, the problems that in the existing method, when relevant parameters of the electricity charges change, recalculation can be carried out in the existing calculation mode, the system is unavailable, electricity charges are low in calculation efficiency and instantaneity, and the electricity charges are calculated efficiently and real-timely are improved.
In an optional implementation manner of this embodiment, when the regional power rate query request includes a plurality of meter identifiers in a region, after calculating the current power rate of each corresponding meter according to the current reading of the meter corresponding to each meter identifier and the current momentum eigenstate in step S106, as shown in fig. 2, the method may further include:
step S108: and calculating the total electricity consumption cost of all the electricity meters according to the current electricity consumption cost of all the electricity meters.
In step S108, after the server calculates the current electricity consumption rate corresponding to each electricity meter identifier, step S108 may be executed to calculate the total electricity consumption rate of all the electricity meters according to the current electricity consumption rates of the electricity meters corresponding to all the electricity meter identifiers, that is, the total electricity consumption rate of all the electricity meters may be obtained by adding the current electricity consumption rates of the electricity meters corresponding to all the electricity meter identifiers.
In an optional implementation manner of this embodiment, before receiving the regional electric charge query request in step S100, as shown in fig. 3, the method further includes the following steps:
step S90: and acquiring a plurality of metering parameters in the electricity charge metering data information.
Step S92: and converting the plurality of metering parameters into a superposition state model corresponding to the plurality of metering parameters to obtain a preset superposition state model.
In step S92, the superimposed state model for converting the plurality of metering parameters into the plurality of metering parameters may be a superimposed state model for converting the plurality of electricity charge parameters into the plurality of metering parameters by a normalized linear combination, and specifically, may be a superimposed state model for converting the plurality of electricity charge parameters into the plurality of metering parameters by limiting a format and a value range of each metering parameter to be a limited variable state quantity, so as to abstract the plurality of metering parameters into the superimposed state quantity in the quantum computation, that is, the superimposed state model.
In an optional implementation manner of this embodiment, step S104 collapses the preset stack state model into the current momentum eigen-state corresponding to each meter identifier according to a plurality of metering parameter values corresponding to each meter identifier, as shown in fig. 4, specifically, the following steps may be performed:
step S1040: and collapsing the preset superposition state model into the current momentum eigen-state corresponding to each electric meter identification according to a plurality of metering parameter values corresponding to each electric meter identification by using a wave function collapsing method.
In step S1040, only when the user queries and accesses, the plurality of metering parameter values corresponding to each electricity meter identifier are extracted, and the preset stack-state model is collapsed to a specific value, so that quantum stack calculation is implemented, and thus the extracted metering parameter values are all real-time values, and no matter how the metering parameter values change, a recalculation mechanism is triggered. The specific collapse method of the current momentum eigen state corresponding to each electric meter identification is consistent with the traditional wave function collapse method, and the current momentum eigen state obtained after collapse is a specific value.
In an optional implementation manner of this embodiment, before collapsing the preset stack state model into the current momentum eigenstate corresponding to each meter identifier according to the plurality of metering parameter values corresponding to each meter identifier in step S104, as shown in fig. 5, the method further includes:
step S1030: and judging whether each metering parameter value corresponding to each ammeter identification is the same as the metering parameter value obtained in the last query, and if so, turning to the step S1031.
Step S1031: and acquiring a second momentum eigenstate corresponding to each ammeter identification, wherein the second momentum eigenstate corresponding to each ammeter identification is obtained according to the metering parameter value corresponding to each ammeter identification during last query and the preset superposition state model.
Step S1032: and calculating the current electricity consumption cost of each corresponding electricity meter according to the current reading of the electricity meter corresponding to each electricity meter identification and the second momentum eigenstate.
In step S1030, after the plurality of metering parameter values corresponding to each meter identifier are extracted in step S102, the server may determine whether each metering parameter value corresponding to each meter identifier is the same as the metering parameter value obtained in the last query, if so, execute step S1031 to directly invoke the collapse value corresponding to each meter identifier in the last query, that is, the second momentum eigen state, and then execute step S1032 to calculate the current electricity consumption rate of each corresponding meter according to the current meter reading corresponding to each meter identifier and the second momentum eigen state.
In the embodiment designed above, before collapsing the preset stack state model into the current momentum eigen-state corresponding to each meter identifier by using the plurality of metering parameter values corresponding to each meter identifier, it is determined whether the metering parameter value of each meter in the last query is the same as the metering parameter value of the current query, and if so, the second momentum eigen-state obtained by collapsing each meter identifier in the last query is directly called to calculate the electricity charge, so that the momentum eigen-state in the last time is directly called without changing the metering parameter, and further, the effect of saving the calculation resources is achieved.
Second embodiment
Fig. 6 shows a schematic block diagram of the electric charge calculating device provided by the present application, and it should be understood that the device corresponds to the method embodiments in fig. 1 to 5, and can execute the steps involved in the method in the first embodiment, and the specific functions of the device can be referred to the description above, and the detailed description is appropriately omitted here to avoid redundancy. The device includes at least one software function that can be stored in memory in the form of software or firmware (firmware) or solidified in the Operating System (OS) of the device. Specifically, the apparatus includes: the receiving module 200 is configured to receive a regional electricity fee query request, where the regional electricity fee query request includes at least one electric meter identifier in a region; the obtaining module 202 is configured to obtain corresponding electricity charge metering data information according to each electricity meter identifier, where the electricity charge metering data information includes a current reading of an electricity meter and a plurality of metering parameter values, and the plurality of metering parameter values respectively represent current values of a plurality of metering parameters related to electricity charges; a collapsing module 204, configured to collapse a preset stack-state model into a current momentum eigen-state corresponding to each electric meter identifier according to a plurality of metering parameter values corresponding to each electric meter identifier, where the preset stack-state model is generated according to the plurality of metering parameters; and the calculating module 206 is configured to calculate the current electricity consumption rate of each corresponding electricity meter according to the current reading of the electricity meter corresponding to each electricity meter identifier and the current momentum eigen state.
In the above-designed electricity fee calculating apparatus, after receiving a regional electricity fee inquiry request, acquiring electricity fee measurement data information corresponding to a plurality of electricity meter identifications in a region in real time, extracting current values of a plurality of measurement parameters in the electricity fee measurement data information corresponding to each electricity meter identification, inputting the current values of the plurality of measurement parameters corresponding to each electricity meter identification into a stack state model, collapsing the stack state model into a current momentum eigenstate corresponding to each electricity meter identification, calculating current electricity fees of the electricity meters corresponding to each electricity meter identification according to the current readings of the electricity meters corresponding to each electricity meter identification and the current momentum eigenstate, and further obtaining total electricity fees of all the electricity meters in the region, in the above manner, only under the condition of user inquiry and call, the current value of the measurement parameter corresponding to each electricity meter is extracted regardless of whether each measurement parameter changes or not, the current value of each measurement parameter is extracted, the method has the advantages that the pre-constructed stack state model is collapsed to obtain the current momentum eigen state corresponding to each ammeter identification, electricity charges are calculated, the problems that in the existing method, when relevant parameters of the electricity charges change, recalculation can be carried out in the existing calculation mode, the system is unavailable, electricity charges are low in calculation efficiency and instantaneity, and the electricity charges are calculated efficiently and real-timely are improved.
In an optional implementation manner of this embodiment, the calculating module 206 is further configured to calculate the total electricity consumption cost of all the electricity meters according to the current electricity consumption cost of all the electricity meters.
In an optional implementation manner of this embodiment, the obtaining module 202 is further configured to obtain a plurality of metering parameters in the electricity charge metering data information; the converting module 208 is configured to convert the multiple metering parameters into a stack state model corresponding to the multiple metering parameters, so as to obtain a preset stack state model.
In an optional implementation manner of this embodiment, the conversion module 208 is specifically configured to convert the normalized linear combination of multiple metering parameters into a superposition state model corresponding to multiple metering parameters.
Third embodiment
As shown in fig. 7, the present application provides an electric charge calculation system 30, where the electric charge calculation system 30 includes a data acquisition unit 301, a data processing unit 302, and a calculation unit 303, and the data acquisition unit 301, the data processing unit 302, and the calculation unit 303 are connected in communication;
the data acquisition unit 301 is configured to receive a regional electricity fee query request, where the regional electricity fee query request includes at least one electric meter identifier in a region; acquiring corresponding electricity charge metering data information according to each electricity meter identification, wherein the electricity charge metering data information comprises an electricity meter current reading and a plurality of metering parameter values, the plurality of metering parameter values respectively represent current values of a plurality of metering parameters related to electricity charges, the electricity meter current reading corresponding to each electricity meter identification is sent to the calculating unit 303, and the plurality of metering parameter values corresponding to each electricity meter identification are sent to the data processing unit 302;
the data processing unit 302 is configured to collapse a preset stack state model into a current momentum eigen-state corresponding to each electric meter identifier according to each metering parameter value corresponding to each electric meter identifier, where the preset stack state model is generated according to the plurality of metering parameters, and sends the current momentum eigen-state corresponding to each electric meter identifier to the calculating unit 303;
the calculating unit 303 is configured to calculate a current electricity consumption cost of each corresponding electricity meter according to the current reading of the electricity meter corresponding to each electricity meter identifier and the current momentum eigen state; and calculating the total electricity consumption cost of all the electric meters according to the current electricity consumption cost of all the electric meters.
In an optional implementation manner of this embodiment, the collapsing of the data processing unit 302 is performed only after the instruction sent by the user is acquired, and the data acquired by the data acquisition unit 301 and the data acquired by the data processing unit 302 may be loaded into the computing unit 303 in a lazy loading manner.
Fourth embodiment
As shown in fig. 8, the present application provides an electronic device 4 comprising: the processor 401 and the memory 402, the processor 401 and the memory 402 being interconnected and communicating with each other via a communication bus 403 and/or other form of connection mechanism (not shown), the memory 402 storing a computer program executable by the processor 401, the computer program being executed by the processor 401 when the computing device is running to perform the method of the first embodiment, any alternative implementation of the first embodiment, such as the steps S100 to S106: receiving a regional electricity charge query request, wherein the regional electricity charge query request comprises at least one electric meter identifier in a region; acquiring corresponding electricity charge metering data information according to each electricity meter identification, wherein the electricity charge metering data information comprises current readings of the electricity meters and a plurality of metering parameter values, and the plurality of metering parameter values respectively represent current numerical values of the plurality of metering parameters related to the electricity charges; collapsing a preset stack state model into a current momentum eigen state corresponding to each ammeter identification according to a plurality of metering parameter values corresponding to each ammeter identification, wherein the preset stack state model is generated according to the plurality of metering parameters; and calculating the current electricity consumption cost of each corresponding electricity meter according to the current reading of the electricity meter corresponding to each electricity meter identification and the current momentum eigenstate.
The present application provides a storage medium having a computer program stored thereon, where the computer program is executed by a processor to perform the method of the first embodiment or any alternative implementation manner of the first embodiment.
The storage medium may be implemented by any type of volatile or nonvolatile storage device or combination thereof, such as a Static Random Access Memory (SRAM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), an Erasable Programmable Read-Only Memory (EPROM), a Programmable Read-Only Memory (PROM), a Read-Only Memory (ROM), a magnetic Memory, a flash Memory, a magnetic disk, or an optical disk.
The present application provides a computer program product which, when run on a computer, causes the computer to perform the method of the first embodiment, any of its alternative implementations.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
In addition, units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
It should be noted that the functions, if implemented in the form of software functional modules and sold or used as independent products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium, which includes several requests for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. A method of calculating an electric charge, the method comprising:
receiving a regional electric charge query request, wherein the regional electric charge query request comprises at least one electric meter identifier in a region;
acquiring corresponding electricity charge metering data information according to each electricity meter identification, wherein the electricity charge metering data information comprises current readings of the electricity meters and a plurality of metering parameter values, and the plurality of metering parameter values respectively represent current values of a plurality of metering parameters related to electricity charges;
collapsing a preset stack state model into a current momentum eigen state corresponding to each ammeter identification according to a plurality of metering parameter values corresponding to each ammeter identification, wherein the preset stack state model is generated according to the plurality of metering parameters;
and calculating the current electricity consumption cost of each corresponding electricity meter according to the current reading of the electricity meter corresponding to each electricity meter identification and the current momentum eigenstate.
2. The method as claimed in claim 1, wherein the regional electricity fee inquiry request includes a plurality of meter identifications within a region, and after the calculating the current electricity fee of each corresponding meter according to the current reading of the meter corresponding to each meter identification and the current momentum eigenstate, the method further comprises:
and calculating the total electricity consumption cost of all the electricity meters according to the current electricity consumption cost of all the electricity meters.
3. The method according to claim 1, wherein before the receiving the regional electricity fee inquiry request, the method further comprises:
acquiring a plurality of metering parameters in the electric charge metering data information;
and generating a superposition state model corresponding to the plurality of metering parameters according to the plurality of metering parameters to obtain the preset superposition state model.
4. The method of claim 3, wherein generating the overlay state model corresponding to the plurality of metrology parameters from the plurality of metrology parameters comprises:
and converting the normalized linear combination of the plurality of metering parameters into a superposition state model corresponding to the plurality of metering parameters.
5. The method of claim 1, wherein collapsing the preset stack-state model into the current momentum eigenstate corresponding to each meter id according to the plurality of metering parameter values corresponding to each meter id comprises:
and collapsing the preset superposition state model into the current momentum eigen-state corresponding to each electric meter identification according to a plurality of metering parameter values corresponding to each electric meter identification by using a wave function collapsing method.
6. The method of claim 1, wherein prior to collapsing the preset stack state model into the current momentum eigenstate corresponding to each meter identification according to the plurality of metering parameter values corresponding to each meter identification, the method further comprises:
judging whether each metering parameter value corresponding to each ammeter identification is the same as the metering parameter value obtained in the last inquiry;
if so, acquiring a second momentum eigenstate corresponding to each ammeter identification, wherein the second momentum eigenstate corresponding to each ammeter identification is obtained according to the metering parameter value corresponding to each ammeter identification during last query and the preset superposition state model;
and calculating the current electricity consumption cost of each corresponding electricity meter according to the current reading of the electricity meter corresponding to each electricity meter identification and the second momentum eigenstate.
7. An electric charge calculation apparatus, characterized in that the apparatus comprises:
the receiving module is used for receiving a regional electric charge query request, wherein the regional electric charge query request comprises at least one electric meter identifier in a region;
the system comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring corresponding electric charge metering data information according to each electric meter identifier, the electric charge metering data information comprises the current reading of the electric meter and a plurality of metering parameter values, and the plurality of metering parameter values respectively represent the current values of a plurality of metering parameters related to the electric charge;
the collapse module is used for collapsing a preset stack state model into a current momentum eigen state corresponding to each ammeter identification according to a plurality of metering parameter values corresponding to each ammeter identification, and the preset stack state model is generated according to the metering parameters;
and the calculation module is used for calculating the current electricity consumption cost of each corresponding ammeter according to the current reading of the ammeter corresponding to each ammeter identification and the current momentum eigen state.
8. The electric charge calculation system is characterized by comprising a data acquisition unit, a data processing unit and a calculation unit, wherein the data acquisition unit, the data processing unit and the calculation unit are in communication connection;
the data acquisition unit is used for receiving a regional electric charge query request which comprises at least one electric meter identifier in a region; acquiring corresponding electricity charge metering data information according to each electricity meter identification, wherein the electricity charge metering data information comprises an electricity meter current reading and a plurality of metering parameter values, the plurality of metering parameter values respectively represent current values of a plurality of metering parameters related to electricity charges, the electricity meter current reading corresponding to each electricity meter identification is sent to a computing unit, and the plurality of metering parameter values corresponding to each electricity meter identification are sent to the data processing unit;
the data processing unit is used for collapsing a preset superposition state model into a current momentum eigen state corresponding to each ammeter identification according to each metering parameter value corresponding to each ammeter identification, the preset superposition state model is generated according to the plurality of metering parameters, and the current momentum eigen state corresponding to each ammeter identification is sent to the calculating unit;
and the calculating unit is used for calculating the current electricity consumption cost of each corresponding ammeter according to the current reading and the current momentum eigenstate of the ammeter corresponding to each ammeter identification.
9. An electronic device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the method of any of claims 1 to 6 when executing the computer program.
10. A storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method of any of claims 1 to 6.
CN202010498333.7A 2020-06-03 2020-06-03 Electricity charge calculation method, device, system, electronic equipment and storage medium Active CN111626794B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010498333.7A CN111626794B (en) 2020-06-03 2020-06-03 Electricity charge calculation method, device, system, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010498333.7A CN111626794B (en) 2020-06-03 2020-06-03 Electricity charge calculation method, device, system, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111626794A true CN111626794A (en) 2020-09-04
CN111626794B CN111626794B (en) 2022-05-31

Family

ID=72273115

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010498333.7A Active CN111626794B (en) 2020-06-03 2020-06-03 Electricity charge calculation method, device, system, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111626794B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080066052A1 (en) * 2006-09-07 2008-03-13 Stephen Wolfram Methods and systems for determining a formula
CN106156123A (en) * 2015-04-08 2016-11-23 腾讯科技(深圳)有限公司 Active value computational methods and device
CN107770805A (en) * 2016-08-22 2018-03-06 腾讯科技(深圳)有限公司 The decision method and device of the identification information of terminal
CN108959934A (en) * 2018-06-11 2018-12-07 平安科技(深圳)有限公司 Safety risk estimating method, device, computer equipment and storage medium
CN109117455A (en) * 2017-06-26 2019-01-01 上海寒武纪信息科技有限公司 Computing device and method
CN109285335A (en) * 2018-10-22 2019-01-29 长兴美奇达电子有限公司 Intelligent electric meter field data RFID based on cloud platform copies and accepts system and tariff metering apparatus
CN109376979A (en) * 2018-08-21 2019-02-22 中国平安财产保险股份有限公司 Calculate method, apparatus, computer equipment and the storage medium of performance
CN110390072A (en) * 2019-07-16 2019-10-29 浙江大搜车软件技术有限公司 Business numerical computation method, device, computer equipment and storage medium
CN110398280A (en) * 2019-07-26 2019-11-01 天泽信息产业股份有限公司 It is a kind of measure vehicular load car-mounted terminal and measurement, calculation method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080066052A1 (en) * 2006-09-07 2008-03-13 Stephen Wolfram Methods and systems for determining a formula
CN106156123A (en) * 2015-04-08 2016-11-23 腾讯科技(深圳)有限公司 Active value computational methods and device
CN107770805A (en) * 2016-08-22 2018-03-06 腾讯科技(深圳)有限公司 The decision method and device of the identification information of terminal
CN109117455A (en) * 2017-06-26 2019-01-01 上海寒武纪信息科技有限公司 Computing device and method
CN108959934A (en) * 2018-06-11 2018-12-07 平安科技(深圳)有限公司 Safety risk estimating method, device, computer equipment and storage medium
CN109376979A (en) * 2018-08-21 2019-02-22 中国平安财产保险股份有限公司 Calculate method, apparatus, computer equipment and the storage medium of performance
CN109285335A (en) * 2018-10-22 2019-01-29 长兴美奇达电子有限公司 Intelligent electric meter field data RFID based on cloud platform copies and accepts system and tariff metering apparatus
CN110390072A (en) * 2019-07-16 2019-10-29 浙江大搜车软件技术有限公司 Business numerical computation method, device, computer equipment and storage medium
CN110398280A (en) * 2019-07-26 2019-11-01 天泽信息产业股份有限公司 It is a kind of measure vehicular load car-mounted terminal and measurement, calculation method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王世刚: ""城市暴雨公式参数优化计算程序"", 《中国给水排》 *

Also Published As

Publication number Publication date
CN111626794B (en) 2022-05-31

Similar Documents

Publication Publication Date Title
CN106981004B (en) Apparatus, method and system for autonomous selection of goods suppliers
JP6254288B2 (en) Customer selectable power source options for network accessible service units
CN110493016B (en) Flow service charging method and device
EP2081123A1 (en) System, method and product for processing utility data
CN110705107B (en) Power distribution network voltage evaluation method, system, equipment and storage medium
KR101574524B1 (en) Method and recording medium for compatibility between iec61850 and opc ua
CN104484467A (en) Method and device for selecting electrical components
CN112860709A (en) Service index query method, device, equipment and storage medium
CN112419094B (en) Power distribution Internet of things data product construction method and device and readable storage medium
CN102027709B (en) Byte-based method, process and algorithm for service-oriented and utility infrastructure usage measurement, metering, and pricing
CN111626794B (en) Electricity charge calculation method, device, system, electronic equipment and storage medium
CN112488837B (en) Comprehensive energy service electric power transaction system
JP5972472B2 (en) Data processing apparatus, data processing method, and program
CN113076482A (en) Business information pushing method, device, system, computer equipment and storage medium
CN111597166A (en) Power database model construction method and device, computer equipment and storage medium
CN111444074A (en) Data monitoring method and device, electronic equipment and readable storage medium
CN113434770B (en) Business portrait analysis method and system combining electronic commerce and big data
CN115392892A (en) Account checking method, account checking device, terminal and storage medium
CN112230929B (en) CIM model data analysis method, CIM model data analysis device and storage medium
CN112181796B (en) Information acquisition method, device, server and storage medium
CN111429125B (en) Account management method and device, storage medium and electronic equipment
KR102493203B1 (en) Apparatus and method for intermediating electric power trade
CN116757760B (en) Method, system, terminal and storage medium for checking electric charge of business user
CN113191758A (en) Metering point-based charging method, revenue system, electronic device and storage medium
CN112364058B (en) Auditing method and device for commodity price configuration

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant