CN109582530B - System control method, device, computer and computer readable storage medium - Google Patents

System control method, device, computer and computer readable storage medium Download PDF

Info

Publication number
CN109582530B
CN109582530B CN201811162029.4A CN201811162029A CN109582530B CN 109582530 B CN109582530 B CN 109582530B CN 201811162029 A CN201811162029 A CN 201811162029A CN 109582530 B CN109582530 B CN 109582530B
Authority
CN
China
Prior art keywords
service
server system
list
running
temporary
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811162029.4A
Other languages
Chinese (zh)
Other versions
CN109582530A (en
Inventor
王英
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Life Insurance Company of China Ltd
Original Assignee
Ping An Life Insurance Company of China 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 Ping An Life Insurance Company of China Ltd filed Critical Ping An Life Insurance Company of China Ltd
Priority to CN201811162029.4A priority Critical patent/CN109582530B/en
Publication of CN109582530A publication Critical patent/CN109582530A/en
Application granted granted Critical
Publication of CN109582530B publication Critical patent/CN109582530B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/302Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3089Monitoring arrangements determined by the means or processing involved in sensing the monitored data, e.g. interfaces, connectors, sensors, probes, agents
    • G06F11/3093Configuration details thereof, e.g. installation, enabling, spatial arrangement of the probes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • Mathematical Physics (AREA)
  • Computer Security & Cryptography (AREA)
  • Hardware Redundancy (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention provides a system control method, a system control device, a computer and a computer readable storage medium, and relates to system data monitoring in the field of computers. The system control method of the invention is applied to a server system and comprises the following steps: acquiring the running state and the system time of the server system; and if the running process list of the server system does not comprise the associated process associated with the running state and the system time is within the preset time range associated with the running state, starting the associated process in the server system. The invention can be beneficial to meeting the operation requirement of the server system by starting the service process in time.

Description

System control method, device, computer and computer readable storage medium
Technical Field
The present invention relates to system data monitoring in the field of computers, and in particular, to a system control method, apparatus, computer, and computer readable storage medium.
Background
This section is intended to provide a background or context for embodiments of the invention that are recited in the claims and detailed description. The description herein is not admitted to be prior art by inclusion in this section.
The server usually runs more service processes, but under the action of some influencing factors, unexpected situations such as some service processes and the like can not be found in the server, in this situation, management and control personnel can be required to manually restart the server or restart the corresponding service processes, so that the processing efficiency is low, and the timeliness requirement for recovering the normal operation of the server is difficult to meet.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a system control method, apparatus, computer and computer readable storage medium that facilitates meeting the operational requirements of a server system by timely starting a service process.
The first aspect of the present invention provides a system control method, applied to a server system, the method comprising:
acquiring the running state and the system time of the server system, wherein the running state is a service request state set according to service frequency requirements;
If the running process list of the server system does not comprise the associated process associated with the running state and the system time is within a preset time range associated with the running state, starting the associated process in the server system; the association process at least comprises a service process with a preset association relation with the running state.
Preferably, the method further comprises:
Acquiring a temporary progress plan list;
If the service process in the temporary process plan list is not included in the running process list and the system time meets the time condition in the temporary process plan list, judging whether the service process in the temporary process plan list conflicts with the associated process;
And if the service process in the temporary process plan list does not conflict with the associated process, starting the associated process and the service process in the temporary process plan list in the server system.
Preferably, after the association process is started in the service system, the method further includes:
if a manual operation process instruction is received, judging priority of a service process in the associated process pointed by the manual operation process instruction;
And if the manual operation process instruction points to the service process in the associated process and contains priority information, carrying out priority adjustment on the service process in the associated process pointed to by the manual operation process instruction according to the priority information.
Preferably, before the priority judgment is performed on the service process in the association process pointed to by the manual operation process instruction, the method further comprises:
Detecting the processor load condition of the server system by using a preset function;
and if the value output by the preset function is larger than a preset threshold value, carrying out priority adjustment on the service process in the associated process pointed by the manual operation process instruction according to the priority information.
Preferably, the method further comprises:
and if the numerical value output by the preset function is larger than a preset threshold value, outputting an information prompt representing that the processor is overloaded.
Preferably, when the operation state is a low frequency service request state, the method further includes:
monitoring the handle usage amount of the service process after restarting the associated process;
And if the handle usage amount exceeds the preset usage amount, outputting a service interruption risk prompt pointed by executing the association process.
Preferably, before acquiring the running state and the system time of the server system, the method further includes:
And updating and synchronizing the system time by using a preset time service link.
A second aspect of the present invention provides a system control apparatus applied to a server system, the apparatus comprising:
the system comprises an acquisition module, a server system and a control module, wherein the acquisition module is used for acquiring the running state and the system time of the server system, and the running state is a service request state set according to service frequency requirements;
the starting module is used for starting the association process in the server system when the association process associated with the running state is not included in the running process list of the server system and the system time is within a preset time range associated with the running state; the association process at least comprises a service process with a preset association relation with the running state.
A third aspect of the present invention provides a computer comprising a processor and a memory, the processor being arranged to implement the steps of the system control method as described above when executing a computer program stored in the memory.
A fourth aspect of the present invention provides a computer-readable storage medium having stored thereon a computer program or instructions which, when executed by a processor, implement the steps of a system control method as described above.
The system control method, the device, the computer and the computer readable storage medium provided by the invention analyze the service process in the running process list of the server system and judge the system time by acquiring the running state and the system time of the server system, and start the associated process in the server system when the running process list does not contain the associated process associated with the running state and the system time is within the preset time range associated with the running state, thereby being capable of quickly realizing the start of the associated process in the server system, being beneficial to meeting the running requirement of the server system by timely starting the service process, reducing the abnormal time of the server system and improving the information security. Meanwhile, as the restarted association process is associated with the current running state of the server system, the timely starting of the association process is also beneficial to the server system to meet and/or adapt to specific running requirements in the current running state, and further corresponding functions are realized.
Further, by using the method and the device, the temporary process plan list is further acquired by acquiring the running state and the system time of the server system when the running process list of the server system does not comprise the associated process associated with the running state and the system time is within the preset time range associated with the running state. And starting the service process in the temporary process plan list and the associated process when the service process in the temporary process plan list does not conflict with the associated process. Therefore, on the basis that the starting of the associated process in the server system can be quickly realized in the first embodiment, the execution of the service process in the temporary process plan list can be facilitated, and meanwhile, the resource waste and the information safety hidden trouble caused by the conflict between the execution of the service process in the temporary process plan list and the execution of the associated process are reduced.
Further, by using the method and the device, when the instruction of the manual operation process is received, the priority of the service process pointed by the instruction of the manual operation process is judged, and when the service process pointed by the instruction of the manual operation process contains priority information, the current service process of the server system is subjected to priority adjustment according to the priority information, so that the corresponding associated process can be controlled manually and rapidly, and the allocation requirement of the corresponding associated process can be met.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are some examples of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a system control method according to a first embodiment of the present invention;
fig. 2 is a flowchart of a system control method according to a second embodiment of the present invention;
Fig. 3 is a flowchart of a system control method according to a third embodiment of the present invention;
FIG. 4 is an exemplary functional block diagram of a system control device according to an embodiment of the present invention;
Fig. 5 is an exemplary structural diagram of a computer according to an embodiment of the present invention.
Description of the main reference signs
The invention will be further described in the following detailed description in conjunction with the above-described figures.
Detailed Description
In order that the above-recited objects, features and advantages of the present application will be more clearly understood, a more particular description of the application will be rendered by reference to the appended drawings and appended detailed description. The embodiments of the present application and the features in the embodiments may be combined with each other without collision.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, and the described embodiments are merely some, rather than all, embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, are intended to fall within the scope of the present invention.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention.
Fig. 1 is a flowchart of a system control method according to a first embodiment of the present invention. It should be noted that the system control method according to the embodiment of the present invention is not limited to the steps and the sequence in the flowchart shown in fig. 1. The steps in the illustrated flow diagrams may be added, removed, or changed in order according to different needs.
The system control method of the present embodiment may be applied to a server system, which may include a set of a plurality of servers, or may be a single server. When the system control method of the embodiment is applied to the server system, the service process meeting the specific purpose or realizing the specific function in the server can be started relatively timely.
As shown in fig. 1, the system control method of the present embodiment may include the steps of:
Step 101: and acquiring the running state and the system time of the server system, wherein the running state is a service request state set according to the service frequency requirement.
In this embodiment, the operation state is a functional state associated with the system time, where the server system is in a state that meets and/or adapts to a specific operation requirement. In one embodiment, the operating states may include a low frequency service request state that may be used to accommodate operating requirements for periods of time when the server is requested less frequently, and a non-low frequency service request state that may be used to accommodate operating requirements for periods of time when the server is requested more frequently.
It can be appreciated that the indication of the current running state of the server system can be implemented by the characterization process in the running process list of the server system under different running states.
It will be appreciated that the server system may perform different service processes under different operating conditions. As in the low frequency service request state, the executed service process does not include a performance monitoring process or the like.
In this embodiment, when or before the system time is acquired, a preset time service link may be used to update and synchronize the system time, so that the system time is relatively accurate.
Step 102: if the running process list of the server system does not comprise the associated process associated with the running state and the system time is within a preset time range associated with the running state, starting the associated process in the server system; the association process at least comprises a service process with a preset association relation with the running state.
In this embodiment, the running process list is an information list constructed by acquiring all processes currently running in the server system in real time.
In this embodiment, the corresponding association process includes at least one service process having a preset association relationship with the running state: each running state is provided with a corresponding service process which is required to meet and/or adapt to the specific running requirement, and after the current running state of the server is acquired, the corresponding service process which is required to meet and/or adapt to the specific running requirement is relatively determined, so that the service process corresponding to the current running state is the associated process.
In this embodiment, the running state is associated with a system time, that is, the server system corresponds to a specific running state at a specific system time. In this embodiment, the service process in the running process list of the server system is analyzed when the running state of the server system satisfies the running condition. Meanwhile, under the condition that the system time of the server system meets the time condition, judging whether the current system time of the server system is within a preset time range. And starting the association process only when the association process associated with the running state is not included in the running process list and the system time is within a preset time range associated with the running state.
It is understood that the preset time range may include that the system time corresponds to the time associated with the operation state completely, and may also be within a certain error range of the time associated with the operation state.
In this embodiment, by acquiring the running state and the system time of the server system, the service process in the running process list of the server system is analyzed and the system time is determined, and when the running process list does not include the associated process associated with the running state and the system time is within the preset time range associated with the running state, the associated process in the server system is started, so that the start of the associated process in the server system can be quickly realized, the running requirement of the server system can be met by starting the service process in time, the abnormal time of the server system is reduced, and the information security is improved. Meanwhile, as the restarted association process is associated with the current running state of the server system, the timely starting of the association process is also beneficial to the server system to meet and/or adapt to specific running requirements in the current running state, and further corresponding functions are realized.
In this embodiment, when the running state is a low-frequency service request state, the handle usage amount of the service process after restarting the associated process may also be monitored, and if the handle usage amount exceeds a preset usage amount, a service interruption risk prompt is output, so as to prompt a management and control personnel to perform corresponding processing in time, so as to reduce the occurrence probability of the service interruption situation pointed by the associated process due to excessive handle usage.
In this embodiment, in a specific application example, the running state of the server system includes a low frequency service request state and a non-low frequency service request state, where the preset time range associated with the low frequency service request state is 0100 in the morning to 0530 in the morning. Thus, when the system time of the server system is 201806100300, the system time of the server system can be considered to be within the preset time range, and thus, when the association process associated with the low-frequency service request state is not included in the running process list of the server system, that is, the corresponding association process is started in the server system.
Fig. 2 is a flowchart of a system control method according to a second embodiment of the present invention, which is mainly different from the first embodiment in that the second embodiment includes a step of acquiring a temporary progress plan list. It should be noted that, within the scope of the spirit or essential characteristics of the present invention, each specific solution applicable to the first embodiment may also be correspondingly applicable to the second embodiment, which is not described herein for the sake of brevity and avoiding repetition.
The system control method shown in fig. 2 is also applied to the server system. As shown in fig. 2, the system control method may include the steps of:
step 201: and acquiring the running state and the system time of the server system, wherein the running state is a service request state set according to the service frequency requirement.
Step 202: if the running process list of the server system does not comprise the associated process associated with the running state and the system time is in the preset time range associated with the running state, acquiring a temporary process plan list; the association process at least comprises a service process with a preset association relation with the running state.
In this embodiment, the temporary process plan list may be a service process allocation list that is temporarily set and does not include an associated process associated with the running state when a manager maintains or temporarily pre-controls the server system.
Step 203: and if the service process in the temporary process plan list is not included in the operation service list and the system time meets the time condition in the temporary process plan list, judging whether the service process in the temporary process plan list collides with the associated process.
In this embodiment, when the service process in the temporary process plan list is used to stop the associated process or a function opposite to a function implemented by executing the associated process, the service process in the temporary process plan list may be considered to collide with the associated process.
It will be appreciated that a plurality of service processes may be included in the temporary process plan list, and a plurality of service processes may be similarly included in the running process list.
In this embodiment, when the system time is consistent with the start time of the service process in the temporary process plan list or within the running time range, that is, the system actually satisfies the time condition in the temporary process plan list.
Step 204: and if the service process in the temporary process plan list does not conflict with the associated process, starting the associated process and the service process in the temporary process plan list in the server system.
In this embodiment, by acquiring the running state and the system time of the server system, when the running process list of the server system does not include the associated process associated with the running state and the system time is within the preset time range associated with the running state, the temporary process plan list is further acquired. And starting the service process in the temporary process plan list and the associated process when the service process in the temporary process plan list does not conflict with the associated process. Therefore, on the basis that the starting of the associated process in the server system can be quickly realized in the first embodiment, the execution of the service process in the temporary process plan list can be facilitated, and meanwhile, the resource waste and the information safety hidden trouble caused by the conflict between the execution of the service process in the temporary process plan list and the execution of the associated process are reduced.
In this embodiment, when each service process in the temporary process plan list collides with the corresponding associated process, the service process in the temporary process plan list collides with the associated process, and at this time, the associated process may not be started according to the service process in the temporary process plan list, and the service process in the temporary process plan list may be started, so as to implement a temporary function pointed by the service process in the temporary process plan list.
It may be understood that when a portion of service processes in the temporary process plan list conflict with associated processes, the conflicting associated processes may not be started, and the service processes in the temporary process plan list and the associated processes that do not conflict with the service processes in the temporary process plan list may be started.
Fig. 3 is a flowchart of a system control method according to a third embodiment of the present invention, which is mainly different from the foregoing embodiments in that the third embodiment includes a step of performing priority determination on a service process to which a manual operation process instruction is directed. It should be noted that, within the scope of the spirit or essential characteristics of the present invention, each of the embodiments applicable to the first and second embodiments may be correspondingly applicable to the third embodiment, and for the sake of brevity and avoidance of repetition, the description is omitted herein.
The system control method shown in fig. 3 is also applied to the server system. As shown in fig. 3, the system control method may include the steps of:
step 301: and acquiring the running state and the system time of the server system, wherein the running state is a service request state set according to the service frequency requirement.
Step 302: if the running process list of the server system does not comprise the associated process associated with the running state and the system time is within a preset time range associated with the running state, starting the associated process in the server system; the association process at least comprises a service process with a preset association relation with the running state.
Step 303: and if the manual operation process instruction is received, judging the priority of the service process in the associated process pointed by the manual operation process instruction.
Step 304: and if the manual operation process instruction points to the service process in the associated process and contains priority information, carrying out priority adjustment on the service process in the associated process pointed to by the manual operation process instruction according to the priority information.
In this embodiment, on the basis of the first embodiment, and when an instruction of a manual operation process is received, priority judgment of a service process pointed by the instruction of the manual operation process is performed, and when the service process pointed by the instruction of the manual operation process includes priority information, priority adjustment is performed on a current service process of the server system according to the priority information, so that rapid control of a corresponding associated process by a person can be achieved and allocation requirements of the corresponding associated process can be met.
In this embodiment, before the priority determination is performed on the service process in the associated process to which the manual operation process instruction is directed, a preset function may be further used to detect a processor load condition of the server system, and if a value output by the preset function is greater than a preset threshold, priority adjustment is performed on the service process in the associated process to which the manual operation process instruction is directed according to the priority information. Therefore, priority adjustment of corresponding processes is achieved according to the processor load condition of the server system, and reasonable utilization of the server system resources can be facilitated.
It may be appreciated that the preset function may be a GetSysCPU function, and if the output value is greater than 90, the current processor may be considered to be overloaded, and the priority adjustment is performed on the service process in the association process pointed to by the manual operation process instruction according to the priority information.
It will be appreciated that when the value output by the preset function is greater than the preset threshold, an information prompt indicating that the processor is overloaded may also be output.
Fig. 4 is an exemplary functional block diagram of a system control device according to an embodiment of the present invention. As shown in fig. 4, the system control device 100 may be configured to obtain an operation state and a system time of a server system, so as to analyze a service process in an operation process list of the server system and determine the system time, and start the associated process in the server system when the operation process list does not include an associated process associated with the operation state and the system time is within a preset time range associated with the operation state, thereby quickly implementing the start of the associated process in the server system, and being beneficial to meeting the operation requirement of the server system by timely starting the service process, reducing the abnormal time of the server system and improving the information security. Meanwhile, as the restarted association process is associated with the current running state of the server system, the timely starting of the association process is also beneficial to the server system to meet and/or adapt to specific running requirements in the current running state, and further corresponding functions are realized.
The system control device 100 of the present invention may include one or more modules, which may be stored in a memory of a computer and may be configured to be executed by one or more processors (one processor in this embodiment) to complete the present invention. For example, as shown in fig. 4, the system control device 100 may include an acquisition module 11, a start module 12, a judgment module 13, and an adjustment module 14. A module according to the present invention may be a program segment for performing a specific function, and is more suitable than a program for describing the execution of software in a processor.
Note that, in correspondence with each embodiment of the above-described system control method, the system control device 100 may include some or all of the functional modules shown in fig. 4, and the functions of each module will be described in detail below. The same noun related nouns and their specific explanations in the above embodiments of the system control method may also be applied to the following functional descriptions of the modules. For the sake of space saving and repetition avoidance, the description is omitted.
Fig. 5 is an exemplary structural diagram of a computer according to an embodiment of the present invention. The computer 1 provided in this embodiment includes: a processor 10, a memory 20 and a computer program, such as a system control program, stored in the memory 20 and executable on the processor 10. When the processor 10 executes the computer program, the steps of the embodiments of the control method of the system described above, such as steps 101 to 102 shown in fig. 1, are implemented. Or the processor 10 may perform the functions of the modules in the above embodiment of the apparatus when executing the computer program, for example, the function of the obtaining module 11 in fig. 4 for obtaining the running state and the system time of the server system.
The computer 1 may be a desktop computer, a notebook computer, a palm computer, a cloud server, or other computing devices. The computer 1 may include, but is not limited to, a processor 10 and a memory 20. It will be appreciated by those skilled in the art that the schematic diagram is merely an example of the computer 1 for implementing the system control method of the present invention, and is not limited to the computer 1, and may include more or less components than those illustrated, or may combine some components, or different components, for example, the computer 1 may further include an input/output device, a network access device, a bus, and the like.
The Processor 10 may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (DIGITAL SIGNAL Processor, DSP), application SPECIFIC INTEGRATED Circuit (ASIC), off-the-shelf Programmable gate array (Field-Programmable GATE ARRAY, FPGA) or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, and the processor 10 is the control center of the computer 1, and connects the various parts of the entire computer using various interfaces and lines.
The memory 20 may be used to store the computer program and/or module, and the processor 10 may implement various functions of the computer 1 by running or executing the computer program and/or module stored in the memory 20 and invoking data stored in the memory 20. The memory 20 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the handset, etc. In addition, memory 20 may include high-speed random access memory, and may also include computer memory, such as a hard disk, memory, plug-in hard disk, smart memory card (SMART MEDIA CARD, SMC), secure Digital (SD) card, flash memory card (FLASH CARD), at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The computer 1 may further include a system control device 100 as shown in fig. 4, and the system control device 100 may be stored in the memory 20.
Illustratively, the computer program may be partitioned into one or more modules that are stored in the memory 20 and executed by the processor 10 to perform the present invention. The one or more modules may be a series of computer program instruction segments capable of performing the specified functions, which instruction segments are used for describing the execution of the computer program in the computer 1. For example, the computer program may be divided into a system control device 100 as shown in fig. 3, and includes an acquisition module 11, a starting module 12, a judging module 13, and an adjusting module 14, where the specific functions of the modules are as follows:
The acquiring module 11 is configured to acquire an operation state and a system time of the server system, where the operation state is a service request state set according to a service frequency requirement; but also to obtain a temporary schedule list.
A starting module 12, configured to, when an association process associated with the running state is not included in the running process list of the server system, and the system time is within a preset time range associated with the running state, start the association process in the server system; the association process at least comprises a service process with a preset association relation with the running state; and the server system is also used for starting the associated process and the service process in the temporary process plan list when the service process in the temporary process plan list does not conflict with the associated process.
The judging module 13 is configured to judge whether a service process in the temporary process plan list conflicts with the associated process when the running service list does not include the service process in the temporary process plan list and the system time satisfies a time condition in the temporary process plan list.
And the adjustment module 14 is configured to adjust the priority of the service process in the associated process according to the priority information when the service process in the associated process is pointed to by the manual operation process instruction.
The modules integrated in the computer 1 according to the present invention may be stored in a computer readable storage medium if implemented in the form of software functional units and sold or used as a stand alone product. Based on such understanding, the present invention may implement all or part of the flow of the method of the above embodiment, or may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the computer program may implement the steps of each of the method embodiments described above. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. It should be noted that the computer readable medium contains content that can be appropriately scaled according to the requirements of jurisdictions in which such content is subject to legislation and patent practice, such as in certain jurisdictions in which such content is subject to legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunication signals.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential characteristics thereof. The present embodiments are, therefore, to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is evident that the word "comprising" does not exclude other elements or steps, and that the singular does not exclude a plurality. A plurality of units, modules or means recited in the system, means or computer means claims may also be implemented by means of software or hardware by means of one and the same unit, module or means. The terms first, second, etc. are used to denote a name, but not any particular order.
The above embodiments are only for illustrating the technical solution of the present invention and not for limiting the same, and although the present invention has been described in detail with reference to the above preferred embodiments, it should be understood by those skilled in the art that modifications and equivalents may be made thereto without departing from the spirit and scope of the technical solution of the present invention.

Claims (8)

1. A system control method applied to a server system, the method comprising:
acquiring the running state and the system time of the server system, wherein the running state is a service request state set according to service frequency requirements;
If the running process list of the server system does not comprise the associated process associated with the running state and the system time is within a preset time range associated with the running state, starting the associated process in the server system; the association process at least comprises a service process with a preset association relation with the running state, and the running process list is an information list constructed by all processes currently running according to the real-time acquisition of the server system;
Acquiring a temporary progress plan list;
If the service process in the temporary process plan list is not included in the running process list and the system time meets the time condition in the temporary process plan list, judging whether the service process in the temporary process plan list conflicts with the associated process;
If the service process in the temporary process plan list does not conflict with the associated process, starting the associated process and the service process in the temporary process plan list in the server system;
after the association process is started in the server system, the method further comprises:
if a manual operation process instruction is received, judging priority of a service process in the associated process pointed by the manual operation process instruction;
And if the manual operation process instruction points to the service process in the associated process and contains priority information, carrying out priority adjustment on the service process in the associated process pointed to by the manual operation process instruction according to the priority information.
2. The system control method according to claim 1, wherein before the priority determination is made on the service process in the associated process to which the manual operation process instruction is directed, the method further comprises:
Detecting the processor load condition of the server system by using a preset function;
and if the value output by the preset function is larger than a preset threshold value, carrying out priority adjustment on the service process in the associated process pointed by the manual operation process instruction according to the priority information.
3. The system control method according to claim 2, characterized in that the method further comprises:
and if the numerical value output by the preset function is larger than a preset threshold value, outputting an information prompt representing that the processor is overloaded.
4. The system control method according to claim 1, wherein when the operation state is a low frequency service request state, the method further comprises:
monitoring the handle usage amount of the service process after restarting the associated process;
And if the handle usage amount exceeds the preset usage amount, outputting a service interruption risk prompt pointed by executing the association process.
5. The system control method according to claim 1, wherein before acquiring the operation state and the system time of the server system, the method further comprises:
And updating and synchronizing the system time by using a preset time service link.
6. A system control apparatus applied to a server system, the apparatus comprising:
the system comprises an acquisition module, a server system and a control module, wherein the acquisition module is used for acquiring the running state and the system time of the server system, and the running state is a service request state set according to service frequency requirements;
The starting module is used for starting the association process in the server system when the association process associated with the running state is not included in the running process list of the server system and the system time is within a preset time range associated with the running state; the association process at least comprises a service process with a preset association relation with the running state, and the running process list is an information list constructed by all processes currently running according to the real-time acquisition of the server system;
The acquisition module is also used for acquiring a temporary process plan list;
the judging module is used for judging whether the service process in the temporary process plan list conflicts with the associated process if the service process in the temporary process plan list is not included in the running process list and the system time meets the time condition in the temporary process plan list;
The starting module is further configured to start, in the server system, the associated process and the service process in the temporary process plan list if the service process in the temporary process plan list does not conflict with the associated process;
after the association process is started in the server system, the apparatus further includes:
The judging module is further configured to, if a manual operation process instruction is received, judge priority of a service process in the association process to which the manual operation process instruction points;
And the adjusting unit is used for adjusting the priority of the service process in the associated process pointed by the manual operation process instruction according to the priority information if the service process in the associated process pointed by the manual operation process instruction contains the priority information.
7. A computer comprising a processor and a memory, wherein the processor is configured to implement the steps of the system control method according to any one of claims 1-5 when executing a computer program stored in the memory.
8. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the system control method according to any one of claims 1-5.
CN201811162029.4A 2018-09-30 2018-09-30 System control method, device, computer and computer readable storage medium Active CN109582530B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811162029.4A CN109582530B (en) 2018-09-30 2018-09-30 System control method, device, computer and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811162029.4A CN109582530B (en) 2018-09-30 2018-09-30 System control method, device, computer and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109582530A CN109582530A (en) 2019-04-05
CN109582530B true CN109582530B (en) 2024-05-14

Family

ID=65920022

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811162029.4A Active CN109582530B (en) 2018-09-30 2018-09-30 System control method, device, computer and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109582530B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112925693B (en) * 2021-02-25 2023-11-03 新疆北斗同创信息科技有限公司 System monitoring method, device, computer equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102135911A (en) * 2011-03-23 2011-07-27 中国工商银行股份有限公司 Method, device and system for starting and stopping server process
CN107678782A (en) * 2017-09-14 2018-02-09 平安科技(深圳)有限公司 A kind of process protection method, device, equipment and computer-readable recording medium
CN107844341A (en) * 2017-11-21 2018-03-27 广东欧珀移动通信有限公司 Management-control method, device and the storage medium and mobile terminal of process initiation
CN107861773A (en) * 2017-11-21 2018-03-30 广东欧珀移动通信有限公司 Associate management-control method, device, storage medium and the mobile terminal started

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090132716A1 (en) * 2007-11-15 2009-05-21 Junqueira Flavio P Fault-tolerant distributed services methods and systems

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102135911A (en) * 2011-03-23 2011-07-27 中国工商银行股份有限公司 Method, device and system for starting and stopping server process
CN107678782A (en) * 2017-09-14 2018-02-09 平安科技(深圳)有限公司 A kind of process protection method, device, equipment and computer-readable recording medium
CN107844341A (en) * 2017-11-21 2018-03-27 广东欧珀移动通信有限公司 Management-control method, device and the storage medium and mobile terminal of process initiation
CN107861773A (en) * 2017-11-21 2018-03-30 广东欧珀移动通信有限公司 Associate management-control method, device, storage medium and the mobile terminal started

Also Published As

Publication number Publication date
CN109582530A (en) 2019-04-05

Similar Documents

Publication Publication Date Title
US10838838B2 (en) Method and apparatus for dealing with abnormality of application program and storage medium
CN109298962B (en) Timing task monitoring method, computer readable storage medium and terminal device
US20170329655A1 (en) Method and apparatus of unloading out of memory processing flow to user space
CN109800261B (en) Dynamic control method and device for double-database connection pool and related equipment
US20180157557A1 (en) Determining reboot time after system update
CN111694677A (en) Message queue management method, device, terminal and computer-readable storage medium
CN114371975A (en) Big data component parameter adjusting method and device, electronic equipment and storage medium
CN109582530B (en) System control method, device, computer and computer readable storage medium
CN109344045A (en) Operation system switching method, device, electronic equipment and storage medium
CN109871266B (en) Task delay processing method and device, computer device and storage medium
CN111953569B (en) State information reporting method, device, equipment and medium
CN111159009B (en) Pressure testing method and device for log service system
CN109298974B (en) System control method, device, computer and computer readable storage medium
CN109558222B (en) Batch business process monitoring method and device, computer and readable storage medium
CN112214394A (en) Memory leak detection method, device and equipment
CN109491771B (en) Task processing method based on system performance optimization and related equipment
CN116166427A (en) Automatic capacity expansion and contraction method, device, equipment and storage medium
CN115437766A (en) Task processing method and device
CN111447106B (en) Fault detection method, device, storage medium and communication equipment
CN112148470B (en) Parameter synchronization method, computer device and readable storage medium
CN109766238B (en) Session number-based operation and maintenance platform performance monitoring method and device and related equipment
CN111694628A (en) Page display method based on application program thread and related equipment
CN113590424B (en) Fault monitoring method, device, equipment and storage medium
CN114153684A (en) Component monitoring method, device and medium
CN117707740A (en) Distributed big data task scheduling method and computer equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant