CN104079443A - Data transmission performance testing system and method - Google Patents

Data transmission performance testing system and method Download PDF

Info

Publication number
CN104079443A
CN104079443A CN201310097703.6A CN201310097703A CN104079443A CN 104079443 A CN104079443 A CN 104079443A CN 201310097703 A CN201310097703 A CN 201310097703A CN 104079443 A CN104079443 A CN 104079443A
Authority
CN
China
Prior art keywords
computer
loop
data
transmission performance
data transmission
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
CN201310097703.6A
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.)
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry 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 Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Priority to CN201310097703.6A priority Critical patent/CN104079443A/en
Priority to TW102111126A priority patent/TW201437825A/en
Publication of CN104079443A publication Critical patent/CN104079443A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

The invention discloses a data transmission performance testing system for testing data transmission performance when a first computer is taken as a transmitting end. The system comprises a command module, a first transmitting module, a first receiving module and a comparison module, wherein the command module is used for transmitting a loop setting command to a second computer taken as a receiving end, wherein a loop is set to short circuit the data receiving end (Rx) and the data transmitting end (Tx) of the second computer; the first transmitting module is used for transmitting a pre-stored data packet to the set loop when the first computer receives a loop setting completion signal transmitted by the second computer within preset time; the first receiving module is used for receiving a data packet looped back by the loop; and the comparison module is used for comparing the data packet looped back with the stored data packet to determine whether the data transmission performance meets a certain requirement when the first computer is taken as the transmitting end. The invention further provides a testing method. By using the testing system and the testing method, testing personnel can conveniently perform data transmission performance testing on computers.

Description

