CN115757031A - Application process processing method, device, equipment and medium - Google Patents
Application process processing method, device, equipment and medium Download PDFInfo
- Publication number
- CN115757031A CN115757031A CN202211447925.1A CN202211447925A CN115757031A CN 115757031 A CN115757031 A CN 115757031A CN 202211447925 A CN202211447925 A CN 202211447925A CN 115757031 A CN115757031 A CN 115757031A
- Authority
- CN
- China
- Prior art keywords
- monitoring information
- application process
- determining
- monitoring
- result
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 243
- 230000008569 process Effects 0.000 title claims abstract description 217
- 238000003672 processing method Methods 0.000 title claims description 17
- 238000012544 monitoring process Methods 0.000 claims abstract description 202
- 238000011084 recovery Methods 0.000 claims abstract description 66
- 230000036541 health Effects 0.000 claims abstract description 42
- 230000009471 action Effects 0.000 claims abstract description 19
- 238000012545 processing Methods 0.000 claims abstract description 19
- 230000006870 function Effects 0.000 claims description 26
- 238000004590 computer program Methods 0.000 claims description 16
- 238000004364 calculation method Methods 0.000 claims description 14
- 230000002159 abnormal effect Effects 0.000 abstract description 16
- 238000004891 communication Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 5
- 125000000524 functional group Chemical group 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 3
- 230000002349 favourable effect Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 206010000117 Abnormal behaviour Diseases 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000001953 sensory effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a method, a device, equipment and a medium for processing an application process. The method comprises the following steps: determining monitoring information of an application process through a health management process; determining a recovery judgment result of the application process according to the monitoring information through a health management process; and switching the application process to the expected function group state according to the preset recovery action by the state management process according to the recovery judgment result. The technical scheme solves the problems of low monitoring efficiency and slow abnormal recovery of the application process, and can ensure the timeliness of the abnormal recovery while improving the monitoring efficiency.
Description
Technical Field
The present invention relates to the field of process monitoring technologies, and in particular, to a method, an apparatus, a device, and a medium for processing an application process.
Background
With the rapid development of electronic control and communication systems, the complexity of automobile systems is increasing, and functional safety has become a considerable problem. Developers need to predict errors that may occur in advance to avoid or mitigate the effects caused by the errors.
At present, a microprocessor of an automobile is usually deployed with a portable operating system, and various application processes run on the operating system. Monitoring and reporting abnormal states of all application processes are achieved through the daemon process, the server sends the repairing components, and abnormal repairing is conducted on the application processes.
However, in the prior art, it is difficult to ensure the timeliness of exception acquisition during the running process of the application process, and it is also difficult to realize the rapid recovery of the abnormal application process.
Disclosure of Invention
The invention provides a processing method, a processing device, processing equipment and a processing medium of an application process, which are used for solving the problems of low monitoring efficiency and slow abnormal recovery of the application process and can ensure the timeliness of the abnormal recovery while improving the monitoring efficiency.
According to an aspect of the present invention, there is provided a method for processing an application process, the method including:
determining monitoring information of an application process through a health management process;
determining a recovery judgment result of the application process according to the monitoring information through a health management process;
and switching the application process to the expected function group state according to the preset recovery action by the state management process according to the recovery judgment result.
According to another aspect of the present invention, there is provided an apparatus for processing an application process, the apparatus comprising:
the monitoring information determining module is used for determining the monitoring information of the application process through the health management process;
a recovery judgment result determining module, configured to determine a recovery judgment result of the application process according to the monitoring information through a health management process;
and the state switching module is used for switching the application process to the expected function group state according to the preset recovery action through the state management process according to the recovery judgment result.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform a method of processing an application process according to any of the embodiments of the present invention.
According to another aspect of the present invention, there is provided a computer-readable storage medium storing computer instructions for causing a processor to implement a processing method of an application process according to any one of the embodiments of the present invention when the computer instructions are executed.
According to the technical scheme of the embodiment of the invention, the monitoring information of the application process is determined through the health management process; determining a recovery judgment result of the application process according to the monitoring information through the health management process; and switching the application process to the expected function group state according to the preset recovery action by the state management process according to the recovery judgment result. The scheme solves the problems of low monitoring efficiency and slow abnormal recovery of the application process, and can ensure the timeliness of the abnormal recovery while improving the monitoring efficiency.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present invention, nor do they necessarily limit the scope of the invention. Other features of the present invention will become apparent from the following description.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of a processing method of an application process according to an embodiment of the present invention;
fig. 2 is a flowchart of a processing method of an application process according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a processing apparatus for an application process according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device implementing a processing method of an application process according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the 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 invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, apparatus, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. According to the technical scheme, the data acquisition, storage, use, processing and the like meet relevant regulations of national laws and regulations.
Example one
Fig. 1 is a flowchart of a processing method for an application process according to an embodiment of the present invention, where the embodiment is applicable to a monitoring and recovery scenario of the application process, and the method may be executed by a processing apparatus for the application process, where the apparatus may be implemented in a form of hardware and/or software, and the apparatus may be configured in an electronic device. As shown in fig. 1, the method includes:
and S110, determining the monitoring information of the application process through the health management process.
The scheme can be executed by an automobile controller, and a portable operating system is deployed on the automobile controller. On the basis of the portable operating system, the automobile controller can manage various applications in a process unit. After the portable operating system completes initialization, the automobile controller may start executing a management process to manage the start and stop of application processes, daemon processes, and the like. It will be appreciated that the execution of the application process is dependent on the state of the functional group. After executing the management process start, the vehicle controller may start the state management process and the health management process at the same time.
It is understood that the health management process may be used to monitor the running state of the application process, and the state management process may be used to implement switching of the state of the functional group. Thus, monitoring information for the application process may be determined by the health management process. The monitoring information may include lifecycle monitoring information, expiration date monitoring information, logic monitoring information, and status monitoring information.
And S120, determining a recovery judgment result of the application process according to the monitoring information through a health management process.
The automobile controller can judge the running condition of the application process according to the monitoring information through the health management process, and further determine whether the application process needs to perform recovery actions, which recovery actions need to be executed and the like. The recovery determination result may include a recovery action that the application process needs to perform.
And S130, switching the application process to the expected function group state according to a preset recovery action through the state management process according to the recovery judgment result.
The automobile controller can switch the application process to the preset expected function group state of the application process through the recovery action which needs to be executed by the state management process according to the application process and the preset recovery action so as to realize the accurate execution of the application process and further improve the software running efficiency.
The technical scheme determines the monitoring information of the application process through the health management process; determining a recovery judgment result of the application process according to the monitoring information through the health management process; and switching the application process to the expected function group state according to the preset recovery action by the state management process according to the recovery judgment result. The scheme solves the problems of low monitoring efficiency and slow abnormal recovery of the application process, and can ensure the timeliness of the abnormal recovery while improving the monitoring efficiency.
Example two
Fig. 2 is a flowchart of a processing method of an application process according to a second embodiment of the present invention, which is detailed based on the second embodiment. As shown in fig. 2, the method includes:
and S210, determining the monitoring information of the application process through the health management process.
In this scheme, optionally, the determining, by the health management process, the monitoring information of the application process includes:
and determining life cycle monitoring information, expiration date monitoring information and logic monitoring information of the application process through the checkpoint reporting information of the application process acquired by the health management process.
The determining the monitoring information of the application process through the health management process includes:
and determining the state monitoring information of the application process through the state reporting information of the application process acquired by the health management process.
In this embodiment, the monitoring information may include life cycle monitoring information, expiration date monitoring information, logic monitoring information, and status monitoring information. The automobile controller can determine the life cycle monitoring information, the expiration date monitoring information and the logic monitoring information of the application process through the check point reporting information of the application process acquired by the health management process. The checkpoint reporting information may include reporting time of checkpoints, number of checkpoints, reporting number, reporting order of checkpoints, and the like.
The life cycle monitoring information may be monitoring information that the health management process reports whether the application process performs a preset check point according to a preset cycle. The monitoring information of the expiration date can be monitoring information of whether the health management process finishes reporting all the preset check points according to the preset time length or not. The logic monitoring information may be monitoring information that the health management process reports whether all the preset check points are completed according to a preset sequence to the application process.
Similarly, the automobile controller may also determine the state monitoring information of the application process through the state reporting information of the application process acquired by the health management process. The state monitoring information may be monitoring information that the health management process reports to the application process according to the state information in the preset range.
The scheme can acquire multi-dimensional monitoring information of the application process, and is favorable for comprehensively monitoring the application process.
S220, determining an overall monitoring result according to the life cycle monitoring information, the expiration date monitoring information and the logic monitoring information, and determining a channel monitoring result according to the state monitoring information and the expected state acquired in advance.
It will be appreciated that a function is typically performed by one or more application processes, each function being performed by one or more application processesGroup ofCertain logic relation exists between the associated application processes. The automobile controller can determine the overall monitoring result of the functional group realized by each application process according to the life cycle monitoring information, the expiration date monitoring information and the logic monitoring information of each application process. And comparing the state monitoring information of the application process with the expected state of the application process, and judging whether the state of the application process is consistent with the expected state by the automobile controller so as to obtain a channel monitoring result.
In a feasible solution, the determining an overall monitoring result according to the lifecycle monitoring information, the expiration date monitoring information, and the logic monitoring information includes:
and determining the whole monitoring result according to the life cycle monitoring information, the expiration date monitoring information and the logic monitoring information and the preset permutation and combination logic.
The automobile controller can determine the whole monitoring result according to the permutation and combination logic of the application processes associated with the function group for the life cycle monitoring information, the expiration date monitoring information and the logic monitoring information of the application processes. For example, there are 4 application processes associated with the target function, which are respectively application process a, application process B, application process C, and application process D, and the permutation and combination logic is application process C- > application process a- > application process D- > application process B. The automobile controller can judge the whole monitoring result of the functional group according to the life cycle monitoring information, the expiration date monitoring information and the logic monitoring information of each application process. And if the life cycle monitoring information, the expiration date monitoring information and the logic monitoring information of each application process are normal, the overall monitoring result is normal. And if at least one monitoring information of the application process in the life cycle monitoring information, the expiration date monitoring information and the logic monitoring information is abnormal, the overall monitoring result is abnormal.
The method and the device can determine the integral monitoring result consisting of a plurality of application processes, and are favorable for macroscopically examining the operating condition of the application processes from the angle of the functional group.
In this scheme, optionally, the determining a channel monitoring result according to the state monitoring information and the pre-obtained expected state includes:
if the state monitoring information is matched with the expected state which is obtained in advance, determining that the channel monitoring result is successful;
and if the state monitoring information does not match with the expected state acquired in advance, determining that the channel monitoring result is failure.
The automobile controller may compare the state monitoring information of each application process with the expected state, and if it is determined that the state of the application process is consistent with the expected state according to the state monitoring trust, it is determined that the channel monitoring result is successful. Otherwise, if the state of the application process is determined to be inconsistent with the expected state according to the state monitoring trust, the channel monitoring result is determined to be failure.
And S230, determining a recovery judgment result of the application process according to the overall monitoring result and the channel monitoring result.
The automobile controller can combine the whole monitoring result with the channel monitoring result to be used as a judgment basis for the recovery judgment result of the application process, and the accurate judgment of the application process is facilitated.
In this embodiment, optionally, the determining a recovery determination result of the application process according to the overall monitoring result and the channel monitoring result includes:
determining a logic calculation result according to the overall monitoring result and the channel monitoring result and a preset logic calculation mode; wherein the logic calculation mode comprises one or more of AND, OR, NOT, XOR and XNOR;
and determining a recovery judgment result of the application process according to the comparison result of the logic calculation result and the preset function group state of the application process.
The automobile controller can preset a logic expression, and calculate the whole monitoring result and the channel monitoring result by adopting logic calculation modes such as AND, OR, NOT, XOR, XNOR and the like. And judging the logic calculation result according to the preset expected function group state, and determining the recovery action required to be executed in the normal state or the recovery action required to be executed in the abnormal state.
The automobile controller can identify the abnormal behavior of the application process by monitoring the detection points and the states through the health management process. The automobile controller can trigger the state management module according to the overall monitoring result and the channel monitoring result, and the specific function group is switched to the specific function group state through the state management module. Because the starting of the application process depends on the state of the function group, the application process depending on the state of the specific function group is pulled up, and the process depending on the state of other function groups is closed, thereby realizing the unified monitoring and management of each application process on the system.
And S240, switching the application process to the expected function group state according to the preset recovery action through the state management process according to the recovery judgment result.
The technical scheme determines the monitoring information of the application process through the health management process; determining a recovery judgment result of the application process according to the monitoring information through the health management process; and switching the application process to the expected function group state according to the preset recovery action by the state management process according to the recovery judgment result. The scheme solves the problems of low monitoring efficiency and slow abnormal recovery of the application process, and can ensure the timeliness of the abnormal recovery while improving the monitoring efficiency.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a processing device for application processes according to a third embodiment of the present invention. As shown in fig. 3, the apparatus includes:
a monitoring information determining module 310, configured to determine monitoring information of an application process through a health management process;
a recovery determination result determining module 320, configured to determine, by the health management process, a recovery determination result of the application process according to the monitoring information;
and a state switching module 330, configured to switch, by the state management process according to the recovery determination result, the application process to the expected function group state according to a preset recovery action.
In this scheme, optionally, the monitoring information includes life cycle monitoring information, expiration date monitoring information, logic monitoring information, and state monitoring information;
the recovery determination result determining module 320 includes:
the monitoring result determining unit is used for determining an integral monitoring result according to the life cycle monitoring information, the expiration date monitoring information and the logic monitoring information, and determining a channel monitoring result according to the state monitoring information and a pre-acquired expected state;
and the judgment result determining unit is used for determining the recovery judgment result of the application process according to the overall monitoring result and the channel monitoring result.
On the basis of the foregoing scheme, optionally, the monitoring result determining unit is specifically configured to:
and determining the whole monitoring result according to the life cycle monitoring information, the expiration date monitoring information and the logic monitoring information and the preset permutation and combination logic.
In a possible solution, the monitoring result determining unit is specifically configured to:
if the state monitoring information is matched with the expected state which is obtained in advance, determining that the channel monitoring result is successful;
and if the state monitoring information does not match with the expected state acquired in advance, determining that the channel monitoring result is failure.
Optionally, the determination result determining unit is specifically configured to:
determining a logic calculation result according to the overall monitoring result and the channel monitoring result and a preset logic calculation mode; wherein the logic calculation mode comprises one or more of AND, OR, NOT, XOR and XNOR;
and determining a recovery judgment result of the application process according to the comparison result of the logic calculation result and the preset function group state of the application process.
In this embodiment, optionally, the monitoring information determining module 310 is specifically configured to:
and determining life cycle monitoring information, expiration date monitoring information and logic monitoring information of the application process through the checkpoint reporting information of the application process acquired by the health management process.
In a preferred embodiment, the monitoring information determining module 310 is specifically configured to:
and determining the state monitoring information of the application process through the state reporting information of the application process acquired by the health management process.
The processing device of the application process provided by the embodiment of the invention can execute the processing method of the application process provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example four
FIG. 4 illustrates a block diagram of an electronic device 410 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 4, the electronic device 410 includes at least one processor 411, and a memory communicatively connected to the at least one processor 411, such as a Read Only Memory (ROM) 412, a Random Access Memory (RAM) 413, and the like, wherein the memory stores computer programs executable by the at least one processor, and the processor 411 may perform various appropriate actions and processes according to the computer programs stored in the Read Only Memory (ROM) 412 or the computer programs loaded from the storage unit 418 into the Random Access Memory (RAM) 413. In the RAM 413, various programs and data required for the operation of the electronic device 410 can also be stored. The processor 411, the ROM 412, and the RAM 413 are connected to each other through a bus 414. An input/output (I/O) interface 415 is also connected to bus 414.
Various components in the electronic device 410 are connected to the I/O interface 415, including: an input unit 416 such as a keyboard, a mouse, or the like; an output unit 417 such as various types of displays, speakers, and the like; a storage unit 418, such as a magnetic disk, optical disk, or the like; and a communication unit 419 such as a network card, modem, wireless communication transceiver, or the like. The communication unit 419 allows the electronic device 410 to exchange information/data with other devices through a computer network such as the internet and/or various telecommunication networks.
In some embodiments, the processing methods of the application processes may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as storage unit 418. In some embodiments, part or all of the computer program may be loaded and/or installed onto electronic device 410 via ROM 412 and/or communications unit 419. When loaded into RAM 413 and executed by processor 411, may perform one or more of the steps of the processing method of the application process described above. Alternatively, in other embodiments, the processor 411 may be configured by any other suitable means (e.g., by means of firmware) to execute the processing method of the application process.
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be performed. A computer program can execute entirely on a machine, partly on a machine, as a stand-alone software package partly on a machine and partly on a remote machine or entirely on a remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service are overcome.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present invention may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired results of the technical solution of the present invention can be achieved.
The above-described embodiments should not be construed as limiting the scope of the invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (10)
1. A processing method of an application process is characterized by comprising the following steps:
determining monitoring information of an application process through a health management process;
determining a recovery judgment result of the application process according to the monitoring information through a health management process;
and switching the application process to the expected function group state according to the preset recovery action by the state management process according to the recovery judgment result.
2. The method of claim 1, wherein the monitoring information includes lifecycle monitoring information, expiration date monitoring information, logic monitoring information, and status monitoring information;
the determining a recovery determination result of the application process according to the monitoring information includes:
determining an overall monitoring result according to the life cycle monitoring information, the expiration date monitoring information and the logic monitoring information, and determining a channel monitoring result according to the state monitoring information and a pre-acquired expected state;
and determining a recovery judgment result of the application process according to the overall monitoring result and the channel monitoring result.
3. The method of claim 2, wherein determining the overall monitoring result from the lifecycle monitoring information, the expiration date monitoring information, and the logic monitoring information comprises:
and determining the whole monitoring result according to the life cycle monitoring information, the expiration date monitoring information and the logic monitoring information and the preset permutation and combination logic.
4. The method of claim 2, wherein determining the channel monitoring result according to the status monitoring information and the pre-obtained expected status comprises:
if the state monitoring information is matched with the expected state obtained in advance, determining that the channel monitoring result is successful;
and if the state monitoring information does not match with the expected state acquired in advance, determining that the channel monitoring result is failure.
5. The method according to claim 2, wherein determining the recovery determination result of the application process according to the overall monitoring result and the channel monitoring result comprises:
determining a logic calculation result according to the overall monitoring result and the channel monitoring result and a preset logic calculation mode; wherein the logic calculation mode comprises one or more of AND, OR, NOT, XOR and XNOR;
and determining a recovery judgment result of the application process according to the comparison result of the logic calculation result and the preset function group state of the application process.
6. The method of claim 2, wherein determining the monitoring information of the application process by the health management process comprises:
and determining the life cycle monitoring information, the expiration date monitoring information and the logic monitoring information of the application process through the checkpoint reporting information of the application process acquired by the health management process.
7. The method of claim 2, wherein determining the monitoring information of the application process by the health management process comprises:
and determining the state monitoring information of the application process through the state reporting information of the application process acquired by the health management process.
8. An apparatus for processing an application process, the apparatus comprising:
the monitoring information determining module is used for determining the monitoring information of the application process through the health management process;
a recovery determination result determining module, configured to determine a recovery determination result of the application process according to the monitoring information through a health management process;
and the state switching module is used for switching the application process to the expected function group state according to the preset recovery action through the state management process according to the recovery judgment result.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform the processing method of the application process of any one of claims 1-7.
10. A computer-readable storage medium, having stored thereon computer instructions for causing a processor, when executing the computer instructions, to implement the processing method of the application process of any one of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211447925.1A CN115757031A (en) | 2022-11-18 | 2022-11-18 | Application process processing method, device, equipment and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211447925.1A CN115757031A (en) | 2022-11-18 | 2022-11-18 | Application process processing method, device, equipment and medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115757031A true CN115757031A (en) | 2023-03-07 |
Family
ID=85373379
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211447925.1A Pending CN115757031A (en) | 2022-11-18 | 2022-11-18 | Application process processing method, device, equipment and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115757031A (en) |
-
2022
- 2022-11-18 CN CN202211447925.1A patent/CN115757031A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN115598505A (en) | Chip detection method, device, equipment and storage medium | |
CN114416284A (en) | Distributed operating system control method, apparatus, device, medium, and program product | |
US11347628B2 (en) | Test case generation apparatus, test case generation method, and computer readable medium | |
CN116401113B (en) | Environment verification method, device and medium for heterogeneous many-core architecture acceleration card | |
CN115757031A (en) | Application process processing method, device, equipment and medium | |
CN116545905A (en) | Service health detection method and device, electronic equipment and storage medium | |
CN116301997A (en) | Upgrading method, device, equipment and medium of controller | |
CN116301992A (en) | Upgrading method, device, equipment and storage medium | |
CN115437961A (en) | Data processing method and device, electronic equipment and storage medium | |
CN116011677A (en) | Time sequence data prediction method and device, electronic equipment and storage medium | |
CN115309730A (en) | Data auditing method and device, electronic equipment and storage medium | |
CN113821232B (en) | Model updating method and device | |
CN113961431A (en) | Service monitoring method and device | |
CN114691781A (en) | Data synchronization method, system, device, equipment and medium | |
CN114610530A (en) | Disaster tolerance switching method and device for business system, electronic equipment and storage medium | |
CN113220554A (en) | Method and apparatus for detecting performance of program code | |
CN113326513B (en) | Application testing method and device, system, electronic equipment and computer readable medium | |
CN113377660B (en) | Test method and device | |
CN113760765B (en) | Code testing method and device, electronic equipment and storage medium | |
CN116244324B (en) | Task data relation mining method and device, electronic equipment and storage medium | |
CN115328810A (en) | Performance verification method and device of speed limiting module, electronic equipment and storage medium | |
CN115391227A (en) | Fault testing method, device, equipment and medium based on distributed system | |
CN116431499A (en) | Automatic test method and device, electronic equipment and storage medium | |
CN115374010A (en) | Function testing method, device, equipment and storage medium | |
CN115599682A (en) | Environment availability detection method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |