CN109005079A - A kind of detection method and device of electric automobile charging pile communication protocol - Google Patents

A kind of detection method and device of electric automobile charging pile communication protocol Download PDF

Info

Publication number
CN109005079A
CN109005079A CN201710424472.3A CN201710424472A CN109005079A CN 109005079 A CN109005079 A CN 109005079A CN 201710424472 A CN201710424472 A CN 201710424472A CN 109005079 A CN109005079 A CN 109005079A
Authority
CN
China
Prior art keywords
test
test case
communication protocol
charging pile
case
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
Application number
CN201710424472.3A
Other languages
Chinese (zh)
Inventor
张颖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Potevio Information Technology Co Ltd
Putian Information Technology Co Ltd
Original Assignee
Putian Information Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Putian Information Technology Co Ltd filed Critical Putian Information Technology Co Ltd
Priority to CN201710424472.3A priority Critical patent/CN109005079A/en
Publication of CN109005079A publication Critical patent/CN109005079A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/18Protocol analysers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The present invention provides a kind of detection methods of electric automobile charging pile communication protocol, comprising: obtains the test specification including multiple test cases corresponding with communication protocol to be detected;The corresponding test condition of the test case is successively obtained according to the sequence of the multiple test case and initiates to test.The present invention is by providing corresponding test specification for different communication protocol, and it successively initiates to test according to the sequence of test case in test specification, realize standardization and the procedure of protocol detection process, detection process is guided and has been constrained, the requirement to testing staff's profession degree is reduced, test coverage and testing efficiency are improved.

Description

A kind of detection method and device of electric automobile charging pile communication protocol
Technical field
The present invention relates to fields of communication technology, and in particular to a kind of detection method of electric automobile charging pile communication protocol and Device.
Background technique
Excitation and support with the Chinese government to ev industry, electric car and its infrastructure provision it is swift and violent Development, charging infrastructure mainly include all kinds of centralized electric charging stations and distributing charging pile, perfect charging infrastructure System is the universal important leverage of electric car.
Electric automobile charging pile communication protocol defines charging pile (machine) intelligent terminal and intelligence power-up network operation management Interface communications protocol between system.During electric car connect and charged with charging pile, charging pile (machine) is pressed Agreement provides that the relevant information by status information, electrokinetic cell system information, environment, transaction is sent by wire/radio network To intelligence power-up network operation management system and respond management system requested;Management system provides inquiry charging pile data by agreement And to charging pile to respond, common protocol is based on TCP/IP, modbus etc..
In order to guarantee that intelligence is powered on control of the network operation management system to charging pile, starts dispensing in charging pile and use it Before, need to judge whether charging pile correctly realizes the communication protocol of its support, if having normal function of charging pile etc., need The correctness to realize to its communication protocol detects.Fig. 1 is the electric automobile charging pile communication protocol that the prior art provides The schematic diagram of detection platform, as shown in Figure 1, electric automobile charging pile communication protocol detection platform, be to charging pile (machine) with The device that the correctness of communication protocol between intelligence power-up network operation management system is detected.
Fig. 2 is the flow diagram for the electric automobile charging pile communication protocol detection method that the prior art provides, such as Fig. 2 institute Show, detection method includes the following steps: 1) charging pile device coding being inputted into electric automobile charging pile communication protocol detection platform In, so that charging pile and detection platform is established connection;2) testing staff carries out charging measurement, and during which charging pile reports message extremely automatically Platform, platform are parsed and are checked to message, and inspection result, original message and analytic message are then stored in platform It is whether correct to test the message that charging pile reports automatically in database;3) testing staff by way of constructing to filling manually Electric stake issues the message for needing charging pile response, and charging pile carries out response to message, and platform solves the response message received Inspection result, original message and analytic message, are then stored in database by analysis and inspection;It is expected for not receiving Use-case corresponding to message does not pass through;4) to test result inquiry, statistics and export.
Therefore, the prior art at least has the following deficiencies: that on the one hand detection platform is only equivalent to Message processing tool, right Testing process lacks guidance and constraint, causes testing efficiency lower and operation is easy error;On the other hand, due to protocol test stream Journey is complicated, and different communication protocol corresponds to different testing processes, therefore more demanding to the profession of testing staff, needs to detect Personnel are very familiar to all kinds of interface protocols and test case, otherwise will cause detection and omit.
Summary of the invention
In view of the above defects of the prior art, the present invention provides a kind of inspection of electric automobile charging pile communication protocol Survey method and apparatus.
An aspect of of the present present invention provides a kind of detection method of electric automobile charging pile communication protocol, comprising: obtain with to Detect the corresponding test specification including multiple test cases of communication protocol;It is successively obtained according to the sequence of the multiple test case It takes the corresponding test condition of the test case and initiates to test.
Wherein, described to obtain the test specification for including the steps that multiple test cases corresponding with communication protocol to be detected also It include: to prompt the corresponding test condition of the test case;Correspondingly, described to obtain the corresponding survey of the test case The step of strip part, further comprises: obtaining the corresponding test condition of the test case according to the prompt construction.
Wherein, described the step of obtaining the test case corresponding test condition further comprises: acquisition is preset The corresponding test condition of the test case.
Wherein, the step of initiation is tested further comprises: according to the test condition, generating at least one corresponding institute The test packet of test case is stated, and the test packet is issued to charging pile.
The detection method of the electric automobile charging pile communication protocol further include: by receiving answering for the charging pile transmission Answer Receive message testing result.
Wherein, described the step of prompting the corresponding test condition of the test case, further comprises: showing institute State the test condition of test case;Wherein, the test condition include test case mark, test case title, prerequisite, Testing procedure and message setting information;Wherein, the message setting information include message commands code, message interface display value with And the dependence value of current message and previous message.
Wherein, the step of test condition for showing the test case further comprises: it includes the multiple for obtaining The xml configuration file of the test specification of test case;Matched by the xml that user interface capabilities obtain the load of xml resolver File is set, corresponding displaying interface is generated.
Another aspect of the present invention provides a kind of detection device of electric automobile charging pile communication protocol, comprising: obtains mould Block, for obtaining the test specification including multiple test cases corresponding with communication protocol to be detected;Test module, for according to The sequence of the multiple test case successively obtains the corresponding test condition of the test case and initiates to test.
Another aspect of the present invention provides a kind of detection device of electric automobile charging pile communication protocol, comprising: at least one A processor;And at least one processor being connect with the processor communication, in which: the memory is stored with can be by institute The program instruction of processor execution is stated, the processor calls described program instruction to be able to carry out such as above-mentioned electric automobile charging pile The detection method of communication protocol, for example, obtain the test including multiple test cases corresponding with communication protocol to be detected Specification;The corresponding test condition of the test case is successively obtained according to the sequence of the multiple test case and initiates to test.
Another aspect of the present invention provides a kind of non-transient computer readable storage medium, and the non-transient computer is readable Storage medium stores computer instruction, and the computer instruction executes the computer such as the communication of above-mentioned electric automobile charging pile The detection method of agreement, for example, obtain the test specification including multiple test cases corresponding with communication protocol to be detected; The corresponding test condition of the test case is successively obtained according to the sequence of the multiple test case and initiates to test.
The detection method and device of charging pile communication protocol provided by the invention, by being provided for different communication protocol Corresponding test specification, and successively initiate to test according to the sequence of test case in test specification, realize protocol detection process Standardization and procedure, detection process is guided and has been constrained, the requirement to testing staff's profession degree is reduced, improve Test coverage and testing efficiency.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Bright some embodiments for those of ordinary skill in the art without creative efforts, can be with root Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the schematic diagram for the electric automobile charging pile communication protocol detection platform that the prior art provides;
Fig. 2 is the flow diagram for the electric automobile charging pile communication protocol detection method that the prior art provides;
Fig. 3 is the flow diagram of electric automobile charging pile communication protocol detection method provided in an embodiment of the present invention;
Fig. 4 is the signal of test specification in electric automobile charging pile communication protocol detection method provided in an embodiment of the present invention Figure;
Fig. 5 is test case mode in electric automobile charging pile communication protocol detection method provided in an embodiment of the present invention Schematic diagram;
Fig. 6 be another embodiment of the present invention provides electric automobile charging pile communication protocol detection method process signal Figure;
Fig. 7 is the structural schematic diagram of electric automobile charging pile communication protocol detection device provided in an embodiment of the present invention;
Fig. 8 is the structural schematic diagram of electric automobile charging pile communication protocol detection device provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical solution in the embodiment of the present invention is explicitly described, it is clear that described embodiment is the present invention A part of the embodiment, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not having Every other embodiment obtained under the premise of creative work is made, shall fall within the protection scope of the present invention.
Fig. 3 is the flow diagram of the detection method of charging pile communication protocol provided in an embodiment of the present invention, such as Fig. 3 institute Show, comprising: step 301, obtain the test specification including multiple test cases corresponding with communication protocol to be detected;Step 302, The corresponding test condition of the test case is successively obtained according to the sequence of the multiple test case and initiates to test.
Wherein, electric automobile charging pile (or as charger other electrically-charging equipments, below to the present invention by taking charging pile as an example Embodiment is illustrated, but the protection scope of the embodiment of the present invention is without being limited thereto) facility is fed for the electric energy of electric car, at present It is main include be deployed in it is being connect in highway, office space and parking lot of buildings or electric automobile charging station with power grid, be Electric car provides the electrically-charging equipment of AC or DC power, and there is charging pile man-machine interactive interface and AC or DC to fill Electric standard interface also has observing and controlling and defencive function.
Wherein, communication protocol is the interface communication between charging pile intelligent terminal and intelligence power-up network operation management system Agreement.Charging pile (machine) is provided to pass through status information, electrokinetic cell system information, environment and the relevant information of transaction by agreement Wire/radio network is sent to intelligence power-up network operation management system and responds management system requested;Management system presses agreement Regulation inquires charging pile data and to charging pile to respond, and common protocol is based on TCP/IP, modbus etc..But the embodiment of the present invention Protection scope be not limited to the agreement, can also be other agreements of charging pile, such as electric automobile charging pile and electronic vapour Communication protocol between vehicle.Since charging pile is manufactured by all kinds of producers, interface and compatibility issue may cause communication protocol The problem of not supporting, it is therefore desirable to be detected to whether communication protocol is correctly carried out.
Wherein, test case (Test Case) is the one group of test input worked out for some special objective, execution condition And expected results, to test some Program path or verify whether meet some particular demands, in the embodiment of the present invention Test case is the test for communication protocol.
Wherein, test specification is the specification for being tested special communication protocol, and different communication protocol is corresponding There is different test specifications.Each test specification includes multiple according to certain tactic test case, and testing staff presses Test case is successively initiated after testing according to the sequence of test case, can complete to assist charging according to the result that charging pile is fed back The detection of view.
Fig. 4 is the signal of test specification in electric automobile charging pile communication protocol detection method provided in an embodiment of the present invention Figure, as shown in figure 4, charging pile communication protocol test specification can be made of a use-case tree, each use-case tree may include more A tactic protos test suite PROTOS;Wherein, protos test suite PROTOS (test suit) is one group of relevant test, will by protos test suite PROTOS A series of test cases served under the same test purpose or same running environment organically combine;Each test suite Part may include multiple test cases arranged in certain sequence.
Wherein, test condition is the condition of required construction when initiating to detect to each test case, in order to use test Example is correctly detected, and needs to construct specific test condition for each test case;For example, to charging pile execute power-off, Run the operation such as specific duration.
In step 301, the communication protocol for needing to detect to charging pile available first, provides according to the communication protocol Corresponding test specification wherein includes multiple test cases in test specification.
In step 302, it is successively obtained according to the test specification got in step 301 according to the sequence of test case Test condition corresponding to each test case, and initiate to survey according to test condition and to test case corresponding with test condition Examination.
The detection method of electric automobile charging pile communication protocol provided in an embodiment of the present invention, by being directed to different communication Agreement provides corresponding test specification, and successively initiates to test according to the sequence of test case in test specification, realizes agreement The standardization of detection process and procedure, guide detection process and have been constrained, and reduce to testing staff's profession degree It is required that improving test coverage and testing efficiency.
Another embodiment of the present invention provide charging pile communication protocol detection method in, it is described acquisition with it is to be detected The corresponding test specification for including the steps that multiple test cases of communication protocol further include: test corresponding to the test case Condition is prompted;Correspondingly, described the step of obtaining the test case corresponding test condition, further comprises: obtaining root According to the corresponding test condition of the test case of the prompt construction.
Specifically, the corresponding test condition of test case can be divided into two classes, and one type needs testing staff to carry out structure It makes;Therefore, after getting test specification corresponding with communication protocol, the test condition of test case can be prompted; Wherein, prompt may include various ways, such as be opened up by user interface (User Interface, UI) to testing staff Show or carries out the mode such as prompting by voice;Testing staff can go to construct corresponding test condition according to prompt, such as right Test parameter carries out relevant modification or executes corresponding test operation, to test test case.
It is described to obtain the test in the detection method for the charging pile communication protocol that another embodiment of the present invention provides The step of use-case corresponding test condition, further comprises: obtaining the corresponding test condition of the pre-set test case.
Specifically, the corresponding test condition of test case can be divided into two classes, wherein another kind of can be pre-set. In order to improve testing efficiency, can the test condition in advance to partial test use-case be configured, have preset test-strips The test case of part can not by testing staff construct test condition, and automatically, directly initiate test.It can test automatically Test case can for be suitble to that the use-case tested automatically or testing staff add according to actual needs in test specification from Dynamic test case.
In the detection method for the charging pile communication protocol that another embodiment of the present invention provides, the step for initiating test Suddenly further comprise: according to the test condition, generating the test packet of at least one corresponding test case, and will be described Test packet is issued to charging pile.
Wherein, message (message) is the data cell exchanged in network with transmission, i.e. the website number disposably to be sent According to block.Message contains complete data information to be sent, and length is very inconsistent, and length is unlimited and variable.In this hair In bright embodiment, each test case can be detected by way of sending message to charging pile.
It specifically, can be for example, by multi-protocols Message processing device after getting the corresponding test condition of test case Device generate corresponding test packet;Wherein, a test packet can correspond to a test case or multiple test cases. Multiple test cases can be detected by sending a test packet.After generating test packet, it is issued to charging pile, To initiate to test to the test case.By the way that multiple test cases are initiated test using a test packet, with the prior art In need to construct message one by one and issue one by one and compare, improve testing efficiency.
In the detection method for the charging pile communication protocol that another embodiment of the present invention provides, the electric car charging The detection method of stake communication protocol further include: obtain testing result by receiving the response message that the charging pile is sent.
Wherein, response message is that charging pile carries out the message reported after response according to the test packet received.By right After response message such as is parsed, is put in storage and verified at the operation, result can be detected.
It is described that the test is used in the detection method for the charging pile communication protocol that another embodiment of the present invention provides The step of corresponding test condition of example is prompted further comprises: showing the test condition of the test case.
Wherein, the test condition includes test case mark, test case title, prerequisite, testing procedure and report Literary setting information;Wherein, the message setting information include message commands code, message interface display value and current message with The dependence value of previous message.
Fig. 5 is test case mode in electric automobile charging pile communication protocol detection method provided in an embodiment of the present invention Schematic diagram, as shown in figure 5, cases (use-case tree) can be use-case root vertex;Multiple test can be hung on each use-case tree Suit (protos test suite PROTOS), protos test suite PROTOS are the set of one group of use-case, can be divided into set of uses case according to certain standards smaller Set;Each test suit includes one or more case (test case);Case (test case) is used to define a test The test condition of use-case, specific as follows:
Case id is test case mark, and each test case has unique mark;
Name is test case title, and the title is for illustrating the specific test content of the test case;
Precondition be test case prerequisite, may indicate that the test case need under what conditions into Row test, so that testing staff carries out corresponding operation to charging pile according to the prerequisite;
Procedure is the testing procedure of test case, may indicate that the specific testing procedure of the test case, prompts inspection Survey personnel execute corresponding operating according to testing procedure;
Action is the message setting information of test case, can configure the feelings that the test case sends message to charging pile Condition, the quantity of action can for zero or at least one, wherein number is that the zero expression test case is not needed to charging pile Downward message;Can be specifically included in action code (message commands code), visible (message interface display value) and Dependence (the dependence value of current message and previous message), specific as follows:
Code is the specific code that charging pile is issued to for the test case;
The value of visible can be set to 0 or 1;If being set as 0, show that interface does not show the message, after directly passing through Platform sends the message, and the parameter in the message is default value;If being set as 1, interface need to the parameter of the message form into Row is shown, the parameter value in message is voluntarily modified by testing staff;
The value of dependence can be set to 0 or 1;If being set as 0, show current message and previous message not according to The relationship of relying, can successively send message according to the sequence of test case;If being set as 1, show current message and previous message There is dependence, interface can generate the entrance issued by hand for latter message, and testing staff is by hand to charging pile after meeting condition Send message.
It is shown by the test condition to each test case, testing staff can be guided according to prompt, construction test The test condition of use-case can be improved testing efficiency to initiate to test, and avoid the something lost of each scene in test case and test case Leakage.
It is described to show the test in the detection method for the charging pile communication protocol that another embodiment of the present invention provides The step of test condition of use-case further comprises: the xml for obtaining the test specification including the multiple test case configures text Part;The xml configuration file of xml resolver load is obtained by user interface capabilities, generates corresponding displaying interface.
Wherein, it is a kind of simple data that xml format, which is extensible markup language (subset of standard generalized markup language), Store language;Xml database provides the storage of more strong data and analysis ability, such as: data directory, sequence, lookup, Relevant coherency etc..The embodiment of the present invention carries out the parameters such as sequence, test condition that execute of test case using xml document Configuration, can realize the guiding function to testing staff well.
Wherein, user interface (User Interface, UI) function, refers to that user and certain systems interact method Set, it further includes the tool etc. of certain specific machine, equipment and complexity that these systems, which not merely refer to computer program,.The present invention In embodiment, corresponding interface is generated by user interface capabilities, to be shown test case to user.
Specifically, can by test specification each test case and test condition be configured to xml configuration file, i.e., will be whole A testing process is stored using xml document.When testing staff tests and goes to a certain test case, xml solution Parser loads preset xml configuration file, the information that UI function is loaded according to xml resolver, the survey to test case Conditional information is tried to show.
Wherein, in practical applications, when test specification changes, carrying out corresponding modification to xml configuration file is It can;When generation testing process (sequence between test case) changes, phase directly can also be carried out to xml configuration file The modification answered.It, can by the way that test specification is converted into corresponding xml configuration file and is shown using user interface capabilities So that testing staff is detached from test specification, entire detection process is completed according to the prompt on interface.
In order to illustrate the detection method of electric car communication protocol provided by the above embodiment, below to the process of this method It is illustrated.Fig. 6 be another embodiment of the present invention provides electric automobile charging pile communication protocol detection method process Schematic diagram, as shown in fig. 6, specific steps are as follows:
1, UI obtains the pre-loaded use-case tree and use-case configuration information of xml resolver, generates corresponding interface;
2, testing staff constructs test condition according to the prompt on UI, and by step execution testing procedure, UI is being issued Message is transmitted to Message processing device;
3, message is issued to charging pile by Message processing device;
4, charging pile sends response message, and Message processing device is parsed, is put in storage and verified;
5, response message text and testing result are pushed to UI and presented by Message processing device.
Wherein, the message sent and received in the detection process can all be automatically stored in the database.
Fig. 7 is the structural schematic diagram of electric automobile charging pile communication protocol detection device provided in an embodiment of the present invention, such as Shown in Fig. 7, described device includes: to obtain module 701, includes that multiple tests are used for obtaining corresponding with communication protocol to be detected The test specification of example;Test module 702 successively obtains the test case pair for the sequence according to the multiple test case The test condition answered simultaneously is initiated to test.
Wherein, communication protocol is the interface communication between charging pile intelligent terminal and intelligence power-up network operation management system Agreement.But the protection scope of the embodiment of the present invention is not limited to the agreement, can also be other agreements of charging pile, such as electronic Communication protocol between automobile charging pile and electric car.Since charging pile is manufactured by all kinds of producers, interface and compatibility are asked Topic may cause the problem of communication protocol is not supported, it is therefore desirable to examine to whether communication protocol is correctly carried out It surveys.Test case in the embodiment of the present invention is the test for communication protocol.Each test specification includes multiple according to one Fixed tactic test case, after testing staff successively initiates test to test case according to the sequence of test case, according to The result of charging pile feedback can complete the detection to charge protocol.Test condition is to initiate each test case detection when institute The condition that need to be constructed needs to construct specific test for each test case in order to correctly detect test case Condition;For example, the operation such as execute power-off to charging pile, run specific duration.
Specifically, the communication protocol for needing to detect to charging pile available first of module 701 is obtained, module is then obtained 701 provide corresponding test specification according to the communication protocol, wherein include multiple test cases in test specification.
Specifically, according to the test specification got in module 701 is obtained, test module 702 is according to the suitable of test case Sequence successively obtains test condition corresponding to each test case;Also, test module 702 according to test condition and to test The corresponding test case of condition initiates test.
The detection device of electric automobile charging pile communication protocol provided in an embodiment of the present invention, by being directed to different communication Agreement provides corresponding test specification, and successively initiates to test according to the sequence of test case in test specification, realizes agreement The standardization of detection process and procedure, guide detection process and have been constrained, and reduce to testing staff's profession degree It is required that improving test coverage and testing efficiency.
Fig. 8 is the structural schematic diagram of electric automobile charging pile communication protocol detection device provided in an embodiment of the present invention, such as Shown in Fig. 8, which includes: at least one processor 801;And it is deposited at least one of the processor 801 communication connection Reservoir 802, in which: the memory 802 is stored with the program instruction that can be executed by the processor 801, the processor 801 Described program instruction is called to be able to carry out the detection method of electric automobile charging pile communication protocol provided by the various embodiments described above, For example, obtain the test specification including multiple test cases corresponding with communication protocol to be detected;According to the multiple survey The sequence of example on probation successively obtains the corresponding test condition of the test case and initiates to test.
The embodiment of the present invention also provides a kind of non-transient computer readable storage medium, the non-transient computer readable storage Medium storing computer instruction, it is logical which makes computer execute electric automobile charging pile provided by corresponding embodiment Believe the detection method of agreement, for example, obtain the test rule including multiple test cases corresponding with communication protocol to be detected Model;The corresponding test condition of the test case is successively obtained according to the sequence of the multiple test case and initiates to test.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer readable storage medium, the program When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes: ROM, RAM, magnetic disk or light The various media that can store program code such as disk.
The embodiments such as the test equipment of processing live streaming display setting device described above are only schematical, wherein Unit may or may not be physically separated as illustrated by the separation member, and component shown as a unit can be with It is or may not be physical unit, it can it is in one place, or may be distributed over multiple network units.It can It is achieved the purpose of the solution of this embodiment with selecting some or all of the modules therein according to the actual needs.This field is common Technical staff is without paying creative labor, it can understands and implements.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can It realizes by means of software and necessary general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, on Stating technical solution, substantially the part that contributes to existing technology can be embodied in the form of software products in other words, should Computer software product may be stored in a computer readable storage medium, such as ROM/RAM, magnetic disk, CD, including several fingers It enables and using so that a computer equipment (can be personal computer, server or the network equipment etc.) executes each implementation Certain Part Methods of example or embodiment.
Shown in sum up, the detection method and device of electric automobile charging pile communication protocol provided in an embodiment of the present invention are led to It crosses and integrates the test case of entire inspection criterion using process guiding, the use-case guidance of energy automatic test executes certainly Dynamic set of uses case, being unable to automatic test guidance testing staff, intervention individually executes by hand;Detection use-case is configured using xml document Sequence, prompt information movement and parameter are executed, the configuration of process guidance is very flexible;Testing staff gets out testing conditions and starts When detection, required message is filled in parameter automatically and is handed down to equipment by system, is simplified testing staff's work, is improved working efficiency;Drop The low profession to testing staff requires, and standardize test process, and testing staff can be detached from test document, improves Test coverage Rate.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features; And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit and Range.

