CN110943887B - Probe scheduling method, device, equipment and storage medium - Google Patents

Probe scheduling method, device, equipment and storage medium Download PDF

Info

Publication number
CN110943887B
CN110943887B CN201911205596.8A CN201911205596A CN110943887B CN 110943887 B CN110943887 B CN 110943887B CN 201911205596 A CN201911205596 A CN 201911205596A CN 110943887 B CN110943887 B CN 110943887B
Authority
CN
China
Prior art keywords
server
probe
room
network
target
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
CN201911205596.8A
Other languages
Chinese (zh)
Other versions
CN110943887A (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.)
Bigo Technology Singapore Pte Ltd
Original Assignee
Guangzhou Baiguoyuan Information Technology 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 Guangzhou Baiguoyuan Information Technology Co Ltd filed Critical Guangzhou Baiguoyuan Information Technology Co Ltd
Priority to CN201911205596.8A priority Critical patent/CN110943887B/en
Publication of CN110943887A publication Critical patent/CN110943887A/en
Application granted granted Critical
Publication of CN110943887B publication Critical patent/CN110943887B/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
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Abstract

The invention discloses a probe scheduling method, a probe scheduling device, probe scheduling equipment and a probe scheduling storage medium. Wherein, the method comprises the following steps: detecting the state of a target server used as a probe, wherein the target server is a server with the current load smaller than a load threshold value in a server room, and the load threshold value is determined according to the network type of the server room; and selecting servers meeting the probe standard from servers which do not make probes in the server room to replace target servers which do not meet the state requirement. According to the technical scheme of the embodiment of the invention, the target server used as the probe is detected, and when the performance of the target server is reduced, a new server is selected in time to replace the target server with reduced performance as the probe, so that the network quality detection performance of the probe is ensured, the detection accuracy can be improved, a user does not need to manually configure the probe again, and the scheduling process of the probe is simplified.

Description

Probe scheduling method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of networks, in particular to a probe scheduling method, a probe scheduling device, probe scheduling equipment and a storage medium.
Background
In the internet era, networks become important basic resources, and for internet companies, with the development of company services, the quality of the networks becomes an important factor influencing the development of the internet companies. Under the condition, the network quality needs to be detected, so that the network fault can be found timely, and the fault source can be positioned quickly and accurately.
In the prior art, a plurality of servers are required to be selected as probes, and the probes are used for detecting the network quality of a front end, each machine room and a machine room. However, for cost reasons, the network quality detection cannot be performed by using a dedicated server as a probe, and the server needs to be manually selected as the probe according to the operation load of the server. Fig. 1 is a flow chart of network quality detection in the prior art, and referring to fig. 1, a user usually selects probes manually, and then each probe respectively detects a front-end network, an inter-room network, and an intra-room network according to configured detection relationships, and when server load indexes such as a central processing unit occupation state, a memory occupation state, or a disk input/output state of the probe are too high, the probe cannot normally execute a network quality detection task, there is an error in network quality detection, the probe cannot accurately acquire network quality, and the probe needs to be manually configured again.
Disclosure of Invention
The invention provides a probe scheduling method, a probe scheduling device, probe scheduling equipment and a storage medium, which are used for realizing timely scheduling of a probe and improving the accuracy of network quality detection.
In a first aspect, an embodiment of the present invention provides a probe scheduling method, where the method includes:
detecting the state of a target server used as a probe, wherein the target server is a server with the current load smaller than a load threshold value in a server room, and the load threshold value is determined according to the network type of the server room;
and selecting a server meeting the probe standard from servers which do not serve as probes in the server room to replace the target server which does not meet the state requirement. In a second aspect, an embodiment of the present invention further provides a probe scheduling apparatus, where the apparatus includes:
the state detection module is used for detecting the state of a target server used as a probe, the target server is a server with the current load smaller than a load threshold value in a server room, and the load threshold value is determined according to the network type of the server room;
and the probe updating module is used for selecting a server meeting the probe standard from servers which do not make probes in the server room to replace a target server which does not meet the state requirement.
In a third aspect, an embodiment of the present invention further provides an apparatus, where the apparatus includes:
one or more processors;
a memory for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement a probe scheduling method as in any of the embodiments of the invention.
In a fourth aspect, embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored, where the program is executed by a processor to implement the probe scheduling method according to any one of the embodiments of the present invention.
According to the technical scheme of the embodiment of the invention, the state of the target server serving as the probe is detected, the target server is a server with the current load smaller than the load threshold value in the server room, the load threshold value is determined according to the network type of the server room, the server meeting the probe standard is selected in the server room to replace the target server not meeting the state requirement, the probe for network quality detection is dynamically updated according to the performance of the server, the reduction of the accuracy rate of network quality detection caused by the performance reduction of the probe is avoided, the probe does not need to be reconfigured by a user, and the probe scheduling process is simplified.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments thereof, made with reference to the following drawings:
FIG. 1 is a flow diagram of network quality detection in the prior art;
fig. 2 is an architecture diagram of a probe scheduling method according to an embodiment of the present invention;
fig. 3 is a flowchart of a probe scheduling method according to an embodiment of the present invention;
fig. 4 is a flowchart of a probe scheduling method according to a second embodiment of the present invention;
fig. 5 is an exemplary diagram of a probe scheduling method according to a second embodiment of the present invention;
fig. 6 is a schematic structural diagram of a probe scheduling apparatus according to a third embodiment of the present invention;
fig. 7 is a schematic structural diagram of an apparatus according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be noted that, for convenience of description, only a part of the structure related to the present invention is shown in the drawings, not the whole structure, and furthermore, the embodiments and the features of the embodiments in the present invention may be combined with each other without conflict.
When the network quality of the front end, the server rooms and the server rooms needs to be detected, a server is selected as a probe in each server room, and the network quality of the front end, the server rooms and the server rooms is detected through the probe. In the prior art, probes are often manually selected, each probe respectively detects a front-end network, an inter-machine-room network and an intra-machine-room network according to configured detection relationships, and when indexes such as the occupation condition of a central processing unit, the occupation condition of a memory or the input and output of a disk of the probe are too high, the probe cannot normally execute a network quality detection task, and network quality detection has errors.
In order to avoid the reduction of the accuracy of network detection caused by the overhigh probe load, the embodiment of the invention provides a probe scheduling method, which updates the probe in time by detecting the state of the probe to realize the accurate detection of the probe on the network quality. Fig. 2 is an architecture diagram of a probe scheduling method according to an embodiment of the present invention, referring to fig. 2, the probe scheduling method according to the embodiment of the present invention may include an upper computer 10, a server room 11, and a probe 12, where the upper computer 10 may obtain a state of the probe 12, and when the probe 12 has a problem, another server in the server room 11 may be selected as a new probe, which may ensure that the probe has higher performance and may improve accuracy of network quality detection.
Example one
Fig. 3 is a flowchart of a probe scheduling method according to an embodiment of the present invention, where the method is applicable to detecting network quality, and the method may be executed by a probe scheduling apparatus, and the apparatus may be implemented in a hardware and/or software manner. Referring to fig. 3, the method of the embodiment of the present invention specifically includes the following steps:
step 101, detecting the state of a target server used as a probe, wherein the target server is a server with the current load smaller than a load threshold value in a server room, and the load threshold value is determined according to the network type of the server room.
The probe may be a server for detecting network quality, or any one server in a server room, the server may run a network quality detection program, the target server may be a server serving as a probe in the server room, the target server may only execute a network quality detection task, and the target server may also execute other service tasks while executing the network quality detection task.
In the embodiment of the present invention, the current load of the target server may be used to represent the current operating state of the target server, when the current load is too high, the accuracy of the target server in executing the network quality detection task may be reduced, the load threshold may be a load critical value of the server in executing the network quality detection task, and when the current load of the server is greater than the load threshold, the accuracy of the server in executing the network quality detection task is lower. The load threshold may be related to a network type of the server room, and the load threshold of the server may be different for different network types, for example, when the server room is a dedicated network, the amount of network values in the server room is good, and the load threshold may be correspondingly increased.
Specifically, the target servers selected as probes in each server may be monitored in real time to obtain the state of each target server, where the obtained state of the target server may include a central processing unit state, a memory state, a disk input/output state, and the like.
And 102, selecting a server meeting the probe standard from servers which do not make probes in the server room to replace a target server which does not meet the state requirement.
The server room may be a space of a storage server, and may be a unit for managing the server, where the servers in the server room include a target server used as a probe and a server not used as a probe, and the target server may not meet a standard as a probe due to an unstable state caused by an operation task in an operation process. For example, when the current load of the target server is smaller than the load threshold, the accuracy of the target server in running the network quality detection task is reduced, and the state of the target server does not meet the state requirement of the probe standard.
In the embodiment of the present invention, the state of a server not serving as a probe in the server room may satisfy the probe standard, and when the state of a target server in the server room does not meet the state requirement of the probe, a server not serving as the probe may be selected in the room where the target server is located, and the selected server meets the probe standard, for example, the current load of the server is less than the load threshold value.
According to the technical scheme, the state of the target server serving as the probe is detected, the target server is a server with the current load smaller than the load threshold value in the server room, the load threshold value can be determined according to the network type of the server room, when the target server does not meet the state requirement, the server which is not used as the probe is selected in the server room, and the target server is replaced by the server which meets the probe standard, so that the probe state is monitored, the probes which do not meet the requirement can be updated timely, the detection performance of the probe is guaranteed, the accuracy of network quality detection is improved, the probe does not need to be manually configured again, and the scheduling process of the probe is simplified.
Example two
Fig. 4 is a flowchart of a probe scheduling method according to a second embodiment of the present invention, which is detailed in the basic mountain of the second embodiment of the present invention. Referring to fig. 4, a method provided in an embodiment of the present invention includes:
step 201, selecting a target server used as a probe in a server room according to the sequence of the data transmission speed from high to low.
The data transmission speed may be a server data transmission speed, and may be related to a network card type of the server, for example, the data transmission speed of the gigabit network card server may be faster than the data transmission speed of the gigabit network card server.
In the embodiment of the invention, the servers can be selected as the probes in the order of the data transmission speed from high to low in the servers meeting the probe state requirements, for example, the network card type of the server meeting the probe requirements can be obtained, the server with the network card of ten-gigabit network card in the server room is selected as the probe, and after the server with the ten-gigabit network card is selected, the server with the gigabit network card can be selected as the probe.
Optionally, the target server is a server in the server room, where the current load is smaller than the load threshold, and if the network type of the server room is a private network, the corresponding load threshold is searched in a preset configuration table according to the identification number of the server room; and if the network type of the server room is a universal line network, searching a corresponding load threshold value in a preset configuration table according to the network segment information of the server room.
The private network can be a private network established by a network operator for a server room, the data transmission speed is higher, the private network is only used by a server in the server room, the general line network can be a common data network, in addition to data sent by the server in the server room, data transmission of other equipment can also pass through the general line network, the data transmission speed is lower, and the general line network can be divided according to network segments.
Specifically, the current threshold of the target server may be smaller than the load threshold, and if the network of the server room is a dedicated network, the load thresholds of different server rooms may be different because the speeds of the dedicated networks of different server rooms are different, and the corresponding load thresholds may be obtained in a preset configuration table according to the identification numbers of the server rooms; if the network of the server is a universal network, a plurality of server rooms can share one universal network, the network segment information corresponding to the server rooms is different, and corresponding load thresholds can be obtained in a preset configuration table according to the network segment information of the server rooms, wherein the preset configuration table can be a data table for storing the association relationship between the server rooms and the load thresholds, and the identification numbers of the server rooms, the network segment information of the server rooms and the load thresholds in the preset configuration table can be stored in an associated manner.
Step 202, obtaining the central processing unit state, the memory state and the disk input and output state of the target server.
The more the central processing units are used, the higher the current load of the target server can be, the more the memory state can be the state of the memory occupied in the target server, the higher the current load of the target server can be, the more the memory occupied in the target server can be, the higher the current load of the target server can be, the higher the disk input/output state can be the state of the disk written and read out in the target server, and the larger the disk input/output of the target server is, the higher the current load of the target server can be.
Specifically, the central processor state, the memory state, and the disk input/output state of each target server may be monitored, the obtained central processor state, the obtained memory state, and the obtained disk input/output state may be used as the current load of the target server, for example, weighted averages of the central processor state, the memory state, and the disk input/output state may be respectively calculated, and the obtained weighted averages may be used as the current load of the target server.
Optionally, the number of target servers used as probes in the target servers is determined by looking up in a preset configuration table according to the attribute information of the server room.
In the embodiment of the present invention, the number of probes in the server room may be related to attribute information of the server room, the attribute information may include a network type, a service type, and the like, when the attribute information of the server room is different, the number of probes in the server room may be different, and the corresponding number of probes may be searched in a preset configuration table according to the attribute information of the server room, and further, when a target server used as a probe is selected in the server room, the number of target servers selected in the server room may be determined according to the number of probes.
Step 203, if the state value of the target server is greater than or equal to the load threshold, determining that the target server does not meet the state requirement.
The state value can be a numerical value representing the state of the target server and can be determined by the load of the target server, the state value can be a numerical value generated by the state of a central processing unit, the state of a memory, the input and output states of a magnetic disk and the like of the target server, the state of the target server can change along with time in the operation process, and when the state value of the target server can exceed a load threshold value, the accuracy of the target server in detecting the network quality is reduced.
Specifically, the state value of each target server may be compared with a load threshold, and if there is a target server whose current load threshold is greater than or equal to the load threshold, it may be determined that the target server does not meet the state requirement, the load threshold may be determined according to a network type of a server room to which the target server belongs, and values of load thresholds compared for different target servers may be different due to different server rooms to which the target servers belong.
And step 204, acquiring the current load of the server which is not selected as the probe in the server room where the target server which does not meet the state requirement is located.
The probe may have a state requirement, which may be a state requirement for the target server when guaranteeing the accuracy of network quality detection, and may include a current load, a network speed, and the like.
In the embodiment of the invention, when the target server does not meet the state requirement, the accuracy of the target server in detecting the network quality is low, and the server room where the target server is located can be obtained according to the target server, for example, the server room can be determined according to the network address of the target server; the current load of the server not probed in the server room can be obtained.
And step 205, if the current load is smaller than the load threshold, taking the corresponding server as the pending server.
Specifically, when the current load of a server not used as a probe in the server room is smaller than a load threshold, the server can meet the probe standard, the server with the current load smaller than the load threshold can be used as an undetermined server, and the undetermined server can meet the probe state requirement.
And step 206, selecting a server from the pending servers to replace an unsatisfactory target server.
Specifically, after the server to be determined is determined, a server can be selected from the server to be determined as a probe, and a target server which does not meet the state requirement is stopped from executing the network quality detection task. Further, the target server can be randomly selected from the pending servers to be used as the probe.
And step 207, acquiring a network quality detection result of the probe, wherein the network quality detection result is obtained by the probe according to a detection relation.
The network quality detection result may be a result obtained by each probe performing network quality detection, and may include network delay, packet loss rate, and the like, the detection relationship may be a correspondence relationship between the probe and an address to be detected, and the addresses to be detected corresponding to the probes in different server rooms may be different, for example, the detection address B corresponding to the probe in the server room a may be a network address of a user network operator.
Specifically, each probe can acquire an address to be detected according to the detection relationship, the probe detects the address to be detected to acquire network quality data, and the network quality data acquired by each probe can be acquired and summarized to generate a network quality detection result.
Optionally, the detection relationship is an association relationship between the probe and an address to be detected, where the address to be detected includes a front-end network address, an inter-room network address, and an intra-room network address.
In the embodiment of the present invention, the detection relationship may be an association relationship between the probe and the address to be detected, and may be stored in advance according to requirements, the association relationship between the probe and the address to be detected may include a relationship between a server room in which the probe is located and the address to be detected, different server rooms correspond to different addresses to be detected, the corresponding address to be detected may be determined according to the server room in which the probe is located, the address to be detected may specifically be a front-end network address, an inter-room network address, and an intra-room network address, and the probe may respectively detect network qualities of the front-end network, the inter-room network, and the intra-room network according to the front-end network address, the inter-room network address, and the intra-room network address to obtain corresponding network quality detection results.
And 208, performing network quality result display and network quality alarm according to the network quality detection result.
Specifically, statistical analysis may be performed on the network quality detection result, for example, the average network delay and the average packet loss rate from a certain server room to a front-end network are obtained. The network quality detection result after the statistical analysis can be displayed, and the display mode can include data display and graphical display. The obtained network quality detection result can be compared with a quality threshold value, and when the network quality detection result is smaller than the quality threshold value, a network quality alarm can be given to remind a user of sending a fault through a network.
For example, fig. 5 is an exemplary diagram of a probe scheduling method provided in the second embodiment of the present invention, and referring to fig. 5, first, a target server used for a probe is selected in each server room, the selected criteria may include how many probes are needed in each server room, how many probes are needed in a network segment of each server room, a network card type of the probe, a load threshold of the probe, and the like, and the selected criteria may be stored in advance. The state of the probe can be detected regularly (such as every 20 seconds), if a target server used as the probe does not meet the state requirement, the probe which does not meet the state requirement can be replaced by a server selected in a server room, the probe can respectively detect a front-end network, an inter-room network and an intra-room network according to detection relations, the detection relations can be related to the server room, and after the probe performs network quality detection, the acquired data can be processed, displayed and alarmed.
According to the technical scheme, the target server used as the probe is selected in the server room from high to low according to the data transmission speed, the central processor state, the memory state and the disk input and output state of the target server are obtained, if the state value of the target server is larger than or equal to the load threshold value, the fact that the target server does not meet the state requirement is determined, the server room of the server is obtained, the current load of the server which is not selected as the probe in the server room is obtained, the server with the current load smaller than the load threshold value is used as an undetermined server, the server which does not meet the requirement is selected from the undetermined servers to be replaced, the network quality detection result of the probe is obtained, the network quality detection result is detected and obtained through the probe according to the detection relation, the network quality result is displayed and the network quality alarm is carried out on the network quality detection result, the scheduling is timely carried out according to the probe state, the efficient network quality is ensured, the accurate network quality detection result is obtained, the accuracy of network detection is improved, the network detection is not needed, the actual verification on the network fault is not needed, the scheduling process of the network probe is simplified, and the experience degree of a user is improved.
Further, on the basis of the embodiment of the present invention, the network segment information of the server room includes at least one network segment, and the load threshold in the preset configuration table is stored in association with the network segment.
In the embodiment of the invention, the network segments can be segments determined according to network address network segments, the same server room can be provided with a plurality of network segments, the load thresholds in the preset configuration table can be stored in association with the network segments, the corresponding load thresholds can be respectively determined according to the network segments of the server room, the servers in the server room determine the corresponding load thresholds according to the network segments to which the network addresses belong, the servers in the same server room can determine different load thresholds according to different network segments, further, the number of probes of the network segments can be different, and when the probes are selected in the server room, the different number of servers can be selected as the probes in different network segments.
Further, on the basis of the above embodiment of the present invention, performing network quality result display and network quality alarm according to the network quality detection result includes:
counting network quality results according to a server room to generate room display data, and displaying according to the room display data; and if the computer room display data is detected to be smaller than the alarm threshold value of the corresponding server computer room, generating alarm information according to the server computer room and giving an alarm on the network quality.
The machine room display data can be data generated by counting network quality results according to the server machine rooms, can be used for representing the network quality condition of each server machine room, and can comprise the network quality from the server machine room to a front-end network, the network quality from the server machine room to other server machine rooms and the network quality in the server machine rooms; the alarm threshold value can be a critical value of the network quality, when the network quality result is smaller than the alarm threshold value, alarm information can be generated according to the server room, wherein the alarm information can comprise the position, the network address, the network type and the like of the server room, and a user can be alarmed based on the alarm information to remind the server room of network faults.
Further, on the basis of the above-described embodiment of the invention, the target server serving as a probe performs only network quality detection.
Specifically, the target server used as the probe in each server room can only perform network quality detection without performing other services, so that the performance of the target server can be guaranteed, and the accuracy of network quality detection can be further improved.
EXAMPLE III
Fig. 6 is a schematic structural diagram of a probe scheduling apparatus according to a third embodiment of the present invention. Referring to fig. 6, the probe scheduling apparatus provided in the embodiment of the present invention includes: a status detection module 301 and a probe update module 302.
The state detection module 301 is configured to detect a state of a target server used as a probe, where the target server is a server in a server room and a current load of the server is smaller than a load threshold, and the load threshold is determined according to a network type of the server room.
And a probe updating module 302, configured to select a server meeting the probe standard from servers in the server room that do not make probes to replace a target server that does not meet the status requirement.
According to the technical scheme of the embodiment of the invention, the state of the probe is detected by the state detection module, the probe is a target server with the current load smaller than the load threshold value in the server room, the load threshold value is determined by the network type of the server room, and the probe updating module selects a server which does not serve as the probe and meets the probe standard to replace the target probe when the target server serving as the probe does not meet the state requirement, so that the probe is updated in time according to the state of the probe, the probe is guaranteed to be a high-performance server, the accuracy of network quality detection can be guaranteed, the actual detection of network faults is not needed, the scheduling process of the probe is simplified, the probe does not need to be manually configured, and the experience degree of a user can be improved.
Further, on the basis of the embodiment of the present invention, the server system further includes a probe selection module, configured to select a target server used as a probe in the server room according to a sequence from a fast data transmission speed to a slow data transmission speed.
Further, on the basis of the above embodiment of the present invention, the number of target servers used as probes in the target servers of the status detection module is determined by looking up in a preset configuration table according to the attribute information of the server room.
Further, on the basis of the above embodiment of the present invention, the probe scheduling apparatus further includes:
and the first threshold determining module is used for searching a corresponding load threshold in a preset configuration table according to the identification number of the server room if the network type of the server room is a private network.
And the second threshold determining module is used for searching a corresponding load threshold in a preset configuration table according to the network segment information of the server room if the network type of the server room is the ordinary network.
Further, on the basis of the above embodiment of the present invention, the segment information of the server room in the second threshold determination module includes at least one network segment, and the load threshold in the preset configuration table is stored in association with the network segment.
Further, on the basis of the above embodiment of the present invention, the state detection module includes:
and the parameter acquisition unit is used for acquiring the central processing unit state, the memory state and the disk input and output state of the target server.
Further, on the basis of the above embodiment of the present invention, the probe update module includes:
and the state detection unit is used for determining that the target server does not meet the state requirement if the state value of the target server is greater than or equal to the load threshold.
And the load obtaining unit is used for obtaining the current load of the server which is not selected as the probe in the server room where the target server which does not meet the state requirement is located.
And the candidate determining unit is used for taking the corresponding server as the pending server if the current load is smaller than the load threshold.
And the probe replacing unit is used for selecting a server from each server to be determined to replace an unsatisfactory target server.
Further, on the basis of the above embodiment of the present invention, the probe scheduling apparatus further includes:
and the result acquisition module is used for acquiring a network quality detection result of the probe, wherein the network quality detection result is obtained by the probe according to the detection relation.
Further, on the basis of the above embodiment of the present invention, the detection relationship in the result display module is an association relationship between the probe and the address to be detected, where the address to be detected includes a front-end network address, an inter-room network address, and an intra-room network address.
Further, on the basis of the above embodiment of the present invention, the probe scheduling apparatus further includes:
and the result display module is used for displaying the network quality result and giving an alarm to the network quality according to the network quality detection result.
Further, on the basis of the above embodiment of the invention, the result display module includes:
and the quality data display unit is used for generating machine room display data according to the network quality result counted by the server machine room and displaying according to the machine room display data.
And the network quality alarm unit is used for generating alarm information according to the server room and giving an alarm on the network quality when the computer room display data is detected to be smaller than the alarm threshold of the corresponding server room.
Further, on the basis of the above embodiment of the invention, the target server used as the probe in the probe scheduling apparatus only performs network quality detection.
The probe scheduling device provided by the embodiment of the invention can be applied to the probe scheduling method provided by any embodiment, and has corresponding functions and beneficial effects.
Example four
Fig. 7 is a schematic structural diagram of an apparatus according to a fourth embodiment of the present invention, as shown in fig. 7, the apparatus includes a processor 70, a memory 71, an input device 72, and an output device 73; the number of processors 70 in the device may be one or more, and one processor 70 is taken as an example in fig. 7; the processor 70, the memory 71, the input device 72 and the output device 73 of the apparatus may be connected by a bus or other means, as exemplified by the bus connection in fig. 7.
The memory 71 is a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, and modules, such as program modules corresponding to the probe scheduling method in the embodiment of the present invention (for example, the status detection module 301 and the probe update module 302 in the probe scheduling apparatus). The processor 70 executes various functional applications of the apparatus and data processing by executing software programs, instructions and modules stored in the memory 71, that is, implements the probe scheduling method described above.
The memory 71 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 71 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 non-volatile solid state storage device. In some examples, the memory 71 may further include memory located remotely from the processor 70, which may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 72 may be used to receive entered numeric or character information and to generate key signal inputs relating to user settings and function controls of the apparatus. The output device 73 may include a display device such as a display screen. EXAMPLE five
A fifth embodiment of the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a method for scheduling probes, the method including:
detecting the state of a target server used as a probe, wherein the target server is a server with the current load smaller than a load threshold value in a server room, and the load threshold value is determined according to the network type of the server room;
and selecting servers meeting the probe standard from servers which do not make probes in the server room to replace target servers which do not meet the state requirement.
Of course, the storage medium containing the computer-executable instructions provided by the embodiments of the present invention is not limited to the method operations described above, and may also perform related operations in the method for scheduling a probe provided by any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the scheduling apparatus of the probe, the included units and modules are only divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing description is only exemplary of the invention and that the principles of the technology may be employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in more detail with reference to the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (13)

