CN108777640B - Server detection method, device, system and storage medium - Google Patents

Server detection method, device, system and storage medium Download PDF

Info

Publication number
CN108777640B
CN108777640B CN201810563883.5A CN201810563883A CN108777640B CN 108777640 B CN108777640 B CN 108777640B CN 201810563883 A CN201810563883 A CN 201810563883A CN 108777640 B CN108777640 B CN 108777640B
Authority
CN
China
Prior art keywords
server
detection
network
probe
address
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
CN201810563883.5A
Other languages
Chinese (zh)
Other versions
CN108777640A (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.)
Tencent Technology Shenzhen Co Ltd
Tencent Cloud Computing Beijing Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Tencent Cloud Computing Beijing Co 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 Tencent Technology Shenzhen Co Ltd, Tencent Cloud Computing Beijing Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201810563883.5A priority Critical patent/CN108777640B/en
Publication of CN108777640A publication Critical patent/CN108777640A/en
Application granted granted Critical
Publication of CN108777640B publication Critical patent/CN108777640B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/04Network management architectures or arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention discloses a server detection method, a device, a system and a storage medium, wherein the embodiment of the invention obtains a detection request in a basic network, and the detection request carries an identifier of a private network where a target server to be detected is located; allocating a transmission label for the private network based on the identification, and allocating a detection address in a basic network for the private network; acquiring a physical address of a target server to be detected in the private network; controlling a detection server in a basic network to send a detection message to the target server through network equipment in the basic network according to the identification, the detection address, the physical address and the transmission label; and receiving a detection result returned by the target server based on the detection message. According to the scheme, each server can be deployed in the basic network, so that the management server can flexibly allocate each server to detect the server, and the convenience of detecting the server is improved.

Description

Server detection method, device, system and storage medium
Technical Field
The invention relates to the technical field of internet, in particular to a server detection method, a device, a system and a storage medium.
Background
In internet services, server states are often detected, so that the server can execute corresponding services according to the server states, and security and reliability of the server executing the services are guaranteed.
In the prior art, in the process of detecting a server in a Private network (VPC), a detection server needs to be deployed inside the VPC, and needs to be deployed to each VPC (every time a VPC is generated, a complete set of detection server deployment needs to be performed), and the detection server needs to occupy resources, devices and the like of the VPC, and then performs server detection based on a VPC internal network. For example, the VPC intranet may send an Internet Control Message Protocol (ICMP) packet to the server through a ping command, and determine whether the server is in a normal operation state or whether a connection link with the server is in a normal connection state based on whether a response Message returned by the server is received.
In the research and practice process of the prior art, the inventor of the present invention finds that deploying the probe server inside the VPC network occupies the deployment and construction of the probe server by the VPC network resources, which is not only limited by the resource management capability in the VPC network (for example, some resources in the VPC cannot be flexibly scheduled), but also needs to change the composition of the resources in the VPC network, and is very inconvenient.
Disclosure of Invention
The embodiment of the invention provides a server detection method, a device, a system and a storage medium, aiming at improving the convenience of detecting a server.
In order to solve the above technical problems, embodiments of the present invention provide the following technical solutions:
a server detection method is applied to a management server and comprises the following steps:
acquiring a detection request in a basic network, wherein the detection request carries an identifier of a private network where a target server to be detected is located;
allocating a transmission label for the private network based on the identification, and allocating a detection address in a basic network for the private network;
acquiring a physical address of a target server to be detected in the private network;
controlling a detection server in a basic network to send a detection message to the target server through network equipment in the basic network according to the identification, the detection address, the physical address and the transmission label;
and receiving a detection result returned by the target server based on the detection message.
A server probe, comprising:
a first obtaining unit, configured to obtain a probe request in a basic network, where the probe request carries an identifier of a private network where a target server to be detected is located;
an allocation unit, configured to allocate a transmission tag to the private network based on the identifier, and allocate a probe address in a base network to the private network;
a second obtaining unit, configured to obtain a physical address of a target server to be detected in the private network;
the control unit is used for controlling a detection server in a basic network to send a detection message to the target server through network equipment in the basic network according to the identification, the detection address, the physical address and the transmission label;
and the receiving unit is used for receiving the detection result returned by the target server based on the detection message.
Optionally, the control unit comprises:
the first sending subunit is configured to send the probe address, the physical address, and the transmission label to a probe server located in a base network, and control the probe server to send a probe packet to a network device located in the base network based on the probe address, the physical address, and the transmission label;
and the second sending subunit is configured to send the identifier, the detection address, and the transmission tag to the network device, and control the network device to forward the detection packet to the target server according to the identifier, the detection address, and the transmission tag after receiving the detection packet.
Optionally, the probe server includes a plurality of servers, and the first sending subunit includes:
the acquisition module is used for acquiring the state information of each detection server in the basic network;
the determining module is used for determining the priority of each detection server according to the state information of each detection server;
the screening module is used for screening at least one detection server from the plurality of detection servers according to the priority of each detection server to obtain a target detection server;
and the sending module is used for sending the detection address, the physical address and the transmission label to the target detection server.
Optionally, the determining module is specifically configured to:
screening out idle detection servers from the plurality of detection servers according to the state information of each detection server to obtain candidate detection servers;
extracting the core number and the residual memory from the state information of the candidate detection server, and respectively setting weights for the core number and the residual memory;
and determining the priority of each detection server according to the core number, the residual memory and the weight of each candidate detection server.
Optionally, when there are multiple target detection servers, the sending module is specifically configured to:
configuring a plurality of groups of information consisting of the detection address, the physical address and the transmission label;
and calling a plurality of threads, and respectively sending each group of information to each target detection server through the plurality of threads.
Optionally, the network device includes a plurality of network devices, and the second sending subunit is specifically configured to:
acquiring state information of each network device in a basic network;
determining the priority of each network device according to the state information of each network device;
screening out at least one network device from the plurality of network devices according to the priority of each network device to obtain a target network device;
and sending the identification, the detection address and the transmission label to the target network equipment.
Optionally, the first obtaining unit is specifically configured to:
receiving a configuration instruction in an infrastructure network;
determining an identifier, a detection period and a detection protocol corresponding to a private network where a target server to be detected is located according to the configuration instruction;
and generating a detection request according to the identification, the detection period and the detection protocol.
Optionally, the private network includes a plurality of private networks, and the allocation unit is specifically configured to:
determining a private network where the target server is located from a plurality of private networks based on the identification;
acquiring idle transmission labels from a preset transmission label set, and acquiring idle detection addresses from a preset detection address set;
assigning the free transmission label to the private network, and assigning the free probe address to the private network.
Optionally, the second obtaining unit is specifically configured to:
receiving an address acquisition request carrying the identifier sent by the detection server;
acquiring all servers to be detected in the private network according to the identification to obtain a target server;
the method comprises the steps of obtaining a preset physical address list and server identifications of target servers, and inquiring physical addresses corresponding to the server identifications from the physical address list.
A server detection system comprises a management server, a detection server and a network device, wherein the management server, the detection server and the network device are mutually connected, the server detection system receives data transmitted to the inside of the system through the management server in a basic network and is connected with a target server positioned outside the system in a private network through the network device, wherein,
the management server is used for acquiring a detection request in a basic network, wherein the detection request carries an identifier of a private network where a target server to be detected is located;
allocating a transmission label for the private network based on the identification, and allocating a detection address in a basic network for the private network;
acquiring a physical address of a target server to be detected in the private network;
sending the detection address, the physical address and the transmission label to a detection server in a basic network, and sending the identification, the detection address and the transmission label to network equipment in the basic network;
the detection server is used for sending a detection message to the network equipment based on the detection address, the physical address and the transmission label;
the network equipment is used for forwarding the detection message to the target server according to the identification, the detection address and the transmission label after receiving the detection message;
and receiving a detection result returned by the target server based on the detection message, and sending the detection result to the management server through the detection server.
A storage medium storing a plurality of instructions, the instructions being suitable for being loaded by a processor to perform the steps of any one of the server detection methods provided by the embodiments of the present invention.
The embodiment of the invention can acquire the detection request carrying the identification of the private network where the target server to be detected is located in the basic network, and allocate the transmission label for the private network based on the identification, allocate the detection address in the basic network for the private network, and acquire the physical address of the target server to be detected in the private network; and then controlling a detection server in the basic network to send a detection message to a target server through network equipment in the basic network according to the identification, the detection address, the physical address and the transmission label, and receiving a detection result returned by the target server based on the detection message. According to the scheme, the server detection system consisting of the management server, the detection server, the network equipment and the like can be deployed in the basic network outside the private network, so that the management server can flexibly allocate resources of each server or equipment (such as the detection server or the network equipment and the like) to detect the target server, and the convenience and the flexibility of detecting the server are improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic view of a scenario of a server detection system according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a server detection method according to an embodiment of the present invention;
fig. 3 is another schematic flow chart of a server detection method according to an embodiment of the present invention;
FIG. 4 is a diagram of a deployment architecture of a server probe system provided by an embodiment of the present invention;
fig. 5 is a schematic diagram of packet forwarding provided in the embodiment of the present invention;
fig. 6 is a schematic structural diagram of a server detection apparatus according to an embodiment of the present invention;
fig. 7 is another schematic structural diagram of a server detection apparatus according to an embodiment of the present invention;
FIG. 8 is a schematic structural diagram of a server detection system according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a server according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a server detection method, a device, a system and a storage medium.
Referring to fig. 1, fig. 1 is a schematic view of a scenario of a server detection system according to an embodiment of the present invention, where the server detection system is located in a basic network, the server detection system may include a management server, a detection server, a network device, and the like, and the management server, the detection server, and the network device may be connected to each other through a wired network or a wireless network.
The management server may include one or more management servers, which may be configured to manage each probe server and network device in the infrastructure network, and allocate a transmission tag, a probe address, trigger probing and receive a probe result, and the like, receive data transmitted from outside the system to inside the system, for example, receive a configuration instruction sent by a user through a terminal (e.g., a mobile phone, a tablet computer, a notebook computer, a desktop computer, and the like) so as to generate a probe request according to an identifier, a probe period, a probe protocol, and the like of a private network where a target server to be probed is located, according to the configuration instruction, allocate the transmission tag and the probe address in the infrastructure network for the private network, and obtain a physical address, and the like, of the target server to be probed in the private network, and according to the identifier, the probe result, and the like, The method comprises the steps of detecting an address, a physical address and a transmission label, controlling a detection server to send a detection message to a target server through network equipment in a basic network, for example, sending the detection address, the physical address, the transmission label and the like to the detection server in the basic network, and sending an identification, the detection address, the transmission label and the like to the network equipment, so that the detection server sends the detection message to the network equipment, and the network equipment forwards the detection message to the target server.
The detection server may be configured to detect a target server in the private network, where the detection period and the detection mode may be scheduled by the management server, and report a detection result to the management server, for example, a detection packet may be generated according to a detection address, a physical address, and a transmission tag received from the management server, and the detection packet is sent to the network device, where the detection server may include one or more detection servers.
The network device may be a switch, a gateway, a router, and other devices, and may be configured to forward a probe packet or a probe result, and the network device may be connected to a target server outside the system, and the network device may include one or more network devices, for example, the network device may receive an identifier, a probe address, a transmission tag, and the like sent by the management server, and forward the probe packet to the target server located in the private network according to the identifier, the probe address, the transmission tag, and the like after receiving the probe packet sent by the probe server; and after receiving the detection result returned by the target server, forwarding the detection result to the detection server.
The management server, the detection server and the network device are located in a basic network, the basic network is a physical network, such as an underlay network, a virtualized network, such as an overlay network, can be constructed on the basis of the basic network, and the virtualized network may be a public cloud virtualized network or a private cloud virtualized network. The basic network can be a network of a basic forwarding architecture of the current data center network, and the basic network refers to a physical basic layer as long as any two routes on the data center network can be reached; the basic network can be perfected by improving the technology of the physical network equipment, expanding the equipment quantity, the bandwidth scale and the like.
The target server in fig. 1 is a detected server, the target server is located in a private network (i.e., VPC), the private network may be a customizable network space (e.g., overlay network), a server, a load balancing server, a database, a non-relational database (Not Only SQ L, Nosql) block storage and other service resources may be deployed in the private network, a network segment may be freely divided or a routing policy may be formulated in the private network, the private network may configure a public network gateway to access the Internet (i.e., Internet), and also support configuring a public network or a private line to access and build a hybrid cloud, and the private network may be logically isolated from other networks.
It should be noted that the scenario diagram of the server detection system shown in fig. 1 is only an example, and the server detection system and the scenario described in the embodiment of the present invention are for more clearly illustrating the technical solution of the embodiment of the present invention, and do not form a limitation on the technical solution provided in the embodiment of the present invention.
The following are detailed below.
In this embodiment, description will be made from the perspective of a management server, and the management server may be specifically integrated in a network device such as a server or a gateway.
A server probe method, comprising: acquiring a detection request in a basic network, wherein the detection request carries an identifier of a private network where a target server to be detected is located; allocating a transmission label for the private network based on the identification, and allocating a detection address in the basic network for the private network; acquiring a physical address of a target server to be detected in a private network; controlling a detection server in the basic network to send a detection message to a target server through network equipment in the basic network according to the identification, the detection address, the physical address and the transmission label; and receiving a detection result returned by the target server based on the detection message.
Referring to fig. 2, fig. 2 is a flowchart illustrating a server detection method according to an embodiment of the present invention. The server detection method may include:
in step S101, a probe request is obtained in the base network, where the probe request carries an identifier of a private network where a target server to be detected is located.
The detection request may carry information such as an identifier of a private network where the target server to be detected is located, a detection period, and a detection protocol, where the identifier is used to uniquely identify the private network, and the identifier may be a name or a number of the private network, for example, the identifier may be composed of numbers and/or letters. The probing period may be flexibly set according to actual needs, and the probing Protocol may include a Control Message Protocol (Internet Control Message Protocol, ICMP) or a remote terminal Protocol (Telnet), etc.
Since the management server can be deployed in the base network and the target server to be detected is located in the private network, the management server can obtain the detection request in the base network. The management server may obtain the probe request at preset time intervals, or obtain the probe request when receiving the configuration instruction, and the specific obtaining time may be flexibly set according to actual needs, which is not limited herein.
In some embodiments, the step of obtaining the probe request in the infrastructure network may include: receiving a configuration instruction in an infrastructure network; determining an identifier, a detection period and a detection protocol corresponding to a private network where a target server to be detected is located according to a configuration instruction; and generating a detection request according to the identification, the detection period and the detection protocol.
Specifically, the management server may receive, in the infrastructure network, a configuration instruction sent by a configuration terminal, where the configuration terminal may be a terminal that configures detection information corresponding to the configuration instruction, and the terminal may be a mobile phone, a tablet computer, a notebook computer, a desktop computer, and the like. The configuration instruction is used for configuring the detection information, and the detection information may include an identifier corresponding to a private network where a target server to be detected is located, a detection period, a detection protocol, and the like. Therefore, the management server can determine the identifier, the detection period and the detection protocol corresponding to the private network according to the received configuration instruction, and then generate the detection request according to the identifier, the detection period and the detection protocol.
For example, the content examples contained in the probe information may be: (1) identification of private network: a; detection period: 10 seconds; the detection protocol comprises the following steps: an ICMP; or (2) identification of the private network: b, detection period: 20 seconds, probing protocol: telnet; and so on.
The probe request may include a five-tuple, such as a source address, a destination address, a source port number, a destination port number, a transport layer protocol, in addition to the identifier, the probe period, the probe protocol, and the like, and may initiate probing of a target server located in the private network after the probe request is generated.
It should be noted that the management server may obtain the detection information from the information base, and certainly, the detection information may also be obtained in other manners, where the detection information may include an identifier, a detection period, a detection protocol, and the like corresponding to a private network where the target server to be detected is located, and then, the detection request is generated according to the information, such as the identifier, the detection period, the detection protocol, and the like, included in the detection information.
When the number of the private networks is multiple, the private networks may receive configuration instructions corresponding to the private networks respectively, or acquire detection information corresponding to the private networks respectively, to determine an identifier, a detection period, a detection protocol, and the like corresponding to the private network where the target server to be detected is located, and generate a detection request corresponding to each private network respectively based on the identifier, the detection period, the detection protocol, and the like corresponding to each private network.
In step S102, a transmission label is assigned to the private network based on the identity, and a probe address in the base network is assigned to the private network.
After obtaining the probe request, the management server may allocate a transmission label to the private Network according to the identifier, where the transmission label identifies the private Network so as to forward the probe packet, where the transmission label may be a label of a Virtual local Area Network (Virtual L Area Network, V L AN), and may be referred to as vlan tag, or may be referred to as vlan id, and the like, and for example, the transmission label may be a serial number composed of numbers.
And, the management server may allocate a probe address in the base network for the private network, wherein the probe address may be an Internet Protocol (IP) Protocol for interconnection between networks, that is, an IP address for allocating private network mapping in the base network, for example, Under L ayIP.
In some embodiments, the private network includes a plurality, and the step of assigning a transmission label to the private network based on the identification, and assigning the private network a probe address in the base network may include:
determining a private network where the target server is located from a plurality of private networks based on the identification;
acquiring idle transmission labels from a preset transmission label set, and acquiring idle detection addresses from a preset detection address set;
a free transmission tag is assigned to the private network and a free probe address is assigned to the private network.
The private network VPC may include a plurality of private networks, for example, a first private network VPC-a, a second private network VPC-b, an nth private network VPC-n, and the like, and a value of n may be flexibly set according to actual needs, which is not limited herein.
The management server is preset with a transmission label set and a detection address set, etc., each transmission label set may include a plurality of transmission labels, and each detection address set may include a plurality of detection labels. The management server may extract, from the probe request, an identifier of a private network in which the target server to be detected is located, query a corresponding identifier in each private network, and then determine, from the plurality of private networks, the private network in which the target server is located according to the identifier.
At this time, the management server may determine whether there is an idle transmission tag in the preset transmission tag set, and if there is an idle transmission tag, may obtain the idle transmission tag from the transmission tag set, and allocate the idle transmission tag to the private network to be detected. If there is no idle transmission tag, it may wait until there is an idle transmission tag.
When a plurality of idle transmission labels exist, the idle transmission labels can be randomly or according to a preset algorithm to be allocated to the private network, for example, when the plurality of idle transmission labels comprise 1000 to 1500 and the first private network VPC-a needs to be detected, one of the idle transmission labels 1000 can be randomly allocated to the first private network VPC-a from the plurality of idle transmission labels; when the plurality of idle transmission labels include 2000 to 3000 and the first private network VPC-a, the second private network VPC-b and the third private network VPC-c need to be detected, three of the idle transmission labels 2000, 2001 and 2002 among the plurality of idle transmission labels can be randomly allocated to the first private network VPC-a, the second private network VPC-b and the third private network VPC-c, respectively, and so on.
And the management server can judge whether the preset detection address set has an idle detection address, if so, the management server can acquire the idle detection address from the detection address set and allocate the idle detection address to the private network to be detected. And acquiring idle detection addresses from a preset detection address set, and distributing the idle detection addresses to the private network.
In step S103, the physical address of the target server to be probed in the private network is acquired.
The management server can actively extract the identification of the private network where the target server to be detected is located from the detection request, acquire all or part of servers in the private network based on the identification to obtain the target server, wherein the target server is the server to be detected, and then acquire the physical address of the target server in the private network. Or, the management server may obtain the physical address of the target server in the private network based on the identifier after receiving the address obtaining request carrying the identifier of the private network sent by the probe server. Wherein the physical address may be an IP address of the destination server in the private network, for example, OverlayIP.
In some embodiments, the step of obtaining the physical address of the target server to be probed in the private network may comprise:
receiving an address acquisition request carrying an identifier sent by a detection server;
acquiring all servers to be detected in the private network according to the identification to obtain a target server;
and acquiring a preset physical address list and server identifications of the target server, and inquiring physical addresses corresponding to the server identifications from the physical address list.
Specifically, the management server may receive an address acquisition request sent by a probe server located in the basic network, where the address acquisition request may carry information such as an identifier of a private network where a target server to be detected is located, and the identifier of the private network may be sent to the probe server by the management server when the management server initiates detection of the target server. At this time, the management server may obtain a preset physical address list from a database or a memory, where the physical address list may store the physical addresses of the servers located in the private network, mapping relationships between the physical addresses and the identities of the servers, and the like.
The management server may obtain server identifiers corresponding to all servers to be detected in the private network, that is, server identifiers of the target servers, where the server identifiers may be names or numbers of the servers, for example, the management server may receive a setting instruction and set the server identifiers of the target servers to be detected based on the setting instruction, or the management server may obtain the server identifiers of the target servers to be detected from a server identifier list corresponding to the private network. Then, the management server may traverse the physical address list, and query the physical address corresponding to each server identifier from the physical address list to obtain the physical address corresponding to each server in the private network, that is, the physical address of the target server in the private network.
In step S104, the probe server in the base network is controlled to send a probe packet to the target server through the network device in the base network according to the identifier, the probe address, the physical address, and the transmission tag.
In some embodiments, controlling, according to the identifier, the probe address, the physical address, and the transmission tag, a probe server located in the infrastructure network to transmit a probe packet to a target server through a network device located in the infrastructure network may include:
sending the detection address, the physical address and the transmission label to a detection server in a basic network, and controlling the detection server to send a detection message to network equipment in the basic network based on the detection address, the physical address and the transmission label;
and sending the identifier, the detection address and the transmission label to the network equipment, and controlling the network equipment to forward the detection message to the target server according to the identifier, the detection address and the transmission label after receiving the detection message.
After obtaining the information such as the probe address, the physical address, and the transmission tag, the management server may send the probe address, the physical address, the transmission tag, and the like to a probe server located in the infrastructure network.
In some embodiments, the probe server includes a plurality, and the step of transmitting the probe address, the physical address and the transmission label to the probe server located in the infrastructure network may include:
acquiring state information of each detection server in a basic network;
determining the priority of each detection server according to the state information of each detection server;
screening at least one detection server from a plurality of detection servers according to the priority of each detection server to obtain a target detection server;
and sending the detection address, the physical address and the transmission label to a target detection server.
Specifically, when the probe server includes one, the management server may directly transmit information such as a probe address, a physical address, and a transmission tag to the probe server. When the probe server includes a plurality of probe servers, the management server may obtain the priority of each probe server, and preferentially send information such as a probe address, a physical address, and a transmission tag to one or more probe servers having a higher priority.
For example, state information of each probe server may be obtained, where the state information may include information of the number of cores of the probe server, remaining memories, whether to initiate probing and not initiate probing, and then a priority of each probe server may be determined according to the state information of each probe server, for example, a weight may be set for each type of information in the state information, the higher the total weight of the state information is, the higher the priority is, or a priority may be determined according to the size of the remaining memory of each probe server, the larger the remaining memory is, the higher the priority is, and the like.
In this case, at least one probe server may be selected from the plurality of probe servers according to the priority of each probe server to obtain a target probe server, for example, the probe servers may be sorted from high to low according to the priority, one probe server with the highest priority may be determined from the plurality of probe servers to obtain one target probe server, or a plurality of probe servers with the highest priority may be determined from the plurality of probe servers to obtain a plurality of target probe servers. After determining the target server, the probe address, the physical address, and the transmission label may be sent to the target probe server. For example, the detection server may receive a detection request sent by the management server, generate a detection message according to the identification, the detection period, the detection protocol, and the like of the private network in the detection request, establish a network card (i.e., a vlan network card) according to the detection address and the transmission tag, and send the detection message to the network device based on the network card and the physical address.
In some embodiments, the step of determining the priority of each probe server according to the status information of each probe server may include:
screening out idle detection servers from the plurality of detection servers according to the state information of each detection server to obtain candidate detection servers; extracting the kernel number and the residual memory from the state information of the candidate detection server, and respectively setting weights for the kernel number and the residual memory; and determining the priority of each detection server according to the core number, the residual memory and the weight of each candidate detection server.
For example, the management server may screen out idle probe servers from the plurality of probe servers according to the state information of each probe server that probes or probes are not being initiated, obtain candidate probe servers, set a weight for each state information of the probe servers, and then calculate the priority of each probe server according to the number of cores of each candidate probe server and its corresponding weight, and the remaining memory and its corresponding weight.
In some embodiments, when the target probe server is multiple, the step of sending the probe address, the physical address and the transmission tag to the target probe server may include: configuring a plurality of groups of information consisting of detection addresses, physical addresses and transmission labels; and calling a plurality of threads, and respectively sending each group of information to each target detection server through the plurality of threads.
When the number of target servers to be detected is multiple, the multiple target detection servers can be detected in parallel, the management server can configure multiple sets of information, each set of information consists of a detection address, a physical address, a transmission tag and the like, for example, when 3 target servers need to be detected, a first set of information can be configured as follows: a detection address 1, a physical address 1, a transmission tag 1 and the like; configuring a second group of information as: a probe address 2, a physical address 2, a transmission tag 2, and the like; configuring a third group of information as follows: a probe address 3, a physical address 3, a transmission tag 3, and the like; then, a plurality of threads are called, and each set of information is sent to each target detection server through the plurality of threads, for example, 3 threads are called, and the first set of information, the second set of information, and the third set of information are sent to the target detection server 1, the target detection server 2, and the target detection server 3 through the 3 threads.
After obtaining the information of the private network, such as the identifier, the probe address, and the transmission tag, the management server may send the information of the private network, such as the identifier, the probe address, and the transmission tag, to the network device located in the infrastructure network.
In some embodiments, where the network device comprises a plurality, the step of sending the identity, the probe address and the transmission label to a network device located in the underlying network may comprise:
acquiring state information of each network device in a basic network;
determining the priority of each network device according to the state information of each network device;
screening out at least one network device from the plurality of network devices according to the priority of each network device to obtain a target network device;
and sending the identification, the detection address and the transmission label to the target network equipment.
Specifically, when the network device includes one, the management server may directly transmit information such as an identifier, a probe address, and a transmission tag to the network device. When the network device includes a plurality of network devices, the management server may obtain the priority of each network device, and preferentially send information such as the identifier, the probe address, and the transmission tag to one or more network devices having a higher priority.
For example, status information of each network device may be obtained, where the status information may include information of the number of cores of the network device, remaining memory, whether probing is being initiated or not being initiated, and then priority of each network device may be determined according to the status information of each network device, for example, a weight may be set for each type of information in the status information, the higher the total weight of the status information is, the higher the priority is, or priority may be determined according to the size of the remaining memory of each network device, the larger the remaining memory is, the higher the priority is. Specifically, idle network devices may be screened out from the multiple network devices according to the state information of each network device, so as to obtain candidate network devices; extracting the core number and the residual memory from the state information of the candidate network equipment, and respectively setting weights for the core number and the residual memory; and determining the priority of each network device according to the core number, the residual memory and the weight of each candidate network device.
At this time, at least one network device may be screened from the multiple network devices according to the priority of each network device to obtain the target network device, for example, each network device may be sorted from high to low according to the priority, and a network device with the highest priority is determined from the multiple network devices to obtain one target network device, or multiple network devices with the highest priority are determined from the multiple network devices to obtain multiple target network devices, and the like. After determining the target server, the identification, the probe address, and the transmission label may be sent to the target network device. After receiving the detection message, the target network device may forward the detection message to the target server according to the identifier, the detection address, and the transmission label, for example, the network device may extract the detection address and the transmission label from the detection message, and when the detection address and the transmission label carried by the network device are extracted and are consistent with the detection address and the transmission label sent by the management server, may extract the physical address from the detection message according to the identifier of the private network, and forward the detection message to the target server according to the identifier and the physical address. When a plurality of target servers need to be detected, the network device may invoke a plurality of threads and send each detection packet to each target server through the plurality of threads.
In step S105, a detection result returned by the target server based on the detection message is received.
The method comprises the steps that a target server receives a detection message, analyzes the detection message and returns a detection result to a management server based on the analyzed detection message, for example, a physical address can be extracted from the detection message, and then the detection result is returned to the management server through network equipment and the detection server in sequence based on the physical address, after the detection result is obtained, the management server can detect the servers in the VPC network again according to a detection period set in a detection request, so that the detection of various network states of the servers in the VPC network can be realized based on the VPC network environment by each server in a basic network, and the detection of various network states of the servers in the VPC network can be realized without changing the VPC network configuration, the network architecture has strong adaptability and can be adapted to various VPC network architectures, for example, General Routing Encapsulation (GRE) or Virtual network extension L (VX L AN) and the like.
In some embodiments, the step of receiving the probe result returned by the target server based on the probe packet may include: when the target server generates a detection response packet within the preset time of receiving the detection message, receiving a first detection result which is returned by the target server and is normal to the target server, wherein the first detection result is generated based on the detection response packet; and when the target server does not generate the detection response packet within the preset time of receiving the detection message, receiving a second detection result of the target server abnormity returned by the target server.
The detection result may include that the target server is normal or the target server is abnormal, and the target server may be normal, that the target server is in a normal operation state, that a connection link between the target server and the target server is in a normal connection state, or that the target server is available; the target server exception may be that the target server is in a non-operational state, or that a connection link with the target server is in a disconnected state, or that the target server denies access, or that the target service is unavailable, etc.
Specifically, after receiving the detection packet, the target server may generate the detection response packet within a preset time, where the preset time may be flexibly set according to actual needs, and a specific value is not limited here. When the target server generates the probe response packet within the preset time of receiving the probe packet, it indicates that the target server is normal, at this time, the server probe system may receive a first probe result that the target server returns that the target server is normal, where the first probe result may be generated by the target server based on the probe response packet. When the target server does not generate the probe response packet within the preset time of receiving the probe message, it indicates that the target server is abnormal, at this time, the server probe system may receive a second probe result of the target server being abnormal, where the second probe result may be that the probe response packet is not generated at the target server.
As can be seen from the above, the embodiment of the present invention may obtain, in the basic network, the detection request carrying the identifier of the private network where the target server to be detected is located, allocate the transmission tag to the private network based on the identifier, allocate the detection address in the basic network to the private network, and obtain the physical address of the target server to be detected in the private network; and then controlling a detection server in the basic network to send a detection message to a target server through network equipment in the basic network according to the identification, the detection address, the physical address and the transmission label, and receiving a detection result returned by the target server based on the detection message. According to the scheme, the server detection system consisting of the management server, the detection server, the network equipment and the like can be deployed in the basic network outside the private network, so that the management server can flexibly allocate resources of each server or equipment (such as the detection server or the network equipment and the like) to detect the target server, and the convenience and the flexibility of detecting the server are improved.
The method described in the above embodiments is further illustrated in detail by way of example.
In this embodiment, for example, a server detection system detects a target server, the server detection system is deployed in a basic network, the target server to be detected is located in a private network, and the server detection system may include a management server, a detection server, a network device, and the like, where the management server, the detection server, and the proxy server may be connected to each other through a wired network or a wireless network.
It should be noted that, the number of management servers, probe servers, network devices, and the like in the server probe system may be flexibly set according to actual needs, and the type and the number of servers in the server probe system set in the example for convenience of description in this embodiment should not be understood as a limitation on the type and the number of servers in the server probe system, but the server probe process is similar regardless of how many and how many types of servers exist in each type of server, and can be understood according to this example.
Referring to fig. 3, fig. 3 is a flowchart illustrating a server detection method according to an embodiment of the present invention. The method flow can comprise the following steps:
201. the management server obtains a detection request carrying an identifier of a private network where a target server to be detected is located.
The management server may obtain the probe request every preset time, or obtain the probe request when receiving the configuration instruction, and the like, and the specific obtaining time may be flexibly set according to actual needs.
For example, the management server may receive, in the infrastructure network, a configuration instruction sent by a configuration terminal, where the configuration terminal may be a mobile phone, a tablet computer, a notebook computer, a desktop computer, and the like. The configuration instruction may be used to configure probe information, where the probe information may include an identifier corresponding to a private network where a target server to be probed is located, a probe period (e.g., 10 seconds), a probe protocol (e.g., ICMP or Telnet), and the like. At this time, the management server may obtain, according to the configuration instruction, an identifier, a detection period, and a detection protocol corresponding to the private network where the target server to be detected is located, and then generate a detection request according to the identifier, the detection period, the detection protocol, and the like.
202. The management server allocates a transmission label to the target server and allocates a probe address in the base network to the private network.
After obtaining the probe request, the management server may assign a transmission tag (e.g., vlan tag) to the private network according to the identifier, at this time, extract the identifier of the private network from the probe request, and may establish a mapping relationship between the identifier of the private network and the vlan tag.
For example, the management server may determine, from among the plurality of private networks, a private network in which the target server is located based on the identification; acquiring idle transmission labels from a preset transmission label set, and acquiring idle detection addresses from a preset detection address set; a free transmission tag is assigned to the private network and a free probe address is assigned to the private network.
When the private network includes a plurality of private networks and the private networks are preset with corresponding transmission label sets, the management server may extract an identifier of the private network where the target server to be detected is located from the detection request, determine the private network where the target server is located according to the identifier, and then may allocate the idle transmission labels to the private networks from the transmission label sets.
For example, when the plurality of idle transmission labels include 1000 to 1500 and the first private network VPC-a needs to be detected, the management server may randomly allocate one of the idle transmission labels 1000 to the first private network VPC-a from the plurality of idle transmission labels; when the plurality of idle transmission labels include 2000 to 3000 and the first private network VPC-a, the second private network VPC-b and the third private network VPC-c need to be detected, the management server may randomly allocate three of the idle transmission labels 2000, 2001 and 2002 among the plurality of idle transmission labels to the first private network VPC-a, the second private network VPC-b and the third private network VPC-c, respectively, and so on.
203. And the management server sends the detection address and the transmission label to the detection server.
The management server may send the obtained information such as the probe address and the transmission tag to the probe server. For example, as shown in fig. 4, the server probe system may include a plurality of probe servers such as a probe server a, a probe server B, and a probe server C, and when the management server acquires one probe request, the probe server a may be screened out randomly or according to the priority of each probe server, and information such as a probe address and a transmission tag may be sent to the probe server a. When the management server acquires 3 probe requests, the probe server a, the probe server B, and the probe server C can be screened out randomly or according to the priority of each probe server, and information such as a probe address and a transmission tag corresponding to each probe request is sent to the probe server a, the probe server B, the probe server C, and the like, respectively.
204. And the detection server establishes a network card according to the detection address and the transmission label.
After receiving the probe address and the transmission tag sent by the management server, the probe server may establish a network card (e.g., a vlan network card) according to the probe address and the transmission tag, and may set the probe address as an IP address of the vlan network card. For example, as shown in fig. 4, the vlan network card established by the probe server a is eth0.100, the vlan network card established by the probe server B is eth0.200, the vlan network card established by the probe server C is eth0.300, and the like, and in fig. 4, eth0 is a physical network card.
205. The management server sends the identification, the detection address and the transmission label to the network equipment.
The management server can send the information of the private network such as the identification, the detection address and the transmission label to the network equipment when obtaining the information of the private network such as the identification, the detection address and the transmission label; alternatively, the management server may send information such as an identifier, a probe address, and a transmission tag of the private network to the network device based on the information acquisition request when receiving the information acquisition request from the network device.
Step 205 may be executed between step 202 and step 203, or between step 203 and step 204, and the like, and the specific content is not limited herein.
206. The detection server sends an address acquisition request to the management server.
207. The management server sends the physical address to the probe server based on the address acquisition request.
The address obtaining request may carry an identifier of a private network, where the identifier of the private network may be sent to the probe server by the management server when the probe request is obtained. The management server may extract the identifier of the private network from the address obtaining request, query the physical address of each server in the private network according to the identifier of the private network, obtain the physical address of the target server, for example, obtain a physical address list from a database or a memory, query the physical address corresponding to the server identifier of each server in the private network from the physical address list, obtain the physical address (for example, OverlayIP) of the target server, and send the obtained physical address to the probe server.
208. The management server sends a probe request to the probe server.
The management server may actively send the probe request to the probe server when acquiring the probe request; alternatively, the management server may be a probe request or the like transmitted to the probe server based on the acquisition request when receiving the acquisition request transmitted by the probe server.
It should be noted that step 208 may be executed between step 201 and step 207, for example, step 208 may be executed between step 201 and step 202, or step 208 may be executed between step 202 and step 203, and the like.
209. The detection server generates a detection message based on the detection request.
After receiving the probe request, the probe server may extract information such as an identifier, a probe period, and a probe protocol of a private network in which the target server to be detected is located from the probe request, and generate a probe packet according to the information.
210. The detection server sends a detection message to the network equipment based on the network card and the transmission label.
The detection packet may also carry information such as a transmission label, a detection address, a physical address, and the like. For example, as shown in fig. 4, the probe server a may send a probe message to the network device based on the vlan network card being eth0.100 and the vlan tag being vlan100, the probe server B may send a probe message to the network device based on the vlan network card being eth0.200 and the vlan tag being vlan200, and the probe server C may send a probe message to the network device based on the vlan network card being eth0.300 and the vlan tag being vlan 300. It should be noted that the network device in fig. 4 may include a plurality of devices, which are not shown here.
It should be noted that, when there are multiple network devices, the management server may obtain the priority of each network device, determine one or more network devices with higher priorities to obtain the target network device, and then send the identifier or address of the target network device to the probe server, where the probe server may send the probe packet to the network device with higher priority.
211. The network device verifies the probe address and the transmission label.
Since the IP address of the vlan network card is the detection address, the source address of the detection message received by the network device is the detection address. At this time, the network device may verify the detection address and the transmission label carried in the detection packet according to the received detection address and the transmission label sent by the management server, and allow the source address to be the detection address, and allow the detection packet carrying the vlan tag to pass, that is, when the detection address and the transmission label carried in the detection packet are consistent with the detection address and the transmission label sent by the management server, it indicates that the verification is passed, otherwise, the verification is not passed.
212. After the verification is passed, the network device forwards the detection message to the target server based on the identifier and the physical address.
For example, as shown in fig. 4, the private network may include a plurality of private networks, such as a first private network VPC-a, a second private network VPC-b, and a third private network VPC-c, wherein each private network may include a plurality of servers, for example, the first private network VPC-a may include a server X1 to a server Xn, etc., the second private network VPC-b may include a server Y1 to a server Yn, etc., the third private network VPC-c may include a server Z1 to a server Zn, etc., and a value of n may be flexibly set according to actual needs.
When all servers in a private network (for example, servers X1 to Xn in VPC-a) need to be probed, network device a may send probe packets to servers X1 to Xn, respectively; when it is necessary to probe partial servers in a private network (e.g., server X1 and server X2 in VPC-a), network device a may send probe packets to server X1 to server X2, respectively; when all servers (such as VPC-a and VPC-B) of 2 private networks need to be probed, the probe message corresponding to VPC-a can be sent to server X1 to server Xn through network device B, and the probe message corresponding to VPC-B can be sent to server Y1 to server Yn through network device C.
It should be noted that, during the transmission of the probe packet, some changes may be sent, for example, as shown in fig. 5, the probe packet generated by the probe server based on the probe request may be a vlan packet, where the vlan packet may carry information such as a probe period, a probe address, and a vlan tag, and after the probe server sends the vlan packet to the network device, the vlan packet may be relayed through a plurality of network devices, for example, the network device a may receive the vlan packet sent by the probe server, add an identifier of a private network to the vlan packet to obtain the vlan packet, and then send the vxlan packet to the network device B, and after the network device B receives the vxlan packet, the vlan tag in the vxlan packet may be deleted to obtain a common packet, and finally, the network device B sends the common packet to the target server; and so on.
213. The target server generates a probe result.
214. And the target server returns the detection result to the network equipment.
215. And the network equipment returns the detection result to the detection server.
216. The detection server returns a detection result to the management server.
After receiving the detection message, the target server can analyze the detection message, generate a detection result based on the analyzed detection message, and can return the detection result to the management server through the detection server and the network device in sequence along the path of the detection message.
The detection result may include that the target server is normal or the target server is abnormal, and the target server may be normal, that the target server is in a normal operation state, that a connection link between the target server and the target server is in a normal connection state, or that the target server is available; the target server exception may be that the target server is in a non-operational state, or that a connection link with the target server is in a disconnected state, or that the target server denies access, or that the target service is unavailable, etc.
The embodiment of the invention can detect the servers in the VPC network by each server in the basic network, can realize the detection function without occupying or expanding the existing VPC network resources (such as resources of server hardware or IP addresses) and adjusting the framework on the premise of not changing the existing VPC network configuration, network framework and the like, has strong network framework adaptability, can adapt to various VPC network frameworks (such as GRE or VX L AN) and the like, and can realize the detection of various network states of the servers in the VPC network, and can flexibly allocate the resources of the detection server or network equipment and the like to detect the servers, thereby improving the convenience and flexibility of the detection of the servers.
In order to better implement the server detection method provided by the embodiment of the invention, the embodiment of the invention also provides a device based on the server detection method. The terms are the same as those in the above-mentioned server detection method, and details of implementation may refer to the description in the method embodiment.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a server probe apparatus according to an embodiment of the present invention, where the server probe apparatus may include a first obtaining unit 301, a distributing unit 302, a second obtaining unit 303, a control unit 304, a receiving unit 305, and the like.
The first obtaining unit 301 is configured to obtain a probe request in a base network, where the probe request carries an identifier of a private network where a target server to be detected is located.
The probe request may carry information such as an identifier of a private network where the target server to be detected is located, a probe period, and a probe protocol, where the identifier is used to uniquely identify the private network, and the probe protocol may include ICMP or Telnet.
The first obtaining unit 301 may obtain the probe request in the infrastructure network, for example, the probe request may be obtained every preset time, or the probe request is obtained when the configuration instruction is received, and the specific obtaining timing may be flexibly set according to actual needs, which is not limited herein.
In some embodiments, the first obtaining unit 301 may specifically be configured to: receiving a configuration instruction in an infrastructure network; determining an identifier, a detection period and a detection protocol corresponding to a private network where a target server to be detected is located according to a configuration instruction; and generating a detection request according to the identification, the detection period and the detection protocol.
Specifically, the first obtaining unit 301 may receive, in the infrastructure network, a configuration instruction sent by a configuration terminal, where the configuration terminal may be a terminal that configures detection information corresponding to the configuration instruction, and the terminal may be a mobile phone, a tablet computer, a notebook computer, a desktop computer, and the like. The configuration instruction is used for configuring the detection information, and the detection information may include an identifier corresponding to a private network where a target server to be detected is located, a detection period, a detection protocol, and the like. Therefore, the management server can determine the identifier, the detection period and the detection protocol corresponding to the private network according to the received configuration instruction, and then generate the detection request according to the identifier, the detection period and the detection protocol.
An assigning unit 302 for assigning a transmission label to the private network based on the identity and assigning a probe address in the base network to the private network.
After obtaining the probe request, the allocating unit 302 may allocate a transmission label to the private network according to the identifier, where the transmission label identifies the private network so as to forward the probe packet, and the transmission label may be a label of the virtual local area network V L AN, and may be referred to as vlan tag, or may be referred to as vlan id, and the like, and the allocating unit 302 may allocate a probe address in the base network to the private network, that is, allocate AN IP address of the private network mapped in the base network, for example, Under L ayIP.
In some embodiments, the assignment unit 302 may be specifically configured to: determining a private network where the target server is located from a plurality of private networks based on the identification; acquiring idle transmission labels from a preset transmission label set, and acquiring idle detection addresses from a preset detection address set; a free transmission tag is assigned to the private network and a free probe address is assigned to the private network.
The private network VPC may include a plurality of private networks, for example, a first private network VPC-a, a second private network VPC-b, an nth private network VPC-n, and the like, and a value of n may be flexibly set according to actual needs, which is not limited herein.
The allocation unit 302 is preset with a transmission tag set and a probe address set, etc., each of which may include a plurality of transmission tags and each of which may include a plurality of probe addresses. The allocating unit 302 may extract the identifier of the private network where the target server to be detected is located from the detection request, query the corresponding identifier in each private network, and then determine the private network where the target server is located from the multiple private networks according to the identifier, for example, when the identifier in a certain private network is consistent with the identifier carried in the detection request, the private network where the target server to be detected is located may be determined. At this time, the allocating unit 302 may obtain the idle transmission tags from the transmission tag set, and allocate the idle transmission tags to the private network to be detected. When a plurality of idle transmission tags exist and a plurality of private networks need to be detected, the number of the private networks can be acquired, and the idle transmission tags are distributed to the private networks randomly or according to a preset algorithm according to the number. If there is no idle transmission tag, it may wait until there is an idle transmission tag.
And the allocating unit 302 may determine whether there is an idle probe address in the preset probe address set, and if there is an idle probe address, may obtain the idle probe address from the probe address set, and allocate the idle probe address to the private network to be detected. And acquiring idle detection addresses from a preset detection address set, and distributing the idle detection addresses to the private network.
A second obtaining unit 303, configured to obtain a physical address of a target server to be detected in the private network.
The second obtaining unit 303 may actively extract the identifier of the private network where the target server to be detected is located from the detection request, obtain all or part of servers in the private network based on the identifier, obtain the target server, where the target server is the server to be detected, and then obtain the physical address of the target server in the private network. Alternatively, the second obtaining unit 303 may obtain the physical address of the target server in the private network based on the identifier after receiving the address obtaining request carrying the identifier of the private network sent by the probe server. Wherein the physical address may be an IP address of the destination server in the private network, for example, OverlayIP.
In some embodiments, the second obtaining unit 303 may specifically be configured to: receiving an address acquisition request carrying an identifier sent by a detection server; acquiring all servers to be detected in the private network according to the identification to obtain a target server; and acquiring a preset physical address list and server identifications of the target server, and inquiring physical addresses corresponding to the server identifications from the physical address list.
A control unit 304, configured to control, according to the identifier, the probe address, the physical address, and the transmission label, a probe server in the basic network to send a probe packet to a target server through a network device in the basic network.
In some embodiments, as shown in fig. 7, the control unit 304 may include a first sending subunit 3041, a second sending subunit 3042, and the like, which may specifically be as follows:
a first sending subunit 3041, configured to send the probe address, the physical address, and the transmission label to a probe server located in the basic network, and control the probe server to send a probe packet to a network device located in the basic network based on the probe address, the physical address, and the transmission label;
the second sending subunit 3042 is configured to send the identifier, the detection address, and the transmission label to the network device, and control the network device to forward the detection packet to the target server according to the identifier, the detection address, and the transmission label after receiving the detection packet.
In some embodiments, the first sending subunit 3041 may include an obtaining module, a determining module, a screening module, a sending module, and the like, and specifically may be as follows:
the acquisition module is used for acquiring the state information of each detection server in the basic network;
the determining module is used for determining the priority of each detection server according to the state information of each detection server;
the screening module is used for screening at least one detection server from the plurality of detection servers according to the priority of each detection server to obtain a target detection server;
and the sending module is used for sending the detection address, the physical address and the transmission label to the target detection server.
Specifically, when the probe server includes one, the first transmitting subunit 3041 may directly transmit information such as a probe address, a physical address, and a transmission tag to the probe server. When the probe servers include a plurality of probe servers, the first sending subunit 3041 may obtain the priorities of the probe servers, and preferentially send information such as a probe address, a physical address, and a transmission tag to one or more probe servers with higher priorities.
For example, the state information of each probe server may be obtained by the obtaining module, where the state information may include information such as the number of cores of the probe server, remaining memory, whether to initiate probe or not initiate probe, and then the determining module may determine the priority of each probe server according to the state information of each probe server, for example, a weight may be set for each type of information in the state information, the higher the total weight of the state information is, the higher the priority is, or the priority may be determined according to the size of the remaining memory of each probe server, the higher the priority of the remaining memory is, and the like.
In this case, the screening module may screen at least one probe server from the plurality of probe servers according to the priority of each probe server to obtain the target probe server, for example, the probe servers may be sorted from high to low according to the priority, and a probe server with the highest priority is determined from the plurality of probe servers to obtain one target probe server, or a plurality of probe servers with the highest priority are determined from the plurality of probe servers to obtain a plurality of target probe servers. After determining the target server, the sending module may send the probe address, the physical address, and the transmission tag to the target probe server. For example, the detection server may receive a detection request sent by the management server, generate a detection message according to the identification, the detection period, the detection protocol, and the like of the private network in the detection request, establish a network card (i.e., a vlan network card) according to the detection address and the transmission tag, and send the detection message to the network device based on the network card and the physical address.
In some embodiments, the determining module may be specifically configured to: screening out idle detection servers from the plurality of detection servers according to the state information of each detection server to obtain candidate detection servers; extracting the kernel number and the residual memory from the state information of the candidate detection server, and respectively setting weights for the kernel number and the residual memory; and determining the priority of each detection server according to the core number, the residual memory and the weight of each candidate detection server.
In some embodiments, the sending module may be specifically configured to: configuring a plurality of groups of information consisting of detection addresses, physical addresses and transmission labels; and calling a plurality of threads, and respectively sending each group of information to each target detection server through the plurality of threads.
When a plurality of target servers to be detected are provided, the plurality of target detection servers can be detected in parallel, the sending module can be configured with a plurality of groups of information, each group of information consists of a detection address, a physical address, a transmission label and the like, then a plurality of threads are called, and each group of information is sent to each target detection server through the plurality of threads.
In some embodiments, the second sending subunit 3042 may be specifically configured to: acquiring state information of each network device in a basic network; determining the priority of each network device according to the state information of each network device; screening out at least one network device from the plurality of network devices according to the priority of each network device to obtain a target network device; and sending the identification, the detection address and the transmission label to the target network equipment.
Specifically, when the network device includes one, the second sending subunit 3042 may directly send the information such as the identifier, the probe address, and the transmission label to the network device. When the network device includes a plurality of network devices, the second sending subunit 3042 may obtain the priority of each network device, and preferentially send the information such as the identifier, the probe address, and the transmission tag to one or more network devices with higher priority.
For example, the second sending subunit 3042 may obtain the status information of each network device, where the status information may include the number of cores of the network device, the remaining memory, the detecting being initiated and the detecting not being initiated, and then may determine the priority of each network device according to the status information of each network device, for example, a weight may be set for each type of information in the status information, the higher the total weight of the status information is, the higher the priority is, or the priority may be determined according to the size of the remaining memory of each network device, the larger the remaining memory is, the higher the priority is. Specifically, the second sending subunit 3042 may screen out idle network devices from the multiple network devices according to the state information of each network device, to obtain candidate network devices; extracting the core number and the residual memory from the state information of the candidate network equipment, and respectively setting weights for the core number and the residual memory; and determining the priority of each network device according to the core number, the residual memory and the weight of each candidate network device.
At this time, the second sending subunit 3042 may select at least one network device from the multiple network devices according to the priority of each network device to obtain the target network device, for example, may sort the network devices according to the priorities from high to low, determine a network device with the highest priority from the multiple network devices to obtain the target network device, or determine multiple network devices with the highest priority from the multiple network devices to obtain the multiple target network devices, and so on. After determining the target server, the second sending subunit 3042 may send the identifier, the probe address, and the transmission label to the target network device. After receiving the detection message, the target network device can forward the detection message to the target server according to the identifier, the detection address and the transmission label.
A receiving unit 305, configured to receive a detection result returned by the target server based on the detection message.
The target server can analyze the detection message after receiving the detection message, and return a detection result to the receiving unit 305 based on the analyzed detection message, for example, a physical address can be extracted from the detection message, and then return the detection result to the receiving unit 305 through the network device and the detection server in sequence based on the physical address.
The detection result may include that the target server is normal or the target server is abnormal, and the target server may be normal, that the target server is in a normal operation state, that a connection link between the target server and the target server is in a normal connection state, or that the target server is available; the target server exception may be that the target server is in a non-operational state, or that a connection link with the target server is in a disconnected state, or that the target server denies access, or that the target service is unavailable, etc.
As can be seen from the above, in the embodiment of the present invention, the first obtaining unit 301 obtains, in the basic network, the probe request carrying the identifier of the private network where the target server to be detected is located, the allocating unit 302 allocates the transmission tag to the private network based on the identifier, allocates the detection address in the basic network to the private network, and the second obtaining unit 303 obtains the physical address of the target server to be detected in the private network; then, the control unit 304 controls the probe server in the basic network to send a probe message to the target server through the network device in the basic network according to the identifier, the probe address, the physical address, and the transmission label, and the receiving unit 305 receives a probe result returned by the target server based on the probe message. According to the scheme, the server detection system consisting of the management server, the detection server, the network equipment and the like can be deployed in the basic network outside the private network, so that the management server can flexibly allocate resources of each server or equipment (such as the detection server or the network equipment and the like) to detect the target server, and the convenience and the flexibility of detecting the server are improved.
In order to better implement the server detection method provided by the embodiment of the invention, the embodiment of the invention also provides a system based on the server detection method. The terms are the same as those in the above-mentioned server detection method, and details of implementation may refer to the description in the method embodiment.
Referring to fig. 8, fig. 8 is a schematic structural diagram of a server detection system according to an embodiment of the present invention, where the server detection system may include a management server 401, a detection server 402, a network device 403, and the like, where the management server 401, the detection server 402, and the network device 403 are connected to each other, and the server detection system receives data transmitted to the inside of the system through the management server 401 in a basic network and is connected to a target server located outside the system in a private network through the network device 403.
The management server 401 is configured to obtain a probe request in a basic network, where the probe request carries an identifier of a private network where a target server to be detected is located; allocating a transmission label for the private network based on the identification, and allocating a detection address in the basic network for the private network; acquiring a physical address of a target server to be detected in a private network; the probe address, physical address and transport label are sent to a probe server 402 located in the base network and the identity, probe address and transport label are sent to a network device 403 in the base network.
And the probe server 402 is configured to send a probe packet to the network device 403 based on the probe address, the physical address, and the transmission label.
The network device 403, configured to forward the probe packet to the target server according to the identifier, the probe address, and the transmission label after receiving the probe packet; and receiving a detection result returned by the target server based on the detection message, and sending the detection result to the management server 401 through the detection server 402.
In some embodiments, the probe server 402 is configured to receive a probe request sent by the management server 401, and generate a probe packet based on the probe request; a network card is established according to the probe address and the transmission label, and a probe message is sent to the network device 403 based on the network card and the physical address.
In some embodiments, the network device 403 is configured to, after receiving the probe packet, extract a probe address and a transmission tag that are carried in the probe packet; when the carried detection address and transmission label are extracted and are consistent with the detection address and transmission label sent by the management server 401, extracting a physical address from the detection message according to the identification; and forwarding the detection message to the target server according to the identifier and the physical address.
In some embodiments, the management server 401 is configured to obtain status information of each probe server 402 located in the infrastructure network; determining the priority of each probe server 402 according to the state information of each probe server 402; screening at least one detection server 402 from the plurality of detection servers 402 according to the priority of each detection server 402 to obtain a target detection server 402; the probe address, physical address and transport tag are sent to the target probe server 402.
In some embodiments, the management server 401 is configured to obtain status information of each network device 403 located in the infrastructure network; determining the priority of each network device 403 according to the status information of each network device 403; according to the priority of each network device 403, screening out at least one network device 403 from the plurality of network devices 403 to obtain a target network device 403; the identification, the probe address, and the transmission label are sent to the target network device 403.
In some embodiments, the management server 401 is configured to receive configuration instructions in the infrastructure network; determining an identifier, a detection period and a detection protocol corresponding to a private network where a target server to be detected is located according to a configuration instruction; and generating a detection request according to the identification, the detection period and the detection protocol.
In some embodiments, the private network includes a plurality of private networks, the management server 401 is configured to determine, from the plurality of private networks, a private network where the target server is located based on the identity; acquiring idle transmission labels from a preset transmission label set, and acquiring idle detection addresses from a preset detection address set; a free transmission tag is assigned to the private network and a free probe address is assigned to the private network.
In some embodiments, the probe server 402 is configured to send an address obtaining request carrying the identifier to the management server 401. The management server 401 is configured to, when receiving the address acquisition request, acquire all servers to be detected in the private network according to the identifier to obtain a target server; and acquiring a preset physical address list and server identifications of the target server, and inquiring physical addresses corresponding to the server identifications from the physical address list.
In the above embodiments, the descriptions of the embodiments have respective emphasis, and parts that are not described in detail in a certain embodiment may refer to the above detailed description of the server detection method, and are not described herein again.
As can be seen from the above, in the embodiment of the present invention, the management server 401 may obtain, in the infrastructure network, a probe request, where the probe request carries an identifier of a private network where a target server to be detected is located, allocate a transmission tag to the private network based on the identifier, allocate a probe address in the infrastructure network to the private network, then obtain a physical address of the target server to be detected in the private network, send the probe address, the physical address, and the transmission tag to the probe server 402 located in the infrastructure network, and send the identifier, the probe address, and the transmission tag to the network device 403 in the infrastructure network. At this time, the probe server 402 may send a probe packet to the network device 403 in the infrastructure network based on the probe address, the physical address, and the transmission label; and the network device 403 may forward the detection packet to the target server according to the identifier, the detection address, and the transmission label after receiving the detection packet, and receive a detection result returned by the target server based on the detection packet. According to the scheme, a server detection system consisting of the management server 401, the detection server 402, the network equipment 403 and the like can be deployed in a basic network outside a private network, so that the management server 401 can flexibly allocate resources of each server (such as the detection server 402 or the network equipment 403 and the like) to detect a target server, and convenience and flexibility in detection of the server are improved.
Embodiments of the present invention further provide a server, which may be a server in a server detection system, for example, a management server, a detection server, or a network device in the server detection system may have a structure similar to that of the server, as shown in fig. 9, which shows a schematic structural diagram of the server according to an embodiment of the present invention, specifically:
the server may include components such as a processor 501 of one or more processing cores, memory 502 of one or more computer-readable storage media, a power supply 503, and an input unit 504. Those skilled in the art will appreciate that the server architecture shown in FIG. 9 does not constitute a limitation on the servers, and may include more or fewer components than shown, or some components in combination, or a different arrangement of components. Wherein:
the processor 501 is a control center of the server, connects various parts of the entire server by various interfaces and lines, and performs various functions of the server and processes data by running or executing software programs and/or modules stored in the memory 502 and calling data stored in the memory 502, thereby performing overall monitoring of the server. Optionally, processor 501 may include one or more processing cores; preferably, the processor 501 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 501.
The memory 502 may be used to store software programs and modules, and the processor 501 executes various functional applications and data processing by operating the software programs and modules stored in the memory 502. The memory 502 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data created according to the use of the server, and the like. Further, the memory 502 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 502 may also include a memory controller to provide the processor 501 with access to the memory 502.
The server further comprises a power supply 503 for supplying power to each component, and preferably, the power supply 503 may be logically connected to the processor 501 through a power management system, so that functions of managing charging, discharging, power consumption, and the like are realized through the power management system. The power supply 503 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
The server may also include an input unit 504, and the input unit 504 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
Although not shown, the server may further include a display unit and the like, which will not be described in detail herein. Specifically, in this embodiment, the processor 501 in the server loads the executable file corresponding to the process of one or more application programs into the memory 502 according to the following instructions, and the processor 501 runs the application program stored in the memory 502, thereby implementing various functions as follows:
when the server is a management server, a detection request can be obtained in a basic network, and the detection request carries an identifier of a private network where a target server to be detected is located; allocating a transmission label for the private network based on the identification, and allocating a detection address in the basic network for the private network; acquiring a physical address of a target server to be detected in a private network; controlling a detection server in the basic network to send a detection message to a target server through network equipment in the basic network according to the identification, the detection address, the physical address and the transmission label; and receiving a detection result returned by the target server based on the detection message.
In the above embodiments, the descriptions of the embodiments have respective emphasis, and parts that are not described in detail in a certain embodiment may refer to the above detailed description of the server detection method, and are not described herein again.
As can be seen from the above, the embodiment of the present invention may obtain, in the basic network, the detection request carrying the identifier of the private network where the target server to be detected is located, allocate the transmission tag to the private network based on the identifier, allocate the detection address in the basic network to the private network, and obtain the physical address of the target server to be detected in the private network; and then controlling a detection server in the basic network to send a detection message to a target server through network equipment in the basic network according to the identification, the detection address, the physical address and the transmission label, and receiving a detection result returned by the target server based on the detection message. According to the scheme, the server detection system consisting of the management server, the detection server, the network equipment and the like can be deployed in the basic network outside the private network, so that the management server can flexibly allocate resources of each server or equipment (such as the detection server or the network equipment and the like) to detect the target server, and the convenience and the flexibility of detecting the server are improved.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, the present invention provides a storage medium, in which a plurality of instructions are stored, where the instructions can be loaded by a processor to execute the steps in any one of the server detection methods provided by the embodiments of the present invention. For example, the instructions may perform the steps of:
acquiring a detection request in a basic network, wherein the detection request carries an identifier of a private network where a target server to be detected is located; allocating a transmission label for the private network based on the identification, and allocating a detection address in the basic network for the private network; acquiring a physical address of a target server to be detected in a private network; controlling a detection server in the basic network to send a detection message to a target server through network equipment in the basic network according to the identification, the detection address, the physical address and the transmission label; and receiving a detection result returned by the target server based on the detection message.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium may execute the steps in any server detection method provided in the embodiments of the present invention, beneficial effects that can be achieved by any server detection method provided in the embodiments of the present invention may be achieved, which are detailed in the foregoing embodiments and will not be described herein again.
The server detection method, device, system and storage medium provided by the embodiments of the present invention are described in detail above, and a specific example is applied in the present disclosure to explain the principle and the implementation of the present invention, and the description of the above embodiments is only used to help understanding the method and the core idea of the present invention; meanwhile, for those skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (19)

