CN104486146B - A kind of communication means between test console and test equipment - Google Patents
A kind of communication means between test console and test equipment Download PDFInfo
- Publication number
- CN104486146B CN104486146B CN201410727715.7A CN201410727715A CN104486146B CN 104486146 B CN104486146 B CN 104486146B CN 201410727715 A CN201410727715 A CN 201410727715A CN 104486146 B CN104486146 B CN 104486146B
- Authority
- CN
- China
- Prior art keywords
- test
- data
- tested
- lead
- management end
- 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.)
- Active
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Small-Scale Networks (AREA)
- Maintenance And Management Of Digital Transmission (AREA)
Abstract
The invention discloses the communication means between a kind of test console and test equipment, the required all operations of the present invention, control data and test data subnetting are transmitted, ensures that control data does not have an impact to test data, improves the automaticity of network test;Communicated to connect by network under test and tested end with test lead and tested end communication connection, test lead respectively by Ethernet by management end, be further ensured that control data does not have an impact to test data, improve the automaticity of network test.The order between test server and test target end and data communication interaction can be effectively realized, completes the functions such as the initialization, configuration loading, test data control of network under test, increases substantially the automaticity of reliability network test.
Description
Technical field
The present invention is used for onboard networks communication technical field, is related to test console and quilt in onboard networks reliability testing
Network communication implementation method between measurement equipment.
Background technology
With increasing substantially for network synthesis in aircraft and complexity, network specifics are numerous during complete machine network test
More, test equipment customizations degree is high, causes network test system versatility and maintainability is poor, testing cost remains high,
Reduce the protection of aircraft.
The content of the invention
In order to improve the maintainability of network test system, reduce maintenance cost, raising network test automaticity, this hair
The bright communication means proposed between a kind of test console and equipment under test, this method can be by control datas and test data point
Net transmission, ensure that control data does not have an impact to test data, improve the automaticity of network test.
The present invention is peeled off network under test feature with network test requirements, and network test requirements are as test system
The generation of test specification and test case is directly instructed in peak demand;Use trifocal test structure will in network test framework layer
Control data is separated with test data, and test and management end, test lead and tested end are disappeared using network communication protocol
Breath interaction;Network under test includes AFDX, FC network etc., as shown in Figure 1.
The present invention thinking be:Management end sends initialization, configuration, test by Ethernet to test lead and tested end
The request commands such as data transmit-receive, test lead and tested termination are operated accordingly after receiving instruction, and by test result and
Log information feeds back to management end.
The technical solution of the present invention is as follows:
A kind of communication means between test console and test equipment, it is characterized in that:The test console
Including management end, test equipment includes test lead and tested end, and specific communication means is as follows:
1】Initialization requests:Management end passes through the network communication protocol layer parsing test pin of management end according to test case
This, then sends initialization requests order to test lead and tested end;
Initialization requests order includes resetting the data buffer zone for receiving and sending data, will receive and send data
Data counts reset and are initialized the equipment of test lead and tested end, it is ensured that test lead and the net at tested end
Network equipment can use;
2】Initialization feedback:After test lead and tested end receive initialization requests order, corresponding equipment is entered respectively
Row initialization;If initializing successfully, feed back initialization to management end and complete result, then carry out step 3】;If initialization failure,
Then terminated and tested by management end, record initialization failure, generate test report and test log;
3】Configure load request:Management end according to test case by equipment is enabled and data transmit-receive needed for configuration information and
Allocation list numbering sends corresponding according to allocation list numbering loading with tested end to test lead and tested end, order test lead
Configuration information;
Configuration information includes:Interchanger ID number, physical port configuration information, the input for forwarding virtual link and output end
Mouthful;Node station ID number, physical layer configurations and COM1 configuration;
COM1 includes sending port and receiving port;
4】Configuration loading feedback:Test lead and tested end carry out configuration information loading;It is anti-to management end if loading successfully
Result is completed in feedback loading, then carries out step 5】;After loading successfully, management end can monitor the node and interchanger at tested end
Between the state of port and link, the state of port and link between the node of test lead and interchanger can be monitored;
If loading failure, is terminated by management end and tested, record loading failure, test report and test log are generated;
5】Send request of data:Sort command test lead is managed to send to test lead to tested end or the tested end of order
The test data being adapted with test case;
6】Send data feedback:Test lead or tested end send result to management end feedback data;If send data into
Work(, then carry out step 7】;If sending data failure, terminated and tested by management end, record sends data failure, generation test report
Announcement and test log;
7】Receive request of data:Manage sort command test lead or tested termination Acceptance Tests data;
8】Receive data feedback:Test lead or tested end receive result to management end feedback data;If receive data into
Work(, then carry out step 9】;If receiving data failure, terminated and tested by management end, record receives data failure, generation test report
Announcement and test log;
9】Test report generates:The feedback result that management end is sent according to test lead and tested end, which analyzes test execution, is
It is no correct and generate test report;
10】Test log generates;Test lead and tested end send test log to management end, final in management end generation
Test log.
Above-mentioned steps 5 are:
5.1】To step 3】In be loaded with the sending port of configuration information and initialized;
5.2】The attribute of test data to be sent is configured, the attribute includes data type, port to be sent and data
Length, port to be sent are the sending ports for completing initialization;
5.3】Configure the frequency and total degree of test data to be sent;
5.4】Start to send test data.
Step 6】Middle transmission data feedback result includes sending port initialization success or failure, configuration attribute success or lost
Lose and test data sends and starts or terminate.
Above-mentioned steps 7】For:
7.1】To step 3】In be loaded with the receiving port of configuration information and initialized;
7.2】According to step 1】In test case, configuration receive test data, it is described configuration receive test data refer to:
Different ports is selected to receive test data in the receiving port for completing initialization.
5th, the communication means between test console according to claim 4 and test equipment, it is characterised in that:Step
Rapid 8】Middle reception data feedback result include receiving port initialize successfully either failure, configuration reception test data it is successful or
Failure.
Above-mentioned management end passes through network under test with test lead and tested end communication connection, test lead respectively by Ethernet
Communicated to connect with tested end.
Above-mentioned network under test is AFDX networks or FC networks.
Present invention also offers the network test system between a kind of test console and test equipment, its special character exists
In:The test console includes management end, and test equipment includes test lead and tested end, and the management end passes through Ethernet
Communicated to connect respectively with test lead and tested end communication connection, test lead by network under test and tested end;Network under test
It is AFDX networks or FC networks.
The present invention has following technique effect:
The required all operations of the present invention, control data and test data subnetting are transmitted, and ensure control data to test
Data do not have an impact, and improve the automaticity of network test;
By management end by Ethernet respectively with test lead and tested end communication connection, test lead by network under test with
Tested end communication connection, the present invention are transmitted control data and test data subnetting by Ethernet and network under test, enter one
Step ensures that control data does not have an impact to test data, improves the automaticity of network test.
The life between test server (management end) and test target end (test lead and tested end) can effectively be realized
Order and data communication interaction, the functions such as the initialization, configuration loading, test data control of network under test are completed, are increased substantially
The automaticity of reliability network test.
Brief description of the drawings
Fig. 1 is the hierarchical diagram for the test system for realizing communication means of the present invention.
Fig. 2 is the schematic diagram for the test system for realizing communication means of the present invention.
Fig. 3 is management end, test lead and the tested interaction schematic diagram held of the present invention.
Fig. 4 is request message format schematic diagram.
Fig. 5 is response message form schematic diagram.
Embodiment
The invention provides the communication means between a kind of test console and test equipment, test console includes management
End, test equipment include test lead and tested end, and the structure of management end, test lead and tested end is as shown in Figure 2;Management end
Sent out respectively with test lead and tested end communication connection, management end using Ethernet to test lead and tested end by Ethernet
Test command is sent, and receives the response from test lead and tested end.Test lead is communicated by network under test with tested end
Connection, complete test-request command and test the interaction of response data, transmitting test data in network under test, its content then basis
Network under test species and have nothing in common with each other.Network under test therein is AFDX networks or FC networks.
The communication process schematic diagram of the present invention is as shown in figure 3, specific communication means is as follows:
1st, the communication means between a kind of test console and test equipment, it is characterised in that:The test console bag
Management end is included, test equipment includes test lead and tested end, and specific communication means is as follows:
1】Initialization requests:Management end passes through the network communication protocol layer parsing test pin of management end according to test case
This, then sends initialization requests order to test lead and tested end;
Initialization requests order includes resetting the data buffer zone for receiving and sending data, will receive and send data
Data counts reset and are initialized the equipment of test lead and tested end, it is ensured that test lead and the net at tested end
Network equipment can use;
2】Initialization feedback:After test lead and tested end receive initialization requests order, corresponding equipment is entered respectively
Row initialization;If initializing successfully, feed back initialization to management end and complete result, then carry out step 3】;If initialization failure,
Then terminated and tested by management end, record initialization failure, generate test report and test log;
3】Configure load request:Management end according to test case by equipment is enabled and data transmit-receive needed for configuration information and
Allocation list numbering sends corresponding according to allocation list numbering loading with tested end to test lead and tested end, order test lead
Configuration information;The one-to-one corresponding of test case and network configuration can be achieved, will be to test equipment and tested end configuration space
Requirement minimize;
Configuration information includes:Interchanger ID number, physical port configuration information, the input for forwarding virtual link and output end
Mouthful;Node station ID number, physical layer configurations and COM1 configuration;Allocation list form corresponding to configuration information is carried by tested network
Donor defines.
COM1 includes sending port and receiving port;
4】Configuration loading feedback:Test lead and tested end carry out configuration information loading;It is anti-to management end if loading successfully
Result is completed in feedback loading, then carries out step 5】;After loading successfully, management end can monitor the node and interchanger at tested end
Between the state of port and link, the state of port and link between the node of test lead and interchanger can be monitored;For example with
The too state of netting twine;
If loading failure, is terminated by management end and tested, record loading failure, test report and test log are generated;
5】Send request of data:Sort command test lead is managed to send to test lead to tested end or the tested end of order
The test data being adapted with test case;
6】Send data feedback:Test lead or tested end send result to management end feedback data;If send data into
Work(, then carry out step 7】;If sending data failure, terminated and tested by management end, record sends data failure, generation test report
Announcement and test log;
7】Receive request of data:Manage sort command test lead or tested termination Acceptance Tests data;
8】Receive data feedback:Test lead or tested end receive result to management end feedback data;If receive data into
Work(, then carry out step 9】;If receiving data failure, terminated and tested by management end, record receives data failure, generation test report
Announcement and test log;
9】Test report generates:The feedback result that management end is sent according to test lead and tested end, which analyzes test execution, is
It is no correct and generate test report;
10】Test log generates;Test lead and tested end send test log to management end, final in management end generation
Test log.
In view of raising test automation degree, the test interaction message operation in the present invention includes:Initialization, state prison
Control, transmission data, reception data, pause, continuation, cancellation, inquiry test mode, daily record report order to amount to 9 kinds of operations.
Step 5】For:
5.1】To step 3】In be loaded with the sending port of configuration information and initialized;
5.2】The attribute of test data to be sent is configured, the attribute includes data type, port to be sent and data
Length, port to be sent are the sending ports for completing initialization;
5.3】Configure the frequency and total degree of test data to be sent;
5.4】Start to send test data.
Step 6】Middle transmission data feedback result includes sending port initialization success or failure, configuration attribute success or lost
Lose and test data sends and starts or terminate.
Step 7】For:
7.1】To step 3】In be loaded with the receiving port of configuration information and initialized;
7.2】According to step 1】In test case, configuration receive test data, it is described configuration receive test data refer to:
Different ports is selected to receive test data in the receiving port for completing initialization.
Step 8】Middle reception data feedback result is initialized successfully including receiving port or failure, configuration receive test number
According to success or failure.
7th, the communication means between test console according to claim 6 and test equipment, it is characterised in that:Institute
It is AFDX networks or FC networks to state network under test.
Based on the communication means of the present invention, present invention also offers the network test between a kind of console and test equipment
System, console include management end, and test equipment includes test lead and tested end, the management end by Ethernet respectively with
Test lead and tested end are communicated to connect, and test lead is communicated to connect by network under test and tested end;Network under test is AFDX
Network or FC networks.
The communication means of the present invention is operated by test interaction message, request message and response message are formed.
The interaction message of management end, test lead and tested end is divided into request and the class message of response two.Management end is to test
End and tested end send request message, and test lead and tested end send response message to management end.
9 kinds of operations of the present invention.Management end and the request at test lead and tested end are shown in Table 1 with response interaction message content.
The interaction message content of table 1
Request message
The command messages that request message is management end to be sent to test lead, tested end, the demand provided according to management end,
Message parameter includes device identification, configuration parameter information, test command information, test command control information and status inquiry
Information.
Request message format is shown in that Fig. 4, type are type of message, the byte of length 1;Pin is test lead or the mesh at tested end
IP address, the byte of length 4;The specific data of message are according to content and message-length come the byte number of regulation data.Request disappears
Breath and parameter definition are shown in Table 2:
The request message of table 2 and parameter definition table
Response message
Response message is the message sent from test lead and tested end according to request command to management end.Response message is joined
Number includes device identification, order runs succeeded or failure flags, failure cause, and returning to test result and test log includes
Test result data and test-types, Log Types and remark information etc..
Response message is divided into two kinds of message formats and sees Fig. 5, and a kind of is the response message of ACK forms, and another kind is to include net
The response message of network data.Wherein, type is type of message, the byte of length 1;Pin is test lead or the purpose IP at tested end
Address, the byte of length 4;ACK is response result, the byte of length 1;Annotation includes the failure reason data length of 4 bytes (with 4 words
Section counts) and the specific data of failure.Response message and parameter definition are shown in Table 3:
The response message of table 3 and parameter definition table
According to defined above, the separation of the invention that test data and control data can be ensured;Effectively realize testing service
Order and data communication interaction between device and test target end, complete the initialization, configuration loading, test data of network under test
The functions such as control, increase substantially the automaticity of reliability network test.
Claims (7)
- A kind of 1. communication means between test console and test equipment, it is characterised in that:The test console includes pipe End is managed, test equipment includes test lead and tested end, and specific communication means is as follows:1】Initialization requests:Management end parses test script, so according to test case by the network communication protocol layer of management end Back testing end and tested end send initialization requests order;Initialization requests order includes to receive and sending the data buffer zone clearing of data, will receive and send the data of data Count and reset and initialized the equipment of test lead and tested end, it is ensured that test lead and the network at tested end are set It is standby available;2】Initialization feedback:After test lead and tested end receive initialization requests order, corresponding equipment is carried out just respectively Beginningization;If initializing successfully, feed back initialization to management end and complete result, then carry out step 3】;If initialization failure, by Management end terminates test, record initialization failure, generates test report and test log;3】Configure load request:Management end enables equipment and the configuration information needed for data transmit-receive and configuration according to test case Table numbering is sent to test lead and tested end, and order test lead and tested end number that loading is corresponding to match somebody with somebody according to allocation list Confidence ceases;Configuration information includes:Interchanger ID number, physical port configuration information, the input for forwarding virtual link and output port;Section Point machine ID number, physical layer configurations and COM1 configuration;COM1 includes sending port and receiving port;4】Configuration loading feedback:Test lead and tested end carry out configuration information loading;If loading successfully, add to management end feedback Carry and complete result, then carry out step 5】;After loading successfully, management end can be monitored between the node and interchanger at tested end Port and the state of link, the state of port and link between the node of test lead and interchanger can be monitored;If loading failure, is terminated by management end and tested, record loading failure, test report and test log are generated;5】Send request of data:Sort command test lead is managed to send and survey to test lead to tested end or the tested end of order The test data that example on probation is adapted;6】Send data feedback:Test lead or tested end send result to management end feedback data;If sending data success, Carry out step 7】;If send data failure, by management end terminate test, record send data failure, generation test report and Test log;7】Receive request of data:Manage sort command test lead or tested termination Acceptance Tests data;8】Receive data feedback:Test lead or tested end receive result to management end feedback data;If receiving data success, Carry out step 9】;If receive data failure, by management end terminate test, record receive data failure, generation test report and Test log;9】Test report generates:Whether just the feedback result that management end is sent according to test lead and tested end analyzes test execution Really and generate test report;10】Test log generates;Test lead and tested end send test log to management end, and final survey is generated in management end Try daily record.
- 2. the communication means between test console according to claim 1 and test equipment, it is characterised in that:The step Rapid 5 are:5.1】To step 3】In be loaded with the sending port of configuration information and initialized;5.2】The attribute of test data to be sent is configured, the attribute includes data type, port to be sent and data length, Port to be sent is the sending port for completing initialization;5.3】Configure the frequency and total degree of test data to be sent;5.4】Start to send test data.
- 3. the communication means between test console according to claim 2 and test equipment, it is characterised in that:Step 6】 Middle transmission data feedback result includes sending port initialization success or failure, configuration attribute success or failure and test data Send and start or terminate.
- 4. the communication means between test console according to claim 3 and test equipment, it is characterised in that:The step Rapid 7】For:7.1】To step 3】In be loaded with the receiving port of configuration information and initialized;7.2】According to step 1】In test case, configuration receive test data, it is described configuration receive test data refer to:Complete Different ports is selected to receive test data into the receiving port of initialization.
- 5. the communication means between test console according to claim 4 and test equipment, it is characterised in that:Step 8】 Middle reception data feedback result initializes successfully either failure including receiving port, configures the success of reception test data or lose Lose.
- 6. the communication means between test console and test equipment according to claim 1 to 5 any claim, its It is characterised by:The management end is by Ethernet respectively with test lead and tested end communication connection, and test lead is by treating survey grid Network communicates to connect with tested end.
- 7. the communication means between test console according to claim 6 and test equipment, it is characterised in that:It is described to treat Survey grid network is AFDX networks or FC networks.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410727715.7A CN104486146B (en) | 2014-12-03 | 2014-12-03 | A kind of communication means between test console and test equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410727715.7A CN104486146B (en) | 2014-12-03 | 2014-12-03 | A kind of communication means between test console and test equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104486146A CN104486146A (en) | 2015-04-01 |
CN104486146B true CN104486146B (en) | 2017-12-22 |
Family
ID=52760653
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410727715.7A Active CN104486146B (en) | 2014-12-03 | 2014-12-03 | A kind of communication means between test console and test equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104486146B (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105119779B (en) * | 2015-09-11 | 2018-09-28 | 上海斐讯数据通信技术有限公司 | A kind of automatic test approach, system and the control device of equipment under test serial ports |
CN105425767B (en) * | 2015-11-04 | 2018-05-18 | 中国直升机设计研究所 | A kind of method of the different types to be measured of maintained equipment automatic identification |
CN105974297B (en) * | 2016-04-12 | 2019-08-27 | 烽火通信科技股份有限公司 | It is a kind of to realize the virtual test instrument and test method efficiently tested |
CN106452942B (en) * | 2016-08-29 | 2019-08-27 | 中车株洲电力机车研究所有限公司 | The vehicle-mounted Ethernet exchanging software performance test system and method for track transportation industry |
CN107104827A (en) * | 2017-04-12 | 2017-08-29 | 上海斐讯数据通信技术有限公司 | DMZ method for automatically testing functions and system based on Socket |
CN109426240B (en) * | 2017-09-05 | 2020-10-27 | 大唐联仪科技有限公司 | Test method and device |
CN110336869B (en) * | 2019-06-28 | 2022-08-30 | 上海移远通信技术股份有限公司 | Data interaction test method and system |
CN112104998A (en) * | 2020-08-18 | 2020-12-18 | 东软集团股份有限公司 | Communication test method, device, storage medium and electronic equipment |
CN114286358A (en) * | 2020-09-27 | 2022-04-05 | 大唐移动通信设备有限公司 | Method, device and system for processing test data and readable storage medium |
CN115022160A (en) * | 2021-03-03 | 2022-09-06 | ***通信有限公司研究院 | Network test packet selection method and device and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7181360B1 (en) * | 2004-01-30 | 2007-02-20 | Spirent Communications | Methods and systems for generating test plans for communication devices |
CN101232412A (en) * | 2008-02-18 | 2008-07-30 | 中兴通讯股份有限公司 | Communication network element performance test apparatus and method |
CN101478449A (en) * | 2009-01-22 | 2009-07-08 | 凌阳科技股份有限公司 | Protocol automatic test method and system thereof |
CN102006616A (en) * | 2010-11-09 | 2011-04-06 | 中兴通讯股份有限公司 | Test system and test method |
-
2014
- 2014-12-03 CN CN201410727715.7A patent/CN104486146B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7181360B1 (en) * | 2004-01-30 | 2007-02-20 | Spirent Communications | Methods and systems for generating test plans for communication devices |
CN101232412A (en) * | 2008-02-18 | 2008-07-30 | 中兴通讯股份有限公司 | Communication network element performance test apparatus and method |
CN101478449A (en) * | 2009-01-22 | 2009-07-08 | 凌阳科技股份有限公司 | Protocol automatic test method and system thereof |
CN102006616A (en) * | 2010-11-09 | 2011-04-06 | 中兴通讯股份有限公司 | Test system and test method |
Non-Patent Citations (2)
Title |
---|
AFDX终端***测试研究;王小宁 等;《面向航空试验测试技术——2013年航空试验测试技术峰会暨学术交流会论文集》;20130820;第128-132页 * |
AFDX网络端***测试技术研究;陈长胜 等;《2011航空试验测试技术学术交流会论文集》;20100906;第107-109页 * |
Also Published As
Publication number | Publication date |
---|---|
CN104486146A (en) | 2015-04-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104486146B (en) | A kind of communication means between test console and test equipment | |
CN103248452B (en) | Data sending device, data receiving device, terminal and data transmission method | |
CN1700674B (en) | Packet generation method, communication method, packet processing method | |
US7805514B2 (en) | Accessing results of network diagnostic functions in a distributed system | |
CN102571396A (en) | Communication network system and routing inspection subsystem and routing inspection method of communication equipment | |
CN106774279B (en) | Converter valve control protective unit pilot system and method based on RTDS | |
CN109495870A (en) | The method and apparatus of bluetooth test | |
CN106603283A (en) | Service simulation method and device, concentrated management platform | |
CN102916833B (en) | Remote debugging method, remote debugging system and debugging target equipment | |
CN110138617A (en) | Data transmission quality test method, system, electronic equipment and storage medium | |
CN102804689B (en) | Testing network communication link | |
CN102594618A (en) | Method and device for realizing storage device test of storage area network (SAN) | |
CN107508828B (en) | A kind of very-long-range data interaction system and method | |
CN106936658A (en) | The method of testing and test platform of test case, simulation test equipment | |
CN105190530A (en) | Transmitting hardware-rendered graphical data | |
CN104836831B (en) | A kind of object method of servicing for Internet of Things | |
CN102238571B (en) | Apparatus of Internet of Things machine to machine/man (M2M) business processing, system and method thereof | |
CN102833144A (en) | Network card data transmission method and system | |
CN109005080A (en) | A kind of distributed packet forwarding implementation method realizes system and automated testing method | |
CN109656791A (en) | A kind of gRPC performance test methods and device based on Jmeter | |
CN107592337A (en) | A kind of method and device of unmanned aerial vehicle (UAV) control device and communication of mobile terminal | |
CN107872366A (en) | Analysis system and analysis method for spacecraft data message in simulated flight | |
CN107798067A (en) | Suitable for the database normalization storage system and method for polytypic satellite test | |
CN108880948B (en) | Equipment test verification system and method based on FC network | |
CN104468213B (en) | A kind of switch remote management system and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |