CN106685811B - Universal gateway and its implementation based on agreement - Google Patents

Universal gateway and its implementation based on agreement Download PDF

Info

Publication number
CN106685811B
CN106685811B CN201510755471.8A CN201510755471A CN106685811B CN 106685811 B CN106685811 B CN 106685811B CN 201510755471 A CN201510755471 A CN 201510755471A CN 106685811 B CN106685811 B CN 106685811B
Authority
CN
China
Prior art keywords
network
artificial network
universal gateway
role
artificial
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
CN201510755471.8A
Other languages
Chinese (zh)
Other versions
CN106685811A (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.)
Beijing Simulation Center
Original Assignee
Beijing Simulation Center
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 Beijing Simulation Center filed Critical Beijing Simulation Center
Priority to CN201510755471.8A priority Critical patent/CN106685811B/en
Publication of CN106685811A publication Critical patent/CN106685811A/en
Application granted granted Critical
Publication of CN106685811B publication Critical patent/CN106685811B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention discloses a kind of universal gateway and its implementation based on agreement, the gateway includes: universal gateway top control module and at least one universal gateway channel module, universal gateway top control module, creation and unloading universal gateway channel module, and universal gateway channel module is managed to the simulation model data conversion and interaction between the corresponding heterogeneous network of universal gateway channel module;Universal gateway channel module executes simulation model data conversion and interaction between corresponding heterogeneous network.Universal gateway is made of one or more universal gateway channel modules under universal gateway top control module management in technical solution of the present invention, certain class simulation model corresponds to a universal gateway channel module, loose coupling between simulation model, the modification of certain class simulation model will not influence other simulation models;The foundation of universal gateway channel module, it is automatic, accurate, after simulation model is modified or is adjusted, manpower adjustment code is not needed, is promoted in terms of reliability and stability significant.

Description

Universal gateway and its implementation based on agreement
Technical field
The present invention relates to digital simulation technique fields.More particularly, to a kind of universal gateway based on agreement and in fact Existing method.
Background technique
There are a variety of interactive standards specifications and architectures, such as HLA standard (IEEE Std in Digital Simulation experiment 1516, IEEE Standard for Modeling), TENA system (Test and Training Enabling Architecture).With emulation demand in scale, range and formal expansion and upgrading, and consider resource reuse, The factors such as time cost influence, and mostly complete the interconnection interaction of heterogeneous network in Digital Simulation with gateway forms.
In Digital Simulation experiment, model protocol has the characteristics that complicated, changeable, disunity.Currently, gateway, which is realized, relies on mould Type agreement, model protocol, which slightly adjusts, can cause adverse effect to gateway, lead to error in data even simulation node delay machine, because This needs manpower manual modification, adjustment gateway to adapt to new model protocol, and work is time-consuming, complicated, error-prone.
Accordingly, it is desirable to provide a kind of universal gateway and its implementation based on agreement.
Summary of the invention
It is imitative to solve heterogeneous digital for the purpose of the present invention is to provide a kind of universal gateway and its implementation based on agreement In very, due to gateway and simulation model close coupling, not general, simulation model adjustment or modification, gateway cannot regenerate automatically The problem of adapting to, causing simulation result incorrect or even simulation node delay machine.
In order to achieve the above objectives, the present invention adopts the following technical solutions:
A kind of universal gateway based on agreement, comprising:
Universal gateway top control module and at least one universal gateway channel module,
Universal gateway top control module, creation and unloading universal gateway channel module, and manage universal gateway channel module pair Simulation model data conversion and interaction between the corresponding heterogeneous network of universal gateway channel module;
Universal gateway channel module executes simulation model data conversion and interaction between corresponding heterogeneous network.
Preferably, the universal gateway top control module management universal gateway channel module is opposite to universal gateway channel module Simulation model data conversion between the heterogeneous network answered with interact including dispatching and load universal gateway channel module is to general Simulation model data conversion and interaction between the corresponding heterogeneous network of gateway channels module.
Preferably, the process of the universal gateway top control module creation universal gateway channel module includes:
The application programming interface of first artificial network is provided by the first artificial network, supports creation publication role, wound It builds and subscribes to role, discovery readjustment, is renewed back to the operation for reconciling and destroying readjustment;
With the application programming interface of the second artificial network of the first artificial network foreign peoples, mentioned by the second artificial network For the operation for supporting creation publication role, creation to subscribe to role, discovery readjustment, update readjustment, destroy readjustment;
Publication role mapping table of the subscription-towards the first artificial network towards the second artificial network, the first emulation of storage The subscription of network is used for simulation model data by the first artificial network stream to the mapping of the publication role towards the second artificial network To the first artificial network;
Publication role mapping table of the subscription-towards the second artificial network towards the first artificial network, the second emulation of storage The subscription of network is used for simulation model data by the second artificial network stream to the mapping of the publication role towards the first artificial network To the first artificial network;
Model conversion mapping, for updating corresponding publication role attribute data according to subscription role attribute data.
A kind of implementation method of the universal gateway based on agreement, this method comprises the following steps:
When Digital Simulation starts, the universal gateway channel process between heterogeneous network is created;
Start universal gateway channel process, carries out simulation model data conversion and interaction between heterogeneous network;
At the end of Digital Simulation, universal gateway channel process is closed, terminates the simulation model between heterogeneous network Data conversion and interaction.
Preferably, the universal gateway channel process between the creation heterogeneous network further comprises following sub-step:
The application programming interface of the first artificial network is established, which supports creation publication role, creation to subscribe to angle Color, is renewed back to the operation for reconciling and destroying readjustment at discovery readjustment;
The application programming interface with the second artificial network of the first artificial network foreign peoples is established, which supports creation Issue role, role is subscribed in creation, finds readjustment, updates readjustment, destroys the operation adjusted back;
Establish publication role mapping table of the subscription-towards the first artificial network towards the second artificial network, storage first The subscription of artificial network makes simulation model data by the first artificial network to the mapping of the publication role towards the second artificial network Flow to the first artificial network;
Establish publication role mapping table of the subscription-towards the second artificial network towards the first artificial network, storage second The subscription of artificial network makes simulation model data by the second artificial network to the mapping of the publication role towards the first artificial network Flow to the first artificial network;
Model conversion mapping is carried out, updates corresponding publication role attribute data according to role attribute data are subscribed to.
Preferably, starting universal gateway channel process, the simulation model data carried out between heterogeneous network turn Changing and interacting further comprises following sub-step:
It completes to subscribe in the relevant foreign peoples's artificial network of universal gateway channel process respectively and publication operates,
When the first artificial network or the second artificial network discovery readjustment effect when, create the artificial network subscription example and With the publication example of the artificial network of its foreign peoples, and example will be subscribed to and publication example is added corresponding foreign peoples's artificial network and orders Read-issue role mapping table;
When the first artificial network or the second artificial network update readjustment effect, by the subscription example in callback interface, Corresponding foreign peoples's artificial network, which is subscribed to-issued in role mapping table, finds publication example, is mapped according to model conversion and completes publication The attribute data of example updates, and issues data, and data flow is issued example from the artificial network flow direction for subscribing to example one end The artificial network of one end;
When the first artificial network or the second artificial network destroy readjustment effect, by the subscription example in callback interface, Corresponding foreign peoples's artificial network, which is subscribed to-issued in role mapping table, finds publication example, and by the subscription example and issues example It subscribes to-issues in role mapping table from corresponding foreign peoples's artificial network and delete.
Preferably, this method further comprises the steps of:
If Digital Simulation does not use the simulation model in artificial network, the related universal gateway of the artificial network is unloaded Channel process.
Beneficial effects of the present invention are as follows:
Universal gateway is general by the one or more under universal gateway top control module management in technical solution of the present invention Gateway channels module composition, certain class simulation model correspond to a universal gateway channel module, loose coupling between simulation model, certain class The modification of simulation model will not influence other simulation models;The foundation of universal gateway channel module, it is automatic, accurate, in emulation mould After type modification or adjustment, manpower adjustment code is not needed, is promoted in terms of reliability and stability significant.
Currently, the scale and range of Digital Simulation are growing, for already existing artificial network resource, one kind is needed Method makes it interconnect, and technical solution of the present invention is exactly the solution towards this demand, before wide application Scape.
Detailed description of the invention
Specific embodiments of the present invention will be described in further detail with reference to the accompanying drawing.
Fig. 1 shows the universal gateway schematic diagram based on agreement.
Fig. 2 shows universal gateway channel process creation-starting-end in the implementation method of the universal gateway based on agreement to show It is intended to.
Fig. 3, which is shown, creates universal gateway channel process schematic in the implementation method of the universal gateway based on agreement.
Fig. 4 show foreign peoples's artificial network A, B in the implementation method of the universal gateway based on agreement subscribe to-issue role mapping The schematic diagram of table.
Fig. 5 shows model conversion mapping in the implementation method of the universal gateway based on agreement and generates schematic diagram.
Specific embodiment
In order to illustrate more clearly of the present invention, the present invention is done further below with reference to preferred embodiments and drawings It is bright.Similar component is indicated in attached drawing with identical appended drawing reference.It will be appreciated by those skilled in the art that institute is specific below The content of description is illustrative and be not restrictive, and should not be limited the scope of the invention with this.
Embodiment 1
As shown in Figure 1, the universal gateway provided in this embodiment based on agreement, comprising:
Universal gateway top control module and at least one universal gateway channel module,
Universal gateway top control module, creation and unloading universal gateway channel module, and manage universal gateway channel module pair Simulation model data conversion and interaction between the corresponding heterogeneous network of universal gateway channel module;
Universal gateway channel module executes simulation model data conversion and interaction between corresponding heterogeneous network.
A universal gateway top control module in universal gateway can control the multiple universal gateway channel modules of management.
The substantially function of universal gateway top control module and universal gateway channel module is described as follows:
Universal gateway top control module is responsible for creating, dispatch, load, start, stop and unloading as the main line of universal gateway Carry universal gateway channel module.User controls gateway operation by universal gateway top control module starting/stopping.
Universal gateway channel module is an independent model conversion process based on simulation protocol in logic, physically It is an independent dynamic link library, by the creation of universal gateway top control module, scheduling, load and carries.Universal gateway channel mould Block supports the functions such as starting, stopping, protocol model conversion.One universal gateway channel module completes turning for a kind of simulation model It changes, the simulation model data of foreign peoples's artificial network are that the anti-shake model of protocol model is completed by corresponding universal gateway channel module Data conversion and interaction, to realize universal gateway.
The detailed functions of universal gateway top control module and universal gateway channel module are described as follows:
Universal gateway top control module:
If desired existing universal gateway channel module between simulation model data conversion and the heterogeneous network of interaction is carried out, Then start universal gateway channel module;If desired it carries out being not present between simulation model data conversion and the heterogeneous network of interaction logical With gateway channels module, then need to select the first artificial network respectively --- hereinafter referred to as artificial network A and with first emulation net The second artificial network of network foreign peoples --- the hereinafter referred to as simulation model of artificial network B creates universal gateway channel module, then Start universal gateway channel module;
Wherein
Creation universal gateway channel module is made of five parts, the application programming interface of artificial network A, emulation net Subscription-publication role mapping table (i.e. Simulation-Oriented network of the application programming interface of network B, two side foreign peoples's artificial network A, B Subscription-Simulation-Oriented network A hair of the subscription of A-Simulation-Oriented network B publication role mapping table and Simulation-Oriented network B Cloth role mapping table) and model conversion mapping:
The application programming interface of artificial network A is provided by artificial network A, is a part of standard artificial network A, It supports creation publication role, creation subscription role, discovery readjustment, update the operations such as readjustment, destruction readjustment.
The application programming interface of artificial network B is provided by artificial network B, is a part of standard artificial network B, It supports creation publication role, creation subscription role, discovery readjustment, update the operations such as readjustment, destruction readjustment.
The subscription of Simulation-Oriented network A-Simulation-Oriented network B publication role mapping table stores the subscription of artificial network A To the mapping of the publication role of Simulation-Oriented network B, network B is flowed to by network A for simulation model data.According to artificial network The protocol resolver that A and artificial network B is provided parses simulation model information, in conjunction with the application of artificial network A and artificial network B Program Interfaces, the method function of the publication role for subscribing to role and creating artificial network B of construction creation artificial network A. When the effect of the discovery readjustment of artificial network A, this method function is executed, and by the subscription role and artificial network B of artificial network A Publication role be inserted into the subscription towards artificial network A-Simulation-Oriented network B publication role mapping table.When artificial network A's When destroying readjustment effect, by publication role the ordering from Simulation-Oriented network A of the subscription role of artificial network A and artificial network B Read-the publication role mapping table of Simulation-Oriented network B in delete.
The subscription of Simulation-Oriented network B-Simulation-Oriented network A publication role mapping table stores the subscription of artificial network B To the mapping of the publication role of Simulation-Oriented network A, network A is flowed to by network B for simulation model data.According to artificial network The protocol resolver that A and artificial network B is provided parses simulation model information, in conjunction with the application of artificial network A and artificial network B Program Interfaces, the method function of the publication role for subscribing to role and creating artificial network A of construction creation artificial network B. When the effect of the discovery readjustment of artificial network B, this method function is executed, and by the subscription role and artificial network A of artificial network B Publication role be inserted into the subscription towards artificial network B-Simulation-Oriented network A publication role mapping table.When artificial network B's When destroying readjustment effect, by publication role the ordering from Simulation-Oriented network B of the subscription role of artificial network B and artificial network A Read-the publication role mapping table of Simulation-Oriented network A in delete.
Model conversion mapping, for updating corresponding publication role attribute data according to subscription role attribute data.Emulation The simulation model of network A and artificial network B generate model attributes list by its corresponding protocol resolver parsing, and provide interface Interface selects attributes match alignment by user, in conjunction with the application programming interface of artificial network A and artificial network B, generates mould Type conversion map.
According to the selection of user's simulation model, artificial network A and artificial network B protocol resolver and artificial network A and The application programming interface of artificial network B automatically generates above five partial documents, and generates project file, compiling link Generate dynamic link library.
Start opened universal gateway channel module, that is, the simulation model data opened between corresponding heterogeneous network turn It changes and interacts.
Terminate when the heterogeneous network in digital network emulation emulates, closes relevant universal gateway channel module, terminate different Simulation model data conversion and interaction between class network.
If the heterogeneous network emulation in digital network emulation does not use certain class simulation model, relevant general network is unloaded Close channel module.
Universal gateway channel module is created by universal gateway top control module, scheduling, loads and start.
Universal gateway channel module executes simulation model data conversion between corresponding heterogeneous network and the mistake that interacts Journey are as follows:
It completes to subscribe in the relevant two foreign peoples's artificial networks of universal gateway channel module respectively and publication operates,
When the effect of the discovery readjustment of a certain artificial network, the publication of the subscription example and phase different network that create the network is real Example, and will subscribe to example and publication example be added corresponding foreign peoples's artificial network subscribe to-issue role mapping table.
It is imitative in corresponding foreign peoples by the subscription example in callback interface when the effect of the update readjustment of a certain artificial network Publication example is found in true network subscription-publication role mapping table.The attribute number for completing publication example is mapped according to model conversion According to update, and data are issued, data flow is issued to the network of one end of example from the network flow direction for subscribing to example one end.
It is imitative in corresponding foreign peoples by the subscription example in callback interface when the effect of the destruction readjustment of a certain artificial network Publication example is found in true network subscription-publication role mapping table, and by the subscription example and issues example from corresponding foreign peoples Artificial network is subscribed to-is issued in role mapping table and deletes.
After universal gateway channel module receives the ceasing and desisting order of universal gateway top control module, respectively in the universal gateway master control It completes to quit the subscription of operation in the relevant two foreign peoples's artificial networks of module.
Universal gateway channel module is finally terminated by the unloading of universal gateway top control module.
Embodiment 2
As shown in Fig. 2, the implementation method of the universal gateway provided in this embodiment based on agreement, includes the following steps:
When Digital Simulation starts, the universal gateway channel process between heterogeneous network is created;
Start universal gateway channel process, carries out simulation model data conversion and interaction between heterogeneous network;
At the end of Digital Simulation, universal gateway channel process is closed, terminates the simulation model between heterogeneous network Data conversion and interaction.
Wherein
This method includes a universal gateway master control process, and master control process is the main line of universal gateway, is responsible for creation, adjusts Degree, starting, stops and unloads universal gateway channel process at load.Universal gateway master control process is the interface of user's control gateway Process, user control gateway operation by universal gateway master control process starting/stopping.
Universal gateway channel process is an independent model conversion process based on simulation protocol in logic, physically It is an independent dynamic link library, by the creation of universal gateway master control process, scheduling, load, unloading.Universal gateway channel mistake Journey supports the functions such as starting, stopping, protocol model conversion.One channel process completes the conversion of a kind of simulation model, Yi Leifang The model data of true network is that the conversion of protocol model is completed by corresponding channel process, to realize universal gateway.
As shown in figure 3, step " when Digital Simulation starts, creating the universal gateway channel process between heterogeneous network " Detailed process are as follows:
If desired existing universal gateway channel process between simulation model data conversion and the heterogeneous network of interaction is carried out, Then start universal gateway channel process;If desired it carries out being not present between simulation model data conversion and the heterogeneous network of interaction logical With gateway channels process, then need to select the first artificial network respectively --- hereinafter referred to as artificial network A and with first emulation net The second artificial network of network foreign peoples --- the hereinafter referred to as simulation model of artificial network B creates universal gateway channel process, then Start universal gateway channel process;
Creation channel process is made of five parts, is respectively created: the application programming interface of artificial network A is imitated Subscription-publication role mapping table (i.e. Simulation-Oriented of the application programming interface of true network B, two side foreign peoples's artificial network A, B Subscription-Simulation-Oriented network A of the subscription of network A-Simulation-Oriented network B publication role mapping table and Simulation-Oriented network B Publication role mapping table) and model conversion mapping:
The application programming interface of artificial network A is provided by artificial network A, is a part of standard artificial network A, It supports creation publication role, creation subscription role, discovery readjustment, update the operations such as readjustment, destruction readjustment.
The application programming interface of artificial network B is provided by artificial network B, is a part of standard artificial network B, It supports creation publication role, creation subscription role, discovery readjustment, update the operations such as readjustment, destruction readjustment.
As shown in figure 4, the subscription of Simulation-Oriented network A-Simulation-Oriented network B publication role mapping table, storage emulation The subscription of network A flows to network B by network A for simulation model data to the mapping for issuing role of Simulation-Oriented network B. According to the protocol resolver that artificial network A and artificial network B is provided, simulation model information is parsed, in conjunction with artificial network A and emulation The application programming interface of network B, the publication role for subscribing to role and creating artificial network B of construction creation artificial network A Method function.When the effect of the discovery readjustment of artificial network A, this method function is executed, and by the subscription role of artificial network A The subscription towards artificial network A-Simulation-Oriented network B publication role mapping table is inserted into the publication role of artificial network B.When When the destruction readjustment effect of artificial network A, by the publication role for subscribing to role and artificial network B of artificial network A from towards imitative It is deleted in subscription-Simulation-Oriented network B publication role mapping table of true network A.
The subscription of Simulation-Oriented network B-Simulation-Oriented network A publication role mapping table stores the subscription of artificial network B To the mapping of the publication role of Simulation-Oriented network A, network A is flowed to by network B for simulation model data.According to artificial network The protocol resolver that A and artificial network B is provided parses simulation model information, in conjunction with the application of artificial network A and artificial network B Program Interfaces, the method function of the publication role for subscribing to role and creating artificial network A of construction creation artificial network B. When the effect of the discovery readjustment of artificial network B, this method function is executed, and by the subscription role and artificial network A of artificial network B Publication role be inserted into the subscription towards artificial network B-Simulation-Oriented network A publication role mapping table.When artificial network B's When destroying readjustment effect, by publication role the ordering from Simulation-Oriented network B of the subscription role of artificial network B and artificial network A Read-the publication role mapping table of Simulation-Oriented network A in delete.
As shown in figure 5, model conversion maps, for updating corresponding publication role attribute according to subscription role attribute data Data.The simulation model of artificial network A and artificial network B generate model attributes list by its corresponding protocol resolver parsing, And connection interface is provided, attributes match alignment is selected by user, in conjunction with the application programming of artificial network A and artificial network B Interface generates model conversion mapping.
According to the selection of user's simulation model, artificial network A and artificial network B protocol resolver and artificial network A and The application programming interface of artificial network B automatically generates above five partial documents, and generates project file, compiling link Generate dynamic link library.
After universal gateway channel process between creation heterogeneous network,
Start universal gateway channel process, that is, open the simulation model data conversion between corresponding heterogeneous network and hands over Mutually.
Terminate when the heterogeneous network in digital network emulation emulates, closes relevant universal gateway channel process, terminate different Simulation model data conversion and interaction between class network.
If the heterogeneous network emulation in digital network emulation does not use certain class simulation model, relevant general network is unloaded Close channel module.
Step " starts universal gateway channel process, carries out the simulation model data conversion between heterogeneous network and hand over Detailed process mutually " are as follows:
It completes to subscribe in relevant two artificial networks of the channel process respectively and publication operates,
When " it was found that readjustment " effect of a certain artificial network, the subscription example of the network and the publication of phase different network are created Example, and will subscribe to example and publication example be added corresponding foreign peoples's artificial network subscribe to-issue role mapping table.
When " updating readjustment " effect of a certain artificial network, by the subscription example in callback interface, in corresponding foreign peoples Artificial network, which is subscribed to-issued in role mapping table, finds publication example.The attribute for completing publication example is mapped according to model conversion Data update, and issue data, and data flow is issued to the network of one end of example from the network flow direction for subscribing to example one end.
When " destroying readjustment " effect of a certain artificial network, by the subscription example in callback interface, in corresponding foreign peoples Artificial network, which is subscribed to-issued in role mapping table, finds publication example, and by the subscription example and publication example from corresponding different Class artificial network is subscribed to-is issued in role mapping table and deletes.
After universal gateway channel process receives the ceasing and desisting order of universal gateway master control process, respectively in the universal gateway channel It completes to quit the subscription of operation in relevant two artificial networks of process.
Universal gateway channel process is finally terminated by the unloading of universal gateway master control process.
Obviously, the above embodiment of the present invention be only to clearly illustrate example of the present invention, and not be pair The restriction of embodiments of the present invention may be used also on the basis of the above description for those of ordinary skill in the art To make other variations or changes in different ways, all embodiments can not be exhaustive here, it is all to belong to this hair The obvious changes or variations that bright technical solution is extended out are still in the scope of protection of the present invention.

Claims (5)

1. a kind of universal gateway based on agreement characterized by comprising
Universal gateway top control module and at least one universal gateway channel module,
Universal gateway top control module, creation and unloading universal gateway channel module, and universal gateway channel module is managed to general Simulation model data conversion and interaction between the corresponding heterogeneous network of gateway channels module;
Universal gateway channel module executes simulation model data conversion and interaction between corresponding heterogeneous network;
The universal gateway channel module includes:
The application programming interface of first artificial network is provided by the first artificial network, and creation publication role, creation is supported to order It reads role, discovery readjustment, be renewed back to the operation for reconciling and destroying readjustment;
It with the application programming interface of the second artificial network of the first artificial network foreign peoples, is provided by the second artificial network, branch Hold creation publication role, role is subscribed in creation, finds readjustment, updates readjustment, destroys the operation adjusted back;
Publication role mapping table of the subscription-towards the first artificial network towards the second artificial network stores the first artificial network Subscription to the mapping of the publication role towards the second artificial network, flow to the by the first artificial network for simulation model data Two artificial networks;
Publication role mapping table of the subscription-towards the second artificial network towards the first artificial network stores the second artificial network Subscription to the mapping of the publication role towards the first artificial network, flow to the by the second artificial network for simulation model data One artificial network;
Model conversion mapping block, for updating corresponding publication role attribute data according to subscription role attribute data.
2. the universal gateway according to claim 1 based on agreement, which is characterized in that the universal gateway top control module pipe Manage universal gateway channel module between the corresponding heterogeneous network of universal gateway channel module simulation model data conversion with Interaction includes dispatching, loading, starting and stopping universal gateway channel module to the corresponding Heterogeneous Network of universal gateway channel module Simulation model data conversion and interaction between network.
3. a kind of implementation method of the universal gateway based on agreement, which is characterized in that this method comprises the following steps:
When Digital Simulation starts, the universal gateway channel process between heterogeneous network is created;
Start universal gateway channel process, carries out simulation model data conversion and interaction between heterogeneous network;
At the end of Digital Simulation, universal gateway channel process is closed, terminates the simulation model data between heterogeneous network It converts and interacts;
Universal gateway channel process between the creation heterogeneous network further comprises following sub-step:
The application programming interface of the first artificial network is established, which supports creation publication role, creation to subscribe to role, hair It now adjusts back, be renewed back to the operation for reconciling and destroying readjustment;
The application programming interface with the second artificial network of the first artificial network foreign peoples is established, which supports creation publication The operation that role, creation subscribe to role, discovery readjustment, update readjustment, destroy readjustment;
Establish publication role mapping table of the subscription-towards the first artificial network towards the second artificial network, the first emulation of storage The subscription of network flows to simulation model data by the first artificial network to the mapping of the publication role towards the second artificial network Second artificial network;
Establish publication role mapping table of the subscription-towards the second artificial network towards the first artificial network, the second emulation of storage The subscription of network flows to simulation model data by the second artificial network to the mapping of the publication role towards the first artificial network First artificial network;
Model conversion mapping is carried out, updates corresponding publication role attribute data according to role attribute data are subscribed to.
4. the implementation method of the universal gateway according to claim 3 based on agreement, which is characterized in that described in the starting Universal gateway channel process, carry out simulation model data conversion between heterogeneous network with to interact further comprise following sub-step It is rapid:
It completes to subscribe in the relevant foreign peoples's artificial network of universal gateway channel process respectively and publication operates,
When the first artificial network or the second artificial network discovery readjustment effect when, create the artificial network subscription example and and its The publication example of the artificial network of foreign peoples, and example and the corresponding foreign peoples's artificial network subscription-hair of publication example addition will be subscribed to Cloth role mapping table;
When the first artificial network or the second artificial network update readjustment effect, by the subscription example in callback interface, corresponding Foreign peoples's artificial network subscribe to-issue in role mapping table and find publication example, mapped according to model conversion and complete publication example Attribute data update, and data are issued, by data flow from the one end for the artificial network flow direction publication example for subscribing to example one end Artificial network;
When the first artificial network or the second artificial network destroy readjustment effect, by the subscription example in callback interface, corresponding Foreign peoples's artificial network subscribe to-issue in role mapping table and find publication example, and by the subscription example and publication example from phase The foreign peoples's artificial network answered, which is subscribed to-issued in role mapping table, to be deleted.
5. the implementation method of the universal gateway according to claim 3 based on agreement, which is characterized in that this method further includes Step:
If Digital Simulation does not use the simulation model in artificial network, the related universal gateway channel of the artificial network is unloaded Process.
CN201510755471.8A 2015-11-09 2015-11-09 Universal gateway and its implementation based on agreement Active CN106685811B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510755471.8A CN106685811B (en) 2015-11-09 2015-11-09 Universal gateway and its implementation based on agreement

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510755471.8A CN106685811B (en) 2015-11-09 2015-11-09 Universal gateway and its implementation based on agreement

Publications (2)

Publication Number Publication Date
CN106685811A CN106685811A (en) 2017-05-17
CN106685811B true CN106685811B (en) 2019-07-02

Family

ID=58864080

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510755471.8A Active CN106685811B (en) 2015-11-09 2015-11-09 Universal gateway and its implementation based on agreement

Country Status (1)

Country Link
CN (1) CN106685811B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112445471A (en) * 2020-11-17 2021-03-05 北京仿真中心 General data analysis software architecture design method based on digital test or training
CN114884826B (en) * 2022-03-15 2024-04-09 中国人民解放军军事科学院战争研究院 Cross-level heterogeneous interconnection method and interconnection system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101582894A (en) * 2009-06-10 2009-11-18 重庆大学 Semantic gateway used for integration of enterprise informatization heterogeneous system
CN103677838A (en) * 2013-12-17 2014-03-26 北京奥特美克科技股份有限公司 RTU sensor adaptation layer based on virtual sensors and design method of RTU sensor adaptation layer
WO2015013756A1 (en) * 2013-08-01 2015-02-05 Uhs Systems Pty Ltd Improvements in central station connectivity
CN104636211A (en) * 2015-03-10 2015-05-20 中国农业银行股份有限公司 Information interaction method among software systems, and middleware system
CN104821858A (en) * 2015-03-30 2015-08-05 北京仿真中心 Cross-wide area network integrated cell and method for distributed simulation system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101582894A (en) * 2009-06-10 2009-11-18 重庆大学 Semantic gateway used for integration of enterprise informatization heterogeneous system
WO2015013756A1 (en) * 2013-08-01 2015-02-05 Uhs Systems Pty Ltd Improvements in central station connectivity
CN103677838A (en) * 2013-12-17 2014-03-26 北京奥特美克科技股份有限公司 RTU sensor adaptation layer based on virtual sensors and design method of RTU sensor adaptation layer
CN104636211A (en) * 2015-03-10 2015-05-20 中国农业银行股份有限公司 Information interaction method among software systems, and middleware system
CN104821858A (en) * 2015-03-30 2015-08-05 北京仿真中心 Cross-wide area network integrated cell and method for distributed simulation system

Also Published As

Publication number Publication date
CN106685811A (en) 2017-05-17

Similar Documents

Publication Publication Date Title
US20230244454A1 (en) Software defined network controller
WO2017133447A1 (en) Intelligent device control method and apparatus, and computer storage medium
CN101894192B (en) Simulation and demonstration system for design and validation of AFDX (Avionics Full Duplex Switched Ethernet) network and simulation and demonstration method thereof
CN105260555B (en) A kind of fault injection system and its method based on Modelica models
CN110007924A (en) The automated construction method and system of YANG model configuration interface
CN109783083A (en) WEB application development approach and its system
CN105591825B (en) The method of modification configuration in household gateway update
CN108134690B (en) Network service deployment process control method, device and system
CN110427385A (en) Block chain data-updating method, interdependent node and block chain
CN106685811B (en) Universal gateway and its implementation based on agreement
CN108363545A (en) A kind of data configuration method and data configuration device
CN114117798B (en) Automatic interface model generation method and system based on matlab
CN106250134B (en) The code automatic generation method of single language
CN101252469A (en) Multi-net elements automatization testing method
CN115981619A (en) Visual function editor
CN113687814A (en) Automation realization method of model framework and interface file based on AUTOSAR (automotive open system architecture)
CN107483222A (en) A kind of management method and network management system of the virtual network function based on micro services
CN106484452A (en) A kind of unified configuring management method of software platform and device
CN102736926B (en) The upgrade method of a kind of task based access control template and device, batch upgrading system
CN112068879B (en) Method and device for constructing client application program development framework based on configuration
CN112398683B (en) Configuration method and device of multi-device hybrid networking supporting yang protocol
CN108055142A (en) A kind of interface automatic configuration method and system of vCPE equipment
CN107391136A (en) A kind of programing system and method based on streaming
CN101296164A (en) Service implementing method and device
CN115913959A (en) Template-based equipment configuration method and device and electronic equipment

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