CN104376647B - Real-time calculation charge system for electric power - Google Patents

Real-time calculation charge system for electric power Download PDF

Info

Publication number
CN104376647B
CN104376647B CN201410608955.5A CN201410608955A CN104376647B CN 104376647 B CN104376647 B CN 104376647B CN 201410608955 A CN201410608955 A CN 201410608955A CN 104376647 B CN104376647 B CN 104376647B
Authority
CN
China
Prior art keywords
power purchase
user
server
adjustment
electricity charge
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.)
Active
Application number
CN201410608955.5A
Other languages
Chinese (zh)
Other versions
CN104376647A (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.)
State Grid Corp of China SGCC
State Grid Gansu Electric Power Co Ltd
Electric Power Research Institute of State Grid Gansu Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
State Grid Gansu Electric Power Co Ltd
Electric Power Research Institute of State Grid Gansu Electric Power 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 State Grid Corp of China SGCC, State Grid Gansu Electric Power Co Ltd, Electric Power Research Institute of State Grid Gansu Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN201410608955.5A priority Critical patent/CN104376647B/en
Publication of CN104376647A publication Critical patent/CN104376647A/en
Application granted granted Critical
Publication of CN104376647B publication Critical patent/CN104376647B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Beverage Vending Machines With Cups, And Gas Or Electricity Vending Machines (AREA)

Abstract

The invention discloses a kind of real-time calculation charge systems for electric power, including database server, application server, encryption front server and storage equipment, using distributed B/A/S multi-tier systematic structure, layering deployment is carried out to database server, application server and client.Achieve the purpose that improve safety under the premise of low cost.

Description

