CN111198679B - Fusion method and device of multi-language health management model - Google Patents

Fusion method and device of multi-language health management model Download PDF

Info

Publication number
CN111198679B
CN111198679B CN201911311704.XA CN201911311704A CN111198679B CN 111198679 B CN111198679 B CN 111198679B CN 201911311704 A CN201911311704 A CN 201911311704A CN 111198679 B CN111198679 B CN 111198679B
Authority
CN
China
Prior art keywords
health management
management model
micro
language
architecture
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911311704.XA
Other languages
Chinese (zh)
Other versions
CN111198679A (en
Inventor
杨浩
张瑞
房红征
王信峰
樊焕贞
李蕊
胡伟钢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Aerospace Measurement and Control Technology Co Ltd
Original Assignee
Beijing Aerospace Measurement and Control Technology 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 Beijing Aerospace Measurement and Control Technology Co Ltd filed Critical Beijing Aerospace Measurement and Control Technology Co Ltd
Priority to CN201911311704.XA priority Critical patent/CN111198679B/en
Publication of CN111198679A publication Critical patent/CN111198679A/en
Application granted granted Critical
Publication of CN111198679B publication Critical patent/CN111198679B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/35Creation or generation of source code model driven
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/31Programming languages or programming paradigms

Abstract

The application relates to a fusion method and device of a multilingual health management model, wherein the method comprises the following steps: acquiring multiple types of health management models, wherein the multiple types of health management models are realized by different development languages; configuring corresponding operation environments in a preset container platform aiming at each type of health management model; packaging the health management model of each type so as to enable a preset micro-service architecture to be identified; and registering and releasing the corresponding micro services in the preset micro service architecture by using each type of the packaged health management model. Therefore, the method and the system adopt a container and micro-service architecture mode, can hide the running environment of the health management model and the development language special effects, further solve the fusion problem of the multi-language health management model from the architecture level, and are beneficial to improving the development efficiency of the PHM system.

Description

Fusion method and device of multi-language health management model
Technical Field
The application relates to the technical field of fault prediction and health management, in particular to a fusion method and device of a multilingual health management model.
Background
The health management models are core technologies for realizing PHM (Prognostics Health Management, fault prediction and health management) of complex equipment, and are mainly used for realizing comprehensive requirements on anomaly detection, fault diagnosis, fault prediction, maintenance decision and the like of the complex equipment. When the development of the health management platform is performed for complex equipment (such as an airplane, a special vehicle, a satellite and the like), due to the complexity of the structure of the complex equipment, a general research and development team cannot realize the development of the PHM system at the equipment level due to the limitation of the technical field, and a large number of research and development teams in different fields and in different professionals are required to cooperate to develop health management models meeting different requirements.
The development teams of the different fields and the different professions cooperate with each other, and the problem is that the technologies used by the different development teams, particularly the development languages, are greatly different, for example, PHM system developers commonly adopt object-oriented JAVA voice for WEB development, and algorithm engineers prefer to adopt PYTHON and MATLAB languages for the development of health management models. When the number of research and development teams in different fields and in different professions is large, the development language is uniformly used for developing the health management model, so that large time and energy are required to be consumed, and the efficiency of the research and development teams in different fields and in different professions cannot be fully exerted. Therefore, how to solve the fusion of the multilingual health management model is a problem to be solved in the current PHM system development.
Disclosure of Invention
In order to solve the technical problems or at least partially solve the technical problems, the application provides a fusion method, a fusion device, a fusion server and a fusion storage medium of a multilingual health management model.
In a first aspect, the present application provides a fusion method of multilingual health management models, the method comprising:
acquiring multiple types of health management models, wherein the multiple types of health management models are realized by different development languages;
configuring corresponding operation environments in a preset container platform aiming at each type of health management model;
packaging the health management model of each type so as to enable a preset micro-service architecture to be identified;
and registering and releasing the corresponding micro services in the preset micro service architecture by using each type of the packaged health management model.
Optionally, for each type of the health management model, configuring a corresponding running environment in a preset container platform includes:
determining a development language type for each type of the health management model;
and configuring a corresponding running environment in a preset container platform based on the development language type.
Optionally, the packaging for each type of the health management model to identify a preset micro-service architecture includes:
determining an input interface and an output interface for each type of the health management model;
and packaging the input interface and the output interface so as to enable the preset micro-service architecture to be identified.
Optionally, the registering and issuing of the corresponding micro service in the preset micro service architecture by the packaged health management model of each type includes:
determining a micro-service interface provided in a preset micro-service architecture and a micro-service registry;
and carrying out corresponding micro-service registration and release in the micro-service registration center by using the encapsulated health management model of each type and utilizing the micro-service interface.
Optionally, the method further comprises:
when an access request is received, determining a target micro-service according to a micro-service identifier carried in the access request;
searching a target health management model corresponding to the target microservice;
transmitting the model input parameters carried in the access request to the target health management model;
and receiving and feeding back an operation result returned by the target health management model, wherein the operation result is a result obtained by performing operation on the target health management model according to the corresponding operation environment of the target health management model in a preset container platform and the input parameters of the model.
In a second aspect, the present application provides a fusion apparatus of a multilingual health management model, the apparatus comprising:
the model acquisition module is used for acquiring a plurality of types of health management models, wherein the plurality of types of health management models are realized by different development languages;
the environment configuration module is used for configuring corresponding operation environments in a preset container platform aiming at each type of health management model;
the model packaging module is used for packaging the health management models of each type so as to enable a preset micro-service architecture to be identified;
and the micro-service registration and release module is used for registering and releasing the corresponding micro-service in the preset micro-service architecture by using each type of the packaged health management model.
Optionally, the environment configuration module is specifically configured to:
determining a development language type for each type of the health management model;
and configuring a corresponding running environment in a preset container platform based on the development language type.
Optionally, the model packaging module is specifically configured to:
determining an input interface and an output interface for each type of the health management model;
and packaging the input interface and the output interface so as to enable the preset micro-service architecture to be identified.
In a third aspect, the present application provides a server comprising: at least one processor, and at least one memory and bus connected with the processor; the processor and the memory complete communication with each other through the bus; the processor is configured to invoke the program instructions in the memory to perform the fusion method of the multilingual health management model according to any one of the first aspect.
In a fourth aspect, the present application provides a storage medium storing one or more programs executable by one or more processors to implement the fusion method of the multilingual health management model according to any one of the first aspects.
According to the technical scheme provided by the embodiment of the application, for each type of health management model, a corresponding running environment is configured in a preset container platform, each type of health management model is packaged, and corresponding micro-service registration and release are performed in a preset micro-service architecture. Therefore, the method and the system adopt a container and micro-service architecture mode, can hide the running environment of the health management model and the development language special effects, further solve the fusion problem of the multi-language health management model from the architecture level, and are beneficial to improving the development efficiency of the PHM system.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the invention or the technical solutions of the prior art, the drawings which are used in the description of the embodiments or the prior art will be briefly described, and it will be obvious to a person skilled in the art that other drawings can be obtained from these drawings without inventive effort.
Fig. 1 is a schematic flow chart of an implementation of a fusion method of a multilingual health management model according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a runtime environment of various development languages in a Docker container platform provided in an embodiment of the present application;
FIG. 3 is a schematic diagram of a micro-service published in eureka according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a fusion device of a multilingual health management model according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a server according to an embodiment of the present application.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present application based on the embodiments herein.
In the technical field of fault prediction and health management at present, in order to realize comprehensive requirements of abnormality detection, fault diagnosis, fault prediction, maintenance decision and the like of complex equipment, a large number of research and development teams in different fields and different professions are required to cooperate to develop health management models meeting different requirements.
The development teams of different fields and different professions cooperate with each other, and the problem is that the technologies used by the different development teams, especially the development languages, are greatly different, so that the development languages used by each development team are different for the health management model, and a plurality of types of health management models exist, namely the plurality of types of health management models are realized by the different development languages.
In order to achieve fusion of the multi-language health management models and facilitate unified call of the multi-language health management models, the embodiment of the application configures corresponding operation environments in a preset container platform for each type of health management models, encapsulates each type of health management models, and performs corresponding micro-service registration and release in a preset micro-service architecture. Therefore, the method and the system adopt a container and micro-service architecture mode, can hide the running environment of the health management model and the development language special effects, further solve the fusion problem of the multi-language health management model from the architecture level, and are beneficial to improving the development efficiency of the PHM system.
As shown in fig. 1, a schematic implementation flow diagram of a fusion method of a multilingual health management model according to an embodiment of the present application may specifically include the following steps:
s101, acquiring multiple types of health management models, wherein the multiple types of health management models are realized by different development languages;
for the health management models realized by different development languages, after the development of the development personnel is finished, the health management models can be stored in a magnetic disk, and the embodiment of the application acquires the health management models of various types so as to fuse the health management models of various types, fully exert the advantages of the health management models realized by the respective development languages, and more efficiently realize complex and comprehensive equipment health management requirements.
For example, in the embodiment of the present application, for the various types of health management models, a health management model implemented in C language, a health management model implemented in c++ language, a health management model implemented in PYTHON language, a health management model implemented in MATLAB language, and the like may be obtained.
It should be noted that, for the health management model, the health management model may be a health management model currently implemented by any development language, which is not limited in the embodiment of the present application.
S102, configuring corresponding operation environments in a preset container platform aiming at each type of health management model;
for the obtained multiple types of health management models, for each type of health management model, the application configures a corresponding running environment in a preset container platform.
Specifically, for each type of health management model, a development language type is determined, and a corresponding running environment is configured in a preset container platform based on the development language type.
For example, for a health management model implemented in the C language, a health management model implemented in the c++ language, a health management model implemented in the PYTHON language, a health management model implemented in the MATLAB language, and the like, the respective corresponding development language types may be determined: c language, c++ language, PYTHON language, MATLAB language, etc.;
based on the development language types: the embodiment of the application can respectively configure the corresponding operation environments of a health management model realized by the C++ language, a health management model realized by the PYTHON language, a health management model realized by the MATLAB language and the like on a dock container platform, as shown in figure 2.
In the embodiment of the application, for the Docker container platform, a Docker tool can be installed in a server, ubuntu is taken as an example, an online installation mode can be adopted, and the Docker can be installed by executing Docker instructions, so that the Docker container platform can be built;
acquiring Linux images of the dockers as the most basic system environment, instantiating and constructing Docker containers based on the Linux images, respectively configuring the corresponding running environments of a health management model realized by a C language, a health management model realized by a C++ language, a health management model realized by a PYTHON language, a health management model realized by a MATLAB language and the like in a plurality of Docker containers, and configuring related environment variables, wherein the health management models are not coupled and independent of each other and are not influenced by each other.
S103, packaging the health management model of each type so as to enable a preset micro-service architecture to be identified;
in this embodiment of the present application, for the plurality of types of health management models obtained above, for each type of health management model, on one hand, a corresponding operating environment is configured in a preset container platform, and on the other hand, packaging is performed, so that a preset micro-service architecture is identified.
In this embodiment of the present application, an input interface and an output interface are determined for each type of the health management model, and the input interface and the output interface are packaged, so that a preset micro-service architecture is identifiable. For each type of health management model, the packaging modes of the input interface and the output interface are different due to different development languages.
For example, for a micro-service architecture, a springgroup architecture may be built, in this embodiment of the present application, a development, operation, and management platform of a micro-service is built, an input interface and an output interface are determined for each type of health management model, and the input interface and the output interface are packaged, so that a preset micro-service architecture may be identified:
for a health management model realized by PYTHON language, an input interface and an output interface of the health management model are determined, and the input interface and the output interface are packaged by using a flash frame, so that interaction with a Springcloud architecture is facilitated;
for a health management model realized by MATLAB language, determining an input interface and an output interface of the health management model, converting mtalab codes into Java packages by using a professional tool Library Compiler of MATLAB, then calling classes in the packages by using a Library, packaging the corresponding input interface and output interface by using a Java method, and further packaging the MATLAB language in a Java interface form so as to be convenient for interacting with a Springclass architecture;
for a health management model realized by a C language and a health management model realized by a C++ language, an input interface and an output interface of the health management model are determined, if the platform is a windows platform, the input interface and the output interface can be converted into dll dynamic link libraries, the input interface and the output interface are packaged by using a JNI library so as to be convenient for interacting with a Springclass architecture, and if the platform is Linux, the input interface and the output interface are converted into a so dynamic link library, and the input interface and the output interface are packaged by using the JNI library so as to be convenient for interacting with the Springclass architecture.
S104, registering and releasing the corresponding micro-services in the preset micro-service architecture according to each type of the packaged health management model.
For the obtained multiple types of health management models, after the input interface and the output interface are packaged, interaction with the micro-service architecture can be performed, and then each type of packaged health management model can be subjected to corresponding micro-service registration and release in a preset micro-service architecture.
The micro service interface and the micro service registration center provided in the micro service architecture can be utilized to register and release the corresponding micro service in the micro service registration center by utilizing the micro service interface through the packaged health management model of each type.
For example, for the encapsulated health management model implemented in the C language, the encapsulated health management model implemented in the c++ language, the encapsulated health management model implemented in the PYTHON language, the encapsulated health management model implemented in the MATLAB language, the micro-service registration and distribution is performed using the micro-service registry with the micro-service interface provided by the springgroup architecture, so that for the encapsulated health management model implemented in the C language, the encapsulated health management model implemented in the c++ language, the encapsulated health management model implemented in the PYTHON language, and the encapsulated health management model implemented in the MATLAB language, the corresponding micro-service can be found in the eureka (micro-service registry), as shown in fig. 3.
For multiple types of health management models, one micro-service is respectively corresponding, and a unique http access method is used for realizing the invocation of the micro-service, so that the fusion use of the multi-language health management model is finally realized:
when a received access request (such as an http request) is received, determining a target micro-service according to a micro-service identifier carried in the access request; searching a target health management model corresponding to the target microservice; transmitting the model input parameters carried in the access request to the target health management model; and receiving and feeding back an operation result returned by the target health management model, wherein the operation result is a result obtained by performing operation on the target health management model according to the corresponding operation environment of the target health management model in a preset container platform and the input parameters of the model.
For example, when a PHM service system access request is received, analyzing a micro-service identifier and a model input parameter carried in the access request; determining a target micro service A according to the micro service identification; searching a target health management model (a health management model 1 realized by C++ language) corresponding to the target micro-service A; transmitting model input parameters carried in the access request to a target health management model (a health management model 1 realized by C++ language can interact with a Springcloud architecture); and receiving and feeding back an operation result returned by the target health management model (the health management model 1 realized by the C++ language).
The target health management model (health management model 1 realized by C++ language) is operated in the C++ language operation time environment in the Docker container platform according to model input parameters to obtain an operation result, and the operation result is transmitted back to the Springcloud architecture. The unified call of the multilingual health management model can be realized through the http access mode.
Through the above description of the technical solution provided in the embodiments of the present application, for each type of health management model, a corresponding running environment is configured in a preset container platform, and for each type of health management model, packaging is performed, and corresponding micro-service registration and release are performed in a preset micro-service architecture. Therefore, the method and the system adopt a container and micro-service architecture mode, can hide the running environment of the health management model and the development language special effects, further solve the fusion problem of the multi-language health management model from the architecture level, and are beneficial to improving the development efficiency of the PHM system.
Corresponding to the above method embodiment, the embodiment of the present application further provides a fusion device of a multilingual health management model, as shown in fig. 4, where the device includes: model acquisition module 410, environment configuration module 420, model encapsulation module 430, micro-service registration and release module 440.
A model obtaining module 410, configured to obtain multiple types of health management models, where the multiple types of health management models are implemented by different development languages;
an environment configuration module 420, configured to configure a corresponding running environment in a preset container platform for each type of the health management model;
the model encapsulation module 430 is configured to encapsulate each type of the health management model, so as to identify a preset micro-service architecture;
the micro-service registration and release module 440 is configured to register and release the corresponding micro-service in the preset micro-service architecture for each type of the packaged health management model.
In a specific implementation of the embodiment of the present application, the environment configuration module 420 is specifically configured to:
determining a development language type for each type of the health management model;
and configuring a corresponding running environment in a preset container platform based on the development language type.
In the specific implementation of the embodiment of the present application, the model encapsulation module 430 is specifically configured to:
determining an input interface and an output interface for each type of the health management model;
and packaging the input interface and the output interface so as to enable the preset micro-service architecture to be identified.
The fusion device of the multilingual health management model includes a processor and a memory, wherein the model acquisition module 410, the environment configuration module 420, the model encapsulation module 430, the micro-service registration and release module 440, etc. are stored in the memory as program modules, and the processor executes the program modules stored in the memory to realize corresponding functions.
As shown in fig. 5, which is a schematic structural diagram of a server according to an embodiment of the present invention, the server shown in fig. 5 includes: a processor 51, a communication interface 52, a memory 53 and a communication bus 54, wherein the processor 51, the communication interface 52, the memory 53 perform communication with each other through the communication bus 54,
a memory 53 for storing a computer program;
the processor 51 is configured to execute a program stored in the memory 53, and implement the following steps:
acquiring multiple types of health management models, wherein the multiple types of health management models are realized by different development languages; configuring corresponding operation environments in a preset container platform aiming at each type of health management model; packaging the health management model of each type so as to enable a preset micro-service architecture to be identified; and registering and releasing the corresponding micro services in the preset micro service architecture by using each type of the packaged health management model.
The communication bus mentioned by the server may be a peripheral component interconnect standard (Peripheral Component Interconnect, abbreviated as PCI) bus or an extended industry standard architecture (Extended Industry Standard Architecture, abbreviated as EISA) bus, etc. The communication bus may be classified as an address bus, a data bus, a control bus, or the like. For ease of illustration, the figures are shown with only one bold line, but not with only one bus or one type of bus.
The communication interface is used for communication between the server and other devices.
The memory may include random access memory (Random Access Memory, RAM) or non-volatile memory (non-volatile memory), such as at least one disk memory. Optionally, the memory may also be at least one memory device located remotely from the aforementioned processor.
The processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU for short), a network processor (Network Processor, NP for short), etc.; but also digital signal processors (Digital Signal Processing, DSP for short), application specific integrated circuits (Application Specific Integrated Circuit, ASIC for short), field-programmable gate arrays (Field-Programmable Gate Array, FPGA for short) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
The embodiment of the invention also provides a storage medium (computer readable storage medium). The storage medium here stores one or more programs. Wherein the storage medium may comprise volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, hard disk, or solid state disk; the memory may also comprise a combination of the above types of memories.
When the one or more programs in the storage medium are executable by the one or more processors, the fusion method of the multi-language health management model, which is executed on the fusion device side of the multi-language health management model, is implemented.
The processor is configured to execute a fusion program of the multilingual health management model stored in the memory, so as to implement the following steps of a fusion method of the multilingual health management model executed on a fusion device side of the multilingual health management model:
acquiring multiple types of health management models, wherein the multiple types of health management models are realized by different development languages; configuring corresponding operation environments in a preset container platform aiming at each type of health management model; packaging the health management model of each type so as to enable a preset micro-service architecture to be identified; and registering and releasing the corresponding micro services in the preset micro service architecture by using each type of the packaged health management model.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, the device includes one or more processors (CPUs), memory, and a bus. The device may also include input/output interfaces, network interfaces, and the like.
The memory may include volatile memory, random Access Memory (RAM), and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM), among other forms in computer readable media, the memory including at least one memory chip. Memory is an example of a computer-readable medium.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises an element.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The foregoing is merely exemplary of the present invention and is not intended to limit the present invention. Various modifications and variations of the present invention will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. which come within the spirit and principles of the invention are to be included in the scope of the claims of the present invention.

Claims (6)

1. A method of fusion of multilingual health management models, the method comprising:
acquiring multiple types of health management models, wherein the multiple types of health management models are realized by different development languages;
for each type of health management model, configuring a corresponding running environment in a preset container platform, wherein the running environment comprises the following steps: determining a development language type for each type of the health management model; configuring a corresponding running environment in a preset container platform based on the development language type;
packaging the health management model of each type so as to enable a preset micro-service architecture to be identified, wherein the micro-service architecture is a Springclosed architecture; for a health management model realized by PYTHON language, an input interface and an output interface of the health management model are determined, and the input interface and the output interface are packaged by using a flash frame, so that interaction with a Springcloud architecture is facilitated; for a health management model realized by MATLAB language, determining an input interface and an output interface of the health management model, converting a MATLAB code into a Java Package by using a professional tool Library Compiler of MATLAB, then calling classes in the Package by using a Library, packaging the corresponding input interface and output interface by using a Java method, and further packaging the MATLAB language in a Java interface form so as to be convenient for interacting with a Springclass architecture; for a health management model realized by a C language and a health management model realized by a C++ language, determining an input interface and an output interface of the health management model, if the platform is a windows platform, converting the input interface and the output interface into dll dynamic link libraries, packaging the input interface and the output interface by using a JNI library so as to be convenient for interacting with a Springclass architecture, and if the platform is Linux, converting the input interface and the output interface into a so dynamic link library, packaging the input interface and the output interface by using the JNI library so as to be convenient for interacting with the Springclass architecture;
and registering and releasing the corresponding micro services in the preset micro service architecture by using each type of the packaged health management model.
2. The method of claim 1, wherein the registering and publishing of the corresponding micro services in the pre-set micro service architecture for each type of the health management model to be encapsulated comprises:
determining a micro-service interface provided in a preset micro-service architecture and a micro-service registry;
and carrying out corresponding micro-service registration and release in the micro-service registration center by using the encapsulated health management model of each type and utilizing the micro-service interface.
3. The method according to claim 1, wherein the method further comprises:
when an access request is received, determining a target micro-service according to a micro-service identifier carried in the access request;
searching a target health management model corresponding to the target microservice;
transmitting the model input parameters carried in the access request to the target health management model;
and receiving and feeding back an operation result returned by the target health management model, wherein the operation result is a result obtained by performing operation on the target health management model according to the corresponding operation environment of the target health management model in a preset container platform and the input parameters of the model.
4. A fusion device of a multilingual health management model, the device comprising:
the model acquisition module is used for acquiring a plurality of types of health management models, wherein the plurality of types of health management models are realized by different development languages;
the environment configuration module is used for configuring corresponding operation environments in a preset container platform aiming at each type of health management model; the environment configuration module is specifically configured to: determining a development language type for each type of the health management model; configuring a corresponding running environment in a preset container platform based on the development language type;
the model packaging module is used for packaging each type of health management model so as to enable a preset micro-service architecture to be identified, wherein the micro-service architecture is a Springclosed architecture; for a health management model realized by PYTHON language, an input interface and an output interface of the health management model are determined, and the input interface and the output interface are packaged by using a flash frame, so that interaction with a Springcloud architecture is facilitated; for a health management model realized by MATLAB language, determining an input interface and an output interface of the health management model, converting a MATLAB code into a Java Package by using a professional tool Library Compiler of MATLAB, then calling classes in the Package by using a Library, packaging the corresponding input interface and output interface by using a Java method, and further packaging the MATLAB language in a Java interface form so as to be convenient for interacting with a Springclass architecture; for a health management model realized by a C language and a health management model realized by a C++ language, determining an input interface and an output interface of the health management model, if the platform is a windows platform, converting the input interface and the output interface into dll dynamic link libraries, packaging the input interface and the output interface by using a JNI library so as to be convenient for interacting with a Springclass architecture, and if the platform is Linux, converting the input interface and the output interface into a so dynamic link library, packaging the input interface and the output interface by using the JNI library so as to be convenient for interacting with the Springclass architecture;
and the micro-service registration and release module is used for registering and releasing the corresponding micro-service in the preset micro-service architecture by using each type of the packaged health management model.
5. A server, comprising: at least one processor, and at least one memory and bus connected with the processor; the processor and the memory complete communication with each other through the bus; the processor is configured to invoke program instructions in the memory to perform the method of any of claims 1-3.
6. A storage medium storing one or more programs executable by one or more processors to implement the method of any of claims 1-3.
CN201911311704.XA 2019-12-18 2019-12-18 Fusion method and device of multi-language health management model Active CN111198679B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911311704.XA CN111198679B (en) 2019-12-18 2019-12-18 Fusion method and device of multi-language health management model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911311704.XA CN111198679B (en) 2019-12-18 2019-12-18 Fusion method and device of multi-language health management model

Publications (2)

Publication Number Publication Date
CN111198679A CN111198679A (en) 2020-05-26
CN111198679B true CN111198679B (en) 2024-04-05

Family

ID=70746493

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911311704.XA Active CN111198679B (en) 2019-12-18 2019-12-18 Fusion method and device of multi-language health management model

Country Status (1)

Country Link
CN (1) CN111198679B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103412972A (en) * 2013-07-01 2013-11-27 北京理工大学 Method for packaging and integrating simulation models of distributed simulation platform of aircraft
CN106155697A (en) * 2016-07-30 2016-11-23 北京慧摩尔科技有限公司 A kind of service-oriented Development Framework (YC Framework)
CN107870845A (en) * 2017-10-19 2018-04-03 北京工业大数据创新中心有限公司 Towards the management method and system of micro services framework applications
CN109343833A (en) * 2018-09-20 2019-02-15 北京神州泰岳软件股份有限公司 Data processing platform (DPP) and data processing method
CN109343500A (en) * 2018-11-28 2019-02-15 上海风语筑展示股份有限公司 A kind of centralization shows monitoring nodes management system and method
CN109814878A (en) * 2018-12-20 2019-05-28 中国电子科技集团公司第十五研究所 Cross-platform cross commercialization is from the complicated huge information system mixed deployment system of primary climate
CN109933329A (en) * 2019-03-01 2019-06-25 深圳微品致远信息科技有限公司 A kind of method that software product carries out intelligent deployment O&M by cloud
CN110058864A (en) * 2019-04-18 2019-07-26 成都四方伟业软件股份有限公司 The dispositions method and device of micro services
CN110377324A (en) * 2019-07-04 2019-10-25 中铁四局集团有限公司 A kind of informatization platform monitoring system and construction method
CN110502212A (en) * 2018-05-16 2019-11-26 南京慕测信息科技有限公司 It is a kind of towards the multilingual online Development Support method of high concurrent
CN110542920A (en) * 2019-09-03 2019-12-06 北京云庐科技有限公司 Seismic data processing method and system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120046966A1 (en) * 2010-08-19 2012-02-23 International Business Machines Corporation Health Management Application Development and Deployment Framework
US20180088935A1 (en) * 2016-09-27 2018-03-29 Ca, Inc. Microservices application configuration based on runtime environment
US10686908B2 (en) * 2016-11-18 2020-06-16 Sap Se Embedded database as a microservice for distributed container cloud platform

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103412972A (en) * 2013-07-01 2013-11-27 北京理工大学 Method for packaging and integrating simulation models of distributed simulation platform of aircraft
CN106155697A (en) * 2016-07-30 2016-11-23 北京慧摩尔科技有限公司 A kind of service-oriented Development Framework (YC Framework)
CN107870845A (en) * 2017-10-19 2018-04-03 北京工业大数据创新中心有限公司 Towards the management method and system of micro services framework applications
CN110502212A (en) * 2018-05-16 2019-11-26 南京慕测信息科技有限公司 It is a kind of towards the multilingual online Development Support method of high concurrent
CN109343833A (en) * 2018-09-20 2019-02-15 北京神州泰岳软件股份有限公司 Data processing platform (DPP) and data processing method
CN109343500A (en) * 2018-11-28 2019-02-15 上海风语筑展示股份有限公司 A kind of centralization shows monitoring nodes management system and method
CN109814878A (en) * 2018-12-20 2019-05-28 中国电子科技集团公司第十五研究所 Cross-platform cross commercialization is from the complicated huge information system mixed deployment system of primary climate
CN109933329A (en) * 2019-03-01 2019-06-25 深圳微品致远信息科技有限公司 A kind of method that software product carries out intelligent deployment O&M by cloud
CN110058864A (en) * 2019-04-18 2019-07-26 成都四方伟业软件股份有限公司 The dispositions method and device of micro services
CN110377324A (en) * 2019-07-04 2019-10-25 中铁四局集团有限公司 A kind of informatization platform monitoring system and construction method
CN110542920A (en) * 2019-09-03 2019-12-06 北京云庐科技有限公司 Seismic data processing method and system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
A Virtual Experiment Platform for Principles of Digital Communication;Yu Sheng 等;《2018 13th International Conference on Computer Science & Education (ICCSE)》;20180920;全文 *
OMS平台模型的服务化封装方法研究;王明 等;地理信息世界;20180625(03);全文 *
微服务若干关键问题研究;邓杰文 等;《五邑大学学报(自然科学版)》;20160531;第30卷(第2期);第49-54页 *

