CN115456668A - Data processing method and device based on tiered pricing, equipment and storage medium - Google Patents

Data processing method and device based on tiered pricing, equipment and storage medium Download PDF

Info

Publication number
CN115456668A
CN115456668A CN202211071439.4A CN202211071439A CN115456668A CN 115456668 A CN115456668 A CN 115456668A CN 202211071439 A CN202211071439 A CN 202211071439A CN 115456668 A CN115456668 A CN 115456668A
Authority
CN
China
Prior art keywords
energy consumption
data
target
consumption data
energy
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.)
Pending
Application number
CN202211071439.4A
Other languages
Chinese (zh)
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.)
Zhejiang Chint Instrument and Meter Co Ltd
Original Assignee
Zhejiang Chint Instrument and Meter Co Ltd
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 Zhejiang Chint Instrument and Meter Co Ltd filed Critical Zhejiang Chint Instrument and Meter Co Ltd
Priority to CN202211071439.4A priority Critical patent/CN115456668A/en
Publication of CN115456668A publication Critical patent/CN115456668A/en
Pending legal-status Critical Current

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/0201Market modelling; Market analysis; Collecting market data
    • G06Q30/0206Price or cost determination based on market factors
    • 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
    • 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/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/06Electricity, gas 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

Abstract

The invention provides a data processing method and a device based on tiered pricing, wherein the method is applied to a server in communication connection with metering equipment, and the method comprises the following steps of: acquiring target energy consumption data of the metering equipment, wherein the target energy consumption data carries target generation time corresponding to the generation of the target energy consumption data; determining a target period corresponding to the target generation time according to the target generation time; acquiring initial energy utilization data corresponding to the target period in a database according to the target period; and generating a total energy consumption charge corresponding to the target energy consumption data according to the target energy consumption data, the initial energy consumption data and a preset tiered pricing model, wherein the preset tiered pricing model is stored in the database. The whole process of the tiered pricing settlement is executed by the server, the server does not depend on the metering equipment, the requirement on the hardware function of the metering equipment is low, and the metering equipment only needs to have the most basic metering function.

Description

Data processing method and device based on tiered pricing, equipment and storage medium
Technical Field
The invention relates to the technical field of data processing, in particular to a data processing method and device based on tiered pricing, equipment and a storage medium.
Background
More and more families using electricity, water and gas carry out a stepped pricing settlement mode, taking a stepped electricity price as an example, the stepped electricity price is a short term of stepped incremental electricity price or stepped progressive electricity price, also called stepped electricity price, and means that the electricity consumption is set into a plurality of stepped sections or stepped pricing to calculate the cost. The settlement mode of the tiered pricing not only enables the charging mode to be more reasonable, but also reduces the waste of water, electricity, gas and the like of residents and enterprises.
At present, energy consumption data (electricity consumption, water consumption and gas consumption) are mainly collected, measured, transmitted and the like by using metering equipment. At present, the function of realizing the tiered pricing settlement mainly depends on the hardware function of the metering equipment, the metering equipment is required to support rate switching, rate period adjustment, data acquisition and storage and the like, and the energy consumption cost in different stages can be rapidly calculated by matching with a remote meter reading system. However, for a metering device that does not have the functions of rate switching, rate period adjustment, and the like, the tiered pricing settlement function cannot be realized.
Disclosure of Invention
Therefore, the present invention is to solve the technical problem that the energy cost for stepwise settlement of metering equipment without a stepwise metering settlement function cannot be solved in the prior art, and to provide a data processing method and apparatus based on stepwise settlement, a device, and a storage medium.
According to a first aspect, an embodiment of the present invention provides a tiered pricing-based data processing method, applied to a server communicatively connected to a metering device, the method including the following steps:
acquiring target energy consumption data of the metering equipment, wherein the target energy consumption data carries target generation time corresponding to the generation of the target energy consumption data;
determining a target period corresponding to the target generation time according to the target generation time;
acquiring initial energy consumption data corresponding to the target period in a database according to the target period;
and generating a total energy consumption charge corresponding to the target energy consumption data according to the target energy consumption data, the initial energy consumption data and a preset tiered pricing model, wherein the preset tiered pricing model is stored in the database.
Optionally, the obtaining, according to the target period, initial energy consumption data corresponding to the target period from a database includes:
judging whether the database has minimum energy consumption data in the target period;
and if so, determining the minimum energy utilization data as initial energy utilization data.
And if the target energy consumption data does not exist, determining the target energy consumption data as initial energy consumption data.
Optionally, the obtaining, according to the target period, initial energy consumption data corresponding to the target period from a database includes:
judging whether the database has minimum energy consumption data in the target period;
and if the maximum value does not exist, taking the maximum value of the energy utilization data corresponding to the previous period of the target period as the initial energy utilization data.
Optionally, after the initial energy consumption data corresponding to the target period is obtained from the database according to the target period, the data processing method based on the tiered pricing further includes:
acquiring energy data for freezing, and extracting minimum freezing data in the energy data for freezing;
judging whether the minimum frozen data is smaller than the minimum energy consumption data or not;
and if so, replacing the minimum energy consumption data with minimum freezing data.
Optionally, the generating a total energy consumption corresponding to the target energy consumption data according to the target energy consumption data, the initial energy consumption data and a preset tiered pricing model includes:
calculating an energy utilization difference value between the target energy utilization data and the initial energy utilization data, and determining the accumulated energy utilization of the target energy utilization data in the target period;
according to the preset step pricing model, dividing the accumulated energy into energy utilization grades corresponding to step energy utilization ranges;
and according to the energy consumption grades and the energy consumption unit price corresponding to each energy consumption grade, the total energy consumption corresponding to the target energy consumption data is settled.
Optionally, the tiered pricing-based data processing method further comprises;
acquiring the maximum energy consumption set by a user side;
judging whether the accumulated energy consumption is larger than the maximum energy consumption;
and if the accumulated energy consumption is larger than the maximum energy consumption, generating prompt information, wherein the prompt information is used for being sent to a user side.
According to a second aspect, an embodiment of the present invention provides a tiered pricing-based data processing apparatus, disposed on a server communicatively connected to a metering device, the apparatus including:
the communication module is used for acquiring target energy consumption data of the metering equipment, and the target energy consumption data carries target generation time corresponding to the generation of the target energy consumption data;
the determining module is used for determining a target period corresponding to the target generation time according to the target generation time;
the acquisition module is used for acquiring initial energy consumption data corresponding to the target period from a database according to the target period;
and the settlement module is used for generating the total energy consumption corresponding to the target energy consumption data according to the target energy consumption data, the initial energy consumption data and a preset tiered pricing model, and the preset tiered pricing model is stored in the database.
According to a third aspect, an embodiment of the present invention provides a computer apparatus, including: the data processing system comprises a memory and a processor, wherein the memory and the processor are connected with each other in a communication mode, computer instructions are stored in the memory, and the processor executes the computer instructions so as to execute the data processing method based on the tiered pricing.
According to a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium storing computer instructions for causing the computer to execute the above-mentioned tiered pricing-based data processing method.
The technical scheme of the invention has the following advantages:
in the embodiment of the invention, firstly, target energy consumption data of metering equipment and target generation time corresponding to the generation of the target energy consumption data are obtained through a server; secondly, inquiring an energy consumption database deployed on a server through a target period in which the target generation time is positioned, and determining initial energy consumption data of the target period; and finally, the total energy consumption corresponding to the target energy consumption data is settled according to the target energy consumption data, the initial energy consumption data and a preset tiered pricing model deployed on the server. The data processing method based on the tiered pricing is executed by the server in the whole process, after the server obtains energy consumption data measured by the measuring equipment, the server further determines target energy consumption data and initial energy consumption data according to the energy consumption data, and settlement is further carried out according to the target energy consumption data and the initial energy consumption data. The tiered pricing settlement function does not depend on the metering equipment, the requirement on the hardware function of the metering equipment is low, the metering equipment can realize data processing based on tiered pricing only by having the most basic metering function, and the tiered pricing settlement of the functional data is realized.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of a specific example of a tiered pricing-based data processing method according to embodiment 1 of the present application;
FIG. 2 is a schematic block diagram showing a specific example of a tiered pricing-based data processing apparatus according to embodiment 2 of the present application;
fig. 3 is a schematic structural diagram of a specific example of a computer device according to embodiment 3 of the present application.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the accompanying drawings, and it should be understood that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the description of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; the two elements may be directly connected or indirectly connected through an intermediate medium, or may be connected through the inside of the two elements, or may be connected wirelessly or through a wire. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
Furthermore, the technical features involved in the different embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
Example 1
The embodiment provides a data processing method based on tiered pricing, which is applied to a server in communication connection with a metering device, determines data required for settlement through energy consumption data acquired by the server, and performs calculation according to a tiered pricing model, so as to implement data processing based on tiered pricing, and as shown in fig. 1, the method includes the following steps:
step S101, obtaining target energy consumption data of the metering equipment, wherein the target energy consumption data carries target generation time corresponding to the target energy consumption data when the target energy consumption data is generated.
The metering device can be an electric energy meter, a water meter or a gas meter, and the electric quantity of the electric energy metering device is mainly taken as an example in the embodiment. The energy utilization data of the electric energy meter can be acquired regularly by setting the acquisition period of the energy utilization data acquired by the server and the reporting period of the electric energy meter. The metering equipment can be connected with the server in various modes such as wired communication, near-field communication, long-distance cellular communication and the like, so that the server can receive the energy consumption data reported by the metering equipment or the energy consumption data of the metering equipment can be copied and read by the server.
In addition to the intelligent electric energy meter, the simplest and traditional electric energy meter also has the most basic cumulative metering function, that is, in the actual metering process, the electric energy meter can always accumulate the electric energy used by the user, and in each electric energy accumulation process, the corresponding time when the electric energy is generated is also recorded. The server can simultaneously acquire the target energy data and the target generation time corresponding to the target energy data.
And S102, determining a target period corresponding to the target generation time according to the target generation time.
Specifically, tiered pricing has a certain pricing period, such as: one pricing cycle per month, one pricing cycle per half year, or one pricing cycle per year, etc. At the end of each invoicing cycle, a new invoicing cycle will resume the step settlement with the energy data. In this embodiment, the pricing cycle in which the target generation time is located, that is, the target cycle, may be determined according to the target generation time.
And step S103, acquiring initial energy utilization data corresponding to the target period from a database according to the target period.
In this embodiment, the energy consumption data and the corresponding generation time acquired by the server each time are stored in the energy consumption database on the server, that is, the database, and the acquired energy consumption data may be stored in groups according to the pricing cycle. And determining initial energy utilization data in the target period by using the determined target period.
For example, each month is taken as an invoicing period, 1 month 1 to 1 month 31 are first invoicing periods, 2 months 1 to 2 months 28 are second invoicing periods, 3 months 1 to 3 months 31 are third invoicing periods, and so on; at this time, the target generation time corresponding to the target energy consumption data acquired by the server is 2 months and 2 days, and the target period of the 2 months and 2 days is a second pricing period; and inquiring the stored energy consumption data in the second pricing period according to the energy consumption database on the server so as to determine initial energy consumption data, wherein the initial energy consumption data are initial data of the total energy consumption settlement of the current pricing period.
And step S104, generating a total energy consumption charge corresponding to the target energy consumption data according to the target energy consumption data, the initial energy consumption data and a preset tiered pricing model, wherein the preset tiered pricing model is stored in the database.
The preset tiered pricing model is pre-stored in a database on the server, can comprise a plurality of tiered energy utilization ranges and energy utilization unit prices corresponding to the tiered energy utilization ranges, and can be applied to tiered electricity prices, tiered water prices, tiered gas prices and the like. After the target energy data and the initial energy data are determined, the accumulated energy of the target energy data in the target period is calculated according to the target energy data and the initial energy data. And finally, settling the total energy consumption corresponding to the target energy consumption data according to the energy consumption grade and the energy consumption unit price corresponding to each energy consumption grade.
Further, taking the electricity price as an example, the preset tiered pricing model in this embodiment includes, in addition to the tiered electricity price related data, rate electricity price related data, where the rate electricity price includes four items, namely tip electricity price, peak electricity price, flat electricity price, and valley electricity price, and the settlement can be performed by using the rate electricity price according to the acquired energy consumption data and the time corresponding to the generation of the energy consumption data.
In the embodiment, firstly, target energy consumption data of the metering equipment and target generation time corresponding to the generation of the target energy consumption data are obtained through a server; secondly, inquiring a database deployed on a server through a target period in which the target generation time is positioned, and determining initial energy consumption data of the target period; and finally, settling the total energy consumption corresponding to the target energy consumption data according to the target energy consumption data, the initial energy consumption data and a preset tiered pricing model stored on the server. The data processing method based on the tiered pricing is executed by the server in the whole process, after the server obtains the energy consumption data measured by the measuring equipment, the server further determines target energy consumption data and initial energy consumption data according to the energy consumption data, and settlement is further carried out according to the target energy consumption data and the initial energy consumption data. The tiered pricing settlement function does not depend on the metering equipment, the requirement on the hardware function of the metering equipment is low, the metering equipment can realize data processing based on tiered pricing only by having the most basic metering function, and the tiered pricing settlement of the functional data is realized.
As an optional implementation manner, in an embodiment of the present invention, the acquiring, according to the target period, initial energy consumption data corresponding to the target period in a database includes:
judging whether the database has minimum energy consumption data in the target period;
and if so, determining the minimum energy utilization data as initial energy utilization data.
After the server acquires the energy data each time, the energy data is further stored in an energy database on the server, and each energy data carries a generation time corresponding to the generation of the energy data.
And after the target energy consumption data are acquired and the target period where the target energy consumption data are located is determined, judging whether the minimum energy consumption data exist in the target period or not based on the energy consumption database. And if so, determining the minimum energy consumption data in the target period as the initial energy consumption data. In this embodiment, the server may obtain, in real time, energy consumption data measured by the measuring device, and may further use, as initial energy consumption data, energy consumption data corresponding to the earliest generation time in the target period, that is, energy consumption data stored for the first time in the target period obtained by the server, that is, minimum energy consumption data in the target period.
In the embodiment, the server only needs to search the initial energy consumption data in the current target period, and does not need to judge all data in the energy consumption database, so that the judged data volume is reduced, and the processing efficiency of the server is improved.
Further, if the energy consumption database does not have the minimum energy consumption data in the target period, the target energy consumption data is determined as the initial energy consumption data.
And after the target energy consumption data are acquired and the target period where the target energy consumption data are located is determined, whether the minimum energy consumption data exist in the target period is judged based on the energy consumption database. And if the target energy data does not exist, determining the target energy data as the initial energy data of the target period. In this embodiment, when the target energy data acquired by the server is the energy data acquired for the first time in the target period, the target energy data is used as the initial energy data, so that the server can be prevented from reporting an error because the initial energy data is not determined in the tiered pricing settlement process.
As an optional implementation manner, in an embodiment of the present invention, the obtaining, according to the target period, initial energy consumption data corresponding to the target period in a database includes:
judging whether the energy utilization database has minimum energy utilization data in the target period;
and if the maximum value does not exist, taking the maximum value of the energy utilization data corresponding to the previous period of the target period as the initial energy utilization data.
In this embodiment, the maximum value of the energy consumption data corresponding to the previous cycle of the target cycle may be further stored, and when the energy consumption database does not have the minimum energy consumption data in the target cycle, the maximum value of the energy consumption data corresponding to the previous cycle of the target cycle may be used as the initial energy consumption data, that is, the maximum value of the energy consumption data corresponding to the previous cycle may be called for settlement. The method can ensure the accuracy of initial energy consumption data, thereby ensuring the accuracy of final total energy consumption settlement and further improving the efficiency of the total energy consumption settlement.
As an optional implementation manner, in an embodiment of the present invention, after the obtaining, according to the target period, initial energy data corresponding to the target period in a database, the tiered pricing-based data processing method further includes:
acquiring energy data for freezing, and extracting minimum freezing data in the energy data for freezing;
judging whether the minimum frozen data is smaller than the minimum energy consumption data or not;
and if so, replacing the minimum energy consumption data with minimum freezing data.
The metering device also supports freezing functions, including integral freezing, daily freezing, instantaneous freezing and the like, namely, the energy utilization data of the metering device can be automatically frozen according to a set freezing period.
In this embodiment, by using the characteristic that the metering device has the freezing function, the server can acquire not only the target data but also the frozen energy consumption data, that is, the frozen energy consumption data. Extracting minimum freezing data according to the obtained freezing energy data, and judging whether the minimum freezing data is smaller than the minimum energy data, namely further judging whether the determined initial energy data is the minimum energy data in a target period; if the minimum frozen data is smaller than the minimum energy consumption data, that is, if the initial energy consumption data is not the minimum energy consumption data in the target period, and there may be a case that the server obtains the energy consumption data to be lost, the initial energy consumption data is confirmed again, that is, the minimum energy consumption data is replaced by the minimum frozen data, and the minimum frozen data is used as the initial energy consumption data.
For example, the following steps are carried out: in the target cycle, if the first generation-time target energy data acquired by the server is 102 degrees, the second generation-time target energy data acquired by the server is 112 degrees, and the third generation-time target energy data acquired by the server is 122 degrees, the minimum energy data in the target cycle, that is, the initial energy data is 102 degrees, is determined. The server acquires the frozen energy consumption data as follows: the first generation-time target energy data is 100 degrees, the second generation-time target energy data is 102 degrees, the third generation-time target energy data is 112 degrees, and the fourth generation-time target energy data is 122 degrees. At this time, the server extracts the minimum frozen data in the energy data for freezing as 100 degrees, judges that the minimum frozen data is 100 degrees smaller than the minimum energy data 102 degrees, namely the initial energy data 102 degrees is not the minimum value in the target period, and re-determines the initial energy data. And replacing the minimum energy consumption data by the minimum freezing data, wherein the initial energy consumption data in the redetermined target period is 100 degrees. And finally, settling the total energy consumption cost corresponding to the target energy consumption data according to the redetermined initial energy consumption data.
In this embodiment, by acquiring the energy data for freezing, the accuracy of acquiring the energy data for the server can be further ensured, and the accuracy of settling the total energy consumption cost can be further ensured.
As an optional implementation manner, in an embodiment of the present invention, the generating a total energy consumption fee corresponding to the target energy consumption data according to the target energy consumption data, the initial energy consumption data, and a preset tiered pricing model includes:
calculating an energy utilization difference value between the target energy utilization data and the initial energy utilization data, and determining the accumulated energy utilization of the target energy utilization data in the target period;
according to the preset step pricing model, dividing the accumulated energy into energy utilization grades corresponding to step energy utilization ranges;
and according to the energy consumption grades and the energy consumption unit price corresponding to each energy consumption grade, the total energy consumption corresponding to the target energy consumption data is settled.
Taking the electric quantity as an example, the following are illustrated: assuming that the currently acquired target energy consumption data is 1350 degrees and the determined initial energy consumption data is 1000 degrees, the accumulated energy consumption at this time is 350 degrees; as shown in table 1, for an example of partial data in the pricing step model, 350 degrees are divided into energy usage levels corresponding to the step energy range, that is, 350 degrees are divided into a first step, a second step, and a third step, respectively, 150 degrees corresponding to the first step are calculated according to the corresponding energy usage unit price of 0.55, 150 degrees corresponding to the second step are calculated according to the corresponding energy usage unit price of 0.6, 50 degrees corresponding to the third step are calculated according to the corresponding energy usage unit price of 0.65, and the total energy usage fee corresponding to the final settlement target energy usage data is 250 yuan.
Further, in this embodiment, after a pricing cycle is ended, both the energy consumption data of the pricing cycle and the total energy consumption for settlement are stored in the database on the server, and when the settlement data is incorrect, the historical data can be checked again to ensure the accuracy of settlement.
TABLE 1
Grade of energy consumption Step energy range (degree/household-moon) Energy consumption unit price (Yuan/degree)
First step [0,150] 0.55
Second step (150,300] 0.6
Third step >300 0.65
As an optional implementation manner, in an embodiment of the present invention, the data processing method based on tiered pricing further includes:
acquiring the maximum energy consumption set by a user side;
judging whether the accumulated energy consumption is larger than the maximum energy consumption;
and if the accumulated energy consumption is larger than the maximum energy consumption, generating prompt information, wherein the prompt information is used for being sent to a user side.
The user side can set the maximum energy consumption in each pricing cycle, when the accumulated energy consumption is larger than the maximum energy consumption, prompt information is generated and sent to the user side to remind the user that the maximum energy consumption is achieved, and the user side can be a mobile phone, a computer and the like. Further, in this embodiment, the remaining amount of the account, such as the electricity fee and the water fee, after the user terminal charges the account, the amount of the total energy consumption fee is deducted accordingly after the total energy consumption fee is settled, and when the total energy consumption fee is less than the predetermined remaining amount of the account, a prompt message is generated and sent to the user terminal to prompt the user that the remaining amount of the account is insufficient.
Example 2
This embodiment provides a tiered pricing data processing apparatus, which can be used to execute the tiered pricing data processing method of embodiment 1, and the apparatus can be disposed inside a server in communication connection with a metering device, and modules cooperate with each other to implement tiered pricing data processing using performance data, as shown in fig. 2, and the apparatus includes:
a communication module 201, configured to obtain target energy consumption data of the metering device, where the target energy consumption data carries target generation time corresponding to the generation of the target energy consumption data;
a determining module 202, configured to determine, according to the target generation time, a target period corresponding to the target generation time;
an obtaining module 203, configured to obtain initial energy consumption data corresponding to the target period from a database according to the target period;
and the settlement module 204 is configured to generate a total energy consumption corresponding to the target energy consumption data according to the target energy consumption data, the initial energy consumption data and a preset tiered pricing model, where the preset tiered pricing model is stored in the database.
In this embodiment, the system may further include a pricing management module, configured to configure relevant data such as a tiered pricing model and a pricing cycle; the system can also comprise a reminding module which is used for generating prompt information and sending the prompt information to the user side so as to remind the user.
In the embodiment, firstly, target energy consumption data of the metering equipment and target generation time corresponding to the generation of the target energy consumption data are obtained through a communication module on a server; secondly, determining a target period corresponding to the target generation time by using a target period in which the target generation time is positioned through a determination module, and acquiring initial energy utilization data corresponding to the target period in a database by using an acquisition module according to the target period; and finally, generating a total energy charge corresponding to the target energy consumption data by using a settlement module according to the target energy consumption data, the initial energy consumption data and a preset tiered pricing model stored on the server. The whole process of the tiered pricing settlement function is executed by the server, after the server acquires energy consumption data measured by the measuring equipment, the server further determines target energy consumption data and initial energy consumption data according to the energy consumption data, and settlement is further carried out according to the target energy consumption data and the initial energy consumption data. The tiered pricing settlement function does not depend on the metering equipment, the requirement on the hardware function of the metering equipment is low, the metering equipment only needs to have the most basic metering function to realize data processing based on tiered pricing, and the tiered pricing settlement of the functional data is realized.
For the detailed description of the above device part, reference may be made to the above method embodiments, which are not described herein again.
Example 3
The present embodiment provides a computer device, as shown in fig. 3, the computer device includes a processor 301 and a memory 302, where the processor 301 and the memory 302 may be connected by a bus or by other means, and fig. 3 takes the example of connection by a bus as an example.
Processor 301 may be a Central Processing Unit (CPU). The Processor 301 may also be other general purpose processors, digital Signal Processors (DSPs), graphics Processing Units (GPUs), embedded Neural Network Processors (NPUs), or other dedicated deep learning coprocessors, application Specific Integrated Circuits (ASICs), field Programmable Gate Arrays (FPGAs), or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, or any combination thereof.
The memory 302, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as the tiered pricing-based data processing method in the embodiments of the present invention. Corresponding program instructions/modules. The processor 301 executes various functional applications and data processing of the processor, i.e. implementing the tiered pricing-based data processing method in the above-described method embodiments, by running non-transitory software programs, instructions and modules stored in the memory 302.
The memory 302 may further include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created by the processor 301, and the like. Further, the memory 302 may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 302 may optionally include memory located remotely from the processor 301, which may be connected to the processor 301 over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The memory 302 stores one or more modules that, when executed by the processor 301, perform a tiered pricing-based data processing method as in the embodiment of fig. 1.
The details of the computer device may be understood with reference to the corresponding related description and effects in the embodiment shown in fig. 1, and are not described herein again.
An embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions can execute the tiered pricing-based data processing method in any of the above embodiments. The storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a Flash Memory (Flash Memory), a Hard Disk Drive (Hard Disk Drive, abbreviated as HDD), or a Solid State Drive (SSD); the storage medium may also comprise a combination of memories of the kind described above.
It should be understood that the above examples are only for clarity of illustration and are not intended to limit the embodiments. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. And are neither required nor exhaustive of all embodiments. And obvious variations or modifications therefrom are within the scope of the invention.