Claims (10)

1. a kind of detection method of electric automobile charging pile communication protocol characterized by comprising
Obtain the test specification including multiple test cases corresponding with communication protocol to be detected;
The corresponding test condition of the test case is successively obtained according to the sequence of the multiple test case and initiates to test.
2. the method according to claim 1, wherein described obtain corresponding with communication protocol to be detected includes more The step of test specification of a test case further include:
The corresponding test condition of the test case is prompted;
Correspondingly, described the step of obtaining the test case corresponding test condition, further comprises:
Obtain the corresponding test condition of the test case according to the prompt construction.
3. the method according to claim 1, wherein the test case corresponding test condition of obtaining Step further comprises:
Obtain the corresponding test condition of the pre-set test case.
4. the method according to claim 1, wherein the initiation further comprises the step of test:
According to the test condition, the test packet of at least one corresponding test case is generated, and by the test packet It is issued to charging pile.
5. according to the method described in claim 4, it is characterized by further comprising:
Testing result is obtained by receiving the response message that the charging pile is sent.
6. according to the method described in claim 2, it is characterized in that, described carry out the corresponding test condition of the test case The step of prompt, further comprises:
Show the test condition of the test case;
Wherein, the test condition includes that test case mark, test case title, prerequisite, testing procedure and message are set Confidence breath;
Wherein, the message setting information includes message commands code, message interface display value and current message and previous report The dependence value of text.
7. according to the method described in claim 6, it is characterized in that, the step of the test condition for showing the test case Further comprise:
Obtain the xml configuration file of the test specification including the multiple test case;
The xml configuration file of xml resolver load is obtained by user interface capabilities, generates corresponding displaying interface.
8. a kind of detection device of electric automobile charging pile communication protocol characterized by comprising
Module is obtained, for obtaining the test specification including multiple test cases corresponding with communication protocol to be detected;
Test module successively obtains the corresponding test condition of the test case for the sequence according to the multiple test case And it initiates to test.
9. a kind of detection device of electric automobile charging pile communication protocol characterized by comprising at least one processor;With And at least one processor being connect with the processor communication, in which: the memory, which is stored with, to be held by the processor Capable program instruction, the processor call described program instruction to be able to carry out the method as described in claim 1 to 7 is any.
10. a kind of non-transient computer readable storage medium, which is characterized in that the non-transient computer readable storage medium is deposited Computer instruction is stored up, the computer instruction makes the computer execute the method as described in claim 1 to 7 is any.
CN201710424472.3A 2017-06-07 2017-06-07 A kind of detection method and device of electric automobile charging pile communication protocol Pending CN109005079A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710424472.3A CN109005079A (en) 2017-06-07 2017-06-07 A kind of detection method and device of electric automobile charging pile communication protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710424472.3A CN109005079A (en) 2017-06-07 2017-06-07 A kind of detection method and device of electric automobile charging pile communication protocol

