CN106941434A - The detecting system and method for a kind of communication message - Google Patents
The detecting system and method for a kind of communication message Download PDFInfo
- Publication number
- CN106941434A CN106941434A CN201710253996.0A CN201710253996A CN106941434A CN 106941434 A CN106941434 A CN 106941434A CN 201710253996 A CN201710253996 A CN 201710253996A CN 106941434 A CN106941434 A CN 106941434A
- Authority
- CN
- China
- Prior art keywords
- communication message
- message
- communication
- module
- under test
- 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
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60L—PROPULSION OF ELECTRICALLY-PROPELLED VEHICLES; SUPPLYING ELECTRIC POWER FOR AUXILIARY EQUIPMENT OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRODYNAMIC BRAKE SYSTEMS FOR VEHICLES IN GENERAL; MAGNETIC SUSPENSION OR LEVITATION FOR VEHICLES; MONITORING OPERATING VARIABLES OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRIC SAFETY DEVICES FOR ELECTRICALLY-PROPELLED VEHICLES
- B60L53/00—Methods of charging batteries, specially adapted for electric vehicles; Charging stations or on-board charging equipment therefor; Exchange of energy storage elements in electric vehicles
- B60L53/60—Monitoring or controlling charging stations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0852—Delays
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/12—Network monitoring probes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/50—Testing arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L2012/40208—Bus networks characterized by the use of a particular bus standard
- H04L2012/40215—Controller Area Network CAN
-
- 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
Abstract
The invention discloses a kind of detecting system of communication message and method, the first communication message that equipment under test is sent is received by CAN module, determined by detection module after the second communication message, second communication message is sent by CAN module, simulate the packet sending and receiving process in charging process, each first communication message sent by detection module to equipment under test is detected, it ensure that the accuracy for each the first communication message that follow-up equipment under test is sent during charging is performed, it efficiently avoid and interrupted present in prior art due to being charged caused by the reason such as communication message is inaccurate, the problems such as charging failure.
Description
Technical field
The present invention relates to the detecting system and method for technical field of new energy, more particularly to a kind of communication message.
Background technology
In recent years, the enhancing with people's environmental consciousness and the guiding of national policy, increasing people select electronic vapour
Car is as walking-replacing tool, and the major issue that electric automobile faces is exactly charging problems.At present, regional is large-scale
Build electrically-charging equipment, such as, single flow charging pile, AC system charging pile, integral type charging pile etc., to meet the use need of people
Ask.
In actual applications, charging process when charging pile is charged for electric automobile mainly includes six stages, i.e.,
Physical connection completes stage, low pressure auxiliary power up phase, charging handshake phase, charge parameter configuration phase, charging stage and filled
Electric ending phase.In the various stages, communicated, during this period, filled by receiving and dispatching message between charging pile and electric automobile
When electric stake or electric automobile detect the presence of mistake, error message can be sent.Now, the wrong class that can be shown according to error message
Type carries out corresponding troubleshooting.
Based on above-mentioned analysis, to ensure that charging pile can be quickly and efficiently charging electric vehicle, it is necessary to charging pile
Communication between electric automobile efficiently can be carried out smoothly, and the main precision with communication message that efficiently smoothly communicates
Based on, moreover, the Accuracy and high efficiency to ensure troubleshooting, it is necessary to the mistake that charging pile or electric automobile are sent
The precision of message is higher, and this detection for allowing for the communication message between charging pile and electric automobile becomes particularly important, existing
Have in technology, the detection to the communication message between charging pile and electric automobile is also not implemented, be electronic vapour in charging pile so
During car is charged, it is likely that exist due to caused by the reason such as communication message is inaccurate charging interrupt, charging failure
The problems such as, it is also possible to exist because fault location mistake, troubleshooting are inaccurate etc. caused by the reason such as error message is inaccurate
Problem.
The content of the invention
The embodiments of the invention provide a kind of detecting system of communication message and method, to solve to exist in the prior art
Due to caused by the reason such as communication message is inaccurate charging interrupt, charging failure the problems such as.
Concrete technical scheme provided in an embodiment of the present invention is as follows:
A kind of detecting system of communication message, including:CAN module, and detection module, wherein,
CAN module, for receive equipment under test transmission the first communication message, and by the first communication message send to
Detection module;The second communication message that detection module is sent is received, and the second communication message is sent to equipment under test, quilt is triggered
Measurement equipment sends next first communication message;
Detection module, is connected with CAN module, for judging whether the first communication message meets for the first communication
The requirement of standard that message is pre-set, and determine whether the first communication message detects based on judged result and pass through.
Preferably, said detecting system also includes:Communication module, wherein, communication module is connected with detection module, uses
In under the control of detection module, the testing result of the first communication message and the first communication message is exported to control device.
Preferably, communication module, including:Isolating transformer and physical chip, wherein,
Isolating transformer, primary side is connected with physical chip, and secondary is connected with control device, for physical layer core
Piece and control device carry out electrical isolation;
Physical chip, is connected with detection module, for by the detection knot of the first communication message and the first communication message
Fruit output is to control device, and receiving control apparatus is in the whether correct rear behaviour returned of testing result for verifying the first communication message
Instruct, and corresponding operating is performed based on operational order.
Preferably, CAN module, including:Insulating power supply module and transceiver, wherein,
Insulating power supply module, input be connected with transceiver and with transceiver altogether, output end is connected with equipment under test
Connect and with equipment under test altogether, for carrying out not isolating to transceiver and equipment under test altogether;
Transceiver, is connected with detection module, for receiving the first communication message of equipment under test transmission, and first is led to
Letter message is sent to detection module after being converted to the first data form of detection module identification;Receive detection module is sent second
Communication message, and by the second communication message be converted to equipment under test identification the second data form after send to equipment under test.
Preferably, detection module, including:FPGA and ARM, wherein,
FPGA, is connected with ARM, for receiving timestamp for the addition of the first communication message, and is the second communication message
Addition sends timestamp;
ARM, is connected between CAN module and communication module, for judging it is following whether the first communication message meets
Condition:The standard traffic message matched with the first communication message is found in the standard traffic message store pre-established, and
And, the transmission timestamp sign for receiving time and upper second communication message for receiving timestamp sign of the first communication message
The transmission time between time difference be not more than predetermined threshold value;If so, then assert that the detection of the first communication message passes through, and to CAN
Bus module sends the second communication message;Otherwise, assert that the detection of the first communication message does not pass through.
Preferably, ARM, is additionally operable to:Various exception messages are generated, will be abnormal in the case of often generating a kind of exception message
Message is sent to equipment under test by CAN module, and receives equipment under test to exception message sign by CAN module
Abnormal conditions diagnosed after the error message that returns, and, determine that the diagnostic result that error message is characterized is diagnosed with expected
As a result in the case of consistent, assert that equipment under test characterizes abnormal conditions diagnosis to exception message errorless.
In said detecting system provided in an embodiment of the present invention, equipment under test is sent the is received by CAN module
One communication message, is determined after the second communication message by detection module, and the second communication message, simulation are sent by CAN module
Packet sending and receiving flow in charging process, moreover, it is also possible to which each sent to equipment under test by detection module first leads to
Letter message is detected, it is ensured that the standard for each the first communication message that follow-up equipment under test is sent during charging is performed
True property, efficiently avoid due to caused by the reason such as communication message is inaccurate charging interrupt, charging failure the problems such as.In addition,
The testing result of the first communication message and the first communication message can also be exported by communication module, is set with realizing with external control
Standby data transfer.
A kind of detection method of communication message, including:
Receive the first communication message that equipment under test is sent;
Judge whether the first communication message meets the standard requirement pre-set for the first communication message;
Based on judged result, determine whether the first communication message detects and pass through.
Preferably, judging whether the first communication message meets the standard requirement pre-set for the first communication message, bag
Include:Judge the first communication message whether while meeting following condition:
The standard traffic message matched with the first communication message is found in the standard traffic message store pre-established;
The time difference received between time and the transmission time of upper second communication message of first communication message is little
In predetermined threshold value.
Preferably, if it is determined that not finding the mark matched with the first communication message in the standard message storehouse pre-established
Quasi- communication message, then assert that the detection of the first communication message does not pass through;If it is determined that the first communication message with the standard pre-established
The standard traffic message found in message store is mismatched, then assert that the detection of the first communication message does not pass through;If it is determined that first is logical
Believe that the time difference received between time and the transmission time of upper second communication message of message is more than predetermined threshold value, then assert
The detection of first communication message does not pass through.
Preferably, based on judged result, after determining whether first communication message detects and pass through, further comprise:
The testing result of first communication message and the first communication message is exported to control device, and receiving control apparatus exists
The whether correct rear operational order returned of testing result of the first communication message is verified, and corresponding behaviour is performed based on operational order
Make.
Preferably, also including during the first communication message is detected:Various exception messages are generated, are often generated a kind of different
In the case of normal message, exception message is sent to equipment under test, and receive the abnormal feelings that equipment under test is characterized to exception message
The error message that condition is returned after being diagnosed, and, determine that the diagnostic result that error message is characterized is consistent with expected diagnostic result
In the case of, assert that equipment under test characterizes abnormal conditions diagnosis to exception message errorless.
In the detection method of above-mentioned communication message provided in an embodiment of the present invention, received by the message during analog charge
Flow is sent out, the detection of each communication message that equipment under test is sent in charging process can be realized, it is ensured that be follow-up in charging
During the accuracy of each communication message that sends of equipment under test, efficiently avoid due to the reason such as communication message is inaccurate
The problems such as caused charging is interrupted, charging fails.
Brief description of the drawings
Fig. 1 is one of structural representation of detecting system of communication message in the embodiment of the present invention;
Fig. 2 is the two of the structural representation of the detecting system of communication message in the embodiment of the present invention;
Fig. 3 is the overview schematic flow sheet of the detection method of communication message in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, is not whole embodiments.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of protection of the invention.
It should be noted that the equipment under test being previously mentioned in the embodiment of the present invention can be charging pile or electronic
The charging communication system of automobile, wherein, the first communication message and the second communication message are also not specific to specific communication message, but
Message transmitted by the different sender of expression, specifically, the communication message that equipment under test is sent are the first communication message, inspection
The communication message that examining system is sent is the second communication message, such as, if equipment under test is charging pile, the communication that charging pile is sent
Message is the first communication message, and the communication message that detecting system is sent is the second communication message, if equipment under test is electric automobile
Charging communication system, then electric automobile charging communication system send communication message be the first communication message, detecting system
The communication message of transmission is the second communication message.
Based on this, the embodiments of the invention provide a kind of detecting system of communication message, refering to shown in Fig. 1, including:Control
Device LAN (Controller Area Network, CAN) bus module 110, and detection module 120, wherein,
CAN module 110, the first communication message for receiving equipment under test transmission, and the first communication message is sent out
Deliver to detection module 120;The second communication message that detection module 120 is sent is received, and the second communication message is sent to tested
Equipment, triggering equipment under test sends next first communication message;
Detection module 120, is connected with CAN module 110, for judging whether the first communication message meets for
The requirement of standard that one communication message is pre-set, and determine whether the first communication message detects based on judged result and pass through.
In the specific implementation, in order to realize said detecting system and computer or other smart machines etc. control set
Standby communication, such as shown in Fig. 2, said detecting system provided in an embodiment of the present invention also includes:Communication module 130, wherein, lead to
Believe module 130, be connected with detection module 120, under the control of detection module 120, by the first communication message and first
The testing result of communication message is exported to control device.Alternatively, detection module 120 can be it is determined that the first communication message be detected
Not in the case of, the testing result of the first communication message and the first communication message is sent to communication module 130, control is logical
Letter module 130 exports the testing result of the first communication message and the first communication message to control device, by control device to the
Whether one communication message makees further detection, correct with the testing result for determining the first communication message.
Preferably, communication module 130, including:Isolating transformer 131 and physical chip 132, wherein,
Isolating transformer 131, primary side is connected with physical chip 132, and secondary is connected with control device, for thing
Manage layer chip 132 and control device carries out electrical isolation;
Physical chip 132, is connected with detection module 120, for by the first communication message and the first communication message
Testing result is exported to control device, and receiving control apparatus is returned after whether the testing result for verifying the first communication message is correct
The operational order returned, and corresponding operating is performed based on operational order.
In the specific implementation, in said detecting system provided in an embodiment of the present invention, by CAN CAN can be made total
Wire module 110 is connected with equipment under test, and makes communication module 130 and computer or other smart machines by RJ45 interfaces
It is connected Deng control device.Completed in physical connection and after upper electricity, user can be received by communication module 130 and pass through computer
Or the test parameter of other smart machine inputs, each standard traffic message, and operational order etc., in the first communication message
, can be under the control of detection module 120, by communication module 130 by the first communication message and the first message after detection is finished
Testing result is exported to the control device such as computer or other smart machines, meanwhile, it can be connect by CAN module 110
The second message for receiving and forwarding the first communication message and detection module 120 that equipment under test is sent to send.
In the specific implementation, the CAN module 110 in said detecting system provided in an embodiment of the present invention can have many
Plant concrete structure and realize its function, such as shown in Fig. 2, can specifically include:Insulating power supply module 111 and transceiver 112, its
In,
Insulating power supply module 111, input be connected with transceiver 112 and with transceiver 112 altogether, output end with it is tested
Equipment be connected and with equipment under test altogether, for carrying out not isolating to transceiver 112 and equipment under test altogether;
Transceiver 112, is connected with detection module 120, the first communication message for receiving equipment under test transmission, and will
First communication message is sent to detection module 120 after being converted to the first data form of the identification of detection module 120;Receive detection mould
The second communication message that block 120 is sent, and the second communication message is converted into hair after the second data form that equipment under test is recognized
Deliver to equipment under test.
In the specific implementation, the detection module 120 in said detecting system provided in an embodiment of the present invention can have a variety of
Such as concrete structure realizes its function, shown in Fig. 2, can specifically include:Field programmable gate array (Field-
Programmable Gate Array, FPGA) 121 and microprocessor (Advanced RISC Machines, ARM) 122, its
In,
FPGA 121, is connected with ARM 122, for receiving timestamp for the addition of the first communication message, and is second
Communication message addition sends timestamp;
ARM 122, is connected between CAN module 110 and communication module 130, for judging that the first communication message is
It is no to meet following condition:The standard matched with the first communication message is found in the standard traffic message store pre-established to lead to
Believe message, also, the transmission for receiving time and upper second communication message for receiving timestamp sign of the first communication message
Time difference between the transmission time that timestamp is characterized is not more than predetermined threshold value;If so, then assert that the detection of the first communication message is logical
Cross, and the second communication message is sent to CAN module 110;Otherwise, assert that the detection of the first communication message does not pass through.Specifically,
It is determined that when there is any one following situation, assert that the detection of the first communication message does not pass through:(1) in the standard message pre-established
The standard traffic message matched with the first communication message is not found in storehouse;(2) first communication messages are with pre-establishing
The standard traffic message found in standard message storehouse is mismatched;The reception time of (3) first communication messages with upper one second
Time difference between the transmission time of communication message is more than predetermined threshold value.
In the specific implementation, detected in order to the abnormal conditions diagnostic function to equipment under test, the present invention is implemented
ARM 122 in the above-mentioned detection module 120 that example is provided, it may also be used for:Various exception messages are generated, a kind of abnormal report is often generated
In the case of text, exception message is sent to equipment under test by CAN module 110, and connect by CAN module 110
The error message that the abnormal conditions that receipts equipment under test is characterized to exception message are returned after diagnosing, and, determine error message
In the case that the diagnostic result of sign is consistent with expected diagnostic result, assert that equipment under test characterizes abnormal conditions to exception message and examined
It is disconnected errorless.
In said detecting system provided in an embodiment of the present invention, receive what equipment under test was sent by CAN module 110
First communication message, is determined after the second communication message by detection module 120, and sending the second communication by CAN module 110 reports
Text, simulates the packet sending and receiving flow in charging process, moreover, it is also possible to equipment under test is sent by detection module 120
Each first communication message is detected, it is ensured that follow-up equipment under test sent during charging is performed each first lead to
Believe the accuracy of message, efficiently avoid because charging is interrupted, charged unsuccessfully etc. caused by the reason such as communication message is inaccurate
Problem.
Based on same inventive concept, the embodiment of the present invention additionally provides a kind of communication message applied to said detecting system
Detection method, refering to shown in Fig. 3, the flow of the detection method of communication message is as follows:
Step 300:Receive the first communication message that equipment under test is sent.
In the specific implementation, after detecting system and equipment under test complete physical connection and upper electricity, you can triggering communication report
The testing process of text, now, equipment under test can send the first communication message to detecting system, and detecting system receives tested set
After the first communication message that preparation is sent, you can first communication message is detected.
Step 301:Judge whether the first communication message meets the standard requirement pre-set for the first communication message.
During specific implementation, following two conditions can be included but is not limited to for the standard requirement that the first communication message is pre-set:(1)
The standard traffic message matched with the first communication message is found in the standard traffic message store pre-established.(2) first
Time difference between the reception time of communication message and the transmission time of upper second communication message is not more than predetermined threshold value.
Step 302:Based on judged result, determine whether the first communication message detects and pass through.
In the specific implementation, it is understood that there may be but it is not limited to following two situations:
The first situation:Detecting system is based on judged result, assert that the detection of the first communication message passes through, the even first communication
Message meets following two conditions simultaneously, then detecting system can be assumed that the detection of the first communication message passes through:(1) pre-establishing
Standard traffic message store in find the standard traffic message matched with the first communication message;(2) first communication messages
Time difference between reception time and the transmission time of upper second communication message is not more than predetermined threshold value.
For example:In charging handshake phase, by sending handshake message between electric automobile and charging pile, communication link is realized
Connect, below using charging pile as equipment under test, and the first communication message is the BHM handshake message that equipment under test (i.e. charging pile) is sent
Exemplified by illustrate.
Detecting system is received after BHM handshake message, however, it is determined that BHM handshake message meets following two conditions simultaneously, then
It can be assumed that the detection of BHM handshake message passes through:
Condition 1:The standard matched with BHM handshake message can be found in the standard traffic message store pre-established
BHM handshake message.
Condition 2:The time difference received between time and the transmission time of a upper CHM handshake message of BHM handshake message
No more than 5 seconds (i.e. predetermined threshold value).
The first situation:Detecting system is based on judged result, assert that the detection of the first communication message does not pass through, even first leads to
Believe that message meets any one following condition, then detecting system can be assumed that the detection of the first communication message does not pass through:(1) advance
The standard traffic message matched with the first communication message is not found in the standard message storehouse of foundation;(2) first communication messages
With the standard traffic message mismatch found in the standard message storehouse pre-established;During the reception of (3) first communication messages
Between time difference between the transmission time of upper second communication message be more than predetermined threshold value.
For example:Continue to use the example above, detecting system is received after BHM handshake message, however, it is determined that BHM handshake message meet with
Any one lower condition, the then it can be assumed that detection of BHM handshake message does not pass through:
Condition 1:The standard matched with BHM handshake message is not found in the standard traffic message store pre-established
BHM handshake message.
Condition 2:BHM handshake message and the standard BHM found in the standard traffic message store pre-established shake hands report
Text is mismatched.
Condition 3:The time difference received between time and the transmission time of a upper CHM handshake message of BHM handshake message
More than 5 seconds (i.e. predetermined threshold value).
Further, can also be by the first communication message and the after detecting system is completed to the detection of the first communication message
The testing result of one communication message is exported to the control device such as computer or other smart machines, and specifically, detecting system can
So that after it is determined that the detection of the first communication message is obstructed, the first communication message and the first communication message to be detected to the detection not passed through
As a result export to control device, now, control device can make further inspection for the first communication message, that is, judge that first leads to
Whether letter message does not meet the standard requirement pre-set for the first communication message really, if control device assert that first communicates
Message does not meet the standard requirement pre-set for the first communication message really, and control device can be shown for table to user
The prompt message that the first communication message is not inconsistent standardization requirement is levied, now, user can be according to the prompt message on the control device
Input corresponding operational order, control device is got after the operational order that user inputs for the first communication message, can be by
The operational order is back to detecting system, and detecting system is received after the operational order of control device return, can be based on the operation
Instruction performs corresponding operating;If the communication message of control device identification first meets what is pre-set for the first communication message really
Standard requirement, control device can return to corresponding operational order, detection system directly against the first communication message to detecting system
System is received after the operational order of control device return, can perform corresponding operating based on the operational order.
For example:Assuming that detecting system assert that the detection of BHM handshake message does not pass through, then detecting system will can be received
The test result that BHM handshake message and the test of BHM handshake message do not pass through is sent to computer (i.e. control device), and computer can
To make further detection for BHM handshake message, if computer assert that BHM handshake message is not inconsistent standardization requirement really, calculate
Machine can show that one is used to characterize the prompt message that the test of BHM handshake message does not pass through to user, and now, user can calculate
Corresponding operational order is inputted on machine, such as, exits test instruction, the test of exiting that computer gets user input is instructed
Afterwards, this is exited into test instruction to send to test system, what test system received that computer issues exits after test instruction, can
Directly exit the testing process of communication message.If computer assert BHM handshake message meet standard requirement, computer can directly to
Test system issues continuation and tests instruction, and test system is received after the continuation test instruction that computer is issued, continued executing with logical
Believe the testing process of message.
Preferably, in order to realize that the abnormal conditions diagnostic function to equipment under test detects that test system is right
During each first communication message that equipment under test is sent is detected, various exception messages can also be generated, are often generated
In the case of a kind of exception message, exception message is sent to equipment under test.In the case, equipment under test can be to exception message
The abnormal conditions of sign are diagnosed, and in the form of error message return diagnostic result, so, if test system receive by
The error message that the abnormal conditions that measurement equipment is characterized to exception message are returned after diagnosing, can be it is determined that error message be characterized
Diagnostic result it is consistent with expected diagnostic result in the case of, assert that equipment under test characterizes abnormal conditions diagnosis nothing to exception message
By mistake.Certainly, test system can also by control the second communication message the transmission time, triggering equipment under test to second communication report
Text carries out overtime diagnosis, and specifically, test system can not send the second communication message, or, delay sends second and communicated
Message (wherein, will send the second communication message after predetermined threshold value and regard as the second communication message of delay transmission), in this feelings
Under condition, equipment under test needs to return to the error message of a sign time-out error, so, and test system can be with according to whether receive
The error message of the sign time-out error returned to equipment under test, or, the false alarm returned according to the equipment under test received
Whether text characterizes time-out error, to assert that diagnosis of the equipment under test to time-out error whether there is mistaken diagnosis.
In summary, in the embodiment of the present invention, by the packet sending and receiving flow during analog charge, it can realize and fill
The detection for each communication message that equipment under test is sent in electric process, it is ensured that equipment under test is sent subsequently in charging process
The accuracy of each communication message, efficiently avoid due to caused by the reason such as communication message is inaccurate charging interrupt, charging
The problems such as failure.Further, by sending exception message and the transmission by the second communication message of control to equipment under test
Time, it is capable of detecting when whether diagnosis of the equipment under test to abnormal conditions be wrong, is the follow-up equipment under test pair in charging process
The diagnosis of abnormal conditions provides good basis, efficiently avoid because the error message that equipment under test is generated inaccurately causes
Fault location mistake, the problem of troubleshooting is inaccurate.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the present invention can be using the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Apply the form of example.Moreover, the present invention can be used in one or more computers for wherein including computer usable program code
The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product
Figure and/or block diagram are described.It should be understood that every one stream in flow chart and/or block diagram can be realized by computer program instructions
Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which is produced, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, thus in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
, but those skilled in the art once know basic creation although preferred embodiments of the present invention have been described
Property concept, then can make other change and modification to these embodiments.So, appended claims are intended to be construed to include excellent
Select embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification without departing from this hair to the embodiment of the present invention
The spirit and scope of bright embodiment.So, if these modifications and modification of the embodiment of the present invention belong to the claims in the present invention
And its within the scope of equivalent technologies, then the present invention is also intended to comprising including these changes and modification.
Claims (11)
1. a kind of detecting system of communication message, it is characterised in that including:Controller local area network's CAN module, Yi Jijian
Module is surveyed, wherein,
The CAN module, the first communication message for receiving equipment under test transmission, and first communication message is sent out
Deliver to the detection module;The second communication message that the detection module is sent is received, and second communication message is sent
To the equipment under test, trigger the equipment under test and send next first communication message;
The detection module, is connected with the CAN module, is directed to for judging whether first communication message meets
The standard requirement that first communication message is pre-set, and determine whether first communication message detects based on judged result
Pass through.
2. detecting system as claimed in claim 1, it is characterised in that also include:Communication module, wherein, the communication module,
It is connected with the detection module, under the control of the detection module, by first communication message and described first
The testing result of communication message is exported to control device.
3. detecting system as claimed in claim 2, it is characterised in that the communication module, including:Isolating transformer and physics
Layer chip, wherein,
The isolating transformer, primary side is connected with the physical chip, and secondary is connected with the control device, for pair
The physical chip and the control device carry out electrical isolation;
The physical chip, is connected with the detection module, for first communication message and described first to be communicated
The testing result of message is exported to the control device, and receives inspection of the control device in checking first communication message
The whether correct rear operational order returned of result is surveyed, and corresponding operating is performed based on the operational order.
4. the detecting system as described in claim any one of 1-3, it is characterised in that the CAN module, including:Isolation
Power module and transceiver, wherein,
The insulating power supply module, input be connected with the transceiver and with the transceiver altogether, output end with it is described
Equipment under test be connected and with the equipment under test altogether, for the transceiver and the equipment under test are carried out not altogether every
From;
The transceiver, is connected with the detection module, for receiving the first communication report that the equipment under test is sent
Text, and send to the detection mould after first communication message is converted into the first data form of detection module identification
Block;Second communication message that the detection module is sent is received, and second communication message is converted into described be tested
Sent after second data form of equipment identification to the equipment under test.
5. detecting system as claimed in claim 3, it is characterised in that the detection module, including:Field programmable gate
Array FPGA and microprocessor ARM, wherein,
The FPGA, is connected with the ARM, for receiving timestamp for first communication message addition, and is described
The addition of second communication message sends timestamp;
The ARM, is connected between the CAN module and the communication module, for judging first communication message
Whether following condition is met:Find what is matched with first communication message in the standard traffic message store pre-established
Standard traffic message, also, first communication message reception timestamp characterize the reception time communicated with upper one second
Time difference between the transmission time that the transmission timestamp of message is characterized is not more than predetermined threshold value;If so, then assert described first
Communication message detection passes through, and sends second communication message to the CAN module;Otherwise, assert that described first leads to
Letter packet check does not pass through.
6. detecting system as claimed in claim 5, it is characterised in that the ARM, is additionally operable to:Various exception messages are generated, often
In the case of generating a kind of exception message, the exception message is sent to the equipment under test by the CAN module,
And received after the abnormal conditions that the equipment under test characterizes to the exception message are diagnosed and return by the CAN module
The error message returned, and, in the case of determining that the diagnostic result of the error message sign is consistent with expected diagnostic result, recognize
It is errorless that the fixed equipment under test characterizes abnormal conditions diagnosis to the exception message.
7. a kind of detection method for the communication message for being applied to the detecting system as described in claim any one of 1-6, its feature
It is, including:
Receive the first communication message that equipment under test is sent;
Judge whether first communication message meets the standard requirement pre-set for first communication message;
Based on judged result, determine whether first communication message detects and pass through.
8. method as claimed in claim 7, it is characterised in that judge whether first communication message meets for described
The standard requirement that one communication message is pre-set, including:Judge first communication message whether while meeting following condition:
The standard traffic message matched with first communication message is found in the standard traffic message store pre-established;
The time difference received between time and the transmission time of upper second communication message of first communication message is little
In predetermined threshold value.
9. method as claimed in claim 8, it is characterised in that if it is determined that not found in the standard message storehouse pre-established
The standard traffic message matched with first communication message, then assert that the first communication message detection does not pass through;If really
Fixed first communication message and the standard traffic message found in the standard message storehouse pre-established are mismatched, then are assert
The first communication message detection does not pass through;If it is determined that the reception time of first communication message and upper one second report that communicates
Time difference between the transmission time of text is more than the predetermined threshold value, then assert that the first communication message detection does not pass through.
10. whether method as claimed in claim 7, it is characterised in that based on judged result, determine first communication message
After detection passes through, further comprise:
The testing result of first communication message and first communication message is exported to control device, and receives the control
The operational order that control equipment is returned after whether the testing result for verifying first communication message is correct, and based on the behaviour
Make instruction and perform corresponding operating.
11. the method as described in claim any one of 7-10, it is characterised in that also include:Various exception messages are generated, are often given birth to
In the case of a kind of exception message, the exception message is sent to the equipment under test, and receives the equipment under test pair
The error message that the abnormal conditions that the exception message is characterized are returned after being diagnosed, and, determine that the error message is characterized
Diagnostic result it is consistent with expected diagnostic result in the case of, assert that the equipment under test characterizes abnormal feelings to the exception message
Condition diagnosis is errorless.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710253996.0A CN106941434A (en) | 2017-04-18 | 2017-04-18 | The detecting system and method for a kind of communication message |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710253996.0A CN106941434A (en) | 2017-04-18 | 2017-04-18 | The detecting system and method for a kind of communication message |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106941434A true CN106941434A (en) | 2017-07-11 |
Family
ID=59463121
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710253996.0A Pending CN106941434A (en) | 2017-04-18 | 2017-04-18 | The detecting system and method for a kind of communication message |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106941434A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108237945A (en) * | 2018-03-15 | 2018-07-03 | 重庆国翰能源发展有限公司 | A kind of alternating-current charging pile, electric vehicle information interaction system |
CN109889512A (en) * | 2019-01-31 | 2019-06-14 | 国网北京市电力公司 | A kind of method for detecting abnormality and device of charging pile CAN message |
CN110001449A (en) * | 2019-04-19 | 2019-07-12 | 恒大智慧充电科技有限公司 | Charging unit, charge control method, computer equipment and storage medium |
CN111224917A (en) * | 2018-11-23 | 2020-06-02 | 广州汽车集团股份有限公司 | Automobile gateway firewall message health check method, gateway device and automobile |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1863102A (en) * | 2005-12-28 | 2006-11-15 | 华为技术有限公司 | System and method for testing apparatus based on managing information base |
CN104125113A (en) * | 2014-07-30 | 2014-10-29 | 国家电网公司 | Method for testing consistency on a protocol for electric automobile charger and battery management system |
CN104882917A (en) * | 2015-04-13 | 2015-09-02 | 国家电网公司 | Method and system for controlling charging device |
CN105553771A (en) * | 2015-12-16 | 2016-05-04 | 国网北京市电力公司 | Message detection method and apparatus |
CN206673990U (en) * | 2017-04-18 | 2017-11-24 | 北京博电新力电气股份有限公司 | A kind of detecting system of communication message |
-
2017
- 2017-04-18 CN CN201710253996.0A patent/CN106941434A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1863102A (en) * | 2005-12-28 | 2006-11-15 | 华为技术有限公司 | System and method for testing apparatus based on managing information base |
CN104125113A (en) * | 2014-07-30 | 2014-10-29 | 国家电网公司 | Method for testing consistency on a protocol for electric automobile charger and battery management system |
CN104882917A (en) * | 2015-04-13 | 2015-09-02 | 国家电网公司 | Method and system for controlling charging device |
CN105553771A (en) * | 2015-12-16 | 2016-05-04 | 国网北京市电力公司 | Message detection method and apparatus |
CN206673990U (en) * | 2017-04-18 | 2017-11-24 | 北京博电新力电气股份有限公司 | A kind of detecting system of communication message |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108237945A (en) * | 2018-03-15 | 2018-07-03 | 重庆国翰能源发展有限公司 | A kind of alternating-current charging pile, electric vehicle information interaction system |
CN111224917A (en) * | 2018-11-23 | 2020-06-02 | 广州汽车集团股份有限公司 | Automobile gateway firewall message health check method, gateway device and automobile |
CN111224917B (en) * | 2018-11-23 | 2021-11-23 | 广州汽车集团股份有限公司 | Automobile gateway firewall message health check method, gateway device and automobile |
CN109889512A (en) * | 2019-01-31 | 2019-06-14 | 国网北京市电力公司 | A kind of method for detecting abnormality and device of charging pile CAN message |
CN109889512B (en) * | 2019-01-31 | 2022-07-29 | 国网北京市电力公司 | Charging pile CAN message abnormity detection method and device |
CN110001449A (en) * | 2019-04-19 | 2019-07-12 | 恒大智慧充电科技有限公司 | Charging unit, charge control method, computer equipment and storage medium |
CN110001449B (en) * | 2019-04-19 | 2021-06-29 | 恒大恒驰新能源汽车研究院(上海)有限公司 | Charging device, charging control method, computer device, and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN206673990U (en) | A kind of detecting system of communication message | |
CN107045663B (en) | Visual online checking system and method for secondary safety measure operation ticket | |
CN104569891B (en) | A kind of system and its method of testing for testing equipment for monitoring power quality | |
CN105652852B (en) | A kind of Inspection and monitoring system of high voltage transducer power unit and its mainboard | |
CN106941434A (en) | The detecting system and method for a kind of communication message | |
CN103326469B (en) | Method and device for monitoring GOOSE communication status of intelligent substation | |
US20160335391A1 (en) | Method and system for interacting rail transit vehicle commissioning task information | |
CN108470193A (en) | Electrical energy meter fault diagnostic method, system and terminal device | |
CN109142965A (en) | A kind of big data fusion distribution network failure is accurately positioned new method and its device | |
CN104680905B (en) | A kind of teaching process automatic monitoring system and monitoring method for being applied to experimental teaching | |
CN103568863A (en) | Real-time monitoring diagnostic system and diagnostic method for electromobile battery management system | |
CN106405286B (en) | The automatic test approach and system of quality monitoring device of electrical energy | |
CN105137958B (en) | The detection means and detection method of power supply master control borad under railcar | |
CN104391244A (en) | Closed loop test method of relay protection apparatus and system thereof | |
CN105203980A (en) | Electric energy quality self-inspection system and self-inspection method thereof | |
CN107608291A (en) | A kind of intelligent substation application function linkage rule verification method and system | |
CN105680441B (en) | Simulation based on stimulated replacement technology is to a device | |
CN102508754B (en) | Method for detecting 1553B communication interface | |
CN111123009A (en) | Intelligent substation avalanche testing method and system based on SCD file and terminal equipment | |
CN103869243B (en) | Low pressure microcomputer protecting controller operation panel relay intelligent method of calibration | |
CN111520191A (en) | Testing device and testing method for digital coal mine safety monitoring system | |
CN111030301B (en) | Method for checking correlation of scheduling automation information points | |
CN108445286A (en) | A kind of three-phase four-wire system electrical energy meter fault simulator | |
CN207232351U (en) | A kind of alternating-current charging pile electric fault simulation system | |
CN115729217A (en) | Test system for controlling full link of thyristor converter valve |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170711 |
|
RJ01 | Rejection of invention patent application after publication |