Claims (9)

1. A tiered pricing-based data processing method for use with a server communicatively coupled to a metering device, the method comprising the steps of:
acquiring target energy consumption data of the metering equipment, wherein the target energy consumption data carries target generation time corresponding to the generation of the target energy consumption data;
determining a target period corresponding to the target generation time according to the target generation time;
acquiring initial energy utilization data corresponding to the target period in a database according to the target period;
and generating a total energy consumption charge corresponding to the target energy consumption data according to the target energy consumption data, the initial energy consumption data and a preset tiered pricing model, wherein the preset tiered pricing model is stored in the database.
2. The tiered pricing-based data processing method of claim 1, wherein said obtaining initial energy usage data in a database corresponding to the target period based on the target period comprises:
judging whether the database has minimum energy consumption data in the target period;
if so, determining the minimum energy utilization data as initial energy utilization data;
and if the target energy consumption data does not exist, determining the target energy consumption data as initial energy consumption data.
3. The tiered pricing-based data processing method of claim 2, wherein said obtaining initial energy usage data in a database corresponding to the target period based on the target period comprises:
judging whether the database has minimum energy consumption data in the target period;
and if the energy consumption data does not exist, taking the maximum value of the energy consumption data corresponding to the previous period of the target period as the initial energy consumption data.
4. The tiered pricing-based data processing method of claim 2 or 3, wherein after said obtaining initial energy usage data in a database corresponding to said target period based on said target period, said method further comprises:
acquiring energy data for freezing, and extracting minimum freezing data in the energy data for freezing;
judging whether the minimum frozen data is smaller than the minimum energy consumption data or not;
and if so, replacing the minimum energy consumption data by minimum freezing data.
5. The tiered pricing-based data processing method of claim 1, wherein the generating of the total energy usage charge corresponding to the target energy usage data based on the target energy usage data, the initial energy usage data and a preset tiered pricing model comprises:
calculating an energy utilization difference value between the target energy utilization data and the initial energy utilization data, and determining the accumulated energy utilization of the target energy utilization data in the target period;
according to the preset step pricing model, dividing the accumulated energy into energy utilization grades corresponding to step energy utilization ranges;
and according to the energy consumption grades and the energy consumption unit price corresponding to each energy consumption grade, the total energy consumption corresponding to the target energy consumption data is settled.
6. The tiered pricing-based data processing method of claim 5, further comprising;
acquiring the maximum energy consumption set by a user side;
judging whether the accumulated energy consumption is larger than the maximum energy consumption;
and if the accumulated energy is larger than the maximum energy, generating prompt information, wherein the prompt information is used for sending to a user side.
7. A tiered pricing-based data processing apparatus, for use on a server communicatively coupled to a metering device, the apparatus comprising:
the communication module is used for acquiring target energy consumption data of the metering equipment, and the target energy consumption data carries target generation time corresponding to the generation of the target energy consumption data;
the determining module is used for determining a target period corresponding to the target generation time according to the target generation time;
the acquisition module is used for acquiring initial energy consumption data corresponding to the target period from a database according to the target period;
and the settlement module is used for generating the total energy consumption corresponding to the target energy consumption data according to the target energy consumption data, the initial energy consumption data and a preset tiered pricing model, and the preset tiered pricing model is stored in the database.
8. A computer device, comprising:
a memory and a processor, the memory and the processor being communicatively connected to each other, the memory having stored therein computer instructions, the processor executing the computer instructions to perform the tiered pricing-based data processing method of any of claims 1-6.
9. A computer-readable storage medium storing computer instructions for causing a computer to perform the tiered pricing-based data processing method of any of claims 1-6.
CN202211071439.4A 2022-09-02 2022-09-02 Data processing method and device based on tiered pricing, equipment and storage medium Pending CN115456668A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211071439.4A CN115456668A (en) 2022-09-02 2022-09-02 Data processing method and device based on tiered pricing, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211071439.4A CN115456668A (en) 2022-09-02 2022-09-02 Data processing method and device based on tiered pricing, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115456668A true CN115456668A (en) 2022-12-09

Family

ID=84300721

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211071439.4A Pending CN115456668A (en) 2022-09-02 2022-09-02 Data processing method and device based on tiered pricing, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115456668A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117238077A (en) * 2023-11-16 2023-12-15 成都秦川物联网科技股份有限公司 Ultrasonic metering instrument stepped gas price management method and system based on Internet of things

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117238077A (en) * 2023-11-16 2023-12-15 成都秦川物联网科技股份有限公司 Ultrasonic metering instrument stepped gas price management method and system based on Internet of things
CN117238077B (en) * 2023-11-16 2024-01-23 成都秦川物联网科技股份有限公司 Ultrasonic metering instrument stepped gas price management method and system based on Internet of things

Similar Documents

Publication Publication Date Title
CN110930034A (en) Electric power spot market settlement metering data verification method, device and medium
Lauvergne et al. Integration of electric vehicles into transmission grids: A case study on generation adequacy in Europe in 2040
CN105547331A (en) Intelligent electric meter electric quantity reminding method based on wireless communication
CN115456668A (en) Data processing method and device based on tiered pricing, equipment and storage medium
KR20110131537A (en) Real time energy information display system
CN115481905A (en) Power grid power demand response method participated by user and related device
KR20130074048A (en) Soc correcting method for energy storage system and soc correcting system thereof
CN114202114A (en) Settlement data acquisition method and device for distributed photovoltaic power station
CN109685993B (en) Accounting management method for power consumption of charging pile
CN112736909A (en) Energy storage system real-time control method and device, electronic equipment and storage medium
JP6103323B1 (en) Electricity price information prediction system
Li et al. Implementation of load profile test for electricity distribution networks
JP4163913B2 (en) Utility usage reduction support method and program
CN111969598B (en) User side energy storage optimization method and system considering excitation type demand side response
CN115166350A (en) Method and device for calculating demand of electric energy meter
CN112085394A (en) User side energy storage assessment method and system considering demand side response
JP2021157582A (en) Power calculation device
CN111798276A (en) Photovoltaic power supply control method and device and storage medium
CN117151760B (en) Self-adaptive algorithm-based electricity conversion service pricing method, device and storage medium
CN117455418B (en) Automatic settlement method and system for industrial and commercial photovoltaic benefits
CN110940948A (en) Method, device and equipment for calculating settlement deviation generated by ammeter clock drift
BR102012010602A2 (en) METHOD
CN116757760B (en) Method, system, terminal and storage medium for checking electric charge of business user
CN218547683U (en) Electricity meter electricity quantity acquisition terminal
CN114919456B (en) Automobile battery charging and discharging management system based on big data

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Zhengtai Instrument Measurement Industrial Park, No.1 Liangce Road, Beibaixiang Town, Leqing City, Wenzhou City, Zhejiang Province, 325603

Applicant after: ZHEJIANG CHINT INSTRUMENT & METER Co.,Ltd.

Address before: 325603 Wenzhou Daqiao Industrial Park, Yueqing City, Wenzhou City, Zhejiang Province

Applicant before: ZHEJIANG CHINT INSTRUMENT & METER Co.,Ltd.