CN114327383A - Service configuration system and method based on SOA (service oriented architecture) middleware and readable storage medium - Google Patents

Service configuration system and method based on SOA (service oriented architecture) middleware and readable storage medium Download PDF

Info

Publication number
CN114327383A
CN114327383A CN202111443581.2A CN202111443581A CN114327383A CN 114327383 A CN114327383 A CN 114327383A CN 202111443581 A CN202111443581 A CN 202111443581A CN 114327383 A CN114327383 A CN 114327383A
Authority
CN
China
Prior art keywords
service
middleware
configuration
software application
component
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.)
Pending
Application number
CN202111443581.2A
Other languages
Chinese (zh)
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.)
Chongqing Changan Automobile Co Ltd
Original Assignee
Chongqing Changan Automobile Co Ltd
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 Chongqing Changan Automobile Co Ltd filed Critical Chongqing Changan Automobile Co Ltd
Priority to CN202111443581.2A priority Critical patent/CN114327383A/en
Publication of CN114327383A publication Critical patent/CN114327383A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention relates to a service configuration system, a method and a readable storage medium based on SOA architecture middleware, wherein the system comprises: the service interface configuration module is used for configuring a corresponding service interface according to the requirement of an actual application scene; the application component configuration module is used for configuring corresponding software application components; the deployment module is used for configuring instantiation parameters of service interfaces of the service component client and the service component server and configuration parameters of the software application components according to the communication middleware type; and the code generation module is used for generating a general configuration file through the SOA framework middleware based on the software application component meeting the deployment requirement, analyzing the general configuration file, and further generating a corresponding carrier file framework code and a service realization logic function body. The invention also correspondingly discloses a service configuration method. The service configuration system and the service configuration method can improve the development efficiency of software application, thereby improving the efficiency of service design and deployment.

Description

Service configuration system and method based on SOA (service oriented architecture) middleware and readable storage medium
Technical Field
The invention relates to the technical field of computer information, in particular to a service configuration system and method based on SOA architecture middleware and a readable storage medium.
Background
With the deep promotion of automobile intellectualization and networking, the automobile develops from a common vehicle to an intelligent automobile in a full force way, and the integration of the automobile and the cloud is realized. The Service-Oriented Architecture (SOA) middleware (intermediate layer) can be considered as a generalized operating system, is different from underlying OS kernels such as QNX, Linux and Vxworks, is a set of software framework between an upper application and an underlying system, is a platform for managing, distributing and scheduling software and hardware resources, adapts to various communication protocols such as SOME/IP and DDS, and plays a key role in software and hardware decoupling. Meanwhile, the middleware can provide environments required by development and operation for the application software on the upper layer, and a developer can conveniently, quickly, efficiently and flexibly develop and integrate the software application. Therefore, middleware is an important unit for implementing the next-generation service-oriented SOA.
Aiming at the problems of automobile service design and deployment, a Chinese patent with publication number CN113407362A discloses a method and a system for realizing a vehicle-mounted Android system SOMEIP communication intermediate layer, wherein the method comprises the following steps: compiling a SOMEIP C + + library by using an android NDK tool; calling the SOMEIP library function through the JNI interface, and packaging into system service; utilizing the Android AIDL to call the SOMEIP Service in a cross-process manner; reading basic service information of the SOMEIP service in the SOA service interface template file by using a python script, inputting the basic service information into an SOMEIP communication intermediate layer code template file, and generating a java code file; and adding the java code file into the Android project.
The method for realizing the communication middle layer in the existing scheme can realize the SOMEIP communication middle layer on the Android system. In the design and deployment process of actual automobile service, before an executable file is deployed to an ECU (vehicle computer), technicians in each domain of an automobile need to compile codes of service implementation logic in a project cycle, and the executable file can be released only after the codes with complete functional logic are compiled. However, in this process, in addition to the program implementation code, the technical staff also need to write a large amount of framework code of carrier files of function functions, data interface declarations, etc., and these carrier files do not need to contain logic implementation code, because it only has descriptive function, that is, a large amount of "useless" work is done in the software application development process, resulting in low efficiency of service design and deployment. Therefore, how to design a service configuration method capable of improving the software application development efficiency is a technical problem which needs to be solved urgently.
Disclosure of Invention
Aiming at the defects of the prior art, the technical problems to be solved by the invention are as follows: how to provide a service configuration system and method based on SOA architecture middleware to improve the development efficiency of software application, thereby improving the efficiency of service design and deployment.
In order to solve the technical problems, the invention adopts the following technical scheme:
the service configuration system based on the SOA architecture middleware comprises:
the service interface configuration module is used for configuring a corresponding service interface according to the requirement of an actual application scene;
the application component configuration module is used for configuring corresponding software application components, and the software application components comprise software application types, communication middleware types, service component clients and service component servers;
the deployment module is used for configuring instantiation parameters of service interfaces of the service component client and the service component server and configuration parameters of the software application components according to the communication middleware type;
and the code generation module is used for generating a general configuration file through the SOA framework middleware based on the software application component meeting the deployment requirement, analyzing the general configuration file, and further generating a corresponding carrier file framework code and a service realization logic function body.
Preferably, when the service interface configuration module configures the service interface, any one or more of a service type, a service method and associated services need to be configured; the service types comprise atomic service, enhanced service and scene service; service methods include Method, Event, and Field.
Preferably, the communication middleware type includes communication middleware supporting a Some/IP communication protocol and communication middleware supporting a DDS communication protocol.
Preferably, the service configuration system further includes:
the data configuration module is used for configuring the custom data type required by the service interface; the custom data type comprises any one or more of an array, a structure body and enumeration.
Preferably, the service configuration system further includes:
and the vehicle type configuration module is used for configuring vehicle series vehicle type information so as to associate the attribution of the corresponding software application component.
Preferably, the service configuration system further includes:
and the communication design module is used for providing the IP address and the port management capability of the communication connector for the SOA framework middleware.
Preferably, the service configuration system further includes:
and the change detection module is used for checking the update information of the service component server and notifying the subscribed service component client.
The invention also discloses a service configuration method based on the SOA architecture middleware, which is implemented based on the service configuration system and specifically comprises the following steps:
s1: configuring a corresponding service interface according to the requirement of an actual application scene;
s2: configuring corresponding software application components, wherein the software application components comprise a software application type, a communication middleware type, a service component client and a service component server;
s3: the instantiation parameters of the service component client and the service interface of the service component server are configured according to the communication middleware type, and the configuration parameters of the software application component are configured;
s4: and generating a general configuration file based on the software application component meeting the deployment requirement through the SOA framework middleware, and analyzing the general configuration file to further generate a corresponding carrier file frame code and a service implementation logic function body.
Preferably, in step S4, the carrier file frame code is generated by:
s401: generating a general configuration file based on a software application component meeting the deployment requirement through an SOA architecture middleware;
s402: analyzing the general configuration file through a set code generation tool;
s403: matching corresponding code templates from a code template library based on the general configuration file;
s404: and the analyzed general configuration file is adapted to the corresponding code template through a set code generator so as to generate a corresponding carrier file framework code.
The invention also discloses a computer readable storage medium, which stores a computer management program, and the computer management program realizes the steps of the service configuration method based on the SOA framework middleware when being executed by a processor.
The service configuration system and method and the readable storage medium thereof in the invention have the following beneficial effects:
1. the system realizes software application servitization through the service interface configuration module, the application component configuration module and the deployment module, and can effectively provide decoupling basic capability for software and hardware.
2. The invention realizes the online design and management of the service of each domain of software application development by building a platform system, especially the design and deployment of the automobile service, and can be oriented to the service definition and technical personnel of each domain of the automobile, thereby improving the design efficiency and the management efficiency of service components and list components of each domain of the whole automobile.
3. After the parameters of the service interface and the software application component are configured, the invention can generate a general configuration file through the code generation module and analyze the general configuration file so as to generate a corresponding carrier file frame code and a service realization logic function body, so that excessive useless work is not required in the software development process, and the development efficiency of software application and the efficiency of service design and deployment can be improved.
Drawings
For purposes of promoting a better understanding of the objects, aspects and advantages of the invention, reference will now be made in detail to the present invention as illustrated in the accompanying drawings, in which:
FIG. 1 is a logical block diagram of a service configuration system;
FIG. 2 is a logical block diagram of a service configuration method;
fig. 3 is a logical block diagram of generating carrier file frameability code.
Detailed Description
The following is further detailed by the specific embodiments:
the first embodiment is as follows:
the embodiment discloses a service configuration system based on SOA architecture middleware.
As shown in fig. 1, the service configuration system based on the SOA architecture middleware includes:
the service interface configuration module is used for configuring a corresponding service interface according to the requirement of an actual application scene; when the service interface configuration module configures the service interface, the service type, the service method and the associated service need to be configured; the service types comprise atomic service, enhanced service and scene service; service methods include Method, Event, and Field.
The application component configuration module is used for configuring corresponding software application components, and the software application components comprise software application types, communication middleware types, service component clients and service component servers; the communication middleware type comprises communication middleware supporting a Some/IP communication protocol and communication middleware supporting a DDS communication protocol.
The deployment module is used for configuring instantiation parameters of service interfaces of the service component client and the service component server and configuration parameters of the software application components according to the communication middleware type; the configuration parameters are Topic parameters of the software application components.
And the code generation module is used for generating a general configuration file based on the software application component meeting the deployment requirement through an SOA framework middleware (tool chain) and analyzing the general configuration file so as to generate a corresponding carrier file frame code and a service realization logic function body. The common configuration file is an ARXML file.
In the invention, the system realizes software application servitization through the service interface configuration module, the application component configuration module and the deployment module, and can effectively provide decoupling basic capability for software and hardware. Meanwhile, the invention realizes the online design and management of the service of each domain of the software application development by building a platform system, especially the design and deployment of the automobile service, and can be oriented to the service definition and technical personnel of each domain of the automobile, thereby improving the design efficiency and the management efficiency of service components and list components of each domain of the whole automobile. In addition, after the parameters of the service interface and the software application component are configured, the invention can generate a general configuration file through the code generation module and analyze the general configuration file so as to generate a corresponding carrier file frame code and a service realization logic function body, so that excessive useless work (only specific realization logic code needs to be compiled) is not required in the software development process, and the development efficiency of software application and the efficiency of service design and deployment can be improved.
In a specific implementation process, the service configuration system further includes:
the data configuration module is used for configuring the custom data type required by the service interface; the custom data type comprises any one or more of an array, a structure body and enumeration.
In a specific implementation process, the service configuration system further includes:
and the vehicle type configuration module is used for configuring vehicle series vehicle type information so as to associate the attribution of the corresponding software application component.
According to the invention, the corresponding software application component is configured based on the vehicle type information, so that the software application component can be better adapted to the ECU of the corresponding vehicle.
In a specific implementation process, the service configuration system further includes:
and the communication design module is used for providing the IP address and the port management capability of the communication connector for the SOA framework middleware.
In the invention, the SOA framework middleware can effectively adapt to various communication protocols through the communication design module.
In a specific implementation process, the service configuration system further includes:
and the change detection module is used for checking the update information of the service component server and notifying the subscribed service component client.
According to the invention, the client can be reminded to update the software application information in time through the change detection module.
Example two:
the embodiment further discloses a service configuration method on the basis of the first embodiment.
As shown in fig. 2, the service configuration method based on the SOA architecture middleware is implemented based on the service configuration system in the first embodiment, and specifically includes the following steps:
s1: configuring a corresponding service interface according to the requirement of an actual application scene; when the service interface configuration module configures the service interface, the service type, the service method and the associated service need to be configured; the service types comprise atomic service, enhanced service and scene service; service methods include Method, Event, and Field.
S2: configuring corresponding software application components, wherein the software application components comprise a software application type, a communication middleware type, a service component client and a service component server; the communication middleware type comprises communication middleware supporting a Some/IP communication protocol and communication middleware supporting a DDS communication protocol.
S3: the instantiation parameters of the service component client and the service interface of the service component server are configured according to the communication middleware type, and the configuration parameters of the software application component are configured; the configuration parameters are the Topic parameters of the software application components
S4: and generating a general configuration file based on the software application component meeting the deployment requirement through the SOA framework middleware, and analyzing the general configuration file to further generate a corresponding carrier file frame code and a service implementation logic function body. The common configuration file is an ARXML file.
In a specific implementation process, as shown in fig. 3, the carrier file framework code is generated by the following steps:
s401: generating a general configuration file based on a software application component meeting the deployment requirement through an SOA architecture middleware;
s402: analyzing the general configuration file through a set code generation tool;
s403: matching corresponding code templates from a code template library based on the general configuration file;
s404: and the analyzed general configuration file is adapted to the corresponding code template through a set code generator so as to generate a corresponding carrier file framework code.
The invention realizes software application servitization and can effectively provide decoupling basic capability for software and hardware. Meanwhile, the invention realizes the online design and management of the service of each domain of the software application development by establishing a platform mode, especially the design and deployment of the automobile service, and can be oriented to the service definition and technical personnel of each domain of the automobile, thereby improving the design efficiency and the management efficiency of service components and list components of each domain of the whole automobile. In addition, after the parameters of the service interface and the software application component are configured, the method can generate and analyze the general configuration file, and further generate the corresponding carrier file frame code and the service implementation logic function body, so that excessive useless work (only specific implementation logic codes need to be written) is not needed in the software development process, and the development efficiency of software application and the efficiency of service design and deployment can be improved.
Example three:
on the basis of the second embodiment, the embodiment discloses a computer-readable storage medium.
The invention also discloses a computer readable storage medium, on which a computer management program is stored, wherein the computer management program realizes the steps of the service configuration method based on the SOA framework middleware when being executed by a processor. The computer readable storage medium may be a usb disk, hard disk, or other device with storage capabilities.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that, while the invention has been described with reference to preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims. Meanwhile, the detailed structures, characteristics and the like of the common general knowledge in the embodiments are not described too much. Finally, the scope of the claims should be determined by the content of the claims, and the description of the embodiments and the like in the specification should be used for interpreting the content of the claims.

