CN109586846A - Mainboard and from the communication means between plate inside a kind of direct-current charging post - Google Patents
Mainboard and from the communication means between plate inside a kind of direct-current charging post Download PDFInfo
- Publication number
- CN109586846A CN109586846A CN201811379720.8A CN201811379720A CN109586846A CN 109586846 A CN109586846 A CN 109586846A CN 201811379720 A CN201811379720 A CN 201811379720A CN 109586846 A CN109586846 A CN 109586846A
- Authority
- CN
- China
- Prior art keywords
- data
- byte
- received
- packet
- small set
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/004—Arrangements for detecting or preventing errors in the information received by using forward error control
- H04L1/0056—Systems characterized by the type of code used
- H04L1/0061—Error detection codes
-
- 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
- Y02T10/00—Road transport of goods or passengers
- Y02T10/60—Other road transportation technologies with climate change mitigation effect
- Y02T10/7072—Electromobility specific charging systems or methods for batteries, ultracapacitors, supercapacitors or double-layer capacitors
-
- 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
-
- 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/16—Information or communication technologies improving the operation of electric vehicles
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Communication Control (AREA)
Abstract
The present invention provides inside a kind of direct-current charging post mainboard and from the communication means between plate, and data packet is mutually sent and received between electric car and direct-current charging post;In transmitting terminal: being packaged to data, the command header of data is generated according to agreement, fills in check code in packet tail, the check code is to carry out XOR operation in data one by one;In receiving end: being unpacked to the data received, judge whether command header is the command header of agreement, if it is not, stopping receiving data, and abandon paid-in data;If it is, receiving data, and carried out XOR operation one by one to data are received, XOR operation is compared with the check code of packet tail, and if they are the same, then otherwise it is invalid data that is received, which is valid data,.There is any byte data mistake, can all cause the exclusive or value of operation to differ with the exclusive or value of data packet, the correctness of effective verify data in the validity of present invention verify data twice, data packet.Prevent the mistake of data.
Description
Technical field
The present invention relates to communications method regime, in particular to mainboard and from the communication between plate inside a kind of direct-current charging post
Mode.
Background technique
Increasingly depleted with world petroleum resource, the power source of automobile will have to the constraint for gradually getting rid of petroleum resources
And some new energy are used, this pushes directly on an important technical revolution of automobile industry, Future New Energy Source automobile substitution
Orthodox car trend will become inevitable.
Charging core of the automobile charging pile as New-energy electric vehicle, will also grow rapidly, and will expedite the emergence of out Pang therewith
Big industrial economy effect, the huge market space are generally had an optimistic view of in the industry.
Alternating current-direct current charging pile, since power is big, will can cause many safety issues to automobile charging process.How
The security risk for reducing charging is the thing of producer's highest attention.The end of the year in 2015 has issued new national standard, and new standard is to charging
Mouthful and communication protocol carried out the specification of comprehensive system, it is ensured that electric car and charging equipment interconnect.This is advantageous
In the general generality of entire electric car charging network.But currently, due to the influence of charging pile forceful electric power itself, direct-current charging post
Internal mainboard and from the communication between plate also due to the influence of forceful electric power, generates error code, influences the work of charging pile.
Summary of the invention
The present invention is directed to currently, charging pile electromagnetic environment itself is poor, may be led to charging pile inside mainboard and between plate
Letter impacts, and mainly may interfere with mainboard and from the communication between plate, makes mainboard and from generating higher error code between plate
Rate, and provide inside a kind of direct-current charging post mainboard and from the communication means between plate, this method guarantees inside direct-current charging post
Mainboard and reliable from data communication between plate.
The present invention realizes that its technical purpose technical solution is: mainboard and from the communication between plate inside a kind of direct-current charging post
Method mutually sends and receives data packet between electric car and direct-current charging post;
In transmitting terminal: data are packaged, the command header of data is generated according to agreement, fills in check code in packet tail, it is described
Check code is to carry out XOR operation in data one by one;
In receiving end: being unpacked to the data received, judge whether command header is the command header of agreement, if it is not, stopping connecing
Data are received, and abandon paid-in data;If it is, data are received, and carried out XOR operation one by one to data are received,
XOR operation is compared with the check code of packet tail, and if they are the same, then otherwise it is invalid data that is received, which is valid data,.
There is any byte data mistake, can all lead to operation in the validity of present invention verify data twice, data packet
Exclusive or value is differed with the exclusive or value of data packet, the correctness of effective verify data.Prevent the mistake of data.
Further, mainboard and from the communication means between plate inside above-mentioned direct-current charging post:
In transmitting terminal, pre-process first to the data to be sent: data to be sent are divided into the small of one group of continuous N byte
Group data, the also calculation a small group of last deficiency N byte, carry out XOR operation to each byte in every group of data, by operation knot
Fruit be put into the small set of data finally, formed N+1 byte pretreatment group;All pretreatment groups form data packet in order
In data field;
In receiving end, further includes the steps that valid data processing: the data in data packet being divided into continuous N+1 byte one and are handled
Data small set of data carries out XOR operation to each byte of the preceding N byte of each processing data small set of data, by operation result
Compared with N+1 byte in the processing data small set of data, if identical, N byte shape before the processing data small set of data is taken
At small set of data, when all processing data small set of data all form small set of data, composition, which becomes, receives data, otherwise loses
It abandons.
Below with reference to drawings and examples, the present invention is described in detail.
Detailed description of the invention
Fig. 1 is 1 flow chart of the embodiment of the present invention.
Fig. 2 is the data frame format figure of 1 embodiment 1 of the embodiment of the present invention.
Specific embodiment
The present embodiment is mainboard and from the communication means between plate inside a kind of direct-current charging post, due to by inside charging pile
The influence of electromagnetic environment, mainboard and high from the communication bit error rates between plate inside charging pile need to handle to receiving data.
If Fig. 1 shows, mainboard and it is in communication with each other from the communication between plate in the present embodiment, inside electric stake, is a kind of duplex communication, hair
One end of data is sent to be known as data sending terminal, receive data is known as receiving end, in transmitting terminal, to the data to be sent such as Fig. 2
It is shown to be packaged, data format: packet header (command header of agreement)+data length+command code+data (data+verification to be passed
Code (byte-by-byte carries out XOR operation in data), including, the command header of data in practice carries out about data command header
It is fixed, and in packet tail setting effect code, the present embodiment, check code is exclusive or value, and data are successively exactly carried out exclusive or and are obtained
The data arrived, it is placed on the last of data packet.In data receiver, when thering are data to need to receive, as shown in Figure 1, first
Carry out whether verify data frame is to need received data packet, that is, judge the packet whether packet header in data packet is due up
Head carries out testing for data after receiving data to avoid interference data receiver if correctly, then receiving, otherwise not receiving
Card, the validity of verify data, verification mode pass through the exclusive or value of data, and 1 byte data of data packet end is exclusive or value, receive
After, data are being carried out primary exclusive or one by one, then compare with the end byte of data packet, if the same, data
Packet is valid data.
Specifically send and receive step as shown in Figure 1:
First in transmitting terminal, pre-processed as follows to the data to be sent: data to be sent are divided into one group of continuous N byte
Small set of data, the also calculation a small group of last deficiency N byte carries out XOR operation to each byte in every group of data, will transport
Calculate result be put into the small set of data finally, formed N+1 byte pretreatment group;All pretreatment groups form number in order
According to the data field in packet.
Then, the data to be sent are transmitted in transmitting terminal: data is packaged, generate data according to agreement
Command header fills in check code in packet tail, and the check code is to carry out XOR operation in data one by one.
It after receiving end receives data packet, unpacks, then judges whether command header is the command header arranged, if not
It is to stop receiving data, and abandon paid-in data;If it is, receiving data, and carried out one by one to data are received
XOR operation, XOR operation is compared with the check code of packet tail, and if they are the same, then otherwise it is invalid number that is received, which is valid data,
According to.
Finally, the pretreatment for also needing to carry out for transmitting terminal in receiving end, is handled, is formed and receive data.It will count
It is divided into continuous N+1 byte one according to the data in packet and handles data small set of data, to the preceding N byte of each processing data small set of data
Each byte carry out XOR operation, by operation result compared with N+1 byte in the processing data small set of data, if phase
Together, then N byte before the processing data small set of data is taken to form small set of data, when all processing data small set of data all form
When small set of data, composition, which becomes, receives data, otherwise abandons.
In the present embodiment, communication data is segmented the verifying of exclusive or value plus whole exclusive or value verifying, after verifying overall data is errorless,
Every 10 byte datas carry out the verifying of exclusive or value, prevent data when the error occurs, and the data of mistake carry out exclusive or in whole frame data
Value verifying also by error situation, after data messy code, it is errorless more to can guarantee that the identifying code of data judges, guarantees the determination of data
Property.
In the present embodiment, there is any byte data mistake, can all cause to transport in the validity of verify data, data packet twice
The exclusive or value of calculation is differed with the exclusive or value of data packet, the correctness of effective verify data.Prevent the mistake of data.Make to count
According to transmit it is more reliable, exclude maloperation, in charging pile, maloperation may lead power supply export it is excessive, cause security risk,
Data packet it is reliable, make charging pile stability increase, control more secure and reliable.
Claims (2)
1. mainboard and from the communication means between plate inside a kind of direct-current charging post, mutually sends out between electric car and direct-current charging post
It send and received data packet;It is characterized by:
In transmitting terminal: data are packaged, the command header of data is generated according to agreement, fills in check code in packet tail, it is described
Check code is to carry out XOR operation in data one by one;
In receiving end: being unpacked to the data received, judge whether command header is the command header of agreement, if it is not, stopping connecing
Data are received, and abandon paid-in data;If it is, data are received, and carried out XOR operation one by one to data are received,
XOR operation is compared with the check code of packet tail, and if they are the same, then otherwise it is invalid data that is received, which is valid data,.
2. mainboard and from the communication means between plate inside direct-current charging post according to claim 1, it is characterised in that:
In transmitting terminal, pre-process first to the data to be sent: data to be sent are divided into the small of one group of continuous N byte
Group data, the also calculation a small group of last deficiency N byte, carry out XOR operation to each byte in every group of data, by operation knot
Fruit be put into the small set of data finally, formed N+1 byte pretreatment group;All pretreatment groups form data packet in order
In data field;
In receiving end, further includes the steps that valid data processing: the data in data packet being divided into continuous N+1 byte one and are handled
Data small set of data carries out XOR operation to each byte of the preceding N byte of each processing data small set of data, by operation result
Compared with N+1 byte in the processing data small set of data, if identical, N byte shape before the processing data small set of data is taken
At small set of data, when all processing data small set of data all form small set of data, composition, which becomes, receives data, otherwise loses
It abandons.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811379720.8A CN109586846A (en) | 2018-11-20 | 2018-11-20 | Mainboard and from the communication means between plate inside a kind of direct-current charging post |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811379720.8A CN109586846A (en) | 2018-11-20 | 2018-11-20 | Mainboard and from the communication means between plate inside a kind of direct-current charging post |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109586846A true CN109586846A (en) | 2019-04-05 |
Family
ID=65923206
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811379720.8A Pending CN109586846A (en) | 2018-11-20 | 2018-11-20 | Mainboard and from the communication means between plate inside a kind of direct-current charging post |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109586846A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113726742A (en) * | 2021-07-30 | 2021-11-30 | 昆山丘钛微电子科技股份有限公司 | Test authentication method, device, electronic equipment and medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101325468A (en) * | 2008-07-03 | 2008-12-17 | 浙江大学 | Mixed error-correcting method based on bidirectional odd-even check |
CN103595504A (en) * | 2013-11-04 | 2014-02-19 | 上海数字电视国家工程研究中心有限公司 | Encapsulation method and calibration method for data package |
CN104954104A (en) * | 2015-06-29 | 2015-09-30 | 众研凯博网络科技有限公司 | Network data transmission method |
CN105048016A (en) * | 2015-08-09 | 2015-11-11 | 安徽普为智能科技有限责任公司 | Charging method of direct-current charging pile |
CN106650835A (en) * | 2015-07-22 | 2017-05-10 | 深圳市远望谷信息技术股份有限公司 | Method for improving data transmission reliability in train number identification system |
CN106656424A (en) * | 2017-01-10 | 2017-05-10 | 西安蜂语信息科技有限公司 | Verification method of data transmission |
CN107294652A (en) * | 2016-04-13 | 2017-10-24 | 中兴通讯股份有限公司 | A kind of data mixing retransmission processing method and device |
-
2018
- 2018-11-20 CN CN201811379720.8A patent/CN109586846A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101325468A (en) * | 2008-07-03 | 2008-12-17 | 浙江大学 | Mixed error-correcting method based on bidirectional odd-even check |
CN103595504A (en) * | 2013-11-04 | 2014-02-19 | 上海数字电视国家工程研究中心有限公司 | Encapsulation method and calibration method for data package |
CN104954104A (en) * | 2015-06-29 | 2015-09-30 | 众研凯博网络科技有限公司 | Network data transmission method |
CN106650835A (en) * | 2015-07-22 | 2017-05-10 | 深圳市远望谷信息技术股份有限公司 | Method for improving data transmission reliability in train number identification system |
CN105048016A (en) * | 2015-08-09 | 2015-11-11 | 安徽普为智能科技有限责任公司 | Charging method of direct-current charging pile |
CN107294652A (en) * | 2016-04-13 | 2017-10-24 | 中兴通讯股份有限公司 | A kind of data mixing retransmission processing method and device |
CN106656424A (en) * | 2017-01-10 | 2017-05-10 | 西安蜂语信息科技有限公司 | Verification method of data transmission |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113726742A (en) * | 2021-07-30 | 2021-11-30 | 昆山丘钛微电子科技股份有限公司 | Test authentication method, device, electronic equipment and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107835040A (en) | A kind of method, equipment and the storage medium of the data communication based on bluetooth | |
CN103595661B (en) | Message fragmentation restructuring method and device | |
CN108810082A (en) | A kind of new-energy automobile control module remotely writes with a brush dipped in Chinese ink method | |
CN205722174U (en) | The system powered to electric power car | |
CN105471917A (en) | Data transmission method and system | |
CN107682859A (en) | Message treatment method and relevant device | |
CN104022857A (en) | Server engine frame design method based on multiple working modes | |
CN108933642B (en) | Downlink retransmission method based on code block grouping, base station and terminal | |
CN102571266A (en) | Method and device for checking cyclic redundancy of transmission block | |
CN106452684A (en) | Self-checking method for IEC61850 report data transmission message | |
CN107426770A (en) | Data communication method, data terminal and system based on data link layer | |
CN106911428A (en) | The transmission method and device of information | |
CN109495215A (en) | A kind of communication means of half-duplex bus, system and device and readable storage medium storing program for executing | |
CN109673050A (en) | Data-reusing transmission method, network side equipment and communication system | |
CN109586846A (en) | Mainboard and from the communication means between plate inside a kind of direct-current charging post | |
CN106656484B (en) | A kind of PCI cipher card drive system and its implementation | |
CN109274636B (en) | Data safety transmission method and device, system and train thereof | |
KR101639930B1 (en) | Communication device and communication method | |
CN103138919B (en) | A kind of key fill front-end system and method thereof | |
CN104376440A (en) | Automatic power grid dispatching electronic token confirming method based on network token issuing | |
CN102195943B (en) | Safety information interaction method and system | |
CN104410153B (en) | IEC62351 intelligent substation process layer intelligent electronic device communication method and communication system | |
CN103346961B (en) | The method and system that a kind of data packing is exchanged | |
CN110113100A (en) | A kind of visible light communication device and method for Ethernet data transmission | |
CN104426866B (en) | A kind of data transmission method and device |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20190405 |
|
WD01 | Invention patent application deemed withdrawn after publication |