Real-time calculation charge system for electric power
Technical field
The present invention relates to power domains, and in particular, to a kind of real-time calculation charge system for electric power.
Background technique
Currently, with universal, trend of the intelligent electric meter as development of intelligent network, but present network security influences Intelligent electric meter is popularized.Existing intelligent electric meter is poor using the safety of the encryption data of logic encryption card, uses PSAM module It is at high cost and be difficult to safeguard.
Summary of the invention
It is an object of the present invention in view of the above-mentioned problems, a kind of real-time calculation charge system for electric power be proposed, to realize The advantages of safety is improved under the premise of low cost.
To achieve the above object, the technical solution adopted by the present invention is that:
A kind of real-time calculation charge system for electric power, including database server, application server, encryption front server With storage equipment, using distributed B/A/S multi-tier systematic structure, to database server, application server and client into Row layering deployment;
The database server: for saving the electrical energy parameter of electric energy meter acquisition, and the data acquired according to electric energy meter Carry out real-time update;
The application server: expect that the data in the smart card of configuration setting are written and read to electric energy meter, and mention For customer-oriented operation interface;
The encryption front server: being connected between database server and application server, and the user will be intelligent After card insertion enters application server, user is accessed using application server to corresponding parameter is stored in database server When, need to complete the read-write of smart card by encryption front server;
The storage equipment: for the data in backup database server.
Optimization, it is paid the fees when user's power purchase by cash and pay-in slip clearing form, payment amount of money and the adjustment amount of money are cumulative Power purchase fund is formed afterwards, power purchase fund and power purchase number is written in smart card, printed tickets;
System is needed whether to settle accounts the electricity charge to old table and be verified when user's power purchase;
It is paid advance when user's power purchase, the common advance power purchase fund that switchs to of user can be write by adjusting the electricity charge Enter in smart card;
When the adjustment electricity charge are that difference occurs for the advance remaining sum in the advance remaining sum of system and table, in order to guarantee that system is advance The reason of remaining sum is consistent with residual amount in table, this part flow indicator calculates is come out and is adjusted to user, difference is divided into three classes: Normal adjustment, system call interception and special adjustment;
Normal adjust refers mainly to common advance and moves back the adjustment electricity charge caused by mending the electricity charge;
The system call interception refers mainly to electricity charge algorithm difference, residual amount meter reading difference, supplements caused difference with money not in time;
The special adjustment be mainly be to handle some special circumstances, additional maintenance can be carried out, when power purchase is filled with together In table, the special circumstances refer to other situations in situation described in normal adjustment and system call interception.
Technical solution of the present invention has the advantages that
Technical solution of the present invention encrypts system in such a way that encryption front server uses encryption equipment, Storage equipment is set simultaneously, carrying out safety backup is carried out to data.And the maintenance cost of encryption equipment is relatively low, thus reached it is low at The purpose of safety is improved under the premise of this.
Below by drawings and examples, technical scheme of the present invention will be described in further detail.
Detailed description of the invention
Fig. 1 is the functional block diagram described in the embodiment of the present invention for the real-time calculation charge system of electric power.
Specific embodiment
Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings, it should be understood that preferred reality described herein Apply example only for the purpose of illustrating and explaining the present invention and is not intended to limit the present invention.
As shown in Figure 1, a kind of real-time calculation charge system for electric power, including database server, application server, encryption Front server and storage equipment, using distributed B/A/S multi-tier systematic structure, to database server, application server Layering deployment is carried out with client;
Database server: it is carried out for saving the electrical energy parameter of electric energy meter acquisition, and according to the data of electric energy meter acquisition Real-time update;
Application server: expect that the data in the smart card of configuration setting are written and read to electric energy meter, and face is provided To the operation interface of client;
Encryption front server: being connected between database server and application server, and user answers smart card insertion After server, user using application server to storing that corresponding parameter accesses in database server when, need The read-write of smart card is completed by encryption front server;
Store equipment: for the data in backup database server.
It is paid the fees when user's power purchase by cash and pay-in slip clearing form, forms purchase after payment amount of money and the adjustment amount of money are cumulative Electric fund power purchase fund and power purchase number is written in smart card, printed tickets;When user's power purchase system need to old table whether The clearing electricity charge are verified;It is paid advance when user's power purchase, the common of user advance can be switched to by adjusting the electricity charge Power purchase fund is written in smart card;When the adjustment electricity charge are that difference occurs for the advance remaining sum in the advance remaining sum of system and table, in order to protect The advance remaining sum of card system is consistent with residual amount in table, this part flow indicator calculates is come out and is adjusted to user, the original of difference Because being divided into three classes: normal adjustment, system call interception and special adjustment;Normal adjustment is referred mainly to common advance and is moved back caused by mending the electricity charge Adjust the electricity charge;System call interception refers mainly to electricity charge algorithm difference, residual amount meter reading difference, supplements caused difference with money not in time;It is special Different adjustment can carry out additional maintenance mainly to handle some special circumstances, and when power purchase is filled in table together, the special feelings Condition refers to other situations in situation described in normal adjustment and system call interception.
Card table Electricity customers are to clerk counter or have the site of withholding of sale of electricity read-write card equipment to carry out power purchase, if it is dress table First time power purchase afterwards, user need first to carry out hair fastener business there are no smart card (power purchase card), will be in user information write-in card. User provides media card and carries out power purchase, and system card reading obtains user information, calculates the adjustment because changing the generation of the factors such as table, zero passage The electricity charge provide two kinds of funds source mode power purchases:
By the payment of the clearing forms such as cash, pay-in slip when this power purchase of user, after payment amount of money and the adjustment amount of money are cumulative Power purchase fund is formed, power purchase fund, power purchase number are written in card, printed tickets.If the preset electricity charge of user's dress table are being flowed Cheng Huanjie is not collected, and to be collected together in first time power purchase.
It needs whether to settle accounts the electricity charge to old table when power purchase and verify.
It has paid advance when user's power purchase, advance can switch to the common of user by adjusting the electricity charge by other means In power purchase fund write-in card.
When the adjustment electricity charge are that difference occurs for the advance remaining sum in the advance remaining sum of system and table, in order to guarantee that system is advance as far as possible Remaining sum is consistent with residual amount in table, this part flow indicator calculates is come out by algorithm and is adjusted to user by system, difference Reason can be roughly divided into three classes: normal adjustment, system call interception, special adjustment.
Normal adjustment refer mainly to other approach it is common it is advance, move back and adjust the electricity charge caused by mending the electricity charge, for example, for other Approach pay it is common it is advance can be filled in card as the adjustment electricity charge, and switch to power purchase fund.
Difference caused by system call interception refers mainly to electricity charge algorithm difference, residual amount meter reading difference, supplements with money not in time etc., example As being to be deducted in real time by electricity, and marketing system calculating is according to meter reading periodicity extraction electricity when calculating ladder in table;In another example The electricity time irreversibility of residual amount meter reading lag and the computing system electricity charge;In another example plug-in card is supplemented with money not in time after power purchase, and At a time when meter reading day, the residual amount before only having copied back power purchase.
Special adjustment be mainly be to handle some special circumstances, can carry out additional maintenance, when power purchase, is filled in table together, Belong to handle special circumstances and an increased technological means.
Power purchase is rushed just:
There are no returning to be inserted through ammeter after user's power purchase, because the reasons such as charge mistake, printed tickets mistake need to remove also, It can carry out power purchase punching just, it will be in the last time power purchase information write-in card before power purchase.
It should be noted that punching just must satisfy charge rush positive rule (such as the next day cannot rush just, cannot rush just after pay in Deng), it is necessary to limit card does not have back to be inserted through ammeter.
Adjust the electricity charge:
Since, without the objective fact freezed, residual amount is a continually changing dynamic again in addition in residual amount table Value, therefore the calculating of the electricity charge is adjusted, as without no matter all being deposited from electricity charge audit or the calculating of power purchase link under the cooperation of power purchase number In some difficulties, it can not accomplish that very accurately, but under existing conditions the remaining sum of Biao Nei and system, which is not inconsistent, to be bound to deposit , if be not adjusted to user, it is increasing to will lead to error, therefore adjustment is also necessary, it is advance with system It being adjusted subject to remaining sum, adjusted value is intended merely to allow the remaining sum in the remaining sum and system of user Biao Nei closer to some forever, Have a power failure more more acurrate.
Adjust electricity charge formula:
Fundamental formular: according to above principle, it is as follows to adjust electricity charge formula:
The electricity charge=available balance (system available balance)-remaining remaining sum (residual amount in table) is adjusted,
1, available balance=do not freeze advance total value-arrearage;
2, accumulated recharge amount after remaining remaining sum=the last time meter reading residual amount+meter reading.
1) accumulated recharge amount after meter reading when accumulated recharge amount=accumulated recharge amount-last time meter reading:
Formula illustrates: what the formula was most difficult to calculate is residual amount in table, since the residual amount in table is to occur in real time Variation, and the clearing of user be it is rhythmic, the residual amount of system be all after the billing cycle offset according to user more than Volume, therefore the adjustment electricity charge can only be adjusted with settling accounts for the period." accumulated recharge amount after meter reading " in residual amount calculating It just assumes that after last time meter reading, the residual amount of meter, does not just have as user after all power purchase amount of money are filled in card Have using electricity, then just should be as the advance remaining sum in custom system, without difference, system remaining sum and remaining sum in table are mutual It offsets, then difference is aiming at the last meter reading residual amount.
Problem explanation: single household is handled when this formula power purchase, can mitigate pressure when electricity charge distribution, not by last Whether secondary power purchase inserts the limitation of table, but is influenced by whether last time power purchase inserts table, if last time does not insert table, The adjustment electricity charge that formula will lead to this mend the electricity charge to user more, although formula power purchase can entangle again after second of meter reading Just, but for when it is a little late, but from the present analysis the case where from the point of view of, have no idea whether to supplement with money before judging last time meter reading, But in order to reduce such situation, it is proposed that be still based on the above company, calculate simulation is specifically supplemented with money, take difference between the two minimum 's.
Finally, it should be noted that the foregoing is only a preferred embodiment of the present invention, it is not intended to restrict the invention, Although the present invention is described in detail referring to the foregoing embodiments, for those skilled in the art, still may be used To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features. All within the spirits and principles of the present invention, any modification, equivalent replacement, improvement and so on should be included in of the invention Within protection scope.