Publications (1)

Publication Number Publication Date
CN109005079A true CN109005079A (en) 2018-12-14

Family

ID=64573116

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710424472.3A Pending CN109005079A (en) 2017-06-07 2017-06-07 A kind of detection method and device of electric automobile charging pile communication protocol

Country Status (1)

Country Link
CN (1) CN109005079A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109709418A (en) * 2018-12-21 2019-05-03 国网北京市电力公司 A kind of detection method and device of electrically-charging equipment, storage medium and processor
CN112339605A (en) * 2020-10-16 2021-02-09 中汽研汽车检验中心(天津)有限公司 System and method for testing consistency of communication protocol of wireless charging ground terminal equipment
CN112422362A (en) * 2020-10-16 2021-02-26 中汽研汽车检验中心(天津)有限公司 System and method for testing consistency of communication protocol of wireless charging vehicle-mounted end equipment
CN113433921A (en) * 2020-03-23 2021-09-24 北京新能源汽车股份有限公司 Method and device for testing real vehicle function and control equipment
CN115033282A (en) * 2022-06-30 2022-09-09 杭州凯达电力建设有限公司 Charging pile operation platform compatible method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102487340A (en) * 2010-12-02 2012-06-06 中兴通讯股份有限公司 Test method of message interaction and apparatus thereof
CN102650966A (en) * 2011-02-24 2012-08-29 王轶辰 Multiplexing-oriented embedded software testing method and system
CN106100935A (en) * 2016-08-06 2016-11-09 顺德职业技术学院 Charging equipment of electric automobile communication protocol consistency test device and method
CN205812043U (en) * 2016-07-06 2016-12-14 深圳市斯拓电子有限公司 A kind of direct-current charging post communication protocol test device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102487340A (en) * 2010-12-02 2012-06-06 中兴通讯股份有限公司 Test method of message interaction and apparatus thereof
CN102650966A (en) * 2011-02-24 2012-08-29 王轶辰 Multiplexing-oriented embedded software testing method and system
CN205812043U (en) * 2016-07-06 2016-12-14 深圳市斯拓电子有限公司 A kind of direct-current charging post communication protocol test device
CN106100935A (en) * 2016-08-06 2016-11-09 顺德职业技术学院 Charging equipment of electric automobile communication protocol consistency test device and method

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109709418A (en) * 2018-12-21 2019-05-03 国网北京市电力公司 A kind of detection method and device of electrically-charging equipment, storage medium and processor
CN109709418B (en) * 2018-12-21 2021-05-07 国网北京市电力公司 Detection method and device for charging facility, storage medium and processor
CN113433921A (en) * 2020-03-23 2021-09-24 北京新能源汽车股份有限公司 Method and device for testing real vehicle function and control equipment
CN112339605A (en) * 2020-10-16 2021-02-09 中汽研汽车检验中心(天津)有限公司 System and method for testing consistency of communication protocol of wireless charging ground terminal equipment
CN112422362A (en) * 2020-10-16 2021-02-26 中汽研汽车检验中心(天津)有限公司 System and method for testing consistency of communication protocol of wireless charging vehicle-mounted end equipment
CN115033282A (en) * 2022-06-30 2022-09-09 杭州凯达电力建设有限公司 Charging pile operation platform compatible method, device, equipment and storage medium
CN115033282B (en) * 2022-06-30 2023-08-22 杭州凯达电力建设有限公司 Charging pile operation platform compatible method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109005079A (en) A kind of detection method and device of electric automobile charging pile communication protocol
CN104639653B (en) Adaptive approach and system based on cloud framework
CN102291277B (en) Automatic test system and method for intelligent substation spacing apparatus
CN102023922B (en) System and method for testing automotive electronic diagnostic software
CN109740222B (en) Testing device and system for automobile networking scene
KR101039456B1 (en) Apparatus and method for conformance testing of client in substation automation system
CN108733568A (en) Application testing method, device, equipment and readable storage medium
CN103916283B (en) Server stress test system and method
CN105223843A (en) A kind of re-entry space vehicle combination property verification system based on data sharing
CN104579822A (en) Automatic performance test system and method of mobile application based on Http protocol
CN108965293B (en) Message analysis method and device and electronic equipment
CN106100935A (en) Charging equipment of electric automobile communication protocol consistency test device and method
CN108767818B (en) A kind of Commissioning of Relay Protection system and adjustment method based on virtual Prudential Master
CN104965507A (en) Method used for generating open diagnostic data exchange database and device
CN109873497A (en) A kind of distribution main website and the automatic joint debugging acceptance method of terminal checking and accepting device based on intelligence
CN108092835A (en) The detection method and device of electric automobile charging pile
CN113419920B (en) Real-time monitoring method for joint debugging test process of simulation test system of Internet of things management platform
CN107608291A (en) A kind of intelligent substation application function linkage rule verification method and system
CN211905539U (en) Energy storage system primary frequency modulation electric wire netting testing arrangement
CN114691398A (en) Rule-based fault analysis method, device, equipment and storage medium
CN106792784B (en) A kind of method, server and system carrying out data check in server side
CN111506311A (en) Internet rapid iterative development, integration and release method and middlebox enabling engine
CN104301916B (en) Test optimization method, apparatus and system based on mobile intelligent terminal universal card
CN109343488A (en) Fieldbus monitoring early-warning system and method based on wechat and FDT technology
CN114936062A (en) Method, device, equipment, system and storage medium for automatically debugging equipment

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: 20181214

RJ01 Rejection of invention patent application after publication