CN115361298B - Service management method based on data subscription distribution network - Google Patents

Service management method based on data subscription distribution network Download PDF

Info

Publication number
CN115361298B
CN115361298B CN202210838004.1A CN202210838004A CN115361298B CN 115361298 B CN115361298 B CN 115361298B CN 202210838004 A CN202210838004 A CN 202210838004A CN 115361298 B CN115361298 B CN 115361298B
Authority
CN
China
Prior art keywords
service
network
layer
interface
simulation
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
CN202210838004.1A
Other languages
Chinese (zh)
Other versions
CN115361298A (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.)
Luoyang Institute of Electro Optical Equipment AVIC
Original Assignee
Luoyang Institute of Electro Optical Equipment AVIC
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 Luoyang Institute of Electro Optical Equipment AVIC filed Critical Luoyang Institute of Electro Optical Equipment AVIC
Priority to CN202210838004.1A priority Critical patent/CN115361298B/en
Publication of CN115361298A publication Critical patent/CN115361298A/en
Application granted granted Critical
Publication of CN115361298B publication Critical patent/CN115361298B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • H04L41/145Network analysis or design involving simulating, designing, planning or modelling of a network

Abstract

The invention discloses a service treatment method based on a data subscription distribution network, which designs a three-layer service treatment architecture of a configuration layer, a proxy layer and a service layer by analyzing a DDS communication mechanism and a communication mode among simulation experiment network services, and provides a simulation network service configuration file, a network proxy module based on the DDS and a unified service interface protocol, thereby establishing a simulation experiment environment with low time delay, high availability and multi-language support. The invention can be used for assisting the simulation experiment construction of the embedded system, and greatly improves the quality and efficiency of the simulation experiment environment construction.

Description

Service management method based on data subscription distribution network
Technical Field
The invention belongs to the technical field of computer networks, and particularly relates to a service management method based on a data subscription distribution network.
Background
The embedded software of the traditional avionics system is often large and complex single service software, and all the software are communicated through buses. When the simulation experiment is performed, the construction of the simulation experiment environment is difficult. Meanwhile, the software has strong dependence on language and architecture, high replacement cost, high simulation difficulty and complexity, and difficulty in realizing integrated configuration of each software in a unified environment.
Different simulation software is deployed on different hosts and is converted into bus data for communication through Ethernet, reliable call transmission of information is difficult to ensure, and service call failure is easy to cause. How to realize cross-language call of the simulation environment under the conditions of dynamic and changeable simulation environment, limited communication bandwidth, limited storage and other resources, and the like, and efficiently and quickly realize communication among services and the like are difficult problems to be solved.
Disclosure of Invention
In order to overcome the defects of the prior art, the invention provides a service management method based on a data subscription distribution network, which designs three-layer service management architecture of a configuration layer, a proxy layer and a service layer by analyzing a DDS communication mechanism and a communication mode between simulation experiment network services, and provides a simulation network service configuration file, a network proxy module based on the DDS and a unified service interface protocol, thereby establishing a simulation experiment environment with low time delay, high availability and multi-language support. The invention can be used for assisting the simulation experiment construction of the embedded system, and greatly improves the quality and efficiency of the simulation experiment environment construction.
The technical scheme adopted by the invention for solving the technical problems comprises the following steps:
step 1: defining a three-layer architecture of simulation experiment network service management, wherein the three layers comprise a configuration layer, a proxy layer and a service layer;
step 2: defining a simulation network service configuration file;
the simulation network service configuration file adopts XML format to describe the information of the whole simulation network service, including the name of the service, the interface data format and the calling relation between the services;
step 3: defining a network proxy module based on DDS;
the network proxy module operates in the proxy layer, the network proxy module realizes communication between services based on DDS, and the network proxy module is packaged into a unified proxy module to realize decoupling with the service layer, so that the service layer is only focused on own business logic;
step 4: defining a unified service interface protocol of simulation software;
the simulation software unified service interface protocol provides a unified service interface and a service name interface; the service interface is used as an interface for calling each other between services and is used for subscribing the distributed theme by the network proxy module; the service name interface is used for acquiring a service name from the interface module and acquiring service information from the configuration layer;
step 5: dividing the single architecture application into a group of services, and refining each service into a single service function according to the specific service responsibility of the service; each service instance is provided with a proxy matched with the service instance and deployed in the same host or an isolated space, and communication between services is carried out through a network proxy module;
step 6: the configuration layer reads a simulation experiment network service configuration file;
step 7: the network proxy module acquires a corresponding service name from the service request through HTTP; requesting a corresponding service configuration file from a configuration layer through a service name, and acquiring an interface of a matched service, an interface data format and other service interfaces needing to be called;
step 8: and the network proxy module communicates with proxy modules deployed in other hosts or isolated spaces through a DDS subscription distribution mode by taking the acquired service interface as a theme according to the service configuration file.
Preferably, the services can be implemented in any language and tool.
The beneficial effects of the invention are as follows:
the invention solves the problems of high complexity of software service, difficult cross-language call, high communication time delay among software and the like in the simulation environment construction process. Decoupling can be realized on simulation software, cross-language calling difficulty is reduced, communication time delay between the software is reduced, and quality and efficiency of simulation experiment environment construction are greatly improved.
Drawings
FIG. 1 is a schematic diagram of a three-layer architecture for simulation experiment network service management in accordance with the present invention.
Detailed Description
The invention will be further described with reference to the drawings and examples.
The purpose of the invention is that: the general method for managing the network service of the simulation experiment of the embedded system based on the data distribution service is provided, and the specification of the management of the simulation experiment of the embedded system is formed, so that the complexity of building the simulation experiment environment is reduced, the communication time delay among simulation software is reduced, and the efficiency of the simulation experiment is improved.
The invention provides a service management method for reducing simulation difficulty, which is used for assisting the construction of an embedded system simulation environment.
A service management method based on a data subscription distribution network comprises the following steps:
step 1: defining a three-layer architecture of simulation experiment network service management, wherein the three layers comprise a configuration layer, a proxy layer and a service layer;
step 2: defining a simulation network service configuration file;
the simulation network service configuration file adopts XML format to describe the information of the whole simulation network service, including the name of the service, the interface data format and the calling relation between the services;
step 3: defining a network proxy module based on DDS;
the network proxy module operates in the proxy layer, the network proxy module realizes communication between services based on DDS, and the network proxy module is packaged into a unified proxy module to realize decoupling with the service layer, so that the service layer is only focused on own business logic;
step 4: defining a unified service interface protocol of simulation software;
the simulation software service focuses on a single business function and provides a unified business interface and a service name interface. The service interface is used as an interface for calling each other between services, the interface name is used for subscribing and distributing the theme of the network proxy module, for example, A-Start represents a starting interface of the service A, and the proxy module DDS distributes the interface data through the A-Start theme. The service name interface is used for the interface module to acquire the service name so as to acquire service information from the configuration layer.
Step 5: the service governance architecture divides a large complex monolithic architecture application into a set of tiny services, each of which is refined to a single business function according to its specific business responsibilities. For a specific service, any language and tool can be used to implement, each service instance has an agent paired with it and deployed in the same host or isolated space, and communication between services is performed by the agent module.
Step 6: the configuration layer reads a simulation experiment network service configuration file;
step 7: the network proxy module acquires a corresponding service name from the service request through HTTP; requesting a corresponding service configuration file from a configuration layer through a service name, and acquiring an interface of a matched service, an interface data format and other service interfaces needing to be called;
step 8: and the network proxy module communicates with proxy modules deployed in other hosts or isolated spaces through a DDS subscription distribution mode by taking the acquired service interface as a theme according to the service configuration file.
Specific examples:
the technical scheme of the invention is as follows: by analyzing the communication mode between the DDS communication mechanism and the simulation experiment network service, a three-layer service treatment architecture of a configuration layer, an agent layer and a service layer is designed, and as shown in figure 1, a simulation network service configuration file, a DDS-based network agent module and a unified service interface protocol are provided, so that a simulation experiment environment with low time delay, high availability and multi-language support is established.
The specific embodiments of the present invention are as follows:
1) Selecting a simulation experiment software, analyzing the service range of the simulation experiment software, and splitting the simulation experiment software into a plurality of independent services according to the service range;
2) The divided services are packaged according to a unified service interface protocol, a service function interface is exposed, a service name interface is provided, and a service name is returned;
3) Based on the DDS encapsulation agent module, interfaces such as client creation, qoS setting, inquiry of a publisher or subscriber, data sending and receiving, request of configuration files, request of service names and the like are mainly realized;
4) Writing a service configuration total file, and writing names, interfaces, interface data formats and calling relations among all services into an XML file;
5) Each service and agent module is deployed to an independent host, and a local area network is constructed through a network cable;
6) Testing network communication conditions among all hosts in a local area network, and testing DDS communication conditions;
7) And running the configuration center node and deploying the proxy modules on the hosts to check whether the corresponding service configuration files are acquired by the proxy modules.
8) And running service software and checking call output and call time among services.

