Atomic service design method and system for unmanned systems based on SOA

By using SOA architecture to design atomic services in unmanned system software, the problems of high functional coupling and poor reusability are solved, rapid research and development and high-quality service design are achieved, and the overall performance of unmanned system software is improved.

CN117492718BActive Publication Date: 2024-08-23SHANGHAI JIEFANG INFORMATION TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202311563190.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-21
Publication Date
2024-08-23
Estimated Expiration
2043-11-21

AI Technical Summary

Technical Problem

In the field of unmanned system software, the existing data services and algorithm functions based on traditional unmanned system architecture are highly coupled, have poor reusability, inconsistent interface definitions, and lack of effective atomic service design methods, resulting in high design difficulty and poor reusability. Low.

Method used

Adopting the SOA-based atomic service design method for unmanned systems, by building atomic service components, determining interface attributes and data types, conducting interface modeling and importing configuration files, registering to the SOA framework, performing BIT self-test and component connection, to form basic services Unit, realizing the encapsulation and combination of atomic services.

Benefits of technology

It improves the development speed of unmanned system software, improves the reuse and decoupling capabilities of functional modules, enhances the availability and quality of services, fills the gaps in atomic service design solutions, and provides development support.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117492718B
    Figure CN117492718B
Patent Text Reader

Abstract

The present invention provides an unmanned system atomic service design method and system based on SOA, constructs an atomic service component of an unmanned system service instance, models the atomic service interface, and obtains an atomic service model file; models the atomic service component, and obtains an atomic service component configuration file; registers the atomic service component with an SOA framework, and initializes the atomic service interface; determines the connection relationship between multiple atomic service components according to the atomic service component configuration file, performs interface connection between atomic service components, and combines to form a basic service for use by an application program or application service. The present invention can accelerate the unmanned system software development cycle, improve the reuse and decoupling capabilities of software functional modules; designs the atomic service composition and connection relationship based on the SOA idea, and improves the availability and quality of services.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of unmanned systems, and in particular to a method and system for designing atomic services for unmanned systems based on SOA, and also provides a corresponding computer terminal and a computer-readable storage medium. Background Art

[0002] Engineers face many challenges when designing and building distributed systems, including system scalability, fault tolerance, and flexibility. To address these challenges, designers of distributed systems proposed a component model, service-oriented architecture (SOA), which splits the system into small and autonomous units. Different functional modules of the application (i.e., services) are connected through defined interfaces between services, so that services built in various systems can interact with data and communication in a unified and universal way. When a service changes, as long as the interface remains unchanged, the impact on other services will be small or even imperceptible. The difference from advanced services is that atomic services are the smallest functional unit of SOA services, the smallest granularity in business, and atomic services are also called meta-services.

[0003] In the field of unmanned system software, the architectural design ideas based on SOA are relatively blank in terms of technical application. In this segmented scenario, the technical design solutions and packaging strategies for atomic services are even more lacking. The existing data services based on the traditional unmanned system architecture are too highly coupled with algorithm functions, with poor reusability and inconsistent and poor interface definitions. In addition, when actually implementing the SOA technology for unmanned systems, the design of atomic services is a relatively open and difficult problem. In the field of unmanned system software, most of the relevant technical methods remain at the conceptual level, lacking usable and practical design methods. Summary of the invention

[0004] In view of the above-mentioned deficiencies in the prior art, the present invention provides an unmanned system atomic service design method and system based on SOA, and also provides a corresponding computer terminal and computer-readable storage medium.

[0005] According to one aspect of the present invention, a method for designing atomic services for an unmanned system based on SOA is provided, comprising:

[0006] Atomic service components that build unmanned system service instances;

[0007] Modeling the atomic service interface according to the atomic service component, determining the basic attributes, parameter list and data type of the atomic service interface, and obtaining an atomic service model file;

[0008] Modeling the atomic service component, determining the atomic service interface that the atomic service component needs to inherit, importing the atomic service model file according to the requirements, and obtaining the atomic service component configuration file;

[0009] Register the atomic service component with the SOA framework, obtain the basic interface properties and the maximum number of interface accesses of the atomic service component according to the atomic service component configuration file, and initialize the atomic service interface;

[0010] Performing BIT self-check on the SOA framework;

[0011] According to the basic service configuration file, the connection relationship between multiple atomic service components is determined, the interface connection between the atomic service components is carried out, and the first basic service unit is combined to complete the unmanned system atomic service design based on SOA.

[0012] Preferably, the atomic service component for constructing the unmanned system service instance includes:

[0013] Acquire status data of each sensor and / or actuator in the unmanned system as unmanned system service instance data, and encapsulate the unmanned system service instance data to form an atomic service component of the corresponding service instance;

[0014] The atomic service component provides the system with the capability of providing atomic services by inheriting the atomic service interface.

[0015] Preferably, the atomic service component includes an atomic service interface, a lifecycle management interface, a descriptor, and a parameter configuration interface; wherein,

[0016] The atomic service interface is used to encapsulate inseparable operation functions in a certain business;

[0017] The lifecycle management interface is used to enable the startup, orchestration and / or management of the atomic service component;

[0018] The descriptor is used to parse the atomic service component configuration file;

[0019] The parameter configuration interface is used to dynamically modify the parameters of the atomic service component.

[0020] Preferably, writing the atomic service component into the SOA framework includes:

[0021] By combining DDS with CORBA middleware, the encapsulated atomic service component is written into the SOA framework through calling the registration method to perform atomic service authentication; the authenticated atomic service component is used for combination and connection with other atomic service components.

[0022] Preferably, the performing of BIT self-test includes:

[0023] Check whether the underlying hardware resources, framework operation status, and initialization results of the corresponding atomic service interfaces are correct;

[0024] If correct, determine the connection relationship between the atomic service components according to the basic service configuration file, perform atomic service interface connection, and form a first basic service unit;

[0025] If an error occurs, the error type is determined for the atomic service interface where the exception occurs: if it is a recoverable exception, exception recovery or fault tolerance processing is performed; if it is a fault and cannot be recovered, an error is reported and the operation of the abnormal atomic service component is terminated.

[0026] Preferably, the above system further comprises:

[0027] The first basic service units are combined to form a second basic service unit.

[0028] Preferably, the above system further comprises:

[0029] Run atomic service components to provide support for the basic service layer and application layer of unmanned systems;

[0030] Uninstall the atomic service component, exit the atomic service running state, and end the service.

[0031] According to another aspect of the present invention, there is provided an unmanned system atomic service design system based on SOA, comprising:

[0032] An atomic service modeling module is used to construct an atomic service component of an unmanned system service instance; based on the atomic service component, the atomic service interface is modeled, the basic properties, parameter list and data type of the atomic service interface are determined, and an atomic service model file is obtained; the atomic service component is modeled, the atomic service interface that the atomic service component needs to inherit is determined, and the atomic service model file is imported according to the requirements to obtain an atomic service component configuration file;

[0033] An atomic service registration module, which is used to register the atomic service component with the SOA framework, obtain the basic interface properties and the maximum number of interface accesses of the atomic service component according to the atomic service component configuration file, and initialize the atomic service interface;

[0034] A BIT self-check module, which is used to perform a BIT self-check on the SOA framework;

[0035] The basic service management module is used to determine the connection relationship between multiple atomic service components according to the basic service configuration file, perform interface connection between the atomic service components, combine them to form the first basic service unit, and complete the unmanned system atomic service design based on SOA.

[0036] According to a third aspect of the present invention, there is provided a computer terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, can be used to execute any of the above-described methods of the present invention, or to run any of the above-described systems of the present invention.

[0037] According to a fourth aspect of the present invention, there is provided a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, can be used to execute any of the methods described above in the present invention, or to run any of the systems described above in the present invention.

[0038] Due to the adoption of the above technical solution, the present invention has at least one of the following beneficial effects compared with the prior art:

[0039] Due to the adoption of the above technical solution, the beneficial effects of the present invention are:

[0040] The SOA-based unmanned system atomic service design method and system provided by the present invention can accelerate the unmanned system software development cycle and improve the reuse and decoupling capabilities of software functional modules.

[0041] The SOA-based unmanned system atomic service design method and system provided by the present invention designs the atomic service composition and connection relationship based on the SOA concept to improve the availability and quality of the service.

