CN110324161B - Method and equipment for testing transmission protocol - Google Patents

Method and equipment for testing transmission protocol Download PDF

Info

Publication number
CN110324161B
CN110324161B CN201810272258.5A CN201810272258A CN110324161B CN 110324161 B CN110324161 B CN 110324161B CN 201810272258 A CN201810272258 A CN 201810272258A CN 110324161 B CN110324161 B CN 110324161B
Authority
CN
China
Prior art keywords
test
data packet
scene
intermediate module
instruction
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
CN201810272258.5A
Other languages
Chinese (zh)
Other versions
CN110324161A (en
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.)
Datang Linktester Technology Co ltd
Original Assignee
Datang Linktester Technology 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 Datang Linktester Technology Co ltd filed Critical Datang Linktester Technology Co ltd
Priority to CN201810272258.5A priority Critical patent/CN110324161B/en
Publication of CN110324161A publication Critical patent/CN110324161A/en
Application granted granted Critical
Publication of CN110324161B publication Critical patent/CN110324161B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • H04L41/145Network analysis or design involving simulating, designing, planning or modelling of a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/18Protocol analysers
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Radio Relay Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a test method and a test device for a transmission protocol, which are used for solving the problem that no effective test scheme aiming at a converged transmission protocol exists in the prior art. In the embodiment of the invention, a master control module configures a control strategy instruction for simulating a test scene to an intermediate module between a server and communication equipment supported by a convergence terminal according to a test case, the intermediate module simulates the test scene according to the control strategy instruction to test a received data packet or instruction, and determines transmission information of a test result of the convergence terminal to be reported to the master control module. In the embodiment of the invention, various transmission scenes of satellite broadcasting side broadcasting and mobile communication side retransmission are constructed in the intermediate module, so that the characteristic performance of the convergence terminal in different scenes can be conveniently tested, and whether the convergence protocol meets the application or not can be tested.

Description

