Summary of the invention
The present invention explains a kind of data acquisition method for supervising of charging electric vehicle supervisory system, realizes gathering in real time the charging set operational data, reads and process user consumption record, guarantees data security through encryption simultaneously.
For realizing above-mentioned purpose, the present invention provides a kind of data acquisition method for supervising of charging electric vehicle supervisory system,
Wherein the charging electric vehicle supervisory system comprises: Surveillance center, the some charging sets that are connected with this Surveillance center's network; Be provided with memory device in this Surveillance center; This circuit for charging machine connects some external electric automobiles;
Be characterized in that this data acquisition method for supervising comprises following steps:
Step 1 Surveillance center reads the charging set equipment state;
Step 1.1 charging set judges whether equipment state is encrypted, if, then jump to step 1.1.1, if not, then jump to step 1.2;
Step 1.1.1 charging set is encrypted equipment state, and jumps to step 1.2;
Step 1.2 charging set transmitting apparatus state is to Surveillance center;
Step 1.3 Surveillance center reads the charging set equipment state;
Step 2 Surveillance center has judged whether customer consumption record data or device consumes record request data, if, then jump to step 3, if not, then jump to step 6;
Step 3 Surveillance center has judged whether the customer consumption record data, if, then jump to step 4, if not, the device consumes record request is arranged, then jump to step 3.1;
Step 3.1 Surveillance center treatment facility consumption record request, and jump to step 6;
Step 3.1.1 Surveillance center is to the data of charging set transmitting apparatus consumption record request;
Step 3.1.2 charging set is handled according to the data of device consumes record request, and jumps to step 6;
Step 4 Surveillance center reads the customer consumption record data;
Step 4.1 Surveillance center reads the customer consumption record data, deposits the customer consumption record data in memory device, and whether judges consumption record data successfully deposit memory device in, if, then jump to step 4.2, if not, then jump to step 4.1.1;
Step 4.1.1 Surveillance center is stored in the customer consumption record data in its memory cache;
Step 4.1.2 Surveillance center judges whether its memory cache is full, if, then jump to step 4.1.3, if not, then data are kept in the memory cache of Surveillance center, and jump to step 4.2;
The oldest record data in its memory cache of step 4.1.3 Surveillance center deletion write and keep new customer consumption record data, and jump to step 4.2;
The customer consumption record data that whether remain to be preserved in its memory cache are judged by step 4.2 Surveillance center, if, then jump to step 4.3, if not, then jump to step 4.4;
Step 4.3 Surveillance center is stored to the customer consumption record data in the memory cache in the memory device, and data in the deletion memory cache;
Step 4.4 Surveillance center accomplishes the storage of customer consumption record data;
Step 5 Surveillance center process user consumption record data;
Step 6 Surveillance center reads batteries of electric automobile information;
Step 7 Surveillance center reads charging set charge volume data, and jumps to step 1.
Above-mentioned equipment state adopts des encryption.
The data acquisition method for supervising of charging electric vehicle supervisory system of the present invention is compared with prior art, and its advantage is that the transmission data of the equipment state of charging set of the present invention are carried out des encryption, guarantees the safety of data;
Adopt real-time data acquisition, charging set is monitored charged state in real time and is recorded as equipment state, when charging set is in holding state, need recruit and survey battery information and ammeter data, only needs circulation to recruit the measurement equipment state message to get final product, and raises the efficiency;
Surveillance center does not need periodically to read the customer consumption record, when the consumption record that is not read is arranged in the charging set, can prompting have consumption record, Surveillance center to go to read the consumption record in the status information of equipment again, raises the efficiency;
The charging function is asked not consumption recording information to Surveillance center, Surveillance center's unified monitoring consumption information, and record security is reliable, also makes charging set be easy to promote simultaneously.
Embodiment
Below in conjunction with description of drawings embodiment of the present invention.
The invention discloses a kind of data acquisition method for supervising of charging electric vehicle supervisory system; Realize gathering in real time the charging set operational data; Read and process user consumption record, improve the operational paradigm of charging electric vehicle flow process, guarantee data security through encryption simultaneously.
As shown in Figure 1, a kind of embodiment of charging electric vehicle supervisory system has been described, this embodiment is applicable to the data acquisition method for supervising of charging electric vehicle supervisory system of the present invention.This system comprises: Surveillance center 1, several charging sets 2 with this Surveillance center's 1 network is connected are provided with memory device 3 in this Surveillance center 1.When external electric automobile 4 was charged work, charging set 2 circuit connected external electric automobile 4.Each charging set 2 is provided with 8 plugs, can connect 8 electric automobiles 4, goes back circuit on the plug circuit of each connection electric automobile 4 and is connected with voltage table, reometer and time-sharing ammeter, monitors voltage, electric current and the charge capacity of electric automobile 4 chargings in real time.Above-mentioned 8 plugs are respectively plug one, plug two, plug three, plug four, plug five, plug six, plug seven, plug eight.
In the process that 2 pairs of electric automobiles 4 of charging set charge, charging set 2 is monitored the information of voltage table, reometer and time-sharing ammeter on the charging set 2 in real time, also monitors the status information of accumulator in the electric automobile 4 simultaneously in real time.Above-mentioned information is put into the data of equipment state.
As shown in Figure 2, a kind of data acquisition method for supervising of charging electric vehicle supervisory system, the method includes the steps of:
Step 1 Surveillance center 1 reads charging set 2 equipment states.
Equipment state comprises: fault-signal (AC/DC fault, DC/DC fault, overheating protection, anti-thunderbolt protection, BMS communication disruption, BMS fault, gauging table (SM) communication disruption, UT fault), plug quantity, plug connection status (plug 1 connection status, plug 2 connection status, plug 3 connection status, plug 4 connection status, plug 5 connection status, plug 6 connection status, plug 7 connection status, plug 8 connection status), charging voltage (totally 8), charging current (totally 8), the sign of customer consumption record data and the sign of device consumes record request data, and customer consumption record data and device consumes record request data.
The instruction that step 1.1 operating personnel encrypt the device status data whether charging set 2 input sends to Surveillance center 1 charging set 2 after charging set 2 receives instruction, judges whether equipment state is encrypted; If; Then jump to step 1.1.1, if not, then jump to step 1.2.
2 pairs of equipment states of step 1.1.1 charging set are encrypted, and jump to step 1.2.
Adopt des encryption among the present invention, the message of equipment state is all with encrypted in the communication process.Charging set 2 and Surveillance center's 1 shared black list wherein have 255 pairs of keys (key number 1-255), and key preestablishes.Select a group key logarithmic region data encryption during encryption at random, key number is placed on after the interior message sync byte of equipment state.
Step 1.2 charging set 2 transmitting apparatus state to Surveillance center 1.
Step 1.3 Surveillance center 1 reads charging set 2 equipment states.
Step 2 Surveillance center 1 has judged whether customer consumption record data or device consumes record request data according to the Data Labels in the equipment state, if, then jump to step 3, if not, then jump to step 6.
Step 3 Surveillance center 1 judges whether the sign of customer consumption record data, if, then jump to step 4, if not, the device consumes record request is arranged, then jump to step 3.1.
Step 3.1 Surveillance center 1 treatment facility consumption record request, and jump to step 6.
Step 3.1.1 Surveillance center 1 is to the data of charging set 2 transmitting apparatus consumption record request.
Step 3.1.2 charging set 2 is handled according to the data of device consumes record request.If the words that electric automobile 4 is not closed the account after once charging; Charging set 2 is when Surveillance center 1 requires the device consumes record request in charging next time; Surveillance center 1 can will supervise the device consumes record data and send to charging set 2; Operating personnel can be according to the device consumes record data, the still open charging expense of clearing on this charging set 2.Clearing jump to step 6 after accomplishing.
Step 4 Surveillance center 1 reads the customer consumption record data.
The customer consumption record data comprise: used memory cache size (in the memory cache buffer memory how many bars records), the card number of electric automobile 4, transaction number, charging set 2 numberings, the transaction terminal numbering of charging set 2, remaining sum, the consumption amount of money, time (character string type), closing entries, rate 1 charging ammeter data, rate 2 charging ammeter datas, rate 1 charging ammeter data stop value, rate 2 charging ammeter data stop values.
Step 4.1 Surveillance center 1 reads the customer consumption record data, and the customer consumption record data are stored to memory device 3, and whether judges consumption record data successfully deposit memory device 3 in; If; Then jump to step 4.2, if not, then jump to step 4.1.1.
Step 4.1.1 Surveillance center 1 is stored in the customer consumption record data in its memory cache.
Step 4.1.2 Surveillance center 1 judges whether its memory cache is full, if, then jump to step 4.1.3, if not, then data are kept in the memory cache of Surveillance center 1, and jump to step 4.2.
The oldest record data in step 4.1.3 Surveillance center 1 its memory cache of deletion write and keep new customer consumption record data, and jump to step 4.2.
The customer consumption record data that whether remain to be preserved in its memory cache are judged by step 4.2 Surveillance center 1, if, then jump to step 4.3, if not, then jump to step 4.4.
Step 4.3 Surveillance center 1 is stored to the customer consumption record data in the memory cache in the memory device 3, and data in the deletion memory cache.
Step 4.4 Surveillance center 1 accomplishes the storage of customer consumption record data.
Step 5 Surveillance center 1 process user consumption record data.Electric automobile 4 is charged; If charging set 2 is found the not clearing of transaction of last time; Charging set 2 can not accomplished the customer consumption record of clearing to Surveillance center's 1 request, and Surveillance center 1 will send to charging set 2 with this consumption record, so that carry out settlement operations.
Step 6 Surveillance center 1 reads electric automobile 4 battery informations.
Electric automobile 4 battery informations comprise: the ceiling value of the current SOC of BMS status information (charging permission, charged state, equipment state), the current terminal voltage of electric battery, battery, electric battery nominal capacity, charging voltage, charging current limit value, the current maximum temperature of electric battery.
Step 7 Surveillance center 1 reads charging set 2 charge volume data.
Charging set 2 receives the ammeter data of ammeter on its 8 plugs in real time, and is sent to Surveillance center 1 through equipment state, and Surveillance center 1 reads the ammeter data of charging set 2.Step 1 is read and jumps in completion.
Above-mentioned ammeter data comprises: the rate 1 charging ammeter data of plug one to eight, the rate 2 charging ammeter datas of plug one to eight.The corresponding time-sharing ammeter of plug has two readings (rate 1 reading, rate 2 readings) on the every time-sharing ammeter.
Although content of the present invention has been done detailed introduction through above-mentioned preferred embodiment, will be appreciated that above-mentioned description should not be considered to limitation of the present invention.After those skilled in the art have read foregoing, for multiple modification of the present invention with to substitute all will be conspicuous.Therefore, protection scope of the present invention should be limited appended claim.