[0042] The SOA-based unmanned system atomic service design method and system provided by the present invention fill the gaps in the technical design solutions and packaging strategies for atomic services in the prior art. The basic hardware and basic parameters of the unmanned system can be encapsulated as atomic services, and the resources of the unmanned system can be encapsulated as the atomic services of the system, thereby providing development support for the upper-level model.

[0043] The unmanned system atomic service design method and system based on SOA provided by the present invention provide a design and implementation reference for the atomic service startup operation process. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:

[0045] Figure 1The present invention is a workflow diagram of an unmanned system atomic service design method based on SOA in one embodiment of the present invention.

[0046] Figure 2 It is a schematic diagram of the unmanned system architecture based on SOA in a preferred embodiment of the present invention.

[0047] Figure 3 It is a schematic diagram of the combination of atomic services and basic services in a preferred embodiment of the present invention.

[0048] Figure 4 Schematic diagram of the atomic service structure in a preferred embodiment of the present invention.

[0049] Figure 5 This is a flowchart of starting and running an atomic service in a preferred embodiment of the present invention.

[0050] Figure 6 The figure is a schematic diagram of the component modules of the unmanned system atomic service design system based on SOA in one embodiment of the present invention. DETAILED DESCRIPTION

[0051] The following is a detailed description of the embodiments of the present invention: This embodiment is implemented on the premise of the technical solution of the present invention, and a detailed implementation method and a specific operation process are given. It should be pointed out that for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention.

[0052] An embodiment of the present invention provides an unmanned system atomic service design method based on SOA. The method models and designs SOA atomic services to address the existing problems in the background technology. It can enhance the decoupling capability of the unmanned system, improve the availability and reuse rate of the atomic service design, and accelerate the system software development cycle of the unmanned system.

[0053] like Figure 1 As shown, the unmanned system atomic service design method based on SOA provided in this embodiment may include the following operations:

[0054] S1, the atomic service component for building unmanned system service instances;

[0055] S2, modeling the atomic service interface according to the atomic service component, determining the basic attributes, parameter list and data type of the atomic service interface, and obtaining an atomic service model file;

[0056] S3, modeling the atomic service component, determining the atomic service interface that the atomic service component needs to inherit, importing the atomic service model file according to the requirements, and obtaining the atomic service component configuration file;

[0057] S4, registering the atomic service component with the SOA framework, obtaining the basic interface properties and the maximum number of interface accesses of the atomic service component according to the atomic service component configuration file, and initializing the atomic service interface;

[0058] S5, performing BIT self-check on the SOA framework;

[0059] S6, according to the basic service configuration file, determine the connection relationship between multiple atomic service components, perform interface connection between the atomic service components, combine them to form the first basic service unit, and complete the unmanned system atomic service design based on SOA.

[0060] In the above embodiment of the present invention, the atomic service component of the unmanned system service instance is first constructed, and the atomic service is provided to the outside through the atomic service component (Atomic Component) inheriting the atomic service (Atomic Service) interface, which is independent of the programming language. The atomic service component is the basic unit for executing the code, which can be implemented through middleware such as DDS and CORBA. The basic service unit for constructing the unmanned system service instance is formed by interconnecting multiple atomic service components according to the basic service configuration file. Among them, the atomic service component configuration file is a description file of a single atomic service component. If a basic service unit (first basic service unit) or a larger service unit (second basic service unit) is to be formed, a corresponding top-level file is required to describe the connection relationship between these atomic services. This corresponding top-level file is the basic service configuration file. According to the idea of ​​atomic division of business functions, the atomic service interface is modeled, the name, basic attributes, parameter list and data type of the atomic service interface are determined, and the atomic service model file is obtained; according to the idea of ​​atomic division of business functions, the atomic service component is modeled, and it is determined which atomic service interfaces the atomic service component inherits (that is, which atomic service model files are imported), the transmission type and the maximum number of connections that the atomic service interface can be accessed are determined, and the atomic service component configuration file is obtained. Register the atomic service component with the SOA framework, obtain the interface properties and maximum number of interface accesses of the atomic service component according to the atomic service component configuration file, and initialize the atomic service interface. Perform a BIT self-check on the SOA framework. According to the basic service configuration file, determine the connection relationship between multiple atomic service components, perform interface connection between atomic service components, and form a first basic service unit; wherein the first basic service unit includes multiple interconnected atomic service components, completing the unmanned system atomic service design based on SOA.

[0061] In some preferred embodiments, the above system can also connect multiple first basic service units to form a second basic service unit.

[0062] In a preferred embodiment, the atomic service for constructing the unmanned system service instance may further include the following operations:

[0063] S11, obtaining unmanned system service instance data, encapsulating the unmanned system service instance data in an atomic service component framework to form an atomic service component of the service instance. Further, the unmanned system service instance data may include: status data of each sensor, actuator and / or the entire system in the unmanned system.

[0064] In a preferred embodiment, the atomic service component may further include: an atomic service interface, a lifecycle management interface, a descriptor, and a parameter configuration interface; wherein:

[0065] Atomic service interface, used to encapsulate inseparable operation functions in a certain business;

[0066] A lifecycle management interface, used to enable the startup, orchestration and / or management of the atomic service component;

[0067] A descriptor, used to parse the atomic service component configuration file;

[0068] The parameter configuration interface is used to dynamically modify the parameters of the atomic service component.

[0069] In a preferred embodiment, the above-mentioned registration of the atomic service component with the SOA framework may further include the following operations:

[0070] S21, using DDS combined with CORBA and other middleware, the encapsulated atomic service component writes the atomic service component configuration file into the SOA framework by calling the registration method for atomic service authentication; the authenticated atomic service component is used for combined connection with other atomic service components. Further, in this step, the DDS middleware is based on the publish-subscribe model, and the CORBA middleware is based on the request-response model. The atomic service designed in this preferred embodiment combines these two models, so that it has both management functions and a business decoupled data communication model.

[0071] In a preferred embodiment of S3, performing a BIT self-check may further include the following operations:

[0072] S31, checking whether the underlying hardware resources, framework operation status and initialization results of the corresponding atomic service interface are correct; further, the initialization results include: memory application, analysis of hardware resources required by the interface, etc.;

[0073] S311, if correct, determine the connection relationship between the atomic service components according to the basic service configuration file, perform atomic service interface connection, and form a first basic service unit;

[0074] S312, if an error occurs, the error type of the atomic service interface where the exception occurs is determined: if it is a recoverable exception, exception recovery or fault tolerance processing is performed; if it is a fault and cannot be recovered, an error is reported and the operation of the abnormal atomic service component is terminated.

[0075] In a preferred embodiment, the atomic service design method may further include the following operations:

[0076] S5, runs atomic service components to provide support for the basic service layer and application layer of the unmanned system;

[0077] S6, uninstall the atomic service component, exit the atomic service running state, and end the service.

[0078] The technical solution provided by the above embodiment of the present invention is further described in detail below in conjunction with a preferred embodiment and the accompanying drawings.

[0079] The SOA-based unmanned system atomic service design method provided in the above embodiment of the present invention solves the problem of tight coupling between scenario algorithm functions and underlying resources during the research and development of the unmanned system, and improves resource reuse.

[0080] like Figure 2 As shown in the figure, atomic services and basic services together constitute the service layer in the SOA architecture system, which is located above the SOA framework. The SOA framework guarantees the basic management scheduling mechanism and transmission mechanism. The underlying hardware resources provide available resources to atomic services through different transmission mechanisms (such as SOME / IP, DDS, CORBA, etc.). In addition, atomic services can realize the conversion of different communication protocols or transmission mechanisms, converting data from one format to another to ensure that different systems can effectively exchange data. Atomic services encapsulate the complexity of underlying resources and hide them behind a unified interface API. Applications can use the advanced functions provided by the service layer without worrying about the complexity of the underlying resources. The service layer then translates the application's requests into commands and operations that the SOA framework and the underlying hardware resources can understand. After the atomic service component is implemented, it actively applies to the SOA framework registration manager for registration and authentication without the need for the framework to query it, which reduces the management complexity of atomic services.

[0081] like Figure 3 As shown in the figure, after the atomic service encapsulates the resources, it is connected with multiple atomic services through interfaces to form a larger basic service. The basic service can also be connected with the atomic service to form a service assembly to form a larger service unit to provide support for the application layer components. The application layer calls the service layer API to develop and implement the application to meet the scenario requirements of the unmanned system.

[0082] Usually the basic components of an atomic service include but are not limited to: atomic service interface, lifecycle management interface, descriptor, parameter configuration interface, etc. Figure 4 As shown. Atomic services have basic properties and operations, and lifecycle management interfaces to enable service startup, orchestration, and management. Atomic service interfaces refer to interfaces that encapsulate inseparable operational functions in a business. The descriptor parses the configuration files and usage of atomic service components. The parameter configuration interface is an interface for dynamically modifying the parameters of atomic service components. The framework code is automatically generated by the IDE modeling tool, and the service content and algorithm implementation need to be filled and developed according to the specific definitions and specifications of the developer. In this regard, repetitive development work is reduced, and developers can focus on implementation, greatly improving development efficiency.

[0083] In addition, structural design based on atomic services enhances cohesion and improves the availability and robustness of atomic services. When the platform changes, it is only necessary to generate the code for the corresponding platform based on the model, without changing the interface definition and the connection relationship between services to achieve the design purpose.

[0084] Based on the above working principles and design principles, the atomic service design method is implemented as follows Figure 5 As shown, the following steps are included:

[0085] Step 1: Based on the idea of ​​atomic division of business functions, atomic service interface modeling is performed to obtain the atomic service model file;

[0086] Step 2: Perform atomic component modeling, determine the atomic service interface that the atomic service component needs to inherit, import the atomic service model file according to the requirements, confirm the number of accessible interfaces, and generate the atomic service component framework code and atomic service component configuration file;

[0087] Step 3: Start the SOA framework to provide functions such as lifecycle management, service discovery, and resource application for atomic service components and subsequent basic service units;

[0088] Step 4: The atomic service component applies for registration with the SOA framework for authentication and establishes an address mapping table for the atomic service interface;

[0089] Step 5: Initialize the atomic service interface according to the atomic service component configuration file, confirm the maximum number of atomic service interface accesses, and the internal logic of the interface applies for memory, hardware I / O and other resources from the SOA framework;

[0090] Step 6: Perform a BIT self-check of the SOA framework to check whether the underlying hardware resource allocation status, framework operation status, and initialization results of the corresponding atomic service components are correct. If correct, proceed to step 7; if an error occurs, proceed to step 9;

[0091] Step 7: Determine the connection relationship between atomic service components according to the basic service configuration file, combine and connect the atomic service interfaces, and form a basic service unit;

[0092] Step 8: The atomic service runs normally, providing support for the basic service layer and application layer of the unmanned system;

[0093] Step 9: If an exception or fault occurs, the error type is judged. If it is a recoverable exception, the exception recovery or fault tolerance processing is performed. If the error type is a fault and it is unrecoverable, an error is reported and the operation of the atomic service component is terminated;

[0094] Step 10: Uninstall the service component, exit the atomic service running state, and end the service.

[0095] The technical solution provided by the above embodiment of the present invention is further described in detail below in conjunction with a specific application example.

[0096] In this specific application example, taking unmanned vehicle technology as an example, the atomic service layer can encapsulate the lidar data to form a lidar atomic service, using Ethernet data transmission. The encapsulated atomic service usually contains a description file. The registration method is called to write the description file into the SOA framework to complete the authentication. The authenticated service can be combined with other atomic services to form an advanced service unit. For example, the lidar atomic service can form a positioning basic service with the GPS atomic service, providing services to the application layer so that the application has positioning functions.

[0097] An embodiment of the present invention provides an unmanned system atomic service design system based on SOA.

[0098] like Figure 6 As shown, the unmanned system atomic service design system based on SOA provided by this embodiment may include:

[0099] An atomic service modeling module is used to construct an atomic service component of an unmanned system service instance; based on the atomic service component, the atomic service interface is modeled, the basic properties, parameter list and data type of the atomic service interface are determined, and an atomic service model file is obtained; the atomic service component is modeled, the atomic service interface that the atomic service component needs to inherit is determined, and the atomic service model file is imported according to the requirements to obtain an atomic service component configuration file;

[0100] An atomic service registration module, which is used to register the atomic service component with the SOA framework, obtain the basic interface properties and the maximum number of interface accesses of the atomic service component according to the atomic service component configuration file, and initialize the atomic service interface;

[0101] A BIT self-check module, which is used to perform a BIT self-check on the SOA framework;

[0102] The basic service management module is used to determine the connection relationship between multiple atomic service components according to the basic service configuration file, perform interface connection between the atomic service components, combine them to form the first basic service unit, and complete the unmanned system atomic service design based on SOA.

[0103] It should be noted that the steps in the method provided by the present invention can be implemented by using corresponding modules, devices, units, etc. in the system. Those skilled in the art can refer to the technical solution of the method to realize the composition of the system, that is, the embodiments in the method can be understood as preferred examples for constructing the system, which will not be elaborated here.

[0104] An embodiment of the present invention provides a computer terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it can be used to execute any method of the above-mentioned embodiments of the present invention, or to run any system of the above-mentioned embodiments of the present invention.

[0105] Optionally, the memory is used to store programs; the memory may include volatile memory (English: volatile memory), such as random-access memory (English: random-access memory, abbreviated: RAM), such as static random-access memory (English: static random-access memory, abbreviated: SRAM), double data rate synchronous dynamic random access memory (English: Double Data Rate Synchronous Dynamic Random Access Memory, abbreviated: DDR SDRAM), etc.; the memory may also include non-volatile memory (English: non-volatile memory), such as flash memory (English: flash memory). The memory is used to store computer programs (such as applications, functional modules, etc. that implement the above method), computer instructions, etc., and the above computer programs, computer instructions, etc. can be partitioned and stored in one or more memories. And the above computer programs, computer instructions, data, etc. can be called by the processor.

[0106] The above-mentioned computer programs, computer instructions, etc. may be stored in one or more memories in partitions, and the above-mentioned computer programs, computer instructions, data, etc. may be called by a processor.

[0107] The processor is used to execute the computer program stored in the memory to implement the various steps of the method or various modules of the system involved in the above embodiments. For details, please refer to the relevant descriptions in the above method and system embodiments.

[0108] The processor and the memory may be independent structures or integrated structures. When the processor and the memory are independent structures, the memory and the processor may be coupled and connected via a bus.

[0109] An embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, it can be used to execute any method of the above embodiments of the present invention, or to run any system of the above embodiments of the present invention.

[0110] The SOA-based unmanned system atomic service design method and system provided in the above-mentioned embodiment of the present invention can accelerate the unmanned system software development cycle and improve the reuse and decoupling capabilities of software functional modules; design the atomic service composition and connection relationship based on the SOA concept to improve the availability and quality of services; fill the gap in the technical design scheme and packaging strategy for atomic services in the prior art, and can encapsulate the basic hardware of the unmanned system (such as sensors, actuators, etc.) and its basic parameters into atomic services, and can also encapsulate the resources of the unmanned system (such as movement speed, inertial state, etc.) into the system's atomic services, thereby providing development support for the upper-level model; and provide a design and implementation reference for the atomic service startup and operation process.

[0111] Those skilled in the art know that, in addition to implementing the system and its various devices provided by the present invention in a purely computer-readable program code, the system and its various devices provided by the present invention can be made to implement the same functions in the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded microcontrollers by logically programming the method steps. Therefore, the system and its various devices provided by the present invention can be considered as a hardware component, and the devices for implementing various functions included therein can also be considered as structures within the hardware component; the devices for implementing various functions can also be considered as both software modules for implementing the method and structures within the hardware component.

[0112] All matters not covered in the above embodiments of the present invention are well known in the art.

[0113] The above describes the specific embodiments of the present invention. It should be understood that the present invention is not limited to the above specific embodiments, and those skilled in the art may make various modifications or variations within the scope of the claims, which do not affect the essence of the present invention.

Claims

