CN106411652B - A kind of gateway protocol conversion testing system and method towards the communication of empty day - Google Patents

A kind of gateway protocol conversion testing system and method towards the communication of empty day Download PDF

Info

Publication number
CN106411652B
CN106411652B CN201610946196.2A CN201610946196A CN106411652B CN 106411652 B CN106411652 B CN 106411652B CN 201610946196 A CN201610946196 A CN 201610946196A CN 106411652 B CN106411652 B CN 106411652B
Authority
CN
China
Prior art keywords
data
protocol
aos
link
agreement
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
CN201610946196.2A
Other languages
Chinese (zh)
Other versions
CN106411652A (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.)
China Academy of Launch Vehicle Technology CALT
Original Assignee
China Academy of Launch Vehicle Technology CALT
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 China Academy of Launch Vehicle Technology CALT filed Critical China Academy of Launch Vehicle Technology CALT
Priority to CN201610946196.2A priority Critical patent/CN106411652B/en
Publication of CN106411652A publication Critical patent/CN106411652A/en
Application granted granted Critical
Publication of CN106411652B publication Critical patent/CN106411652B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/18Protocol analysers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Communication Control (AREA)

Abstract

The present invention relates to empty day field of communication technology more particularly to a kind of gateway protocol conversion testing system and methods towards the communication of empty day.The test macro includes server and the first computer be connected to the server respectively, second computer and third computer, wherein first computer is equipped with AOS protocol emulation member, the second computer is equipped with Link protocol emulation member, and the third computer is equipped with gateway protocol and converts simulated members.The present invention is by establishing a kind of gateway protocol conversion testing method towards the communication of empty day, verify the correctness and validity of AOS agreement and Link protocol conversion in empty day communication, by establishing reliable, stable, the expansible gateway protocol conversion testing system towards the communication of empty day, the conversion testing of agreement between different communication systems is realized.

Description

A kind of gateway protocol conversion testing system and method towards the communication of empty day
Technical field
The present invention relates to empty day field of communication technology more particularly to a kind of gateway protocol conversion testings towards the communication of empty day System and method.
Background technique
By the support of the empty day communication technology, intelligent weapon system can effectively realize precision strike, efficiently injure, certainly Main collaboration, Situation Awareness and the functions such as assessment are injured, constitutes collection scouting, strike, communication, the integrations such as decision, injure, assess Cooperation system, establish material base to obtain battlefield power of getting the upper hand of.Due to following corresponding agreement in empty day communication system Specification and standard, gateway provide efficient service as tie for empty day communication system.But design and the verifying week of hardware gateway Phase is long, and by existing test macro, the correctness and validity in the empty day communication of verifying when gateway protocol conversion are lower.
Summary of the invention
(1) technical problems to be solved
The object of the present invention is to provide a kind of gateway protocol conversion testing system and methods towards the communication of empty day, solve existing The problem for having correctness and validity of the test macro in verifying empty day communication when gateway protocol conversion lower.
(2) technical solution
In order to solve the above-mentioned technical problems, the present invention provides a kind of gateway protocol conversion testing systems towards the communication of empty day System, the first computer, second computer and the third computer be connected to the server including server and respectively, wherein First computer is equipped with AOS protocol emulation member, and the second computer is equipped with Link protocol emulation member, the third Computer is equipped with gateway protocol and converts simulated members;
The AOS protocol emulation member is used to receive the data that the gateway protocol conversion simulated members are sent, and will count Parsed according to according to AOS agreement, and be packaged according to AOS agreement, by the AOS protocol data after encapsulation be distributed to it is external into Row is read;
The Link protocol emulation member is used to receive the charge type that the gateway protocol conversion simulated members are sent Data will be accused that categorical data is parsed according to Link agreement, and are packaged according to Link agreement, by the Link after encapsulation Protocol data is distributed to outside and is read out;
The gateway protocol conversion simulated members are used to complete the AOS protocol emulation member and institute according to protocol interaction side Effective protocol interaction between Link protocol emulation member is stated, carries out effective data processing and Issuing Office according to address information Reason.
Further, the AOS protocol emulation member includes AOS agreement receiving module, AOS protocol resolution module, AOS association Discuss processing module, AOS agreement generation module and AOS agreement sending module;
Wherein the AOS agreement receiving module is used to receive the data that the gateway protocol conversion simulated members are sent, The AOS protocol resolution module is for parsing the received data of AOS agreement receiving module, at the AOS agreement It manages module to be used to carry out data processing to the data after AOS protocol resolution module parsing, the AOS agreement generation module is used In to the AOS protocol process module, treated that data are packaged, the AOS agreement sending module is used for the AOS AOS protocol data after the encapsulation of agreement generation module according to image, data and accuses that the form of categorical data segment information is divided Hair.
Further, the Link protocol emulation member include Link agreement receiving module, Link protocol resolution module, Link protocol process module, Link agreement generation module and Link agreement sending module;
Wherein the Link agreement receiving module is used to receive the data that the gateway protocol conversion simulated members are sent, The Link protocol resolution module is for parsing the received data of Link agreement receiving module, the Link agreement Processing module is used to carry out data processing to the data after Link protocol resolution module parsing, and the Link agreement generates mould Block is used for that treated that data are packaged to the Link protocol process module, and the Link agreement sending module is used for institute Link protocol data after stating the encapsulation of Link agreement generation module is according to image, data and the form for accusing categorical data segment information It is distributed.
Further, the gateway protocol conversion simulated members include that the first gateway protocol interactive module and the second gateway are assisted Interactive module is discussed, wherein the first gateway protocol interactive module is used to AOS protocol data being converted to Link protocol data, institute The second gateway protocol interactive module is stated for Link protocol data to be converted to AOS protocol data.
Specifically, the gateway protocol conversion simulated members further include starting Simulation Control module, pause Simulation Control mould Block continues Simulation Control module and terminates Simulation Control module.
The present invention also provides a kind of gateway protocol conversion testing methods towards the communication of empty day, specifically include following step It is rapid:
By the AOS protocol emulation member in the gateway protocol conversion testing system communicated towards empty day, Link protocol emulation Member and gateway protocol conversion simulated members control initialization;
The conversion thread for starting gateway protocol conversion simulated members, is added AOS protocol emulation member and Link protocol emulation Member carries out emulation testing;
Emulation data are generated, emulation data are converted into simulated members by gateway protocol and interact conversion;
When emulate data be Link protocol data when, by Link protocol data be sent to gateway protocol convert simulated members into Row conversion, and the data after conversion are sent to AOS protocol emulation member;The AOS protocol emulation member receives the net The data that protocol conversion simulated members are sent are closed, data are parsed according to AOS agreement, and is packaged according to AOS agreement Generate AOS protocol data;The treatment process for switching to AOS protocol data to Link protocol data carries out simulation analysis;By emulation point AOS protocol data after analysis is distributed to outside and is read out;
When emulating data is AOS protocol data, AOS protocol data is sent to gateway protocol conversion simulated members and is carried out Conversion, and the data after conversion are sent to Link protocol emulation member;The Link protocol emulation member receives the net The data that protocol conversion simulated members are sent are closed, data are parsed according to Link agreement, and is sealed according to Link agreement Dress generates Link protocol data;The treatment process for switching to Link protocol data to AOS protocol data carries out simulation analysis;It will emulation Link protocol data after analysis is distributed to outside and is read out.
Further, the gateway protocol conversion simulated members realize that AOS transmission frame and Link pass by data link layer Mutual conversion between defeated frame;
When the mutual conversion of AOS transmission frame and Link transmission frame, valid data are parsed from one of data format, It is encapsulated into the valid data domain of another data format again;Or all data in one of format are potted directly into separately In a kind of valid data domain of data format.
Further, when Link transmission frame being converted to AOS transmission frame,
If the valid data length of field of Link transmission frame is greater than the valid data length of field of AOS transmission frame, Link is passed Defeated frame is segmented, and wherein the part of curtailment is filled using filling field;
If the valid data length of field of Link transmission frame is equal with the valid data length of field of AOS transmission frame, directly into Row filling;
If the valid data length of field of Link transmission frame is less than the valid data length of field of AOS transmission frame, directly carry out Filling, wherein the part of curtailment is filled using filling field.
Further, AOS transmission frame is converted into Link transmission frame specific step is as follows:
Parse AOS transmission frame;
Whether it includes filling data that detection BPDU frame head is checked in the valid data domain of AOS transmission frame, if without filling data, Then it is reduced directly valid data;If there are filling data, valid data are restored after abandoning padding data;
According to the segment encode of Link transmission frame, the valid data of the AOS transmission frame restored are assembled into a Link transmission Frame.
(3) beneficial effect
Above-mentioned technical proposal of the invention has the advantages that
Gateway protocol conversion testing system and method provided by the invention towards the communication of empty day, can be in a local area network The gateway protocol conversion testing process communicated towards empty day is realized on network, the present invention includes AOS protocol emulation member, Link agreement Simulated members and gateway protocol convert simulated members, and converting simulated members by gateway protocol can effectively will be in the communication of empty day AOS agreement and Link agreement are mutually converted, and use the Socket technology based on Visual C++ in emulation testing verifying It realizes the synchronous communication and interaction of each member, and then guarantees system components coordination, orderly function, for the agreement in empty day communication Conversion provides test.
It is able to verify that the correctness and validity of AOS agreement and Link protocol conversion in empty day communication through the invention, In the gateway protocol conversion testing system towards the communication of empty day there is authentic testing ability, be a kind of reliability, it is stable and Expansible gateway protocol conversion testing system, realizes the conversion testing of agreement between different communication systems.
Detailed description of the invention
Fig. 1 is the structural schematic diagram for the gateway protocol conversion testing system that the embodiment of the present invention is communicated towards empty day;
Fig. 2 is the AOS protocol frame format structure for the gateway protocol conversion testing system that the embodiment of the present invention is communicated to empty day Figure;
Fig. 3 is the Link protocol frame format structure for the gateway protocol conversion testing system that the embodiment of the present invention is communicated to empty day Figure;
Fig. 4 is the flow chart for the gateway protocol conversion testing method that the embodiment of the present invention is communicated towards empty day;
Fig. 5 be in gateway protocol conversion testing method that the embodiment of the present invention is communicated towards empty day Link transmission frame to AOS Transmission frame transition diagram;
Fig. 6 be in gateway protocol conversion testing method that the embodiment of the present invention is communicated towards empty day AOS transmission frame to Link Transmission frame transition diagram;
Fig. 7 is that AOS agreement of the embodiment of the present invention generates emulation testing figure;
Fig. 8 is one gateway protocol of link of embodiment of the present invention conversion emulation testing figure;
Fig. 9 is that Link agreement of the embodiment of the present invention receives emulation testing figure;
Figure 10 is that Link agreement of the embodiment of the present invention generates emulation testing figure;
Figure 11 is two gateway protocol of link of embodiment of the present invention conversion emulation testing figure;
Figure 12 is that AOS agreement of the embodiment of the present invention receives emulation testing figure.
In figure: 1: server;2: the first computers;3: second computer;4: third computer.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiments of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people Member's every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
As shown in Figure 1, the embodiment of the present invention provides a kind of gateway protocol conversion testing system towards the communication of empty day, by hard Part, software two parts composition, wherein hardware components include server 1 and the first calculating being connected respectively with the server 1 Machine 2, second computer 3 and third computer 4, for software function, member provides hardware running environment.The software section includes AOS protocol emulation member in first computer 2 is set, and the Link agreement being arranged in the second computer 3 is imitative The gateway protocol conversion simulated members in the third computer 3 are arranged in true member.
The AOS protocol emulation member is used to receive the data that the gateway protocol conversion simulated members are sent, and will count Parsed according to according to AOS agreement, and be packaged according to AOS agreement, by the AOS protocol data after encapsulation be distributed to it is external into Row is read.
The Link protocol emulation member is used to receive the charge type that the gateway protocol conversion simulated members are sent Data will be accused that categorical data is parsed according to Link agreement, and are packaged according to Link agreement, by the Link after encapsulation Protocol data is distributed to outside and is read out.
The gateway protocol conversion simulated members are used to complete the AOS protocol emulation member and institute according to protocol interaction side Effective protocol interaction between Link protocol emulation member is stated, carries out effective data processing and Issuing Office according to address information Reason.
Wherein, the AOS protocol emulation member includes AOS agreement receiving module, AOS protocol resolution module, at AOS agreement Manage module, AOS agreement generation module and AOS agreement sending module.Wherein the AOS agreement receiving module is described for receiving The data that gateway protocol conversion simulated members are sent, the AOS protocol resolution module are used for the AOS agreement receiving module Received data are parsed, the AOS protocol process module be used for the AOS protocol resolution module parsing after data into Row data processing, the AOS agreement generation module are used for that treated that data are packaged to the AOS protocol process module, The AOS agreement sending module is used for the AOS protocol data after AOS agreement generation module encapsulation according to image, data And accuse that the form of categorical data segment information is distributed.
Wherein, the Link protocol emulation member includes Link agreement receiving module, Link protocol resolution module, Link association Discuss processing module, Link agreement generation module and Link agreement sending module.Wherein the Link agreement receiving module is used for The data that the gateway protocol conversion simulated members are sent are received, the Link protocol resolution module is used to assist the Link The view received data of receiving module are parsed, and the Link protocol process module is used for the Link protocol resolution module solution Data after analysis carry out data processing, and the Link agreement generation module is for the Link protocol process module, treated Data are packaged, and the Link agreement sending module is used for the Link agreement number after Link agreement generation module encapsulation It is distributed according to according to the form of image, data and charge categorical data segment information.
Wherein, the gateway protocol conversion simulated members include that the first gateway protocol interactive module and the second gateway protocol are handed over Mutual module, wherein the first gateway protocol interactive module is used to AOS protocol data being converted to Link protocol data, described the Two gateway protocol interactive modules are used to Link protocol data being converted to AOS protocol data.
In addition, gateway protocol conversion simulated members further include start Simulation Control module, pause Simulation Control module, Continue Simulation Control module and terminates Simulation Control module.The gateway protocol conversion simulated members are responsible for managing entire test system The operation of system controls other two simulated members in test macro and completes the interaction of gateway protocol, it is ensured that test macro is just Really operation, is the core member of entire test macro.
Of the present invention towards mainly including two kinds of agreements in the communication of empty day, i.e. AOS agreement and Link agreement, below Both agreements are described in detail.
1, AOS agreement
As shown in Fig. 2, information mainly follows the AOS association based on CCSDS when space link transmits in the communication of empty day View.
In order to construct the network system of Incorporate, realize that space-based is docked with the seamless data of ground, space link is Wireless satellite link, the AOS space link layer protocol that link layer uses the CCSDS committee to formulate, due to ground and space bottom The difference of link, thus satellite link layer we be not available agreement identical with ground, but network layer can shield this difference.
Domain: consisting of two parts, and resets mark and free area needs to store when space link does not connect Transmission frame needs to retransmit these data if link re-establishes.It resets mark domain and informs that these data of receiving end are real When data " 0 " either replay data " 1 ".Its main purposes in a pseudo channel exactly when existing simultaneously data and again Put data separation they, complete " 00 " is accustomed to being set in free area now.
Frame head portion Error Control: the domain is optionally, if having used the domain, for the position 48-63 on main head.The domain uses Has RS (10, the 6) code of error correcting capability to protect key message MCID, VCID and the signaling domain in head.The presence in this domain Whether once it is determined that, then must be consistent in each transmission frame of same physical channel.
It is inserted into domain: if used, the domain should be inserted in after main head, if physical channel enables in cycle data transfer The business, then, even empty transmission frame, also including this region in each frame of physical channel transmission.Insert district The length in domain and the NI_SDU equal length of physical channel, insert region include an IN_SDU as unit of byte.
Data cell domain: data field unit domain follows main head or insert region closely, includes a M_PDU, a B_ PDU, a VCA_SDU or empty data.M_PDU, B_PDU, VCA_SDU and empty data will not be multiplexed into a pseudo channel, Such as: if a pseudo channel transmits M_PDU.It include a M_PDU so in each transmission frame of this pseudo channel, this Regulation is because identifying the type of transmitted data, if mixed transport, recipient there is no a domain in transmission frame It can not identify the type of data, if not having user data to need to send when sending transmission frame, one includes spy The transmission frame of the empty data for the formula that fixes is sent, and so a transmission frame is referred to as null frame.The VCID of null frame is set as complete " 1 " number Length according to region is as unit of byte, and is variable, but be equal to both following difference:
1) length of the transmission frame of particular physical channel.
2) length on main head is plus the length of insert region and/or the length of tail portion.
Tail: being all Optional Field comprising operation control domain OCF and frame error control domain.The use of OCF is more special Very, different according to different pseudo channels, once use, within fixed task time, each pseudo channel it is every It all include this domain in a frame.First bit of OCF is type code position, for indicating the Report Type wherein loaded, " 0 " Representative is the report of Class1, and what " 1 " represented is that type 2 is reported.Frame error control domain provides discovery transmission and data are processed Lead to the ability of transmission frame (in addition to head) mistake in journey, it use whether according to lower layer's coding layer provide ability not It is same and different.
With the increase of new applications various in space-based asset, application type is more and more abundant.More more tired, answer on more ground With being implemented in space-based asset, to provide abundant Air Service.The effect of gateway is just shown particularly important in empty day communication.
2, Link agreement
As shown in figure 3, Link class agreement has stronger anti-interference and ability of anti-interception in the communication of empty day, wherein Link-16 is most widely used by high-speed frequency-hopping.
The message numbering of Link-16 data link system is Jnm, the n in message numbering is the tag field by banner word 2 corresponding to 5bit5(0-31) mark value indicates;M is by the 3bit corresponding 2 of the sub-mark symbol field of banner word3(0-7) son Mark value indicates.It can thus be concluded that 32 × 8=256 kind message format, and the message of each number has uniquely determined a kind of report The type of text.
Header is to send at the beginning of each time slot, and the message of Link-16 data link system connects after header Face is sent.Header is not the message of Link class data link system, its information content mainly assists platform device to handle Link The message of class data link system.Header word has 416 altogether, by 16 double pulse sets at.Header word is made of 35bit information, by it Be divided into 7 groups of 5bit, and the coding of (16,7) RS is carried out to it.
The header word of Link-16 agreement is divided into four parts, is Slot Type field, RI/TM field, track number mark respectively Character learning section, secure data unary system row field.The Slot Type field of 3bit, effect are primarily used to the envelope of mark message It whether fills in type, type of message (formatted message or variable format message) and free text comprising error correcting code etc.; (RI/TM) character field of 1bit, for the character of this 1bit when being transferred from by text, mark is using pulse or double arteries and veins Character is rushed, and when transmitting fixed format message or variable formatting message, judge that relaying for transmitting is also non-relaying Message;The number of the emission source of the main storage current time slots of track number mark of 15bit;The secure data cell-in-series of 16bit The encryption method of the message of this time slot of number primary identity, to receive the decryption that terminal completes message.
As shown in figure 4, the embodiment of the invention also provides a kind of gateway protocol conversion testing method towards the communication of empty day, Emulation testing is carried out using above-mentioned gateway protocol conversion testing system.
This method specifically comprises the following steps:
Control the gateway protocol conversion simulated members initialization in the gateway protocol conversion testing system communicated towards empty day.
The conversion thread for starting gateway protocol conversion simulated members, is added AOS protocol emulation member and Link protocol emulation Member carries out emulation testing.
Emulation data are generated, emulation data are converted into simulated members by gateway protocol and interact conversion.
When emulate data be Link protocol data when, by Link protocol data be sent to gateway protocol convert simulated members into Row conversion, and the data after conversion are sent to AOS protocol emulation member;The AOS protocol emulation member receives the net The data that protocol conversion simulated members are sent are closed, data are parsed according to AOS agreement, and is packaged according to AOS agreement Generate AOS protocol data;The treatment process for switching to AOS protocol data to Link protocol data carries out simulation analysis;By emulation point AOS protocol data after analysis is distributed to outside and is read out.
When emulating data is AOS protocol data, AOS protocol data is sent to gateway protocol conversion simulated members and is carried out Conversion, and the data after conversion are sent to Link protocol emulation member;The Link protocol emulation member receives the net The data that protocol conversion simulated members are sent are closed, data are parsed according to Link agreement, and is sealed according to Link agreement Dress generates Link protocol data;The treatment process for switching to Link protocol data to AOS protocol data carries out simulation analysis;It will emulation Link protocol data after analysis is distributed to outside and is read out.
Wherein, the gateway protocol conversion simulated members realize AOS transmission frame and Link transmission frame by data link layer Between mutual conversion, following two mode specifically can be used:
First is that being parsed from one of data format effectively when the mutual conversion of AOS transmission frame and Link transmission frame Data, then be encapsulated into the valid data domain of another data format.Second is that all data in one of format are direct It is encapsulated into the valid data domain of another data format.
As shown in figure 5, in the entire task segment of the conversion process of Link transmission frame to AOS transmission frame, if Link is transmitted The valid data length of field of frame is greater than the valid data length of field of AOS transmission frame, then is segmented Link transmission frame, wherein growing Insufficient part is spent to be filled using filling field.If the valid data length of field of Link transmission frame and having for AOS transmission frame It is equal to imitate data field length, then is directly filled.If the valid data length of field of Link transmission frame is less than having for AOS transmission frame Data field length is imitated, then is directly filled, wherein the part of curtailment is filled using filling field.
As shown in fig. 6, being divided into AOS transmission frame without filling data during AOS transmission frame is converted to Link transmission frame There are filling two kinds of situations of data with AOS transmission frame.Specific conversion process is as follows:
1, AOS transmission frame is parsed;
2, whether detection BPDU frame head is checked comprising filling data in the valid data domain of AOS transmission frame, if without filler According to being then reduced directly valid data;If there are filling data, valid data are restored after abandoning padding data;
3, according to the segment encode of Link transmission frame, the valid data of the AOS transmission frame restored is assembled into a Link and are passed Defeated frame.
Sky day of the present invention communication gate protocol conversion test macro, according to point of information system information interactive process Analysis, the input and output of exchange agreement difference, the Simulation Strategy of proposed adoption segmented.With the propulsion of emulation, each emulation at Member interconnect the interaction of interoperability, and the simulation status that corresponding simulated members can be adjusted by interface is shown.
Due to managing the operation of entire analogue system using gateway protocol conversion simulated members, sending control instruction and completing State interaction, thus in the building of typical information system gateway exchange agreement analogue system, proposed adoption be based on information generate, place The gateway exchange agreement controlling mechanism managed and distributed.
Sky day of the present invention communication gate protocol conversion test macro, is one by multiple functional simulation member compositions Analogue system.In simulation process, the necessary co-ordination of each simulated members is common to complete empty day communication gate protocol conversion survey The test of test system is verified.
Since each object member is distributed on each physical node, for ensure the validity of each node work, consistency and Timeliness controls realization by the way of based on Socket.
Under set simulating scenes, corresponding test macro is built by the hardware topology of simulating scheme, is completed each The actual functional capability of a simulation unit realizes AOS agreement and the protocol conversion of Link agreement, the test link of setting Are as follows: AOS agreement-" gateway-" Link agreement-" gateway-" AOS agreement, data frame length 50.
The data that sublink one (forward link) generates in empty day communication gate protocol conversion test macro include satellite class Data, detection target class data, frame format follow AOS agreement.Test results are shown in figure 7 for AOS protocol data in link one, Wherein sending the data in data text frame is the frame data after AOS encapsulation.
Test results are shown in figure 8 for gateway protocol conversion in link one, and gateway protocol is converted received cipher-text information Encryption issues again after decrypting, verifying.Data in initial data text box are to receive the data of repeater satellite, forwarding Data in data text frame are that the data at charge center are sent to after handling.The path of data flow such as green in test result Shown in line.
Link data are received in link one, and test results are shown in figure 9, and the data received in data text frame are A frame data are received, are shown in the display unit for receiving Link data after the processing such as decryption.It is received in link one The AOS protocol data that Link protocol data is sent is consistent, and test result verifies the correctness of the gateway protocol conversion in link one.
The data that sublink two (returning to link) generates in empty day communication gate protocol conversion test macro include target class Data, frame format follow Link agreement.Test results are shown in figure 10 for Link agreement generation data in link two, sends data Data in text box are the frame data after Link encapsulation.
The test result that gateway protocol is converted in link two is as shown in figure 11, and gateway protocol is converted received cipher-text information Encryption issues again after decrypting, verifying.Data in initial data text box are to receive the data at charge center, forwarding Data in data text frame are that the data of repeater satellite are sent to after handling.The path of data flow such as green in test result Shown in line.
The test result of the AOS data received in link two is as shown in figure 12, and the data received in data text frame are To receive a frame data, it is shown in the display unit for receiving data after the processing such as decryption.The AOS received in link two Data are consistent with the Link data of transmission, and test result verifies the correctness of the gateway protocol conversion in link two.
By the simulation results of above-mentioned test link, it is real between two copying members that gateway can be verified The forwarding for having showed data realizes the conversion of frame format between each agreement, i.e. AOS agreement can be had between Link agreement The interoperability of effect, test result prove the correctness and validity of empty day communication gate protocol conversion test macro.
In conclusion the present invention by establish it is a kind of towards empty day communicate gateway protocol conversion testing system and method, Verify the correctness and validity of AOS agreement and Link protocol conversion in empty day communication, gateway protocol conversion testing therein system System has authentic testing ability, by establishing reliable, stable, expansible gateway protocol conversion testing system, realizes not With the conversion testing of agreement between communication system.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features; And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit and Range.

Claims (9)

1. a kind of gateway protocol conversion testing system towards the communication of empty day, it is characterised in that: including server and respectively with The server connected the first computer, second computer and third computer, wherein first computer is assisted equipped with AOS Simulated members are discussed, the second computer is equipped with Link protocol emulation member, and the third computer is converted equipped with gateway protocol Simulated members;
The AOS protocol emulation member is used to receive the data that the gateway protocol conversion simulated members are sent, and data are pressed It is parsed according to AOS agreement, and is packaged according to AOS agreement, the AOS protocol data after encapsulation is distributed to outside and is read It takes;
The Link protocol emulation member is used to receive the charge categorical data that the gateway protocol conversion simulated members are sent, It will accuse that categorical data is parsed according to Link agreement, and be packaged according to Link agreement, by the Link agreement after encapsulation Data distribution is read out to outside;
Gateway protocol conversion simulated members be used to be completed according to protocol interaction side the AOS protocol emulation member with it is described Effective protocol interaction between Link protocol emulation member carries out effective data processing and distribution processor according to address information.
2. the gateway protocol conversion testing system according to claim 1 towards the communication of empty day, it is characterised in that: described AOS protocol emulation member includes AOS agreement receiving module, AOS protocol resolution module, AOS protocol process module, the life of AOS agreement At module and AOS agreement sending module;
Wherein the AOS agreement receiving module is used to receive the data that the gateway protocol conversion simulated members are sent, described AOS protocol resolution module is for parsing the received data of AOS agreement receiving module, the AOS protocol processes mould Block be used for the AOS protocol resolution module parsing after data carry out data processing, the AOS agreement generation module for pair Treated that data are packaged for the AOS protocol process module, and the AOS agreement sending module is used for the AOS agreement AOS protocol data after generation module encapsulation according to image, data and accuses that the form of categorical data segment information is distributed.
3. the gateway protocol conversion testing system according to claim 1 towards the communication of empty day, it is characterised in that: described Link protocol emulation member includes Link agreement receiving module, Link protocol resolution module, Link protocol process module, Link association Discuss generation module and Link agreement sending module;
Wherein the Link agreement receiving module is used to receive the data that the gateway protocol conversion simulated members are sent, described Link protocol resolution module is for parsing the received data of Link agreement receiving module, the Link protocol processes Module is used to carry out data processing to the data after Link protocol resolution module parsing, and the Link agreement generation module is used In to the Link protocol process module, treated that data are packaged, the Link agreement sending module is used for described Link agreement generation module encapsulation after Link protocol data according to image, data and accuse categorical data segment information form into Row distribution.
4. the gateway protocol conversion testing system according to claim 1 towards the communication of empty day, it is characterised in that: the net Closing protocol conversion simulated members includes the first gateway protocol interactive module and the second gateway protocol interactive module, wherein described first Gateway protocol interactive module is used to AOS protocol data being converted to Link protocol data, the second gateway protocol interactive module For Link protocol data to be converted to AOS protocol data.
5. the gateway protocol conversion testing system according to claim 4 towards the communication of empty day, it is characterised in that: the net Close protocol conversion simulated members further include start Simulation Control module, pause Simulation Control module, continue Simulation Control module and Terminate Simulation Control module.
6. a kind of gateway protocol conversion testing method towards the communication of empty day, it is characterised in that: specifically comprise the following steps:
By AOS protocol emulation member, the Link protocol emulation member in the gateway protocol conversion testing system communicated towards empty day With gateway protocol conversion simulated members control initialization;
The conversion thread for starting gateway protocol conversion simulated members, is added AOS protocol emulation member and Link protocol emulation member Carry out emulation testing;
Emulation data are generated, emulation data are converted into simulated members by gateway protocol and interact conversion;
When emulating data is Link protocol data, Link protocol data is sent to gateway protocol conversion simulated members and is turned It changes, and the data after conversion is sent to AOS protocol emulation member;The AOS protocol emulation member receives the gateway association The data that view conversion simulated members are sent, data are parsed according to AOS agreement, and be packaged generation according to AOS agreement AOS protocol data;The treatment process for switching to AOS protocol data to Link protocol data carries out simulation analysis;After simulation analysis AOS protocol data be distributed to outside and be read out;
When emulating data is AOS protocol data, AOS protocol data is sent to gateway protocol conversion simulated members and is turned It changes, and the data after conversion is sent to Link protocol emulation member;The Link protocol emulation member receives the gateway The data that protocol conversion simulated members are sent, data are parsed according to Link agreement, and is packaged according to Link agreement Generate Link protocol data;The treatment process for switching to Link protocol data to AOS protocol data carries out simulation analysis;By emulation point Link protocol data after analysis is distributed to outside and is read out.
7. the gateway protocol conversion testing method according to claim 6 towards the communication of empty day, it is characterised in that: the net It closes protocol conversion simulated members and passes through the mutual conversion between data link layer realization AOS transmission frame and Link transmission frame;
When the mutual conversion of AOS transmission frame and Link transmission frame, valid data are parsed from one of data format, then seal It is attached in the valid data domain of another data format;Or all data in one of format are potted directly into another kind In the valid data domain of data format.
8. the gateway protocol conversion testing method according to claim 7 towards the communication of empty day, it is characterised in that: by Link When transmission frame is converted to AOS transmission frame,
If the valid data length of field of Link transmission frame is greater than the valid data length of field of AOS transmission frame, by Link transmission frame It is segmented, wherein the part of curtailment is filled using filling field;
If the valid data length of field of Link transmission frame is equal with the valid data length of field of AOS transmission frame, directly filled out It fills;
If the valid data length of field of Link transmission frame is less than the valid data length of field of AOS transmission frame, directly it is filled, Wherein the part of curtailment is filled using filling field.
9. the gateway protocol conversion testing method according to claim 7 towards the communication of empty day, it is characterised in that: by AOS Transmission frame is converted to Link transmission frame, and specific step is as follows:
Parse AOS transmission frame;
Whether detection BPDU frame head is checked comprising filling data in the valid data domain of AOS transmission frame, if without filling data, directly Connect reduction valid data;If there are filling data, valid data are restored after abandoning padding data;
According to the segment encode of Link transmission frame, the valid data of the AOS transmission frame restored are assembled into a Link transmission frame.
CN201610946196.2A 2016-11-02 2016-11-02 A kind of gateway protocol conversion testing system and method towards the communication of empty day Active CN106411652B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610946196.2A CN106411652B (en) 2016-11-02 2016-11-02 A kind of gateway protocol conversion testing system and method towards the communication of empty day

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610946196.2A CN106411652B (en) 2016-11-02 2016-11-02 A kind of gateway protocol conversion testing system and method towards the communication of empty day

Publications (2)

Publication Number Publication Date
CN106411652A CN106411652A (en) 2017-02-15
CN106411652B true CN106411652B (en) 2019-08-06

Family

ID=58013865

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610946196.2A Active CN106411652B (en) 2016-11-02 2016-11-02 A kind of gateway protocol conversion testing system and method towards the communication of empty day

Country Status (1)

Country Link
CN (1) CN106411652B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106657020A (en) * 2016-11-23 2017-05-10 沈阳理工大学 Gateway protocol conversion testing system facing air and space communication
CN108574581A (en) * 2017-03-07 2018-09-25 北京空间技术研制试验中心 Incorporate network environment ground artificial system
CN107659380A (en) * 2017-09-05 2018-02-02 上海歌尔泰克机器人有限公司 Message transmission, message read method, equipment and system
CN108270641B (en) * 2017-11-28 2021-08-17 中国电子科技集团公司电子科学研究院 Method and device for testing performance of heaven and earth integrated information network
CN109194731A (en) * 2018-08-24 2019-01-11 上海电气集团股份有限公司 A kind of concurrent real-time Data Transmission interface realizing method based on configuration software

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101887379A (en) * 2010-06-18 2010-11-17 北京航空航天大学 Virtual network card-based wireless channel simulation method
CN104144044A (en) * 2014-07-09 2014-11-12 华中科技大学 Method for processing multi-device transparent HARQ

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101887379A (en) * 2010-06-18 2010-11-17 北京航空航天大学 Virtual network card-based wireless channel simulation method
CN104144044A (en) * 2014-07-09 2014-11-12 华中科技大学 Method for processing multi-device transparent HARQ

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
"CCSDS AOS系统中虚拟信道复用技术的研究";李清凡;《中国优秀硕士学位论文全文数据库》;20150315(第3期);I136-337
"基于FPGA的IP over CCSDS协议中长帧拆分的实现与仿真";张庆顺等;《河北大学学报(自然科学版)》;20150325;第35卷(第2期);204-209
"基于IP over AOS的空地网络互联性能研究";刘建勋等;《计算机工程》;20160615;第42卷(第6期);113-119

Also Published As

Publication number Publication date
CN106411652A (en) 2017-02-15

Similar Documents

Publication Publication Date Title
CN106411652B (en) A kind of gateway protocol conversion testing system and method towards the communication of empty day
CN111934919B (en) Network convergence and networking method, equipment and storage medium thereof
CN108965484A (en) A kind of transmission method of internet of things data, system and terminal
CN103825761B (en) Router emulation mode on a kind of star for postponing tolerable network
CN106657020A (en) Gateway protocol conversion testing system facing air and space communication
CN105871487B (en) A kind of system integration project demonstration and verification system towards satellite mobile communication
CN103200190B (en) A kind of cut-in method in kind towards QualNet network hardware-in-the-loop simulation
CN101631069B (en) Method, system and equipment for pseudo wire parameter negotiation
CN106878181A (en) A kind of message transmitting method and device
CN110417840A (en) A kind of information processing method and device
CN110266368A (en) Incorporate information network emulation mode based on cloud platform
CN105915304A (en) System-level simulation demonstration verification method facing satellite mobile communication
CN105357039B (en) A kind of emulation mode and device of time delay tolerant network
CN107104677A (en) The apparatus and method of transmission/reception forward error correction relevant information in multimedia system
CN110267356B (en) Digital film release projection system based on 5G network
CN102892142B (en) Relay transmission system and method capable of adaptively selecting relay schemes
CN110380923A (en) Site element protection looped network test device
CN102209034A (en) Layer 2 path maximum transmission unit discovery method and node
CN104754521B (en) A kind of message forwarding method, wireless access point, wireless controller and system
CN109039709A (en) A kind of mobile wireless network emulation and experiment porch based on virtualization
CN107483284A (en) The method of testing and device of the network equipment
CN110728598A (en) Computer network principle teaching system based on libpcap
CN100488169C (en) A method for data processing in bridging network and bridging network
CN106063190B (en) A kind of method, relevant apparatus and the system of file reparation
CN110213259A (en) The UDP transmission method of electric power observation and control message sends terminal and receives terminal

Legal Events

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