1. A probe scheduling method, comprising:
selecting a target server used as a probe in a server room according to the sequence of the data transmission speed from high to low;
detecting the state of a target server used as a probe, wherein the target server is a server with the current load smaller than a load threshold value in a server room, and the load threshold value is determined according to the network type of the server room;
selecting a server meeting the probe standard from servers which do not make probes in a server room to replace a target server which does not meet the state requirement;
determining a load threshold according to a network type of a server room, comprising:
if the network type of the server room is a private network, searching a corresponding load threshold value in a preset configuration table according to the identification number of the server room;
and if the network type of the server room is a universal line network, searching a corresponding load threshold value in a preset configuration table according to the network segment information of the server room.
2. The method of claim 1, wherein the number of target servers used as probes in the target servers is determined by looking up in a preset configuration table according to the attribute information of the server room.
3. The method of claim 1, wherein the segment information of the server room comprises at least one network segment, and the load threshold in the preset configuration table is stored in association with the network segment.
4. The method of claim 1, wherein detecting the status of a target server used as a probe comprises: and acquiring the central processing unit state, the memory state and the disk input and output state of the target server.
5. The method of claim 1, wherein the selecting a server meeting the probe criteria from among servers in the server room that have not been probed to replace a target server that does not meet the status requirements comprises:
if the state value of the target server is larger than or equal to the load threshold value, determining that the target server does not meet the state requirement;
acquiring the current load of a server which is not selected as a probe in a server room where a target server which does not meet the state requirement is located;
if the current load is smaller than the load threshold, the corresponding server is used as a pending server;
and selecting a server from each pending server to replace an unsatisfactory target server.
6. The method of claim 1, further comprising:
and acquiring a network quality detection result of the probe, wherein the network quality detection result is obtained by the probe according to the detection relation.
7. The method according to claim 6, wherein the probing relation is an association relation between a probe and an address to be probed, wherein the address to be probed comprises a front-end network address, an inter-room network address and an intra-room network address.
8. The method of claim 6, further comprising:
and performing network quality result display and network quality alarm according to the network quality detection result.
9. The method according to claim 7, wherein the performing network quality result presentation and network quality alarm according to the network quality detection result comprises:
counting network quality results according to a server room to generate room display data, and displaying according to the room display data;
and when the computer room display data are detected to be smaller than the alarm threshold value of the corresponding server computer room, generating alarm information according to the server computer room and giving an alarm on network quality.
10. A method according to any of claims 1-9, characterized in that the target server used as a probe performs only network quality probing.
11. A probe scheduling apparatus, comprising:
the probe selection module is used for selecting a target server used as a probe in a server room according to the sequence of the data transmission speed from high to low;
the state detection module is used for detecting the state of a target server used as a probe, the target server is a server with the current load smaller than a load threshold value in a server room, and the load threshold value is determined according to the network type of the server room;
the probe updating module is used for selecting a server meeting the probe standard from servers which do not make probes in the server room to replace a target server which does not meet the state requirement;
the first threshold determining module is used for searching a corresponding load threshold in a preset configuration table according to the identification number of the server room if the network type of the server room is a private network;
and the second threshold determining module is used for searching a corresponding load threshold in a preset configuration table according to the network segment information of the server room if the network type of the server room is the ordinary network.
12. A probe scheduling apparatus, comprising:
one or more processors;
a memory for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the probe scheduling method of any one of claims 1-10.
13. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the probe scheduling method according to any one of claims 1 to 10.
CN201911205596.8A 2019-11-29 2019-11-29 Probe scheduling method, device, equipment and storage medium Active CN110943887B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911205596.8A CN110943887B (en) 2019-11-29 2019-11-29 Probe scheduling method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911205596.8A CN110943887B (en) 2019-11-29 2019-11-29 Probe scheduling method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110943887A CN110943887A (en) 2020-03-31
CN110943887B true CN110943887B (en) 2023-04-18

Family

ID=69908849

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911205596.8A Active CN110943887B (en) 2019-11-29 2019-11-29 Probe scheduling method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110943887B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112929292A (en) * 2021-03-07 2021-06-08 百果园技术(新加坡)有限公司 Flow scheduling method, system, equipment and storage medium based on machine room comparison
CN115309538A (en) * 2021-05-08 2022-11-08 戴尔产品有限公司 Multi-index based workload balancing between storage resources

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103873293B (en) * 2014-03-05 2018-06-12 新华三技术有限公司 A kind of healthprobe device and method
CN104065538B (en) * 2014-07-07 2017-09-08 湖南网数科技有限公司 Measurement control method, control server and the system of network performance
CN107635015B (en) * 2017-10-25 2020-11-24 深圳市和讯华谷信息技术有限公司 Optimal path selection system and method for linking mobile terminal and server
CN108322502A (en) * 2017-12-22 2018-07-24 杭州大搜车汽车服务有限公司 Method, gateway system and storage medium for equalization server load
CN109921925B (en) * 2019-02-15 2022-04-22 北京奇艺世纪科技有限公司 Dial testing method and device

Also Published As

Publication number Publication date
CN110943887A (en) 2020-03-31

Similar Documents

Publication Publication Date Title
US10284444B2 (en) Visual representation of end user response time in a multi-tiered network application
CN110830311B (en) Network quality detection method, device, equipment and storage medium
US7526542B2 (en) Methods and apparatus for information processing and display for network management
US20150095892A1 (en) Systems and methods for evaluating a change pertaining to a service or machine
US9262295B2 (en) Multiple configuration item status value analysis
US8752023B2 (en) System, method and program product for executing a debugger
CN108255691A (en) Thermodynamic chart methods of exhibiting and device
US10585666B2 (en) Visual presentation of metrics reflecting lifecycle events of software artifacts
CN110943887B (en) Probe scheduling method, device, equipment and storage medium
CN105373460A (en) Monitoring message alarming method and system
CN112636942B (en) Method and device for monitoring service host node
CN113760641A (en) Service monitoring method, device, computer system and computer readable storage medium
CN111045879B (en) Method, device and storage medium for generating pressure test report
CN109657148B (en) Abnormal operation identification method, device, server and medium for reported POI
CN110932894A (en) Network fault positioning method and device of cloud storage system and electronic equipment
CN114430383A (en) Method and device for screening detection nodes, electronic equipment and storage medium
US7890444B2 (en) Visualization of data availability and risk
CN116645082A (en) System inspection method, device, equipment and storage medium
CN110019008A (en) Data storage method and device
CN114428711A (en) Data detection method, device, equipment and storage medium
CN114389969A (en) Client test method and device, electronic equipment and storage medium
CN114095394B (en) Network node fault detection method and device, electronic equipment and storage medium
CN112804373B (en) Interface domain name determining method and device, electronic equipment and storage medium
WO2023221004A1 (en) Test data processing method and apparatus, and electronic device and storage medium
CN117131453A (en) Abnormality diagnosis method and device, electronic equipment and storage medium

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
TR01 Transfer of patent right

Effective date of registration: 20231010

Address after: 31a, 15 / F, building 30, maple mall, bangrang Road, Brazil, Singapore

Patentee after: Baiguoyuan Technology (Singapore) Co.,Ltd.

Address before: 511400 floor 5-13, West Tower, building C, 274 Xingtai Road, Shiqiao street, Panyu District, Guangzhou City, Guangdong Province

Patentee before: GUANGZHOU BAIGUOYUAN INFORMATION TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right