Communication protocol testing method, and tested device and testing platform thereof

US10243829B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10243829-B2
Application numberUS-201515309861-A
CountryUS
Kind codeB2
Filing dateApr 17, 2015
Priority dateJun 10, 2014
Publication dateMar 26, 2019
Grant dateMar 26, 2019

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A communication protocol testing method, a tested device and a testing platform. The method includes: the tested device and the reference device execute a communication protocol, a message sent and/or received during execution of the communication protocol serving as a first message, and the first message being encapsulated in a data encapsulation format of the communication protocol; the tested device encapsulates a part of data or all the data in the first message and/or known data of the tested device according to a unified data encapsulation format to generate a second message; and the testing platform acquires the second message, parses the acquired second message according to the unified data encapsulation format to obtain a part of data or all the data in the second message, executes testing items, and outputs testing results, thereby completing the test.

First claim

Opening claim text (preview).

The invention claimed is: 1. A method for testing a communication protocol, involving a testing platform, a tested device and a reference device, for detecting an execution situation of the tested device when the communication protocol is executed between the tested device and the reference device, the method comprising: executing, by the tested device and the reference device, the communication protocol, wherein a message transmitted and/or received by the tested device when executing the communication protocol is referred to as a first message, and the first message is encapsulated in a data encapsulation format of the communication protocol; encapsulating, by the tested device, a part or all of data in the first message according to a unified data encapsulation format to generate a second message, or encapsulating, by the tested device, a part or all of data in the first message and data known to the tested device according to a unified data encapsulation format to generate a second message; and obtaining the second message by the testing platform, wherein the part or all of data in the first message comprises data obtained by the tested device by parsing the received first message according to the communication protocol and/or data used by the tested device for constructing the transmitted first message; parsing, by the testing platform, the obtained second message according to the unified data encapsulation format to obtain a part or all of data in the second message; and executing, by the testing platform, testing items according to the part or all of data in the second message obtained by the parsing, and outputting, by the testing platform, a testing result to complete the testing. 2. The method according to claim 1 , wherein the method further involves an auxiliary device, the auxiliary device participates in the process of executing the communication protocol, a message transmitted and/or received by the auxiliary device when executing the communication protocol is referred to as a third message, and the third message is encapsulated in a data encapsulation format of the communication protocol; the auxiliary device encapsulates a part or all of data in the third message to the unified data encapsulation format to generate a fourth message, the testing platform obtains the fourth message, or the auxiliary device encapsulates a part or all of data in the third message and data known to the auxiliary device according to the unified data encapsulation format to generate a fourth message; and the testing platform obtains the fourth message, and the part or all of data in the third message comprises data obtained by the auxiliary device by parsing the received third message according to the communication protocol and/or data used by the auxiliary device for constructing the transmitted third message; the testing platform parses the obtained fourth message according to the unified data encapsulation format to obtain a part or all of data in the fourth message, and uses the obtained part or all of data in the fourth message to assist in the testing; and the using of the part or all of data in the fourth message by the testing platform to assist in the testing comprises: comparing, by the testing platform, data in data of the fourth message obtained by the parsing with corresponding data in data of the second message obtained by the parsing, and obtaining a comparison result by the testing platform. 3. The method according to claim 2 , wherein the unified data encapsulation format is a data encapsulation format supported by the testing platform, and the unified data encapsulation format is applicable in performing the testing for each of a plurality of different communication protocols. 4. The method according to claim 3 , wherein the unified data encapsulation format comprises a payload; the payload comprises data elements defined therein, and each of the data elements in the payload is encapsulated in a data element encapsulation format comprising three fields, which comprise an element type, an element length and an element information; and the element type identifies a specific data, or the element type identifies all data needed by a testing item. 5. The method according to claim 4 , wherein the data element defined in the payload further comprises an original message, which is the first message or the third message. 6. The method according to claim 5 , wherein the unified data encapsulation format further comprises a head, the head comprises a version field and a length field of the unified data encapsulation format, and the head further comprises one or more of a device role field, a receiving and transmitting identification field, a manufacturer identification field, a protocol type field, a grouping sequence number field, a fragmenting sequence number field, a fragmenting identification field and an extended field. 7. The method according to claim 2 , wherein the obtaining the fourth message by the testing platform comprises transmitting, by the tested device, the fourth message to the testing platform in an online manner, or importing, by the tested device, the fourth message to the testing platform in a file exporting manner. 8. The method according to claim 2 , wherein the auxiliary device is integrated into the testing platform. 9. The method according to claim 1 , wherein a message transmitted and/or received by the reference device when a communication protocol is executed between the reference device and the tested device is referred to as a fifth message, and the fifth message is encapsulated in a data encapsulation format of the communication protocol; the reference device encapsulates a part or all of data in the fifth message according to a unified data encapsulation format to generate a sixth message, or the reference device encapsulates a part or all of data in the third message and data known to the reference device according to a unified data encapsulation format to generate a sixth message; the testing platform obtains the sixth message, and the part or all of data in the fifth message comprises data obtained by the reference device by parsing the received fifth message according to the communication protocol and/or data used by the reference device for constructing the transmitted fifth message; the testing platform parses the obtained sixth message according to the unified data encapsulation format to obtain a part or all of data in the sixth message, and uses the obtained part or all of data in the sixth message to assist in the testing; and the using of the part or all of data in the sixth message by the testing platform to assist in the testing comprises: comparing, by the testing platform, data in data of the sixth message obtained by the parsing with corresponding data in data of the second message obtained by the parsing, and obtaining a comparison result by the testing platform. 10. The method according to claim 9 , wherein the obtaining the sixth message by the testing platform comprises transmitting, by the tested device, the sixth message to the testing platform in an online manner, or importing, by the tested device, the sixth message to the testing platform in a file exporting manner. 11. The method according to claim 9 , wherein the unified data encapsulation format is a data encapsulation format supported by the testing platform, and the unified data encapsulation format is applicable in performing the testing for each of a plurality of different communication protocols. 12. The method according to claim 11 , wherein the unified data encapsulation format comprises a payload; the payload comprises data elements defined therein, and e

Assignees

Inventors

Classifications

  • Vulnerability analysis · CPC title

  • received data contents, e.g. message integrity · CPC title

  • H04L43/50Primary

    Testing arrangements · CPC title

  • wherein the data content is protected, e.g. by encrypting or encapsulating the payload · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US10243829B2 cover?
A communication protocol testing method, a tested device and a testing platform. The method includes: the tested device and the reference device execute a communication protocol, a message sent and/or received during execution of the communication protocol serving as a first message, and the first message being encapsulated in a data encapsulation format of the communication protocol; the teste…
Who is the assignee on this patent?
China Iwncomm Co Ltd
What technology area does this patent fall under?
Primary CPC classification H04L43/50. Mapped technology areas include Electricity.
When was this patent published?
Publication date Tue Mar 26 2019 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 2 related publications on this page (citations in our corpus or others sharing the same primary CPC).