1. A server detection method is applied to a management server, and comprises the following steps:
acquiring a detection request in a basic network, wherein the detection request carries an identifier of a private network where a target server to be detected is located;
determining a private network where the target server is located from an identification private network set based on the identification, wherein the identification private network set stores a mapping relation between the identification and the private network;
acquiring idle transmission labels from a preset transmission label set, and distributing the idle transmission labels to a private network where the target server is located;
allocating a probe address in a base network for the private network;
acquiring a physical address of a target server to be detected in the private network;
controlling a detection server in a basic network to send a detection message to the target server through network equipment in the basic network according to the identification, the detection address, the physical address and the transmission label;
when the target server generates a detection response packet within a preset time of receiving the detection message, receiving a first detection result which is returned by the target server and is normal to the target server;
and when the target server does not generate the detection response packet within the preset time of receiving the detection message, receiving a second detection result of the target server abnormity returned by the target server.
2. The server probe method according to claim 1, wherein the step of controlling the probe server in the base network to send the probe packet to the target server through the network device in the base network according to the identifier, the probe address, the physical address, and the transmission label includes:
sending the detection address, the physical address and the transmission label to a detection server in a basic network, and controlling the detection server to send a detection message to network equipment in the basic network based on the detection address, the physical address and the transmission label;
and sending the identifier, the detection address and the transmission label to the network equipment, and controlling the network equipment to forward the detection message to the target server according to the identifier, the detection address and the transmission label after receiving the detection message.
3. The server probe method according to claim 2, wherein the probe server includes a plurality of probe servers, and the step of transmitting the probe address, the physical address, and the transmission label to the probe server located in the infrastructure network includes:
acquiring state information of each detection server in a basic network;
determining the priority of each detection server according to the state information of each detection server;
screening at least one detection server from the plurality of detection servers according to the priority of each detection server to obtain a target detection server;
and sending the detection address, the physical address and the transmission label to the target detection server.
4. The server probe method according to claim 3, wherein the step of determining the priority of each probe server according to the status information of each probe server comprises:
screening out idle detection servers from the plurality of detection servers according to the state information of each detection server to obtain candidate detection servers;
extracting the core number and the residual memory from the state information of the candidate detection server, and respectively setting weights for the core number and the residual memory;
and determining the priority of each detection server according to the core number, the residual memory and the weight of each candidate detection server.
5. The server probe method according to claim 3, wherein when there are a plurality of target probe servers, the step of sending the probe address, the physical address, and the transmission tag to the target probe server includes:
configuring a plurality of groups of information consisting of the detection address, the physical address and the transmission label;
and calling a plurality of threads, and respectively sending each group of information to each target detection server through the plurality of threads.
6. The server probe method according to claim 2, wherein the network device includes a plurality of network devices, and the step of transmitting the identification, the probe address, and the transport tag to the network device includes:
acquiring state information of each network device in a basic network;
determining the priority of each network device according to the state information of each network device;
screening out at least one network device from the plurality of network devices according to the priority of each network device to obtain a target network device;
and sending the identification, the detection address and the transmission label to the target network equipment.
7. The server probing method according to any one of claims 1 to 6 wherein said step of obtaining probe requests in the infrastructure network comprises:
receiving a configuration instruction in an infrastructure network;
determining an identifier, a detection period and a detection protocol corresponding to a private network where a target server to be detected is located according to the configuration instruction;
and generating a detection request according to the identification, the detection period and the detection protocol.
8. The server probing method according to any one of claims 1 to 6 wherein the step of assigning a probing address in the base network to said private network comprises:
acquiring an idle detection address from a preset detection address set;
assigning the free probe address to the private network.
9. The server probing method according to any one of claims 1 to 6 wherein the step of obtaining the physical address of the target server to be probed in the private network comprises:
receiving an address acquisition request carrying the identifier sent by the detection server;
acquiring all servers to be detected in the private network according to the identification to obtain a target server;
the method comprises the steps of obtaining a preset physical address list and server identifications of target servers, and inquiring physical addresses corresponding to the server identifications from the physical address list.
10. A server probe apparatus, comprising:
a first obtaining unit, configured to obtain a probe request in a basic network, where the probe request carries an identifier of a private network where a target server to be detected is located;
the distribution unit is used for determining the private network where the target server is located from the identification private network set based on the identification, and the identification private network set stores the mapping relation between the identification and the private network; acquiring idle transmission labels from a preset transmission label set, and distributing the idle transmission labels to a private network where the target server is located; and allocating a probe address in a base network for the private network;
a second obtaining unit, configured to obtain a physical address of a target server to be detected in the private network;
the control unit is used for controlling a detection server in a basic network to send a detection message to the target server through network equipment in the basic network according to the identification, the detection address, the physical address and the transmission label;
the receiving unit is used for receiving a first detection result which is returned by the target server and is normal to the target server when the target server generates a detection response packet within the preset time of receiving the detection message; and when the target server does not generate the detection response packet within the preset time of receiving the detection message, receiving a second detection result of the target server abnormity returned by the target server.
11. A server detection system is characterized in that the server detection system comprises a management server, a detection server and a network device, wherein the management server, the detection server and the network device are mutually connected, the server detection system receives data transmitted to the inside of the system through the management server in a basic network and is connected with a target server which is positioned outside the system and is positioned in a private network through the network device, wherein,
the management server is used for acquiring a detection request in a basic network, wherein the detection request carries an identifier of a private network where a target server to be detected is located;
determining a private network where the target server is located from an identification private network set based on the identification, wherein the identification private network set stores a mapping relation between the identification and the private network; acquiring idle transmission labels from a preset transmission label set, distributing the idle transmission labels to a private network where the target server is located, and distributing detection addresses in a basic network to the private network;
acquiring a physical address of a target server to be detected in the private network;
sending the detection address, the physical address and the transmission label to a detection server in a basic network, and sending the identification, the detection address and the transmission label to network equipment in the basic network;
the detection server is used for sending a detection message to the network equipment based on the detection address, the physical address and the transmission label;
the network equipment is used for forwarding the detection message to the target server according to the identification, the detection address and the transmission label after receiving the detection message;
when the target server generates a detection response packet within a preset time of receiving the detection message, receiving a first detection result which is returned by the target server and is normal to the target server; and when the target server does not generate a detection response packet within the preset time of receiving the detection message, receiving a second detection result of the target server abnormality returned by the target server, and sending the first detection result or the second detection result to the management server through the detection server.
12. The server probe system according to claim 11, wherein the probe server is configured to receive a probe request sent by the management server, and generate a probe packet based on the probe request;
and establishing a network card according to the detection address and the transmission label, and sending the detection message to network equipment based on the network card and the physical address.
13. The server detection system according to claim 11, wherein the network device is configured to extract a detection address and a transmission tag carried in the detection packet after receiving the detection packet;
when the carried detection address and transmission label are extracted and are consistent with the detection address and transmission label sent by the management server, extracting the physical address from the detection message according to the identification;
and forwarding the detection message to the target server according to the identifier and the physical address.
14. The server probe system according to claim 11, wherein the probe server includes a plurality of probe servers, and the management server is configured to obtain status information of each probe server located in the infrastructure network;
determining the priority of each detection server according to the state information of each detection server;
screening at least one detection server from the plurality of detection servers according to the priority of each detection server to obtain a target detection server;
and sending the detection address, the physical address and the transmission label to the target detection server.
15. The server detection system according to claim 11, wherein the network device includes a plurality of network devices, and the management server is configured to obtain status information of each network device located in the infrastructure network;
determining the priority of each network device according to the state information of each network device;
screening out at least one network device from the plurality of network devices according to the priority of each network device to obtain a target network device;
and sending the identification, the detection address and the transmission label to the target network equipment.
16. The server probe system according to any one of claims 11 to 15, wherein the management server is configured to receive configuration instructions in an infrastructure network;
determining an identifier, a detection period and a detection protocol corresponding to a private network where a target server to be detected is located according to the configuration instruction;
and generating a detection request according to the identification, the detection period and the detection protocol.
17. The server probe system according to any one of claims 11 to 15, wherein the management server is configured to obtain a free probe address from a preset probe address set;
assigning the free probe address to the private network.
18. The server detection system according to any one of claims 11 to 15, wherein the detection server is configured to send an address acquisition request carrying the identifier to the management server;
the management server is used for acquiring all servers to be detected in the private network according to the identification to obtain a target server when the address acquisition request is received;
the method comprises the steps of obtaining a preset physical address list and server identifications of target servers, and inquiring physical addresses corresponding to the server identifications from the physical address list.
19. A storage medium storing a plurality of instructions adapted to be loaded by a processor to perform the steps of the server probe method according to any one of claims 1 to 9.
CN201810563883.5A 2018-06-04 2018-06-04 Server detection method, device, system and storage medium Active CN108777640B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810563883.5A CN108777640B (en) 2018-06-04 2018-06-04 Server detection method, device, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810563883.5A CN108777640B (en) 2018-06-04 2018-06-04 Server detection method, device, system and storage medium