Method and equipment for testing transmission protocol
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for testing a transport protocol.
Background
The satellite broadcasting system provides multimedia information services including audio, video, data and the like by using a geosynchronous orbit satellite, has the advantages of wide coverage area, stable signals in open areas and support of high-speed movement of terminals, but has poor interference resistance and channel quality susceptible to the influence of complex environments. The mobile communication network system has been widely deployed at home and abroad in recent years, realizes full coverage in key cities and towns, has mature technology, has stable transmission performance in various complex communication scenes, provides a reliable standby way for multimedia data transmission, and provides conditions for converged communication transmission.
As shown in fig. 1, when the convergence terminal transmits data, the convergence transmission protocol specifies: under the condition that only one path of satellite signals and mobile communication signals exists, the fusion terminal can independently utilize the network to receive audio and video data; under the condition that the satellite broadcast signal and the mobile communication signal coexist, the convergence terminal preferentially receives broadcast data from a satellite broadcast side; under the scenes of loss, error, large delay and the like of satellite broadcast data packets caused by poor satellite signal quality, the fusion terminal actively initiates a necessary data retransmission request from a mobile communication side and requests data from a server, and the two transmission modes are mutually matched, so that the reliability of data transmission is improved, and the multimedia playing effect of the fusion terminal is ensured.
However, the converged transmission protocol is a protocol standard of new birth, and the converged terminal is a new device carrying the new protocol, and there are scenes such as packet loss, packet error, and large delay caused by channel interference, network congestion, physical link breaking, and the like when data is transmitted. Before determining the industry standard of the convergence transmission protocol and performing the marketization application of the convergence terminal in a large scale, the convergence transmission protocol standard needs to be fully verified, but no effective test scheme aiming at the convergence transmission protocol exists at present.
In summary, there is no effective test scheme for the converged transport protocol in the prior art.
Disclosure of Invention
The invention provides a test method and a test device of a transmission protocol, which are used for solving the problem that an effective test scheme aiming at a converged transmission protocol is not available in the prior art.
On the first hand, a main control module configures a control strategy instruction for simulating a test scene to an intermediate module between a server and communication equipment supported by a convergence terminal according to a test case, so that the intermediate module simulates the test scene according to the control strategy instruction to test and process a received data packet or the received instruction; and receiving the transmission information reported by the intermediate module and used for determining the test result of the convergence terminal.
In the embodiment of the invention, the main control module configures a control strategy instruction for simulating a test scene to the intermediate module according to the test case. Therefore, the intermediate module simulates a test scene according to the control strategy instruction to test the received data packet or instruction and also receives transmission information which is reported by the intermediate module and used for determining the test result of the fusion terminal, so that various scenes under the fusion protocol can be simulated, and whether the fusion protocol meets the application or not can be tested.
In some specific implementations, the communication device supported by the convergence terminal includes a satellite signal transmitter, and the simulated test scenario may be a packet loss scenario, a packet error scenario, a data packet delay transmission scenario, or a retransmission request response scenario. The communication equipment supported by the convergence terminal also comprises a communication simulator; before the main control module configures a control strategy instruction for simulating a test scene to an intermediate module between a server and communication equipment supported by a convergence terminal according to a test case, the main control module needs to configure a communication simulator and determines that the configuration is successful; and configuring the satellite signal transmitter and determining that the configuration is successful.
In the embodiment of the invention, the master control module can configure the communication simulator and the satellite signal transmitter, and ensure successful configuration, a data transmission channel is established, and normal data transmission is ensured.
In some specific implementations, after receiving transmission information, which is reported by the intermediate module and used for determining the test result of the convergence terminal, the main control module determines the test result of the convergence terminal according to the transmission information and a transmission protocol.
In the embodiment of the invention, the main control module receives the transmission information which is reported by the intermediate module and used for determining the test result of the fusion terminal, and determines the test result of the fusion terminal according to the transmission information and the transmission protocol, so that whether the fusion terminal meets the requirements or not can be determined according to the specific information, and the accuracy is improved.
In a second aspect, an intermediate module receives a control strategy instruction configured by a main control module according to a test case and used for simulating a test scene, wherein the intermediate module is positioned between a file server and communication equipment supported by a convergence terminal; and simulating a test scene according to the control strategy instruction to test the received data packet or instruction, determining transmission information for determining a test result of the fusion terminal, and reporting the transmission information to the main control module.
In some specific implementations, the intermediate module simulates a test scenario according to the control strategy to perform test processing on a received data packet from the server; testing the received data packet retransmission request of the communication simulator according to the control strategy simulation test scene, and after testing the received data packet from the server according to the control strategy simulation test scene, if the data packet needs to be sent, sending the data packet obtained after the testing to the satellite signal transmitter by the intermediate module; and if the data packet needs to be retransmitted, the intermediate module sends a retransmission request obtained after the test processing to the server. The communication equipment supported by the convergence terminal comprises a satellite signal transmitter; and the simulated test scenario includes some or all of the following scenarios: a packet loss scene, a packet error scene, a data packet delay transmission scene and a retransmission request response scene.
In a third aspect, a test apparatus for a transport protocol includes: at least one processing unit and at least one memory unit, wherein the memory unit stores program code that, when executed by the processing unit, causes the processing unit to perform the following:
configuring a control strategy instruction for simulating a test scene to an intermediate module between the server and communication equipment supported by the fusion terminal according to the test case, so that the intermediate module simulates the test scene according to the control strategy instruction to test the received data packet or instruction; and receiving transmission information which is reported by the intermediate module and used for determining the test result of the convergence terminal.
In a fourth aspect, a test apparatus for a transport protocol includes: at least one processing unit and at least one memory unit, wherein the memory unit stores program code that, when executed by the processing unit, causes the processing unit to perform the following:
receiving a control strategy instruction which is configured by a main control module according to a test case and used for simulating a test scene, wherein the intermediate module is positioned between a file server and communication equipment supported by a convergence terminal; simulating a test scene according to the control strategy instruction to test the received data packet or instruction, and determining transmission information for determining a test result of the fusion terminal; and reporting the transmission information to the main control module.
In a fifth aspect, another test apparatus for a transmission protocol includes:
the configuration module is used for configuring a control strategy instruction for simulating a test scene to an intermediate module between the server and the communication equipment supported by the fusion terminal according to the test case, so that the intermediate module simulates the test scene according to the control strategy instruction to test and process the received data packet or the received instruction;
and the receiving module is used for receiving the transmission information which is reported by the intermediate module and is used for determining the test result of the fusion terminal.
In a sixth aspect, another test apparatus for a transmission protocol includes:
the processing module is used for receiving a control strategy instruction which is configured by the main control module according to the test case and used for simulating a test scene, wherein the intermediate module is positioned between the file server and the communication equipment supported by the convergence terminal; simulating a test scene according to the control strategy instruction to test and process the received data packet or instruction;
and the reporting module is used for determining the transmission information of the test result of the convergence terminal and reporting the transmission information to the main control module.
The technical effect brought by any one implementation manner in the second aspect to the sixth aspect may refer to the technical effect brought by the implementation manner in the first aspect, and details are not described here again.
These and other aspects of the present application will be more readily apparent from the following description of the embodiments.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required to be used in the description of the embodiments will be briefly introduced below, and it is apparent that the drawings in the description below are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings may be obtained according to the drawings without inventive labor.
Fig. 1 is a schematic diagram of a data transmission process of a convergence terminal in the prior art;
FIG. 2 provides a system diagram according to an embodiment of the present invention;
FIG. 3 is a flowchart of a complete protocol testing method according to an embodiment of the present invention;
FIG. 4 is a testing system architecture of a satellite mobile convergence transport protocol according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a test apparatus for a transport protocol according to an embodiment of the present invention;
FIG. 6 is a schematic structural diagram of a test apparatus for a transport protocol according to an embodiment of the present invention;
FIG. 7 is a diagram illustrating a testing device for another transport protocol according to an embodiment of the present invention;
FIG. 8 is a diagram illustrating a testing device for another transport protocol according to an embodiment of the present invention;
fig. 9 is a schematic diagram illustrating a method for testing a transmission protocol according to an embodiment of the present invention;
fig. 10 is a schematic diagram illustrating another testing method for a transmission protocol according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
The satellite broadcasting system provides multimedia information services including audio, video, data and the like by using a geosynchronous orbit satellite, has the advantages of wide coverage area, stable signal in open areas and capability of supporting high-speed movement of terminals, but has poor interference resistance and channel quality which is easily influenced by complex environments. However, Mobile Communication network systems (including GSM (Global System for Mobile Communication) WCDMA (Wideband Code Division Multiple Access) CDMA2000(Code Division Multiple Access 2000) TDSCDMA (Time Division-Synchronous Code Division Multiple Access, Time Division Synchronous Code Division Multiple Access) LTE (Long Term Evolution)) have been widely deployed at home and abroad in recent years, achieve full coverage in key cities and towns, have mature technology, and have stable transmission performance in various complex Communication scenes, which provides a reliable standby path for multimedia data transmission and conditions for converged Communication transmission.
Based on the above, as shown in fig. 2: the embodiment of the invention provides a system for testing a transmission protocol, which comprises the following steps: a main control module 200 and an intermediate module 201.
The main control module 200 is configured to configure a control policy instruction for simulating a test scenario to an intermediate module located between the server and the communication device supported by the convergence terminal according to the test case, so that the intermediate module simulates the test scenario according to the control policy instruction to perform test processing on the received data packet or instruction; and receiving transmission information which is reported by the intermediate module and used for determining the test result of the convergence terminal.
The main Control module is a human-computer interaction interface, and loads a Test case constructed and compiled by TTCN (Testing and Test Control Notation) language.
The intermediate module 201 is configured to receive a control policy instruction configured by the main control module according to the test case and used for simulating a test scenario, where the intermediate module is located between the server and the communication device supported by the convergence terminal; and simulating a test scene according to the control strategy instruction to test the received data packet or instruction, determining transmission information for determining a test result of the fusion terminal, and reporting the transmission information to the main control module.
The system of the test method of the transmission protocol further comprises: a file server 202, a convergence terminal 203, a satellite signal transmitter 204, and a communication simulator 205.
The file server 202 is used primarily for two purposes: on one hand, the system is responsible for generating broadcast files, and the broadcast files are forwarded to a satellite signal transmitter through an intermediate module and then are sequentially broadcast on corresponding wave bands and frequency points; and on the other hand, the method receives a file retransmission request forwarded by the converged terminal through the mobile communication network and the intermediate module, and returns the file specified in the request to the converged terminal.
When one or more broadcast files generated by the file server are forwarded to the satellite signal transmitter through the intermediate module, each broadcast file needs to be fragmented, and then a series of fragmented files are obtained. Because the file server generates that the unique file serial numbers are sequentially added to each independent fragment file according to the sequence of the fragments when the fragments are generated, each independent fragment file supports independent encoding and decoding.
Correspondingly, each independent fragment file can be continuously divided into 1 or more data packets, and each data packet carries the serial number of the fragment file to which the data packet belongs, so that the fusion terminal can obtain the fragment file to which the received data packet belongs by analyzing the data packet after receiving the data packet.
For example, when the broadcasting server plays one or more paths of audio and video, firstly, the program source is fragmented to obtain a series of independent fragment files (generally corresponding to a playing time of 2 seconds), and a unique file serial number is sequentially added to each independent fragment file according to the sequence of fragmentation, then, each independent fragment file is continuously divided into 1 or more data packets, each data packet carries the serial number of the fragment file to which the data packet belongs, and when the fusion terminal receives the data packet, the data packet is analyzed to obtain the fragment file to which the received data packet belongs.
The convergence terminal 203 is mainly used for preferentially receiving data from the satellite broadcast network when satellite broadcast and mobile communication network signals coexist, and when the data received at the satellite broadcast side has the situations of packet loss, packet error, delayed transmission and the like, the convergence terminal can initiate a data packet retransmission request from the mobile communication network.
The communication simulator 205 is mainly used for establishing a cell to provide a mobile communication service for the convergence terminal, and in the embodiment of the present invention, the communication simulator uses a mobile communication test instrument to provide a mobile communication service for the convergence terminal, but any simulator capable of providing a mobile communication service for the convergence terminal is within the protection scope of the embodiment of the present invention.
The system for testing the transmission protocol is described in detail below.
The main control module configures the communication simulator and establishes a data transmission path for providing mobile communication service for the convergence terminal.
When the communication simulator determines that the configuration is successful, the main control module needs to configure a broadcasting side strategy for the satellite signal transmitter and establish a data transmission channel of the satellite broadcasting transmission side, and when a successful configuration response of the satellite signal transmitter is received, the main control module determines that the configuration of the satellite signal transmitter is successful.
Correspondingly, the main control module also needs to configure the mobile communication strategy, and after receiving a response of successful configuration of the mobile communication strategy, the main control module determines that the configuration of the mobile communication strategy is successful.
And when the communication simulator and the satellite signal transmitter are successfully configured, the main control module configures a control strategy instruction for simulating a test scene to an intermediate module between the server and the communication equipment supported by the convergence terminal according to the loaded different test cases.
And after the corresponding intermediate module receives a control strategy instruction which is configured by the main control module according to the test case and used for simulating the test scene, simulating the test scene according to the control strategy instruction.
The intermediate module is located between a file server and communication equipment supported by the convergence terminal, the transmission information used for determining the test result of the convergence terminal refers to specific information of the intermediate module for receiving, caching, processing, forwarding and counting the data packet and retransmitting the data packet, and the simulated test scene comprises part or all of the following scenes:
a packet loss scene, a packet error scene, a data packet delay transmission scene and a retransmission request response scene.
And after simulating a test scene according to the control strategy instruction, the intermediate module performs test processing on the received data packet or instruction and determines transmission information for determining the test result of the fusion terminal.
The data packets received by the intermediate module are data packets obtained by fragmenting files by the file server, and the data packets may belong to one fragmented file or a plurality of fragmented files, and specifically which fragmented file can be decoded by the received data packet.
The intermediate module performs a test process on the received data packet or command in conjunction with the simulated test scenario.
1. The intermediate module simulates a test scene according to the control strategy to test and process the received data packet from the server:
packet loss scenario:
if the test field simulated by the intermediate module according to the control strategy instruction is a packet loss scene, the phenomenon that a data packet is lost when a transmission path of the satellite broadcasting side is disconnected is referred to, and the packet loss scene specifically includes a packet loss scene such as a duration packet loss, a duration quantity packet loss, a duration time period probability packet loss and the like.
For example, when the test field simulated by the intermediate module according to the control policy instruction is a continuous time packet loss scene, and the file server needs to send a file to the satellite signal transceiver, the file server first needs to fragment the file into a plurality of data packets and then sends the data packets to the intermediate module, and the intermediate module receives the data packets and then discards all the received data packets until the configuration time is reached, and the result at this time is that the satellite signal transceiver does not receive any broadcast data within a specified time period, and further, the data cannot be broadcast to the fusion terminal. The configuration time and the specific number of packet losses are not limited in the embodiment of the present invention. For example, if the file server sends 8 packets to the satellite signal, the intermediate module loses the 8 packets.
Correspondingly, the intermediate module counts lost data packets and the like for determining the transmission information of the test result of the fusion terminal.
For example, when the test field simulated by the intermediate module according to the control policy instruction is a continuous number packet loss scene, and the file server needs to send a file to the satellite signal transceiver, the file server first needs to fragment the file into a plurality of data packets and then sends the data packets to the intermediate module, and the intermediate module receives the data packets and then discards all the received data packets until the number reaches a configuration threshold, and the result at this time is that the satellite signal transceiver does not receive any broadcast data within a specified time period, and further does not broadcast data to the fusion terminal. The configuration threshold and the specified time length are not limited in this embodiment of the present invention.
For example, if 8 data packets are sent for the first time, the intermediate module loses 8 data packets, and if 6 data packets are sent for the second time, the intermediate module loses 6 data packets, and when the set threshold value of 10 data packets is reached, the continuous number packet loss scene is not simulated.
Correspondingly, the intermediate module counts lost data packets and the like for determining the transmission information of the test result of the fusion terminal.
When the test field simulated by the intermediate module according to the control strategy instruction is a continuous probability packet loss scene, if the file server needs to send a file to the satellite signal transceiver, the file server firstly needs to fragment the file into a plurality of data packets and then sends the data packets to the intermediate module, after the intermediate module receives the data packets, the received data packets are randomly selected from the data packets with preset probability and lost until the configuration time is reached, and the result at this time is that the satellite signal transceiver does not receive any broadcast data within the specified time duration, and further the data cannot be broadcast to the fusion terminal.
The data packets lost by the intermediate module may be from data packets of the same fragmented file, or from data packets of different fragmented files, and the configuration time, the preset probability, and the specific location of the lost data packet are not limited in this embodiment of the present invention.
For example, if the intermediate module receives 20 data packets, the intermediate module loses randomly selecting 20% of the data packets to be lost (i.e., loses 4 data packets), and when the set duration is reached, the continuous number packet loss scenario is not simulated.
Correspondingly, the intermediate module counts lost data packets and the like for determining the transmission information of the test result of the fusion terminal.
A mistaking scene:
if the test field simulated by the intermediate module according to the control strategy instruction is a wrong packet scene, the phenomenon that a transmission channel of the satellite broadcasting side is interfered to generate a data packet error is referred to, and the wrong packet scene specifically comprises a data packet flag bit error, a data packet content error and the like.
For example, when the intermediate module simulates a test field as a data packet flag bit error scene according to a control strategy instruction, if the file server needs to send a file to the satellite signal transceiver, the file server first needs to fragment the file into a plurality of data packets and then sends the data packets to the intermediate module, the intermediate module modifies a designated flag bit in a sent data packet header after receiving the data packets, and then sends the data with the rewritten flag bit to the satellite signal transceiver and broadcasts the data to the fusion terminal until the set number of times of continuously rewriting the data packet flag bit is reached.
The data packets of the modification flag bits may be from the data packets of the same fragmented file, or from the data packets of different fragmented files, and the number of the set rewriting flag bits and the specific content of the rewriting flag bits may be set according to actual needs.
For example, if the file server sends a data packet to the intermediate module, the intermediate module rewrites 1 into 0 for a first bit in the header of the data packet, and sends the data packet with the rewritten flag bit to the satellite signal transceiver; when the number of times of setting the flag bit error of the data packet is 5 times, the data packet flag bit error scene is not simulated any more.
Correspondingly, the intermediate module counts the data packet before rewriting, the data packet after rewriting, the rewritten flag bit, and the like, which are used for determining the transmission information of the test result of the fusion terminal.
Similar to the packet flag bit error, for example, when the test field simulated by the intermediate module according to the control policy instruction is a scene with packet content errors, if the file server needs to send a file to the satellite signal transceiver, the file server first needs to fragment the file into a plurality of packets and then send the packets to the intermediate module, after receiving the packets, the intermediate module converts the content of the received data into the content of other data, and then sends the data converted into the content of other data to the satellite signal transceiver, and the data is broadcasted to the convergence terminal until the set number of times of packet content errors is reached.
The data packets of the modified content may be from the data packets of the same fragmented file, or from data packets of different fragmented files, and the number of times of content errors of the data packets and the content of other data to be replaced may be set according to actual needs.
For example, if the file server sends a data packet to the intermediate module, the intermediate module converts the data packet content 00110010 into 10011100, and sends the data packet converted into the content of other data to the satellite signal transceiver; when the set number of times of data packet content errors reaches 7 times, the scene of data packet content errors is not simulated any more.
Correspondingly, the intermediate module counts the data packet before rewriting, the data packet after rewriting, the rewritten content, and the like, and determines the transmission information of the test result of the convergence terminal.
Data packet delay transmission scenario:
if the test field simulated by the intermediate module according to the control strategy instruction is a data packet delay transmission scene, the data packet delay transmission scene caused by network blockage and bandwidth reduction due to the fact that a transmission channel on the satellite broadcasting side is disconnected specifically comprises small delay transmission, large delay change transmission and other scenes.
For example, when the test field simulated by the intermediate module according to the control policy instruction is a small-delay transmission scene, if the file server needs to send a file to the satellite signal transceiver, the file server first needs to fragment the file into a plurality of data packets and then sends the data packets to the intermediate module, and after receiving the data packets, the intermediate module delays the received data by 400ms (generally set to be within 500 ms) and sends the data to the satellite signal transceiver, for example, when the file server sends a satellite signal sending data packet to the intermediate module, the intermediate module delays the sending of the data packet by 400ms and sends the data to the satellite signal transceiver. The data packets sent in a delayed manner may be from the data packets of the same file, or from the data packets of different files.
Correspondingly, the intermediate module counts the data packet before delay, the data packet after delay, the delay time and the like for determining the transmission information of the test result of the fusion terminal.
Similar to the small-delay transmission, for example, when the test field simulated by the intermediate module according to the control policy instruction is the large-delay transmission, when all data sent by the file server to the satellite signal transceiver pass through the intermediate module, the intermediate module delays the data sent each time by 1s (generally, second level) and sends the data to the satellite signal transceiver, for example, when the file server sends a satellite signal sending data packet to the intermediate module, the intermediate module delays the data sent by 1ms and sends the data to the satellite signal transceiver.
Correspondingly, the intermediate module counts the data packets before delay, the data packets after delay, the delay time, the number of the data packets and the like, and the transmission information is used for determining the test result of the fusion terminal.
For example, when the intermediate module performs a large-size delay change transmission according to a test field simulated by a control strategy instruction, if the file server needs to send a file to the satellite signal transceiver, the file server first needs to fragment the file into a plurality of data packets and then sends the data packets to the intermediate module, the intermediate module delays the received data by 400ms after receiving the data packets and sends the data to the satellite signal transceiver, and the intermediate module delays the data to be sent next by 1 s. For example, if the file server sends a first sending data packet of the satellite signal to the middle module, the middle module delays sending for 400ms to the satellite signal transceiver, and if the file server sends a second sending data packet of the satellite signal to the middle module, the middle module delays sending for 1s to the satellite signal transceiver.
The data packets sent in a delayed manner may be from the data packets of the same fragmented file or from the data packets of different fragmented files, and the set delay time may be set according to actual needs.
Correspondingly, the intermediate module counts the data packet before delay, the data packet after delay, the delay time and the like for determining the transmission information of the test result of the fusion terminal.
2. The intermediate module simulates a test scene according to the control strategy to test and process the received data packet retransmission request of the communication simulator:
retransmission request response scenario:
if the test field simulated by the intermediate module according to the control strategy instruction is a retransmission request response scene, the intermediate module refers to a scene when the fusion terminal sends a retransmission request to the file server, and specifically includes various scenes such as normal response, error response, delayed response, no response and the like.
The request unit when the convergence terminal sends the retransmission request to the file server may be a fragment file where a data packet to be transmitted is located, or may be a data packet to be currently transmitted. In the following, taking the request unit when the convergence terminal sends the retransmission request to the file server as the fragment file where the data packet to be transmitted is located, a detailed description is given with reference to various retransmission request response scenarios.
For example, when the test field simulated by the intermediate module according to the control policy instruction is a normal response scene, and when a fragmented file retransmission request sent to the file server by the convergence terminal passes through the intermediate module, the intermediate module normally responds to the fragmented file retransmission request and forwards the fragmented file retransmission request to the file server, and the file server re-fragments the file to be retransmitted into data packets according to the received retransmission request and sends the data packets to the convergence terminal.
Here, it should be noted that: the fragmented files to be retransmitted may be from fragmented files of the same file or from fragmented files of different files.
Correspondingly, the intermediate module counts the response time of the data packet and the like to determine the transmission information of the test result of the fusion terminal.
When the test field simulated by the intermediate module according to the control strategy instruction is an error response scene, when a convergence terminal sends a fragment file retransmission request to the file server and passes through the intermediate module, the fragment file retransmission request is not received in normal response time. For example, if the request for retransmitting the fragmented file is delayed by 5ms under the normal condition, the intermediate module delays the request for retransmitting the fragmented file by 8ms and forwards the request to the file server, and the file server re-fragments the file to be retransmitted into data packets according to the received request for retransmitting the fragmented file and sends the data packets to the convergence terminal.
The fragmented files to be retransmitted may be from the data packet of the same file, or from fragmented files of different files, and the set time of the error response may be set according to actual needs.
Correspondingly, the intermediate module counts the error response time of the data packet and the like to determine the transmission information of the test result of the fusion terminal.
And when the test field simulated by the intermediate module according to the control strategy instruction is a delayed response scene, when a convergence terminal sends a fragmented file retransmission request to the file server and passes through the intermediate module, the intermediate module delays to respond and receive the fragmented file retransmission request. For example, when all the convergence terminals send fragmented file retransmission requests to the file server and pass through the intermediate module, the intermediate module delays for 20ms to respond to the fragmented file retransmission requests and forwards the fragmented file retransmission requests to the file server, and the file server re-fragments the file to be retransmitted into data packets according to the received fragmented file retransmission requests and sends the data packets to the convergence terminals.
The fragmented files to be retransmitted may be from data packets of the same file, or fragmented files of different files, and the set delay response time may be set according to actual needs.
Correspondingly, the intermediate module counts delay response time of the data packet and the like to determine transmission information of the test result of the convergence terminal.
For example, when the test field simulated by the intermediate module according to the control policy instruction is a non-response scene, the intermediate module does not respond to the fragmented file retransmission request when all the fusion terminals send the fragmented file retransmission request to the file server and pass through the intermediate module.
The fragmented files to be retransmitted may be from data packets of the same file, or from fragmented files of different files.
Correspondingly, the intermediate module counts the number of data packets and the like to determine the transmission information of the test result of the fusion terminal.
Correspondingly, after the intermediate module tests and processes the received data packet or retransmission request, the transmission information is reported to the main control module, and the main control module determines the test result of the convergence terminal according to the transmission information and the transmission protocol.
The main control module can display the test result of the converged terminal in a log output mode, and the test result report content includes a test case, a test result (Pass/Fail), or data transmission information in the test process, namely the total number, the serial number, the total number, the lost, wrong and delayed data packets, retransmission request time and times of the data packets initiated by the terminal, the corresponding fragment serial number, retransmission proportion and the like.
For example, when the scene simulated by the intermediate module is a wrong packet scene, the main control module compares the number and the serial number of the fragment files of the wrong packet in the transmission information reported by the intermediate module with the number and the serial number of the fragment files in the retransmission request to determine whether the numbers are consistent, and outputs a test result. Or a certain deviation is set, the main control module compares the number of the fragmented files and the serial numbers of the error packets in the transmission information with the number of the fragmented files and the serial numbers in the retransmission request, and determines whether the deviation is within the set deviation, for example, the deviation is set to be 5%.
Correspondingly, when the scenarios simulated by the intermediate module are packet error scenarios, data packet delay transmission scenarios, and retransmission request response scenarios, the method for performing the statistical processing by the main control module is similar to the method for performing the packet loss scenarios, which is not described herein again.
As shown in fig. 3: the embodiment of the invention provides a complete flow chart of a test method of a transmission protocol, which comprises the following steps:
step 300, the main control module configures the communication simulator, determines whether the configuration is successful, and executes step 301, otherwise, executes step 311;
step 301, configuring a satellite side broadcasting strategy by the main control module;
step 302, the main control module judges whether a response strategy success response is received, if yes, step 303 is executed, otherwise step 311 is executed;
step 303, configuring a mobile communication side broadcast strategy by the main control module;
step 304, the main control module determines whether a response strategy success response is received, if yes, step 306 is executed, otherwise step 311 is executed;
305, the main control module configures a control strategy instruction for simulating a test scene to the intermediate module according to the test case;
step 306, the intermediate module receives a control strategy instruction which is configured by the main control module according to the test case and is used for simulating a test scene;
307, the intermediate module simulates a test scene according to the control strategy instruction to test and process the received data packet or instruction;
step 308, the intermediate module determines transmission information for determining the test result of the convergence terminal;
step 309, the intermediate module reports the transmission information to the main control module;
step 310, the main control module determines a test result of the convergence terminal according to the transmission information and the transmission protocol;
step 311, the process ends.
As shown in fig. 4, a transmission protocol method is described in the embodiment of the present invention in conjunction with a satellite mobile convergence transmission protocol test system architecture.
Before testing, the main control module configures the satellite-side channel in the middle module, and determines successful configuration after receiving the configuration response, and also configures the mobile communication simulator, builds a channel for ensuring communication in a cell, and determines successful configuration after receiving the cell establishment response. The fusion terminal receives the file from the satellite side through the intermediate module, the intermediate module can process the received data packet according to the simulated scene at the moment, and the processed file is sent to the fusion terminal.
When the convergence terminal receives a file loss and transmission delay from the satellite side through the intermediate module, the convergence terminal can initiate a broadcast file retransmission request from the mobile communication network, at the moment, the intermediate module processes the received retransmission request according to a simulated scene (such as a retransmission request response scene), sends the processed retransmission request to the file server, and the file server replies a retransmission request response.
When a data packet is transmitted or a retransmission request is transmitted, the intermediate module determines transmission information of the test result of the convergence terminal and reports the transmission information of the test result of the convergence terminal to the main module, and the main module determines the test result of the convergence terminal according to the transmission information and a transmission protocol.
As shown in fig. 5, a test apparatus for a transmission protocol according to an embodiment of the present invention includes: at least one processing unit 500 and at least one memory unit 501, wherein the memory unit 501 stores program code that, when executed by the processing unit 500, causes the processing unit 500 to perform the following process:
configuring a control strategy instruction for simulating a test scene to an intermediate module between the server and communication equipment supported by the fusion terminal according to the test case, so that the intermediate module simulates the test scene according to the control strategy instruction to test the received data packet or instruction; and receiving transmission information which is reported by the intermediate module and used for determining the test result of the fusion terminal.
Optionally, the processing unit 500 is specifically configured to:
the communication equipment supported by the convergence terminal comprises a satellite signal transmitter; the simulated test scenarios include some or all of the following scenarios: a packet loss scene, a packet error scene, a data packet delay transmission scene and a retransmission request response scene.
Optionally, the processing unit 500 is further configured to:
the communication equipment supported by the convergence terminal also comprises a communication simulator; before configuring a control strategy instruction for simulating a test scene to an intermediate module between a file server and communication equipment supported by a convergence terminal according to a test case, configuring a communication simulator and determining that the configuration is successful; and configuring the satellite signal transmitter and determining that the configuration is successful.
Optionally, the processing unit 500 is further configured to:
and after receiving the transmission information which is reported by the intermediate module and used for determining the test result of the convergence terminal, determining the test result of the convergence terminal according to the transmission information and a transmission protocol.
As shown in fig. 6, a test apparatus for a transmission protocol according to an embodiment of the present invention includes: at least one processing unit 600 and at least one memory unit 601, wherein the memory unit 601 stores program code that, when executed by the processing unit 600, causes the processing unit 600 to perform the following:
receiving a control strategy instruction which is configured by a main control module according to a test case and used for simulating a test scene, wherein the intermediate module is positioned between a file server and communication equipment supported by a convergence terminal; simulating a test scene according to the control strategy instruction to test the received data packet or instruction, and determining transmission information for determining a test result of the fusion terminal; and reporting the transmission information to the main control module.
Optionally, the processing unit 600 is specifically configured to:
the communication equipment supported by the convergence terminal comprises a satellite signal transmitter and a communication simulator, and the communication simulator simulates a test scene according to the control strategy to test and process the received data packet from the file server; or simulating a test scene according to the control strategy to test and process the received data packet retransmission request of the communication simulator.
Optionally, the processing unit 600 is further configured to:
after the intermediate module carries out test processing on the received data packet from the file server according to the control strategy simulation test scene, if the data packet needs to be sent, the intermediate module sends the data packet obtained after the test processing to the satellite signal transmitter;
after the received data packet retransmission request of the communication simulator is tested according to the control strategy simulation test scene, if the data packet needs to be sent, the intermediate module sends the data packet retransmission request obtained after the test processing to the file server.
Optionally, the communication device supported by the convergence terminal includes a satellite signal transmitter; the simulated test scenes comprise a part or all of packet loss scenes, packet error scenes, data packet delay transmission scenes and retransmission request response scenes in the following scenes.
As shown in fig. 7, a test apparatus for a transmission protocol according to an embodiment of the present invention includes:
a configuration module 700, configured to configure a control policy instruction for simulating a test scenario to an intermediate module located between the file server and the communication device supported by the convergence terminal according to the test case, so that the intermediate module simulates the test scenario according to the control policy instruction to perform test processing on the received data packet or instruction;
a receiving module 701, configured to receive transmission information, which is reported by the intermediate module and used to determine the test result of the convergence terminal.
Optionally, the communication device supported by the convergence terminal includes a satellite signal transmitter; the simulated test scenarios include some or all of the following scenarios:
a packet loss scene, a packet error scene, a data packet delay transmission scene and a retransmission request response scene.
Optionally, the configuration module 700 is further configured to:
the communication equipment supported by the convergence terminal also comprises a communication simulator; the main control module configures the communication simulator and determines that the configuration is successful before configuring a control strategy instruction for simulating a test scene to an intermediate module positioned between the file server and the communication equipment supported by the convergence terminal according to the test instruction; and configuring the satellite signal transmitter and determining that the configuration is successful.
Optionally, the configuration module 700 is further configured to:
and after receiving the transmission information which is reported by the intermediate module and used for determining the test result of the convergence terminal, determining the test result of the convergence terminal according to the transmission information and a transmission protocol.
As shown in fig. 8, a test apparatus for a transmission protocol according to an embodiment of the present invention includes:
the processing module 800 is configured to receive a control policy instruction configured by the main control module according to the test case and used for simulating a test scenario, where the intermediate module is located between the file server and the communication device supported by the convergence terminal; simulating a test scene according to the control strategy instruction to test and process the received data packet or instruction;
a reporting module 801, configured to determine transmission information of the test result of the convergence terminal, and report the transmission information to the main control module.
Optionally, the processing module 800 is further configured to:
the communication equipment supported by the convergence terminal comprises a satellite signal transmitter and a communication simulator; simulating a test scene according to the control strategy to test and process the received data packet from the file server; or simulating a test scene according to the control strategy to test and process the received data packet retransmission request of the communication simulator.
Optionally, the processing module 800 is further configured to:
after the intermediate module carries out test processing on the received data packet from the server according to the control strategy simulation test scene, if the data packet needs to be sent, the intermediate module sends the data packet obtained after the test processing to the satellite signal transmitter;
after the received data packet retransmission request of the communication simulator is tested according to the control strategy simulation test scene, if the data packet needs to be sent, the intermediate module sends the data packet retransmission request obtained after the test processing to the file server.
Optionally, the communication device supported by the convergence terminal includes a satellite signal transmitter; the simulated test scenarios include some or all of the following scenarios:
a packet loss scene, a packet error scene, a data packet delay transmission scene and a retransmission request response scene.
In some possible implementations, various aspects of the method for testing a transmission protocol provided by the embodiments of the present invention may also be implemented in the form of a program product including program code for causing a computer device to perform the steps of the method for testing a transmission protocol according to various exemplary implementations of the present invention described in this specification when the program code runs on the computer device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A program product for data forwarding control according to an embodiment of the present invention may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a server device. However, the program product of the present invention is not limited in this regard and, in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an information delivery, apparatus, or device.
A readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium other than a readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the periodic network action system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device.
The embodiment of the invention also provides a storage medium readable by the computing equipment aiming at the photographing method, namely, the content is not lost after the power is cut off. The storage medium stores therein a software program comprising program code which, when executed on a computing device, when read and executed by one or more processors, implements aspects of the method of taking pictures above in accordance with an embodiment of the present invention. .
Based on the same inventive concept, the embodiment of the present invention further provides a method for testing a transmission protocol, and since the device corresponding to the method is a method corresponding to the device for testing a transmission protocol in the embodiment of the present invention, and the principle of the method for solving the problem is similar to that of the device, the method can be implemented with reference to the implementation of the device, and repeated parts are not described again.
As shown in fig. 9, a method for testing a transmission protocol according to an embodiment of the present invention includes:
step 900, the main control module configures a control strategy instruction for simulating a test scene to an intermediate module between the server and the communication equipment supported by the convergence terminal according to the test case, so that the intermediate module simulates the test scene according to the control strategy instruction to test and process the received data packet or the received instruction;
step 901, the main control module receives transmission information reported by the intermediate module and used for determining the test result of the convergence terminal.
Optionally, the communication device supported by the convergence terminal includes a satellite signal transmitter;
the simulated test scenarios include some or all of the following scenarios:
a packet loss scene, a packet error scene, a data packet delay transmission scene and a retransmission request response scene.
Optionally, the communication device supported by the convergence terminal further includes a communication simulator;
before the main control module configures a control strategy instruction for simulating a test scene to an intermediate module between the server and the communication device supported by the convergence terminal according to the test case, the method further includes:
the main control module configures the communication simulator and determines that the configuration is successful; and
and the main control module configures the satellite signal transmitter and determines that the configuration is successful.
Optionally, after the main control module receives the transmission information reported by the intermediate module and used for determining the test result of the convergence terminal, the method further includes:
and the main control module determines the test result of the fusion terminal according to the transmission information and the transmission protocol.
Based on the same inventive concept, the embodiment of the present invention further provides a method for testing a transmission protocol, and since the device corresponding to the method is the method corresponding to the device for testing a transmission protocol in the embodiment of the present invention, and the principle of the method for solving the problem is similar to that of the device, the method can be implemented by referring to the implementation of the device, and repeated details are not repeated.
As shown in fig. 10, a method for testing a transmission protocol according to an embodiment of the present invention includes:
step 1000, an intermediate module receives a control strategy instruction which is configured by a main control module according to a test case and is used for simulating a test scene, wherein the intermediate module is positioned between a file server and communication equipment supported by a convergence terminal;
1001, the intermediate module simulates a test scene according to the control strategy instruction to test the received data packet or instruction and determines transmission information for determining a test result of the fusion terminal;
step 1002, the intermediate module reports the transmission information to the main control module.
Optionally, the communication device supported by the convergence terminal includes a satellite signal transmitter and a communication simulator;
the intermediate module simulates a test scene according to the control strategy instruction to test and process the received data packet or instruction, and comprises the following steps:
the intermediate module simulates a test scene according to the control strategy to test and process the received data packet from the file server; or
And the intermediate module simulates a test scene according to the control strategy to test and process the received data packet retransmission request of the communication simulator.
Optionally, after the intermediate module performs test processing on the received data packet from the file server according to the control policy simulation test scenario, the intermediate module further includes:
if the data packet needs to be sent, the intermediate module sends the data packet obtained after the test processing to the satellite signal transmitter;
after the intermediate module performs test processing on the received data packet retransmission request of the communication simulator according to the control strategy simulation test scenario, the intermediate module further includes:
and if the data packet needs to be sent, the intermediate module sends a data packet retransmission request obtained after the test processing to the file server.
Optionally, the communication device supported by the convergence terminal includes a satellite signal transmitter;
the simulated test scenarios include some or all of the following scenarios:
a packet loss scene, a packet error scene, a data packet delay transmission scene and a retransmission request response scene.
The present application is described above with reference to block diagrams and/or flowchart illustrations of methods, apparatus (systems) and/or computer program products according to embodiments of the application. It will be understood that one block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by computer program instructions. These computer program instructions may be provided to a server of a general purpose computer, special purpose computer, and/or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the server of the computer and/or other programmable data processing apparatus, create means for implementing the functions/acts specified in the block diagrams and/or flowchart block or blocks.
Accordingly, the subject application may also be embodied in hardware and/or in software (including firmware, resident software, micro-code, etc.). Furthermore, the present application may take the form of a computer program product on a computer-usable or computer-readable storage medium having computer-usable or computer-readable program code embodied in the medium for use by or in connection with an instruction execution system. In the context of this application, a computer-usable or computer-readable medium may be any medium that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (18)

1. A method for testing a transport protocol, the method comprising:
the main control module configures a control strategy instruction for simulating a test scene to an intermediate module between the server and the communication equipment supported by the fusion terminal according to the test case, so that the intermediate module simulates the test scene according to the control strategy instruction to test the received data packet or instruction; the communication equipment supported by the convergence terminal comprises a satellite signal transmitter and a communication simulator; the convergence terminal is used for receiving data through a satellite broadcast signal under the condition that the satellite broadcast signal and a mobile communication network signal exist at the same time, and initiating a data packet retransmission request through the mobile communication network signal when the data received through the satellite broadcast signal has an abnormal condition;
and the main control module receives transmission information which is reported by the intermediate module and is used for determining the test result of the convergence terminal.
2. The method of claim 1, wherein the simulated test scenario comprises some or all of the following scenarios:
a packet loss scene, a packet error scene, a data packet delay transmission scene and a retransmission request response scene.
3. The method of claim 2, wherein before the master control module configures a control policy instruction for simulating a test scenario to an intermediate module located between the server and the communication device supported by the convergence terminal according to the test case, the method further comprises:
the main control module configures the communication simulator and determines that the configuration is successful; and
and the main control module configures the satellite signal transmitter and determines that the configuration is successful.
4. The method of claim 1, wherein after the main control module receives the transmission information reported by the intermediate module and used for determining the test result of the converged terminal, the method further comprises:
and the main control module determines the test result of the fusion terminal according to the transmission information and the transmission protocol.
5. A method for testing a transport protocol, the method comprising:
the method comprises the steps that an intermediate module receives a control strategy instruction which is configured by a main control module according to a test case and used for simulating a test scene, wherein the intermediate module is located between a file server and communication equipment supported by a convergence terminal, and the communication equipment supported by the convergence terminal comprises a satellite signal transmitter and a communication simulator; the convergence terminal is used for receiving data through a satellite broadcast signal under the condition that the satellite broadcast signal and a mobile communication network signal exist at the same time, and initiating a data packet retransmission request through the mobile communication network signal when the data received through the satellite broadcast signal has an abnormal condition;
the intermediate module simulates a test scene according to the control strategy instruction to test the received data packet or instruction and determines transmission information for determining the test result of the fusion terminal;
and the intermediate module reports the transmission information to the main control module.
6. The method of claim 5, wherein the intermediate module simulates a test scenario according to the control policy instruction to perform test processing on the received data packet or instruction, and the method comprises:
the intermediate module simulates a test scene according to the control strategy to test and process the received data packet from the server; or
And the intermediate module simulates a test scene according to the control strategy to test and process the received retransmission request of the communication simulator.
7. The method of claim 5, wherein after the intermediate module performs the test processing on the received data packet from the server according to the control strategy simulation test scenario, the method further comprises:
if the data packet needs to be sent, the intermediate module sends the data packet obtained after the test processing to the satellite signal transmitter;
after the intermediate module performs test processing on the received data packet retransmission request of the communication simulator according to the control strategy simulation test scenario, the intermediate module further includes:
and if the data packet needs to be sent, the intermediate module sends a data packet retransmission request obtained after the test processing to the server.
8. The method according to any one of claims 5 to 7, wherein the communication device supported by the converged terminal comprises a satellite signal transmitter;
the simulated test scenarios include some or all of the following scenarios:
a packet loss scene, a packet error scene, a data packet delay transmission scene and a retransmission request response scene.
9. A test apparatus for a transport protocol, comprising: at least one processing unit and at least one memory unit, wherein the memory unit stores program code that, when executed by the processing unit, causes the processing unit to perform the following:
configuring a control strategy instruction for simulating a test scene to an intermediate module between the server and communication equipment supported by the fusion terminal according to the test case, so that the intermediate module simulates the test scene according to the control strategy instruction to test the received data packet or instruction; receiving transmission information which is reported by the intermediate module and used for determining the test result of the convergence terminal;
the communication equipment supported by the convergence terminal comprises a satellite signal transmitter and a communication simulator; the convergence terminal is used for receiving data through the satellite broadcast signal under the condition that the satellite broadcast signal and the mobile communication network signal exist at the same time, and initiating a data packet retransmission request through the mobile communication network signal when the data received through the satellite broadcast signal has an abnormal condition.
10. The apparatus of claim 9, wherein the simulated test scenarios comprise some or all of the following scenarios:
a packet loss scene, a packet error scene, a data packet delay transmission scene and a retransmission request response scene.
11. The device of claim 10, wherein the processing unit is further to:
before configuring a control strategy instruction for simulating a test scene to an intermediate module between a server and communication equipment supported by a convergence terminal according to a test case, configuring a communication simulator and determining that the configuration is successful; and configuring the satellite signal transmitter and determining that the configuration is successful.
12. The device of claim 9, wherein the processing unit is further to:
and after receiving the transmission information which is reported by the intermediate module and used for determining the test result of the convergence terminal, determining the test result of the convergence terminal according to the transmission information and a transmission protocol.
13. A test device for a transport protocol, wherein the test device is located between a file server and a communication device supported by a convergence terminal, comprising: at least one processing unit and at least one memory unit, wherein the memory unit stores program code that, when executed by the processing unit, causes the processing unit to perform the following:
receiving a control strategy instruction which is configured by the main control module according to the test case and used for simulating a test scene; simulating a test scene according to the control strategy instruction to test the received data packet or instruction, and determining transmission information for determining a test result of the fusion terminal; reporting the transmission information to the main control module;
the communication equipment supported by the convergence terminal comprises a satellite signal transmitter and a communication simulator; the convergence terminal is used for receiving data through the satellite broadcast signal under the condition that the satellite broadcast signal and the mobile communication network signal exist at the same time, and initiating a data packet retransmission request through the mobile communication network signal when the data received through the satellite broadcast signal has an abnormal condition.
14. The device according to claim 13, wherein the processing unit is specifically configured to:
simulating a test scene according to the control strategy to test and process the received data packet from the server; or simulating a test scene according to the control strategy to test and process the received data packet retransmission request of the communication simulator.
15. The device of claim 13, wherein the processing unit is further to:
after a test scene is simulated according to the control strategy to test and process a received data packet from the server, if the data packet needs to be sent, the data packet obtained after the test and process is sent to the satellite signal transmitter;
after the received retransmission request of the communication simulator is tested according to the control strategy simulation test scene, if a data packet needs to be sent, the retransmission request of the data packet obtained after the test processing is sent to the server.
16. The apparatus according to any one of claims 13 to 15, wherein the simulated test scenario includes a partial or total packet loss scenario, a packet error scenario, a packet delay transmission scenario, and a retransmission request response scenario among the following scenarios.
17. A test apparatus for a transport protocol, comprising:
the configuration module is used for configuring a control strategy instruction for simulating a test scene to an intermediate module between the server and the communication equipment supported by the fusion terminal according to the test case, so that the intermediate module simulates the test scene according to the control strategy instruction to test and process the received data packet or the received instruction; the communication equipment supported by the convergence terminal comprises a satellite signal transmitter and a communication simulator; the convergence terminal is used for receiving data through a satellite broadcast signal under the condition that the satellite broadcast signal and a mobile communication network signal exist at the same time, and initiating a data packet retransmission request through the mobile communication network signal when the data received through the satellite broadcast signal has an abnormal condition;
and the receiving module is used for receiving the transmission information which is reported by the intermediate module and is used for determining the test result of the fusion terminal.
18. A test device for a transport protocol, wherein the test device is located between a file server and a communication device supported by a convergence terminal, comprising:
the processing module is used for receiving a control strategy instruction which is configured by the main control module according to the test case and used for simulating a test scene, and simulating the test scene according to the control strategy instruction to test and process the received data packet or the received instruction; the communication equipment supported by the convergence terminal comprises a satellite signal transmitter and a communication simulator; the convergence terminal is used for receiving data through the satellite broadcast signal under the condition that the satellite broadcast signal and the mobile communication network signal exist at the same time, and initiating a data packet retransmission request through the mobile communication network signal when the data received through the satellite broadcast signal has an abnormal condition;
and the reporting module is used for determining the transmission information of the test result of the convergence terminal and reporting the transmission information to the main control module.
CN201810272258.5A 2018-03-29 2018-03-29 Method and equipment for testing transmission protocol Active CN110324161B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810272258.5A CN110324161B (en) 2018-03-29 2018-03-29 Method and equipment for testing transmission protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810272258.5A CN110324161B (en) 2018-03-29 2018-03-29 Method and equipment for testing transmission protocol

