Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Server online control method and device

A technology of a control method and a control device, which is applied in the field of server online control method and device, and can solve problems such as downtime, excessive access traffic of newly added servers, and difficult work performance, etc.

Pending Publication Date: 2022-04-08
BEIJING TOPSEC NETWORK SECURITY TECH +2
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in practice, it is found that as the service time of the server increases, the performance of the back-end server will be insufficient, which makes it necessary to add new servers with the same business in the server cluster.
However, since the performance of the newly added server is difficult to achieve stability in a relatively short period of time, if the newly added server handles a large and relatively fixed amount of access traffic per unit time at the beginning, it is likely to cause new The server is down due to excessive access traffic, which leads to business hangup

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Server online control method and device
  • Server online control method and device
  • Server online control method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0042] Please see figure 1 , figure 1 A schematic flowchart of a server online control method is provided for this embodiment of the application. Wherein, the server online control method includes:

[0043] S101. Perform an http health check on the server to obtain a current health status.

[0044] In this embodiment, the http health check refers to the method of using the http(s) protocol to monitor the target IP address, and monitoring the IP address's web server network reachability, service availability, first packet delay and other indicators.

[0045] In this embodiment, this method needs to perform http health check on the server.

[0046] In this embodiment, the method can perform an http health check on the server, and when the check is completed, store the checked current health status (that is, the health check result) in a corresponding memory for preservation, ready for invocation.

[0047] S102. Determine whether the current health state is a normal state, if...

Embodiment approach

[0048] As an optional implementation, the method also includes:

[0049] When the current health status is not normal, judge whether the historical health status recorded by the server last time is normal;

[0050] When the historical health status is normal, obtain and record the abnormal reason of the server.

[0051] In this embodiment, when the method detects that the current health state of the server is abnormal, check whether the abnormal cause of the current server is traffic overload, and if so, record the abnormal cause as traffic overload; otherwise, record the abnormal cause as other reason.

[0052] S103. Determine whether the historical health status recorded by the server last time is an abnormal status, if yes, perform step S104; if not, end this process.

[0053] In this embodiment, when the historical health status is abnormal and the current health status is normal, then it is considered that the server status has changed from abnormal status to normal sta...

Embodiment 2

[0072] Please see figure 2 , figure 2 It is a schematic structural diagram of a server online control device provided in an embodiment of the present application. Such as figure 2 As shown, the server online control device includes:

[0073] A health check unit 210, configured to perform a health check on the server to obtain the current health status;

[0074] The first judging unit 220 is used to judge whether the current health state is a normal state;

[0075] The second judging unit 230 is used for judging whether the historical health state recorded by the server last time is an abnormal state when the current health state is a normal state;

[0076] The third judging unit 240 is used for judging whether the abnormal cause of the server is traffic overload when the historical health state is an abnormal state;

[0077] The fourth judging unit 250 is used for judging whether the server stores a session keeping record when the cause of the abnormality is traffic ov...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a server online control method and device, and the method comprises the steps: carrying out the health examination of a server, and obtaining a current health state; judging whether the current health state is a normal state or not; when the current health state is a normal state, judging whether a historical health state recorded by the server last time is an abnormal state or not; when the historical health state is an abnormal state, judging whether an abnormal reason of the server is traffic overload or not; when the abnormal reason is traffic overload, judging whether the server stores a session keeping record or not; and when the server does not store the session keeping record, controlling the server to be warm online. Therefore, by implementing the implementation mode, online control can be carried out according to the condition of the server, so that the server can be stably added into the server cluster to carry out corresponding work, and the condition that the service is suspended when the server is online is avoided.

Description

technical field [0001] The present application relates to the field of load balancing, and in particular, relates to a server online control method and device. Background technique [0002] At present, server load balancing has been widely used in major server clusters, so that managers can distribute access traffic to each back-end server through a built-in scheduling algorithm. However, in practice, it is found that as the service time of the server increases, the performance of the back-end server will be insufficient, which makes it necessary to add new servers with the same business in the server cluster. However, since the performance of the newly added server is difficult to achieve stability in a relatively short period of time, if the newly added server handles a large and relatively fixed amount of access traffic per unit time at the beginning, it is likely to cause new The server was down due to excessive access traffic, which caused the business to hang up. Co...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F9/50G06F11/30G06F11/34H04L43/08H04L67/02H04L67/1001
Inventor 王国光赵沛静
Owner BEIJING TOPSEC NETWORK SECURITY TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products