CN117689499A - Middle-long time sharing accounting method and system for electric quantity of power grid - Google Patents

Middle-long time sharing accounting method and system for electric quantity of power grid Download PDF

Info

Publication number
CN117689499A
CN117689499A CN202410140261.7A CN202410140261A CN117689499A CN 117689499 A CN117689499 A CN 117689499A CN 202410140261 A CN202410140261 A CN 202410140261A CN 117689499 A CN117689499 A CN 117689499A
Authority
CN
China
Prior art keywords
electric quantity
electricity
hour
user
service
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
CN202410140261.7A
Other languages
Chinese (zh)
Other versions
CN117689499B (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.)
Information Center of Yunnan Power Grid Co Ltd
Original Assignee
Information Center of Yunnan Power Grid 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 Information Center of Yunnan Power Grid Co Ltd filed Critical Information Center of Yunnan Power Grid Co Ltd
Priority to CN202410140261.7A priority Critical patent/CN117689499B/en
Publication of CN117689499A publication Critical patent/CN117689499A/en
Application granted granted Critical
Publication of CN117689499B publication Critical patent/CN117689499B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention relates to the technical field of electric power network electric quantity accounting, and solves the technical problem that the daily settlement electric quantity of each hour cannot be respectively settled by adopting the prior art, in particular to a medium-long time-sharing accounting method and system for electric power network electric quantity. The invention can realize real-time charging settlement, not only can promote the response capability of the existing month settlement service, but also is beneficial to the rapid charging settlement of emerging business, and transmits the result to the customer quickly, thereby supporting intelligent electricity management and improving the omnibearing service level of the customers of the power grid company.

Description

Middle-long time sharing accounting method and system for electric quantity of power grid
Technical Field
The invention relates to the technical field of power grid electric quantity accounting, in particular to a medium-and-long time-sharing accounting method and system for power grid electric quantity.
Background
For medium-long time period transactions of performing power medium-long time contract performance, organic integration of the power medium-long time market and the spot market is gradually promoted, so that the medium-long time period results are important working contents of recent power marketization transactions.
In the current stage, the electricity selling side of the power grid company marketing system checks and receives business, which cannot meet the settlement requirements of users participating in marketized transactions, and cannot respectively settle settlement electric quantity of each hour every day, so that the applicability of market mechanisms of electric power values in different periods is reduced.
Disclosure of Invention
Aiming at the defects of the prior art, the invention provides a medium-and-long-term time-sharing accounting method and system for electric quantity of a power grid, and solves the technical problem that the settlement electric quantity of each hour per day cannot be respectively settled by adopting the prior art.
In order to solve the technical problems, the invention provides the following technical scheme: the medium-and-long-term time-sharing accounting system for the electric quantity of the power grid is initiated by a transaction system, the contractual relationship between an electricity selling company and an electricity consuming user is actively pushed to a marketing system, the daily electric quantity data of the electricity consuming user is actively pushed to the transaction system, the marketing system pushes monthly settlement electric charge to the transaction system to recalculate the electric charge and the power adjustment electric charge, and then the transaction settlement result of the electricity consuming user in the transaction system is pushed to the marketing system to release and charge the electric charge;
The marketing system is characterized in that a single application is decoupled into a series of front-end micro-applications and background micro-services which can be used for independently deploying micro-services, and containerized deployment is carried out based on a cloud platform, wherein the front-end micro-applications adopt Nginx to manage static resources, dynamic information is provided by the micro-applications running in a Tomcat container, and the background micro-services adopt a Java server to be responsible for business logic processing;
the marketing system further comprises an intermediate-and-long-period time-sharing settlement module for realizing the hour accounting management of marketized transaction users and transaction power plants and supporting the development of marketized transaction time-sharing settlement business, wherein the intermediate-and-long-period time-sharing settlement module divides the accounting of electricity users participating in the marketized transaction into hour settlement users and day settlement users, and the hour settlement users acquire hour meter codes every day to carry out electric quantity settlement and push transactions to the transaction system; after daily settlement users acquire the electric quantity in the daily code stage every day, dividing the electric quantity into hours according to a typical rechecking curve, and pushing transactions to a transaction system; and is used for the treatment of the skin,
and dynamically adjusting a current limiting and fusing mechanism according to the running condition of the marketing system, and ensuring the background service continuity and stability.
Further, the front-end micro-application and the background micro-service are made into mirror images of the Docker in the form of WAR or FatJar and run in the containerized micro-service environment.
Further, the front-end micro-application and the background micro-service are deployed in a container running environment of the cloud platform in a SpringBoot FatJar mode, are uniformly registered in a configuration center when started, and the life cycle of the micro-service is uniformly controlled by the cloud platform micro-service platform.
Further, the service gateway is constructed by adopting Spring Cloud Gateway technology, and can obtain a service list provided by micro services outside through the Swagger API.
Further, the medium-and-long-term time-sharing settlement module includes:
the system comprises an hour fee counting file management unit, a transaction power plant file management unit and a management unit, wherein the hour fee counting file management unit is used for realizing the importing of an hour electric quantity user list and the synchronous incorporating of an hour fee counting user file, and the hour fee counting file management unit is composed of a transaction user file management component and a transaction power plant file management component;
the system comprises an hour electric quantity accounting management unit, a time-of-day electric quantity counting unit and a time-of-day electric quantity counting unit, wherein the hour electric quantity accounting management unit consists of an hour user electric quantity accounting component and a power plant hour electric quantity accounting component and is used for displaying information of users or metering points of the users and the power plant, which need to perform daily electric quantity calculation, and calling an hour electric quantity calculating service to calculate the time-of-day electric quantity, wherein the hour electric quantity calculating service is used for calculating the time-of-day electric quantity according to a time-of-day table code;
The daily electricity quantity user accounting unit is used for displaying information of users or metering points needing daily electricity quantity calculation, calling daily electricity quantity user electricity quantity calculation service for calculating the users needing daily electricity quantity calculation, calling daily electricity quantity user electricity quantity checking service for checking abnormality such as negative electricity quantity, no meter code in a middle library and the like for the records of which the calculation is completed, and the daily electricity quantity user electricity quantity checking service is used for calculating daily electricity quantity according to the meter code;
the device comprises an hour electric quantity error processing unit, a power plant hour electric quantity error processing unit and a power plant hour electric quantity error processing unit, wherein the hour electric quantity error processing unit is used for processing daily electric quantity abnormal data of users and power plants and recalculating the hour electric quantity error electric quantity.
Further, the medium-and-long-term time-sharing settlement module further comprises:
the system comprises an hour electric quantity accumulation and month comparison unit, a metering system and a transaction system, wherein the hour electric quantity accumulation and month comparison unit is used for comparing the sum of the time electric quantity of an hour electric quantity user of a power plant with the total electric quantity of middle-long-term month settlement after the month electric quantity of the power plant is confirmed, judging whether the sum is consistent with the middle-long-term electric quantity, generating abnormal information for inconsistent records and pushing the abnormal information to the metering system and the transaction system;
And the medium-and-long-term time-sharing month settlement unit is used for confirming the month electric quantity of the user and the power plant party, and checking the month electric quantity of the user and the power plant party.
Further, the service gateway is constructed by a plurality of service components in a modular manner, and comprises:
the micro service gateway component adopts a micro service gateway component of a cloud platform, and provides grouping management and API management functions, and can perform service routing, fusing and limiting flow and key authentication on service call;
the registry component is used for supporting registration and discovery of micro services, and dynamically updating a service list to meet the requirement of service elastic expansion;
the configuration center component is used for supporting global configuration and application configuration, and realizing centralized management and dynamic refreshing of application configuration information;
the monitoring center component is used for realizing log acquisition, analysis and inquiry of the distributed environment, and calling chain service can monitor calling links among services and analyze performance and fault points;
and the client load balancing component adopts a Ribbon component to realize load balancing of service call at the client.
The technical scheme also provides an accounting method, which comprises the following steps:
the method comprises the steps that a transaction system initiates, a contract relation between an electricity selling company and an electricity consumption user is actively pushed to a marketing system, the marketing system initiates, daily electricity consumption data of the electricity consumption user is actively pushed to the transaction system, the marketing system pushes monthly settlement electricity fees to the transaction system to recalculate electricity fees and power adjustment electricity fees, and then transaction settlement results of the electricity consumption user in the transaction system are pushed to the marketing system to conduct electricity fee issuing and charging;
the marketing system receives a settlement list of the electricity selling company within the unit jurisdiction range of the settlement electric charge returned by the transaction system, and generates a payable settlement list of the electricity selling company as a basis for settlement between the electricity selling company and a financial department of the power grid company;
the marketing system issues the electric charge, and the marketing system issues the electric charge which is pushed by the transaction system and accounts for the electric charge;
the marketing system gives a bill, urges fees and recovers electric fees to customers, and after the electric fees of the marketing system are released, related electric fee bills, urging fees and records of the amount to be paid are generated, thereby supporting multi-channel electric fee recovery and recording transaction customer payment records.
By means of the technical scheme, the invention provides a medium-and-long-term time-sharing accounting method and system for electric quantity of a power grid, and the method and the system have the following beneficial effects:
1. the invention can realize the support construction of an informatization system supporting the power transmission and distribution price and the daily transaction mode, can accurately settle accounts, has the characteristics of large data amount, high concurrency and stability, quick response time, high reliability and the like, and can meet the requirements of power grid companies on new businesses such as floating electricity price, real-time electricity price, charge control management and the like.
2. The invention can realize real-time charging settlement, not only can promote the response capability of the existing month settlement service, but also is beneficial to the rapid charging settlement of emerging business, and transmits the result to the customer quickly, thereby supporting intelligent electricity management and improving the omnibearing service level of the customers of the power grid company.
3. The invention realizes that marketized transaction users settle accounts of all transaction contracts according to the time of day in a manner of 'daily clearing and moon settlement', and respectively settle the settlement electric quantity of each hour every day according to the principle of 'contract payment is not in question, contract is firstly paid and deviation is firstly paid', so as to establish a market mechanism for reflecting the electric value of different periods.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute an undue limitation to the application. In the drawings:
FIG. 1 is a schematic block diagram of a power trading center of the present invention;
FIG. 2 is a schematic block diagram of a medium-to-long time period settlement module of the present invention;
FIG. 3 is a functional block diagram of a service gateway of the present invention;
FIG. 4 is a flow chart of the accounting method of the present invention.
In the figure:
1. an electricity selling company; 2. a transaction system;
3. a marketing system; 31. front end micro-applications; 32. background microservices;
33. a medium-and-long-term time-period settlement module; 331. an hour accounting file management unit; 332. an hour electric quantity accounting management unit; 333. a daily electricity quantity user accounting unit; 334. an hour power error handling unit; 335. an hour electric quantity accumulation and month comparison unit; 336. a medium-and-long-term time-sharing month settlement unit;
34. a service gateway; 341. a micro service gateway component; 342. a registry component; 343. configuring a center component; 344. a monitoring center component; 345. a client load balancing component;
4. and (5) using electricity for users.
Detailed Description
In order that the above-recited objects, features and advantages of the present invention will become more readily apparent, a more particular description of the invention will be rendered by reference to the appended drawings and appended detailed description. Therefore, the implementation process of how to apply the technical means to solve the technical problems and achieve the technical effects can be fully understood and implemented.
Referring to fig. 1-4, a specific implementation manner of the present embodiment is shown, in which all transaction contracts are settled according to day hours, settlement electric quantity of each day hour is respectively settled according to the principle of contract settlement before contract deviation, a market mechanism for showing electric power value of different periods is established, electric quantity needs to be cleared daily, and electric quantity of each hour is accumulated as electric quantity of monthly settlement electric charge.
Meanwhile, the conversion of the power grid management mode is promoted by means of informatization, and the flow is optimized, the efficiency is improved, the resource allocation is optimized through an independent marketing settlement system, the change of market transaction service requirements can be responded quickly, the operation and maintenance difficulty of the system is reduced, the stability of the system is improved, and the input cost is reduced. Meanwhile, the service capability of the marketing system in the aspect of electric power spot transaction is perfected, the layout of the power grid in the aspect of new energy is supported, the development of emerging business is ensured, and the profitability is improved.
The embodiment proposes a medium-and-long-term time-sharing accounting system for electric quantity of a power grid, please refer to fig. 1, which is initiated by a transaction system 2, actively pushes a contractual relationship between an electricity selling company 1 and an electricity consuming user 4 to a marketing system 3, which is initiated by the marketing system 3, actively pushes daily electric quantity data of the electricity consuming user 4 to the transaction system 2, the marketing system 3 pushes monthly settlement electric charges to the transaction system 2, the transaction system 2 recalculates the electric charges and force-regulated electric charges, and then pushes a transaction settlement result of the electricity consuming user 4 in the transaction system 2 to the marketing system 3 for electric charge issuing and charging, and is characterized in that the marketing system 3 is decoupled into a series of front-end micro-applications 31 and a back-end micro-service 32 capable of independently deploying micro-services by a single application, and is deployed in a containerization mode based on a cloud platform, the front-end micro-application 31 adopts Nginx to manage static resources, dynamic information is provided by the micro-applications running in a Tomcat container, and the back-end micro-service 32 adopts a Java server to take charge for service logic processing. The front-end micro application 31 and the background micro service 32 are made into mirror images of the Docker in the form of WAR or FatJar and run in a containerized micro service environment, so that the advantages of a container cloud platform can be fully exerted, high-availability elastic expansion and contraction of the application are realized, and the service stability and the utilization rate of system hardware are improved.
The marketing system 3 adopts a front-end and back-end separation technology to realize real front-end and back-end decoupling, a server of the front-end micro-application 31 uses Nginx to manage static resources, dynamic information is provided by the micro-application running in the Tomcat container, the front-end micro-application 31 fuses various front-end development technologies, the traditional JSP is included, and further, the JS technologies such as VUE and Echarts are also used, a client presentation framework is realized by a JSP+ template technology, a presentation component is constructed by a JS technology, interaction between a browser and the front-end micro-application adopts a JQuery Ajax technology, and an interaction data format is Http/Json. In order to improve the operation efficiency, the system adopts a deployment mode of dynamic and static separation: static resources (JS, pictures, third-party dependent packages, etc.) are proxied by Nginx, and dynamic parts and service requests are forwarded to the micro-applications running in the container environment.
The background micro-service 32 is responsible for service logic processing by adopting a Java server, is constructed by adopting a standard Spring Cloud technology and a Java technology, externally provides Rest service by means of a Spring MVC framework, is arranged in a containerized mode by means of a FatJar, and provides service by means of a micro-service registry and a service gateway of a Cloud platform in a unified way.
In this embodiment, decoupling into a series of front-end micro-applications 31 and back-end micro-services 32 that can be deployed independently has the following advantages:
1. The development efficiency is improved, front-end development is focused on front-end logic implementation, and back-end development is focused on business logic implementation, so that the ball kicking condition can not occur.
2. The concurrency processing capability is improved, the front-end server can horizontally expand dynamic resisting access flood peaks, the front-end service filters static resource access, and the back-end service only focuses on business logic processing and can improve the processing capability of a single back-end service.
3. The code reusability is greatly improved, the back-end service only provides a service interface, a plurality of micro applications of the marketing management system can share the same back-end service, and the front-end code can also realize componentization and strengthen multiplexing.
4. The front-end page realizes hot update, and real-time update can be realized without the update of background service.
5. Code maintainability is improved.
Compared with the traditional single development framework, the micro-service framework has the characteristics of controllable complexity, independent deployment, flexible technical selection, high fault tolerance, easy expansion, low coupling, high cohesion and the like. According to the service characteristics of the marketing system, the marketing system is primarily divided into a plurality of large service micro-service clusters according to the service angle, and then specific micro-services are continuously optimized according to specific situations such as high-frequency calling, frequent inter-call of the micro-services and the like.
Whether front-end micro-applications or background micro-services, cluster services are provided in a grouped manner in a container environment, and single-point problems do not exist. The micro-service completes automatic registration with the registration center when being started, and the cloud platform maintains real-time information of the nodes capable of providing the service. The lightweight self-management system architecture enables dynamic expansion of the application to be possible, and the service gateway and the service consumer can sense the change of the node in real time, so that the load balancing strategy in the calling process is modified, and the high availability of the marketing management system is greatly improved by matching with the gray scale upgrading technology provided by the cloud platform.
The front-end micro application 31 and the background micro service 32 are added into the network cloud micro service environment to support the extension of the micro service, so that the centralized collection of application logs and call chain information can be realized, an intelligent retrieval means is provided, the abnormality and the performance obstacle of the system are rapidly positioned, and the high efficiency of marketing operation and maintenance is ensured.
For each deployment unit of the marketing micro-service, an elastic expansion rule can be customized, and the expansion rule of the container instance can be specified based on dynamic indexes such as CPU utilization rate, memory utilization rate, requested QPS, average response time and the like. Aiming at the service of charge calculation and charging, the micro service operation instance can be added in the high-incidence period of the service by utilizing the characteristic, and the service instance is properly reduced in the low-incidence period of the service, so that the service supply and demand balance is achieved, the service capability is improved, and the overhead of hardware is reduced as a whole.
The front-end micro application 31 and the background micro service 32 are deployed in the container running environment of the cloud platform in a SpringBoot FatJar mode, are uniformly registered in a configuration center when started, and the life cycle of the micro service is uniformly controlled by the cloud platform micro service platform.
The marketing system is used for containerized deployment based on a cloud platform, the cloud platform provides various technical components of a micro-service running environment, and the functions of full life cycle management, three-dimensional monitoring, service management and the like can be provided for the micro-service deployed on the cloud platform. The Cloud platform supports Spring Cloud and Service Mesh type micro-Service frameworks, the micro-Service framework selection SpringCloud, springCloud is derived from Spring, spring Boot is supported naturally, and rapid starting of developers is facilitated. SpringCloud has been validated by a number of large Internet companies on-line projects, meeting the large-scale high concurrency demands.
The marketing system 3 further comprises a medium-and-long-period settlement module 33 for realizing the hour accounting management of marketized trade users and trade power plants and supporting the development of marketized trade time-sharing settlement business; the service gateway 34 is used for dynamically adjusting a current limiting and fusing mechanism according to the running condition of the marketing system 3, guaranteeing the continuity and stability of background service, and the service gateway 34 is constructed by adopting Spring Cloud Gateway technology and can obtain a service list provided by micro services outside through a Swagger API;
The medium-and-long-period settlement module 33 divides the accounting of the electricity users 4 participating in the marketized transaction into an hour settlement user and a day settlement user, and the hour settlement user obtains an hour meter code every day to perform electric quantity settlement and pushes the transaction to the transaction system 2; after daily settlement users acquire the electric quantity in the daily code stage every day, dividing the electric quantity into hours according to a typical rechecking curve, and pushing transactions to a transaction system 2; referring to fig. 2, the medium-to-long time period settlement module 33 includes:
the hour fee calculation file management unit 331 is used for realizing the importing of an hour electric quantity user list and the synchronous incorporating of an hour fee calculation user file, and the hour fee calculation file management unit 331 is composed of a transaction user file management component and a transaction power plant file management component; the hours electricity user list is imported into a user list (including the distinction between the hours electricity user and the daily electricity calculation user) which is commonly confirmed by market personnel of an electricity selling company and a transaction center to be incorporated into an hours fee, and then manually imported into a profile of a generated component period in the marketing system 3.
And the synchronous time-of-sale account user file supports the synchronous time-of-sale account user file of the user according to marketing trade, and the function supports the maintenance of the difference because marketing pushes the agency relation of the marketing side according to month. Updating the files of the hourly account files to be invalid, synchronizing the files of the marketed transaction users to the hourly account files, supporting inquiring the information of the hourly account files, the information of the user files for the hours to be charged is inquired according to the pushed and non-pushed user marks (the user with the hour electric quantity and the user mark with the daily electric quantity). Supporting to call (marketing pushing the list of the hours of inclusion calculation fees to the metering) to push the list of the hours of inclusion calculation fees to the metering distinguishing hour electricity quantity user or the daily electricity quantity user; and adding a time-sharing file generation button, and generating a time-sharing file after the marketing receiving measurement check and confirmation result.
The hour electricity quantity accounting management unit 332 is composed of an hour user electricity quantity accounting component and a power plant hour electricity quantity accounting component, the hour electricity quantity accounting management unit 332 is used for displaying information of users or metering points of users and power plants needing daily electricity quantity calculation, and calling an hour electricity quantity calculation service to calculate the user needing daily electricity quantity calculation, wherein the hour electricity quantity calculation service is used for calculating the time point electricity quantity according to the time point meter code; the method comprises the following steps:
initializing the meter reading of the electric quantity user in an hour: the daily opening is carried out on the users in the hours every day, and corresponding 24-time daily electric quantity calculation archive information, such as time-division meter reading information and the like, is generated.
The daily meter reading initialization timing task of the user of the hour electric quantity: and automatically opening the daily for the users of the hour electric quantity every day, and generating corresponding 24-time daily electric quantity calculation archive information.
Daily meter reading of the electric quantity of the hour user:
(1) The metering automation system provides complete 24-time point meter codes or fitting electric quantity information (including transactants and transactants);
(2) The marketing system obtains hour user timepoint code information provided by metering automation every day;
(3) The push transaction does not allow meter reading at this function.
Hourly user daily meter reading timing task: the marketing system automatically acquires 24 hour time point table codes or fitting electric quantity information of the hour user every day; the push transaction does not allow meter reading at this function.
And inquiring the hour meter reading condition: inquiring the hour meter reading condition
And (3) checking the daily electricity quantity of the user in an hour:
(1) Displaying information of a user or a metering point which needs to be subjected to daily electricity quantity calculation;
(2) For a user needing daily electricity quantity calculation, calling an hour electricity quantity calculation service to calculate;
(3) Calling an hour electric quantity checking service for the record with the calculation completed, and checking the abnormality such as the negative electric quantity, the absence of a table code in an intermediate library and the like;
(4) The push transaction is not allowed to be accounted for at this function.
The electricity quantity of the change loss is calculated in the last day and then is distributed to each hour in the last day because the electricity quantity of the change loss needs to be checked in a monthly form.
Hour electricity calculation service: and the power generation module is used for calculating the time point power according to the time point table code.
Hour electricity quantity calculation checking timing task: the hour power is automatically calculated and checked every day.
The hour electric quantity pauses the electric quantity and checks the rule: and generating pause electric quantity abnormality information for records of which the running state of the metering point is paused but the total active electric quantity is not 0.
The hour electric quantity intermediate library has no table code checking rule: and for the record of the timepoint code which is not provided by the metering automation system in the hour electric quantity calculation link, generating the abnormal information of no timepoint code of the intermediate library.
The rule for checking the negative electric quantity of the hour electric quantity: and generating negative electricity quantity abnormality information for records with total active electricity quantity smaller than 0.
The electric quantity breaks through the extreme value checking rule in the hour: and (3) recording the rated capacity of the transformer which breaks through the electric quantity of the hour by 2 times, and generating breaking-through extreme value abnormality information.
Hour electric quantity pushing function:
(1) The method comprises the steps of pushing the confirmed abnormal-free spot daily electric quantity information to a transaction system by calling an 'hour electric quantity pushing interface';
(2) The data volume is too large, suggesting interactions with the transaction center using the intermediate library;
(3) Pushing a piece of data for each metering point every day, wherein the data comprises 24-time electric quantity;
(4) If the daily electric quantity calculation of the individual metering points of a single user is abnormal and needs to be verified again, the electric quantity of each metering point of the user is not pushed to the transaction;
(5) Only pushing the electric quantity of large industrial and general industrial and commercial metering points, and pushing the charged price codes;
(6) The hour electricity pushed every day does not contain the change, and the electricity of the last day at the bottom of the month contains the change.
Hour power pushing and timing task: the hours power is automatically pushed and the user is calculated for each hour.
And (5) inquiring the detail of the electric quantity of the hour: the method can be used for inquiring conditions such as power supply units, user numbers, transaction dates and the like and inquiring the detail information of the electric quantity of the hours.
And (3) monitoring the electric quantity service in the hour: the method supports the progress of various links such as daily meter reading initialization, meter reading, electric quantity accounting, electric quantity pushing and the like which are summarized and displayed according to the local municipalities and the power supply units.
And (4) inquiring the table codes of the intermediate library of the electric quantity users in the hour: and (5) supporting the inquiry of the information of the table codes of the intermediate library of the user with the hour electric quantity.
The daily electricity amount user accounting unit 333 is configured to display information of a user or a metering point that needs daily electricity amount calculation, call a daily electricity amount user electricity amount calculation service to calculate a daily electricity amount for a user that needs daily electricity amount calculation, call a daily electricity amount user electricity amount checking service to check for abnormalities such as negative electricity amount, no meter code in a middle library, etc., and the daily electricity amount user electricity amount checking service is configured to calculate daily electricity amount according to a meter code, and the daily electricity amount accounting is not allowed to be performed in the function of the pushed transaction; the method comprises the following steps:
initializing meter reading of a solar electricity user: daily opening is carried out on daily electric quantity users every day, and corresponding daily electric quantity calculation archive information, such as daily meter reading information and the like, is generated.
Daily electricity user daily meter reading initialization timing task: and automatically opening the daily for the daily electricity quantity user every day to generate corresponding daily electricity quantity calculation file information.
Daily electricity user daily meter reading:
(1) The metering automation system provides the total section code information (user and associated user) of 0 point per day for the complete daily meter reading user
(2) The marketing system obtains the daily 0-point table code information of the hour user provided by the metering automation;
(3) The push transaction does not allow meter reading at this function.
Daily electricity user daily meter reading timing task: the marketing system automatically acquires daily total section table codes of 0 points of daily electric quantity users every day; the push transaction does not allow meter reading at this function.
Daily electricity quantity user daily electricity quantity accounting:
(1) Displaying information of a user or a metering point which needs to be subjected to daily electricity quantity calculation;
(2) For a user needing daily electricity calculation, invoking daily electricity user electricity calculation service to calculate;
(3) For the record which has completed calculation, calling a daily electricity quantity user electricity quantity checking service to check the abnormality such as negative electricity quantity, no meter code in the intermediate library and the like;
(4) The push transaction does not allow for daily accounting at this function.
Daily electricity amount user electricity amount calculation service: is used for calculating the daily electricity quantity according to the daily codes.
Daily electricity quantity user electricity quantity calculation and checking timing task: and (3) calculating and checking the daily electricity quantity by using the electricity quantity calculation and checking timing task, and automatically calculating and checking the daily electricity quantity.
The daily electricity quantity suspension electricity quantity checking rule: and generating pause electric quantity abnormal information aiming at the record that the running state of the daily electric quantity user is paused for the metering point, but the total active electric quantity is not 0.
The daily electricity quantity intermediate library has no table code checking rule: aiming at the fact that a daily electricity quantity user does not provide records of timepoint meter codes in a daily electricity quantity calculation link metering automation system, no meter code abnormal information in a middle library is generated.
Daily electricity break through extremum checking rule: and aiming at the record of the daily electricity quantity user for the rated capacity of 24 x 2 times of the daily electricity quantity breakthrough transformer, generating breakthrough extremum abnormality information.
Solar negative electricity quantity checking rule: and generating negative electricity quantity abnormality information aiming at the record that the total active electricity quantity of the daily electricity quantity user is smaller than 0.
Typical load curve maintenance: a proportional value corresponding to each hour of a typical load profile is maintained.
Splitting the time point electric quantity according to a metering typical load curve by the daily electric quantity:
(1) For a daily electricity quantity user, splitting the daily electricity quantity into 24 time point electricity quantities every day according to a typical load curve;
(2) And in the daily settlement user hour electric quantity pushing function, pushing the split hour electric quantity to the transaction system again.
Splitting a time point electric quantity timing task according to a metering typical load curve by the daily electric quantity: for daily electricity quantity users, the daily electricity quantity is automatically split into 24 time-point electricity quantities every day according to a typical load curve.
Daily settlement user hour electric quantity push:
(1) The daily electricity quantity is split according to a metering typical load curve, and a 'daily settlement user electricity quantity pushing transaction interface' is called to be pushed to a transaction system;
(2) The data volume is too large, suggesting interactions with the transaction center using the intermediate library;
(3) Push a piece of data is pushed every day for each metering point, and the data comprises 24-time-point electric quantity
(4) Only the electric quantity of large industrial and general industrial and commercial metering points is pushed, and the charged price codes are pushed.
Daily settlement user hour electric quantity pushing timing task: and automatically calling a daily settlement user electric quantity pushing transaction interface to push the daily electric quantity to a transaction system according to the split time electric quantity of the metering typical load curve.
Inquiring the daily meter reading condition: inquiring the daily meter reading condition of the daily settlement user.
Inquiring the details of the solar electricity: the method can be used for inquiring conditions such as power supply units, user numbers, transaction dates and the like and inquiring the detail information of the daily electric quantity.
Solar electricity business monitoring: the method supports the progress of various links such as daily meter reading initialization, meter reading, electric quantity accounting, electric quantity pushing and the like of a user for summarizing and displaying daily settlement according to a ground city and a power supply unit.
Inquiring the table codes of the intermediate library of the solar electricity users: and (5) inquiring the table code information of the daily electricity quantity user intermediate library.
The hour electric quantity error processing unit 334 is composed of a user hour electric quantity error processing component and a power plant hour electric quantity error processing component, and the hour electric quantity error processing unit 334 is used for processing daily electric quantity abnormal data of the user and the power plant side and recalculating the hour electric quantity error electric quantity; the method comprises the following steps:
processing abnormal data of electric quantity; the system is used for displaying the abnormal information checked by the daily electricity of the user or the power plant and supporting pushing the meter code abnormal information to the metering automation system.
Transaction feedback user or power plant electric quantity abnormality confirmation; aiming at the pushed electric quantity abnormal information of the transaction pushing user or the electric quantity abnormal information interface of the power plant, marketing confirms the electric quantity abnormal information:
(1) If the marketing file is abnormal, correcting the marketing file to re-meter the calculated fee;
(2) If the meter code is abnormal, performing meter code correction and re-pushing through the pushing measurement of a marketing pushing user or a meter code abnormal information interface of a power plant;
(3) And feeding back the marketing confirmation result information to the transaction through a marketing feedback user or an electric quantity abnormality processing result interface of the power plant.
Hours power error electricity re-meter of user or power plant: and aiming at the abnormal information of the electric quantity of the user or the power plant fed back by the transaction, carrying out meter reading again according to the latest file and the table code data.
The user or power plant's hour power error power recalculation: for abnormal information of the electric quantity fed back by the transaction, the following steps are:
(1) A settlement unit for displaying a user or a power plant, which has an electric quantity error and needs to recalculate the daily electric quantity;
(2) For a user or a power plant needing recalculation, invoking an electric quantity calculation service of the user or the power plant to calculate;
(3) For the record which has completed calculation, invoking an electric quantity checking service of a user or a power plant, and checking the abnormality such as negative electric quantity, no table code in an intermediate library and the like;
the user or power plant's hour power error power re-push: and supporting calling [ daily electric quantity pushing transaction interface of a user or a power plant ] to push electric quantity information, which has electric quantity errors and needs to be pushed by daily electric quantity, to transaction.
The hour electricity accumulation and month comparison unit 335 is configured to compare the sum of the electricity amounts of the power plant hour electricity users and the total electricity amount of the middle-long period month settlement after the power plant month electricity amount is confirmed, determine whether the sum is consistent with the middle-long period electricity amount, generate abnormal information for inconsistent records, and push the abnormal information to the metering system and the transaction system, where the abnormal information comprises:
user or power plant hour power versus month power comparison timing tasks: the comparison of the time point and the monthly electric quantity is automatically carried out every month.
And comparing the sum of the time electric quantity of the power plant hour electric quantity user with the middle-long month settlement total electric quantity, judging whether the sum is consistent with the middle-long month electric quantity, and generating abnormal information for inconsistent records.
Comparing the user or power plant hour power with the monthly power: after the monthly electric quantity of the power plant is confirmed, comparing the sum of the electric quantity of the power plant hour electric quantity user time point electric quantity with the middle-long-term monthly settlement total electric quantity, judging whether the electric quantity is consistent with the middle-long-term electric quantity, and generating abnormal information for inconsistent records;
pushing inconsistent records to a metering system;
pushing inconsistent records to the transaction system.
Comparing the daily electricity quantity with the monthly charging electricity quantity to time tasks: and automatically comparing the sum of the daily electricity quantity users with the total electricity quantity of the medium-and-long-term month settlement, judging whether the sum of the daily electricity quantity users is consistent with the medium-and-long-term electricity quantity, and generating abnormal information for inconsistent records.
Comparing the daily electricity quantity with the monthly charging electricity quantity: after the next month is charged, comparing the sum of the daily electricity quantity users with the total medium-long month settlement electricity quantity, judging whether the sum is consistent with the medium-long month electricity quantity, and generating abnormal information for inconsistent records;
pushing inconsistent records to a metering system;
pushing inconsistent records to the transaction system.
Time point and month electric quantity comparison timing task: and (3) automatically comparing the time point with the monthly electric quantity in each month, comparing the sum of the time point electric quantity of the user with the middle-long-term monthly settlement total electric quantity of the hour electric quantity, judging whether the sum is consistent with the middle-long-term electric quantity, and generating abnormal information for inconsistent records.
Comparing the time point with the month electric quantity: after the monthly electricity quantity is confirmed, comparing the sum of the time electricity quantity of the hour electricity quantity user with the middle-long-term monthly settlement total electricity quantity, judging whether the sum is consistent with the middle-long-term electricity quantity, and generating abnormal information for inconsistent records;
pushing inconsistent records to a metering system;
pushing inconsistent records to the transaction system.
The medium-and-long-term time-sharing month settlement unit 336 is used for month electric quantity tracking and compensation electric quantity confirmation and month fee calculation of the user and the power plant, and comprises:
and (5) confirming the additional electric quantity: displaying 24-time point recovery and compensation electric quantity generated in the metering fault recovery and compensation process of the nuclear recovery electric quantity; and the method supports confirmation of the additional and complementary electric quantity, and supports recalculation of the electric quantity of the hour on the additional and complementary date, and if the transaction is pushed, the transaction system is pushed again.
Medium-long time sharing month meter reading data are opened:
(1) For non-periodic temporary charge of electricity, re-opening the charge when the monthly charge is calculated;
(2) The method comprises the steps of assigning values to fields such as an hour counting mark, electricity consumption starting time and electricity consumption ending time and the like, wherein the values are mainly used for distinguishing whether the electric quantity of an hour is to be counted or not and a time period corresponding to the electric quantity of the hour when the electric charge is calculated;
(3) For the market metering point of basic electric charge according to the demand, the demand meter reading information still needs to be generated, and other meter reading information is not generated;
(4) Marketizing user, and setting accounting state as recorded meter for the user metering point without need of recording the meter;
(5) Non-marketized associated users still need to freeze the meter code according to month to calculate the monthly charging electric quantity, and corresponding meter reading information needs to be generated;
(6) Because the electricity is collected and charged according to the hours, the last table code can not be acquired when the system is opened, and corresponding transformation is needed; considering that the last month is hour calculation fee, the last hour calculation fee is not hour calculation fee, and how to acquire the table code is needed; considering that this month is a marketized user, the return to market in the next month becomes a non-marketized user.
Open timing task of monthly meter reading data:
(1) For non-periodic temporary charge of electricity, re-opening the charge when the monthly charge is calculated;
(2) The method comprises the steps of assigning values to fields such as an hour counting mark, electricity consumption starting time and electricity consumption ending time and the like, wherein the values are mainly used for distinguishing whether the electric quantity of an hour is to be counted or not and a time period corresponding to the electric quantity of the hour when the electric charge is calculated;
(3) For the marketized metering point for calculating the basic electric charge according to the desire, the required meter reading information still needs to be generated, and other meter reading information is not generated;
(4) Marketizing user, and setting accounting state as recorded meter for the user metering point without need of recording the meter;
(5) Non-marketized associated users still need to freeze the meter code according to month to calculate the monthly charging electric quantity, and corresponding meter reading information needs to be generated;
(6) Because the electricity is collected and charged according to the hours, the last table code can not be acquired when the system is opened, and corresponding transformation is needed; it is necessary to consider how the last hour is not the last hour and how the last table code is acquired in the month.
Medium-long time sharing monthly meter reading:
(1) Supporting non-marketized associative household monthly meter reading;
(2) And supporting the acquisition of the table codes of the demand table.
Monthly meter reading timing task:
(1) Supporting non-marketized associative household monthly meter reading;
(2) And supporting the acquisition of the table codes of the demand table.
Middle-long time sharing month electricity charge calculation:
(1) The method comprises the steps of supporting to inquire user information for calculating the electricity charge to be calculated according to information such as a power supply unit, a meter reading section, a user number and the like;
(2) And calling the charge calculation service to calculate monthly electric charge for marketized users, and calculating the total of the power transmission and distribution charge, the basic electric charge and the additional charge.
The monthly electricity charge calculation timing task:
(1) The system supports automatic monthly electric quantity and electric charge calculation;
(2) And calling the charge calculation service to calculate monthly electric charge for marketized users, and calculating the total of the power transmission and distribution charge, the basic electric charge and the additional charge.
Monthly fee counting service
(1) Marketizing users collect electric quantity according to the hours to calculate monthly electric quantity;
(2) Calculating the power transmission and distribution fee, the additional fee summation and the basic fee for the marketized user support;
(3) Calculating monthly charging electric quantity according to the monthly freezing table code for non-marketized associated users;
(4) Calculating electricity degree electricity fees (electricity purchase fees, electricity transmission and distribution fees), additional fees, basic electricity fees and power adjustment electricity fees for non-marketized associative subscribers;
(5) Deducting and returning to supplement (to month).
Middle-long time sharing month electricity fee checking:
(1) Corresponding checking rules are added aiming at the electric quantity of the hour;
(2) Initiating a rechecking process for the user with the abnormality;
(3) The user is directly connected to the state to be combined for checking no abnormality.
Monthly electricity fee checking timing task:
(1) Corresponding checking rules are added aiming at the electric quantity of the hour;
(2) Initiating a rechecking process for the user with the abnormality;
(3) The user is directly connected to the state to be combined for checking no abnormality.
Month check service: and checking the abnormal information according to the checking rule.
Middle-long time sharing month concentrated abnormal distribution:
(1) The abnormal information of checking the electric charge is supported to be inquired according to the inquiry conditions such as the power supply unit, the meter reading section, the user number and the like;
(2) Support to preserve exception handling opinion;
(3) And distributing the electricity charge checking exception to other posts or personnel for processing.
The month concentration exception distribution timing task: the support system automatically distributes the electricity fee checking exception to other posts or personnel for processing.
Medium-long time-sharing dispersion rechecking acceptance:
(1) The method supports checking abnormality which is inquired and distributed according to inquiry conditions such as power supply units, power supply month and year, user numbers and the like;
(2) The method can apply recalculation, transfer maintenance personnel processing, transfer dispersion rechecking and the like for checking abnormal information;
(3) Review record information may be viewed.
Medium-long time sharing meter reader exception handling:
(1) The distributed rechecking which is required to be processed according to the inquiry conditions of a power supply unit, the year and month of the electric charge, the number of a user and the like is supported;
(2) And supporting the business operations such as modification of the codes, forwarding and scatter rechecking.
Medium-long time sharing exception review class approval:
(1) The distributed rechecking which is required to be processed according to the inquiry conditions of a power supply unit, the year and month of the electric charge, the number of a user and the like is supported;
(2) Support delivery after filling in approval comments.
Middle-long time-sharing abnormal rechecking and accounting responsible person examination and approval:
(1) The distributed rechecking which is required to be processed according to the inquiry conditions of a power supply unit, the year and month of the electric charge, the number of a user and the like is supported;
(2) Support delivery after filling in approval comments.
Medium-long time sharing centralized confirmation:
(1) The distributed rechecking which is required to be processed according to the inquiry conditions of a power supply unit, the year and month of the electric charge, the number of a user and the like is supported;
(2) And supporting the operations of transfer-to-be-combined and transfer-dispersion rechecking.
Medium-long time sharing month settlement is based on inquiry: and querying the month settlement basis information of the marketized user pushed by the transaction system.
Medium-and-long-term time-sharing settlement is confirmed according to checking abnormality:
(1) Displaying that abnormal information exists in checking the charge quantity in a 'month settlement basis interface of a transaction pushing transaction user';
(2) Confirming the settlement basis abnormality, if the settlement basis abnormality is confirmed, calling a marketization settlement basis abnormality feedback interface to push to a transaction system, and if the settlement basis abnormality is confirmed to be non-abnormal, carrying out subsequent electric charge combination; and mainly checking whether the marketing electric quantity is consistent with the electric quantity returned by the transaction, if the electric quantity is inconsistent, adding an interface to push inconsistent abnormal data to the transaction, and returning a processing result and a new settlement basis by the transaction.
(3) At present, when the business pushing marketized users month settlement basis is adopted, whether the marketing and the business return electric quantity are consistent or not is checked, and inconsistent is not received.
Middle-long time sharing user electricity fee combination:
(1) Displaying marketized monthly settlement basis information pushed by a transaction system;
(2) For the user without abnormality in verification, splitting the month settlement basis pushed by the transaction to a metering point and merging the metering point into marketing fee information;
(3) And re-calculating the power adjustment electric charge and the total electric charge, wherein new energy environment premium allocation, thermal power compensation fund allocation, loss and benefit allocation and loss of credit punishment are removed from the transaction electric charge when the power adjustment electric charge is calculated. Demand side response amortization.
Middle-long time sharing month fee calculation secondary check:
(1) The electric charge of the marketized user is checked for the second time before the electric charge is released;
(2) And calling a 'query marketing user month settlement basis interface', and then comparing the electric energy and electricity charge returned by the interface with the electric energy and electricity charge combined by the marketing system, wherein the electric charge can be issued only after the secondary check passes.
Medium-and long-term time-sharing settlement electricity fee issuing:
(1) The method comprises the steps of supporting to inquire a user list to be issued according to inquiry conditions such as a power supply unit, an electric charge year and month, a user number and the like;
(2) Generating corresponding information such as chargeable information, arrearage information, bill information and the like according to the medium-and-long-term time-sharing month settlement information;
(3) And when the data is sent, the data is returned to the meter reading and collecting library table, and the data can be queried for the follow-up related query function.
Medium-and long-term time-sharing settlement electricity fee issuing timing task: the system automatically performs medium-and-long time-sharing settlement of electric charge distribution.
Medium-long time sharing current month charging archive maintenance: and supporting maintenance of the related information of the charging archive in the current month.
Medium-long time-sharing electric quantity and electric charge detail inquiry:
(1) Inquiring medium-and-long time sharing settlement month settlement related information;
(2) Newly adding a reply order.
Re-nuclear sheet: and the monthly meter reading information can not be displayed for marketized users.
Bill extraction: and the accumulated electric quantity per hour is used as monthly settlement to perfect the bill extraction function.
Bill printing:
(1) And displaying at least one start and stop. The user settles in the hours because the electric quantity is formed by accumulating the electric quantity in the hours, and the last time in the bill list code is as follows: 24 points of the last month are listed as the table code, and the table code is: 24 points of the present month are listed (namely, the present month charging start and stop of metering push is taken as the reference);
(2) The peak-to-average valley indication is displayed. The user settles the electricity consumption in the hours because the electricity consumption is decomposed into the settlement in the hours, the marketing system does not have peak-to-valley electricity prices, the bill does not display peak, valley time period meter count, the electricity consumption, the electricity price and the electricity fee, and only displays the total start and stop code, the accumulated electricity consumption and the accumulated electricity fee of the transaction pushed back in the month and hour.
PDF bill:
(1) And displaying at least one start and stop. The user settles in the hours because the electric quantity is formed by accumulating the electric quantity in the hours, and the last time in the bill list code is as follows: 24 points of the last month are listed as the table code, and the table code is: 24 points of the present month are listed (namely, the present month charging start and stop of metering push is taken as the reference);
(2) The peak-to-average valley indication is displayed. The user settles the electricity consumption in the hours because the electricity consumption is decomposed into the settlement in the hours, the marketing system does not have peak-to-valley electricity prices, the bill does not display peak, valley time period meter count, the electricity consumption, the electricity price and the electricity fee, and only displays the total start and stop code, the accumulated electricity consumption and the accumulated electricity fee of the transaction pushed back in the month and hour.
The embodiment can realize the support construction of an informatization system supporting power transmission and distribution prices and a daily transaction mode, can accurately settle accounts, has the characteristics of high concurrency and stability of large data, quick response time, high reliability and the like, and can meet the requirements of power grid companies on new businesses such as floating electricity prices, real-time electricity prices, charge control management and the like.
The embodiment can realize real-time charging settlement, not only can promote the response capability of the existing month settlement service, but also is beneficial to the rapid charging settlement of emerging services, and the result is transmitted to a customer in a rapid response manner, so that intelligent electricity utilization management is supported, and the omnibearing service level of the customers of the power grid company is improved.
The electric quantity of industrial enterprises in the province can be promoted to increase powerfully by developing spot transaction, the effects of stable stock and increment promotion are obvious, meanwhile, the cost of the industrial enterprises is obviously reduced, the production of the enterprises is stabilized, the mutual benefits and win-win of electric power marketing of the power grid are realized, and great social benefits are achieved.
Referring to fig. 3, the service gateway 34 is constructed by a plurality of service components in a modular manner, and the modular manner is an efficient processing complex application system, and better defines the function mode of the functional module, so as to split the complex system into a plurality of components, separate the boundaries and responsibilities of the components, and facilitate independent upgrade and maintenance. By combining the micro service framework, each service component is deployed in the form of micro service, on one hand, the access standard of the micro service is standardized, and on the other hand, the development difficulty of the business micro service is simplified through the architecture construction of the public component and the capability component, so that a developer only pays attention to the realization of the business logic of the component. The method comprises the following steps:
The micro service gateway component 341 adopts a micro service gateway component of a cloud platform, and the micro service gateway component provides packet management and API management functions and can perform service routing, fusing and limiting and key authentication on service call; fusing and throttling are an important means for the micro-service gateway component to protect background services. Fusing is a protective mechanism generated by a reference circuit, namely if a certain service failure rate is too high in the system, a fuse is opened, and the service is not continuously requested for subsequent calls. The switch of the fuse can ensure that a service caller can quickly return a result when calling abnormal service, so that a great amount of synchronous waiting is avoided, and the fuse can continuously detect the execution result of the request after a period of time, so that the possibility of recovering service calling is provided. The current limiting is to control the access rate of external requests by adopting a current limiting algorithm (such as a token bucket algorithm and the like) so as to avoid the massive burst requests from collapsing background services.
The registry component 342 is configured to support registration and discovery of micro services, and dynamically update a service list to meet the requirement of service elastic expansion; the configuration center component 343 is used for supporting global configuration and application configuration, and realizing centralized management and dynamic refreshing of application configuration information; the monitoring center component 344 is used for realizing log collection, analysis and query of the distributed environment, and the call chain service can monitor call links among services and analyze performance and fault points; the client load balancing component 345 adopts a rib component to realize load balancing of service call at the client; the call among a plurality of service components is completely according to the technical specification of the Spring Cloud framework, interaction among the micro components is realized by using technologies such as Ribbon and the like through a registration center, and technologies such as load balancing, current limiting fusing and the like among service calls can be well supported.
Referring to fig. 4, the embodiment of the method for long-term time-sharing accounting of electric quantity in a power grid includes the following steps:
the method comprises the steps that a transaction system initiates, a contract relation between an electricity selling company and an electricity consumption user is actively pushed to a marketing system, and the marketing system initiates, and daily electricity consumption data of the electricity consumption user is actively pushed to the transaction system;
the marketing system pushes monthly settlement electric charge to the transaction system to recalculate the electric charge and the power adjustment electric charge, and then pushes the transaction settlement result of the electricity user in the transaction system to the marketing system to issue and charge the electric charge;
the marketing system receives a settlement list of the electricity selling company within the unit jurisdiction range of the settlement electric charge returned by the transaction system, and generates a payable settlement list of the electricity selling company as a basis for settlement between the electricity selling company and a financial department of the power grid company;
the marketing system issues the electric charge, and the marketing system issues the electric charge which is pushed by the transaction system and accounts for the electric charge;
the marketing system gives a bill, urges fees and recovers electric fees to customers, and after the electric fees of the marketing system are released, related electric fee bills, urging fees and records of the amount to be paid are generated, thereby supporting multi-channel electric fee recovery and recording transaction customer payment records.
The embodiment realizes that marketized transaction users settle accounts of all transaction contracts according to the time of day by adopting a day clearing and month settlement mode, and respectively settle the settlement electric quantity of each hour every day according to the principle of contract settlement before contract deviation according to the contract settlement, so as to establish a market mechanism for reflecting the electric value of different periods.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different manner from other embodiments, so that the same or similar parts between the embodiments are referred to each other. For each of the above embodiments, since it is substantially similar to the method embodiment, the description is relatively simple, and reference should be made to the description of the method embodiment for relevant points.
The foregoing embodiments have been presented in a detail description of the invention, and are presented herein with a particular application to the understanding of the principles and embodiments of the invention, the foregoing embodiments being merely intended to facilitate an understanding of the method of the invention and its core concepts; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present invention, the present description should not be construed as limiting the present invention in view of the above.

Claims (8)

1. A medium-and-long-term time-sharing accounting system for electric quantity of a power grid, wherein the system is initiated by a transaction system (2), a contractual relationship between an electricity selling company (1) and an electricity using user (4) is actively pushed to a marketing system (3), daily electricity consumption data of the electricity using user (4) is actively pushed to the transaction system (2) by the marketing system (3), the marketing system (3) pushes monthly settlement electric charge to the transaction system (2) to recalculate the electric charge and the power adjustment electric charge, and then the transaction settlement result of the electricity using user (4) in the transaction system (2) is pushed to the marketing system (3) to issue and charge the electric charge,
the marketing system (3) is decoupled into a series of front-end micro-applications (31) and background micro-services (32) which can independently deploy micro-services, and containment deployment is carried out based on a cloud platform, the front-end micro-applications (31) adopt Nginx to manage static resources, dynamic information is provided by the micro-applications running in a Tomcat container, and the background micro-services (32) adopt Java servers to take charge of business logic processing;
the marketing system (3) further comprises a medium-and-long-period time-sharing settlement module (33) for realizing the hour accounting management of marketized transaction users and transaction power plants and supporting the development of marketized transaction time-sharing settlement business, wherein the medium-and-long-period time-sharing settlement module (33) divides the accounting of the electricity users (4) participating in the marketized transaction into hour settlement users and day settlement users, and the hour settlement users acquire hour meter codes every day to carry out electric quantity settlement and push the transaction to the transaction system (2); after daily settlement users acquire the electric quantity in the daily code stage every day, dividing the electric quantity into hours according to a typical rechecking curve, and pushing the electric quantity to a transaction system (2); and is used for the treatment of the skin,
And a service gateway (34) for dynamically adjusting the current limiting and fusing mechanism according to the running condition of the marketing system (3) and ensuring the continuity and stability of the background service.
2. The accounting system according to claim 1, characterized in that the front-end micro-application (31) and the back-end micro-service (32) both operate in the containerized micro-service environment as mirror images of Docker in the form of WAR or FatJar.
3. The accounting system of claim 1, wherein the front-end micro-applications (31) and the background micro-services (32) are deployed in a container running environment of the cloud platform in a manner of SpringBoot FatJar, and are uniformly registered to a configuration center at the time of starting, and the life cycle of the micro-services is uniformly controlled by the cloud platform micro-service platform.
4. The accounting system of claim 1, wherein said service gateway (34) is constructed using Spring Cloud Gateway technology, enabling obtaining a list of services provided outside of a micro-service through a Swagger API.
5. The accounting system according to claim 1, characterized in that said medium-and long-term time-share settlement module (33) comprises:
an hour fee calculation file management unit (331), wherein the hour fee calculation file management unit (331) is used for realizing the import of an hour electric quantity user list and synchronously incorporating an hour fee calculation user file, and the hour fee calculation file management unit (331) is composed of a transaction user file management component and a transaction power plant file management component;
The system comprises an hour electric quantity accounting management unit (332), wherein the hour electric quantity accounting management unit (332) consists of an hour user electric quantity accounting component and a power plant hour electric quantity accounting component, the hour electric quantity accounting management unit (332) is used for displaying information of users or metering points of the users and the power plant, which need to perform daily electric quantity calculation, and calling an hour electric quantity calculation service for calculating the user, which needs to perform daily electric quantity calculation, and the hour electric quantity calculation service is used for calculating the time point electric quantity according to a time point table code;
a daily electricity quantity user accounting unit (333), wherein the daily electricity quantity user accounting unit (333) is used for displaying information of a user or a metering point needing daily electricity quantity calculation, for the user needing daily electricity quantity calculation, a daily electricity quantity user electricity quantity calculation service is called for calculation, for the record of which the calculation is completed, a daily electricity quantity user electricity quantity checking service is called for checking the abnormality such as negative electricity quantity, no meter code in a middle library and the like, and the daily electricity quantity user electricity quantity checking service is used for calculating daily electricity quantity according to the meter code;
the device comprises an hour electric quantity error processing unit (334), wherein the hour electric quantity error processing unit (334) is composed of a user hour electric quantity error processing component and a power plant hour electric quantity error processing component, and the hour electric quantity error processing unit (334) is used for processing daily electric quantity abnormal data of users and power plant parties and recalculating the hour electric quantity error electric quantity.
6. The accounting system according to claim 1, wherein the medium-and-long-period-sharing settlement module (33) further comprises:
the hour electric quantity accumulation and month comparison unit (335) is used for comparing the sum of the time electric quantity of the hour electric quantity user of the power plant with the middle-long-term month settlement total electric quantity after the month electric quantity of the power plant is confirmed, judging whether the time electric quantity is consistent with the middle-long-term electric quantity, generating abnormal information for inconsistent records and pushing the abnormal information to the metering system and the transaction system;
and the medium-and-long-term time-sharing month settlement unit (336), wherein the medium-and-long-term time-sharing month settlement unit (336) is used for month electric quantity recovery and compensation electric quantity confirmation and month fee calculation of a user and a power plant side.
7. The accounting system of claim 1, wherein the service gateway (34) is built up in a modular manner from several service components, including:
a micro service gateway component (341), the micro service gateway component (341) adopting a micro service gateway component of a cloud platform, the micro service gateway component providing packet management and API management functions, capable of performing service routing, fusing flow limiting and key authentication on service calls;
A registry component (342), where the registry component (342) is configured to support registration and discovery of micro services, and dynamically update a service list to meet a requirement of service elastic expansion;
the configuration center component (343) is used for supporting global configuration and application configuration, and realizing centralized management and dynamic refreshing of application configuration information;
the monitoring center component (344) is used for realizing log acquisition, analysis and inquiry of the distributed environment, and the calling chain service can monitor a calling link between services and analyze performance and fault points;
and the client load balancing component (345), wherein the client load balancing component (345) adopts a Ribbon component to realize the load balancing of service call at the client.
8. A method for implementing the accounting system of any one of the preceding claims 1-7, characterized in that the method comprises the following process:
the method comprises the steps that a transaction system initiates, a contract relation between an electricity selling company and an electricity consumption user is actively pushed to a marketing system, and the marketing system initiates, and daily electricity consumption data of the electricity consumption user is actively pushed to the transaction system;
the marketing system pushes monthly settlement electric charge to the transaction system to recalculate the electric charge and the power adjustment electric charge, and then pushes the transaction settlement result of the electricity user in the transaction system to the marketing system to issue and charge the electric charge;
The marketing system receives a settlement list of the electricity selling company within the unit jurisdiction range of the settlement electric charge returned by the transaction system, and generates a payable settlement list of the electricity selling company as a basis for settlement between the electricity selling company and a financial department of the power grid company;
the marketing system issues the electric charge, and the marketing system issues the electric charge which is pushed by the transaction system and accounts for the electric charge;
the marketing system gives a bill, urges fees and recovers electric fees to customers, and after the electric fees of the marketing system are released, related electric fee bills, urging fees and records of the amount to be paid are generated, thereby supporting multi-channel electric fee recovery and recording transaction customer payment records.
CN202410140261.7A 2024-02-01 2024-02-01 Middle-long time sharing accounting method and system for electric quantity of power grid Active CN117689499B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410140261.7A CN117689499B (en) 2024-02-01 2024-02-01 Middle-long time sharing accounting method and system for electric quantity of power grid

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410140261.7A CN117689499B (en) 2024-02-01 2024-02-01 Middle-long time sharing accounting method and system for electric quantity of power grid

Publications (2)

Publication Number Publication Date
CN117689499A true CN117689499A (en) 2024-03-12
CN117689499B CN117689499B (en) 2024-04-12

Family

ID=90132335

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410140261.7A Active CN117689499B (en) 2024-02-01 2024-02-01 Middle-long time sharing accounting method and system for electric quantity of power grid

Country Status (1)

Country Link
CN (1) CN117689499B (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110202415A1 (en) * 2010-02-18 2011-08-18 Bling Nation, Ltd. Automated transaction system and settlement processes
CN109783194A (en) * 2018-12-29 2019-05-21 广东万云信息科技有限公司 Processing method, device, equipment and the storage medium of defence mobilization platform
CN110363584A (en) * 2019-07-03 2019-10-22 国网山东省电力公司东营供电公司 A kind of electricity electricity charge accounting system
CN111787073A (en) * 2020-06-18 2020-10-16 多加网络科技(北京)有限公司 Current-limiting fusing platform and method for unified service
CN112001814A (en) * 2020-08-24 2020-11-27 国网北京市电力公司 Electric power marketing measurement mobile operation system based on cloud computing
CN112634074A (en) * 2020-10-19 2021-04-09 国网福建省电力有限公司 Method, device, equipment and storage medium for linking medium-long-term market and spot market
US20210383301A1 (en) * 2020-06-05 2021-12-09 North China Electric Power University Multi-subject flexible energy block bidding transaction system and method in power market
CN113781709A (en) * 2021-08-12 2021-12-10 云南电网有限责任公司信息中心 Daily fee control device integrated with monthly electric fee settlement system
CN114066638A (en) * 2021-11-30 2022-02-18 昆明电力交易中心有限责任公司 Wholesale user settlement system and method based on price difference contract
CN114092158A (en) * 2021-12-01 2022-02-25 四川中电启明星信息技术有限公司 Auxiliary trading system for medium-term and long-term trading in power market
CN114757751A (en) * 2022-03-14 2022-07-15 昆明电力交易中心有限责任公司 Electric power market wholesale retail decoupling settlement method and system
CN116128542A (en) * 2022-12-13 2023-05-16 国网山东省电力公司营销服务中心(计量中心) Method and system for checking electricity fee line of electricity purchasing side
CN116128499A (en) * 2023-01-03 2023-05-16 贵州电网有限责任公司信息中心 Spot transaction electric quantity settlement system based on power grid platform
CN116633725A (en) * 2023-04-07 2023-08-22 北京中电普华信息技术有限公司 All-channel access gateway

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110202415A1 (en) * 2010-02-18 2011-08-18 Bling Nation, Ltd. Automated transaction system and settlement processes
CN109783194A (en) * 2018-12-29 2019-05-21 广东万云信息科技有限公司 Processing method, device, equipment and the storage medium of defence mobilization platform
CN110363584A (en) * 2019-07-03 2019-10-22 国网山东省电力公司东营供电公司 A kind of electricity electricity charge accounting system
US20210383301A1 (en) * 2020-06-05 2021-12-09 North China Electric Power University Multi-subject flexible energy block bidding transaction system and method in power market
CN111787073A (en) * 2020-06-18 2020-10-16 多加网络科技(北京)有限公司 Current-limiting fusing platform and method for unified service
CN112001814A (en) * 2020-08-24 2020-11-27 国网北京市电力公司 Electric power marketing measurement mobile operation system based on cloud computing
CN112634074A (en) * 2020-10-19 2021-04-09 国网福建省电力有限公司 Method, device, equipment and storage medium for linking medium-long-term market and spot market
CN113781709A (en) * 2021-08-12 2021-12-10 云南电网有限责任公司信息中心 Daily fee control device integrated with monthly electric fee settlement system
CN114066638A (en) * 2021-11-30 2022-02-18 昆明电力交易中心有限责任公司 Wholesale user settlement system and method based on price difference contract
CN114092158A (en) * 2021-12-01 2022-02-25 四川中电启明星信息技术有限公司 Auxiliary trading system for medium-term and long-term trading in power market
CN114757751A (en) * 2022-03-14 2022-07-15 昆明电力交易中心有限责任公司 Electric power market wholesale retail decoupling settlement method and system
CN116128542A (en) * 2022-12-13 2023-05-16 国网山东省电力公司营销服务中心(计量中心) Method and system for checking electricity fee line of electricity purchasing side
CN116128499A (en) * 2023-01-03 2023-05-16 贵州电网有限责任公司信息中心 Spot transaction electric quantity settlement system based on power grid platform
CN116633725A (en) * 2023-04-07 2023-08-22 北京中电普华信息技术有限公司 All-channel access gateway

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
顾国栋 等: "电力用户功率因数考核方法优化方案研究", 《电网技术》, vol. 40, no. 8, 15 March 2016 (2016-03-15), pages 2477 - 2483 *

Also Published As

Publication number Publication date
CN117689499B (en) 2024-04-12

Similar Documents

Publication Publication Date Title
US8442917B1 (en) Energy distribution and marketing backoffice system and method
US20080074284A1 (en) Message-bus-based advanced meter information system with applications for cleaning, estimating and validating meter data
US10650359B2 (en) Energy distribution and marketing backoffice system and method
US20080052253A1 (en) System and method for message-bus-based advanced meter information system
CN111178682A (en) Control method of demand response management platform based on block chain technology
CN101370060B (en) A kind of multiple channel automated refill system, method and apparatus
US20150220904A1 (en) Account Management and Transfer System and Method of Use
CN111178887A (en) Distributed photovoltaic power generation and sale system and method based on block chain
KR20150038427A (en) SaaS PAYMENT PROCESSING SYSTEM, SaaS USAGE FEE PAYMENT PROCESSING METHOD, AND PROGRAM
CN109118351A (en) Integrated automatic settlement method, system, computer equipment and storage medium
CN112258306B (en) Account information checking method, device, electronic equipment and storage medium
WO2020231288A1 (en) Information system for buying and selling electrical energy
WO2015049515A1 (en) Improvements relating to distributed resource management in real-time systems
CN116128542B (en) Method and system for checking electricity fee line of electricity purchasing side
CN117689499B (en) Middle-long time sharing accounting method and system for electric quantity of power grid
CN116342130A (en) Intelligent settlement service system for small amount of pre-charge electric charge
JP5416852B1 (en) Corporate sales support system, corporate sales support method, and program
CN111563807A (en) Method and device for processing transaction data
CN113516542B (en) Day and month knot and year trial calculation method and system in intelligent property accounting
JP7430174B2 (en) Systems and methods for implementing a transaction processing ecosystem
CN210295195U (en) Block chain power generation system, power generation facility and generated energy conversion node
CN110826994B (en) Data processing method, device, equipment and storage medium
CN117710023A (en) Card ticket clearing and counting system and method
JP2024510863A (en) System and method for services via distributed ledger
CN113822660A (en) Data processing method and device, electronic equipment and medium

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