Invention content
For problems of the prior art, the present invention provides a kind of intelligent grid electric power injected system based on V2G
And method.
According to an aspect of the invention, there is provided a kind of intelligent grid electric power injected system based on V2G, the system packet
It includes:Electrical management center cell, respectively with Utilities Electric Co. unit, aggregation gateway unit and at least one electric vehicle unit phase
Even, for executing system initialization and new user's registration;
Utilities Electric Co.'s unit is connected by V2G grid cells with aggregation gateway unit, is returned for generating the first electric power
Request data package is received, and the first power recovery request data package is sent to aggregation gateway unit by V2G grid cells;
And/or the second power recovery response data packet being sent to by V2G grid cells according to aggregation gateway unit, analysis
The total electricity of time slot recycling is calculated, and verifies the validity of total electricity;
Aggregation gateway unit is connected by V2G grid cells at least one electric vehicle unit, for according to the
One power recovery request data package generates the second power recovery request data package, and the second power recovery request data package is led to
It crosses V2G grid cells and is sent at least one electric vehicle unit;And/or it is logical according at least one electric vehicle unit
The first power recovery response data packet that V2G grid cells are sent to is crossed, the second power recovery response data packet is generated;
At least one electric vehicle unit, for according to the second power recovery request data package, generating the first power recovery
Response data packet;
V2G grid cells, respectively with Utilities Electric Co. unit, aggregation gateway unit and at least one electric vehicle unit
Be connected, between Utilities Electric Co.'s unit and aggregation gateway unit, aggregation gateway unit and at least one electric vehicle unit it
Between carry out communication and/or electric energy transmission.
According to another aspect of the present invention, a kind of intelligent grid electric power method for implanting based on V2G, this method are provided
Including:
Step S101:Electrical management center cell executes system initialization, generates system public parameter and main private key;
Step S102:Possess the first identity information IDpuUtilities Electric Co. unit generate and its first identity information IDpuIt is right
The the first public key PK answeredpuWith the first private key skpu;Possess the second identity information IDagAggregation gateway unit generate with its second body
Part Information IDagCorresponding first public key PKagWith the first private key skag;And possess tiers e'tat Information IDiAt least one electricity
Electrical automobile unit generates and its tiers e'tat Information IDiCorresponding third public key PKiWith third private key ski;
Step S103:Electrical management center cell executes new user's registration, by the first identity information IDpuWith the first public key
PKpu, the second identity information IDagWith the second public key PKagAnd tiers e'tat Information IDiWith third public key PKiIt is bound respectively;
Step S104:Utilities Electric Co. unit generates the first power recovery request data package Power_Req_pu, and by first
Power recovery request data package Power_Req_pu is sent to aggregation gateway unit by V2G grid cells;
Step S105:Aggregation gateway unit pair the first power recovery request data package Power_Req_pu is authenticated,
After passing through to the first power recovery request data package Power_Req_pu certifications, the second power recovery request data package is generated
Power_Req_ag, and the second power recovery request data package Power_Req_ag is sent to by V2G grid cells
At least one electric vehicle unit;
Step S106:At least one electric vehicle unit pair the second power recovery request data package Power_Req_ag is carried out
Certification generates the first power recovery number of responses after passing through to the second power recovery request data package Power_Req_ag certifications
According to packet Power_Res_ev, and the first power recovery response data packet Power_Res_ev is sent out by V2G grid cells
It send to aggregation gateway unit;
Step S107:Aggregation gateway unit pair the first power recovery response data packet Power_Res_ev is authenticated,
After passing through to the first power recovery response data packet Power_Res_ev certifications, the second power recovery response data packet is generated
Power_Res_ag, and the second power recovery response data packet Power_Res_ag is sent to by V2G grid cells
Utilities Electric Co.'s unit;
Step S108:Utilities Electric Co.'s unit pair the second power recovery response data packet Power_Res_ag is authenticated,
After passing through to the second power recovery response data packet Power_Res_ag certifications, the total electricity { b recycled in a time slot is calculated(x), and verify total electricity { b(x)Validity.
Intelligent grid electric power injected system and method provided by the invention based on V2G, can be used for establishing safety and stability
Intelligent grid fully combines the advantage of car networking and intelligent grid, improves energy utilization rate so that all kinds of electric energy such as electric vehicle
Storage device can charge in electricity consumption low peak period, and extra electric energy is injected into intelligent grid to obtain in peak times of power consumption
Income;In entire electric power injection process, electric vehicle unit and aggregation gateway unit all can inject data to electric power and gather
It closes, electric vehicle unit can also inject electric power data and be encrypted hiding, and message transmitted by each stage is all carried and corresponded to
Signature value, the Bilinear map operation that calculating process need not cost dearly, this makes the computation complexity of the system very low,
Communication efficiency is very high, and Utilities Electric Co.'s unit can only learn the total electricity of recycling, therefore, protects privacy of user, and this is
System and method are simple, highly practical, have good popularizing application prospect.
Specific implementation mode
Below in conjunction with the attached drawing in the present invention, technical solution in the embodiment of the present invention carry out it is clear, completely retouch
It states, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Based on the present invention
In embodiment, all other reality that those skilled in the art is obtained without making creative work
Example is applied, protection scope of the present invention is belonged to.
Fig. 1 is that the modular structure of the embodiment one of the intelligent grid electric power injected system provided by the invention based on V2G is shown
It is intended to.As shown in Figure 1, the system includes:Electrical management center cell 101, Utilities Electric Co.'s unit 102, aggregation gateway unit
103, at least one electric vehicle unit 104 and V2G grid cells 105;Wherein, electrical management center cell 101, point
It is not connected with Utilities Electric Co. unit 102, aggregation gateway unit 103 and at least one electric vehicle unit 104, for executing system
Initialization and new user's registration;Utilities Electric Co.'s unit 102 passes through V2G grid cells 105 and 103 phase of aggregation gateway unit
Even, for generating the first power recovery request data package, and the first power recovery request data package is passed through into V2G communication network lists
Member 105 is sent to aggregation gateway unit 103, and/or, it is sent out by V2G grid cells 105 according to aggregation gateway unit 103
Send to the second power recovery response data packet, analysis calculates the total electricity of time slot recycling, and verifies the effective of total electricity
Property;Aggregation gateway unit 103 is connected by V2G grid cells 105 at least one electric vehicle unit 104, and root is used for
According to the first power recovery request data package that Utilities Electric Co.'s unit 102 is sent to by V2G grid cells 105, the is generated
Two power recovery request data packages, and by the second power recovery request data package by V2G grid cells 105 be sent to
A few electric vehicle unit 104, and/or, V2G grid cells 105 are passed through according at least one electric vehicle unit 104
The first power recovery response data packet being sent to generates the second power recovery response data packet;At least one electric vehicle list
Member 104, the second power recovery number of request for being sent to by V2G grid cells 105 according to aggregation gateway unit 103
According to packet, the first power recovery response data packet is generated;V2G grid cells 105, respectively with Utilities Electric Co. unit 102, polymerize
Gateway unit 103 is connected at least one electric vehicle unit 104, for Utilities Electric Co.'s unit 102 and aggregation gateway unit it
Between communicated between 103, aggregation gateway unit 103 and at least one electric vehicle unit 104 and/or electric energy transmits.
Wherein, electrical management center cell 101 is specifically used for:(1) execute system initialization, generate system public parameter and
Main private key;(2) execute new user's registration, by the first identity information and the first public key, the second identity information and the second public key and
Tiers e'tat information is bound respectively with third public key.
Wherein, Utilities Electric Co.'s unit 102 is specifically used for:(1) generate corresponding with its first identity information the first public key and
First private key;(2) in peak times of power consumption, the first power recovery request data package is generated, and by the first power recovery request data
Packet is sent to aggregation gateway unit 103 by V2G grid cells 105;(3) aggregation gateway unit 103 is communicated by V2G
The second power recovery response data packet that network element 105 is sent to is authenticated, and is recognized to the second power recovery response data
After card passes through, the total electricity recycled in a time slot is calculated, and verify the validity of total electricity.
Wherein, aggregation gateway unit 103 is specifically used for:(1) the second public key corresponding with its second identity information is generated
With the second private key;(2) Utilities Electric Co.'s unit 102 is asked by the first power recovery that V2G grid cells 105 are sent to
Data packet is authenticated, and after passing through to the first power recovery request data package certification, generates the second power recovery request data
Packet, and the second power recovery request data package is sent at least one electric vehicle unit by V2G grid cells 105
104;(3) at least one electric vehicle unit 104 is rung by the first power recovery that V2G grid cells 105 are sent to
It answers data packet to be authenticated, after passing through to the first power recovery response data packet certification, generates the first power recovery number of responses
Utilities Electric Co.'s unit 102 is sent to by V2G grid cells 105 according to packet, and by the first power recovery response data packet.
Wherein, at least one electric vehicle unit 104, is specifically used for:V2G communication networks are passed through to aggregation gateway unit 103
The second power recovery request data package that network unit 105 is sent to is authenticated, and is recognized to the second power recovery request data package
After card passes through, the first power recovery response data packet is generated, and the first power recovery response data packet is passed through into V2G communication networks
Unit 105 is sent to aggregation gateway unit 103.
Fig. 2 is that the modular structure of the embodiment two of the intelligent grid electric power injected system provided by the invention based on V2G is shown
It is intended to.As shown in Fig. 2, the system further includes:Grid cell 106;Grid cell 106, respectively in electrical management
Heart unit 101, Utilities Electric Co.'s unit 102, aggregation gateway unit 103 are connected at least one electric vehicle unit 104, for electricity
Between power management center cell 101 and Utilities Electric Co.'s unit 102, electrical management center cell 101 and aggregation gateway unit 103 it
Between, communicated between electrical management center cell 101 and at least one electric vehicle unit 104.
In the first optional embodiment, as shown in Fig. 2, electrical management center cell 101 includes system initialization unit
1011 and new user register unit 1012;Wherein, system initialization unit 1011, for generating system public parameter and main private
Key, and open system public parameter, secret preserve main private key;New user register unit 1012 will for executing new user's registration
Second identity information of the first identity information and the first public key, the transmission of aggregation gateway unit 103 that Utilities Electric Co.'s unit 101 is sent
The tiers e'tat information sent with the second public key and at least one electric vehicle unit 104 is tied up respectively with third public key
It is fixed.
In second of optional embodiment, as shown in Fig. 2, Utilities Electric Co.'s unit 102 includes power recovery request data
Packet generation unit 1021 and electricity recycle computing unit 1022;Wherein, power recovery request data package generation unit 1021, is used for
The first public key corresponding with its first identity information and the first private key are generated, and in peak times of power consumption, generates the first electric power and returns
Request data package is received, and the first power recovery request data package is sent to aggregation gateway list by V2G grid cells 105
Member 103;Electricity recycles computing unit 1022, for being sent to by V2G grid cells 105 to aggregation gateway unit 103
The second power recovery response data packet be authenticated, after passing through to the second power recovery response data certification, calculate one
The total electricity recycled in time slot, and verify the validity of total electricity.
In the third optional embodiment, as shown in Fig. 2, aggregation gateway unit 103 includes gateway data receiving unit
1031, gateway data packet authentication unit 1032 and gateway data transmission unit 1033;Wherein, gateway data receiving unit
1031, the first power recovery number of request being sent to by V2G grid cells 105 for receiving Utilities Electric Co.'s unit 102
According to packet, and/or receives at least one electric vehicle unit 104 and returned by the first electric power that V2G grid cells 105 are sent to
Receive response data packet;Gateway data packet authentication unit 1032, first for being received to gateway data packet receiving unit 1031
Power recovery request data package and/or the first power recovery response data packet are authenticated;Gateway data transmission unit 1033 is used
In generation the second public key corresponding with its second identity information and the second private key, and/or, in gateway data packet authentication unit 1032
After the first power recovery request data package certification success, the second power recovery request data package is generated, and the second electric power is returned
It receives request data package and at least one electric vehicle unit 104 is sent to by V2G grid cells 105;And/or gateway data
Transmission unit 1033 generates the after gateway data packet authentication unit 1032 is by the first power recovery response data packet certification success
Two power recovery response data packets, and the second power recovery response data packet is sent to electricity by V2G grid cells 105
Power company unit 102.
In the 4th kind of optional embodiment, as shown in Fig. 2, at least one electric vehicle unit 104 includes electric vehicle
Data packet receiving unit 1041, power recovery response data packet generation unit 1042 and electric vehicle data packet transmission unit
1043;Wherein, electric vehicle data packet receiving unit 1041, the second electricity for sending 1033 for receiving gateway data transmission unit
Power recycles request data package, and is authenticated to the second power recovery request data package;Power recovery response data packet generates single
Member 1042, for generating the first power recovery response data packet according to by the second power recovery request data package of certification;Electricity
Electrical automobile data packet transmission unit 1043, for being sent out the first power recovery response data packet by V2G grid cells 105
It send to aggregation gateway unit 103.
It should be understood that above-mentioned four kinds of optional embodiments can individually be implemented, it can also be in conjunction with implementation, this field skill
Art personnel can select as needed, be not construed as limiting herein.
In above-mentioned each embodiment, the quantity of electric vehicle unit 104 can be one, or it is multiple, herein
It is not construed as limiting.
Intelligent grid electric power injected system provided by the invention based on V2G can be used for establishing the intelligence electricity of safety and stability
Net fully combines the advantage of car networking and intelligent grid, improves energy utilization rate so that all kinds of power storages such as electric vehicle are set
It is standby to charge in electricity consumption low peak period, extra electric energy is injected into intelligent grid to obtain income in peak times of power consumption;
In entire electric power injection process, electric vehicle unit and aggregation gateway unit all can inject data to electric power and polymerize, electricity
Electrical automobile unit can also inject electric power data and be encrypted hiding, and message transmitted by each stage all carries corresponding signature
Value, the Bilinear map operation that calculating process need not cost dearly, this makes the computation complexity of the system very low, communication effect
Rate is very high, and Utilities Electric Co.'s unit can only learn the total electricity of recycling, therefore, protects privacy of user, and the system structure
Simply, highly practical, there is good popularizing application prospect.
Fig. 3 is the method flow diagram of the embodiment of the intelligent grid electric power method for implanting provided by the invention based on V2G.Such as
Shown in Fig. 3, this approach includes the following steps:
Step S101:Electrical management center cell executes system initialization, generates system public parameter and main private key.
Wherein, step S101 specifically includes following steps:
Step S1011:Electrical management center cell is chosen and discloses security parameterAnd the hash function H of safety0With
H1;Wherein, security parameterFor an integer, size indicates the length of system public parameter; It indicates between 0 and N2Between with N2All integers of prime number each other
The set of composition;Indicate between 0 and N with N each other prime number all integers constitute set.
Step S1012:Utilities Electric Co.'s unit selection random numberDetermine the public affairs of Paillier public encryption systems
Key (N, g) and private key λ, by (N, g, Y, H0,H1, n, k, w) and it is disclosed as system public parameter, and using private key λ as main private key
Secret preserves;Wherein, n is the maximum quantity for the electric vehicle unit that an aggregation gateway unit is covered;K is Utilities Electric Co.'s list
The number of time slot that member uses during recycling electricity;W is the electricity that an electric vehicle unit is injected in a time slot
Measure the upper bound.
Step S102:Possess the first identity information IDpuUtilities Electric Co. unit generate and its first identity information IDpuIt is right
The the first public key PK answeredpuWith the first private key skpu;Possess the second identity information IDagAggregation gateway unit generate with its second body
Part Information IDagCorresponding first public key PKagWith the first private key skag;And possess tiers e'tat Information IDiAt least one electricity
Electrical automobile unit generates and its tiers e'tat Information IDiCorresponding third public key PKiWith third private key ski。
Wherein, step S102 specifically includes following steps:
Step S1021:Utilities Electric Co.'s unit determines the public key (N of Paillier public encryption systemspu,gpu) and private key λpu;
Enable a1=1, choose prime number a2,…,akMake sequence (a1,a2,…,ak) meet:As 2≤x≤k,For 1 all≤x≤k, calculateThen the first public keyFirst private key skpu=(λpu,
{ax}1≤x≤k)。
Step S1022:Aggregation gateway unit determines the public key (N of Paillier public encryption systemsag,gag) and private key λag;
Enable a1=1, choose prime number a2,…,akMake sequence (a1,a2,…,ak) meet:As 2≤x≤k,For 1 all≤x≤k, calculateThen the second public keySecond private key skag=(λag,
{ax}1≤x≤k)。
Step S1023:At least one electric vehicle unit determines the public key (N of Paillier public encryption systemsi,gi) and
Private key λi;Enable a1=1, choose prime number a2,…,akMake sequence (a1,a2,…,ak) meet:As 2≤x≤k,For 1 all≤x≤k, calculateThen third public keyThird private key ski=(λi,{ax}1≤
x≤k)。
Step S103:Electrical management center cell executes new user's registration, by the first identity information IDpuWith the first public key
PKpu, the second identity information IDagWith the second public key PKagAnd tiers e'tat Information IDiWith third public key PKiIt is bound respectively.
Specifically, electrical management center cell receives the first identity information ID that Utilities Electric Co.'s unit is sentpuWith the first public affairs
Key PKpu, new user's registration is executed, by the first identity information IDpuWith the first public key PKpuIt is bound;Electrical management center cell
Receive the second identity information ID that aggregation gateway unit is sentagWith the second public key PKag, new user's registration is executed, by the second identity
Information IDagWith the second public key PKagIt is bound;And electrical management center cell receives at least one electric vehicle unit hair
The tiers e'tat Information ID sentiWith third public key PKi, new user's registration is executed, by tiers e'tat Information IDiWith third public key PKi
It is bound.
It should be noted that electrical management center cell is according to main private key λ, to the first identity information IDpuWith the first public affairs
Key PKpu, the second identity information IDagWith the second public key PKagAnd tiers e'tat Information IDiWith third public key PKiIt is tied up respectively
It is fixed.
Step S104:Utilities Electric Co. unit generates the first power recovery request data package Power_Req_pu, and by first
Power recovery request data package Power_Req_pu is sent to aggregation gateway unit by V2G grid cells.
Wherein, step S104 specifically includes following steps:
Step S1041:In peak times of power consumption, Utilities Electric Co.'s unit selection random numberIt calculates
Step S1042:Utilities Electric Co.'s unit enables mpu=IDpu||IDag||Infop||TS||Rpu, calculate spuAnd tpu,
In, InfopIt is the set of the price of different time-gap recycling electricity, Infop=(p1,p2,…pk);pkIt is k-th of time slot recycling electricity
The price of amount;TS is timestamp;
Step S1043:Utilities Electric Co.'s unit enables σpu=(spu,tpu), Power_Req_pu is calculated, and by Power_Req_
Pu is sent to aggregation gateway unit as the first power recovery request data package by V2G grid cells;Wherein, Power_
Req_pu=IDpu||IDag||Infop||TS||Rpu||σpu。
Step S105:Aggregation gateway unit pair the first power recovery request data package Power_Req_pu is authenticated,
After passing through to the first power recovery request data package Power_Req_pu certifications, the second power recovery request data package is generated
Power_Req_ag, and the second power recovery request data package Power_Req_ag is sent to by V2G grid cells
At least one electric vehicle unit.
Wherein, step S105 specifically includes following steps:
Step S1051:Aggregation gateway unit, which is primarily based on time stamp T S, ensures the freshness of message, then judges:It is whether true, when the formula is set up, choose random number
It calculates
Step S1052:Aggregation gateway unit enables mag=IDag||IDpu||Infop||TS||Rpu||Rag, calculate sagAnd tag;
Wherein,
Step S1053:Aggregation gateway unit enables σag=(sag,tag), Power_Req_ag is calculated, and by Power_Req_
Ag is sent at least one electric vehicle unit as the second power recovery request data package by V2G grid cells;Its
In, Power_Req_ag=IDag||IDpu||Infop||TS||Rpu||Rag||σag。
Step S106:At least one electric vehicle unit pair the second power recovery request data package Power_Req_ag is carried out
Certification generates the first power recovery number of responses after passing through to the second power recovery request data package Power_Req_ag certifications
According to packet Power_Res_ev, and the first power recovery response data packet Power_Res_ev is sent out by V2G grid cells
It send to aggregation gateway unit.
Wherein, step S106 specifically includes following steps:
Step S1061:At least one electric vehicle unit, which is primarily based on time stamp T S, ensures the freshness of message, then sentences
It is disconnected:It is whether true, when the formula is set up, choose random number
It calculates
Step S1062:At least one electric vehicle unit injects share to hide electric power, calculates kiWithWherein,
Step S1063:At least one electric vehicle unit selection random numberFor 1≤x≤k, enableThe electric power injection share of all time slots polymerize hiding and obtains Bi;Wherein,biIt is to possess body
Part Information IDiAt least one electric vehicle unit injection electric power share, bi=(bi,1,bi,2,…,bi,k);bi,xIt is to possess body
Part Information IDiAt least one electric vehicle unit in x-th of time slot with monovalent pxThe electricity of injection,
Step S1064:At least one electric vehicle unit enables mi=IDag||IDpu||TS||Ni||Ri, calculate σi=(si,
ti);Wherein,
Step S1065:At least one electric vehicle unit enablesPower_Res_ev is calculated, and
Aggregation gateway list is sent to by V2G grid cells using Power_Res_ev as the first power recovery response data packet
Member;Wherein,
Step S107:Aggregation gateway unit pair the first power recovery response data packet Power_Res_ev is authenticated,
After passing through to the first power recovery response data packet Power_Res_ev certifications, the second power recovery response data packet is generated
Power_Res_ag, and the second power recovery response data packet Power_Res_ag is sent to by V2G grid cells
Utilities Electric Co.'s unit.
Wherein, step S107 specifically includes following steps:
Step S1071:Aggregation gateway unit, which is primarily based on time stamp T S, ensures the freshness of message, then judges:For
1 all≤i≤n,It is whether true, and if only if for 1 all≤i≤n, the formula
When establishment, for 1≤i≤n, calculateWherein,
Step S1072:Aggregation gateway unit calculates fB、B、s′agWith t 'ag;Wherein,
Step S1073:Aggregation gateway unit enables σa′g=(s 'ag,t′ag), Power_Res_ag is calculated, and by Power_
Res_ag is sent to Utilities Electric Co.'s unit as the second power recovery response data packet by V2G grid cells;Wherein,
Power_Res_ag=IDpu||IDag||TS||B||{Ri,σi}1≤i≤n||σa′g。
Step S108:Utilities Electric Co.'s unit pair the second power recovery response data packet Power_Res_ag is authenticated,
After passing through to the second power recovery response data packet Power_Res_ag certifications, the total electricity { b recycled in a time slot is calculated(x), and verify total electricity { b(x)Validity.
Wherein, step S108 specifically includes following steps:
Step S1081:Utilities Electric Co.'s unit, which is primarily based on time stamp T S, ensures the freshness of message, then judges:For
1 all≤i≤n,It is whether true, and if only if for 1 all≤i≤n, the formula
When establishment, for 1≤i≤n, k is calculatedi;Wherein,
Step S1082:Utilities Electric Co.'s unit calculates B0;Wherein,
Step S1083:Utilities Electric Co.'s unit is according to private key λpuAnd B0, calculate M;Wherein, Abbreviation obtains
Step S1084:Utilities Electric Co.'s unit enables Dk=M enables D for x=k, k-1 ..., 2x-1=Dxmodax, calculate b(x);Wherein, b(x)It is the total electricity that Utilities Electric Co.'s unit is recycled in x-th of time slot from the region that aggregation gateway unit covers,
Step S1085:Utilities Electric Co.'s unit checksWhether at
Vertical, when the formula is set up, Utilities Electric Co.'s unit exports the total electricity recycled in x-th of time slot.
In the embodiment of the intelligent grid electric power method for implanting provided by the invention based on V2G, hash function is will to appoint
The Input transformation for length of anticipating is at a kind of one-way function of the output of regular length, the cryptographic Hash of this output referred to as input.One
A safe hash function should meet following condition:(1) output length is fixed, generally at least takes 128 bits, with
Resist birthday attack;(2) to each given input, cryptographic Hash can be calculated easily;(3) Hash letter is given
Several descriptions and a cryptographic Hash, it is that calculating is upper infeasible to find corresponding input;(4) description for giving hash function, is looked for
It is that calculating is upper infeasible to two different inputs with identical cryptographic Hash.
In the embodiment of the intelligent grid electric power method for implanting provided by the invention based on V2G, Paillier public keys add
The public private key pair of dense body generates as follows:
Step a:Choose two Big prime p1And q1So that
Step b:Calculate modulus N=p1q1With λ=lcm (p1-1,q1- 1), Yi JiIt is middle to choose the element g that rank is N;
Wherein, λ=lcm (p1-1,q1- 1) p is indicated1- 1 and q1- 1 least common multiple;It indicates between 0 and N2Between with N2Each other
The set that all integers of prime number are constituted.
Step c:The public key and private key of Paillier public encryption systems are PK=(N, g) and sk=λ respectively.
Intelligent grid electric power method for implanting provided by the invention based on V2G can be used for establishing the intelligence electricity of safety and stability
Net fully combines the advantage of car networking and intelligent grid, improves energy utilization rate so that all kinds of power storages such as electric vehicle are set
It is standby to charge in electricity consumption low peak period, extra electric energy is injected into intelligent grid to obtain income in peak times of power consumption;
In entire electric power injection process, electric vehicle unit and aggregation gateway unit all can inject data to electric power and polymerize, electricity
Electrical automobile unit can also inject electric power data and be encrypted hiding, and message transmitted by each stage all carries corresponding signature
Value, the Bilinear map operation that calculating process need not cost dearly, this makes the computation complexity of the system very low, communication effect
Rate is very high, and Utilities Electric Co.'s unit can only learn the total electricity of recycling, therefore, protects privacy of user, and this method it is simple,
It is highly practical, there is good popularizing application prospect.
It should be noted that the intelligent grid electric power method for implanting provided by the invention based on V2G with it is provided by the invention
Intelligent grid electric power injected system based on V2G has correspondence, that is to say, that the intelligence provided by the invention based on V2G
Grid power method for implanting can be applied in the intelligent grid electric power injected system provided by the invention based on V2G, wherein right
The description of this method is applied equally to the description to the system, is applied equally to retouch this method to the description of the system
It states.
The present invention is further described by specific embodiment above, it should be understood that, here specifically
Description, should not be construed as the restriction to the spirit and scope of the invention, and one of ordinary skilled in the art is reading this explanation
The various modifications made to above-described embodiment after book belong to the range that the present invention is protected.