Summary of the invention
For solving the deficiency that prior art exists, the invention discloses a kind of ciphering type to swipe the card public charging pile and charging method, the present invention adopts CPU card, ESAM key, the mode of PSAM encryption equipment, CPU card, ESAM chip, key in PSAM chip all calculates according to the encryption factor through same Zhang Jiami master card, three parts are not identical but can verify the other side with group key, everyone transaction is had to the complex verification of CPU card and charging pile ESAM cipher key interaction, individual is paid there is security, card cannot be copied, upload background information through charging pile ESAM secret key encryption, backstage is by the authenticity of PSAM encryption equipment identification Transaction Information, avoid utilizing data to steal and brush other people card.Ciphering type of the present invention is swiped the card public charging pile and charging method.Mainly solve public charging pile payment card safety, charging precise control, background monitoring data are authentic and valid.
For achieving the above object, concrete scheme of the present invention is as follows:
The public charging pile of a kind of encryption card-scanning type, comprise control panel, described control panel communicates with digital electric meter, CPU card card reader, display screen, touch keyboard, charging socket control module, network communication device and electric automobile charging station system;
Control panel is communicated with the background monitoring system of electric automobile charging station system with encrypted test mode by charging pile ESAM key, the long-range calling real time data of background monitoring system, the situation of monitoring charging pile, display instruction according to display screen carries out swiping the card charging operations, in process of swiping the card, control panel is checked by the key in the CPU card card reader of band ESAM key module and the key in Payment Card, checks unanimously and continues operation.
Described digital electric meter and network communication device are communicated with control panel by RS485 interface.
Described control panel is also connected with pilot lamp, and described display screen, touch keyboard, charging socket control module and pilot lamp are connected by general I/O interface with control panel.
Described CPU card card reader is communicated with control panel by RS232 interface.
Described control panel is communicated with charging system for electric automobile by the communication mode of Ethernet or GPRS.
Described network communication device is GPRS/WCDMA/TD-LTE/FDD-LTE communication module.
Encrypt a charging method for the public charging pile of card-scanning type, comprise the following steps:
Step one: user carries out swiping the card charging operations according to the display instruction of display screen, the payment cipher inputted in process of swiping the card is encrypted afterwards by the ESAM key module in CPU card card reader and CPU Payment Card carries out data interaction, CPU Payment Card, by checking payment cipher after secret key decryption in card, is checked and unanimously can be continued operation;
Step 2: select different charging modes to charge on a display screen, charging modes comprises and is automatically full of, fixes time, deposit volume, determines electricity, swipe the card after selected and start charging, card reader is carried out the charging amount of money to CPU Payment Card and is withheld and to lock with ash, and the charging wire of user to be pinned after on charging inlet by the lockable mechanism in charging socket control module and starts charge switch by control panel; Avoid unexpected plug charging gun in charging process to cause mishap, user does not settle accounts and electric automobile cannot be driven away yet simultaneously, ensure that the interests of charging pile operator; The object of ash lock is that grey lock clamp piece cannot operate at other charging piles, avoids a card multi-charging and causes the amount of money to overdraw.
Step 3: control panel reads by digital electric meter point that institute's power consumption arranges according to charging pile in real time, peak, flat, paddy electricity price calculate the amount of money used, automatically charging is stopped when meeting set condition, do not satisfy condition when thinking complete charge process, again swipe the card and can stop charging;
Step 4: swipe the card checkout time, charge information is sent to CPU card reader and by carrying out checkout operation with CPU Payment Card after ESAM secret key encryption by control panel;
Step 5: after Transaction Information is encrypted by the ESAM key module in CPU card reader by charging pile again, background monitoring system is sent to by network communication device, background monitoring system is decrypted by PSAM encryption equipment, after checking GMAC information is passed through, preserves this charging details.Avoid Noncoded Information to be cracked the robber's brush problem caused.
In step 3, impose a condition for: be automatically full of, fix time, determine electricity or deposit volume.
In step 4, the information of charging comprises: payment card information, charge capacity, the amount of money and charging pile information.
In step 4, swipe the card checkout time detailed process be: CPU card is deciphered enciphered message and in stored value card, is deducted spending amount after being verified, and recover from grey lock status, namely transaction encryption information GMAC is monitored backstage to be used for identifying that the encrypted message of transaction uniqueness passes to charging pile control panel simultaneously, charge switch first disconnects by control panel, then by charging socket control module, the charging wire of user is decontroled, operation interface prompting user does not forget Payment Card and extracts charge cable, and charging interactive process completes.
In step 5, Transaction Information comprises the enciphered message such as charge information and GMAC.
Control panel decontrols the charging wire of user specifically by charging socket control module: control panel CPU opens to charging socket control module lockable mechanism transmitting order to lower levels the electromagnetic lock be stuck on charging gun head.
Beneficial effect of the present invention:
CPU card key, ESAM key in charging pile, the background system PSAM encryption equipment key trinity.Can identify mutually the authenticity of the other side, charging transaction carries out secure payment by swiping the card, background system energy Real-Time Monitoring charging pile state, carries out safety and identifies guarantee data validity, improve the fund security in card to transaction data.
The mode of swiping the card adopts CPU card to add ESAM storage key, and charging pile is encrypted identification and verification by inner ESAM double secret key CPU card, increases fund security in card, also ensures that public charging pile is not imitated card and usurps.
Charging pile transmits transaction data to backstage and adopts ESAM encryption, and PSAM manner of decryption, ensure that fund security, avoids message and is intercepted the risk usurped.
Embodiment:
Below in conjunction with accompanying drawing, the present invention is described in detail:
As shown in Figure 1, the invention provides a kind of reliability, the electric automobile charging pile that security is higher and charging modes, it comprises: with collection analog quantity, switching value and the control panel 1 outputing control (the passive dry contact of tape relay exports), the digital electric meter 2 of accurate charging, GPRS/WCDMA/TD-LTE/FDD-LTE communication module can be provided, control panel 1 is by RS-485 mode and digital electric meter 2, network communication device 8 is connected, be connected with CPU card reader 3 by RS-232 mode, by general I/O port and display screen 4, touch keyboard 5, charging socket control module 6, pilot lamp 7 is connected.
The present invention can pass through wireless networking mode, is communicated with background monitoring system by encrypted test mode, long-range calling real time data, the situation of monitoring charging pile.User carries out swiping the card charging operations according to the display instruction of display screen 4, in process of swiping the card, and CPU Payment Card rear by the ESAM key module encryption in CPU card card reader 3 can be carried out data interaction by control panel, CPU card is by checking payment cipher after secret key decryption in card, check and unanimously can continue operation, arrange charging modes (to be automatically full of, fix time, deposit volume, determine electricity) charge, the charging wire of user is locked on charging inlet by charging socket control module 6 by the rear control plate 1 that starts to charge, avoid charging on-the-spot unsupervised situation under something unexpected happened, and charging wire cannot be extracted when not settling accounts by user.Control panel 1 reads in real time institute's power consumption by digital electric meter 2 and calculates the amount of money used according to the point arranged, peak, flat, paddy electricity price, automatically stops charging when meeting set condition.Control panel 1 shows charging complete by display screen 4 and reminding user carries out checkout of swiping the card, user card punching and key authentication are completed by rear display checkout, control panel 1 decontrols the charging wire of user by charging socket control module 6, and prompting user can extract charging wire.
As shown in Figure 2, charging pile charging operations process:
1. card is placed charging pile card-reading zone by user, swipes the card, and charging pile display input cryptographic interface, user inputs six passwords, and user swipes the card again, and charging pile carries out password authentification, if authentication failed, user re-enters password.Password authentification is passed through, charging pile display user card number, remaining sum, and the charge informations such as the term of validity, point out user to insert charging gun simultaneously.
2. user inserts charging gun, and charging pile checks whether charging gun links intact, as bad in linked, and charging pile display " charging linkage fault, please reconnect plug " user reinserts charging gun.Charging gun links intact user and presses " determination " key selection charging modes.
3. user selects charging modes such as " are automatically full of, fix time, deposit volume, determine electricity " by up/down button.
4. user card punching starts charging, the adhesive of charging pile contactor, charging pile display " starting charges successfully, please take rechargeable card away ".In charging process, charging pile display charging voltage, the charge informations such as charging current for charging time.And keep and background monitoring system communication at any time.
5. user card punching checkout, charging pile contactor disconnects, and stops charging, the charging pile display charging start time, the charging used time, information such as consumption electricity and the amount of money etc.After charging complete, the information such as charge capacity, spending amount can be uploaded background monitoring system with encrypted test mode by charging pile.
By reference to the accompanying drawings the specific embodiment of the present invention is described although above-mentioned; but not limiting the scope of the invention; one of ordinary skill in the art should be understood that; on the basis of technical scheme of the present invention, those skilled in the art do not need to pay various amendment or distortion that creative work can make still within protection scope of the present invention.