Also Published As

Publication number Publication date
CN111198679A (en) 2020-05-26

Similar Documents

Publication Publication Date Title
CN104854558B (en) For using compiling and deployment services to carry out system, the method and computer program product of software building and load processing
CN108965375B (en) Service call proxy control system, method, server and readable storage medium
CN104156313A (en) Method for automatically generating Web service testing case
CN111813582B (en) Ice service deployment arrangement method
CN113254174A (en) RPA robot process automation implementation system and method
Bergmayr et al. Cloud modeling languages by example
CN111045840A (en) PLC firmware system, packaging interface method, device, storage medium and electronic equipment
CN115934346B (en) Operator automatic detection method and device, electronic equipment and medium
CN107483559B (en) SDK service providing method and device
CN112579099A (en) Code deployment method and device, storage medium and electronic equipment
CN109343970B (en) Application program-based operation method and device, electronic equipment and computer medium
CN113448655B (en) C standard dynamic library calling method and device
CN111198679B (en) Fusion method and device of multi-language health management model
CN111651149A (en) Machine learning model system convenient to deploy and calling method thereof
CN108009030B (en) Communication method and device and computing equipment
Sinha et al. Requirements engineering of industrial automation systems: Adapting the CESAR requirements meta model for safety-critical smart grid software
CN116450234A (en) C++ model library service packaging framework system and method
US20140047410A1 (en) Method and system for semiconductor host simulation automation
CN112540915A (en) Interface test method, device and system
CN111324523B (en) Data processing method and device
CN110633214A (en) Configuration method and device of internal test message
CN110990167A (en) Front-end communication method and device, storage medium and electronic equipment
CN117648175B (en) Service execution method and device based on dynamic algorithm selection and electronic equipment
CN105760291B (en) A kind of regression testing method and system
CN115495225B (en) Data processing method and device, storage medium and electronic device

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