IP Library › Granted Patent US 10,802,906
Granted Patent B2
US 10,802,906 · App. 16/281,869 · Granted Oct 13, 2020

Monitoring method and apparatus of server, and storage medium

Inventor: Kunming Hou (Shenzhen, CN)
Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
G06F11/0793G06F11/302G06F11/3006G06F11/327G06F11/3495H04L43/045H04L43/0805H04L43/0876H04L43/50G06F8/60
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,802,906
App. No.
16/281,869
Granted
Oct 13, 2020
Kind
B2
Abstract

A monitoring method of a server is provided. The server starts a target monitoring process of a client, and monitors, after the server starts the target monitoring process, whether the target monitoring process exceptionally exits. Further, the server sends, to a preset terminal when the server detects that the target monitoring process exceptionally exits, alarm information used to indicate that the target monitoring process exceptionally exits, where the preset terminal sends an operation and maintenance instruction to the server according to the alarm information. The server also maintains the target monitoring process according to the operation and maintenance instruction.

Claims (77)

1. A monitoring method of a server, comprising:

starting, by the server, a target monitoring process of a client, the client being configured to exchange data with a third-party server related to a specific service scenario;

monitoring, by the server after the server starts the target monitoring process, whether the target monitoring process exceptionally exits;

sending, by the server, to a preset terminal when the server detects that the target monitoring process exceptionally exits, alarm information used to indicate that the target monitoring process exceptionally exits;

receiving, from the preset terminal, an operation and maintenance instruction according to the alarm information; and

maintaining, by the server, the target monitoring process according to the operation and maintenance instruction,

wherein, maintaining the target monitoring process so as to prevent the target monitoring process from exceptionally exiting again due to a same reason, thereby achieving an effect of improving monitoring availability of the server.

2. The method according to claim 1 , wherein, after starting a target monitoring process of a client, the method further comprises:

determining, by the server, whether a service file of the client is updated; and

when it is determined that the service file of the client is updated, restarting, by the server, the target monitoring process.

3. The method according to claim 1 , wherein, after starting a target monitoring process of a client, the method further comprises:

when the server detects that the target monitoring process exceptionally exits, restarting, by the server, the target monitoring process.

4. The method according to claim 1 , wherein the server monitors multiple clients exchanging data with third-party servers, and the method further comprises:

displaying, by the server, a visual management console that includes a client running monitoring interface and a client log list interface;

displaying in the visual management console, by the server, status of the multiple clients according to corresponding target monitoring processes, wherein the status of a client comprises at least one of: a running status of the client, a load status of the client, and a log file of the client.

5. The method according to claim 1 , wherein, before starting a target monitoring process of a client, the method further comprises:

obtaining, by the server, the target monitoring process according to a processing result, wherein the processing result is obtained by processing, using a port of the client, a request of the client that is forwarded by a preset web server, and the request of the client is used to request the web server to allow the client to execute a preset event.

6. The method according to claim 5 , wherein the client comprises multiple clients, and the obtaining, by the server, the target monitoring process according to a processing result comprises:

obtaining, by the server, a target monitoring process of each client according to a processing result of each client, wherein the processing result of each client is obtained by processing, using a port of each client, a request of each client that is forwarded by the preset web server.

7. The method according to claim 1 , wherein, before starting a target monitoring process of a client, the method further comprises:

listening, by the server, to a preset port of the server, to obtain a request of the server, wherein the request of the server is used to request the client to execute a preset event;

sending, by the server, the request of the server to a port of the client, wherein the request of the server is processed by using the port of the client, to obtain a processing result; and

obtaining, by the server, the target monitoring process according to the processing result.

8. The method according to claim 7 , wherein:

the client comprises multiple clients;

the sending, by the server, the request of the server to a port of the client comprises:

distributing, by the server, the request of the server to a port of each client, wherein the request of the server is processed by using the port of each client, to obtain a processing result of each client; and

the obtaining, by the server, the target monitoring process according to a processing result comprises:

obtaining, by the server, a target monitoring process of each client according to the processing result of each client.

9. A monitoring apparatus of a server, comprising:

a memory storing computer program instructions; and

a processor coupled to the memory and, when executing the computer program instructions, configured to perform:

starting a target monitoring process of a client, the client being configured to exchange data with a third-party server related to a specific service scenario;

monitoring, after the target monitoring process is started, whether the target monitoring process exceptionally exits;

sending to a preset terminal when it is detected that the target monitoring process exceptionally exits, alarm information used to indicate that the target monitoring process exceptionally exits;

receiving, from the preset terminal, an operation and maintenance instruction according to the alarm information; and

maintaining the target monitoring process according to the operation and maintenance instruction,

wherein, maintaining the target monitoring process so as to prevent the target monitoring process from exceptionally exiting again due to a same reason, thereby achieving an effect of improving monitoring availability of the server.

10. The apparatus according to claim 9 , wherein, after starting a target monitoring process of a client, the processor is further configured to perform:

determining whether a service file of the client is updated; and

when it is determined that the service file of the client is updated, restarting the target monitoring process.

11. The apparatus according to claim 9 , wherein, after starting a target monitoring process of a client, the processor is further configured to perform:

when it is detected that the target monitoring process exceptionally exits, restarting the target monitoring process.

12. The apparatus according to claim 9 , wherein the server monitors multiple clients exchanging data with third-party servers, and the processor is further configured to perform:

displaying a visual management console that includes a client running monitoring interface and a client log list interface;

displaying, in the visual management console, status of the multiple clients according to corresponding target monitoring processes, wherein the status of a client comprises at least one of: a running status of the client, a load status of the client, and a log file of the client.

13. The apparatus according to claim 9 , wherein, before starting a target monitoring process of a client, the processor is further configured to perform:

obtaining the target monitoring process according to a processing result, wherein the processing result is obtained by processing, using a port of the client, a request of the client that is forwarded by a preset web server, and the request of the client is used to request the web server to allow the client to execute a preset event.

14. The apparatus according to claim 13 , wherein the client comprises multiple clients, and the obtaining the target monitoring process according to a processing result comprises:

obtaining a target monitoring process of each client according to a processing result of each client, wherein the processing result of each client is obtained by processing, using a port of each client, a request of each client that is forwarded by the preset web server.

15. The apparatus according to claim 9 , wherein, before starting a target monitoring process of a client, the processor is further configured to perform:

listening to a preset port of the server, to obtain a request of the server, wherein the request of the server is used to request the client to execute a preset event;

sending the request of the server to a port of the client, wherein the request of the server is processed by using the port of the client, to obtain a processing result; and

obtaining the target monitoring process according to the processing result.

16. The apparatus according to claim 15 , wherein:

the client comprises multiple clients;

the sending the request of the server to a port of the client comprises:

distributing the request of the server to a port of each client, wherein the request of the server is processed by using the port of each client, to obtain a processing result of each client; and

the obtaining the target monitoring process according to a processing result comprises:

obtaining a target monitoring process of each client according to the processing result of each client.

17. A non-transitory computer-readable storage medium for a server and storing computer program instructions executable by at least one processor to perform:

a memory storing computer program instructions; and

a processor coupled to the memory and, when executing the computer program instructions, configured to perform:

starting a target monitoring process of a client, the client being configured to exchange data with a third-party server related to a specific service scenario;

monitoring, after the target monitoring process is started, whether the target monitoring process exceptionally exits;

sending to a preset terminal when it is detected that the target monitoring process exceptionally exits, alarm information used to indicate that the target monitoring process exceptionally exits;

receiving, from the preset terminal, an operation and maintenance instruction according to the alarm information; and

maintaining the target monitoring process according to the operation and maintenance instruction,

wherein, maintaining the target monitoring process so as to prevent the target monitoring process from exceptionally exiting again due to a same reason, thereby achieving an effect of improving monitoring availability of the server.

18. The non-transitory computer-readable storage medium according to claim 17 , further storing program instructions executable by the processor to perform, after starting a target monitoring process of a client:

determining whether a service file of the client is updated; and

when it is determined that the service file of the client is updated, restarting the target monitoring process.

19. The non-transitory computer-readable storage medium according to claim 17 , further storing program instructions executable by the processor to perform, after starting a target monitoring process of a client:

when it is detected that the target monitoring process exceptionally exits, restarting the target monitoring process.

20. The non-transitory computer-readable storage medium according to claim 17 , further storing program instructions executable by the processor to perform:

displaying a visual management console that includes a client running monitoring interface and a client log list interface, wherein the visual management console is configured to monitor multiple clients exchanging data;

displaying, in the visual management console, status of the multiple clients according to corresponding target monitoring processes, wherein the status of a client comprises at least one of: a running status of the client, a load status of the client, and a log file of the client.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 21, 2019
From: HOU, KUNMING
To: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
Reel/Frame 048400/0246 →
Priority Claims (1)
CN 2016 1 1123831 · Dec 8, 2016 · national
Continuity (2)
Continuation PCTCN2017111531 · Nov 17, 2017
Related Publication 20190179726A1 · Jun 13, 2019