Data transmission performance testing system and method
Technical field
The present invention relates to field tests, particularly a kind of data transmission performance testing system and method.
Background technology
Current, test communication connect two computers between data transmission performance time, the conventional method of testing of tester is to carry out according to the sequential of one of a receipts, for example, send data packet by the first computer to second computer, this second computer sends to the first computer after receiving this data packet again, and whether the transmission performance of the first computer when received data packet compares to verify this first computer as transmitting terminal meets the requirements.But under this method of testing, when the first computer sends after data packet to described second computer, while can not get within a certain period of time the response of second computer, tester has no way of learning that the data transmission link between the first computer and second computer has the problem of problem or second computer itself.
Summary of the invention
In view of above content, be necessary to provide a kind of data transmission performance testing system, can facilitate tester to carry out data transmission performance testing to computer.
In view of above content, be also necessary to provide a kind of data transmission performance testing method, can facilitate tester to carry out data transmission performance testing to computer.
A kind of data transmission performance testing system, data transmission performance while being used for testing the first computer as transmitting terminal, this system comprises: command module, send loop for the second computer to as receiving terminal order is set, wherein, described loop is set to the data receiver of this second computer (Rx) and data sending terminal (Tx) to carry out short circuit; The first sending module, while settling signal being set for receive the loop of described second computer transmission in Preset Time when described the first computer, sends pre-stored data packet to set loop; The first receiver module, for receiving the data packet through described loop loopback; And comparing module, for the data packet of institute's loopback and the data packet stored are compared, whether the data transmission performance when determining described the first computer as transmitting terminal meets the requirements.
A kind of data transmission performance testing system, runs on the second computer as receiving terminal, and this system comprises: the second receiver module, arranges order for the loop receiving from sending as the first computer of transmitting terminal; Module is set, for by the data receiver of this second computer (Rx) and data sending terminal (Tx) short circuit so that loop to be set; And second sending module, set up into signal and arrive described the first computer for sending loop.
A kind of data transmission performance testing method, data transmission performance while being used for testing the first computer as transmitting terminal, the method comprises: send loop to the second computer as receiving terminal order is set, wherein, described loop is set to the data receiver of this second computer (Rx) and data sending terminal (Tx) to carry out short circuit; In the time that described the first computer receives loop that described second computer sends settling signal is set in Preset Time, send pre-stored data packet to set loop; Receive the data packet through described loop loopback; And the data packet of institute's loopback and the data packet stored are compared, whether the data transmission performance when determining described the first computer as transmitting terminal meets the requirements.
A kind of data transmission performance testing method, is applied to the second computer as receiving terminal, and the method comprises: receive, from the loop sending as the first computer of transmitting terminal, order is set; By the data receiver of this second computer (Rx) and data sending terminal (Tx) short circuit so that loop to be set; And send loop and set up into signal and arrive described the first computer.
Compared to prior art, utilize described data transmission performance testing system and method, can facilitate tester to carry out data transmission performance testing to computer.
Brief description of the drawings
Fig. 1 is the Organization Chart of data transmission performance testing system of the present invention preferred embodiment.
Fig. 2 is the functional block diagram of data transmission performance testing system of the present invention preferred embodiment.
Fig. 3 is data transmission performance testing method preferred embodiment first pass figure of the present invention.
Fig. 4 is data transmission performance testing method preferred embodiment the second flow chart of the present invention.
Main element symbol description
The first computer 1
Second computer 2
Test macro 10
First memory 20
First processor 30
Second memory 70
The second processor 80
First data transmission line 40
The second data line 50
Data sending terminal (Tx) 41、52
Data receiver (Rx) 42、51
Control signal wire 60
Command module 101
Judge module 102
The first sending module 103
The first receiver module 104
Comparing module 105
The second receiver module 106
Module is set 107
The second sending module 108
Following embodiment further illustrates the present invention in connection with above-mentioned accompanying drawing.
Embodiment
As shown in Figure 1, be the running environment figure of data transmission performance testing system of the present invention (hereinafter to be referred as test macro).In the present embodiment, test macro 10 runs in the first computer 1 and second computer 2.Described test macro 10 for test described the first computer 1 with second computer 2 data transmission performance during respectively as transmitting terminal.The data sending terminal (Tx) 41 of this first computer 1 is connected by first data transmission line 40 with the data receiver (Rx) 42 of described second computer 2.The data receiver (Rx) 51 of described the first computer 1 is connected by the second data line 50 with the data sending terminal (Tx) 52 of described second computer 2.That is to say that described the first computer 1 both can be used as transmitting terminal and transmitted data to described second computer 2, also can be used as receiving terminal and receive the data that transmit from second computer 2.In the present embodiment, between described the first computer 1 and second computer 2, be also connected by control signal wire 60 communications.
It should be noted that, the present embodiment is only to be connected to illustrate by the communication of two data lines (being first data transmission line 40 and the second data line 50) between described the first computer 1 and second computer 2.In other embodiments, can also comprise the communication connection of multiple data lines.
In the present embodiment, described the first computer 1 also comprises first memory 20 and first processor 30, and described second computer 2 also comprises second memory 70 and the second processor 80.It should be noted that, the simple description that the present embodiment just carries out the structure of described the first computer 1 and second computer 2, this first computer 1 and second computer 2 can also comprise other elements, as Circuits System, sound effect system, I/O interface, battery, operating system etc.
Described first memory 20 and second memory 70 can be for storing the data such as the program code of described test macro 10.In the present embodiment, described test macro 10 can be divided into one or more modules, described one or more module is stored in described first memory 20 and second memory 70 and for example, by one or more processors (first processor 30 in the present embodiment and the second processor 80) and carries out, to complete the present invention.
In the present embodiment, described test macro 10 comprises command module 101, judge module 102, the first sending module 103, the first receiver module 104, comparing module 105, the second receiver module 106, module 107 is set and the second sending module 108(consults shown in Fig. 2).
It should be noted that, when described test macro 10 when testing the data transmission performance of transmitting terminal (for example, data transmission performance while testing described the first computer 1 as transmitting terminal), described transmitting terminal is carried out command module 101, judge module 102, the first sending module 103, the first receiver module 104 and the comparing module 105 of this test macro 10, accordingly, receiving terminal (for example, described second computer 2) carry out this test macro 10 the second receiver module 106, module 107 and the second sending module 108 are set.
The alleged module of the present invention has been the program segment of a specific function, is more suitable in describing the implementation of software in the first computer 1 and second computer 2 than program, will be in following specific descriptions about the function of each module.
As shown in Figure 3, be the first pass figure of the preferred embodiment of data transmission performance testing method of the present invention.Wherein, the data transmission performance of Fig. 3 when testing the first computer 1 as transmitting terminal illustrates, and in other embodiments, the data transmission performance also can test second computer 2 as transmitting terminal time illustrates.
Step S1, command module 101 sends loop to the second computer 2 as receiving terminal order is set, and wherein, described loop is set to the data receiver of this second computer 2 (Rx) 42 and data sending terminal (Tx) 52 to carry out short circuit.
Particularly, described command module 101 can send described loop by control signal wire 60 and order is set to described second computer 2, according to this order, loop is set by this second computer 2.
Step S2, judge module 102 judges whether described the first computer 1 receives the loop sending from described second computer 2 settling signal is set in Preset Time.If perform step S3, otherwise process ends.
Step S3, the first sending module 103 sends pre-stored data packet to set loop.
Step S4, the first receiver module 104 receives the data packet through described loop loopback.
Step S5, comparing module 105 is compared the data packet of institute's loopback and the data packet stored, and whether the data transmission performance when determining described the first computer 1 as transmitting terminal meets the requirements and notifies tester.
Particularly, when the data packet that described comparing module 105 authenticates to institute's loopback is consistent with stored data packet, transmission performance when the first computer 1 is as transmitting terminal described in prompting tester meets the requirements.Otherwise the transmission performance while pointing out this first computer 1 of tester as transmitting terminal is undesirable.
Step S6, command module 101 sends loop to described second computer 2 and countermands an order, to cancel loop.
As shown in Figure 4, be the flow chart of data transmission performance testing method preferred embodiment second of the present invention.Wherein, the data transmission performance of Fig. 4 when testing the first computer 1 as transmitting terminal illustrates, and in other embodiments, the data transmission performance also can test second computer 2 as transmitting terminal time illustrates.
Step S11, the loop that the second receiver module 106 receives from sending as the first computer 1 of transmitting terminal arranges order.
Particularly, described the second receiver module 106 receives described loop order is set from being connected in control signal wire 60 between described the first computer 1 and second computer 2.
Step S12, arrange module 107 by the data receiver of this second computer 2 (Rx) 42 with data sending terminal (Tx) 52 short circuits so that loop to be set.
Particularly, the described module 107 that arranges can be by controlling the gate circuit between this data receiver (Rx) 42 and data sending terminal (Tx) 52, makes described data receiver (Rx) 42 and data sending terminal (Tx) 52 short circuits to form loop.Thereby the data packet that described the first computer 1 is sent from data sending terminal (Tx) 41 can be got back to by this return rings the data receiver (Rx) 51 of described the first computer 1.
Step S13, the second sending module 108 sends loop and sets up into signal and arrive described the first computer 1.
Particularly, described the second sending module 108 can send described loop by described control signal wire 60 and settling signal is set to described the first computer 1.
Step S14, the second receiver module 106 receives the loop sending from described the first computer 1 and countermands an order.
Step S15, arranges module 107 and cancels the set loop of this second computer 2.
Similarly, the described module 107 that arranges can, by controlling the gate circuit between this data receiver (Rx) 42 and data sending terminal (Tx) 52, be cancelled the set loop of described data receiver (Rx) 42 and data sending terminal (Tx) 52.
Above embodiment is only unrestricted in order to technical scheme of the present invention to be described, although the present invention is had been described in detail with reference to preferred embodiment, those of ordinary skill in the art is to be understood that, can modify or be equal to replacement technical scheme of the present invention, and not depart from the spirit and scope of technical solution of the present invention.