1. A method for designing atomic services for unmanned systems based on SOA, characterized in that: include: Atomic service components that build unmanned system service instances; Modeling the atomic service interface according to the atomic service component, determining the basic attributes, parameter list and data type of the atomic service interface, and obtaining an atomic service model file; Modeling the atomic service component, determining the atomic service interface that the atomic service component needs to inherit, importing the atomic service model file according to the requirements, and obtaining the atomic service component configuration file; Register the atomic service component with the SOA framework, obtain the basic interface properties and the maximum number of interface accesses of the atomic service component according to the atomic service component configuration file, and initialize the atomic service interface; Performing BIT self-check on the SOA framework; According to the basic service configuration file, the connection relationship between multiple atomic service components is determined, the interface connection between the atomic service components is carried out, and the first basic service unit is combined to complete the unmanned system atomic service design based on SOA.

2. The unmanned system atomic service design method based on SOA according to claim 1 is characterized in that: The atomic service components for constructing the unmanned system service instance include: Acquire status data of each sensor, actuator and / or the entire system in the unmanned system as unmanned system service instance data, and encapsulate the unmanned system service instance data to form an atomic service component of the corresponding service instance; The atomic service component provides the system with the capability of providing atomic services by inheriting the atomic service interface.

3. The unmanned system atomic service design method based on SOA according to claim 1 is characterized in that: The atomic service component includes an atomic service interface, a lifecycle management interface, a descriptor, and a parameter configuration interface; wherein, The atomic service interface is used to encapsulate inseparable operation functions in a certain business; The lifecycle management interface is used to enable the startup, orchestration and / or management of the atomic service component; The descriptor is used to parse the atomic service component configuration file; The parameter configuration interface is used to dynamically modify the parameters of the atomic service component.

4. The unmanned system atomic service design method based on SOA according to claim 1 is characterized in that: Writing the atomic service component into the SOA framework includes: By combining DDS with CORBA middleware, the encapsulated atomic service component is written into the SOA framework through calling the registration method to perform atomic service authentication; the authenticated atomic service component is used for combination and connection with other atomic service components.

5. The unmanned system atomic service design method based on SOA according to claim 1 is characterized in that: The BIT self-test includes: Check whether the underlying hardware resources, framework operation status, and initialization results of the corresponding atomic service interfaces are correct; If correct, determine the connection relationship between the atomic service components according to the basic service configuration file, perform atomic service interface connection, and form a first basic service unit; If an error occurs, the error type is determined for the atomic service interface where the exception occurs: if it is a recoverable exception, exception recovery or fault tolerance processing is performed; if it is a fault and cannot be recovered, an error is reported and the operation of the abnormal atomic service component is terminated.

6. The unmanned system atomic service design method based on SOA according to claim 1 is characterized in that: Also includes: The first basic service units are combined to form a second basic service unit.

7. The unmanned system atomic service design method based on SOA according to any one of claims 1 to 6, characterized in that: Also includes: Run atomic service components to provide support for the basic service layer and application layer of unmanned systems; Uninstall the atomic service component, exit the atomic service running state, and end the service.

8. An unmanned system atomic service design system based on SOA, characterized in that: include: Atomic service modeling module, which is used to build atomic service components of unmanned system service instances; According to the atomic service component, the atomic service interface is modeled, the basic properties, parameter list and data type of the atomic service interface are determined, and an atomic service model file is obtained; the atomic service component is modeled, the atomic service interface that the atomic service component needs to inherit is determined, and the atomic service model file is imported according to the requirements to obtain an atomic service component configuration file; An atomic service registration module, which is used to register the atomic service component with the SOA framework, obtain the basic interface properties and the maximum number of interface accesses of the atomic service component according to the atomic service component configuration file, and initialize the atomic service interface; A BIT self-check module, which is used to perform a BIT self-check on the SOA framework; The basic service management module is used to determine the connection relationship between multiple atomic service components according to the basic service configuration file, perform interface connection between the atomic service components, combine them to form the first basic service unit, and complete the unmanned system atomic service design based on SOA.

9. A computer terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, it can be used to perform the method described in any one of claims 1 to 7, or to run the system described in claim 8.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, it can be used to perform the method described in any one of claims 1 to 7, or to run the system described in claim 8.

Citation Information

Patent Citations

  • Operation and maintenance servitization management and control method and device

    CN110708201A

  • Tbox operation system based on SOA architecture, control method and medium

    CN115794261A

  • Generating service specification of a service oriented architecture (SOA) solution

    US20110252037A1