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

Service management method based on data subscription and distribution network Download PDF

Info

Publication number
CN115361298A
CN115361298A CN202210838004.1A CN202210838004A CN115361298A CN 115361298 A CN115361298 A CN 115361298A CN 202210838004 A CN202210838004 A CN 202210838004A CN 115361298 A CN115361298 A CN 115361298A
Authority
CN
China
Prior art keywords
service
layer
network
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.)
Granted
Application number
CN202210838004.1A
Other languages
Chinese (zh)
Other versions
CN115361298B (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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a service management method based on a data subscription and distribution network, which designs a three-layer service management framework of a configuration layer, an agent 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 agent module based on a DDS and a unified service interface protocol, thereby establishing a simulation experiment environment with low time delay, high availability and multi-language support. The method can be used for assisting the construction of the simulation experiment of the embedded system, and greatly improves the quality and efficiency of the construction of the simulation experiment environment.

Description

Service management method based on data subscription and 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 and distribution network.
Background
The traditional avionic system embedded software is large and complex single-service software, and all the software are communicated through a bus. When a simulation experiment is carried out, it is difficult to construct a simulation experiment environment. Meanwhile, the software has strong dependency on languages and architectures, high replacement cost and high simulation difficulty and complexity, and is difficult to realize the integrated configuration of each software in a unified environment.
Different simulation software is deployed on different hosts and converted into bus data through Ethernet to communicate with each other, so that reliable calling and transmission of information are difficult to guarantee, and service calling failure is easily caused. How to realize cross-language calling of the simulation environment and efficiently and quickly realize communication among services and the like under the conditions that the simulation environment is dynamically changeable and resources such as communication bandwidth and storage are limited is a difficult problem 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 and distribution network, which designs a three-layer service management framework of a configuration layer, an agent 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 agent module based on DDS and a unified service interface protocol, thereby establishing a simulation experiment environment with low time delay, high availability and multi-language support. The method can be used for assisting the construction of the simulation experiment of the embedded system, and greatly improves the quality and efficiency of the construction of the simulation experiment environment.
The technical scheme adopted by the invention for solving the technical problem comprises the following steps:
step 1: defining a three-layer framework of simulation experiment network service management, wherein the three-layer framework comprises a configuration layer, an agent layer and a service layer;
step 2: defining a simulation network service configuration file;
the simulation network service configuration file adopts an XML format to describe the information of the whole simulation network service, including the name, the interface data format and the calling relation among the services;
and 3, step 3: defining a network agent module based on DDS;
the network agent module runs in an agent layer, realizes communication among services on the basis of DDS, and realizes decoupling with the service layer by being packaged into a uniform agent module, so that the service layer only focuses on the service logic of the service layer;
and 4, step 4: defining a simulation software uniform service interface protocol;
the simulation software uniform service interface protocol provides a uniform standard service interface and a service name interface; the service interface is used as an interface for mutual calling among services and is used for subscribing and distributing topics by the network agent module; the service name interface is used for the interface module to obtain a service name and for obtaining service information from the configuration layer;
and 5: dividing the application of the single architecture into a group of services, and abstracting each service into a single service function according to the specific service responsibility of each service; each service instance has an agent paired with it and deployed in the same host or isolated space, and the communication between services is performed through a network agent module;
and 6: the configuration layer reads a simulation experiment network service configuration file;
and 7: the network proxy module acquires a service name corresponding to the service request 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 required to be called;
and step 8: and the network agent module takes the acquired service interface as a theme according to the service configuration file and communicates with the agent modules deployed in other hosts or the isolation space through a DDS subscription and distribution mode.
Preferably, the service can be implemented in any language and tool.
The invention has the following beneficial effects:
the invention solves the problems of high complexity of software service, difficult cross-language calling, high communication time delay between software and the like in the simulation environment construction process. The method can realize decoupling on simulation software, reduce cross-language calling difficulty, reduce communication time delay between the software and greatly improve the quality and efficiency of simulation experiment environment construction.
Drawings
FIG. 1 is a schematic diagram of a three-layer architecture of the network service management of the simulation experiment of the present invention.
Detailed Description
The invention is further illustrated by the following examples in conjunction with the drawings.
The purpose of the invention is: the universal method for managing the network service of the simulation experiment of the embedded system based on the data distribution service is provided, the standard of management of the simulation service of the embedded system is formed, 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 a simulation environment of an embedded system.
A service management method based on a data subscription and distribution network comprises the following steps:
step 1: defining a three-layer framework of simulation experiment network service management, wherein the three-layer framework comprises a configuration layer, an agent layer and a service layer;
and 2, step: defining a simulation network service configuration file;
the simulation network service configuration file adopts an XML format to describe the information of the whole simulation network service, including the name, the interface data format and the calling relation among the services;
and 3, step 3: defining a network agent module based on DDS;
the network agent module operates in an agent layer, realizes communication among services on the basis of DDS, and realizes decoupling with the service layer by being packaged into a uniform agent module, so that the service layer only focuses on the service logic of the service layer;
and 4, step 4: defining a simulation software uniform service interface protocol;
the simulation software service focuses on a single business function and provides a business interface and a service name interface with unified standards. The service interface is used as an interface for mutual calling among services, the interface name is used for a topic for the network agent module to subscribe and distribute, for example, A-Start represents the starting interface of the service A, and the agent module DDS distributes interface data through the A-Start topic. The service name interface is used for the interface module to obtain the service name so as to obtain the service information from the configuration layer.
And 5: the service governance framework divides large and complex single framework application into a group of tiny services, and each service is abstracted into a single service function according to the specific service responsibility which is responsible for the service. Any language and tools can be used for a specific service, each service instance has an agent paired with it and deployed in the same host or isolated space, and communication between services is performed through the agent module.
And 6: the configuration layer reads a simulation experiment network service configuration file;
and 7: the network proxy module acquires a service name corresponding to the service request 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 required to be called;
and 8: and the network agent module takes the acquired service interface as a theme according to the service configuration file and communicates with the agent modules deployed in other hosts or the isolation space through a DDS subscription and distribution mode.
The specific embodiment is as follows:
the technical scheme of the invention is as follows: by analyzing a DDS communication mechanism and a communication mode between simulation experiment network services, a three-layer service management architecture of a configuration layer, an agent layer and a service layer is designed, and as shown in fig. 1, a simulation network service configuration file, a network agent module based on DDS 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 embodiment of the invention is as follows:
1) Selecting 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) Packaging the divided services according to a uniform service interface protocol, exposing a service function interface, providing a service name interface, and returning a service name;
3) Based on a DDS encapsulation agent module, the method mainly realizes interfaces of client creation, qoS setting, inquiry of a publisher or a subscriber, data sending and receiving, configuration file requesting, service name requesting and the like;
4) Compiling a service configuration general file, and writing names, interfaces, interface data formats and calling relations among services of all services into an XML file;
5) Deploying each service and agent module to an independent host, and constructing a local area network through a network cable;
6) Testing the network communication condition among all hosts in the local area network, and testing the DDS communication condition;
7) And operating the configuration center node and the agent modules on the deployment and each host, and checking whether each agent module acquires a corresponding service configuration file.
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 and distribution network is characterized by comprising the following steps:
step 1: defining a three-layer framework of simulation experiment network service management, wherein the three-layer framework comprises a configuration layer, an agent layer and a service layer;
and 2, step: defining a simulation network service configuration file;
the simulation network service configuration file adopts an XML format to describe the information of the whole simulation network service, including the name, the interface data format and the calling relation among the services;
and step 3: defining a DDS-based network agent module;
the network agent module operates in an agent layer, realizes communication among services on the basis of DDS, and realizes decoupling with the service layer by being packaged into a uniform agent module, so that the service layer only focuses on the service logic of the service layer;
and 4, step 4: defining a simulation software uniform service interface protocol;
the simulation software uniform service interface protocol provides a uniform standard service interface and a service name interface; the service interface is used as an interface for mutual calling among services and is used for subscribing and distributing topics by the network agent module; the service name interface is used for the interface module to obtain a service name and for obtaining service information from the configuration layer;
and 5: dividing the application of the single architecture into a group of services, and abstracting each service into a single service function according to the specific service responsibility of each service; each service instance has an agent paired with it and deployed in the same host or isolated space, and the communication between services is performed through a network agent module;
and 6: the configuration layer reads a simulation experiment network service configuration file;
and 7: the network proxy module acquires a service name corresponding to the service request 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 required to be called;
and 8: and the network agent module takes the acquired service interface as a theme according to the service configuration file and communicates with the agent modules deployed in other hosts or the isolation space through a DDS subscription and distribution mode.
2. The method of claim 1, wherein the service 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 true CN115361298A (en) 2022-11-18
CN115361298B 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 (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010027484A1 (en) * 2000-03-30 2001-10-04 Nec Corporation Quality assured network service provision system compatible with a multi-domain network and service provision method and service broker device
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

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010027484A1 (en) * 2000-03-30 2001-10-04 Nec Corporation Quality assured network service provision system compatible with a multi-domain network and service provision method and service broker device
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
WALID CHAINBI: "PECoDiM: An Agent Based Framework for Autonomic Web Services", 《IEEE》 *
高锦: "基于网络模型的数据抽象方法研究与应用", 《CNKI硕士学位论文》 *

Also Published As

Publication number Publication date
CN115361298B (en) 2023-06-20

Similar Documents

Publication Publication Date Title
CN109542457B (en) Distributed application distribution and deployment system and method for edge computing network
CN110262902B (en) Information processing method and system, medium, and computing device
CN110955534B (en) Middleware-based business process automation system and method
CN106850788A (en) Towards the integrated framework and integrated approach of multi-source heterogeneous geographic information resources
US10681184B2 (en) Method and device for transmitting a message in a vehicle
WO2009062414A1 (en) Integrate client and method of desktop application communicating with net web application
CN102866925B (en) Communication method and system for middleware and user interface
CN107493266A (en) Communication system, the method and device of built-in self-help terminal
CN112417049A (en) Cross-chain interaction method and system based on block chain all-in-one machine
CN112286628B (en) System for unifying nanotube Kubernetes heterogeneous applications and operation method
CN111147308B (en) Network management method and system based on micro-service architecture
CN114422350B (en) Public cloud container instance creation method
CN113468272A (en) Message forwarding method and device
CN113472848A (en) Network fusion method and device of virtual machine and container and related equipment
CN103561113B (en) The generation method and device of Web Service interface
CN101626348B (en) System and method for realizing service support of enterprise convergence communication
US20020199022A1 (en) System and method for establishing and managing communications between mangement protocol different system
CN115361298A (en) Service management method based on data subscription and distribution network
CN111343201A (en) Analysis method, device and system for rapidly adapting to protocol change
CN110764769A (en) Method and device for processing user request
CN109274715A (en) The platform resource management system of vehicle-mounted multi-channel communication systems
CN114024976B (en) Big data service architecture based on 5G and method for constructing big data service
CN106961687B (en) Information interaction method and system
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

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