Claims (10)

1. a data transmission performance testing system, the data transmission performance when testing the first computer as transmitting terminal, is characterized in that, this system comprises:
Command module, sends loop for the second computer to as receiving terminal order is set, and described loop is set to the data receiver of this second computer (Rx) and data sending terminal (Tx) to carry out short circuit;
The first sending module, while settling signal being set for receive the loop of described second computer transmission in Preset Time when described the first computer, sends pre-stored data packet to set loop;
The first receiver module, for receiving the data packet through described loop loopback; And
Comparing module, for the data packet of institute's loopback and the data packet stored are compared, whether the data transmission performance when determining described the first computer as transmitting terminal meets the requirements.
2. data transmission performance testing system as claimed in claim 1, it is characterized in that, described command module also when the data transmission performance when having verified described the first computer as transmitting terminal, sends loop to described second computer and countermands an order, to cancel loop.
3. a data transmission performance testing system, runs on the second computer as receiving terminal, it is characterized in that, this system comprises:
The second receiver module, arranges order for the loop receiving from sending as the first computer of transmitting terminal;
Module is set, for by the data receiver of this second computer (Rx) and data sending terminal (Tx) short circuit so that loop to be set; And
The second sending module, sets up into signal and arrives described the first computer for sending loop.
4. data transmission performance testing system as claimed in claim 3, is characterized in that, described the second receiver module is also countermanded an order for receiving the loop that described the first computer sends;
The described module that arranges is also for cancelling the set loop of this second computer.
5. data transmission performance testing system as claimed in claim 4, is characterized in that, the described module that arranges arranges or cancel loop by the gate circuit between data receiver (Rx) and the data sending terminal (Tx) of the described second computer of control.
6. a data transmission performance testing method, the data transmission performance when testing the first computer as transmitting terminal, is characterized in that, the method comprises:
Send loop to the second computer as receiving terminal order is set, described loop is set to the data receiver of this second computer (Rx) and data sending terminal (Tx) to carry out short circuit;
In the time that described the first computer receives loop that described second computer sends settling signal is set in Preset Time, send pre-stored data packet to set loop;
Receive the data packet through described loop loopback; And
The data packet of institute's loopback and the data packet stored are compared, and whether the data transmission performance when determining described the first computer as transmitting terminal meets the requirements.
7. data transmission performance testing method as claimed in claim 6, is characterized in that, the method also comprises;
When data transmission performance in the time having verified described the first computer as transmitting terminal, send loop to described second computer and countermand an order, to cancel loop.
8. a data transmission performance testing method, is applied to the second computer as receiving terminal, it is characterized in that, the method comprises:
Receive, from the loop sending as the first computer of transmitting terminal, order is set;
By the data receiver of this second computer (Rx) and data sending terminal (Tx) short circuit so that loop to be set; And
Transmission loop sets up into signal and arrives described the first computer.
9. data transmission performance testing method as claimed in claim 8, is characterized in that, the method also comprises:
Receiving the loop that described the first computer sends countermands an order;
Cancel the set loop of this second computer.
10. data transmission performance testing method as claimed in claim 9, is characterized in that, the method arranges or cancel loop by the gate circuit between data receiver (Rx) and the data sending terminal (Tx) of the described second computer of control.
CN201310097703.6A 2013-03-25 2013-03-25 Data transmission performance testing system and method Pending CN104079443A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310097703.6A CN104079443A (en) 2013-03-25 2013-03-25 Data transmission performance testing system and method
TW102111126A TW201437825A (en) 2013-03-25 2013-03-28 System and method of testing data transmitting performance of computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310097703.6A CN104079443A (en) 2013-03-25 2013-03-25 Data transmission performance testing system and method

