CN114024879B - Network probe deployment method, device and storage medium - Google Patents

Network probe deployment method, device and storage medium Download PDF

Info

Publication number
CN114024879B
CN114024879B CN202111211684.6A CN202111211684A CN114024879B CN 114024879 B CN114024879 B CN 114024879B CN 202111211684 A CN202111211684 A CN 202111211684A CN 114024879 B CN114024879 B CN 114024879B
Authority
CN
China
Prior art keywords
network
address
detected
probe
detection information
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
CN202111211684.6A
Other languages
Chinese (zh)
Other versions
CN114024879A (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.)
China United Network Communications Group Co Ltd
China Information Technology Designing and Consulting Institute Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
China Information Technology Designing and Consulting Institute 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 China United Network Communications Group Co Ltd, China Information Technology Designing and Consulting Institute Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202111211684.6A priority Critical patent/CN114024879B/en
Publication of CN114024879A publication Critical patent/CN114024879A/en
Application granted granted Critical
Publication of CN114024879B publication Critical patent/CN114024879B/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/12Network monitoring probes
    • 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/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

The application provides a network probe deployment method, a network probe deployment device and a storage medium, relates to the technical field of communication, and is used for improving the deployment efficiency of a network probe. The method comprises the following steps: and acquiring a first address to be detected, wherein the first address to be detected is a network address communicated with a preset network address, and the preset network address is a network address corresponding to the network equipment provided with the network probe. And if the first address to be detected does not exist in the detection information, installing a network probe for the first equipment, wherein the first equipment is the network equipment corresponding to the first address to be detected, and the detection information comprises the network address which is detected. And acquiring a second address to be detected, wherein the second address to be detected is a network address communicated with the first address to be detected. And if the second address to be detected does not exist in the detection information, installing a network probe for the network equipment corresponding to the second address to be detected.

Description