Publications (2)

Publication Number Publication Date
CN108777640A CN108777640A (en) 2018-11-09
CN108777640B true CN108777640B (en) 2020-08-07

Family

ID=64024683

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810563883.5A Active CN108777640B (en) 2018-06-04 2018-06-04 Server detection method, device, system and storage medium

Country Status (1)

Country Link
CN (1) CN108777640B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111385260B (en) * 2018-12-28 2022-01-25 广州市百果园信息技术有限公司 Port detection method, system, server and storage medium
CN109818782A (en) * 2018-12-31 2019-05-28 南京红柑桔信息技术有限公司 The method that a kind of pair of server is classified
CN110784337B (en) * 2019-09-26 2023-08-22 平安科技(深圳)有限公司 Cloud service quality monitoring method and related products
CN110740078B (en) * 2019-09-26 2023-08-22 平安科技(深圳)有限公司 Proxy monitoring method of server and related products
CN111385203B (en) * 2020-03-19 2022-02-22 上海东普信息科技有限公司 Data transmission method, device and equipment based on hybrid cloud and storage medium
CN114079620B (en) * 2020-08-06 2024-02-27 北京国基科技股份有限公司 Method and device for determining online state of network equipment
CN113472900B (en) * 2021-09-01 2022-02-22 阿里云计算有限公司 Message processing method, device, storage medium and computer program product
CN113784408B (en) * 2021-11-11 2022-02-08 荣耀终端有限公司 Network switching method and electronic equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8064356B1 (en) * 2005-01-11 2011-11-22 Verizon Services Corp. System and methods for measuring network performance
CN102437931B (en) * 2011-12-29 2015-07-08 华为技术有限公司 Detection method and device of service path
US9503463B2 (en) * 2012-05-14 2016-11-22 Zimperium, Inc. Detection of threats to networks, based on geographic location