Publications (1)

Publication Number Publication Date
CN104079443A true CN104079443A (en) 2014-10-01

Family

ID=51600499

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310097703.6A Pending CN104079443A (en) 2013-03-25 2013-03-25 Data transmission performance testing system and method

Country Status (2)

Country Link
CN (1) CN104079443A (en)
TW (1) TW201437825A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016095340A1 (en) * 2014-12-15 2016-06-23 中兴通讯股份有限公司 Method and device for determining that data is sent successfully
CN113568793A (en) * 2021-07-26 2021-10-29 西安广和通无线软件有限公司 Serial port testing method, intelligent module and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016095340A1 (en) * 2014-12-15 2016-06-23 中兴通讯股份有限公司 Method and device for determining that data is sent successfully
CN105760319A (en) * 2014-12-15 2016-07-13 中兴通讯股份有限公司 Data successfully sent confirmation method and device
CN113568793A (en) * 2021-07-26 2021-10-29 西安广和通无线软件有限公司 Serial port testing method, intelligent module and storage medium

Also Published As

Publication number Publication date
TW201437825A (en) 2014-10-01

Similar Documents

Publication Publication Date Title
KR101865893B1 (en) Method for testing wireless devices using predefined test segments initiated by over-the-air signal characteristics
US10484100B2 (en) Optical module, optical module system and monitor method using the same
US8842549B2 (en) System and method for parallel testing of multiple data packet signal transceivers
CN101520744A (en) Self-checking serial communication system and self-checking method thereof
CN105354118B (en) Automatic test approach, the apparatus and system of intelligent terminal
CN104317765A (en) Serial communication based one-to-many communication system and implementation method
KR101185971B1 (en) Communication system, test device, communication device, communication method, and test method
CN105471648A (en) Zigbee network system and standby assistance method therefor
WO2020035060A1 (en) Data transmission method and apparatus, base station, terminal, and computer readable storage medium
CN105183687A (en) Time-sharing serial communication method and system
CN103178899A (en) Fiber interface rate self-adaption method and device
KR102535563B1 (en) Method for multiple uart communications using can bus, recording medium and device for performing the method
CN105981319A (en) Participant station for a bus system, and method for increasing the data rate of a bus system
CN104079443A (en) Data transmission performance testing system and method
WO2012069924A4 (en) Managing short range wireless data transmissions
JP6457997B2 (en) System and method for testing a data packet signal transceiver
CN105100000B (en) Interface conversion device and network system
CN103885910A (en) Method and system for multiple devices for IIC communication in main mode
CN106411586B (en) Cloud platform upgrading method of cloud platform control system and cloud platform control system
US8989203B2 (en) Electronic device, communication control method, and recording medium
CN105634694A (en) Method and system for data transmission between nodes
CN104219004A (en) Electronic device and data processing method and device thereof
KR101457611B1 (en) Method for transceiving data between bluetooth apparatus
CN103731329A (en) Anti-interference method of I2C bus communication system
CN110505292A (en) Data transfer control method, device and equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20141001