Network probe deployment method, device and storage medium
Technical Field
The present application relates to the field of communications, and in particular, to a method and an apparatus for deploying a network probe, and a storage medium.
Background
With the continuous development of network technology, the importance of network devices (such as servers, routers, etc.) is increasing. In order to ensure the normal operation of the network device, the device condition of the network device needs to be known.
Currently, network probes can be deployed manually on network devices to detect device conditions of the network devices. For example, network probes are deployed on servers, which may detect network latency, network jitter, route reachability, port availability, etc. of the servers.
However, as the number of network devices used increases, it takes longer to manually deploy network probes for a large number of network devices, resulting in less efficient deployment of network probes.
Disclosure of Invention
The application provides a network probe deployment method, a network probe deployment device and a storage medium, which are used for improving the deployment efficiency of a network probe.
In order to achieve the purpose, the following technical scheme is adopted in the application:
in a first aspect, the present application provides a method for deploying a network probe. In the method, a first address to be detected is obtained, the first address to be detected is a network address communicated with a preset network address, and the preset network address is a network address corresponding to network equipment provided with a network probe. And if the first address to be detected does not exist in the detection information, installing a network probe for the first equipment, wherein the first equipment is the network equipment corresponding to the first address to be detected, and the detection information comprises the network address which is detected. And acquiring a second address to be detected, wherein the second address to be detected is a network address communicated with the first address to be detected. And if the second address to be detected does not exist in the detection information, installing a network probe for the network equipment corresponding to the second address to be detected.
Based on the technical scheme, a first address to be detected is obtained, the first address to be detected is a network address communicated with a preset network address, the preset network address is a network address corresponding to the network device with the network probe installed, and the first device is the network device corresponding to the first address to be detected. Thus, the equipment information of the first equipment can be ensured to be detected by the network probe. And the detection information includes the network address that has already finished detecting, and in the case that the first address to be detected does not exist in the detection information, it indicates that the first address to be detected has not been detected, and a network probe may be installed for the first device. And acquiring a second address to be detected, wherein the second address to be detected is a network address communicated with the first address to be detected. And if the second address to be detected does not exist in the detection information, installing a network probe for the network equipment corresponding to the second address to be detected, wherein the first address to be detected is a network address communicated with the preset network address. In this way, a network probe can be installed for a network device that communicates with (a network address of) each network device in which the network probe is installed, centering on the network device. Therefore, the network probe can be quickly installed for the network equipment, and the efficiency of deploying the network probe is improved.
In one possible design, a first network addressing library is determined, the first network addressing library comprising: the network address same as the network segment of the preset network address and/or the network address adjacent to the network segment of the preset network address. The first address to be detected is any address communicated with the preset network address in the first network addressing library.
In one possible design, a second network addressing library is determined, the second network addressing library comprising: the network address same as the network segment of the first address to be detected and/or the network address adjacent to the network segment of the first address to be detected. And the second address to be detected is any address communicated with the first address to be detected in the second network addressing library.
In one possible design, if the first address to be detected does not exist in the detection information, the device information of the first device is obtained. And determining whether the first equipment supports the installation of the network probe according to the equipment information of the first equipment. And if the first equipment supports the installation of the network probe, installing the network probe for the first equipment.
In one possible design, if the first address to be detected exists in the detection information, a third address to be detected is obtained, where the third address to be detected is a network address in the first network addressing library except the first address to be detected.
In a second aspect, the present application provides a deployment apparatus for a network probe, which includes an acquisition unit and a processing unit.
The acquisition unit is used for acquiring a first address to be detected, wherein the first address to be detected is a network address communicated with a preset network address, and the preset network address is a network address corresponding to the network equipment provided with the network probe. And the processing unit is used for installing a network probe for first equipment if the first address to be detected does not exist in the detection information, the first equipment is the network equipment corresponding to the first address to be detected, and the detection information comprises the network address which is detected. The acquisition unit is further configured to acquire a second address to be detected, where the second address to be detected is a network address communicated with the first address to be detected. And the processing unit is further used for installing a network probe for the network equipment corresponding to the second address to be detected if the second address to be detected does not exist in the detection information.
In one possible design, the processing unit is further configured to determine a first network addressing library, the first network addressing library comprising: the network address same as the network segment of the preset network address and/or the network address adjacent to the network segment of the preset network address. The first address to be detected is any address communicated with the preset network address in the first network addressing library.
In one possible design, the processing unit is further configured to determine a second network addressing library, where the second network addressing library includes: the network address same as the network segment of the first address to be detected and/or the network address adjacent to the network segment of the first address to be detected. And the second address to be detected is any address which is communicated with the first address to be detected in the second network addressing library.
In a possible design, the processing unit is further configured to obtain device information of the first device if the first address to be detected does not exist in the detection information. And the processing unit is further used for determining whether the first equipment supports the installation of the network probe according to the equipment information of the first equipment. And the processing unit is further used for installing the network probe for the first equipment if the first equipment supports the installation of the network probe.
In a possible design, the obtaining unit is further configured to obtain a third address to be detected if the first address to be detected exists in the detection information, where the third address to be detected is a network address in the first network addressing library except the first address to be detected.
In a third aspect, the present application provides a deployment apparatus for a network probe, the apparatus comprising: a processor and a memory; the processor and the memory are coupled; the memory is used for storing one or more programs, the one or more programs including computer executable instructions, and when the deployment apparatus of the network probe is run, the processor executes the computer executable instructions stored in the memory to implement the deployment method of the network probe as described in the first aspect and any possible implementation manner of the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium having stored therein instructions that, when executed on a computer, cause the computer to perform the method for deploying a network probe described in the first aspect and any one of the possible implementations of the first aspect.
In a fifth aspect, the present application provides a chip comprising a processor and a communication interface, the communication interface being coupled to the processor, the processor being configured to execute a computer program or instructions to implement the method for deploying a network probe as described in the first aspect and any possible implementation manner of the first aspect.
In the foregoing solution, for the technical problems that can be solved by the deployment apparatus of the network probe, the computer device, the computer storage medium, or the chip, and the technical effects that can be achieved by the deployment apparatus of the network probe, the technical problems and the technical effects that are solved by the first aspect described above may be referred to, and details are not described herein.
Drawings
Fig. 1 is a system architecture diagram of a probe deployment system according to an embodiment of the present disclosure;
fig. 2A is a schematic flowchart of a method for deploying a network probe according to an embodiment of the present disclosure;
fig. 2B is a schematic diagram illustrating an example of a network probe according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of another network probe deployment method according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a deployment apparatus of a network probe according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of another deployment apparatus for a network probe according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, 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 application.
The character "/" herein generally indicates that the former and latter associated objects are in an "or" relationship. For example, A/B may be understood as A or B.
The terms "first" and "second" in the description and claims of the present application are used to distinguish between different objects, and are not used to describe a particular order of objects.
Furthermore, the terms "including" and "having," and any variations thereof, as referred to in the description of the present application, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or modules is not limited to only those steps or modules recited, but may alternatively include other steps or modules not recited, or may alternatively include other steps or modules inherent to such process, method, article, or apparatus.
In addition, in the embodiments of the present application, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or explanations. Any embodiment or design described herein as "exemplary" or "such as" is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts in a concrete fashion.
Before describing the deployment method of the network probe in the embodiment of the present application in detail, an implementation environment and an application field Jing Jinhang in the embodiment of the present application are described first.
As shown in fig. 1, a probe deployment system provided for the embodiment of the present application includes at least one server.
The server can be a physical server or a cloud server. The server can communicate with the server. For example, the at least one server includes a first server, a second server, and a third server. And the network address of the second server is communicated with the network address of the third server. The second server and the third server may communicate with each other. The first server may be in communication with the second server and the third server, respectively. The second server may probe device information of a third server through a network probe. The first server may install a network probe for the third server. The first server may also obtain device information for the second server and the third server.
Optionally, the first server and the second server may be independent servers. Alternatively, the first server and the second server may be integrated in one server. The embodiments of the present application do not limit this.
The embodiments of the present application will be described in detail below with reference to the drawings attached to the specification.
As shown in fig. 2A, a method for deploying a network probe provided in an embodiment of the present application includes:
s201, acquiring a first address to be detected.
The first address to be detected is a network address communicated with a preset network address, and the preset network address is a network address corresponding to the network device with the network probe installed.
It should be noted that, in this embodiment of the present application, a network address communicated with a preset network address refers to a network address that is the same as a network segment of the preset network address and/or a network address that is adjacent to the network segment of the preset network address.
For example, if the predetermined network address is 192.168.1.1, 192.168.1.2, 192.168.1.10, 192.168.1.16, etc. (i.e. the network segment network address) are all network addresses connected to the predetermined network address. For another example, if the network device corresponding to the predetermined network address can receive the information from 172.17.176.1 (i.e. the neighbor segment network address), 172.17.176.1 is the network address connected to the predetermined network address.
It can be understood that the first address to be detected is a network address communicated with a preset network address, and the preset network address is a network address corresponding to a network device to which the network probe has been installed. Therefore, the network device with the network probe installed can detect the device information of the network device corresponding to the first address to be detected through the network probe, and then deploy the network probe.
In one possible implementation manner, before acquiring the first to-be-detected address, a first network addressing library is determined, where the first network addressing library includes: the network address same as the network segment of the preset network address and/or the network address adjacent to the network segment of the preset network address.
Illustratively, the first network addressing library is determined according to a preset network address. For example, the preset network address is 192.168.1.1, and the belonged network address is 192.168.1.0/24. Thereafter, a determination is made as to whether the 192.168.1.0/24 network is in the first network addressed repository, and if not, the first network addressed repository is recorded. For another example, a routing table of a preset network address is obtained through a network instruction (such as a route command), the network address in the routing table is checked, whether the network address is in the first network addressing library or not is judged, and if not, the network address is recorded in the first network addressing library.
Optionally, the first address to be detected is determined according to the first network addressing library, where the first address to be detected is any address in the first network addressing library that is communicated with the preset network address. Illustratively, whether the network address a of the first network addressing library can be communicated with the preset network address is checked through an arping command, wherein the network address a is any network address in the first network addressing library. If the network address a is communicated with the preset network address, the network address a can be determined to be the first address to be detected.
S202, determining whether the first address to be detected exists in the detection information.
Wherein the detection information includes the network address where the detection has been completed. That is, the network addresses present in the detection information are all detected.
In a possible implementation manner, if the first address to be detected does not exist in the detection information, step S203 is performed.
In a possible implementation manner, if the first address to be detected does not exist in the detection information, step S203 is executed. And if the first address to be detected exists in the detection information, acquiring a third address to be detected, wherein the third address to be detected is a network address except the first address to be detected in the first network addressing library. And then, if the third address to be detected does not exist in the detection information, installing a network probe for the network equipment corresponding to the third address to be detected.
S203, installing a network probe for the first equipment.
The first device is a network device corresponding to the first address to be detected.
And S204, acquiring a second address to be detected.
And the second address to be detected is a network address communicated with the first address to be detected.
In some embodiments, prior to obtaining the second address to be detected, a second network addressing repository is determined, the second network addressing repository comprising: the network address same as the network segment of the first address to be detected and/or the network address adjacent to the network segment of the first address to be detected.
In a possible implementation manner, a second address to be detected is determined according to a second network addressing library, and the second address to be detected is any address in the second network addressing library, which is communicated with the first address to be detected.
It should be noted that, for a description of the process of determining the second address to be detected, reference may be made to S201, which is not described herein again.
S205, determining whether the second address to be detected exists in the detection information.
In a possible implementation manner, if the second address to be detected does not exist in the detection information, step S206 is executed.
In a possible implementation manner, if the second address to be detected does not exist in the detection information, step S206 is performed. And if the second address to be detected exists in the detection information, acquiring a fourth address to be detected, wherein the fourth address to be detected is a network address in the second network addressing library except the second address to be detected. And then, if the fourth address to be detected does not exist in the detection information, installing a network probe for the network equipment corresponding to the fourth address to be detected.
And S206, installing a network probe for the network equipment corresponding to the second address to be detected.
Based on the technical scheme, a first address to be detected is obtained, the first address to be detected is a network address communicated with a preset network address, the preset network address is a network address corresponding to the network device with the network probe installed, and the first device is the network device corresponding to the first address to be detected. Therefore, the equipment information of the first equipment can be ensured to be detected by the network probe. And the detection information includes the network address that has already finished detecting, and in the case that the first address to be detected does not exist in the detection information, it indicates that the first address to be detected has not been detected, and a network probe may be installed for the first device. And acquiring a second address to be detected, wherein the second address to be detected is a network address communicated with the first address to be detected. And if the second address to be detected does not exist in the detection information, installing a network probe for the network equipment corresponding to the second address to be detected, wherein the first address to be detected is a network address communicated with the preset network address. In this way, a network probe can be installed for a network device that communicates with (a network address of) each network device in which the network probe is installed, centering on the network device. Therefore, the network probe can be quickly installed for the network equipment, and the efficiency of deploying the network probe is improved.
Illustratively, as shown in fig. 2B, the network device corresponding to the network address a is installed with a network probe. And the network equipment corresponding to the network address B, the network address C, the network address D and the network address E can be provided with probes through the network address A. And then, installing network probes for the network equipment corresponding to the network address communicated with the network address B, the network equipment corresponding to the network address communicated with the network address C, the network equipment corresponding to the network address communicated with the network address D and the network equipment corresponding to the network address communicated with the network address E respectively through the network address B, the network address C, the network address D and the network address E.
By such a method, the network probes can be simultaneously installed for the network devices corresponding to different network addresses according to different initial network addresses (or network devices), so that the efficiency of deploying the network probes is improved.
As shown in fig. 3, S203 may include S301-S303.
S301, acquiring the device information of the first device.
In a possible implementation manner, if the first address to be detected does not exist in the detection information, the device information of the first device is obtained.
The device information is not limited in the embodiments of the present application. For example, the device information may include at least one of: equipment name, manufacturer, model, operating system type, whether a virtual probe related protocol is supported, whether a soft probe operating environment is supported, and the like.
S302, determining whether the first equipment supports installation of the network probe according to the equipment information of the first equipment.
In some embodiments, if the first device supports installing the network probe, S303 is performed.
Optionally, if the first device supports the installation of the network probe, S303 is executed, and the state of the first address to be detected in the detection information is updated (e.g., the network probe is installed).
And S303, installing a network probe for the first equipment.
Optionally, according to the device information of the first device, a network probe corresponding to the first device is installed for the first device. For example, if the first device supports a virtual probe correlation protocol, a virtual probe is installed for the first device. And if the first equipment supports the soft probe operation environment, supporting the soft probe operation environment for the first equipment.
Based on the scheme, whether the first equipment supports the installation of the network probe or not can be determined according to the equipment information of the first equipment. In the case where the first device supports installation of the network probe, the network probe is installed for the first device. Therefore, the network probe installation failure can be avoided, and the network probe installation efficiency is improved.
In some embodiments, if the first device does not support installation of a network probe, then no network probe is installed for the first device. Optionally, if the first device does not support the installation of the network probe, the state of the first address to be detected in the detection information is updated (if the network probe cannot be installed).
In some embodiments, before acquiring the first address to be detected, a preset message from a network probe installed at a preset network address (corresponding network device) may be received, where the preset message includes a digital check area, and the digital check area is used for checking whether the preset message is legal.
For example, the digital verification area may be a Message for verifying the correctness of the entire Message (e.g., a preset Message), and the entire Message may be encrypted by a preset algorithm (e.g., message-digest algorithm (MD 5)).
In a possible implementation manner, if the preset message is legal, the first address to be detected is acquired. And if the preset message is illegal, the address to be detected is not acquired.
It can be understood that, checking whether the preset message is legal or not can improve the safety of the device.
Optionally, the preset message may further include: request information, response information, text area. Wherein the request information includes: message sequence number, message type, message length, authentication information. The response message comprises a reply message serial number and a reply message type. The text area is the text of the message. The receiving device may execute the corresponding instructions based on the message content.
The foregoing describes the solution provided by embodiments of the present application primarily from the perspective of a computer device. It will be appreciated that the computer device, in order to implement the above-described functions, comprises corresponding hardware structures and/or software modules for performing the respective functions. Those skilled in the art will readily appreciate that the steps of the method for deploying the network probes of the examples described in connection with the embodiments disclosed herein may be implemented in hardware or a combination of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The embodiment of the application further provides a deployment device of the network probe. The deployment device of the network probe may be a computer device, or may be a CPU in the computer device, or may be a processing module in the computer device for determining deployment of the network probe for deployment of the network probe, or may be a client in the computer device for deployment of the network probe.
In the embodiment of the present application, the functional modules or functional units may be divided according to the method example for deployment of the network probe, for example, each functional module or functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module may be implemented in a form of hardware, or may be implemented in a form of a software functional module or a functional unit. The division of the modules or units in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Fig. 4 is a schematic structural diagram of a deployment apparatus of a network probe according to an embodiment of the present disclosure. The deployment apparatus of the network probe is used for executing the deployment method of the network probe shown in fig. 2A or fig. 3. The deployment apparatus of the network probe may include an acquisition unit 401 and a processing unit 402.
The obtaining unit 401 is configured to obtain a first address to be detected, where the first address to be detected is a network address communicated with a preset network address, and the preset network address is a network address corresponding to a network device to which a network probe has been installed. A processing unit 402, configured to install a network probe for a first device if the first address to be detected does not exist in the detection information, where the first device is a network device corresponding to the first address to be detected, and the detection information includes a network address that has been detected. The obtaining unit 401 is further configured to obtain a second address to be detected, where the second address to be detected is a network address communicated with the first address to be detected. The processing unit 402 is further configured to install a network probe for the network device corresponding to the second address to be detected if the second address to be detected does not exist in the detection information.
In one possible design, the processing unit 402 is further configured to determine a first network addressing library, where the first network addressing library includes: the network address same as the network segment of the preset network address and/or the network address adjacent to the network segment of the preset network address. The first address to be detected is any address communicated with the preset network address in the first network addressing library.
In one possible design, the processing unit 402 is further configured to determine a second network addressing library, where the second network addressing library includes: the network address same as the network segment of the first address to be detected and/or the network address adjacent to the network segment of the first address to be detected. And the second address to be detected is any address communicated with the first address to be detected in the second network addressing library.
In a possible design, the processing unit 402 is further configured to obtain the device information of the first device if the first address to be detected does not exist in the detection information. The processing unit 402 is further configured to determine whether the first device supports installing the network probe according to the device information of the first device. The processing unit 402 is further configured to install a network probe for the first device if the first device supports installing the network probe.
In a possible design, the obtaining unit 401 is further configured to obtain a third address to be detected if the first address to be detected exists in the detection information, where the third address to be detected is a network address in the first network addressing library except the first address to be detected.
Fig. 5 shows still another possible structure of the network probe deployment apparatus involved in the above embodiments. The deployment device of the network probe comprises: a processor 501 and a communication interface 502. The processor 501 is used to control and manage the actions of the device, for example, to perform various steps in the method flows shown in the above-described method embodiments, and/or to perform other processes of the techniques described herein. The communication interface 502 is used to support communication of the deployment device of the network probe with other network entities. The deployment device of the network probe may further comprise a memory 503 and a bus 504, the memory 503 being used for storing program codes and data of the device.
The processor 501 may implement or execute various exemplary logical blocks, units and circuits described in connection with the present disclosure. The processor may be a central processing unit, general purpose processor, digital signal processor, application specific integrated circuit, field programmable gate array or other programmable logic device, transistor logic device, hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, units, and circuits described in connection with the present disclosure. A processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, a combination of a DSP and a microprocessor, and the like.
Memory 503 may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, a hard disk, or a solid state disk; the memory may also comprise a combination of memories of the kind described above.
The bus 504 may be an Extended Industry Standard Architecture (EISA) bus or the like. The bus 504 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 5, but this is not intended to represent only one bus or type of bus.
In practical implementation, the obtaining unit 401 may be implemented by the communication interface 502 shown in fig. 5, and the processing unit 402 may be implemented by the processor 501 shown in fig. 5 calling the program code in the memory 503. For a specific implementation process, reference may be made to the description of the deployment method portion of the network probe shown in fig. 2A or fig. 3, which is not described herein again.
Through the description of the foregoing embodiments, it will be clear to those skilled in the art that, for convenience and simplicity of description, only the division of the functional modules is illustrated, and in practical applications, the above function distribution may be completed by different functional modules as needed, that is, the internal structure of the apparatus may be divided into different functional modules to complete all or part of the above described functions. For the specific working processes of the system, the apparatus and the unit described above, reference may be made to the corresponding processes in the foregoing method embodiments, and details are not described here again.
The embodiments of the present application provide a computer program product containing instructions, which when run on a computer, causes the computer to execute the deployment method of the network probe in the above method embodiments.
The embodiment of the present application further provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are executed on a computer, the computer is caused to execute the method for deploying a network probe in the method flow shown in the foregoing method embodiment.
The computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read-Only Memory (ROM), an Erasable Programmable Read-Only Memory (EPROM), a register, a hard disk, an optical fiber, a portable Compact Disc Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, any suitable combination of the above, or any other form of computer readable storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an Application Specific Integrated Circuit (ASIC). In embodiments of the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
Since the deployment apparatus, the computer-readable storage medium, and the computer program product of the network probe in the embodiments of the present invention may be applied to the method described above, reference may also be made to the method embodiments for obtaining technical effects, and details of the embodiments of the present invention are not described herein again.
The above is only an embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (6)

1. A method for deploying a network probe, the method comprising:
determining a first network addressing library, the first network addressing library comprising: the network address is the same as the network segment of the preset network address, and/or the network address adjacent to the network segment of the preset network address;
acquiring a first address to be detected, wherein the first address to be detected is any one of network addresses which are communicated with the preset network address in the first network addressing library, and the preset network address is a network address corresponding to network equipment provided with a network probe;
if the first address to be detected does not exist in the detection information, installing a network probe for first equipment, wherein the first equipment is network equipment corresponding to the first address to be detected, and the detection information comprises the network address which is detected;
determining a second network addressing library, the second network addressing library comprising: the network address is the same as the network segment of the first address to be detected, and/or the network address adjacent to the network segment of the first address to be detected;
acquiring a second address to be detected, wherein the second address to be detected is any address which is communicated with the first address to be detected in the second network addressing library;
if the second address to be detected does not exist in the detection information, installing a network probe for the network equipment corresponding to the second address to be detected;
if a second address to be detected exists in the detection information, acquiring a fourth address to be detected, wherein the fourth address to be detected is a network address in the second network addressing library except the second address to be detected;
if the fourth address to be detected does not exist in the detection information, installing a network probe for the network equipment corresponding to the fourth address to be detected;
if the first address to be detected exists in the detection information, acquiring a third address to be detected, wherein the third address to be detected is a network address except the first address to be detected in the first network addressing library;
and if the third address to be detected does not exist in the detection information, installing a network probe for the network equipment corresponding to the third address to be detected.
2. The method of claim 1, wherein installing a network probe for a first device if the first address to be detected does not exist in the detection information comprises:
if the first address to be detected does not exist in the detection information, acquiring equipment information of the first equipment;
determining whether the first equipment supports installation of a network probe according to the equipment information of the first equipment;
and if the first equipment supports the installation of the network probe, installing the network probe for the first equipment.
3. An apparatus for deploying a network probe, the apparatus comprising:
a processing unit further configured to determine a first network addressing library, the first network addressing library comprising: the network address is the same as the network segment of the preset network address, and/or the network address adjacent to the network segment of the preset network address;
the acquisition unit is used for acquiring a first address to be detected, wherein the first address to be detected is any one of the network addresses which are communicated with the preset network address in the first network addressing library, and the preset network address is a network address corresponding to the network equipment provided with the network probe;
the processing unit is configured to install a network probe for a first device if the first address to be detected does not exist in detection information, where the first device is a network device corresponding to the first address to be detected, and the detection information includes a network address for which detection has been completed;
the processing unit is further configured to determine a second network addressing library, the second network addressing library comprising: the network address is the same as the network segment of the first address to be detected, and/or the network address adjacent to the network segment of the first address to be detected;
the acquiring unit is further configured to acquire a second address to be detected, where the second address to be detected is any address in the second network addressing library and communicated with the first address to be detected;
the processing unit is further configured to install a network probe for the network device corresponding to the second address to be detected if the second address to be detected does not exist in the detection information;
the processing unit is further configured to acquire a fourth address to be detected if a second address to be detected exists in the detection information, where the fourth address to be detected is a network address in the second network addressing library except the second address to be detected;
the processing unit is further configured to install a network probe for the network device corresponding to the fourth address to be detected if the fourth address to be detected does not exist in the detection information;
the processing unit is further configured to acquire a third address to be detected if the first address to be detected exists in the detection information, where the third address to be detected is a network address in the first network addressing library except the first address to be detected;
the processing unit is further configured to install a network probe for the network device corresponding to the third address to be detected if the third address to be detected does not exist in the detection information.
4. The apparatus of claim 3,
the processing unit is further configured to obtain device information of the first device if the first address to be detected does not exist in the detection information;
the processing unit is further configured to determine whether the first device supports installation of a network probe according to the device information of the first device;
the processing unit is further configured to install a network probe for the first device if the first device supports installation of the network probe.
5. A deployment apparatus for a network probe, comprising: a processor and a memory; the processor and the memory are coupled; the memory is configured to store one or more programs, the one or more programs including computer-executable instructions, which, when executed by the deployment apparatus of the network probe, are executed by the processor to cause the deployment apparatus of the network probe to perform the method of any of claims 1-2.
6. A computer-readable storage medium having instructions stored therein, wherein when the instructions are executed by a computer, the computer performs the method of any one of claims 1-2.
CN202111211684.6A 2021-10-18 2021-10-18 Network probe deployment method, device and storage medium Active CN114024879B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111211684.6A CN114024879B (en) 2021-10-18 2021-10-18 Network probe deployment method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111211684.6A CN114024879B (en) 2021-10-18 2021-10-18 Network probe deployment method, device and storage medium

Publications (2)

Publication Number Publication Date
CN114024879A CN114024879A (en) 2022-02-08
CN114024879B true CN114024879B (en) 2023-04-14

Family

ID=80056712

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111211684.6A Active CN114024879B (en) 2021-10-18 2021-10-18 Network probe deployment method, device and storage medium

Country Status (1)

Country Link
CN (1) CN114024879B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114781567B (en) * 2022-06-21 2022-09-16 深圳市信润富联数字科技有限公司 Detection equipment installation method and device, electronic equipment and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110493758A (en) * 2018-05-14 2019-11-22 阿里巴巴集团控股有限公司 Bluetooth Mesh network and its match network method, equipment and storage medium
CN110572280A (en) * 2019-08-22 2019-12-13 北京新宇航星科技有限公司 network monitoring method and system
CN112948013A (en) * 2019-12-24 2021-06-11 深圳市明源云科技有限公司 Application probe configuration method and device, terminal equipment and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120275311A1 (en) * 2011-04-29 2012-11-01 Tektronix, Inc. Automatic Network Topology Detection and Modeling
CN102437938B (en) * 2012-01-09 2013-11-13 北京邮电大学 Large-scale network monitoring oriented virtual deployment system and method
CN104519010B (en) * 2013-09-27 2018-01-16 中国电信股份有限公司 The dispositions method and device of network security probe
US11128525B2 (en) * 2017-09-29 2021-09-21 Comcast Cable Communications, Llc Adaptive capacity management of connections associated with a service
CN112994972B (en) * 2021-02-02 2022-05-20 成都卓源网络科技有限公司 Distributed probe monitoring platform
CN113157347A (en) * 2021-05-18 2021-07-23 北京博睿宏远数据科技股份有限公司 Automatic probe deployment method, electronic device and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110493758A (en) * 2018-05-14 2019-11-22 阿里巴巴集团控股有限公司 Bluetooth Mesh network and its match network method, equipment and storage medium
CN110572280A (en) * 2019-08-22 2019-12-13 北京新宇航星科技有限公司 network monitoring method and system
CN112948013A (en) * 2019-12-24 2021-06-11 深圳市明源云科技有限公司 Application probe configuration method and device, terminal equipment and storage medium

Also Published As

Publication number Publication date
CN114024879A (en) 2022-02-08

Similar Documents

Publication Publication Date Title
CN109558282B (en) PCIE link detection method, system, electronic equipment and storage medium
EP2973147B1 (en) Policy-based secure web boot
KR102024694B1 (en) Decentralized service platform using multiple service nodes based on block chain
CN108234630B (en) Data reading method and device based on distributed consistency protocol
US20200264863A1 (en) Hot update method, operating system, terminal device, and storage medium
CN109656630B (en) Configuration space access method, device, framework and storage medium
CN105245550A (en) Domain name hijacking judgment method and device
CN109491889B (en) Method and device for automatic test in NFV
WO2016127600A1 (en) Exception handling method and apparatus
CN104217139A (en) Processing system
CN114024879B (en) Network probe deployment method, device and storage medium
CN113946854B (en) File access control method and device and computer readable storage medium
CN109818972B (en) Information security management method and device for industrial control system and electronic equipment
CN112925653B (en) Virtualization cluster expansion method, related equipment and computer readable storage medium
US9836307B2 (en) Firmware block dispatch based on fusing
CN108541000B (en) Method, medium and device for detecting network connection
CN106708569B (en) Hot loading method and device for VOBC configuration file in over-the-line train
CN115051824B (en) Vertical override detection method, system, equipment and storage medium
CN106330595B (en) Heartbeat detection method and device for distributed platform
CN114666103B (en) Trusted measurement device, equipment, system and trusted identity authentication method
US20200012820A1 (en) Information processing device, mobile object, information processing method, and computer program product
US20240046720A1 (en) Vehicle-mounted information processing apparatus and vehicle-mounted information processing method
CN114443147B (en) Trusted hardware technology-based super monitoring type unmanned aerial vehicle trusted detection method
CN115454896A (en) SMBUS-based SSD MCTP control message verification method and device, computer equipment and storage medium
CN109582454A (en) Permission releasing control method, device and equipment in a kind of distributed storage cluster

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