CN108986324B - Charging and refunding method for public rental house hydropower gas meter - Google Patents

Charging and refunding method for public rental house hydropower gas meter Download PDF

Info

Publication number
CN108986324B
CN108986324B CN201810863128.9A CN201810863128A CN108986324B CN 108986324 B CN108986324 B CN 108986324B CN 201810863128 A CN201810863128 A CN 201810863128A CN 108986324 B CN108986324 B CN 108986324B
Authority
CN
China
Prior art keywords
gas meter
mobile phone
fee
background server
phone app
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
CN201810863128.9A
Other languages
Chinese (zh)
Other versions
CN108986324A (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.)
Shijiazhuang Kelin Electric Co Ltd
Original Assignee
Shijiazhuang Kelin Electric 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 Shijiazhuang Kelin Electric Co Ltd filed Critical Shijiazhuang Kelin Electric Co Ltd
Priority to CN201810863128.9A priority Critical patent/CN108986324B/en
Publication of CN108986324A publication Critical patent/CN108986324A/en
Application granted granted Critical
Publication of CN108986324B publication Critical patent/CN108986324B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F15/00Coin-freed apparatus with meter-controlled dispensing of liquid, gas or electricity
    • G07F15/06Coin-freed apparatus with meter-controlled dispensing of liquid, gas or electricity with means for prepaying basic charges, e.g. rent for meters
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/14Payment architectures specially adapted for billing systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/327Short range or proximity payments by means of M-devices
    • G06Q20/3276Short range or proximity payments by means of M-devices using a pictured code, e.g. barcode or QR-code, being read by the M-device

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a recharging and fee-returning method for a public rental house hydroelectric gas meter, which belongs to the technical field of hydroelectric gas meters, and comprises a recharging step and a fee-returning step based on the hydroelectric gas meter, a mobile phone and a background server, wherein the fee-returning step comprises the following steps: step t1, the user initiates a fee refunding operation to the background server through the mobile phone APP; step t2, inputting the refund authentication code into the hydroelectric gas meter through a key on the hydroelectric gas meter, calculating the residual amount after the hydroelectric gas meter identifies the refund authentication code, then generating a refund confirmation code by using a private key signature, stopping supplying power, water or gas to a public rental house, and simultaneously clearing data in the meter; and step t3, returning the residual amount to the payment account bound by the mobile phone APP after the background server successfully checks the fee-returning confirmation code. According to the invention, the data interaction between the hydroelectric gas meter and the background server is realized by using the mobile phone APP as an intermediate medium, so that the recharging and refunding operations are realized, the management is greatly simplified, and convenience is brought to house renters.

Description

Charging and refunding method for public rental house hydropower gas meter
Technical Field
The invention belongs to the technical field of hydroelectric gas meters, and particularly relates to a recharging and refunding method for a water meter, an electric meter or a gas meter of a public rental house.
Background
Public rental houses are transitional solutions to the hard-to-house population. When this segment of people has the ability to pay, it is necessary to leave the public rental housing to market for purchase or to rent the housing.
When the existing house renting personnel leave the public renting house, the balance in the water and electricity gas meter adopting the prepayment property returns. The existing public rental houses are generally managed by means of supporting property, refund in the water and electricity gas meter needs to be checked and registered on site, then refund is carried out, and due to frequent movement of personnel in the public rental houses, management is difficult, and more management personnel are needed.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a recharging and fee refunding method for a public rental house hydroelectric gas meter, which realizes interaction of the hydroelectric gas meter and a background server through a mobile phone APP, realizes recharging and fee refunding operations, greatly simplifies management and is convenient for house renters.
In order to solve the technical problems, the invention adopts the technical scheme that: a charging and fee-returning method for a public rental house hydroelectric gas meter is based on the hydroelectric gas meter, a mobile phone and a background server and comprises a charging step and a fee-returning step and is characterized in that,
the recharging step comprises the following steps:
step c1, the user scans the two-dimensional code on the hydroelectric gas meter through a mobile phone APP built in the mobile phone, so that the background server binds the hydroelectric gas meter with the mobile phone APP;
c2, initiating a recharging operation to the background server through the mobile phone APP, and returning a recharging code encrypted by the public key to the mobile phone APP after the background server confirms that the recharging amount is received;
step c3, inputting the recharging code into the water and electricity gas meter through the keys on the water and electricity gas meter, decrypting the recharging code by the water and electricity gas meter through a private key, displaying the recharging amount and supplying power, water or gas to a public rental house after decryption is successful, otherwise, prompting the recharging failure;
the refunding step comprises:
step t1, the user initiates a fee refunding operation to the background server through the mobile phone APP, and the background server sends a fee refunding authentication code to the mobile phone APP after obtaining a fee refunding request;
step t2, inputting the refund authentication code into the hydroelectric gas meter through a key on the hydroelectric gas meter, calculating the residual amount after the hydroelectric gas meter identifies the refund authentication code, encrypting the refund authentication code by using a private key to generate a refund confirmation code, stopping supplying power, water or gas to a public rental house, and simultaneously clearing data in the meter;
and step t3, inputting the refund confirmation code into the mobile phone APP and sending the refund confirmation code to the background server, and after the background server decrypts the refund confirmation code successfully, returning the remaining amount to the payment account bound by the mobile phone APP.
The invention has the beneficial effects that: the data interaction between the water meter, the electric meter or the gas meter and the background server is indirectly realized by using the mobile phone APP as an intermediate medium, so that the recharging and fee refunding operations are realized, the management is greatly simplified, and the convenience is brought to house renters; the key pair is used for encryption during recharging and fee refunding, and the keys obtained by each authentication are different, so that the safety of the fee refunding process is ensured.
The present invention will be described in detail with reference to the accompanying drawings.
Drawings
Fig. 1 is a schematic diagram of a charging and refunding method of a public rental house hydroelectric gas meter.
In the drawings: 1 is a water and electricity gas meter, 2 is a mobile phone, and 3 is a background server.
Detailed Description
Referring to the attached figure 1, the invention provides a charging and fee refunding method for a hydropower gas meter in a public rental house, which is based on the hydropower gas meter 1, a mobile phone 2 and a background server 3 and comprises a charging step and a fee refunding step.
In the application, direct data interaction does not exist between the water-electricity gas meter 1 and the background server 3, and the mobile phone APP in the mobile phone 2 is used as a medium for data interaction between the water-electricity gas meter and the background server. And keys are matched and arranged in the hydroelectric gas meter 1 and the background server 3 to ensure the safety of charging and returning.
The recharging step comprises the following steps:
and step c1, the user scans the two-dimensional code on the hydroelectric gas meter 1 through the mobile phone APP arranged in the mobile phone 2, so that the background server 3 binds the hydroelectric gas meter 1 and the mobile phone APP.
And c2, initiating a recharging operation to the background server 3 through the mobile phone APP, after confirming that the recharging amount is received, the background server 3 encrypts the recharging amount by using the public key and returns the recharging code generated by encrypting the public key to the mobile phone APP.
And c3, inputting the recharging code into the hydroelectric gas meter 1 through a key on the hydroelectric gas meter 1, decrypting the recharging code by the hydroelectric gas meter 1 by using a private key, displaying the recharging amount after decryption is successful, and supplying power, water or gas to a public rental house, otherwise, prompting the failure of recharging.
The above refund procedure includes the following two embodiments.
The first embodiment is as follows: and step t1, the user initiates a fee refunding operation to the background server 3 through the mobile phone APP, and the background server 3 sends a fee refunding authentication code to the mobile phone APP after obtaining a fee refunding request.
And step t2, inputting the refund authentication code into the hydroelectric gas meter 1 through a key on the hydroelectric gas meter 1, calculating the residual amount after the hydroelectric gas meter 1 identifies the refund authentication code, encrypting the residual amount by using a private key to generate a refund confirmation code, stopping supplying power, water or gas to a public rental house, and simultaneously clearing data in the meter.
And step t3, inputting the refund confirmation code into the mobile phone APP and sending the refund confirmation code to the background server 3, and after the background server 3 decrypts successfully, returning the remaining amount to the payment account bound with the mobile phone APP and simultaneously removing the binding with the mobile phone APP.
Example two: step t 1: a random number R1 used as a fee refunding request code is generated through a fee refunding key of the water and electricity gas meter 1, the random number R1 is sent to the background server 3 while fee refunding operation is initiated to the background server 3 through the mobile phone APP, the background server 3 generates a random number R2 after obtaining the random number R1, and the random number R2 is returned to the mobile phone APP as a fee refunding authentication code.
The step can also be that a fee refunding operation is initiated to the background server 3 through the mobile phone APP, and the background server 3 prompts and inputs a fee refunding request code generated through a fee refunding key of the water and electricity gas meter 1 through the mobile phone APP; a random number R1 serving as a fee refunding request code is generated through a fee refunding key of the water and electricity gas meter 1, then the random number R1 is sent to the background server 3 through the mobile phone APP, the background server 3 generates a random number R2 after obtaining the random number R1, and the random number R2 serves as a fee refunding authentication code and is returned to the mobile phone APP.
Step t 2: inputting a random number R2 into the hydroelectric gas meter 1 through a key on the hydroelectric gas meter 1, carrying out XOR operation on the random number R1 and the random number R2 by the hydroelectric gas meter 1 to obtain a result symmetric key M1, carrying out signature on the result symmetric key M1 by the hydroelectric gas meter 1 through a private key, encrypting the signed result symmetric key M1 and the residual amount to generate a refund confirmation code S1, displaying the refund confirmation code S1 through a display screen of the hydroelectric gas meter 1 (the display screen can display a period of time to ensure that a user has enough time to operate), stopping supplying power to a public rental house, supplying water or gas, and clearing data in the meter.
Step t 3: the charge returning confirmation code S1 is sent to the background server 3 through the mobile phone APP, the background server 3 decrypts the charge returning confirmation code S1 by using a public key to obtain a signed result symmetric key M1 and the residual amount, then exclusive OR operation is carried out on the R1 and the R2 to obtain a result symmetric key M1 ', signature verification operation is carried out on the signed result symmetric key M1 by using the result symmetric key M1', if signature verification is successful, the residual amount is returned to a payment account bound to the mobile phone APP, and otherwise, the charge returning failure is prompted, and the charge returning confirmation code S1 is input again.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention and not to limit it; although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art will understand that: modifications to the specific embodiments of the invention or equivalent substitutions for parts of the technical features may be made; without departing from the spirit of the present invention, it is intended to cover all aspects of the invention as defined by the appended claims.

Claims (5)

1. A charging and fee-returning method for a public rental house hydroelectric gas meter is based on a hydroelectric gas meter (1), a mobile phone (2) and a background server (3), and comprises a charging step and a fee-returning step, and is characterized in that,
the recharging step comprises the following steps:
step c1, the user scans the two-dimensional code on the hydroelectric gas meter (1) through the mobile phone APP arranged in the mobile phone (2) to enable the background server (3) to bind the hydroelectric gas meter (1) with the mobile phone APP;
c2, initiating a recharging operation to the background server (3) through the mobile phone APP, and returning a recharging code encrypted by the public key to the mobile phone APP after the background server (3) confirms that the recharging amount is received;
step c3, inputting the recharging code into the water and electricity gas meter (1) through a key on the water and electricity gas meter (1), decrypting the recharging code by the water and electricity gas meter (1) through a private key, displaying the recharging amount and supplying power, water or gas to a public rental house after decryption is successful, otherwise, prompting the recharging failure;
the refunding step comprises:
step t1, the user initiates a fee refunding operation to the background server (3) through the mobile phone APP, and the background server (3) sends a fee refunding authentication code to the mobile phone APP after obtaining a fee refunding request;
step t2, inputting the refund authentication code into the hydroelectric gas meter (1) through a key on the hydroelectric gas meter (1), calculating the residual amount after the refund authentication code is identified by the hydroelectric gas meter (1), encrypting the residual amount by using a private key to generate a refund confirmation code, stopping supplying power, water or gas to a public rental house, and simultaneously clearing data in the meter;
and step t3, inputting the refund confirmation code into the mobile phone APP and sending the refund confirmation code to the background server (3), and refunding the residual amount to the payment account bound by the mobile phone APP after decrypting by the background server (3).
2. The recharging and fee-returning method for the public rental house hydropower gas meter as claimed in claim 1, wherein in step t1, a random number R1 is generated as a fee-returning request code through a fee-returning button of the hydropower gas meter (1), the random number R1 is sent to the background server (3) while the fee-returning operation is initiated to the background server (3) through the mobile phone APP, and the background server (3) generates a random number R2 after obtaining the random number R1 and returns the random number R2 to the mobile phone APP as a fee-returning authentication code.
3. The recharging and fee-returning method for the public rental house hydroelectric gas meter as claimed in claim 1, wherein in step t1, a fee-returning operation is initiated to the background server (3) through the mobile phone APP, and the background server (3) prompts the user to input a fee-returning request code generated through a fee-returning button of the hydroelectric gas meter (1) through the mobile phone APP; a random number R1 used as a fee refunding request code is generated through a fee refunding key of the hydroelectric gas meter (1), then the random number R1 is sent to the background server (3) through the mobile phone APP, the background server (3) generates a random number R2 after obtaining the random number R1, and the random number R2 is returned to the mobile phone APP as a fee refunding authentication code.
4. The recharging and refunding method for the public rental house and hydropower gas meter according to claim 2 or 3, characterized in that in step t2, a random number R2 is input into the hydropower gas meter (1) through a key on the hydropower gas meter (1), the hydropower gas meter (1) performs exclusive OR operation on the random number R1 and the random number R2 to obtain a result symmetric key M1, the hydropower gas meter (1) signs the result symmetric key M1 with a private key and encrypts the signed result symmetric key M1 and the remaining amount of money to generate a refund confirmation code S1, and then the refund confirmation code S1 is displayed through a display screen of the hydropower gas meter (1) and power supply, water or gas to a public rental house is stopped and data in the meter is cleared.
5. The recharging and refunding method for the public rental house hydropower gas meter as claimed in claim 4, wherein in step t3, a refunding confirmation code S1 is input into the mobile phone APP and sent to the background server (3), the background server (3) decrypts the refunding confirmation code S1 by using a public key to obtain a signed result symmetric key M1 and a residual amount, then performs exclusive OR operation on R1 and R2 to obtain a result symmetric key M1 'and performs signature verification operation on the signed result symmetric key M1 by using the result symmetric key M1', if the signature verification is successful, the residual amount is refunded to a payment account bound to the mobile phone APP, otherwise, the refunding failure is prompted, and the refunding confirmation code S1 is re-input.
CN201810863128.9A 2018-08-01 2018-08-01 Charging and refunding method for public rental house hydropower gas meter Active CN108986324B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810863128.9A CN108986324B (en) 2018-08-01 2018-08-01 Charging and refunding method for public rental house hydropower gas meter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810863128.9A CN108986324B (en) 2018-08-01 2018-08-01 Charging and refunding method for public rental house hydropower gas meter

Publications (2)

Publication Number Publication Date
CN108986324A CN108986324A (en) 2018-12-11
CN108986324B true CN108986324B (en) 2021-02-26

Family

ID=64552446

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810863128.9A Active CN108986324B (en) 2018-08-01 2018-08-01 Charging and refunding method for public rental house hydropower gas meter

Country Status (1)

Country Link
CN (1) CN108986324B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109615356A (en) * 2018-12-13 2019-04-12 成都科曦科技有限公司 A kind of multiple-in-one bill payment system and method for payment
CN109785522A (en) * 2019-02-18 2019-05-21 石家庄科林物联网科技有限公司 A kind of pre-paying method of gauge table
CN110827475A (en) * 2019-10-31 2020-02-21 中燃慧生活电子商务有限公司 Intelligent gas instrument system supporting terminal transaction

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103093547A (en) * 2012-12-11 2013-05-08 深圳波通纳码头工程有限公司 Water and power box card swiping controller and operation method thereof
CN104180476A (en) * 2014-08-07 2014-12-03 深圳市北电仪表有限公司 Central air conditioner controller, as well as prepaid and multi-mode control system and method for central air conditioner
CN205644798U (en) * 2016-05-14 2016-10-12 江西百川水表有限公司 Block meter rate intelligence water gauge that can long -rangely pay
CN106991567A (en) * 2017-03-27 2017-07-28 南京捷泰电力设备有限公司 The charge calculation system of charging pile not directly with public communication networks interaction data
CN107172043A (en) * 2017-05-15 2017-09-15 西安邮电大学 A kind of smart power grid user sale of electricity method based on homomorphic cryptography
CN107301540A (en) * 2017-07-31 2017-10-27 浙江永泰隆电子股份有限公司 Electric energy meter network prepayment system and its implementation based on cloud platform
CN207249827U (en) * 2017-09-04 2018-04-17 东莞市高谷信息科技有限公司 Quick Response Code and IC card water control system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103093547A (en) * 2012-12-11 2013-05-08 深圳波通纳码头工程有限公司 Water and power box card swiping controller and operation method thereof
CN104180476A (en) * 2014-08-07 2014-12-03 深圳市北电仪表有限公司 Central air conditioner controller, as well as prepaid and multi-mode control system and method for central air conditioner
CN205644798U (en) * 2016-05-14 2016-10-12 江西百川水表有限公司 Block meter rate intelligence water gauge that can long -rangely pay
CN106991567A (en) * 2017-03-27 2017-07-28 南京捷泰电力设备有限公司 The charge calculation system of charging pile not directly with public communication networks interaction data
CN107172043A (en) * 2017-05-15 2017-09-15 西安邮电大学 A kind of smart power grid user sale of electricity method based on homomorphic cryptography
CN107301540A (en) * 2017-07-31 2017-10-27 浙江永泰隆电子股份有限公司 Electric energy meter network prepayment system and its implementation based on cloud platform
CN207249827U (en) * 2017-09-04 2018-04-17 东莞市高谷信息科技有限公司 Quick Response Code and IC card water control system