Claims (10)

1. The service configuration system based on the SOA architecture middleware is characterized by comprising the following components:
the service interface configuration module is used for configuring a corresponding service interface according to the requirement of an actual application scene;
the application component configuration module is used for configuring corresponding software application components, and the software application components comprise software application types, communication middleware types, service component clients and service component servers;
the deployment module is used for configuring instantiation parameters of service interfaces of the service component client and the service component server and configuration parameters of the software application components according to the communication middleware type;
and the code generation module is used for generating a general configuration file through the SOA framework middleware based on the software application component meeting the deployment requirement, analyzing the general configuration file, and further generating a corresponding carrier file framework code and a service realization logic function body.
2. The SOA architecture middleware based service configuration system of claim 1, wherein: when the service interface configuration module configures the service interface, any one or more of a service type, a service method and associated services need to be configured; the service types comprise atomic service, enhanced service and scene service; service methods include Method, Event, and Field.
3. The SOA architecture middleware based service configuration system of claim 1, wherein: the communication middleware type comprises communication middleware supporting a Some/IP communication protocol and communication middleware supporting a DDS communication protocol.
4. The SOA architecture middleware based service configuration system of claim 1, wherein the service configuration system further comprises:
the data configuration module is used for configuring the custom data type required by the service interface; the custom data type comprises any one or more of an array, a structure body and enumeration.
5. The SOA architecture middleware based service configuration system of claim 1, wherein the service configuration system further comprises:
and the vehicle type configuration module is used for configuring vehicle series vehicle type information so as to associate the attribution of the corresponding software application component.
6. The SOA architecture middleware based service configuration system of claim 1, wherein the service configuration system further comprises:
and the communication design module is used for providing the IP address and the port management capability of the communication connector for the SOA framework middleware.
7. The SOA architecture middleware based service configuration system of claim 1, wherein the service configuration system further comprises:
and the change detection module is used for checking the update information of the service component server and notifying the subscribed service component client.
8. A service configuration method based on SOA architecture middleware, characterized in that, based on the service configuration system implementation described in claim 1, it specifically includes the following steps:
s1: configuring a corresponding service interface according to the requirement of an actual application scene;
s2: configuring corresponding software application components, wherein the software application components comprise a software application type, a communication middleware type, a service component client and a service component server;
s3: the instantiation parameters of the service component client and the service interface of the service component server are configured according to the communication middleware type, and the configuration parameters of the software application component are configured;
s4: and generating a general configuration file based on the software application component meeting the deployment requirement through the SOA framework middleware, and analyzing the general configuration file to further generate a corresponding carrier file frame code and a service implementation logic function body.
9. The service configuration method based on the SOA architecture middleware of claim 8, wherein in step S4, the carrier file framework code is generated by:
s401: generating a general configuration file based on a software application component meeting the deployment requirement through an SOA architecture middleware;
s402: analyzing the general configuration file through a set code generation tool;
s403: matching corresponding code templates from a code template library based on the general configuration file;
s404: and the analyzed general configuration file is adapted to the corresponding code template through a set code generator so as to generate a corresponding carrier file framework code.
10. A computer-readable storage medium, on which a computer management class program is stored, which, when executed by a processor, implements the steps of the SOA architecture middleware based service configuration method according to any one of claims 8 to 9.
CN202111443581.2A 2021-11-30 2021-11-30 Service configuration system and method based on SOA (service oriented architecture) middleware and readable storage medium Pending CN114327383A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111443581.2A CN114327383A (en) 2021-11-30 2021-11-30 Service configuration system and method based on SOA (service oriented architecture) middleware and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111443581.2A CN114327383A (en) 2021-11-30 2021-11-30 Service configuration system and method based on SOA (service oriented architecture) middleware and readable storage medium

