CN109558233A - Window process management method, device, storage medium and server - Google Patents

Window process management method, device, storage medium and server Download PDF

Info

Publication number
CN109558233A
CN109558233A CN201811442671.8A CN201811442671A CN109558233A CN 109558233 A CN109558233 A CN 109558233A CN 201811442671 A CN201811442671 A CN 201811442671A CN 109558233 A CN109558233 A CN 109558233A
Authority
CN
China
Prior art keywords
window
window process
abnormal
message
management method
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811442671.8A
Other languages
Chinese (zh)
Inventor
林皓
姬鹏宇
顾德仲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing North Source Information Safe Technology Ltd
Original Assignee
Beijing North Source Information Safe Technology Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing North Source Information Safe Technology Ltd filed Critical Beijing North Source Information Safe Technology Ltd
Priority to CN201811442671.8A priority Critical patent/CN109558233A/en
Publication of CN109558233A publication Critical patent/CN109558233A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/485Task life-cycle, e.g. stopping, restarting, resuming execution

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)

Abstract

The embodiment of the invention discloses a kind of window process management method, device, storage medium and servers, the method includes sending a message to the window process of default account, and obtain return value;Abnormal window process is determined according to the return value;Close or restart the corresponding window of the abnormal window process.The window process management method of the embodiment of the present invention can be with the abnormal window process of auto-control software program.

Description