Also Published As

Publication number Publication date
CN108986324A (en) 2018-12-11

Similar Documents

Publication Publication Date Title
US9799018B2 (en) Systems and methods for activation and deactivation of appliances
EP3136646B1 (en) Secure data interaction method and system
CN108986324B (en) Charging and refunding method for public rental house hydropower gas meter
US10515362B2 (en) Methods and apparatus for card transactions
JP2013255415A (en) Charging station for mobile electronic devices, and associated system and method
CN109523254A (en) It is a kind of that a variety of methods of payment of double offline barcode scannings are passed through based on cell phone application
CN103942687A (en) Data security interactive system
CN103714635A (en) POS terminal and terminal master key downloading mode configuration method thereof
CN103942688A (en) Data security interactive system
CN114299667B (en) Charging payment method and device for electric automobile
CN103942690A (en) Data security interactive system
CN103944734A (en) Data security interactive method
CN103944735A (en) Data security interactive method
TW201317911A (en) Cloud credit card transaction system and transaction method thereof
CN103795552B (en) The charge processing method and device of embedded charging point
CN202502534U (en) Bank card payment system based on mobile phone confirmation password
TW201101779A (en) Electronic wallet certification scheme and the method thereof
CN103944909A (en) Data updating method and system
CN112561533B (en) Electronic resource transfer method, internet of things terminal device, electronic device and medium
CN100440262C (en) Paying apparatus and method for prepaying meter
CN103944911A (en) Data security interactive system
KR101711284B1 (en) System and method for charging prepayment card using smart device
KR20150145208A (en) A mobile payment system and mobile payment method based on biometric authentication
CN116452198B (en) Offline authorization and charging method and system for charging pile
CN113570366B (en) Multiparty payment data transmission method and electricity selling method

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