Publications (1)

Publication Number Publication Date
CN114327383A true CN114327383A (en) 2022-04-12

Family

ID=81048187

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111443581.2A Pending CN114327383A (en) 2021-11-30 2021-11-30 Service configuration system and method based on SOA (service oriented architecture) middleware and readable storage medium

Country Status (1)

Country Link
CN (1) CN114327383A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114809855A (en) * 2022-04-28 2022-07-29 重庆长安汽车股份有限公司 Vehicle window control system based on SOA framework

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114809855A (en) * 2022-04-28 2022-07-29 重庆长安汽车股份有限公司 Vehicle window control system based on SOA framework

Similar Documents

Publication Publication Date Title
US10324690B2 (en) Automated enterprise software development
CN107147704B (en) block chain-oriented universal service middleware system
CN110383795B (en) Server-free cloud management platform based on service graph
US8521359B1 (en) Application-independent and component-isolated system and system of systems framework
US20030236923A1 (en) Architecture for plugging messaging systems into an application server
US20090144703A1 (en) Method and system for versioning a software system
CN113867913A (en) Business request processing method, device, equipment and storage medium for microservice
WO2020015191A1 (en) Business rule releasing and managing method, electronic device and readable storage medium
CN113220431B (en) Cross-cloud distributed data task scheduling method, device and storage medium
CN113867600A (en) Development method and device for processing streaming data and computer equipment
CN107977260B (en) Task submitting method and device
CN113885849A (en) Application development method and device based on industrial internet platform and terminal equipment
CN114327383A (en) Service configuration system and method based on SOA (service oriented architecture) middleware and readable storage medium
CN106598554B (en) Code generation device
CN114006815A (en) Automatic deployment method and device for cloud platform nodes, nodes and storage medium
US9489179B2 (en) Application programming interface tracing mechanism
US20160170739A1 (en) Alter application behaviour during runtime
CN111813836A (en) Method for improving Ethereum block chain system expansibility
Dinkloh et al. A tool for integrated design and implementation of conversations in multiagent systems
CN115794372A (en) Method and system for communication between cross-language application systems
CN106844156B (en) WCF communication message interception method in intelligent building integrated management platform system
CN113296987B (en) Interface calling method and device for calling module, computer equipment and storage medium
CN112698916B (en) Multi-container cluster management and control system, method and storage medium
CN115442372A (en) Interface calling method and micro-service application system applying same
CN111538491B (en) Data event processing method, device, equipment and storage medium

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