CN117453562A - Health check method of multi-application computing framework and related equipment - Google Patents

Health check method of multi-application computing framework and related equipment Download PDF

Info

Publication number
CN117453562A
CN117453562A CN202311502304.3A CN202311502304A CN117453562A CN 117453562 A CN117453562 A CN 117453562A CN 202311502304 A CN202311502304 A CN 202311502304A CN 117453562 A CN117453562 A CN 117453562A
Authority
CN
China
Prior art keywords
health
health check
event
checking
check
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311502304.3A
Other languages
Chinese (zh)
Inventor
赵正浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Pacific Insurance Technology Co Ltd
Original Assignee
Pacific Insurance 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 Pacific Insurance Technology Co Ltd filed Critical Pacific Insurance Technology Co Ltd
Priority to CN202311502304.3A priority Critical patent/CN117453562A/en
Publication of CN117453562A publication Critical patent/CN117453562A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

In the health checking system provided by the application, a management terminal at a user side can send a health checking request to an application module through a preset health checking interface and receive a corresponding checking result, a health checking event corresponding to the health checking request is executed through a health checking unit in the application module, and the corresponding checking result is sent to a storage module through an asynchronous information sending unit in an asynchronous information method. And finally, the storage module sends the checking result of the health checking event to be consumed to the management terminal, so that a user can know the health checking result in time, the corresponding health checking result can be obtained by sending a corresponding health checking request and a health checking event consumption instruction, the computer frame is not required to be checked for health in a manual checking mode, and the health checking efficiency is improved.

Description

