Method for implementing prepayment by using central charging as main meter end auxiliary charging

文档序号:512833 发布日期:2021-05-28 浏览:30次 中文

阅读说明:本技术 中心计费为主表端辅助计费实现预付费的方法 (Method for implementing prepayment by using central charging as main meter end auxiliary charging ) 是由 黄伟 陈委委 刘强 廖春天 于 2021-01-27 设计创作,主要内容包括:本发明提供中心计费为主表端辅助计费实现预付费的方法,该方法包括步骤:系统中心下发开户指令,设置表端初始使用参数;开户后,表端按照开户的单价进行计费,当余额达到设定值时关阀;表端每天在设定的时间点冻结数据,并主动与系统中心通信,上传数据;系统中心根据表端上报的冻结数据计算余额,并计算表端单价,若计算的余额与冻结余额不符,系统中心下发指令修正表内冻结时刻点余额,表端收到修正指令后根据当前累计用能量减去冻结时刻点累计用能量,并根据系统中心计算的当前单价重新计算当前余额,修正结束后将当前时刻点的累计用能信息和余额返回到系统中心。在表端与中心无法正常通信时,本发明的表端仍然能准确计费。(The invention provides a method for realizing prepayment by using central charging as main meter end auxiliary charging, which comprises the following steps: the system center issues an account opening instruction and sets initial use parameters of the table end; after opening an account, the meter end charges according to the unit price of opening the account, and the valve is closed when the balance reaches a set value; the data are frozen at a set time point every day by the meter end, and the meter end actively communicates with a system center to upload the data; the system center calculates balance according to the freezing data reported by the meter end, calculates the unit price of the meter end, if the calculated balance is not consistent with the freezing balance, the system center issues an instruction to correct the balance of the freezing time point in the meter, the meter end subtracts the accumulated energy of the freezing time point according to the current accumulated energy after receiving the correction instruction, recalculates the current balance according to the current unit price calculated by the system center, and returns the accumulated energy information and the balance of the current time point to the system center after the correction is finished. When the meter end and the center can not communicate normally, the meter end of the invention can still charge accurately.)

1. The method for realizing prepayment by using central charging as main meter end auxiliary charging is characterized by that said method includes the following steps:

(1) the system center issues an account opening instruction and sets initial use parameters of the table end;

(2) after opening an account, the meter end charges according to the unit price of opening the account, and the valve is closed when the balance reaches a set value;

(3) the method comprises the following steps that a table end freezes data at a set time point every day, actively communicates with a system center, and uploads the frozen data, unit price information and equipment state information;

(4) the system center calculates balance according to the freezing data reported by the meter end, calculates the unit price of the meter end, if the calculated balance is not consistent with the freezing balance, the system center issues an instruction to correct the balance of the freezing time point in the meter, the meter end subtracts the accumulated energy of the freezing time point according to the current accumulated energy after receiving the correction instruction, recalculates the current balance according to the current unit price calculated by the system center, and returns the accumulated energy information and the balance of the current time point to the system center after the correction is finished.

2. The method of claim 1, wherein the initial usage parameters comprise initial balance, unit price.

3. The method of claim 1, wherein the closing of the valve when the balance reaches a predetermined value is specifically closing the valve when the balance is 0 or an overdraft limit is reached.

4. The method for realizing prepayment by the central charging serving as the main meter-end auxiliary charging according to claim 1, wherein the method for calculating the unit price of the meter end in the step (4) is that the accumulated gas consumption of the meter end of the gas meter exceeds the step gas consumption and enters the next pricing unit price; adjusting the price of the system; the step cycle time is reached and the base price is executed.

5. The method according to claim 1, wherein in step (4), when the calculated unit price is inconsistent with the unit price reported by the meter, the system center issues a price adjustment instruction to modify the unit price of the meter.

Technical Field

The invention relates to the field of gas meters, in particular to a method for realizing prepayment by using central charging as main meter side auxiliary charging.

Background

The metering instrument generally adopts a prepayment mode to charge, and the traditional prepayment mode comprises prepayment meter end charging and prepayment center charging.

1. The prepayment meter end charging sets a complete price system into a metering instrument, and comprises step charging, periodic settlement, preset gas price and the like, and the meter end has an independent metering and charging function, but the program design of the meter end is complex in the mode, the charging function completely depends on the meter end, if the meter fails, the charging data can be lost or partially lost, and the loss is caused to users and gas companies;

2. the prepayment center separates the metering function from the charging function, the meter end is responsible for metering and data uploading, the charging is not carried out, the center settles accounts according to the uploaded metering data, the center realizes the functions of step charging, periodic settlement, preset gas price and the like, the charging function of the mode completely depends on the center, when the meter end and the center can not normally communicate, the meter end can still be normally used, but the center can not obtain the use information, the charging can not be carried out, and the company is lost.

Disclosure of Invention

The invention aims to: aiming at the problems in the prior art, the method for realizing prepayment by taking central charging as main meter-end auxiliary charging is provided, and the problems that the procedure of the prepayment meter-end charging is complex, the charging completely depends on the meter-end, the meter-end fault charging data is lost and the prepayment center charging completely depends on the center, when the meter-end and the center can not communicate normally, the meter-end can still be used normally, but the center can not obtain the use information, and the charging can not be carried out are solved.

The invention aims to be realized by the following technical scheme:

the method for realizing prepayment by using central charging as main meter end auxiliary charging includes the following steps:

(1) the system center issues an account opening instruction and sets initial use parameters of the table end;

(2) after opening an account, the meter end charges according to the unit price of opening the account, and the valve is closed when the balance reaches a set value;

(3) the method comprises the following steps that a table end freezes data at a set time point every day, actively communicates with a system center, and uploads the frozen data, unit price information and equipment state information;

(4) the system center calculates balance according to the freezing data reported by the meter end, calculates the unit price of the meter end, if the calculated balance is not consistent with the freezing balance, the system center issues an instruction to correct the balance of the freezing time point in the meter, the meter end subtracts the accumulated energy of the freezing time point according to the current accumulated energy after receiving the correction instruction, recalculates the current balance according to the current unit price calculated by the system center, and returns the accumulated energy information and the balance of the current time point to the system center after the correction is finished.

As a further technical solution, the initial usage parameter includes an initial balance and a unit price.

As a further technical scheme, the closing of the valve when the balance reaches the set value is specifically closing when the balance is 0 or reaches the overdraft limit.

As a further technical scheme, the method for calculating the unit price of the meter end in the step (4) is that the accumulated gas consumption of the meter end of the gas meter exceeds the step gas consumption and enters the next pricing unit price; adjusting the price of the system; the step cycle time is reached and the base price is executed.

As a further technical scheme, in the step (4), when the calculated unit price of the table end is inconsistent with the unit price reported by the table end, the system center issues a price adjusting instruction to modify the unit price of the table end.

Compared with the prior art, the invention realizes prepayment by adopting a mode of taking central charging as a main charging mode and taking a meter end as an auxiliary charging mode, and has the following advantages:

1. the meter end program design is simple, only need according to can deduct the fee, need not relate to ladder charging and periodic charging problem, the charging data is preserved in the center, meter end trouble can not influence the central charging.

2. The meter end and the center charge, the meter end still charges when the network is abnormal, and the valve is automatically closed when the balance is 0 or the overdraft amount is reached, so that the problem that the offline meter can be used all the time and cannot charge is solved.

Drawings

Fig. 1 is a logic diagram of a prepaid function implemented by a central charging for a primary meter-side secondary charging.

Detailed Description

The invention is described in detail below with reference to the figures and specific embodiments.

Example 1

Referring to fig. 1, this embodiment provides a method for implementing prepaid by central charging as a primary meter-side secondary charging, where the method includes:

(1) and the system center issues an account opening instruction and sets initial use parameters of the table terminal. In this embodiment, the initial usage parameters include an initial balance and a unit price.

(2) After opening an account, the meter end charges according to the unit price of opening the account, and when the balance reaches a set value, the valve is closed. The design in this implementation is: and when the balance reaches a set value, closing the valve specifically, when the balance is 0 or the overdraft limit is reached, closing the valve.

(3) The method comprises the following steps that a table end freezes data at a set time point every day, actively communicates with a system center, and uploads the frozen data, unit price information and equipment state information;

(4) the system center calculates balance according to the freezing data reported by the meter end, calculates the unit price of the meter end, if the calculated balance is not consistent with the freezing balance, the system center issues an instruction to correct the balance of the freezing time point in the meter, the meter end subtracts the accumulated energy of the freezing time point according to the current accumulated energy after receiving the correction instruction, recalculates the current balance according to the current unit price calculated by the system center, and returns the accumulated energy information and the balance of the current time point to the system center after the correction is finished. In this embodiment, the method for calculating the unit price of the meter end is that the accumulated gas consumption of the meter end of the gas meter exceeds the step gas consumption and enters the next pricing unit price. In this embodiment, when the calculated unit price of the meter end is inconsistent with the unit price reported by the meter end, the system center issues a price adjustment instruction to modify the unit price of the meter end.

Example 2

Referring to fig. 1, the method realizes prepayment by a method of charging a main meter end by a center, and comprises the following specific steps:

1. and the system center issues an account opening instruction, and sets table end initial use parameters including information such as initial balance, unit price and the like.

2. And the meter end charges according to the unit price of the account after the account is opened, and closes the valve when the balance is 0 or reaches the overdraft limit.

3. And freezing data at 0 point every day at the meter end, such as freezing accumulated gas consumption and balance in the meter.

4. The meter end actively communicates with the system center every day, and uploads the frozen data, unit price information and equipment state information.

5. And the system center calculates balance according to the freezing data of 0 point every day reported by the meter end, and calculates the unit price of the meter end, if the accumulated gas consumption of the meter end of the gas meter exceeds the gas consumption of the step and enters the next step, the price changes.

6. When the calculated unit price P is not consistent with the reported unit price, the center issues a price adjusting instruction to modify the unit price in the table.

7. If the calculated balance X in the table does not accord with the frozen balance Y, issuing an instruction to correct the balance Y at the freezing time point in the table, subtracting the accumulated energy N at the freezing time point according to the current accumulated energy M after the table end receives a correction instruction, recalculating the current balance W according to the current unit price P calculated by the system center, wherein the W is X- (M-N) P, and returning the accumulated energy information M and the balance W at the current time point to the center after the correction is finished.

The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, it should be noted that any modifications, equivalents and improvements made within the spirit and principle of the present invention should be included in the scope of the present invention.

6页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:智能服药控制系统及方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!