Publications (2)

Publication Number Publication Date
CN110324161A CN110324161A (en) 2019-10-11
CN110324161B true CN110324161B (en) 2022-09-20

Family

ID=68110936

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810272258.5A Active CN110324161B (en) 2018-03-29 2018-03-29 Method and equipment for testing transmission protocol

Country Status (1)

Country Link
CN (1) CN110324161B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110798378B (en) * 2019-10-22 2022-04-22 苏州浪潮智能科技有限公司 Storage testing method and system
CN111181800B (en) * 2019-11-27 2023-09-19 腾讯科技(深圳)有限公司 Test data processing method and device, electronic equipment and storage medium
CN112445711A (en) * 2020-12-07 2021-03-05 视若飞信息科技(上海)有限公司 Test method for generating simulation test scene based on visual dragging of Web page
CN115412473B (en) * 2022-08-30 2024-03-29 云控智行(上海)汽车科技有限公司 Method and terminal for detecting data consistency of intelligent internet-connected broadcast signals of vehicles in real time

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101415190B (en) * 2007-10-16 2012-12-05 北京华恒铭圣科技发展有限责任公司 Method and system for detecting wireless communication network
CN102523033B (en) * 2011-12-14 2014-04-09 大连大学 Baseband channel simulation system of mobile satellite suitable for Ka frequency band
CN103618645A (en) * 2013-11-28 2014-03-05 武汉虹旭信息技术有限责任公司 Complex network environment test system and method with intelligent simulation function
CN106535241B (en) * 2015-09-15 2020-12-29 腾讯科技(深圳)有限公司 Dynamic network simulation method and device
CN105512343A (en) * 2016-01-06 2016-04-20 北京京东尚科信息技术有限公司 Method and device for simulating network anomaly and testing automatic switching of database faults

Also Published As

Publication number Publication date
CN110324161A (en) 2019-10-11

Similar Documents

Publication Publication Date Title
CN110324161B (en) Method and equipment for testing transmission protocol
JP6648211B2 (en) Method and apparatus for performing extended file distribution in multicast communication or broadcast communication
EP2106645B1 (en) Network repeater
US20200344287A1 (en) In-Service Quality Monitoring System with Intelligent Retransmission and Interpolation
CN108366414B (en) Data transmission method and device based on NB-IoT
CN109218995B (en) Communication method, communication device, computer readable medium and electronic equipment
WO2019137558A1 (en) Nb-iot-based data transmission and receiving method and apparatus, and data transmission system
US7596108B2 (en) Digital data broadcasting systems, methods and components that selectively rebroadcast data packets based on analysis of propagation characteristics
CN114337724A (en) Wireless communication method, device and equipment based on dual-channel technology
KR20210083298A (en) Data transmission and measurement techniques
EP3893419A1 (en) Data retransmission decoding method, apparatus and system, and communication device
CN102340390B (en) Data packet transmission method and system, source node equipment and relay node equipment
CN114071544A (en) Network testing method and device and electronic equipment
CN110505013B (en) Control method and system for screen-free equipment distribution network, electronic equipment and storage medium
CN108400802B (en) Bluetooth receiving method, system and electronic equipment
CN111225423B (en) Method and device for forwarding data
CN113971287A (en) LoRa communication-based batch upgrading method and upgrading system
KR20140062400A (en) Base station and a plurality of member nodes of transmitting and receiving network coding based multicast traffic
CN109672707B (en) Data transmission method and device and computer storage medium
CN110402544B (en) Receiving device with diversity combining
US10666502B2 (en) Communication apparatus, communication system, communication method, and non-transitory computer readable medium
CN103580805A (en) Message processing method and device
CN111385241B (en) Method, device and system for repairing lost packet of multimedia data and readable storage medium
CN116567599A (en) Audio transmission method, device, equipment, system and storage medium
CN113328833A (en) Data transmission method, device and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant