CN212906277U - Embedded software testing device based on TFTP protocol - Google Patents

Embedded software testing device based on TFTP protocol Download PDF

Info

Publication number
CN212906277U
CN212906277U CN202021898845.4U CN202021898845U CN212906277U CN 212906277 U CN212906277 U CN 212906277U CN 202021898845 U CN202021898845 U CN 202021898845U CN 212906277 U CN212906277 U CN 212906277U
Authority
CN
China
Prior art keywords
test data
terminal
test
output interface
tftp protocol
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
Application number
CN202021898845.4U
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.)
Casco Signal Ltd
Original Assignee
Casco Signal 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 Casco Signal Ltd filed Critical Casco Signal Ltd
Priority to CN202021898845.4U priority Critical patent/CN212906277U/en
Application granted granted Critical
Publication of CN212906277U publication Critical patent/CN212906277U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The utility model relates to an embedded software testing arrangement based on TFTP agreement, including host computer and next machine, the host computer pass through the TFTP agreement and be connected with the next machine, the next machine including MVCU and SVCU who connects through the TFTP agreement each other. Compared with the prior art, the utility model has the advantages of adopt TFTP agreement transmission, it is less to occupy the resource ratio, further provides test performance and efficiency of software testing.

Description

Embedded software testing device based on TFTP protocol
Technical Field
The utility model relates to an embedded software testing technique especially relates to an embedded software testing arrangement based on TFTP agreement.
Background
An embedded system in a railway signal system is widely applied, a VCU (virtual Control Unit, security Control Unit) is a security development platform providing functions of 2-out-of-2, hot standby redundancy and the like, an upper layer application can call an interface provided by the platform to realize own functions, and the VCU is already applied to the railway signal system at present, such as an input/output Control Unit, a signal lamp Control Unit and the like.
In the case of testing an embedded platform, an automatic test platform needs to be introduced to realize that an upper computer sends a command, a lower computer analyzes the command, and then the required function is realized according to the analyzed command, and the function of automatically recording a test log is realized.
In an embedded system, the resource utilization rate of the system is sensitive, and a test platform cannot occupy too many resources, so that what kind of method is adopted for testing, and therefore extra system resources are not occupied, and the technical problem which needs to be solved at present is solved.
SUMMERY OF THE UTILITY MODEL
The present invention is directed to overcome the above-mentioned drawbacks of the prior art and to provide an embedded software testing device based on TFTP protocol.
The purpose of the utility model can be realized through the following technical scheme:
the embedded software testing device based on the TFTP comprises an upper computer and a lower computer, wherein the upper computer is connected with the lower computer through the TFTP, and the lower computer comprises an MVCU and an SVCU which are mutually connected through the TFTP.
Preferably, the upper computer comprises a test data management server, a test data sending terminal and a test data storage, the test data management server is respectively connected with the test data sending terminal and the test data storage, and the test data sending terminal is connected with the lower computer through a TFTP protocol.
Preferably, the test data sending terminal sends information to the lower computer in a python script mode.
Preferably, the test data transmission terminal is in communication connection with the MVCU through a TFTP protocol.
Preferably, the MVCU includes a first test data receiving terminal, a first test data operating terminal, a first test data local storage terminal, and a test data forwarding terminal, where the first test data operating terminal is connected to the first test data receiving terminal and the first test data local storage terminal, the first test data receiving terminal is connected to the test data forwarding terminal, and the test data forwarding terminal is connected to the SVCU.
Preferably, the MVCU further includes a first test result output interface connected to the first test data operation terminal.
Preferably, the first test result output interface is a wireless output interface.
Preferably, the SVCU includes a second test data receiving terminal, a second test data operating terminal, and a second test data local storage terminal, and the second test data operating terminal is connected to the second test data receiving terminal and the second test data local storage terminal, respectively.
Preferably, the SVCU further includes a second test result output interface connected to the second test data operation terminal.
Preferably, the second test result output interface is a wireless output interface.
Compared with the prior art, the utility model has the advantages of it is following:
1. the utility model adopts TFTP protocol transmission, occupies less resources and does not affect the performance of the tested software;
2. the utility model also adopts TFTP protocol transmission between the main machine and the standby machine, thereby further providing the test performance and the test efficiency;
3. the utility model supports the execution of a plurality of test sequences, and can realize automatic test;
4. the utility model discloses can be applied to different embedded systems, application range is wider.
Drawings
Fig. 1 is a schematic structural diagram of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, of the embodiments of the present invention. Based on the embodiments in the present invention, all other embodiments obtained by a person skilled in the art without creative efforts shall fall within the protection scope of the present invention.
As shown in fig. 1, an embedded software testing apparatus based on a TFTP protocol includes an upper computer 1 and a lower computer 2, where the upper computer 1 is connected with the lower computer 2 through the TFTP protocol, and the lower computer 2 includes an MVCU21(Master virtual Control Unit) and an SVCU22(Slave virtual Control Unit) that are connected with each other through the TFTP protocol.
The upper computer 1 comprises a test data management server 101, a test data sending terminal 102 and a test data storage 103, wherein the test data management server 101 is respectively connected with the test data sending terminal 102 and the test data storage 103, and the test data sending terminal 102 is connected with the lower computer 2 through a TFTP protocol.
And the test data sending terminal sends information to the lower computer in a python script mode. The test data transmission terminal 102 is communicatively connected to the MVCU201 through the TFTP protocol.
The MVCU201 comprises a first test data receiving terminal 2012, a first test data operating terminal 2011, a first test data local storage terminal 2013 and a test data forwarding terminal 2014, wherein the first test data operating terminal 2011 is respectively connected with the first test data receiving terminal 2012 and the first test data local storage terminal 2013, the first test data receiving terminal 2012 is connected with the test data forwarding terminal 2014, and the test data forwarding terminal 2014 is connected with the SVCU 202.
The MVCU201 further includes a first test result output interface 2015 connected to the first test data operation terminal. The first test result output interface adopts a wireless output interface.
The SVCU202 includes a second test data receiving terminal 2023, a second test data operating terminal 2021 and a second test data local storage terminal 2022, and the second test data operating terminal 2021 is connected to the second test data receiving terminal 2023 and the second test data local storage terminal 2022, respectively.
The SVCU202 further includes a second test result output interface 2024 connected to a second test data operation terminal 2021. And the second test result output interface adopts a wireless output interface.
In an embedded system, the resource utilization rate of the system is sensitive, a test platform cannot occupy too many resources, because a TFTP protocol provides uncomplicated file transfer service with low overhead, and a VCU adopts the TFTP protocol for external communication. In order to not occupy additional system resources, the test platform also adopts a TFTP protocol.
The utility model discloses a TFTP's mode conveying message comes dynamic management test data through the host computer, and the next machine carries out test data. In order to save resource overhead, TFTP transmission is also used between embedded interiors. The TFTP is transmitted in a file form, so that the content of the file can be changed conveniently, the transmitted content can be defined according to the requirements of users, and the expandability of the platform is improved.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of various equivalent modifications or replacements within the technical scope of the present invention, and these modifications or replacements should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (8)