Claims (1)

1. a kind of real-time calculation charge system for electric power, which is characterized in that including database server, application server, encryption Front server and storage equipment, using distributed B/A/S multi-tier systematic structure, to database server, application server Layering deployment is carried out with client;
The database server: it is carried out for saving the electrical energy parameter of electric energy meter acquisition, and according to the data of electric energy meter acquisition Real-time update;
The application server: the data in the smart card of electric energy meter configuration setting are written and read, and are provided towards visitor The operation interface at family;
The encryption front server: being connected between database server and application server, and user answers smart card insertion After server, user using application server to storing that corresponding parameter accesses in database server when, need The read-write of smart card is completed by encryption front server;
The storage equipment: for the data in backup database server;
It is paid the fees when user's power purchase by cash and pay-in slip clearing form, forms power purchase money after payment amount of money and the adjustment amount of money are cumulative Gold power purchase fund and power purchase number is written in smart card, printed tickets;
System is needed whether to settle accounts the electricity charge to old table and be verified when user's power purchase;
It is paid advance when user's power purchase, the common of user advance can be switched into power purchase fund write-in intelligence by adjusting the electricity charge In capable of blocking;
When the adjustment electricity charge are that difference occurs for the advance remaining sum in the advance remaining sum of system and table, in order to guarantee the advance remaining sum of system It is consistent with residual amount in table, this part flow indicator calculates is come out and is adjusted to user, the reason of difference is divided into three classes: normal Adjustment, system call interception and special adjustment;
Normal adjust refers mainly to common advance and moves back the adjustment electricity charge caused by mending the electricity charge;
The system call interception refers mainly to electricity charge algorithm difference, residual amount meter reading difference, supplements caused difference with money not in time;
The special adjustment be mainly be to handle some special circumstances, can carry out additional maintenance, when power purchase, is filled in table together, The special circumstances refer to other situations in situation described in normal adjustment and system call interception.
CN201410608955.5A 2014-11-04 2014-11-04 Real-time calculation charge system for electric power Active CN104376647B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410608955.5A CN104376647B (en) 2014-11-04 2014-11-04 Real-time calculation charge system for electric power

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410608955.5A CN104376647B (en) 2014-11-04 2014-11-04 Real-time calculation charge system for electric power

Publications (2)

Publication Number Publication Date
CN104376647A CN104376647A (en) 2015-02-25
CN104376647B true CN104376647B (en) 2019-01-04

Family

ID=52555534

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410608955.5A Active CN104376647B (en) 2014-11-04 2014-11-04 Real-time calculation charge system for electric power

Country Status (1)

Country Link
CN (1) CN104376647B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105391551A (en) * 2015-11-25 2016-03-09 广西电网有限责任公司电力科学研究院 Method for encryption and decryption of intelligent electric meter embedded engineering file
CN106327055B (en) * 2016-08-08 2019-10-11 烟台海颐软件股份有限公司 A kind of electricity expense control method and system based on big data technology
CN106600160A (en) * 2016-12-23 2017-04-26 国网浙江奉化市供电公司 Method and system for refund or supplement of high-voltage electricity quantity and electricity charge
CN108269360A (en) * 2018-01-10 2018-07-10 武汉宏佳启元科技有限公司 A kind of water power gas meter remote payment plain code transmission method and system
CN109376200A (en) * 2018-10-15 2019-02-22 广东电网有限责任公司 A kind of Kernel-based methods call and the data processing system and method for shared data table

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1585953A (en) * 2001-09-13 2005-02-23 Abb股份有限公司 Method and system to calculate a demand for electric power
CN1760645A (en) * 2004-10-12 2006-04-19 北京融通高科科技发展有限公司 Method and system for paying charges through smart cards and meters
CN103679062A (en) * 2013-12-23 2014-03-26 上海贝岭股份有限公司 Intelligent electric meter main control chip and security encryption method
CN104125074A (en) * 2014-08-12 2014-10-29 国家电网公司 Charging method with privacy protection in smart power grid

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101847188A (en) * 2010-04-28 2010-09-29 北京飞天诚信科技有限公司 Software protection method for security device based on clock and security device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1585953A (en) * 2001-09-13 2005-02-23 Abb股份有限公司 Method and system to calculate a demand for electric power
CN1760645A (en) * 2004-10-12 2006-04-19 北京融通高科科技发展有限公司 Method and system for paying charges through smart cards and meters
CN103679062A (en) * 2013-12-23 2014-03-26 上海贝岭股份有限公司 Intelligent electric meter main control chip and security encryption method
CN104125074A (en) * 2014-08-12 2014-10-29 国家电网公司 Charging method with privacy protection in smart power grid

Also Published As

Publication number Publication date
CN104376647A (en) 2015-02-25

Similar Documents

Publication Publication Date Title
CN104376647B (en) Real-time calculation charge system for electric power
MY201181A (en) Data interaction method and device, and offline credit payment method and device
CN109598610A (en) A kind of Financing Mode method for depositing card based on block chain credit or number
CN106022902A (en) Accounting method and device
KR101953162B1 (en) Issuing method of virtual money based on credit card receivables and Issuing apparatus of virtual money based on credit card receivables
CN106384281A (en) Policy loan processing method and device
CN107358524B (en) Method for leveling funds among multiple account management lines in same currency
CN106327317A (en) Data verification method and device used for computer system
CN102521921A (en) Charge control device, prepayment electricity selling system, electricity selling system and method thereof
CN104700275A (en) Electronic commerce platform financial accounting method and system
CN104021456A (en) Method and system used for all-around enterprise group capital data monitoring
CN103390210A (en) Fund payment management system
CN104318427A (en) Vehicle involvement background electronic payment system and method
CN101114359A (en) IC card electronic payment system with bidirectional data-transmission network
CN108985923A (en) Fund clearing processing method and processing device
CN110766404A (en) Automatic reconciliation method and system for ETC multi-service multi-payment scene
Nakamoto Centralised bitcoin: a secure and high performance electronic cash system
CN108614866A (en) Internetbank client's Contribution Analysis method, apparatus and system
CN103778713B (en) Financial ic card system
CN105956846A (en) Small money offline payment afterwards remaining money balancing method
CN101329788A (en) Authorized power utilization management method and system
CN106096925A (en) A kind of smart card, the recharge method of a kind of smart card and system
CN101777214B (en) System for measuring and managing electric energy used for agricultural irrigation and drainage
CN109934590A (en) A kind of data processing method based on block chain, device, electronic equipment and medium
CN201307311Y (en) IC card electronic payment system of dual-direction data transmitting network

Legal Events

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