Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Sending control method for communication protocol testing

A technology of communication protocol and control method, applied in the direction of digital transmission system, electrical components, transmission system, etc., can solve the problems that serial computer debugging tools cannot meet the debugging needs, cannot complete the automatic test function, and are not included.

Active Publication Date: 2015-06-24
BEIJING TENGINEER AIOT TECH CO LTD
View PDF6 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The sending part of the communication protocol test method can realize the selection of the sent data through the test script and the protocol test library, but the test system does not include the control of the time, cycle and trigger of the test sending data frame, and can only realize the communication data generation , sending, can only be used to verify the consistency of the sent data and the received data generated according to the test protocol library, and cannot adapt to the situation where the data protocol is different due to different device characteristics and interface characteristics, and cannot complete complex, long-term, and constantly changing Conditional auto-test function
[0003] With the increasingly complex serial communication protocol, the existing serial computer debugging tools can no longer meet the debugging needs
Existing serial port computer debugging tools can usually only complete simple serial port transceiver control and cyclic sending functions

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Sending control method for communication protocol testing
  • Sending control method for communication protocol testing

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The application background of a specific embodiment of the present invention is to perform a communication protocol test on a serial data interface of an electrical device based on a computer serial port. The basic transmission data format used in the transmission data text of the communication protocol test is in the form of a space-separated, hexadecimal byte data string, and the default serial transmission sequence is low byte first. For example, when the sent character string is "ABCDEF", the corresponding sent data text is: 41 42 43 44 45 46.

[0024] In the embodiment of the present invention, the prefix "#" is used to identify the label or variable in the sent data text, and the prefix "$" is used to identify the function. The difference in the format of label or variable name is that after the variable name, there is variable assignment data in parentheses, character strings, formula expressions containing common numerical operation functions, string operation func...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a sending control method for communication protocol testing, and the method is used for achieving testing of a communication interface and a protocol thereof. The method is characterized in that a sending data text input through the method comprises sending data, labels, variables, data calculating and transferring functions, sending control functions and testing parameter setting functions; after analysis processing and decomposition, the text is transmitted to data calculating and transferring processing, sending control processing and testing parameter setting function processing; the sending control processing carries out circulation and skip control on the data calculating and transferring processing, and carries out time-triggered control and condition-triggered control on data sending processing after sending data generation processing and caching processing; the condition-triggered control generates conditions triggering data sending processing through characteristic judgment according to receiving data obtained through receiving data processing. The method achieves the functions of automatic changing of testing conditions, automatic data changing and framing, data calculating, format conversion, circulated sending, condition skipping, and automatic receiving and replying.

Description

Technical field [0001] The invention relates to a transmission control method for communication protocol testing, belonging to the field of communication interfaces and protocol testing. Background technique [0002] With the development of communication technology, testing of various communication interfaces and their protocols is a necessary part of technology development and product inspection. The existing communication interface and its protocol test can only provide manual calculation of values, manual completion of conversion data, manual setting of multiple data frames, timed loops, and the function of triggering after the received frame is completely matched. It does not provide more convenient automated protocol testing. Features. The Chinese invention patent "Testing method and system of communication protocol interface (application number: CN201110279981.4) introduces a communication protocol test method, such as figure 1 Shown. The communication protocol test metho...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/26
Inventor 庞浩张建华刘存
Owner BEIJING TENGINEER AIOT TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products