1. The embedded software testing device based on the TFTP protocol is characterized by comprising an upper computer and a lower computer, wherein the upper computer is connected with the lower computer through the TFTP protocol, and the lower computer comprises an MVCU and an SVCU which are mutually connected through the TFTP protocol; the MVCU comprises a first test data receiving terminal, a first test data operating terminal, a first test data local storage terminal and a test data forwarding terminal, wherein the first test data operating terminal is respectively connected with the first test data receiving terminal and the first test data local storage terminal; the SVCU comprises a second test data receiving terminal, a second test data operating terminal and a second test data local storage terminal, wherein the second test data operating terminal is respectively connected with the second test data receiving terminal and the second test data local storage terminal.
2. The device according to claim 1, wherein the upper computer comprises a test data management server, a test data transmission terminal and a test data storage, the test data management server is connected to the test data transmission terminal and the test data storage, respectively, and the test data transmission terminal is connected to the lower computer through the TFTP protocol.
3. The embedded software testing device based on the TFTP protocol of claim 2, wherein the test data sending terminal sends information to the lower computer in a python script mode.
4. The device of claim 2, wherein the test data transmitting terminal is communicatively connected to the MVCU via the TFTP protocol.
5. The device according to claim 4, wherein the MVCU further comprises a first test result output interface connected to the first test data operation terminal.
6. The device according to claim 5, wherein the first test result output interface is a wireless output interface.
7. The device according to claim 1, wherein the SVCU further comprises a second test result output interface connected to a second test data operation terminal.
8. The device according to claim 7, wherein the second test result output interface is a wireless output interface.
CN202021898845.4U 2020-09-03 2020-09-03 Embedded software testing device based on TFTP protocol Active CN212906277U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202021898845.4U CN212906277U (en) 2020-09-03 2020-09-03 Embedded software testing device based on TFTP protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202021898845.4U CN212906277U (en) 2020-09-03 2020-09-03 Embedded software testing device based on TFTP protocol

Publications (1)

Publication Number Publication Date
CN212906277U true CN212906277U (en) 2021-04-06

Family

ID=75255240

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202021898845.4U Active CN212906277U (en) 2020-09-03 2020-09-03 Embedded software testing device based on TFTP protocol

Country Status (1)

Country Link
CN (1) CN212906277U (en)

Similar Documents

Publication Publication Date Title
CN110868278B (en) Method for dual-computer redundancy of communication front-end processor of rail transit comprehensive monitoring system
CN102870374A (en) Load-sharing method and apparatus, and veneer,
CN115357535A (en) Virtual serial port design method and device
CN103650401A (en) Internal communication method for mobile terminal
CN112181806A (en) Embedded software testing device and method based on TFTP protocol
CN106506303A (en) A kind of main station system of controller real-time ethernet EtherCAT
CN212906277U (en) Embedded software testing device based on TFTP protocol
CN101369191B (en) Multicomputer switching mechanism and implementing method
CN103885910B (en) The method that many equipment carry out IIC communications under holotype
CN108616591B (en) Interface device and method for data exchange
CN114500559A (en) Breakpoint resume control method, control terminal and computer storage medium
CN110098989A (en) A kind of multichannel CAN analogue system and test method based on CANFD bus
CN113900985A (en) IO and SPI multiplexing chip, multiplexing auxiliary chip and data interaction method
CN110061765B (en) 5G onboard double 2X 2MIMO wireless control system
CN102142986A (en) Veneer communication system and communication method thereof
CN117254987B (en) Communication method, communication device, and storage medium
CN216904929U (en) Network integration system
CN111475454B (en) PCIe interface-based communication method and device, computer equipment and computer-readable storage medium
CN103455398A (en) Method for avoiding failed information interaction inside and outside belt
JP2601453Y2 (en) Serial communication system
CN116527552A (en) White box switch test instruction processing method, system, terminal and storage medium
JP2858558B2 (en) Simple wireless local area network system
JPS5860842A (en) Optical data bus system for aircraft
CN114896187A (en) ATE tester frame type equipment and method for uniformly collecting serial ports thereof
CN116560939A (en) EC log batch recording method, system, equipment and storage medium

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant