CN116452198A - Offline authorization and charging method and system for charging pile - Google Patents
Offline authorization and charging method and system for charging pile Download PDFInfo
- Publication number
- CN116452198A CN116452198A CN202310698500.6A CN202310698500A CN116452198A CN 116452198 A CN116452198 A CN 116452198A CN 202310698500 A CN202310698500 A CN 202310698500A CN 116452198 A CN116452198 A CN 116452198A
- Authority
- CN
- China
- Prior art keywords
- charging
- user
- operation management
- pin code
- charging pile
- 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
Links
- 238000013475 authorization Methods 0.000 title claims abstract description 103
- 238000000034 method Methods 0.000 title claims abstract description 30
- 230000006854 communication Effects 0.000 claims description 16
- 238000004891 communication Methods 0.000 claims description 16
- 230000003993 interaction Effects 0.000 claims description 12
- 238000012795 verification Methods 0.000 claims description 6
- 238000006467 substitution reaction Methods 0.000 claims description 4
- 230000007175 bidirectional communication Effects 0.000 claims description 3
- 238000012545 processing Methods 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000005611 electricity Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 206010027339 Menstruation irregular Diseases 0.000 description 1
- 230000005856 abnormality Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- PCHJSUWPFVWCPO-UHFFFAOYSA-N gold Chemical compound [Au] PCHJSUWPFVWCPO-UHFFFAOYSA-N 0.000 description 1
- 239000010931 gold Substances 0.000 description 1
- 229910052737 gold Inorganic materials 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Payment architectures, schemes or protocols
- G06Q20/08—Payment architectures
- G06Q20/14—Payment architectures specially adapted for billing systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
- G06Q20/3821—Electronic credentials
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/40—Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
- G06Q20/409—Device specific authentication in transaction processing
- G06Q20/4097—Device specific authentication in transaction processing using mutual authentication between devices and transaction partners
- G06Q20/40975—Device specific authentication in transaction processing using mutual authentication between devices and transaction partners using encryption therefor
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02T—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
- Y02T10/00—Road transport of goods or passengers
- Y02T10/60—Other road transportation technologies with climate change mitigation effect
- Y02T10/70—Energy storage systems for electromobility, e.g. batteries
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02T—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
- Y02T90/00—Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation
- Y02T90/10—Technologies relating to charging of electric vehicles
- Y02T90/12—Electric charging stations
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Engineering & Computer Science (AREA)
- Finance (AREA)
- Physics & Mathematics (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Economics (AREA)
- Development Economics (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The invention discloses a charging pile offline authorization and charging method and system, which belong to the technical field of charging piles, and a charging operation management platform transmits offline charging information to the charging piles; the user type is a new user or an old user, and the user performs offline authorization mode selection; if the user type is a new user, a prepayment mode is carried out, authorization request data are obtained, and the authorization request data are forwarded to a charging operation management platform; the charging operation management platform decrypts the authorization request data and returns a bill to be paid; after the user pays, the charging operation management platform returns a PIN code, stores an authorization record and authorizes charging; if the user type is the old user, the charging pile enters a postpaid mode; after the charging pile network is restored, reporting user charging data cached in an offline stage to a charging operation management platform; according to the charging pile offline authorization and charging method and system, the safety and the operation convenience of the charging pile offline authorization and charging are improved.
Description
Technical Field
The invention belongs to the technical field of charging piles, and particularly relates to a charging pile offline authorization and charging method and system.
Background
With the continuous popularization of new energy, more and more charging piles are deployed in areas such as parking lots, however, communication abnormality caused by environmental factors, equipment faults and the like occurs sometimes, when the charging piles cannot communicate with a charging operation management platform, a user cannot authorize and report charging, normal charging is affected, and loss is brought to a charging station operator;
to address this problem, current solutions include:
scheme one: the charging pile local Bluetooth is connected through the mobile phone, the mobile phone APP requests authorization to the charging operation management platform and forwards a charging starting instruction of the charging operation management platform to the charging pile as a relay, and the scheme requires the charging pile to have the capability of local Bluetooth communication; meanwhile, the user operation part is complex, and the Bluetooth of the mobile phone needs to be configured; the charging data is forwarded through the mobile phone, so that potential information safety hazards exist;
scheme II: the charging pile and the charging operation management platform generate charging codes through preset rules, when the charging pile is offline, a user acquires charging pile information through a mobile phone and reports the charging operation management platform, and the charging operation management platform issues corresponding charging codes to start charging.
Therefore, a new offline authorization and charging method and system for charging piles need to be developed to solve the existing problems.
Disclosure of Invention
The invention aims to provide a charging pile offline authorization and charging method and system, which are used for solving the problem that the charging pile offline cannot be authorized and charged.
In order to achieve the above purpose, the present invention provides the following technical solutions: the off-line authorization and charging method for the charging pile comprises the following steps:
step 1, when a charging pile is online, establishing a secure connection with a charging operation management platform by using a TLS protocol;
step 2, the charging operation management platform issues the charging pile including a user white list, a PIN code generation rule R, PIN code encryption algorithm E and a PIN code encryption key K 1 Waiting for offline charging information;
step 3, selecting a payment mode when the charging pile is offline by a user; for users in the white list or old users where the charging post has an overcharge record and is cached, a post-charge mode, i.e., a charge-before-charge mode, may be used; using a prepaid mode for the new subscriber;
step 4, a new user selects a charging gun to be charged, inputs the amount or the amount of charge, scans a screen two-dimensional code through a user terminal or logs in a charging pile WEB to acquire authorization request data, and forwards the authorization request data to a charging operation management platform;
step 5, the charging operation management platform decrypts the authorization request data and returns a bill to be paid;
step 6, after the user pays, the charging operation management platform returns a PIN code and stores an authorization record; the user performs authorized charging through a charging pile screen or WEB;
and 7, after the network of the charging pile is restored, reporting the user charging data cached in the offline stage to a charging operation management platform.
Preferably, in step 2, the user whitelist and PIN code generation rule R, PIN code encryption algorithm E, PIN code encryption key K 1 The offline charging information can be updated to improve the safety, the offline charging information is issued to the charging pile by the charging operation management platform through a communication protocol between the charging pile and the charging operation management platform, such as OCPP, T104, MQTT and the like, the offline charging information can be updated manually at an irregular period by an operation and maintenance personnel of the charging operation management platform, or periodically updated through a timer started by the charging operation management platform, wherein a PIN code generation rule is specified by the charging operation management platform, a PIN code encryption algorithm E is negotiated by the charging operation management platform and the charging pile, and the PIN code encryption algorithm E can be selected from conventional symmetric encryption algorithms, such as DES, AES and the like.
Preferably, in step 3, for the user using the charging-before-payment mode, the user two-dimensional code may be scanned by a card swiping or charging pile camera to perform authorization and charging.
Preferably, in step 4, the specific method of the authorization request data ciphertext D generated by the charging pile includes:
obtaining charging pile ID information ID cp Charging gun ID information ID conn The charging mode under the user prepayment mode selects t and the charging mode is the charging value D of the to-be-charged quantity or the sum t ;
Acquiring current reading D of electric meter corresponding to charging gun to be charged m PIN D generated by PIN generation rule R PIN ,D PIN = R(D m );
Sequentially combined charging pile ID information ID cp Charging gun ID information ID conn The charging mode selects t and the charging value D t Sum PIN code D PIN And uses the encryption function C, PIN code encryption key K of PIN code encryption algorithm E 1 Encryption is carried out:
D = C(ID cp , ID conn , t, D t , D PIN , K 1 );
wherein: d is authorization request data ciphertext.
Preferably, the charging operation management platform encrypts the key K according to a PIN code encryption algorithm E, PIN code 1 Decrypting authorization request data ciphertext D generated by the charging pile; the decryption process is the inverse of the encryption process, and the charging operation management platform can obtain the charging pile ID information ID through decryption cp Charging gun ID information ID conn The charging mode selects t and the charging value D t And a PIN D generated by a PIN generation rule R PIN :
ID cp , ID conn , t, D t , D PIN = P(D, K 1 )
Wherein D is authorization request data ciphertext, K 1 The PIN code is used as an encryption key, and P is used as a decryption function;
the encryption function C and the decryption function P are standard steps of a PIN code encryption algorithm E; when the PIN code encryption algorithm E is AES encryption, the encryption function C includes the following main steps: byte substitution, row shifting, column mixing, and round key addition;
the decryption function P comprises the following main steps: reverse byte substitution, reverse shift, reverse column mixing, and round key addition.
Preferably, t and the billing value D are selected by billing after the authorization request data is decrypted t Obtaining a bill to be paid, and if the charging mode is charging according to the amount of the gold, the bill is a specific charging value; if the charging mode is charging according to the electric quantity, the bill is the specific charging value multiplied by the unit price of the electric quantity.
Preferably, in step 6, after the user pays, the charging operation management platform returns the PIN code, and at the same time, the charging operation management platform may restore the charging pile ID to be ID according to the rule R for generating the PIN code cp The charging gun ID is ID conn To understand the operation of the charging pile when offline.
Preferably, the user inputs the charging operation management platform at the charging pile and returns a PIN code, the charging pile checks the PIN code, and the PIN code correctly starts charging until the paid electricity value is reached; if the PIN code is input incorrectly, the opportunity of inputting again is available for two times, and if the verification fails, the step 3 is returned to perform off-line authorization selection.
Preferably, in step 7, after the network of the charging pile is restored, reporting to the charging operation management platform that the user charging data cached in the offline stage includes offline charging electric quantity, and for the post-paid user, deducting the fee according to the offline charging electric quantity; for prepaid subscribers, the actual charge amount will be compared to the prepaid amount and the prepaid amount that was not charged will be refunded.
Preferably, after the charging pile enters the prepaid mode, the user selects a charging gun, inputs a payment mode and electric quantity or amount to be charged, the charging pile acquires electric meter data corresponding to the charging gun taken by the user, generates a PIN code according to a PIN code generation rule R, the electric meter data takes integer digits of electric meter reading, the PIN code generation rule comprises operations of shifting and initial vector participation, and the length of the PIN code is 6 digits.
The invention further provides an offline authorization and charging system of the charging pile, which comprises the following components:
charging pile, charging operation management platform and user terminal; wherein: the charging pile comprises a charging pile control module, a charging pile communication module, a charging pile safety module, a metering module, a charging module, a storage module and a man-machine interaction screen;
the charging operation management platform comprises a charging pile management module, an operation management communication module, an operation management safety module, an alarm module, a user management module and a storage module;
the charging pile control module is connected with the rest of charging piles and is used for overall dispatching and management of the charging piles;
the charging pile safety module is used for managing PIN code generation rules, PIN code encryption keys, PIN code generation, encryption and verification issued by the charging operation management platform;
the charging pile storage module is used for storing a registered user white list, a historical charging user list and offline charging data issued by the charging operation management platform;
the man-machine interaction screen is used for a user to select an offline authorization mode, set a to-be-charged amount or an amount of money, generate an offline authorization two-dimensional code and input a PIN code; the charging pile can support local WEB service, and a user logs in a WEB page to complete interaction responsible for the man-machine interaction screen so as to replace the man-machine interaction screen;
the charging pile management module of the charging operation management platform is connected with the alarm module, the operation management communication module, the operation management safety module and the user management module of the charging operation management platform, wherein the alarm module is used for processing alarm information of the charging pile; the operation management communication module is used for bidirectional communication with the charging pile; the operation management security module is used for updating and managing PIN code generation rules and PIN code encryption keys and decrypting PIN codes;
the charging pile management module of the charging operation management platform is used for remotely starting and stopping a charging pile, acquiring and counting charging pile information, and comprises charging pile state information, charging state information, metering information and charging pile alarm information, wherein the charging state information and the metering information are forwarded to the user management module of the charging operation management platform and are used for generating complete user charging records;
the user management module is used for maintaining user information, user charging authorization and charging, user authorization, charging and charging record, wherein the user authorization, charging and charging record is stored in the storage module of the charging operation management platform.
The invention has the technical effects and advantages that: according to the charging pile offline authorization and charging method and system, the safety and the operation convenience of the charging pile offline authorization and charging are improved, the offline authorization and charging scene is more refined, and for old users with user information cached by the charging pile, a charging before payment mode can be used; for new users, a prepaid mode of PIN authorization may be used; the PIN input by the user is 6 bits at most, and the operation is simple; meanwhile, the PIN code is generated by the ammeter data of the charging pile, and a charging operator can obtain partial charging data in an offline state of the charging pile; the charging pile and the charging operation management platform exchange PIN code generation rules and PIN code encryption keys by using TLS encryption communication, and the PIN code generation rules and the PIN code encryption keys are replaced when being supported on line; the PIN code is generated and encrypted by the charging pile when the charging is authorized offline, so that the charging operation management platform decrypts and restores the PIN code with certain randomness, and the PIN code which is not preset and stored is safer.
Drawings
FIG. 1 is a schematic flow chart of the method of the present invention;
FIG. 2 is a schematic diagram of the architecture of the system of the present invention;
FIG. 3 is a schematic diagram of the system activity of the charging pile of the present invention when it is on-line;
FIG. 4 is a schematic diagram of a system for pre-paid charging while a charging stake is offline;
fig. 5 is a schematic diagram of payment, authorization, and charging records according to the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The invention provides a charging pile offline authorization and charging method as shown in fig. 1, which comprises the following steps: when the charging pile is online, a safe connection is established with the charging operation management platform by using a TLS protocol, and after the connection is completed, the charging operation management platform issues the charging pile with a user white list, a PIN code generation rule R, PIN code encryption algorithm E and an encryption key K 1 And offline charging information. The offline charging information can be updated periodically when the charging pile and the charging operation management platform are connected so as to improve the system security, wherein a PIN code generation rule is specified by the charging operation management platform, a PIN code encryption algorithm is negotiated by the charging operation management platform and the charging pile, and the PIN code encryption algorithm can be selected from conventional symmetric encryption algorithms, such as DES, AES and the like.
When the charging pile is offline, a user needs to select a payment mode, and for an old user who has an overcharge record and is cached in the white list or the charging pile, the old user can use a charging-before-payment mode, and at the moment, the old user can carry out authorization and charging by scanning a user two-dimension code through a card swiping or charging pile camera, and for a user who is not in the white list or has an overcharge record but is not cached in the charging pile, the old user needs to use a prepaid mode.
After entering a prepaid mode, the offline charging pile generates authorization request data according to PIN code generation rules, namely pile ID, charging gun ID, ammeter data, to-be-charged amount or amount, and the specific process of the authorization request data D generated by the charging pile is as follows: obtaining charging pile ID information ID cp Charging gun ID information ID conn The charging mode under the user prepayment mode selects t and the charging mode is the charging numerical value D of the to-be-charged amount or the amount t、 Acquiring current reading D of electric meter corresponding to charging gun to be charged m Generating PIN D by PIN generation rule R PIN ,D PIN = R(D m ) Sequentially combining charging pile ID information ID cp Charging gun ID information ID conn The charging mode selects t and the charging value D t And a PIN D generated by a PIN generation rule R PIN And using PIN code encryption algorithmEncryption function C, PIN code encryption key K of method E 1 Encryption is carried out: d=c (ID) cp , ID conn , t, D t , D PIN , K 1 );
Wherein: d is authorization request data ciphertext;
and the user acquires authorization request data through APP scanning screen two-dimensional codes or logging in a charging pile WEB and forwards the authorization request data to a charging operation management platform.
The charging operation management platform generates a PIN code encryption algorithm E, PIN code encryption key K according to a PIN code generation rule R 1 And decrypting the authorization request data ciphertext D produced by the charging pile. Selecting t and charging value D by charging mode t Obtaining a bill to be paid, and if the charging mode is charging according to the amount of money, the bill is a specific payment value; if the charging mode is charging according to the electric quantity, the bill is the specific value of payment multiplied by the unit price of the electric quantity.
After the user pays, the charging operation management platform returns a PIN code and stores the authorization record, and the charging operation management platform can restore the charging pile ID to be ID according to the generation rule R through the PIN code cp The charging gun ID is ID conn To understand the operation of the charging pile when offline.
The user inputs a charging operation management platform at the charging pile and returns a PIN code, the charging pile checks the PIN code, and the PIN code correctly starts charging until a paid electricity value is reached; if the PIN code is input incorrectly, the two times of re-input opportunities exist, if the verification fails, the off-line authorization mode selection is returned, and the off-line authorization selection needs to be carried out again.
After the connection between the charging pile and the charging operation management platform is reestablished, reporting that the user charging data cached in the offline stage contains offline charging electric quantity to the charging operation management platform, and deducting fees for postpaid users; for prepaid subscribers, the actual charge amount will be compared to the prepaid amount and the prepaid amount that was not charged will be refunded.
The system activity of the charging pile of the invention when on-line is as shown in fig. 3:
user downloads charging in mobile phoneAnd the APP registers a new account through the APP operation guide, and meanwhile, the charging operation management platform can save information of the user account. The user authorization ID information is recorded in the user white list by the charging operation management platform, and when the charging pile and the charging operation management platform establish TLS connection, the charging operation management platform actively issues the charging pile with the encryption algorithm E and the encryption key K, wherein the encryption algorithm E comprises the user white list, the PIN code generation rule R, PIN code 1 And offline charging information.
The user whitelist issued to the charging post by the charging operation management platform may be a subset of the platform full user whitelist to reduce the charging post storage space. The PIN code generation rules, PIN code encryption algorithms, and PIN code encryption keys may be different for different charging posts.
After receiving the offline charging information issued by the charging operation management platform, the charging pile needs to return a confirmation reply to ensure that the charging operation management platform is synchronous with the offline charging information used at two sides of the charging pile.
When the charging pile is on line, the charging operation management platform can update offline charging information at any time so as to increase the safety of offline charging.
For the online charging pile, the charging operation management platform can monitor the state of the charging pile in real time, and if the charging pile is disconnected with the charging operation management platform, the charging operation management platform can give an alarm.
The system activities for prepaid charging when the charging stake is offline are as shown in fig. 4:
after the charging pile enters a prepayment mode, after a user selects a charging gun, inputs a payment mode and electric quantity or amount to be charged, the charging pile can acquire electric meter data corresponding to the charging gun taken by the user, and generates a PIN code according to a PIN code rule. The meter data takes an integer number of bits, typically 6 bits, of meter reading. The PIN code rule comprises shifting, operation participated by initial vector, etc., so that the generated PIN code has randomness and the length still keeps 6 digits.
The charging pile ID information, the charging gun ID information, the charging mode selection, the charging concrete value and the PIN code generated by the PIN code generation rule R are used together for encryption by a PIN code encryption algorithm to produce authorization request data, and a user obtains the authorization request data through APP scanning of a screen two-dimensional code or logging in a charging pile WEB and forwards the authorization request data to a charging operation management platform.
The charging operation management platform decrypts the authorization request data to obtain charging pile ID information, charging gun ID information, charging mode selection, a charging specific numerical value and a PIN code generated by a PIN code generation rule R, wherein the charging mode selection and the charging specific numerical value are used for calculation, and if the charging mode is charging according to the amount of money, a bill is a specific payment numerical value; if the charging mode is charging according to the electric quantity, the bill is the specific value of payment multiplied by the unit price of the electric quantity.
And the charging operation management platform returns a bill to be paid by the user to the user APP, and after the user pays, the charging operation management platform returns a PIN code to the user APP, and meanwhile, the charging operation management platform stores a user authorization pre-payment record.
The user inputs a PIN code in a charging pile screen or WEB, the charging pile checks the PIN code input by the user, and if the checking fails for a plurality of times, the charging is refused, and the authorization process is exited; and if the verification is successful, charging is started. There is a time limit from the generation of authorization request data to the entry of the PIN code, and the authorization flow is terminated if the time-out occurs.
If the user wants to terminate charging in advance, the user only needs to stop charging pages in a charging pile screen or WEB, and inputs a PIN code again to stop charging; and if not, stopping charging by the charging pile when the preset electric quantity is reached, and storing a charging record by the charging pile.
The authorization and payment records stored by the charging operation management platform and the charging records reported by the charging pile are shown in fig. 5:
the payment and authorization record information stored by the charging operation management platform comprises: user account name, charging stake ID, charging gun ID, authorization mode, authorization time, authorization ID and payment amount,
when the charging pile resumes the connection of the charging operation platform, the charging record reported by the charging pile comprises a charging pile ID, a charging gun ID, an authorization mode, an authorization ID, a charging electric quantity, a charging start time and a charging end time.
After receiving the charging record reported by the charging pile, the charging operation management platform matches the charging record to the payment and authorization record according to the charging pile ID, the charging gun ID, the authorization mode and the authorization ID, thereby forming a complete consumption record, compares the charging electric quantity in the charging record with the prepayment electric quantity, and returns the corresponding prepayment amount when the actual charging electric quantity does not reach the prepayment electric quantity.
The invention further provides a charging pile offline authorization and charging system as shown in fig. 2, which comprises three parts: the charging pile comprises a charging pile control module, a charging pile communication module, a charging pile safety module, a metering module, a charging module, a storage module and a man-machine interaction screen; the charging pile safety module is used for managing a PIN code generation rule, a PIN code encryption algorithm, a PIN code encryption key and generation, encryption and verification of a PIN code, which are issued by the charging operation management platform;
the storage module is used for storing a registered user white list, a historical charging user list and offline charging data which are issued by the charging operation management platform;
the man-machine interaction screen is used for a user to select an offline authorization mode, set a to-be-charged amount or money amount, generate an offline authorization two-dimensional code, input a PIN code and start and stop charging; the charging pile can support local WEB service, and a user logs in a WEB page to complete interaction responsible for the man-machine interaction screen so as to replace the man-machine interaction screen;
the charging pile management module is connected with the alarm module, the operation management communication module, the operation management safety module and the user management module;
the alarm module is used for processing alarm information of the charging pile; the operation management communication module is used for bidirectional communication with the charging pile;
the operation management security module is used for updating and managing PIN code generation rules and PIN code encryption keys and decrypting PIN codes;
the charging pile management module is used for remotely starting and stopping a charging pile, acquiring and counting charging pile information, and comprises charging pile state information, charging state information, metering information and charging pile alarm information; the charging state information and the metering information are forwarded to the user management module and are used for generating a complete user charging record;
the user management module is used for maintaining user information, user charging authorization and charging, user authorization, charging and charging record, wherein the user authorization, charging and charging record is stored in the storage module of the charging operation management platform.
According to the charging pile offline authorization and charging method and system, offline authorization and charging scenes are more refined, and for old users with user information cached by the charging pile, a charging before payment mode can be used; for new users, a prepaid mode of PIN authorization may be used; the PIN input by the user is 6 bits at most, and the operation is simple; meanwhile, the PIN code is generated by the ammeter data of the charging pile, and a charging operator can obtain partial charging data in an offline state of the charging pile; the charging pile and the charging operation management platform exchange PIN code generation rules and PIN code encryption keys by using TLS encryption communication, and the PIN code generation rules and the PIN code encryption keys are replaced when being supported on line; the PIN code is generated and encrypted by the charging pile when the charging is authorized offline, so that the charging operation management platform decrypts and restores the PIN code with certain randomness, and the PIN code which is not preset and stored is safer.
Finally, it should be noted that: the foregoing description is only illustrative of the preferred embodiments of the present invention, and although the present invention has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that modifications may be made to the embodiments described, or equivalents may be substituted for elements thereof, and any modifications, equivalents, improvements or changes may be made without departing from the spirit and principles of the present invention.
Claims (10)
1. A charging pile offline authorization and charging method is characterized in that: comprising the following steps:
the charging operation management platform transmits offline charging information to the charging pile;
when the charging pile is offline, matching a payment mode according to the type of the user;
if the user type isThe new user enters a prepayment mode through the charging pile, the charging pile generates authorization request data according to the PIN code generation rule R, and the PIN code is used for encrypting the key K 1 Encrypting and forwarding the authorization request data to a charging operation management platform; the charging operation management platform decrypts the authorization request data and returns a bill to be paid; after the user pays, the charging operation management platform returns a PIN code, stores an authorization record and authorizes charging;
if the user type is the old user, the charging pile enters a postpaid mode;
and after the network of the charging pile is restored, the charging pile reports the user charging data cached in the offline stage to the charging operation management platform.
2. The offline authorization and charging method for charging piles according to claim 1, wherein: said encrypting key K with PIN code 1 The encryption method specifically comprises the following steps:
obtaining charging pile ID information ID cp Charging gun ID information ID conn The charging mode in the prepayment mode selects t and the charging mode is the charging value D of the to-be-charged quantity or the sum t ;
Acquiring current reading D of electric meter corresponding to charging gun to be charged m Generating PIN code D by PIN code generation rule R PIN ,D PIN = R(D m );
Sequentially combined charging pile ID information ID cp Charging gun ID information ID conn The charging mode selects t and the charging value D t Sum PIN code D PIN And uses the encryption function C, PIN code encryption key K of PIN code encryption algorithm E 1 Encryption is carried out:
D = C(ID cp , ID conn , t, D t , D PIN , K 1 );
wherein: d is authorization request data ciphertext.
3. The offline authorization and charging method for charging piles according to claim 1, wherein: the charging operation management platform decrypts the authorization request data and comprises the following steps:
the charging operation management platform encrypts the key K according to a PIN code encryption algorithm E, PIN code 1 Decrypting the authorization request data ciphertext D generated by the charging pile, and obtaining the charging pile ID information ID by the charging operation management platform cp Charging gun ID information ID conn The charging mode selects t and the charging value D t And a PIN D generated by a PIN generation rule R PIN :
ID cp , ID conn , t, D t , D PIN = P(D, K 1 )
Wherein: d is authorization request data ciphertext, K 1 The PIN code is used as an encryption key, and P is used as a decryption function; if the PIN code encryption algorithm E is AES encryption, the encryption function C comprises the following steps: byte substitution, row shifting, column mixing, and round key addition;
the decryption function P comprises the steps of: reverse byte substitution, reverse shift, reverse column mixing, and round key addition.
4. The offline authorization and charging method for charging piles according to claim 1, wherein: the offline charging information includes:
user white list, PIN code generation rule R, PIN code encryption algorithm E and PIN code encryption key K 1 。
5. The offline authorization and charging method for charging piles according to claim 1, wherein: after the charging operation management platform returns the PIN code, the charging pile checks the PIN code, and the PIN code correctly starts charging until the paid electric quantity value is reached; if the PIN code is input incorrectly, selecting to input again, if the PIN codes input twice are failed to be checked, returning to a payment selection mode, and carrying out off-line authorization selection again;
after reestablishing connection between the charging operation management platform and the charging pile, reporting user charging data cached in an offline stage to the charging operation management platform by the charging pile, wherein the user charging data comprises offline charging electric quantity, and deducting fees according to the offline charging electric quantity for old users in a postpaid mode; for a new user in prepaid mode, the actual charge is compared with the prepaid charge and the prepaid amount that was not charged is refunded.
6. The offline authorization and charging method for charging piles according to claim 1, wherein: after the charging pile enters a prepayment mode, a user selects a charging gun, inputs a payment mode and electric quantity or amount to be charged, the charging pile acquires electric meter data corresponding to the charging gun taken by the user, generates a PIN code according to a PIN code generation rule R, the electric meter data takes integer digits of electric meter reading, the PIN code generation rule comprises operation of shifting and initial vector participation, and the length of the PIN code is 6 digits.
7. The offline authorization and charging method for charging piles according to claim 1, wherein: the method for forwarding the authorization request data to the charging operation management platform comprises the following steps: the user terminal scans the screen two-dimensional code or logs in the charging pile WEB to acquire the authorization request data.
8. The offline authorization and charging method for charging piles according to claim 1, wherein: after the authorization request data is decrypted, t and a charging value D are selected in a charging mode t Obtaining a bill to be paid, and if the charging mode is charging according to the amount of money, the bill is a specific charging value; if the charging mode is charging according to the electric quantity, the bill is the specific charging value multiplied by the unit price of the electric quantity.
9. The offline authorization and charging method for charging piles according to claim 1, wherein: the method for the charging operation management platform to send off-line charging information to the charging pile specifically comprises the following steps: and when the charging pile is in line, the charging pile and the charging operation management platform establish safe connection by using a TLS protocol, and after connection is completed, the charging operation management platform issues offline charging information to the charging pile, and the offline charging information is periodically updated when the charging pile and the charging operation management platform establish connection.
10. The utility model provides a fill electric pile off-line authorization and charging system which characterized in that: comprising the following steps:
charging pile, charging operation management platform and user terminal;
the charging pile includes: the system comprises a charging pile control module, a charging pile communication module, a charging pile safety module, a metering module, a charging pile storage module and a man-machine interaction screen;
the charging operation management platform comprises a charging pile management module, an operation management communication module, an operation management safety module, an alarm module, a user management module and a storage module;
the charging pile control module is used for integrally dispatching and managing the charging piles and is connected with other charging piles;
the charging pile safety module is used for managing PIN code generation rules, PIN code encryption keys, PIN code generation, encryption and verification issued by the charging operation management platform;
the charging pile storage module is used for storing a registered user white list, a historical charging user list and offline charging data issued by the charging operation management platform;
the man-machine interaction screen is used for a user to select an offline authorization mode, set a to-be-charged amount or an amount of money, generate an offline authorization two-dimensional code and input a PIN code;
the charging pile management module is connected with the alarm module, the operation management communication module, the operation management safety module and the user management module;
the alarm module is used for processing alarm information of the charging pile; the operation management communication module is used for bidirectional communication with the charging pile;
the operation management security module is used for updating and managing PIN code generation rules and PIN code encryption keys and decrypting PIN codes;
the charging pile management module is used for remotely starting and stopping a charging pile, acquiring and counting charging pile information, and comprises charging pile state information, charging state information, metering information and charging pile alarm information; the charging state information and the metering information are forwarded to the user management module and are used for generating a complete user charging record;
the user management module is used for maintaining user information, user charging authorization and charging, user authorization, charging and charging record, wherein the user authorization, charging and charging record is stored in the storage module of the charging operation management platform.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310698500.6A CN116452198B (en) | 2023-06-14 | 2023-06-14 | Offline authorization and charging method and system for charging pile |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310698500.6A CN116452198B (en) | 2023-06-14 | 2023-06-14 | Offline authorization and charging method and system for charging pile |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116452198A true CN116452198A (en) | 2023-07-18 |
CN116452198B CN116452198B (en) | 2023-09-01 |
Family
ID=87134119
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310698500.6A Active CN116452198B (en) | 2023-06-14 | 2023-06-14 | Offline authorization and charging method and system for charging pile |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116452198B (en) |
Citations (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20010105521A (en) * | 2000-05-12 | 2001-11-29 | 유승렬 | Filling money, payment and supplement service system using ic-card and method using the same at on-line and off-line |
WO2002084569A1 (en) * | 2001-03-29 | 2002-10-24 | Ebestcard Ltd. | Card transaction system and method on on-line and/or off-line |
WO2007095864A1 (en) * | 2006-02-27 | 2007-08-30 | Huawei Technologies Co., Ltd. | Charging system and charging method |
CN101674565A (en) * | 2008-09-08 | 2010-03-17 | 华为技术有限公司 | Method and device for selecting charging mode and communication system |
CN102104859A (en) * | 2009-12-21 | 2011-06-22 | 中兴通讯股份有限公司 | Offline accounting method and system |
KR20130034324A (en) * | 2011-09-28 | 2013-04-05 | 부산대학교 산학협력단 | Electric vehicle charging device and offline prepaid charging accounting method |
CN104012039A (en) * | 2011-12-23 | 2014-08-27 | 瑞典爱立信有限公司 | Charging decisions in an IP multimedia subsystem |
CN104331797A (en) * | 2014-11-28 | 2015-02-04 | 山东鲁能智能技术有限公司 | Payment method of offline charging equipment based on mobile terminal |
CN105303704A (en) * | 2015-09-21 | 2016-02-03 | 四川豪特实业集团有限公司 | Internet electric car charging point managing system and method |
CN106097587A (en) * | 2016-08-04 | 2016-11-09 | 刘世和 | Based on cloud platform, the distributed electric vehicle charging management system of many tenants and method |
CN107105446A (en) * | 2017-04-27 | 2017-08-29 | 万帮充电设备有限公司 | Charging accounting method, apparatus and system |
CN110033560A (en) * | 2018-01-12 | 2019-07-19 | 福特全球技术公司 | Method and apparatus for fuel payment processing |
WO2020234824A1 (en) * | 2019-05-21 | 2020-11-26 | nChain Holdings Limited | Computer-implemented system and method |
CN113963487A (en) * | 2021-11-24 | 2022-01-21 | 北京联行网络科技有限公司 | Charging pile offline charging method and system |
CN114170728A (en) * | 2021-12-01 | 2022-03-11 | 易充新能源(深圳)有限公司 | Network-free charging payment method for charging pile |
CN114299666A (en) * | 2021-12-28 | 2022-04-08 | 安徽影通智能科技有限公司 | Offline charging method of charging station |
CN114299667A (en) * | 2021-12-29 | 2022-04-08 | 普天新能源有限责任公司 | Charging payment method and device for electric automobile |
US20220239135A1 (en) * | 2021-01-28 | 2022-07-28 | Contemporary Amperex Technology Co., Limited | Power supply control method of power conversion apparatus and power conversion apparatus |
CN114997845A (en) * | 2022-06-07 | 2022-09-02 | 天星数科科技有限公司 | Payment method and device, charging pile, readable storage medium and chip |
CN115313464A (en) * | 2022-09-07 | 2022-11-08 | 国网江苏省电力有限公司苏州供电分公司 | Three-phase alternating current charging device, system and method |
CN115410320A (en) * | 2022-08-31 | 2022-11-29 | 绿能慧充数字技术有限公司 | Charging pile off-grid starting method, system, equipment and storage medium |
CN116029714A (en) * | 2023-02-07 | 2023-04-28 | 江苏安科瑞微电网研究院有限公司 | Prepayment electric control system based on Bluetooth communication and error-proofing charging method thereof |
-
2023
- 2023-06-14 CN CN202310698500.6A patent/CN116452198B/en active Active
Patent Citations (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20010105521A (en) * | 2000-05-12 | 2001-11-29 | 유승렬 | Filling money, payment and supplement service system using ic-card and method using the same at on-line and off-line |
WO2002084569A1 (en) * | 2001-03-29 | 2002-10-24 | Ebestcard Ltd. | Card transaction system and method on on-line and/or off-line |
WO2007095864A1 (en) * | 2006-02-27 | 2007-08-30 | Huawei Technologies Co., Ltd. | Charging system and charging method |
CN101674565A (en) * | 2008-09-08 | 2010-03-17 | 华为技术有限公司 | Method and device for selecting charging mode and communication system |
CN102104859A (en) * | 2009-12-21 | 2011-06-22 | 中兴通讯股份有限公司 | Offline accounting method and system |
KR20130034324A (en) * | 2011-09-28 | 2013-04-05 | 부산대학교 산학협력단 | Electric vehicle charging device and offline prepaid charging accounting method |
CN104012039A (en) * | 2011-12-23 | 2014-08-27 | 瑞典爱立信有限公司 | Charging decisions in an IP multimedia subsystem |
CN104331797A (en) * | 2014-11-28 | 2015-02-04 | 山东鲁能智能技术有限公司 | Payment method of offline charging equipment based on mobile terminal |
CN105303704A (en) * | 2015-09-21 | 2016-02-03 | 四川豪特实业集团有限公司 | Internet electric car charging point managing system and method |
CN106097587A (en) * | 2016-08-04 | 2016-11-09 | 刘世和 | Based on cloud platform, the distributed electric vehicle charging management system of many tenants and method |
CN107105446A (en) * | 2017-04-27 | 2017-08-29 | 万帮充电设备有限公司 | Charging accounting method, apparatus and system |
CN110033560A (en) * | 2018-01-12 | 2019-07-19 | 福特全球技术公司 | Method and apparatus for fuel payment processing |
WO2020234824A1 (en) * | 2019-05-21 | 2020-11-26 | nChain Holdings Limited | Computer-implemented system and method |
US20220239135A1 (en) * | 2021-01-28 | 2022-07-28 | Contemporary Amperex Technology Co., Limited | Power supply control method of power conversion apparatus and power conversion apparatus |
CN113963487A (en) * | 2021-11-24 | 2022-01-21 | 北京联行网络科技有限公司 | Charging pile offline charging method and system |
CN114170728A (en) * | 2021-12-01 | 2022-03-11 | 易充新能源(深圳)有限公司 | Network-free charging payment method for charging pile |
CN114299666A (en) * | 2021-12-28 | 2022-04-08 | 安徽影通智能科技有限公司 | Offline charging method of charging station |
CN114299667A (en) * | 2021-12-29 | 2022-04-08 | 普天新能源有限责任公司 | Charging payment method and device for electric automobile |
CN114997845A (en) * | 2022-06-07 | 2022-09-02 | 天星数科科技有限公司 | Payment method and device, charging pile, readable storage medium and chip |
CN115410320A (en) * | 2022-08-31 | 2022-11-29 | 绿能慧充数字技术有限公司 | Charging pile off-grid starting method, system, equipment and storage medium |
CN115313464A (en) * | 2022-09-07 | 2022-11-08 | 国网江苏省电力有限公司苏州供电分公司 | Three-phase alternating current charging device, system and method |
CN116029714A (en) * | 2023-02-07 | 2023-04-28 | 江苏安科瑞微电网研究院有限公司 | Prepayment electric control system based on Bluetooth communication and error-proofing charging method thereof |
Non-Patent Citations (1)
Title |
---|
杨校辉 等: "一种基于综合能源优化调配的充电站运营管理系统研究", 电力系统保护与控制, vol. 49, no. 5, pages 173 - 179 * |
Also Published As
Publication number | Publication date |
---|---|
CN116452198B (en) | 2023-09-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5611058B2 (en) | Method for transferring energy between a first unit and a second unit | |
JP2013255415A (en) | Charging station for mobile electronic devices, and associated system and method | |
US20020025795A1 (en) | Method, system and device for monitoring activity of a wireless communication device | |
CN106785146A (en) | The charging method and system of the electric automobile charging pile with bluetooth | |
AU2020367793B2 (en) | Secure tokens for controlling access to a resource in a resource distribution network | |
US11481851B2 (en) | Secure tokens for controlling access to a resource in a resource distribution network | |
CN101207789A (en) | Server, transport operation system and paying method using digital television system | |
CN108986324B (en) | Charging and refunding method for public rental house hydropower gas meter | |
CN103780401B (en) | Charging method and system | |
CN116452198B (en) | Offline authorization and charging method and system for charging pile | |
CN103903128A (en) | Online charging public telephone system and method | |
US11790349B2 (en) | Secure tokens for controlling access to a resource in a resource distribution network | |
KR20100057733A (en) | Mobile communication service system that sim is produced and controlled by remoteness and service method thereof | |
CN100440262C (en) | Paying apparatus and method for prepaying meter | |
CN215298297U (en) | Digital currency payment terminal equipment | |
CN106487527A (en) | A kind of elasticity charging method and device | |
CN115953159A (en) | Phenotype switching method based on STS prepayment system | |
Amhenrior et al. | Application platform and token generation software for prepayment meter administration in electricity distribution companies | |
KR20040093582A (en) | Apparatus and Method for Mobile Payment, Mobile Communication System | |
CN113942416A (en) | Charging equipment and related management system and charging fee management method thereof | |
CN103906024A (en) | Business processing method, device, mobile communication terminal and SIM card | |
JP2003196564A (en) | Electronic value exchange device, terminal equipment, and electronic value exchange program |
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 |