Window process management method, device, storage medium and server
Technical field
The present embodiments relate to field of communication technology more particularly to a kind of window process management method, device, storage Jie Matter and server.
Background technique
Today's society, our work and life is highly dependent upon the computer for running Windows operating system.Windows The starting of the software program of operating system and use process can occupy the system resources such as computer CPU and memory, work as system resource When largely being occupied or largely occupied because user's operation software is incorrect because of the unlatching of excessive software program, it be easy to cause software journey Sort run collapse or system desktop are stuck, or even computer blue screen occur and restart, and then action is caused great ask such as to lose Topic.
At this stage, software program window process is not responded but the not stuck situation of desktop, user can be by lasting etc. The window process to the end of window process or manually opened program administration interface are forced, furthermore it is exactly to modify user in registration table to control The key assignments of " AutoEndTasks " of the Desktop option of panel processed is handled, but when desktop itself be also at it is stuck When state, general user can only solve the problems, such as that desktop can not be operated by restarting system, and there is presently no needles for the prior art The method that automatic window management of process is carried out to software program.
Therefore, a kind of method that can carry out automatically window management of process becomes prior art technology urgently to be solved and asks Topic.
Summary of the invention
The embodiment of the present invention provides a kind of window process management method, device, storage medium and server, for managing automatically Manage the abnormal window process of software program.
In a first aspect, the embodiment of the invention provides a kind of window process management methods, comprising:
The window process of default account is sent a message to, and obtains return value;
Abnormal window process is determined according to the return value;
Close or restart the corresponding window of the abnormal window process.
Second aspect, the embodiment of the invention also provides a kind of window management of process device, the window management of process dress It sets and includes:
Message control module for sending a message to the window process of default account, and obtains return value;
Anomaly analysis module, for determining abnormal window process according to the return value;
Process processing module, for closing or restarting the corresponding window of the abnormal window process.
The third aspect, the embodiment of the invention provides a kind of computer readable storage mediums, are stored thereon with computer journey Sequence, the program realize above-mentioned window process management method when being executed by processor.
Fourth aspect, the embodiment of the invention provides a kind of servers, which is characterized in that including memory, processor and The computer program that can be run on a memory and in processor is stored, the processor be realized when executing the computer program Above-mentioned window process management method.
Compared with the existing technology, the scheme of the window management of process provided in the embodiment of the present invention sends a message to default account The window process at family, and obtain return value;Abnormal window process is determined according to the return value;Close or restart the exception window The corresponding window of mouth process.Whole process is not necessarily to artificial intervention, realizes the abnormal window process of automatic managing software program Purpose increases the experience that user uses operating system, saves the time that user waits window to respond, and improves system operation Efficiency.
Detailed description of the invention
Fig. 1 is the flow chart for the window process management method that the embodiment of the present invention one provides;
Fig. 2 is the flow chart of window process management method provided by Embodiment 2 of the present invention;
Fig. 3 is the flow chart for the window process management method that the embodiment of the present invention three provides;
Fig. 4 is the flow chart for the window process management method that the embodiment of the present invention four provides;
Fig. 5 is the flow chart for the window process management method that the embodiment of the present invention five provides;
Fig. 6 is a kind of structural schematic diagram for window management of process device that the embodiment of the present invention six provides;
Fig. 7 is a kind of structural schematic diagram for server that the embodiment of the present invention seven provides.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail The processing or method described as flow chart.Although each step is described as the processing of sequence by flow chart, many of these Step can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of each step can be rearranged.When its operation Processing can be terminated when completion, it is also possible to have the additional step being not included in attached drawing.Handle the side of can correspond to Method, function, regulation, subroutine, subprogram etc..
Embodiment one
Fig. 1 is the flow chart of window process management method that the embodiment of the present invention one provides, and the method for the present embodiment can be with Suitable for carrying out the terminal device of window management of process function, the method for the present embodiment can be held by the processor of terminal device Row, specifically includes:
S101, the window process for sending a message to default account, and obtain return value;
S102, abnormal window process is determined according to the return value;
S103, close or restart the corresponding window of the abnormal window process.
The present embodiment terminal device can be mobile phone, plate, laptop, desktop computer, server etc., present embodiment By taking server as an example, server runs on Windows system.
For step S101, in the present embodiment, the default account is in multi-user's account of Windows operating system One, such as the logon account of any one of administrator, Guest User, Standard User type of user.The present embodiment Default account can be the logon account that single machine user is also possible to domain user, user can by the single machine account of authorization and Password directly logs in single machine computer, or uses the logon account of domain user by client with LAN connection or internet access Mode login service device.The operating system logged in can start multiple system software programs under account name after login, with Maintain the normal function of operating system;Login user can also start corresponding commercial software program according to action, such as The software programs such as word, excel, CAD.The software program of each starting can open one or more windows in the process of running, Each window corresponds to a service window process.Preparatory composer window process title enumeration function in this step (EnumWindowStations) and all window windows under user account current sessions of this function to obtain login are executed Then mouth process title sends messages to the window of each starting by the handle of the corresponding window of window process name acquiring Process, and obtain return value.In the present embodiment, title enumeration function can be when user account logs in Windows system desktop Automatic starting, can also periodically be started, the present embodiment is with no restrictions according to the starting time set by user.
For step S102, in the present embodiment, corresponding window state of a process is determined according to the type of return value;According to institute It states window state of a process and determines abnormal window process.Specifically, according to the result of return value can determine corresponding window into Journey belong to it is normal, hang up, be seemingly-dead, ossified, crashing, is stuck or without one of response, the present embodiment will it is normal other than other Window process definition is abnormal window process.In the present embodiment, the window state of a process includes first state and the second shape State determines the window process exception when the window process is first state;Or when the window process is the second state And the second state is kept within a preset time, determine the window process exception.First state can be hang-up, it is seemingly-dead, ossified, Any one of crash, stuck state, the second state can be non-responsive state.
For step S103, in the present embodiment, the function of closing or terminate abnormal window process is by writing in advance Come what is realized, which is called KillProcess function by the window identification code of corresponding abnormal window process TerminateProcess function realizes the end of abnormal window process.Restarting abnormal window process is by writing in advance RestartUp function is come what is realized, and RestartUp function is by calling OpenProcessToken function to obtain in the present embodiment The window identification code of abnormal window process, by calling GetWindowText function to obtain window title, TerminateProcess function terminates corresponding abnormal window process according to window identification code, then passes through calling CreateProcessAsUser function is according to the exception window terminated under window identification code and window title restarting active user Mouth process, it is final to realize the function of restarting abnormal window process.
Compared with the existing technology, the scheme of the window management of process provided in the embodiment of the present invention sends a message to default account The window process at family, and obtain return value;Abnormal window process is determined according to the return value;Close or restart the exception window The corresponding window of mouth process.The purpose for realizing the abnormal window process of automatic managing software program increases user and uses behaviour The experience for making system saves the time that user waits window to respond, improves the efficiency of system operation.
Embodiment two
Fig. 2 is the flow chart of window process management method provided by Embodiment 2 of the present invention, and the present embodiment is further arranged The mode that message is sent, this method comprises:
S201, judge whether the predeterminable event for sending message is triggered;
S202, the window process that default account is sent a message to when predeterminable event is triggered, and obtain return value;
S102, abnormal window process is determined according to the return value;
S103, close or restart the corresponding window of the abnormal window process.
For step S201-202, in the present embodiment, the predeterminable event can be clock cycle triggering, such as setting is every Primary timing alarm clock is triggered at interval within 5 minutes, whenever reaching time-count cycle, sends a message to the window process of default account. The predeterminable event is also possible to preset condition trigger event, such as when the system resources such as CPU or memory reach preset value, example When such as 99%, the window process of default account is sent a message to.It can also be in preset condition trigger event periodical Send a message to the window process of default account.Such as when system resource occupies or use reaches 90% or more, pass through acquisition All human window window processes of history desktop before default account current desktop or preset time period, to each window into Journey sends message by frequency once every minute, to judge window window state of a process according to return value.
Compared with the existing technology, the present embodiment further provides the triggering mode of message transmission, and user can be according to being The corresponding trigger condition of the performance setting of system or triggering period, that is, it ensure that the timely processing of abnormal window process, in turn ensure The resource of system will not be affected in itself because of the processing of window process, convenient for users to use, improve system operation effect Rate.
Embodiment three
Fig. 3 is the flow chart for the window process management method that the embodiment of the present invention three provides, and the present embodiment further provides for The mode of account selection, this method comprises:
S301, the title for obtaining default account;
S302, all current window process titles for obtaining the name on account respective session;
S303, the handle that window is corresponded to according to the name acquiring of each window process;
S304, all current window processes are sent a message to according to the handle of the window, and obtains return value;
S102, abnormal window process is determined according to the return value;
S103, close or restart the corresponding window of the abnormal window process.
For step S301-304, in the present embodiment, the mode that the name on account obtains be can be by preset User's sequence is successively chosen, and is also possible to according to being chosen the case where account correspondence system resource occupation, such as system is excellent It first obtains the higher name on account of system resource occupation proportion and carries out abnormal window process processing, then successively obtain system resource The lower name on account of occupation proportion carries out abnormal window process processing.Server is had logged in one embodiment, and there are three users Account is Zhang San, Li Si, king five respectively, and wherein the system resource of Zhang San is 50% using accounting, and the system resource of Li Si uses Accounting is 80%, the system resource of king five using accounting is 90%, and the sequence that system chooses name on account is followed successively by king five, Li Si And Zhang San.The present embodiment passes through the title that the title function EnumWindowStations write in advance obtains corresponding default account Current sessions under all window window process titles.Specifically, by calling EnumWindowStationProc function to obtain Take the title of each current window window process.
Compared with the existing technology, the present embodiment further provides the mode of account selection, facilitates system manager's root Account is selectively monitored according to preset condition, priority processing system operation burden is larger to be easy to appear window process exception Logon account desktop window process, improve the efficiency of window management of process.
Example IV
Fig. 4 is the flow chart for the window process management method that the embodiment of the present invention four provides, and the present embodiment further provides for The mode of top-level window return value is obtained, this method comprises:
S101, the window process for sending a message to default account;
S401, the handle for obtaining the default associated top-level window of account;
S402, the return value according to the handle acquiring top-level window of the top-level window;
S102, abnormal window process is determined according to the return value;
S103, close or restart the corresponding window of the abnormal window process.
For step S401-402, in the present embodiment, passes through the function EnumDesktopWindows write in advance and obtain The process of the default associated all top-level windows of account is obtained corresponding by the EnumWindowsProc function write in advance The handle of each top-level window.In the present embodiment, default account is sent a message to by the function IsAppRunning write in advance The window process at family, specifically, IsAppRunning function enclosed inside SendMessageTimeout function passes through calling SendMessageTimeout function provides result return value, if receiving the one or more windows and current process category of message In different threads, then terminate until corresponding window writing routine has handled message or specified time out period SendMessageTimeout function just provides return value.If the window and current thread that receive message belong to the same team Column, the window writing routine for receiving message are called immediately by SendMessageTimeout function and provide result return value.This implementation In example, SendMessageTimeout function includes at least the handle parameter hWnd of window, sends message parameter Msg, specifies such as What sends the result parameter of message parameter fuFlags, time out period parameter uTimeout (unit millisecond) and Message Processing IpdwResult.When the return value that SendSendMessageTimeout is provided is 0, two kinds of possibility are indicated, it is a kind of to be One of window hang-up, seemingly-dead, ossified, crash, stuck can determine that corresponding window is operating abnormally according to return value at this time Window process directly can close abnormal window process without waiting for time out period;It is alternatively possible not rung for window It answers, after waiting time-out according to preset time out period parameter uTimeout at this time, abnormal window process is closed.
Compared with the existing technology, the present embodiment judges that the process of top-level window is by directly acquiring top-level window return value No appearance is abnormal, closes after directly closing or waiting the default time limit if the process exception of top-level window, if top-level window The return value that other non-top-level windows are further obtained in the case where without exception judges whether window process occur one by one different Often, it then handles respectively.Since usual situation is all that top-level window hang-up, seemingly-dead, ossified, crash, stuck or nothing occurs first Situations such as response, leads to system desktop operation exception, therefore handles top-level window can reduce the invalid dynamic of processing first Make, improves the efficiency being managed, enhance the experience of user.
Embodiment five
Fig. 5 is the flow chart for the window process management method that the embodiment of the present invention five provides, and the present embodiment further provides for The concrete mode of abnormality processing, this method comprises:
S501, judge whether the predeterminable event for sending message is triggered;
The title of default account is obtained when S502, predeterminable event are triggered;
S503, all current window process titles for obtaining the name on account respective session;
S504, the handle that window is corresponded to according to the name acquiring of each window process;
S505, presetting message is sent to current window process according to the handle of the window;
S506, the first return value for obtaining the default associated top-level window of account;
S507, determine whether the top-level window is abnormal window process according to first return value;
S508, the second return value for obtaining other windows;
S509, determine whether other windows are abnormal window process according to the second return value;
S510, the window title for obtaining abnormal window process;
S511, the window identification code for obtaining abnormal window process;
S512, the corresponding window of the abnormal window process is closed according to the window identification code;
S513, the corresponding window of the abnormal window process is restarted according to the window identification code and the window title.
Compared with the existing technology, window process management method provided in this embodiment can send messages to pre-set user table All window processes in face, first determine the abnormal conditions of top-level window, then determine the abnormal conditions of non-top-level window, by exception window Mouth is closed or weight window process opens, and the automatic monitoring and management of multi-user's window process is realized, conveniently to abnormal window process Processing, avoids system excess resource and is occupied by abnormal window process, reduce or prevented the stuck situation of user's desktop.
Embodiment six
Fig. 6 is a kind of structural schematic diagram for window management of process device 600 that the embodiment of the present invention six provides, which can It by software and or hardware realization, is typically integrated in terminal, can be realized by executing window process management method to exception window Mouth process automatically processes.
The present embodiment device includes message control module 601, anomaly analysis module 602 and process processing module 603.
Message control module 601 for sending a message to the window process of default account, and obtains return value;
Anomaly analysis module 602, for determining abnormal window process according to the return value;
Process processing module 603, for closing or restarting the corresponding window of the abnormal window process.
Further, the message control module 601 includes triggering judgment module, for judging the default thing of transmission message Whether part is triggered;Message transmission module, for sending a message to the window process of default account when predeterminable event is triggered; And message reception module, for obtaining return value.
Further, message transmission module includes that name on account obtains module, for obtaining the title of default account;Window Mouth process name acquiring module, the title of all current window process titles for obtaining the name on account respective session; The handle acquiring module of window Process Window, for corresponding to the handle of window according to the name acquiring of each window process.This reality The example message transmission module is applied, for sending a message to all current window processes according to the handle of the window.
Further, the anomaly analysis module 602 includes window process status confirmation module, for according to return value Type determines corresponding window state of a process;And abnormal confirmation module, it is different for being determined according to the window state of a process Normal window process.The state of the present embodiment journey includes first state and the second state, when the window process is first state, Determine the window process exception;Or when the window process is the second state and to keep the second state within a preset time, really The fixed window process exception.
Further, the message reception module includes top-level window processing module, is closed for obtaining the default account The handle of the top-level window of connection;And the return value of the handle acquiring top-level window according to the top-level window.
Further, the process processing module 603 includes, and window title obtains module, for obtain abnormal window into The window title of journey;Window identification code obtains module, for obtaining the window identification code of abnormal window process;The processing of window process Unit is used to close the abnormal window process according to the window identification code, or according to the window identification code and the window Mouth title restarts the abnormal window process.
Compared with the existing technology, the present embodiment window management of process device is for executing aforementioned the present embodiment window process pipe Reason method, therefore can also realize all advantages of previous embodiment, details are not described herein.
Embodiment seven
Fig. 7 is a kind of structural schematic diagram for server that the embodiment of the present invention seven provides, as shown in fig. 7, this kind of server Including memory 701, processor 702, the quantity of processor 702 can be one or more in server, at one in Fig. 7 For reason device 702;Memory 701, processor 702 in server can be connected by bus or other modes, with logical in Fig. 7 It crosses for bus connection.
Memory 701 is used as a kind of computer readable storage medium, can be used for storing software program, journey can be performed in computer Sequence and module, as in the embodiment of the present invention the corresponding program instruction/module of window process management method (for example, window into Message control module 601, anomaly analysis module 602 and process processing module 603 in thread management device.Processor 702 passes through Software program, instruction and the module being stored in memory 701 are run, thereby executing the various function of equipment/terminal/server It can apply and data processing, that is, realize above-mentioned window process management method.
Memory 701 can mainly include storing program area and storage data area, wherein storing program area can store operation system Application program needed for system, at least one function;Storage data area, which can be stored, uses created data etc. according to terminal.This Outside, memory 701 may include high-speed random access memory, can also include nonvolatile memory, for example, at least one Disk memory, flush memory device or other non-volatile solid state memory parts.In some instances, memory 701 can be into one Step includes the memory remotely located relative to processor 702, these remote memories can pass through network connection to equipment/end End/server.The example of above-mentioned network includes but is not limited to internet, intranet, local area network, mobile radio communication and its group It closes.
Storage medium --- any various types of memory devices or storage equipment.Term " storage medium " is intended to wrap It includes: install medium, such as CD-ROM, floppy disk or magnetic tape equipment;Computer system memory or random access memory, such as DRAM, DDRRAM, SRAM, EDORAM, Lan Basi (Rambus) RAM etc.;Nonvolatile memory, such as flash memory, magnetic medium (example Such as hard disk or optical storage);Register or the memory component of other similar types etc..Storage medium may further include other Memory of type or combinations thereof.In addition, storage medium can be located at program in the first computer system being wherein performed, Or can be located in different second computer systems, second computer system is connected to the by network (such as internet) One computer system.Second computer system can provide program instruction to the first computer for executing." storage is situated between term Matter " may include may reside in different location (such as by network connection different computer systems in) two or More storage mediums.Storage medium can store the program instruction that can be performed by one or more processors and (such as implement For computer program).
Certainly, a kind of storage medium comprising computer executable instructions that the embodiment of the present invention also provides, computer Executable instruction is not limited to window process management method operation as above, can also be performed provided by any embodiment of the invention Relevant operation in window process management method.
In one embodiment, a kind of storage medium computer comprising computer executable instructions provided in an embodiment of the present invention Executable instruction is used to execute a kind of window process management method when being executed by computer processor, this method comprises:
The window process of default account is sent a message to, and obtains return value;
Abnormal window process is determined according to the return value;
Close or restart the corresponding window of the abnormal window process.
Certainly, a kind of storage medium comprising computer executable instructions, computer provided by the embodiment of the present invention Executable instruction is not limited to method operation as above, and window management of process provided by any embodiment of the invention can also be performed Relevant operation in method.
By the description above with respect to embodiment, it is apparent to those skilled in the art that, the present invention can It is realized by software and required common hardware, naturally it is also possible to which by hardware realization, but in many cases, the former is more preferably Embodiment.Based on this understanding, technical solution of the present invention substantially the part that contributes to existing technology in other words It can be embodied in the form of software products, which may be stored in a computer readable storage medium, Floppy disk, read-only memory (Read-OnlyMemory, ROM), random access memory such as computer (RandomAccessMemory, RAM), flash memory (FLASH), hard disk or CD etc., including some instructions are used so that a meter Calculate the method that machine equipment (can be personal computer, server or the network equipment etc.) executes each embodiment of the present invention.
It is worth noting that, included each unit and module are only in the embodiment of above-mentioned window management of process device It is to be divided according to the functional logic, but be not limited to the above division, as long as corresponding functions can be realized;Separately Outside, the specific name of each functional unit is also only for convenience of distinguishing each other, the protection scope being not intended to restrict the invention.Respectively Unit or module can also be integrated circuit or chip with corresponding function, and the window management of process device is multiple integrated The circuit system that circuit or chip are constituted.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that The present invention is not limited to specific embodiments here, be able to carry out for a person skilled in the art it is various it is apparent variation, again Adjustment and substitution are without departing from protection scope of the present invention.Therefore, although by above embodiments to the present invention carried out compared with For detailed description, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, can be with Including more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.

Claims (10)

1. a kind of window process management method, it is characterised in that:
The window process of default account is sent a message to, and obtains return value;
Abnormal window process is determined according to the return value;
Close or restart the corresponding window of the abnormal window process.
2. window process management method according to claim 1, it is characterised in that: described to send a message to default account Window process, comprising:
Judge whether the predeterminable event for sending message is triggered;
The window process of default account is sent a message to when predeterminable event is triggered.
3. window process management method according to claim 2, it is characterised in that: the hair when predeterminable event is triggered Send message to the window process of default account, comprising:
Obtain the title of default account;
Obtain all current window process titles of the name on account respective session;
The handle of window is corresponded to according to the name acquiring of each window process;
All current window processes are sent a message to according to the handle of the window.
4. window process management method according to claim 1, it is characterised in that: it is described determined according to the return value it is different Normal window process, comprising:
Corresponding window state of a process is determined according to the type of return value;
Abnormal window process is determined according to the window state of a process.
5. window process management method according to claim 4, it is characterised in that: the window state of a process includes the One state and the second state determine that abnormal window process includes: according to the window state of a process
When the window process is first state, the window process exception is determined;Or
When the window process is the second state and to keep the second state within a preset time, the window process exception is determined.
6. window process management method according to claim 1, it is characterised in that: the acquisition return value, comprising:
Obtain the handle of the associated top-level window of default account;
According to the return value of the handle acquiring top-level window of the top-level window.
7. -6 any window process management method according to claim 1, it is characterised in that: the closing is restarted described The corresponding window of abnormal window process, comprising:
Obtain the window title of abnormal window process;
Obtain the window identification code of abnormal window process;
The abnormal window process is closed according to the window identification code, or according to the window identification code and the window title Restart the abnormal window process.
8. a kind of window management of process device characterized by comprising
Message control module for sending a message to the window process of default account, and obtains return value;
Anomaly analysis module, for determining abnormal window process according to the return value;
Process processing module, for closing or restarting the corresponding window of the abnormal window process.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor The window process management method as described in any in claim 1-7 is realized when row.
10. a kind of server, which is characterized in that including memory, processor and storage can be transported on a memory and in processor Capable computer program, the processor realize window as claimed in claim 1 when executing the computer program Process management method.
CN201811442671.8A 2018-11-29 2018-11-29 Window process management method, device, storage medium and server Pending CN109558233A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811442671.8A CN109558233A (en) 2018-11-29 2018-11-29 Window process management method, device, storage medium and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811442671.8A CN109558233A (en) 2018-11-29 2018-11-29 Window process management method, device, storage medium and server

Publications (1)

Publication Number Publication Date
CN109558233A true CN109558233A (en) 2019-04-02

Family

ID=65867949

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811442671.8A Pending CN109558233A (en) 2018-11-29 2018-11-29 Window process management method, device, storage medium and server

Country Status (1)

Country Link
CN (1) CN109558233A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110955514A (en) * 2019-10-09 2020-04-03 烽火通信科技股份有限公司 Method, system and computer readable medium for improving utilization rate of Linux business process
CN111966562A (en) * 2020-07-21 2020-11-20 北京视博云信息技术有限公司 Monitoring method and device of cloud platform and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110025698A1 (en) * 2009-07-30 2011-02-03 Hon Hai Precision Industry Co., Ltd. Process management system
CN104020973A (en) * 2014-05-19 2014-09-03 广州酷狗计算机科技有限公司 Message display method and device
CN104598241A (en) * 2015-01-27 2015-05-06 中国石油集团东方地球物理勘探有限责任公司 Window monitoring method and system
CN106293979A (en) * 2015-06-25 2017-01-04 伊姆西公司 Detection procedure is without the method and apparatus of response
CN107423620A (en) * 2017-03-12 2017-12-01 郑州云海信息技术有限公司 The management method and device of storage server service processes
CN107590389A (en) * 2017-10-18 2018-01-16 北京奇虎科技有限公司 Method for testing security and device, electronic equipment, computer-readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110025698A1 (en) * 2009-07-30 2011-02-03 Hon Hai Precision Industry Co., Ltd. Process management system
CN104020973A (en) * 2014-05-19 2014-09-03 广州酷狗计算机科技有限公司 Message display method and device
CN104598241A (en) * 2015-01-27 2015-05-06 中国石油集团东方地球物理勘探有限责任公司 Window monitoring method and system
CN106293979A (en) * 2015-06-25 2017-01-04 伊姆西公司 Detection procedure is without the method and apparatus of response
CN107423620A (en) * 2017-03-12 2017-12-01 郑州云海信息技术有限公司 The management method and device of storage server service processes
CN107590389A (en) * 2017-10-18 2018-01-16 北京奇虎科技有限公司 Method for testing security and device, electronic equipment, computer-readable storage medium

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
(美)J.里克特(JEFFREY RICHTER)著、王建华 等译: "《Windows核心编程》", 31 May 2000, 机械工业出版社 *
(美)KEITH BROWN著、刘涛 等译: "《Windows安全性编程》", 29 February 2004, 中国电力出版社 *
一线文化 著: "《2天学会电脑组装 系统安装 日常维护与故障排除》", 31 July 2016, 中国铁道出版社 *
张德育: "《基于分层多域的应急通信系统监控技术》", 31 May 2013, 国防工业出版社 *
张曜: "《Windows API函数实用手册》", 31 August 2003, 冶金工业出版社 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110955514A (en) * 2019-10-09 2020-04-03 烽火通信科技股份有限公司 Method, system and computer readable medium for improving utilization rate of Linux business process
CN111966562A (en) * 2020-07-21 2020-11-20 北京视博云信息技术有限公司 Monitoring method and device of cloud platform and readable storage medium

Similar Documents

Publication Publication Date Title
US7000100B2 (en) Application-level software watchdog timer
US11675603B2 (en) Systems and methods for providing control of application execution
JP4156663B2 (en) Method and apparatus for monitoring and controlling a program in a network
US9128745B2 (en) Automatically managing the storage of a virtual machine
RU2407053C2 (en) System and method of scheduling device control
CN104360878B (en) A kind of method and device of application software deployment
US7415519B2 (en) System and method for prevention of boot storms in a computer network
US20100287553A1 (en) System, method, and software for controlled interruption of batch job processing
CN111290834A (en) Method, device and equipment for realizing high availability of service based on cloud management platform
TW200828909A (en) A technique for synchronizing data with a mobile device based on a synchronization context
JP2002324047A (en) Method and system for automated session resources cleanup in distributed client/server environment
US20170032000A1 (en) Database manager
US10506051B2 (en) Remote system monitor
CN102999387B (en) Process running gear and method
CN109558233A (en) Window process management method, device, storage medium and server
CN109361542A (en) The fault handling method of client, device, system, terminal and server
CN115314540A (en) Request response timeout processing method, device, equipment and medium
CN113542256A (en) Method, device, equipment and storage medium for updating login credentials in client
US8250413B2 (en) Connection broker assignment status reporting
CN112987904A (en) Heartbeat control method and device
CN106155859B (en) monitoring management system, information processing method and high-density server
CN116578359A (en) Micro-service state adjustment method, device, equipment and storage medium
JP2002229870A (en) Server trouble monitoring system
CN115098294A (en) Abnormal event processing method, electronic equipment and management terminal
JP2007323651A (en) System, method and program for managing default value of computer program

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190402