Also Published As

Publication number Publication date
CN108777640A (en) 2018-11-09

Similar Documents

Publication Publication Date Title
CN108777640B (en) Server detection method, device, system and storage medium
CN110113441B (en) Computer equipment, system and method for realizing load balance
CN111866064B (en) Load balancing method, device and system
US9999030B2 (en) Resource provisioning method
CN108293001B (en) Software defined data center and deployment method of service cluster in software defined data center
JP6835444B2 (en) Software-defined data center and service cluster scheduling method and traffic monitoring method for that purpose
WO2017045471A1 (en) Method and apparatus for acquiring service chain information in cloud computing system
US10594586B2 (en) Dialing test method, dialing test system, and computing node
US10318550B2 (en) Systems and methods for autonomous resource discovery, management, and stitching
JP6269250B2 (en) Data transfer control device, data transfer control method, and program
JP2019525600A (en) System and method for channel data encapsulation for use in a client / server data channel
US20170180309A1 (en) Selective ip address allocation for probes that do not have assigned ip addresses
CN110069210B (en) Storage system, and method and device for allocating storage resources
JP2018530256A (en) User migration
CN110716787A (en) Container address setting method, apparatus, and computer-readable storage medium
CN108696581A (en) Caching method, device, computer equipment and the storage medium of distributed information
CN109240796A (en) Virtual machine information acquisition methods and device
CN114070723A (en) Virtual network configuration method and system of bare metal server and intelligent network card
CN113810230A (en) Method, device and system for carrying out network configuration on containers in container cluster
CN111597024B (en) Cross-domain cluster processing method and device, electronic equipment and storage medium
CN113014611B (en) Load balancing method and related equipment
CN108650337B (en) Server detection method, system and storage medium
CN108933844B (en) Method and equipment for providing DHCP service
CN112769829B (en) Deployment method of cloud physical machine, related equipment and readable storage medium
US7711780B1 (en) Method for distributed end-to-end dynamic horizontal scalability

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