Claims (2)

1. A service management method based on a data subscription distribution network is characterized by comprising the following steps:
step 1: defining a three-layer architecture of simulation experiment network service management, wherein the three layers comprise a configuration layer, a proxy layer and a service layer;
step 2: defining a simulation network service configuration file;
the simulation network service configuration file adopts XML format to describe the information of the whole simulation network service, including the name of the service, the interface data format and the calling relation between the services;
step 3: defining a network proxy module based on DDS;
the network proxy module operates in the proxy layer, the network proxy module realizes communication between services based on DDS, and the network proxy module is packaged into a unified proxy module to realize decoupling with the service layer, so that the service layer is only focused on own business logic;
step 4: defining a unified service interface protocol of simulation software;
the simulation software unified service interface protocol provides a unified service interface and a service name interface; the service interface is used as an interface for calling each other between services and is used for subscribing the distributed theme by the network proxy module; the service name interface is used for acquiring a service name from the interface module and acquiring service information from the configuration layer;
step 5: dividing the single architecture application into a group of services, and refining each service into a single service function according to the specific service responsibility of the service; each service instance is provided with a proxy matched with the service instance and deployed in the same host or an isolated space, and communication between services is carried out through a network proxy module;
step 6: the configuration layer reads a simulation experiment network service configuration file;
step 7: the network proxy module acquires a corresponding service name from the service request through HTTP; requesting a corresponding service configuration file from a configuration layer through a service name, and acquiring an interface of a matched service, an interface data format and other service interfaces needing to be called;
step 8: and the network proxy module communicates with proxy modules deployed in other hosts or isolated spaces through a DDS subscription distribution mode by taking the acquired service interface as a theme according to the service configuration file.
2. A method of managing services based on a data subscription distribution network according to claim 1, wherein said services can be implemented in any language and tool.
CN202210838004.1A 2022-07-16 2022-07-16 Service management method based on data subscription distribution network Active CN115361298B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210838004.1A CN115361298B (en) 2022-07-16 2022-07-16 Service management method based on data subscription distribution network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210838004.1A CN115361298B (en) 2022-07-16 2022-07-16 Service management method based on data subscription distribution network

Publications (2)

Publication Number Publication Date
CN115361298A CN115361298A (en) 2022-11-18
CN115361298B true CN115361298B (en) 2023-06-20

Family

ID=84032207

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210838004.1A Active CN115361298B (en) 2022-07-16 2022-07-16 Service management method based on data subscription distribution network

Country Status (1)

Country Link
CN (1) CN115361298B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7555421B1 (en) * 2005-10-28 2009-06-30 At&T Corp. Device emulation for testing data network configurations
CN107678946A (en) * 2017-09-12 2018-02-09 中国航空工业集团公司洛阳电光设备研究所 A kind of airborne embedded software test environment construction method based on model
CN110879769A (en) * 2019-10-16 2020-03-13 中国航空工业集团公司洛阳电光设备研究所 Embedded system test environment construction method based on dynamically configurable framework
AU2020100425A4 (en) * 2020-03-19 2020-04-23 Julianne Mary Cripps Clark SafeEShare - Devices assemble data records, from private and/or possibly sensitive sources, of type or types that may be useful for sharing in varying degrees with other interests that the owner hopefully recognizes operate with interests different and possibly even in conflict with his/her own.
CN111258707A (en) * 2020-01-08 2020-06-09 北京仿真中心 Distributed simulation method and system based on DDS service encapsulation
CN112910636A (en) * 2021-01-11 2021-06-04 国家电网有限公司 Quantum key distribution Internet of things publishing and subscribing system based on SDN

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3617406B2 (en) * 2000-03-30 2005-02-02 日本電気株式会社 Quality assurance type communication service providing method and service providing method corresponding to multi-domain and service mediating apparatus

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7555421B1 (en) * 2005-10-28 2009-06-30 At&T Corp. Device emulation for testing data network configurations
CN107678946A (en) * 2017-09-12 2018-02-09 中国航空工业集团公司洛阳电光设备研究所 A kind of airborne embedded software test environment construction method based on model
CN110879769A (en) * 2019-10-16 2020-03-13 中国航空工业集团公司洛阳电光设备研究所 Embedded system test environment construction method based on dynamically configurable framework
CN111258707A (en) * 2020-01-08 2020-06-09 北京仿真中心 Distributed simulation method and system based on DDS service encapsulation
AU2020100425A4 (en) * 2020-03-19 2020-04-23 Julianne Mary Cripps Clark SafeEShare - Devices assemble data records, from private and/or possibly sensitive sources, of type or types that may be useful for sharing in varying degrees with other interests that the owner hopefully recognizes operate with interests different and possibly even in conflict with his/her own.
CN112910636A (en) * 2021-01-11 2021-06-04 国家电网有限公司 Quantum key distribution Internet of things publishing and subscribing system based on SDN

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
PECoDiM: An Agent Based Framework for Autonomic Web Services;Walid Chainbi;《IEEE》;全文 *
基于网络模型的数据抽象方法研究与应用;高锦;《CNKI硕士学位论文》;全文 *

Also Published As

Publication number Publication date
CN115361298A (en) 2022-11-18

Similar Documents

Publication Publication Date Title
CN106850788B (en) Integrated framework and integrated approach towards multi-source heterogeneous geographic information resources
CN108134764B (en) Distributed data sharing and exchanging method and system
US20070255843A1 (en) Configuration of clients for multiple computer services
CN101436148B (en) Integrated client end and method for performing interaction of desktop application and network WEB application
CN110262902B (en) Information processing method and system, medium, and computing device
US20030126196A1 (en) System for optimizing the invocation of computer-based services deployed in a distributed computing environment
CN105553741A (en) Automatic deployment method for application system based on cloud computing
US8832215B2 (en) Load-balancing in replication engine of directory server
CN112417049A (en) Cross-chain interaction method and system based on block chain all-in-one machine
CN101771724B (en) Heterogeneous distributed information integration method, device and system
CN115361298B (en) Service management method based on data subscription distribution network
CN112351106B (en) Service grid platform containing event grid and communication method thereof
CN103561113B (en) The generation method and device of Web Service interface
US20080082473A1 (en) Peer based event conversion
CN116361172A (en) Development joint debugging method and system
CN116192872A (en) Method, system, electronic device and storage medium for accelerating supply of edge environment container
CN114024976B (en) Big data service architecture based on 5G and method for constructing big data service
CN115086311A (en) Management system of enterprise cross-system service based on cloud service bus
CN113360386A (en) Switching chip drive test method, device, electronic equipment and storage medium
CN114500646B (en) Decentralizing ESB cloud platform system and service calling method thereof
CN112702415B (en) Method for converting Kafka long connection consumption into service
KR100808368B1 (en) Method and apparatus for sending and receiving a large amount data in replication database
CN111404722B (en) Full-service architecture of service integration framework
CN114500646A (en) Decentralized ESB cloud platform system and service calling method thereof
CN116155968A (en) Classified route server access method and terminal thereof

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