Health check method of multi-application computing framework and related equipment
Technical Field
The present disclosure relates to the field of computer science and technology, and in particular, to a health inspection method and related devices for a multi-application computing framework.
Background
A computer framework is a software framework that provides the infrastructure and functionality for developing and deploying various types of computer applications. They typically include a predefined set of components, libraries, and tools for simplifying the development process of the application. In the development, testing and production processes of computer frameworks, the complexity of the computer frameworks and the usage habits of different users sometimes cause various problems for the computer frameworks. Such as web policy issues, database table data volume issues, run mode issues, etc. Thus, periodic health checks on the computer frame are particularly important for proper operation of the computer frame. In the prior art, the computer frame is mainly subjected to health examination in a manual examination mode, and the efficiency of the health examination is low.
Therefore, how to solve the problem of low health inspection efficiency when the computer frame is subjected to health inspection in the prior art is a technical problem which needs to be solved by those skilled in the art.
Disclosure of Invention
Based on the above problems, in order to solve the problem of low health inspection efficiency when the health inspection is performed on the computer frame in the prior art, which is a technical problem that needs to be solved by those skilled in the art, the application provides a health inspection method and related equipment for a multi-application computing frame.
The embodiment of the application discloses the following technical scheme:
in a first aspect, the present application discloses a health check system of a multi-application computing framework, comprising: the system comprises a management terminal, an application module and a storage module; the management terminal comprises a preset health check interface; the application module comprises: a health checking unit and an asynchronous information transmitting unit;
the health check unit is used for executing a health check event corresponding to the health check request based on the health check request to obtain a check result corresponding to the health check event; the health check request is sent through the preset health check interface based on the management terminal;
the asynchronous information sending unit is used for sending the checking result corresponding to the health checking event to the storage module; the checking result corresponding to the health checking event is sent in the form of asynchronous information;
the storage module is used for sending the checking result corresponding to the health checking event consumption instruction to the management terminal through the preset health checking interface based on the health checking event consumption instruction; the health check event consumption instruction is generated based on the management terminal.
Optionally, the system includes: a plurality of health inspectors; the health checker is configured to perform the health check event; the health check unit is specifically configured to:
determining a first health checker corresponding to the health check request based on the health check request;
information calling is carried out on the first health checker, and a health check strategy and target check data corresponding to the health check request are obtained;
and carrying out health examination on the target examination data based on the health examination strategy to obtain an examination result corresponding to the health examination event.
Optionally, the asynchronous information sending unit is specifically configured to:
message packaging is carried out on the checking result corresponding to the health checking event to obtain a first message object; the first message object comprises an information receiving address corresponding to the health check request and the check result corresponding to the health check event;
and sending the first message object to the storage module.
Optionally, the preset health check interface is implemented based on a Spring container; the Spring container is a dependent injection container.
Optionally, the plurality of health inspectors include: the database connection checker, the operation mode checker, the interface vertical override checker and the audit log table quantity checker.
In a second aspect, the present application discloses a health check method for a multi-application computing framework, comprising:
based on a health check request, executing a health check event corresponding to the health check request to obtain a check result corresponding to the health check event; the health check request is sent through the preset health check interface based on the management terminal; the management terminal comprises a preset health check interface;
sending the checking result corresponding to the health checking event to a storage module; the checking result corresponding to the health checking event is sent in the form of asynchronous information; the storage module is used for storing the inspection results corresponding to the health inspection events;
based on a health check event consumption instruction, sending a check result corresponding to the health check event consumption instruction to the management terminal through the preset health check interface; the health check event consumption instruction is generated based on the management terminal.
Optionally, based on the health check request, executing a health check event corresponding to the health check request to obtain a check result corresponding to the health check event, which specifically includes:
determining a first health checker corresponding to the health check request based on the health check request; the first health checker is configured to perform the health check event;
information calling is carried out on the first health checker, and a health check strategy and target check data corresponding to the health check request are obtained;
and carrying out health examination on the target examination data based on the health examination strategy to obtain an examination result corresponding to the health examination event.
Optionally, the sending the inspection result corresponding to the health inspection event to a storage module specifically includes:
message packaging is carried out on the checking result corresponding to the health checking event to obtain a first message object; the first message object comprises an information receiving address corresponding to the health check request and the check result corresponding to the health check event;
and sending the first message object to the storage module.
In a third aspect, the present application discloses an electronic device, the device comprising: a processor, memory, system bus;
the processor and the memory are connected through the system bus;
the memory is for storing one or more programs, the one or more programs comprising instructions, which when executed by the processor, cause the processor to perform the health check method of the multi-application computing framework.
In a fourth aspect, the present application discloses a computer readable storage medium having stored thereon a computer program which when executed by a processor implements the method of health checking of a multi-application computing framework.
Compared with the prior art, the application has the following beneficial effects: the application provides a health check method of a multi-application computing framework and related equipment. Wherein, the management terminal comprises a preset health check interface and the application module comprises: and a health check unit and an asynchronous information transmitting unit. The health check unit is used for executing a health check event corresponding to the health check request based on the health check request to obtain a check result corresponding to the health check event; and the health check request is sent through the preset health check interface based on the management terminal. The asynchronous information sending unit is used for sending the checking result corresponding to the health checking event to the storage module; and sending the examination result corresponding to the health examination event in the form of asynchronous information. The storage module is used for sending the checking result corresponding to the health checking event consumption instruction to the management terminal through the preset health checking interface based on the health checking event consumption instruction; the health check event consumption instruction is generated based on the management terminal. In the system, the management terminal at the user side can send a health check request to the application module through the preset health check interface and receive corresponding check results, execute a health check event corresponding to the health check request through the health check unit in the application module, and send the check results corresponding to the health check event to the storage module through the asynchronous information sending unit in an asynchronous information method. The storage module stores the checking result corresponding to the health checking event and can send the checking result of the health checking event to be consumed to the management terminal based on the consumption instruction of the health checking event, so that a user can know the health checking result in time, and when the user at the management terminal wants to perform health checking on the computer frame, the user can obtain the corresponding health checking result based on the consumption instruction of the health checking event by sending out the corresponding health checking request, and the health checking of the computer frame is not required to be performed in a manual checking mode, so that the health checking efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive faculty for a person skilled in the art.
FIG. 1 is a schematic diagram of a health check system with a multi-application computing framework according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a health check system with a multi-application computing framework according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating a health checking method of a multi-application computing framework according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a health checking electronic device with a multi-application computing framework according to an embodiment of the present application.
Detailed Description
As described above, a computer framework is a software framework that provides the infrastructure and functionality for developing and deploying various types of computer applications. They typically include a predefined set of components, libraries, and tools for simplifying the development process of the application. In the development, testing and production processes of computer frameworks, the complexity of the computer frameworks and the usage habits of different users sometimes cause various problems for the computer frameworks. Such as web policy issues, database table data volume issues, run mode issues, etc. Thus, periodic health checks on the computer frame are particularly important for proper operation of the computer frame. In the prior art, the computer frame is mainly subjected to health examination in a manual examination mode, and the efficiency of the health examination is low.
Therefore, how to solve the problem of low health inspection efficiency when the computer frame is subjected to health inspection in the prior art is a technical problem which needs to be solved by those skilled in the art.
In order to solve the above problems, the present application provides a health checking method and related device for a multi-application computing framework, where the health checking system provided in the present application includes a management terminal, an application module, and a storage module. Wherein, the management terminal comprises a preset health check interface and the application module comprises: and a health check unit and an asynchronous information transmitting unit. The health check unit is used for executing a health check event corresponding to the health check request based on the health check request to obtain a check result corresponding to the health check event; and the health check request is sent through the preset health check interface based on the management terminal. The asynchronous information sending unit is used for sending the checking result corresponding to the health checking event to the storage module; and sending the examination result corresponding to the health examination event in the form of asynchronous information. The storage module is used for sending the checking result corresponding to the health checking event consumption instruction to the management terminal through the preset health checking interface based on the health checking event consumption instruction; the health check event consumption instruction is generated based on the management terminal. In the system, the management terminal at the user side can send a health check request to the application module through the preset health check interface and receive corresponding check results, execute a health check event corresponding to the health check request through the health check unit in the application module, and send the check results corresponding to the health check event to the storage module through the asynchronous information sending unit in an asynchronous information method. The storage module stores the checking result corresponding to the health checking event and can send the checking result of the health checking event to be consumed to the management terminal based on the consumption instruction of the health checking event, so that a user can know the health checking result in time, and when the user at the management terminal wants to perform health checking on the computer frame, the user can obtain the corresponding health checking result based on the consumption instruction of the health checking event by sending out the corresponding health checking request, and the health checking of the computer frame is not required to be performed in a manual checking mode, so that the health checking efficiency is improved.
In order to make the present application solution better understood by those skilled in the art, the following description will clearly and completely describe the technical solution in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, 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 disclosure.
Fig. 2 is a schematic diagram of a health checking system with a multi-application computing framework according to an embodiment of the present application, and in particular, the present application may be further understood with reference to fig. 2 and a schematic structural diagram of a health checking system with a multi-application computing framework provided in fig. 1 below.
Referring to fig. 1, the structure of a health checking system with a multi-application computing framework according to an embodiment of the present application is shown, where the health checking system includes a management terminal 100, an application module 200, and a storage module 300; the management terminal 100 includes a preset health check interface, and the application module includes a health check unit 400 and an asynchronous information transmission unit 500. The preset health check interface is mainly used for checking the health state of each module of the application program in the computer frame, and by calling the preset health check interface, a health check request for indicating health check can be sent, and a corresponding health check result is received, so that the health state of each program module in the computer frame is realized.
Specifically, the function of the preset health examination interface is mainly embodied in the following aspects:
monitoring the health state of the system: by calling a preset health check interface, the health status of each program module in the computer frame can be monitored. The preset health check interface can check whether various components, services, database connection and the like in the framework work normally, so that operation and maintenance personnel can be helped to find and solve potential problems in time.
Troubleshooting and fault isolation: when the frame fails or is not available, the preset health check interface can be used for quickly troubleshooting the cause of the failure. By checking the information returned by the preset health check interface, it can be determined whether the frame itself is problematic or the frame is unavailable due to an external dependency or a failure of the environment.
Automated operation and fault tolerance processing: the preset health check interface can be integrated with an automated operation and maintenance tool so as to realize the self-healing capability of the computer framework. When the health state of the whole frame or a specific program module is abnormal, the automation tool can automatically perform corresponding operations such as fault-tolerant processing, restarting service or adjusting load according to the information returned by the interface, so that the stability and usability of the whole frame are ensured.
Service registration and discovery: in a micro-service architecture, a preset health check interface may be used by a service registry for registration and discovery of services. The health check interface is called regularly to report the self health condition to the registration center, and the registration center decides whether to bring the service into the available service list according to the result returned by the interface, and can perform processing such as load balancing.
A health check unit 400, configured to execute a health check event corresponding to a health check request based on the health check request, and obtain a check result corresponding to the health check event; and the health check request is sent through the preset health check interface based on the management terminal.
The health check unit is used for executing health check events corresponding to the health check request through the health check request from the management terminal so as to obtain specific health check results. The health check unit determines an application program which needs to be subjected to health check in the computer framework according to the health check request when executing the health check event, and expands a specific health check flow. Specifically, the process of the health check unit executing the health check event based on the health check request is specifically performed by the following three steps:
step one, determining a first health checker corresponding to the health check request based on the health check request;
step two, carrying out information calling on the first health checker to obtain a health check strategy and target check data corresponding to the health check request;
and thirdly, performing health examination on the target examination data based on the health examination strategy to obtain an examination result corresponding to the health examination event.
In the health check system of the present embodiment, a plurality of health check devices are included, and the health check devices are used to execute health check events to monitor and check the running state of each application or component in the computer frame.
In the process of executing the health check event, the health check unit firstly determines a corresponding first health checker based on the health check request; the first health checker is used for health checking specific application programs or components in the computer framework, and logic for health checking is preset. And then, carrying out information calling on the first health checker to obtain a health check strategy adopted by the first health checker when the health check is executed and target check data embodied when the health check is executed. And finally, performing health examination on the target examination data based on the health examination strategy obtained by calling, namely completing the health examination event designated by the health examination request, thereby obtaining an examination result corresponding to the health examination event.
The health checker comprises a database connection checker, an operation mode checker, an interface vertical override checker and an audit log list quantity checker. Different health inspectors have different health inspection logic and target inspection data. For example, the audit log table number checker is configured to query the number of data records of the audit log table in the current module, and when the number of data records exceeds a preset value, set the result of the corresponding health check as dangerous. The operation mode checker is used for judging whether the current application program module starts the permission interception function, and if the permission interception function is not started at the moment, the corresponding health check result is set as dangerous.
An asynchronous information transmitting unit 500, configured to transmit the inspection result corresponding to the health inspection event to the storage module; and sending the examination result corresponding to the health examination event in the form of asynchronous information.
After the health check unit executes the health check event, the asynchronous information sending unit sends the corresponding check result to the storage module. Specifically, in the process of sending the inspection result to the storage module, the inspection result is sent in the form of asynchronous information. Specifically, the process of sending the inspection result to the storage module by the asynchronous information sending unit is realized by the following two steps:
step one, message packaging is carried out on the checking result corresponding to the health checking event to obtain a first message object; the first message object comprises an information receiving address corresponding to the health check request and the check result corresponding to the health check event;
and step two, the first message object is sent to the storage module.
In the process of sending the checking result of the health checking time to the storage module, the checking result is subjected to message encapsulation to obtain a first message object, and the first message object is sent to the storage module. The first message object comprises an information receiving address corresponding to the health check request and a check result. The information related to the checking result is packaged to obtain the information object, the checking result and the corresponding information receiving address can be uniformly defined as a standard information format for storage and transmission, so that the information sender and the information receiver can package and analyze the information according to the uniform information storage format, and the expansibility and the compatibility of the information transmission are ensured.
The storage module 300 is configured to send, based on a health check event consumption instruction, a check result corresponding to the health check event consumption instruction to the management terminal through the preset health check interface; the health check event consumption instruction is generated based on the management terminal;
the storage module stores the inspection results corresponding to the plurality of health inspection events, and when the storage module receives the consumption instruction of the health inspection events from the management terminal, the storage module sends the corresponding inspection results to the management terminal through a preset health inspection interface based on the consumption instruction. In a practical application scenario, the storage module may be a queue for storing asynchronous information, such as a message queue system, a distributed log storage system, a database table, a memory queue, and so on. The message queue system can store asynchronous messages in a queue manner, and provide high throughput, low delay, persistent storage and other characteristics to support decoupling and asynchronous communication between systems. Distributed log storage systems typically store messages in a log-based manner, providing high reliability, horizontal scalability, and persistent storage characteristics, suitable for asynchronous messaging in large-scale distributed systems. The specific information storage mode of the storage module can be selected according to practical situations, and the specific information storage mode of the storage module is not particularly limited.
As an optional implementation manner, the preset health check interface is implemented based on a Spring container; the Spring container is a dependent injection container.
The Spring container is one of the core components provided by the computer framework, which is responsible for creating, managing, and organizing the objects of the application. The Spring container provides a container environment in which the objects can be defined and configured using configuration files or annotations, and the objects can be instantiated and assembled according to the configurations and finally delivered to the application for use. The main roles of Spring containers include object management, dependency injection, declarative transaction management, etc. In particular, for dependency injection of Spring containers, the Spring containers support defining and managing dependencies between objects. By means of dependency injection, the container can automatically inject the dependency objects into the target objects without manually creating and managing the association relationships between the objects. Thus, the code can be simplified, and maintainability and expansibility are improved.
Therefore, the preset health check interface is realized based on the Spring injection function, and the health condition of the whole application program in the computer frame can be checked conveniently by injecting the preset health check interface into the Spring container. By calling the interface, the health status of the application program can be obtained, including database connection status, cache connection status, third party service connection status, and the like. This helps to discover and handle faults or anomalies in the application in the computer framework in a timely manner, improving the stability and reliability of the application.
The embodiment provides a health check system of a multi-application computing framework, which comprises a management terminal, an application module and a storage module. Wherein, the management terminal comprises a preset health check interface and the application module comprises: and a health check unit and an asynchronous information transmitting unit. The health check unit is used for executing a health check event corresponding to the health check request based on the health check request to obtain a check result corresponding to the health check event; and the health check request is sent through the preset health check interface based on the management terminal. The asynchronous information sending unit is used for sending the checking result corresponding to the health checking event to the storage module; and sending the examination result corresponding to the health examination event in the form of asynchronous information. The storage module is used for sending the checking result corresponding to the health checking event consumption instruction to the management terminal through the preset health checking interface based on the health checking event consumption instruction; the health check event consumption instruction is generated based on the management terminal. In the system, the management terminal at the user side can send a health check request to the application module through the preset health check interface and receive corresponding check results, execute a health check event corresponding to the health check request through the health check unit in the application module, and send the check results corresponding to the health check event to the storage module through the asynchronous information sending unit in an asynchronous information method. The storage module stores the checking result corresponding to the health checking event and can send the checking result of the health checking event to be consumed to the management terminal based on the consumption instruction of the health checking event, so that a user can know the health checking result in time, and when the user at the management terminal wants to perform health checking on the computer frame, the user can obtain the corresponding health checking result based on the consumption instruction of the health checking event by sending out the corresponding health checking request, and the health checking of the computer frame is not required to be performed in a manual checking mode, so that the health checking efficiency is improved.
The following describes a method for checking health of a multi-application computing framework according to an embodiment of the present application, where the method for checking health of a multi-application computing framework described below and the system for checking health of a multi-application computing framework described above may be referred to correspondingly.
Referring to fig. 3, the flow chart of a health checking method of a multi-application computing framework according to an embodiment of the present application specifically includes the following steps:
s101: based on a health check request, executing a health check event corresponding to the health check request to obtain a check result corresponding to the health check event; the health check request is sent through the preset health check interface based on the management terminal; the management terminal comprises a preset health check interface;
s102: sending the checking result corresponding to the health checking event to a storage module; the checking result corresponding to the health checking event is sent in the form of asynchronous information; the storage module is used for storing the inspection results corresponding to the health inspection events;
s103: based on a health check event consumption instruction, sending a check result corresponding to the health check event consumption instruction to the management terminal through the preset health check interface; the health check event consumption instruction is generated based on the management terminal.
Optionally, based on the health check request, executing a health check event corresponding to the health check request to obtain a check result corresponding to the health check event, which specifically includes:
determining a first health checker corresponding to the health check request based on the health check request; the first health checker is configured to perform the health check event;
information calling is carried out on the first health checker, and a health check strategy and target check data corresponding to the health check request are obtained;
and carrying out health examination on the target examination data based on the health examination strategy to obtain an examination result corresponding to the health examination event.
Optionally, the sending the inspection result corresponding to the health inspection event to a storage module specifically includes:
message packaging is carried out on the checking result corresponding to the health checking event to obtain a first message object; the first message object comprises an information receiving address corresponding to the health check request and the check result corresponding to the health check event;
and sending the first message object to the storage module.
Optionally, the preset health check interface is implemented based on a Spring container; the Spring container is a dependent injection container.
Optionally, the plurality of health inspectors include: the database connection checker, the operation mode checker, the interface vertical override checker and the audit log table quantity checker.
Referring to fig. 4, the structure of a health checking electronic device with a multi-application computing framework according to an embodiment of the present application includes:
a memory 11 for storing a computer program;
a processor 12 for implementing the steps of a health check method of a multi-application computing framework as described in any of the method embodiments above when executing the computer program.
In this embodiment, the device may be a vehicle-mounted computer, a PC (Personal Computer ), or a terminal device such as a smart phone, a tablet computer, a palm computer, or a portable computer.
The device may include a memory 11, a processor 12, and a bus 13.
The memory 11 includes at least one type of readable storage medium including flash memory, a hard disk, a multimedia card, a card memory (e.g., SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, etc. The memory 11 may in some embodiments be an internal storage unit of the device, such as a hard disk of the device. The memory 11 may in other embodiments also be an external storage device of the device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash Card (Flash Card) or the like, which are provided on the device. Further, the memory 11 may also include both an internal storage unit of the device and an external storage device. The memory 11 may be used not only for storing application software installed in the device and various types of data, such as program codes for executing a failure prediction method, etc., but also for temporarily storing data that has been output or is to be output. The processor 12 may be a central processing unit (Central Processing Unit, CPU) in some embodiments.
The processor 12 may in some embodiments be a central processing unit (Central Processing unit, CPU), controller, microcontroller, microprocessor or other data processing chip for executing program code or processing data stored in the memory 11, such as program code for performing a fault prediction method, etc.
The bus 13 may be a peripheral component interconnect standard (peripheral component interconnect, PCI) bus, or an extended industry standard architecture (extended industry standard architecture, EISA) bus, among others. The bus may be classified as an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in fig. 4, but not only one bus or one type of bus.
Further, the device may also include a network interface 14, and the network interface 14 may optionally include a wired interface and/or a wireless interface (e.g., WI-FI interface, bluetooth interface, etc.), typically used to establish a communication connection between the device and other electronic devices.
Optionally, the device may further comprise a user interface 15, the user interface 15 may comprise a Display (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 15 may further comprise a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-emitting diode) touch, or the like. The display may also be referred to as a display screen or display unit, as appropriate, for displaying information processed in the device and for displaying a visual user interface.
Fig. 4 shows only a device having components 11-15, it will be understood by those skilled in the art that the configuration shown in fig. 4 is not limiting of the device and may include fewer or more components than shown, or may combine certain components, or a different arrangement of components.
It should be noted that, in the present specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment is mainly described in a different point from other embodiments. In particular, for methods, systems, electronic devices, and computer storage media, since they are substantially similar to the method embodiments, the description is simpler, with reference to the description of the method embodiments in part. The methods, systems, electronic devices, and computer storage media described above are illustrative only, and the elements described as separate elements may or may not be physically separate, and elements as hints for elements may or may not be physical elements, may be located in one place, or may be distributed over multiple network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
The foregoing is merely one specific embodiment of the present application, but the protection scope of the present application is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present application should be covered in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A health check system of a multi-application computing framework, comprising: the system comprises a management terminal, an application module and a storage module; the management terminal comprises a preset health check interface; the application module comprises: a health checking unit and an asynchronous information transmitting unit;
the health check unit is used for executing a health check event corresponding to the health check request based on the health check request to obtain a check result corresponding to the health check event; the health check request is sent through the preset health check interface based on the management terminal;
the asynchronous information sending unit is used for sending the checking result corresponding to the health checking event to the storage module; the checking result corresponding to the health checking event is sent in the form of asynchronous information;
the storage module is used for sending the checking result corresponding to the health checking event consumption instruction to the management terminal through the preset health checking interface based on the health checking event consumption instruction; the health check event consumption instruction is generated based on the management terminal.
2. The system according to claim 1, characterized in that the system comprises: a plurality of health inspectors; the health checker is configured to perform the health check event; the health check unit is specifically configured to:
determining a first health checker corresponding to the health check request based on the health check request;
information calling is carried out on the first health checker, and a health check strategy and target check data corresponding to the health check request are obtained;
and carrying out health examination on the target examination data based on the health examination strategy to obtain an examination result corresponding to the health examination event.
3. The system according to claim 1, wherein the asynchronous information sending unit is specifically configured to:
message packaging is carried out on the checking result corresponding to the health checking event to obtain a first message object; the first message object comprises an information receiving address corresponding to the health check request and the check result corresponding to the health check event;
and sending the first message object to the storage module.
4. The system of claim 1, wherein the preset health check interface is implemented based on a Spring container; the Spring container is a dependent injection container.
5. The system of claim 2, wherein the plurality of health inspectors comprises: the database connection checker, the operation mode checker, the interface vertical override checker and the audit log table quantity checker.
6. A method for health checking of a multi-application computing framework, comprising:
based on a health check request, executing a health check event corresponding to the health check request to obtain a check result corresponding to the health check event; the health check request is sent through the preset health check interface based on the management terminal; the management terminal comprises a preset health check interface;
sending the checking result corresponding to the health checking event to a storage module; the checking result corresponding to the health checking event is sent in the form of asynchronous information; the storage module is used for storing the inspection results corresponding to the health inspection events;
based on a health check event consumption instruction, sending a check result corresponding to the health check event consumption instruction to the management terminal through the preset health check interface; the health check event consumption instruction is generated based on the management terminal.
7. The method according to claim 6, wherein the executing the health check event corresponding to the health check request based on the health check request, to obtain the check result corresponding to the health check event, specifically comprises:
determining a first health checker corresponding to the health check request based on the health check request; the first health checker is configured to perform the health check event;
information calling is carried out on the first health checker, and a health check strategy and target check data corresponding to the health check request are obtained;
and carrying out health examination on the target examination data based on the health examination strategy to obtain an examination result corresponding to the health examination event.
8. The method according to claim 6, wherein the sending the test result corresponding to the health test event to a storage module specifically comprises:
message packaging is carried out on the checking result corresponding to the health checking event to obtain a first message object; the first message object comprises an information receiving address corresponding to the health check request and the check result corresponding to the health check event;
and sending the first message object to the storage module.
9. An electronic device, the device comprising: a processor, memory, system bus;
the processor and the memory are connected through the system bus;
the memory is for storing one or more programs, the one or more programs comprising instructions, which when executed by the processor, cause the processor to perform the health check method of the multi-application computing framework of any of claims 6-8.
10. A computer readable storage medium having stored thereon a computer program, characterized in that the program, when executed by a processor, implements a health check method of a multi-application computing framework as claimed in any of claims 6-8.
CN202311502304.3A 2023-11-10 2023-11-10 Health check method of multi-application computing framework and related equipment Pending CN117453562A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311502304.3A CN117453562A (en) 2023-11-10 2023-11-10 Health check method of multi-application computing framework and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311502304.3A CN117453562A (en) 2023-11-10 2023-11-10 Health check method of multi-application computing framework and related equipment

Publications (1)

Publication Number Publication Date
CN117453562A true CN117453562A (en) 2024-01-26

Family

ID=89585222

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311502304.3A Pending CN117453562A (en) 2023-11-10 2023-11-10 Health check method of multi-application computing framework and related equipment

Country Status (1)

Country Link
CN (1) CN117453562A (en)

Similar Documents

Publication Publication Date Title
CN103201724B (en) Providing application high availability in highly-available virtual machine environments
CN111245900B (en) Distributed message sending processing system and processing method thereof
CN111881014B (en) System test method, device, storage medium and electronic equipment
CN113900834B (en) Data processing method, device, equipment and storage medium based on Internet of things technology
CN115328752B (en) Cluster simulation method and system for Kubernetes control plane test
CN106406980B (en) A kind of dispositions method and device of virtual machine
CN111782456B (en) Anomaly detection method, device, computer equipment and storage medium
CN112764956A (en) Database exception handling system, and database exception handling method and device
CN112015815B (en) Data synchronization method, device and computer readable storage medium
CN114168471A (en) Test method, test device, electronic equipment and storage medium
JP6015750B2 (en) Log collection server, log collection system, and log collection method
WO2023185266A1 (en) Automatic detection method, single board, electronic device and storage medium
CN117453562A (en) Health check method of multi-application computing framework and related equipment
CN105338058A (en) Application updating method and device
CN114449040A (en) Configuration issuing method and device based on cloud platform
CN105808348A (en) Data service scheduling apparatus, system and method
CN109669867B (en) Test apparatus, automated test method, and computer-readable storage medium
CN111600928B (en) Simulation service control method, intelligent terminal and storage medium
CN104956355A (en) Distributed test system architecture
CN108920164A (en) The management method and device of host in cloud computing system
CN113542387B (en) System release method and device, electronic equipment and storage medium
CN110347584B (en) Method and device for testing and adjusting credit card policy package, electronic equipment and medium
CN117997715A (en) Alarm processing method, device, equipment, storage medium and program product
CN116939014A (en) Decoupling control distribution method, device and equipment for system events and storage medium
CN116258461A (en) Service flow arranging method, execution method and 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