CN111240910A - Equipment health management micro-service generation method, device, equipment and readable medium - Google Patents
Equipment health management micro-service generation method, device, equipment and readable medium Download PDFInfo
- Publication number
- CN111240910A CN111240910A CN202010001974.7A CN202010001974A CN111240910A CN 111240910 A CN111240910 A CN 111240910A CN 202010001974 A CN202010001974 A CN 202010001974A CN 111240910 A CN111240910 A CN 111240910A
- Authority
- CN
- China
- Prior art keywords
- health management
- configuration information
- target equipment
- functional
- service
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 230000036541 health Effects 0.000 title claims abstract description 109
- 238000000034 method Methods 0.000 title claims abstract description 59
- 238000012544 monitoring process Methods 0.000 claims abstract description 8
- 230000006870 function Effects 0.000 claims description 93
- 238000012545 processing Methods 0.000 claims description 23
- 238000003745 diagnosis Methods 0.000 claims description 12
- 230000000007 visual effect Effects 0.000 claims description 12
- 238000011156 evaluation Methods 0.000 claims description 11
- 238000012800 visualization Methods 0.000 claims description 10
- 238000004590 computer program Methods 0.000 claims description 6
- 238000004806 packaging method and process Methods 0.000 claims description 6
- 238000012795 verification Methods 0.000 claims description 6
- 238000012360 testing method Methods 0.000 claims description 5
- 238000003860 storage Methods 0.000 claims description 4
- 238000011161 development Methods 0.000 abstract description 8
- 238000010276 construction Methods 0.000 abstract description 6
- 238000007726 management method Methods 0.000 description 85
- 230000008569 process Effects 0.000 description 13
- 238000005516 engineering process Methods 0.000 description 12
- 238000004891 communication Methods 0.000 description 6
- 230000002087 whitening effect Effects 0.000 description 6
- 238000001514 detection method Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 238000000605 extraction Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000002955 isolation Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000013508 migration Methods 0.000 description 1
- 230000005012 migration Effects 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000003252 repetitive effect Effects 0.000 description 1
- 238000005096 rolling process Methods 0.000 description 1
- 238000012216 screening Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2289—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by configuration test
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/26—Functional testing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3409—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The application relates to a method, a device, equipment and a readable medium for generating equipment health management micro-services. The method comprises the following steps: acquiring target equipment configuration information, wherein the target equipment configuration information is used for indicating a plurality of function modules to be selected applied to target equipment and logic relations among the function modules; selecting a plurality of functional modules from a health management functional pool according to the configuration information of the target equipment, wherein the health management functional pool stores a plurality of types of functional modules; and logically assembling the source codes corresponding to the plurality of functional modules according to the logical relationship indicated by the target equipment configuration information to obtain the micro service, wherein the micro service is used for monitoring the health state of the target equipment. The method and the system can shorten the development period and effectively improve the construction efficiency of the health management system.
Description
Technical Field
The present application relates to the field of device health management technologies, and in particular, to a method, an apparatus, a device, and a readable medium for generating a micro service for device health management.
Background
With the rapid development of computer technology and the advent of the information age, the health management of mechanical equipment, i.e., fault detection, fault diagnosis, performance evaluation and further fault prediction work, has basically left away from manual operation, but is implemented based on computer software technology. The computer software technology is widely applied to the IT industry, aims to facilitate the life of people and improve the working efficiency of complex and repetitive work.
At present, in the health management scheme of the mechanical equipment in the related art, professional health management software is mainly developed according to the characteristics of specific mechanical equipment, so as to provide comprehensive and efficient fault detection, fault diagnosis, performance evaluation, efficiency evaluation and further fault prediction for the specific mechanical equipment. However, professional health management software developed for specific mechanical equipment in the related art cannot be applied to other mechanical equipment, the universality is poor, and repeated development is needed in different equipment fields, so that the development period is long, and the construction efficiency of a health management system is low.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The application provides a method, a device, equipment and a readable medium for generating micro services for equipment health management, and aims to solve the technical problems of long development period and low construction efficiency of a health management system.
In a first aspect, the present application provides a method for generating a device health management micro-service, where the method includes: acquiring target equipment configuration information, wherein the target equipment configuration information is used for indicating a plurality of function modules to be selected applied to target equipment and logic relations among the function modules; selecting a plurality of functional modules from a health management functional pool according to the configuration information of the target equipment, wherein the health management functional pool stores a plurality of types of functional modules; and logically assembling the source codes corresponding to the plurality of functional modules according to the logical relationship indicated by the target equipment configuration information to obtain the micro service, wherein the micro service is used for monitoring the health state of the target equipment.
Optionally, before obtaining the configuration information of the target device, the method further includes building a health management function pool as follows: acquiring a health management function source code; generating a corresponding functional module according to the health management function source code; building a health management function pool according to the function module, and uploading a health management function source code corresponding to the function module to a platform code warehouse; and classifying the functional modules in the health management functional pool according to the types of the functional modules, wherein the types comprise a diagnosis type, an evaluation type, a basic type, a data processing type, a fault mode type and a visualization template type.
Optionally, selecting a plurality of function modules from the health management function pool according to the target device configuration information includes: selecting a functional module for data processing according to the configuration information of the target equipment; selecting a functional module corresponding to a target algorithm according to the configuration information of the target equipment; and selecting a visual template corresponding to the visual operation of the user according to the configuration information of the target equipment.
Optionally, logically assembling the source codes corresponding to the plurality of functional modules according to the logical relationship indicated by the target device configuration information, and obtaining the micro service includes: extracting source codes corresponding to a plurality of functional modules from a platform code warehouse, wherein the platform code warehouse is used for storing the source codes corresponding to a plurality of types of functional modules; and assembling the extracted source code according to the logical relationship among the plurality of functional modules indicated by the configuration information of the target equipment to obtain the micro-service.
Optionally, the method further comprises: and packaging the micro-services into a service mirror image, and uploading the service mirror image to a mirror image warehouse.
Optionally, the method further comprises: a health management microservice cluster is deployed using a container cluster management tool and information for the microservices is registered with a service discovery center.
Optionally, the method further comprises: and running the micro service online to perform test verification.
In a second aspect, the present application provides an apparatus for generating a device health management micro-service, including: the device comprises an information acquisition module, a selection module and a display module, wherein the information acquisition module is used for acquiring target device configuration information, and the target device configuration information is used for indicating a plurality of functional modules to be selected and applied to the target device and a logic relationship among the functional modules; the function selection module is used for selecting a plurality of function modules from the health management function pool according to the configuration information of the target equipment, wherein the health management function pool stores a plurality of types of function modules; and the logic assembly module is used for logically assembling the source codes corresponding to the plurality of functional modules according to the logical relation indicated by the target equipment configuration information to obtain the micro service, wherein the micro service is used for monitoring the health state of the target equipment.
In a third aspect, the present application provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program operable on the processor, and the processor implements the steps of any one of the above methods when executing the computer program.
In a fourth aspect, the present application also provides a computer readable medium having non-volatile program code executable by a processor, the program code causing the processor to perform any of the methods of the first aspect.
Compared with the related art, the technical scheme provided by the embodiment of the application has the following advantages:
the method comprises the steps of obtaining target equipment configuration information, wherein the target equipment configuration information is used for indicating a plurality of function modules to be selected and applied to target equipment and logic relations among the function modules; selecting a plurality of functional modules from a health management functional pool according to the configuration information of the target equipment, wherein the health management functional pool stores a plurality of types of functional modules; and logically assembling the source codes corresponding to the plurality of functional modules according to the logical relationship indicated by the configuration information of the target equipment to obtain the micro service, wherein the micro service is used for monitoring the health state of the target equipment, so that the development period can be greatly shortened, and the construction efficiency of the health management system is effectively improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the technical solutions in the embodiments or related technologies of the present application, the drawings needed to be used in the description of the embodiments or related technologies will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without any creative effort.
Fig. 1 is a schematic diagram of a hardware environment of an alternative method for generating a device health management micro-service according to an embodiment of the present application;
fig. 2 is a flowchart of an alternative method for generating a device health management micro-service according to an embodiment of the present application;
fig. 3 is a block diagram of an alternative device health management micro-service generation apparatus according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in 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 obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for the convenience of description of the present application, and have no specific meaning in themselves. Thus, "module" and "component" may be used in a mixture.
According to an aspect of the embodiments of the present application, an embodiment of a method for generating a device health management micro-service is provided.
Optionally, in this embodiment of the present application, the device health management micro-service generation method may be applied to a hardware environment formed by the terminal 101 and the server 103 as shown in fig. 1. As shown in fig. 1, a server 103 is connected to a terminal 101 through a network, which may be used to provide services for the terminal or a client installed on the terminal, and a database 105 may be provided on the server or separately from the server, and is used to provide data storage services for the server 103, and the network includes but is not limited to: wide area network, metropolitan area network, or local area network, and the terminal 101 includes but is not limited to a PC, a cell phone, a tablet computer, and the like.
A method for generating a device health management micro-service in an embodiment of the present application may be performed by the server 103, as shown in fig. 2, the method may include the following steps:
step S202: the method comprises the steps of obtaining target equipment configuration information, wherein the target equipment configuration information is used for indicating a plurality of function modules to be selected and logic relations among the function modules, wherein the function modules are applied to target equipment.
Step S204: and selecting a plurality of functional modules from the health management functional pool according to the configuration information of the target equipment, wherein the health management functional pool stores a plurality of types of functional modules.
Step S206: and logically assembling the source codes corresponding to the plurality of functional modules according to the logical relationship indicated by the target equipment configuration information to obtain the micro service, wherein the micro service is used for monitoring the health state of the target equipment.
In this embodiment, the target device configuration information may be device information related to a specific device field input by a user in a functional configuration interface of the system, so as to be used for fault detection, fault diagnosis, performance evaluation, and further fault prediction of the target device, where the target device configuration information further includes functions necessary for performing comprehensive and efficient fault detection, fault diagnosis, performance evaluation, and further fault prediction work on the target device, that is, requirements, so that the device health management microservices generation platform can know what basic functions, data processing functions, diagnostic functions, evaluation functions, fault modes, and corresponding and reasonable visualization templates should be provided for the requirements.
Optionally, before obtaining the configuration information of the target device, the following steps 1 to 3 may be further included to build a health management function pool:
step 1: acquiring a health management function source code;
step 2: generating a corresponding functional module according to the health management function source code; building a health management function pool according to the function module, and uploading a health management function source code corresponding to the function module to a platform code warehouse;
and step 3: and classifying the functional modules in the health management functional pool according to the types of the functional modules, wherein the types comprise a diagnosis type, an evaluation type, a basic type, a data processing type, a fault mode type and a visualization template type.
In the embodiment of the application, the source code corresponding to the independent and mature equipment health management function in the related technology is obtained, and the source code of the health management function is modularized to form a corresponding functional module, so that the scattered and independent equipment health management function can be centralized, and a functional module which can be seen and selected by a user is formed. The acquired health management function source code can be stored in a platform code repository, such as Git, and the stored source code is in a file state and cannot be run.
In the embodiment of the application, the function module is centralized to build a health management function pool applied to the device, where the function pool is different from the platform code repository, the platform code repository is used to store health management function source codes in a file state, and only has a function of storing the source codes, and the function pool is an abstract representation of functions provided by the source codes and centralizes the abstract representation.
In the embodiment of the present application, since the device fields are numerous and very complex, and the functional requirements for different device fields are different, the types and the complexity of the functional modules are also different. Alternatively, the types of functional modules may include, but are not limited to: a diagnosis type, an assessment type, a base type, a data processing type, a failure mode type, and a visualization template type. The function pool is classified according to the type corresponding to each function module, so that the equipment health management micro-service generation platform can quickly and accurately find the corresponding function module according to the target equipment configuration information. Optionally, the function pool may be displayed to the user in a visual form, that is, the user may be provided to autonomously select the function module, and meanwhile, the logic operation may be tried out and executed, so as to implement highly customized function requirements.
Optionally, selecting a plurality of function modules from the health management function pool according to the configuration information of the target device, and the method may further include the following steps 1 to 3:
step 1: selecting a functional module for data processing according to the configuration information of the target equipment;
step 2: selecting a functional module corresponding to a target algorithm according to the configuration information of the target equipment;
and step 3: and selecting a visual template corresponding to the visual operation of the user according to the configuration information of the target equipment.
In the embodiment of the application, the data processing can be monitoring and feeding back equipment operation signals, mechanical structures, operation states, external environment interference and the like, and data support is provided for fault diagnosis and fault evaluation. The target device configuration information includes the features of the target device, and a user can select some targeted basic algorithm functional modules according to the features, for example, a pre-whitening process is often required in signal processing, a pre-whitening process module can be selected by the user for data requiring the pre-whitening process, and an FFT module can be selected by the user if the remaining data requires the fast fourier transform. In addition, the functionality of the target device may be customized to provide unique health management functionality for the target device. The visualization template can be an interface provided for a user to perform functional operations and logical operations, and can also include implementation of data processing visualization, fault diagnosis visualization, fault assessment visualization, and fault prediction visualization.
Optionally, the logic assembly is performed on the source codes corresponding to the plurality of functional modules according to the logical relationship indicated by the target device configuration information to obtain the micro service, and the method may further include the following steps 1 to 2:
step 1: extracting source codes corresponding to a plurality of functional modules from a platform code warehouse, wherein the platform code warehouse is used for storing the source codes corresponding to a plurality of types of functional modules;
step 2: and assembling the extracted source code according to the logical relationship among the plurality of functional modules indicated by the configuration information of the target equipment to obtain the micro-service.
In the embodiment of the application, after a plurality of function modules are selected from the health management function pool according to the target device configuration information, source codes corresponding to the function modules are extracted from the platform code warehouse, and the source codes are logically assembled according to the logical relationship between the function modules provided by the target device configuration information, wherein the logical assembly further comprises compiling the configured source codes to generate an executable file, so that the micro-service engineering construction is completed, or a platform service construction function is generated through the device health management micro-service, so that a device health management model formed by the function modules is constructed as an independent micro-service.
Optionally, the device health management micro-service generation method may further include: and packaging the micro-services into a service mirror image, and uploading the service mirror image to a mirror image warehouse.
Optionally, the device health management micro-service generation method may further include: a health management microservice cluster is deployed using a container cluster management tool and information for the microservices is registered with a service discovery center.
Optionally, the device health management micro-service generation method may further include: and running the micro service online to perform test verification.
In the embodiment of the application, service image packaging and health management micro-service cluster deployment are realized by a container cluster management tool through application of a Docker technology in related technologies, wherein a resource access interface may be acquired, and a local device health management function pool is accessed to a platform resource warehouse, which may include but is not limited to a platform code warehouse and a platform function control warehouse. Adding SpringBoot dependence for configuring and constructing an operating environment of independent executable microservices, configuring Jenkins system information, creating automatic integration task configuration, automatically constructing a docker mirror image, and pushing the docker mirror image to a mirror image warehouse. The container cluster management tool Docker Swarm is used for deploying health management micro-service clusters, registering micro-service information to a service discovery center, and adding dependence on Eureka to create a registry service, so that information of all services in a distributed system can be recorded by using one registry, and other services can quickly find the registered services. And generating an interface document by swagger technology to explain the service API. And running the equipment health management micro-service on line to test and verify whether the functions of the equipment health management micro-service can be run and the adaptability of the equipment health management micro-service to target equipment. If the verification is passed, the equipment health management micro-service can be packaged and downloaded for local operation and put into a production line for work.
According to the embodiment of the application, the description of the embodiment of the micro-service generation is carried out by using the bearing of the vehicle axle box.
The user can input basic information of the vehicle axle box bearing, including description information such as the name and the function of the automatically generated micro service, and description information such as the equipment type, the equipment name and the health management type, in the target equipment information configuration interface. And adding parameters such as a rotating speed, a vibration signal, an inner ring fault frequency theoretical value, an outer ring fault frequency theoretical value, a rolling body fault frequency theoretical value and the like, wherein the parameters comprise a parameter unique code and a data type. The system can select the functional module according to the configuration information of the target equipment input by the user, or can perform screening and submit the detailed functional module to the user for selection.
Selecting an interface at the function module: firstly, selecting a functional module for data processing: and selecting a network data receiving module in the data processing module, and sequentially adding the parameter information configured in the step. Secondly, selecting a basic algorithm according to the characteristics of the target equipment or the characteristics of the data: in the basic algorithm category, a pre-whitening processing module and an FFT module are selected in sequence, and input parameters and output parameters are respectively designated. And finally, selecting a visual template: and selecting three curve chart controls, and respectively binding vibration signal parameters, output data of a pre-whitening processing process and output data of an FFT process.
And executing the micro-service generation operation and viewing the process log on the micro-service control interface. In the process, the software tool acquires a target engineering basic code template, a data processing code, a pre-whitening processing module code, an FFT module code and a visual template from a code library according to the bearing diagnosis configuration information of user data, and completes the creation of a source file; and compiling the complete target engineering code to generate an executable program based on the SpringBoot, finishing the automatic generation of the micro-service, and then further releasing the micro-service into a container.
In the embodiment of the application, a software module assembly technology is adopted, the functional modules in the health management functional pool are selected according to the algorithm and the service requirements in the specific professional field, the micro-service software package capable of running independently is assembled, and the application and the dependent items thereof are run in a resource isolation process through a container lightweight virtualization technology, so that compared with the traditional virtual machine technology, the starting speed is higher, the migration is easier, and the resource overhead is lower. Traditional monolithic applications become more and more rich over time, increasing development and maintenance difficulties for development teams, and thus microservice architectures have come to emerge. At present, a container technology is used, and a developer makes a single service into a container mirror image which is stored in a mirror image warehouse, so that the application is convenient to construct.
According to another aspect of the embodiments of the present application, as shown in fig. 3, an embodiment of a device health management micro-service generation apparatus is provided, including: an information obtaining module 301, configured to obtain target device configuration information, where the target device configuration information is used to indicate a logical relationship between a plurality of function modules to be selected and a plurality of function modules, which are applied to a target device; a function selection module 303, configured to select a plurality of function modules from a health management function pool according to the configuration information of the target device, where the health management function pool stores a plurality of types of function modules; and a logic assembling module 305, configured to perform logic assembling on the source codes corresponding to the multiple functional modules according to the logic relationship indicated by the target device configuration information, so as to obtain a micro service, where the micro service is used to monitor a health state of the target device.
Optionally, the apparatus health management micro-service generating device may further include: the source code acquisition module is used for acquiring a health management function source code; the generating module is used for generating a corresponding functional module according to the health management functional source code; the building module is used for building a health management function pool according to the function module and uploading a health management function source code corresponding to the function module to the platform code warehouse; and the classification module is used for classifying the functional modules in the health management functional pool according to the types of the functional modules, wherein the types comprise a diagnosis type, an evaluation type, a basic type, a data processing type, a fault mode type and a visual template type.
Optionally, the apparatus health management micro-service generating device may further include: the first selecting and matching module is used for selecting a functional module for data processing according to the configuration information of the target equipment; the second selection module is used for selecting a functional module corresponding to the target algorithm according to the configuration information of the target equipment; and the third selecting and matching module is used for selecting a visual template corresponding to the visual operation of the user according to the configuration information of the target equipment.
Optionally, the apparatus health management micro-service generating device may further include: the system comprises a code extraction module, a platform code warehouse and a code analysis module, wherein the code extraction module is used for extracting source codes corresponding to a plurality of functional modules from the platform code warehouse, and the platform code warehouse is used for storing the source codes corresponding to a plurality of types of functional modules; and the assembling module is used for assembling the extracted source code according to the logical relationship among the plurality of functional modules indicated by the configuration information of the target equipment to obtain the micro-service.
Optionally, the apparatus health management micro-service generating device may further include: and the packaging and uploading module is used for packaging the micro-service into a service mirror image and uploading the service mirror image to a mirror image warehouse.
Optionally, the apparatus health management micro-service generating device may further include: and the deployment and registration module is used for deploying the health management micro-service cluster by using the container cluster management tool and registering micro-service information to the service discovery center.
Optionally, the apparatus health management micro-service generating device may further include: and the online verification module is used for online operation of the microservice so as to carry out test verification.
There is also provided, in accordance with yet another aspect of the embodiments of the present application, a computer device, including a memory and a processor, the memory having stored therein a computer program executable on the processor, the processor implementing the steps when executing the computer program.
The memory and the processor in the computer device communicate with each other through a communication bus and a communication interface. The communication bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc.
The Memory may include a Random Access Memory (RAM) or a 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 processor.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
There is also provided, in accordance with yet another aspect of an embodiment of the present application, a computer-readable medium having non-volatile program code executable by a processor, the program code causing the processor to perform any of the methods described above.
When the embodiments of the present application are specifically implemented, reference may be made to the above embodiments, and corresponding technical effects are achieved.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the Processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described herein may be implemented by means of units performing the functions described herein. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially implemented or make a contribution to the prior art, or may be implemented in the form of a software product stored in a storage medium and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, 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 an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is merely exemplary of the present application and is presented to enable those skilled in the art to understand and practice the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (10)
1. A method for generating a micro service for equipment health management is characterized by comprising the following steps:
acquiring target equipment configuration information, wherein the target equipment configuration information is used for indicating a plurality of function modules to be selected and logic relations among the function modules, which are applied to the target equipment;
selecting the functional modules from a health management functional pool according to the configuration information of the target equipment, wherein the health management functional pool stores various types of the functional modules;
and logically assembling the source codes corresponding to the plurality of functional modules according to the logical relationship indicated by the target equipment configuration information to obtain the micro service, wherein the micro service is used for monitoring the health state of the target equipment.
2. The method of claim 1, wherein prior to obtaining target device configuration information, the method further comprises building the health management function pool as follows:
acquiring a health management function source code;
generating the corresponding functional module according to the health management function source code;
building the health management function pool according to the function module, and uploading the health management function source code corresponding to the function module to a platform code warehouse;
and classifying the function modules in the health management function pool according to the types of the function modules, wherein the types comprise a diagnosis type, an evaluation type, a basic type, a data processing type, a fault mode type and a visualization template type.
3. The method of claim 2, wherein selecting the plurality of functional modules from a health management functional pool based on the target device configuration information comprises:
selecting a functional module for data processing according to the configuration information of the target equipment;
selecting a functional module corresponding to a target algorithm according to the configuration information of the target equipment;
and selecting a visual template corresponding to the visual operation of the user according to the configuration information of the target equipment.
4. The method of claim 2, wherein logically assembling the source codes corresponding to the plurality of functional modules according to the logical relationship indicated by the target device configuration information to obtain the micro service comprises:
extracting source codes corresponding to the plurality of functional modules from the platform code warehouse, wherein the platform code warehouse is used for storing the source codes corresponding to the plurality of types of functional modules;
and assembling the extracted source code according to the logical relationship among the plurality of functional modules indicated by the target equipment configuration information to obtain the micro service.
5. The method of claim 1, further comprising:
and packaging the micro-service into a service mirror image, and uploading the service mirror image to a mirror image warehouse.
6. The method of claim 1, further comprising:
a health management microservice cluster is deployed using a container cluster management tool and information for the microservices is registered with a service discovery center.
7. The method of claim 1, further comprising:
and running the micro service on line to perform test verification.
8. An apparatus for generating a micro service for managing health of a device, comprising:
the device comprises an information acquisition module, a storage module and a display module, wherein the information acquisition module is used for acquiring target device configuration information, and the target device configuration information is used for indicating a plurality of function modules to be selected and applied to the target device and logic relations among the function modules;
the function selection module is used for selecting the functional modules from a health management functional pool according to the configuration information of the target equipment, wherein the health management functional pool stores various types of the functional modules;
and the logic assembly module is used for logically assembling the source codes corresponding to the plurality of functional modules according to the logical relationship indicated by the target equipment configuration information to obtain the micro service, wherein the micro service is used for monitoring the health state of the target equipment.
9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method of any one of claims 1 to 7 when executing the computer program.
10. A computer-readable medium having non-volatile program code executable by a processor, wherein the program code causes the processor to perform the method of any of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010001974.7A CN111240910B (en) | 2020-01-02 | 2020-01-02 | Method, device, equipment and readable medium for generating equipment health management micro-service |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010001974.7A CN111240910B (en) | 2020-01-02 | 2020-01-02 | Method, device, equipment and readable medium for generating equipment health management micro-service |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111240910A true CN111240910A (en) | 2020-06-05 |
CN111240910B CN111240910B (en) | 2024-04-05 |
Family
ID=70875969
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010001974.7A Active CN111240910B (en) | 2020-01-02 | 2020-01-02 | Method, device, equipment and readable medium for generating equipment health management micro-service |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111240910B (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111708646A (en) * | 2020-06-16 | 2020-09-25 | 中国建设银行股份有限公司 | Method, device and system for realizing front-end service platform and storage medium |
CN111857738A (en) * | 2020-08-05 | 2020-10-30 | 北京千丁互联科技有限公司 | Privatization deployment method and device |
CN112732476A (en) * | 2021-01-26 | 2021-04-30 | 长威信息科技发展股份有限公司 | Fault positioning analysis method and system based on micro-service |
CN112737829A (en) * | 2020-12-23 | 2021-04-30 | 大连理工大学人工智能大连研究院 | Method and system for integrating fault diagnosis system of excavating equipment |
CN112788112A (en) * | 2020-12-30 | 2021-05-11 | 北京航天测控技术有限公司 | Automatic publishing method, device and platform for equipment health management micro-service |
CN113110981A (en) * | 2021-03-26 | 2021-07-13 | 北京中大科慧科技发展有限公司 | Air conditioner room health energy efficiency detection method for data center |
CN113568666A (en) * | 2021-06-07 | 2021-10-29 | 阿里巴巴新加坡控股有限公司 | Image processing method and device, storage medium and processor |
CN113791819A (en) * | 2021-03-05 | 2021-12-14 | 京东安联财产保险有限公司 | Interface document generation method and device, storage medium and electronic equipment |
CN115174643A (en) * | 2022-05-27 | 2022-10-11 | 青岛海尔科技有限公司 | Control method and device of terminal equipment, storage medium and electronic device |
WO2023245440A1 (en) * | 2022-06-21 | 2023-12-28 | 京东方科技集团股份有限公司 | Private space creation method and apparatus, device, and medium |
Citations (16)
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 |
CN105933448A (en) * | 2016-06-29 | 2016-09-07 | 江苏电力信息技术有限公司 | Self-managed micro-service architecture and service method thereof |
CN106227611A (en) * | 2016-07-26 | 2016-12-14 | 北京北森云计算股份有限公司 | The dynamic micro services call method of a kind of multilingual cloud compiling and device |
CN106293704A (en) * | 2016-07-26 | 2017-01-04 | 北京北森云计算股份有限公司 | Dynamic micro services edit methods, device and the server of multilingual cloud compiling |
CN106445556A (en) * | 2016-10-18 | 2017-02-22 | 中国银行股份有限公司 | Visualized code generation method and system thereof |
CN106612188A (en) * | 2015-10-21 | 2017-05-03 | 中兴通讯股份有限公司 | Method and device for extending software function based on micro service architecture |
US20170329588A1 (en) * | 2014-12-15 | 2017-11-16 | Telefonaktiebolaget Lm Ericsson (Publ) | Method and Deployment Module for Managing a Container to be Deployed on a Software Platform |
CN107977906A (en) * | 2017-12-18 | 2018-05-01 | 国网浙江省电力公司综合服务分公司 | Wisdom health dining room system |
CN109191008A (en) * | 2018-09-30 | 2019-01-11 | 江苏农牧科技职业学院 | A kind of micro services frame system for fish quality supervisory systems |
US20190026085A1 (en) * | 2017-07-21 | 2019-01-24 | Accenture Global Solutions Limited | Intelligent cloud engineering platform |
CN109445937A (en) * | 2018-10-17 | 2019-03-08 | 山东易通发展集团有限公司 | A kind of modularization programming and seamless execution method |
US20190086911A1 (en) * | 2017-09-15 | 2019-03-21 | General Electric Company | Machine health monitoring, failure detection and prediction using non-parametric data |
WO2019095936A1 (en) * | 2017-11-15 | 2019-05-23 | 腾讯科技(深圳)有限公司 | Method and system for building container mirror image, and server, apparatus and storage medium |
CN109951564A (en) * | 2019-03-29 | 2019-06-28 | 重庆忽米网络科技有限公司 | A kind of generation method of smart machine micro services |
CN110109686A (en) * | 2019-04-25 | 2019-08-09 | 中电科嘉兴新型智慧城市科技发展有限公司 | It is a kind of that O&M method and system is applied based on Container Management engine |
CN110244944A (en) * | 2019-08-12 | 2019-09-17 | 中国人民解放军国防科技大学 | Network security scanning function implementation method based on graphical programming |
-
2020
- 2020-01-02 CN CN202010001974.7A patent/CN111240910B/en active Active
Patent Citations (16)
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 |
US20170329588A1 (en) * | 2014-12-15 | 2017-11-16 | Telefonaktiebolaget Lm Ericsson (Publ) | Method and Deployment Module for Managing a Container to be Deployed on a Software Platform |
CN106612188A (en) * | 2015-10-21 | 2017-05-03 | 中兴通讯股份有限公司 | Method and device for extending software function based on micro service architecture |
CN105933448A (en) * | 2016-06-29 | 2016-09-07 | 江苏电力信息技术有限公司 | Self-managed micro-service architecture and service method thereof |
CN106227611A (en) * | 2016-07-26 | 2016-12-14 | 北京北森云计算股份有限公司 | The dynamic micro services call method of a kind of multilingual cloud compiling and device |
CN106293704A (en) * | 2016-07-26 | 2017-01-04 | 北京北森云计算股份有限公司 | Dynamic micro services edit methods, device and the server of multilingual cloud compiling |
CN106445556A (en) * | 2016-10-18 | 2017-02-22 | 中国银行股份有限公司 | Visualized code generation method and system thereof |
US20190026085A1 (en) * | 2017-07-21 | 2019-01-24 | Accenture Global Solutions Limited | Intelligent cloud engineering platform |
US20190086911A1 (en) * | 2017-09-15 | 2019-03-21 | General Electric Company | Machine health monitoring, failure detection and prediction using non-parametric data |
WO2019095936A1 (en) * | 2017-11-15 | 2019-05-23 | 腾讯科技(深圳)有限公司 | Method and system for building container mirror image, and server, apparatus and storage medium |
CN107977906A (en) * | 2017-12-18 | 2018-05-01 | 国网浙江省电力公司综合服务分公司 | Wisdom health dining room system |
CN109191008A (en) * | 2018-09-30 | 2019-01-11 | 江苏农牧科技职业学院 | A kind of micro services frame system for fish quality supervisory systems |
CN109445937A (en) * | 2018-10-17 | 2019-03-08 | 山东易通发展集团有限公司 | A kind of modularization programming and seamless execution method |
CN109951564A (en) * | 2019-03-29 | 2019-06-28 | 重庆忽米网络科技有限公司 | A kind of generation method of smart machine micro services |
CN110109686A (en) * | 2019-04-25 | 2019-08-09 | 中电科嘉兴新型智慧城市科技发展有限公司 | It is a kind of that O&M method and system is applied based on Container Management engine |
CN110244944A (en) * | 2019-08-12 | 2019-09-17 | 中国人民解放军国防科技大学 | Network security scanning function implementation method based on graphical programming |
Non-Patent Citations (2)
Title |
---|
KAPIL BAKSHI 等: "Microservices-based software architecture and approaches", 《2017 IEEE AEROSPACE CONFERENCE》, pages 1 - 8 * |
李斌: "基于大数据技术的轨道电路室外设备PHM研究", vol. 16, no. 12, pages 29 - 35 * |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111708646A (en) * | 2020-06-16 | 2020-09-25 | 中国建设银行股份有限公司 | Method, device and system for realizing front-end service platform and storage medium |
CN111857738A (en) * | 2020-08-05 | 2020-10-30 | 北京千丁互联科技有限公司 | Privatization deployment method and device |
CN112737829A (en) * | 2020-12-23 | 2021-04-30 | 大连理工大学人工智能大连研究院 | Method and system for integrating fault diagnosis system of excavating equipment |
CN112788112A (en) * | 2020-12-30 | 2021-05-11 | 北京航天测控技术有限公司 | Automatic publishing method, device and platform for equipment health management micro-service |
CN112732476B (en) * | 2021-01-26 | 2022-10-21 | 长威信息科技发展股份有限公司 | Fault positioning analysis method and system based on micro-service |
CN112732476A (en) * | 2021-01-26 | 2021-04-30 | 长威信息科技发展股份有限公司 | Fault positioning analysis method and system based on micro-service |
CN113791819A (en) * | 2021-03-05 | 2021-12-14 | 京东安联财产保险有限公司 | Interface document generation method and device, storage medium and electronic equipment |
CN113110981A (en) * | 2021-03-26 | 2021-07-13 | 北京中大科慧科技发展有限公司 | Air conditioner room health energy efficiency detection method for data center |
CN113110981B (en) * | 2021-03-26 | 2024-04-09 | 北京中大科慧科技发展有限公司 | Air conditioner room health energy efficiency detection method for data center |
CN113568666A (en) * | 2021-06-07 | 2021-10-29 | 阿里巴巴新加坡控股有限公司 | Image processing method and device, storage medium and processor |
CN113568666B (en) * | 2021-06-07 | 2024-05-24 | 阿里巴巴创新公司 | Image processing method, device, storage medium and processor |
CN115174643A (en) * | 2022-05-27 | 2022-10-11 | 青岛海尔科技有限公司 | Control method and device of terminal equipment, storage medium and electronic device |
WO2023245440A1 (en) * | 2022-06-21 | 2023-12-28 | 京东方科技集团股份有限公司 | Private space creation method and apparatus, device, and medium |
Also Published As
Publication number | Publication date |
---|---|
CN111240910B (en) | 2024-04-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111240910A (en) | Equipment health management micro-service generation method, device, equipment and readable medium | |
US10956213B1 (en) | Automated workflow creation and management | |
CA2936732C (en) | System for development of iot system architecture | |
US20180060066A1 (en) | Application Centric Continuous Integration and Delivery With Automated Service Assurance | |
EP3707594A1 (en) | Code module selection for device design | |
CN105577475B (en) | Automated performance testing system and method | |
US20110078510A1 (en) | Computer Software and Hardware Evaluation System and Device | |
US20160071023A1 (en) | Computing Instance Launch Time | |
JP2015526822A (en) | Compliance testing engine for integrated computer systems | |
CN108228452B (en) | Test method and test device based on simple factory mode | |
CN111340378B (en) | Product project scheduling method and related device | |
US8560606B2 (en) | Social network informed mashup creation | |
CN112698822B (en) | Application software development method, device, system architecture and working method | |
CN114430824B (en) | Mutation event detection for integrity monitoring | |
US20220091897A1 (en) | Rule-based assignment of event-driven application | |
CN112788112A (en) | Automatic publishing method, device and platform for equipment health management micro-service | |
CN115392501A (en) | Data acquisition method and device, electronic equipment and storage medium | |
CN113704077A (en) | Test case generation method and device | |
US11893383B2 (en) | Configuration properties management for software | |
CN111290937B (en) | Extensible mobile application automation test platform based on hybrid cloud | |
Andersen et al. | Wandering and getting lost: the architecture of an app activating local communities on dementia issues | |
CN114706856A (en) | Fault processing method and device, electronic equipment and computer readable storage medium | |
Nordin et al. | Using saas to enhance productivity for software developers: a systematic literature review | |
EP4004718A1 (en) | Discovery and resolution of network connected devices | |
CN115063905B (en) | Method and device for processing vehicle data, 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 |