Charge-control processing method of electric power meter for prepayment

2014 
The invention discloses a charge-control processing method of an electric power meter and relates to the field of charging with the electric power meter. The charge-control processing method includes that firstly, prepaid electricity is inputted into an electricity selling management system; the electricity selling management system magnifies the prepaid electricity to be 10N+1 times and converts the prepaid electricity into a hexadecimal value and magnifies unit price to be 1-N times and converts the unit price into a hexadecimal value; secondly, the converted prepaid electricity and unit price are inputted into the electric power meter storing total electricity and the unit price which are hexadecimal; electricity deduction processing is performed by the electric power meter each time 0.1-degree electric quantity is consumed according to the formula: remaining electricity=remaining electricity before deduction-unit price, and the hexadecimal remaining electricity and unit price are stored in the electric power meter. Multiply operation of decimal floating points in electricity deduction is simplified to be hexadecimal addition and subtraction calculation operation, and burden of the electric power meter is reduced.
    • Correction
    • Source
    • Cite
    • Save
    • Machine Reading By IdeaReader
    0
    References
    0
    Citations
    NaN
    KQI
    []