CN113973327A - Method and device for debugging and testing physical link of domain area network and electronic equipment - Google Patents

Method and device for debugging and testing physical link of domain area network and electronic equipment Download PDF

Info

Publication number
CN113973327A
CN113973327A CN202010710093.2A CN202010710093A CN113973327A CN 113973327 A CN113973327 A CN 113973327A CN 202010710093 A CN202010710093 A CN 202010710093A CN 113973327 A CN113973327 A CN 113973327A
Authority
CN
China
Prior art keywords
debugging
link
port number
equipment
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.)
Pending
Application number
CN202010710093.2A
Other languages
Chinese (zh)
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 Mobile Communications Group Co Ltd
China Mobile Group Guangdong Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Guangdong 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 Mobile Communications Group Co Ltd, China Mobile Group Guangdong Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202010710093.2A priority Critical patent/CN113973327A/en
Publication of CN113973327A publication Critical patent/CN113973327A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Landscapes

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

Abstract

The embodiment of the invention provides a method, a device and electronic equipment for debugging and testing a physical link of a domain area network, wherein the method comprises the following steps: obtaining link information of a physical link to be measured, wherein the link information comprises: an identification and a first port number of the first device, and an identification and a second port number of the second device; establishing a virtual link between the first device and the second device according to the first port number and the second port number; and instructing the first equipment to initiate a preset debugging process based on the virtual link to the second equipment, and acquiring debugging information of the first equipment and the second equipment. By the embodiment of the invention, the link debugging and testing work can be efficiently and safely carried out.

Description

Method and device for debugging and testing physical link of domain area network and electronic equipment
Technical Field
The present invention relates to the field of mobile communications technologies, and in particular, to a method and an apparatus for debugging a physical link of a domain network, and an electronic device.
Background
Metropolitan Area Networks (MANs) are computer communication networks established in a city domain, MAN for short, and belong to broadband local Area networks. Because of the local area network technology with active switching elements, the transmission delay in the network is small, the transmission medium of the local area network technology mainly adopts an optical cable, and the transmission rate is over 100 Mbit/s.
An important use of MANs is as a backbone network, by which hosts, databases, and LANs, etc. located at different locations within the same city, are interconnected, which is similar to the role of WANs, but with a large difference in implementation and performance. In the development of link capacity expansion work, after an engineering design scheme is determined, after the allocation of IP addresses and port resources and the like is completed, and engineering personnel complete circuit jumper, the access of a physical link needs to be detected.
The link debugging and testing method in the prior art is passive, particularly needs equipment personnel at two ends to negotiate time, and needs continuous information feedback among operation and maintenance personnel in the debugging and testing process, and meanwhile, because the equipment relates to different manufacturers, the operation and maintenance personnel in different manufacturer roles need to be appointed or the link debugging and testing configuration capabilities of the equipment of different manufacturers need to be mastered during the debugging and testing, and meanwhile, the possibility of IP collision also exists in the process of configuring IP addresses by manual operation, so that the link debugging and testing working efficiency and the safety are lower.
Disclosure of Invention
The embodiment of the invention aims to provide a method and a device for debugging and testing a physical link of a domain network and electronic equipment, so as to solve the problem of low link debugging and testing efficiency and safety.
In order to solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, an embodiment of the present invention provides a method for debugging a physical link of a domain network, including:
obtaining link information of a physical link to be measured, wherein the link information comprises: an identification and a first port number of the first device, and an identification and a second port number of the second device;
establishing a virtual link between the first device and the second device according to the first port number and the second port number;
and instructing the first equipment to initiate a preset debugging process based on the virtual link to the second equipment, and acquiring debugging information of the first equipment and the second equipment.
In a second aspect, an embodiment of the present invention provides a device for debugging a physical link of a domain network, including:
an information obtaining module, configured to obtain link information of a physical link to be measured, where the link information includes: an identification and a first port number of the first device, and an identification and a second port number of the second device;
a link establishing module, configured to establish a virtual link between the first device and the second device according to the first port number and the second port number;
and the link debugging module is used for indicating the first equipment to initiate a preset debugging process based on the virtual link to the second equipment and acquiring debugging information of the first equipment and the second equipment.
In a third aspect, an embodiment of the present invention provides an electronic device, including a processor, a communication interface, a memory, and a communication bus; the processor, the communication interface and the memory complete mutual communication through a bus; the memory is used for storing a computer program; the processor is configured to execute the program stored in the memory, and implement the steps of the method for debugging a physical link of a domain area network according to the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method for commissioning a physical link of a domain area network according to the first aspect are implemented.
As can be seen from the above technical solutions provided by the embodiments of the present invention, the embodiments of the present invention obtain link information of a physical link to be measured, where the link information includes: an identification and a first port number of the first device, and an identification and a second port number of the second device; establishing a virtual link between the first device and the second device according to the first port number and the second port number; and instructing the first equipment to initiate a preset debugging process based on the virtual link to the second equipment, and acquiring debugging information of the first equipment and the second equipment. By the embodiment of the invention, the link debugging and testing work can be efficiently and safely carried out.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a first flowchart of a method for debugging a physical link of a domain area network according to an embodiment of the present invention;
fig. 2 is a second flowchart of a method for tuning and testing a physical link of a domain area network according to an embodiment of the present invention;
fig. 3 is a third flowchart illustrating a method for debugging a physical link of a domain area network according to an embodiment of the present invention;
fig. 4 is a schematic diagram illustrating a module composition of a physical link commissioning apparatus of a domain area network according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a method and a device for debugging and testing a physical link of a domain area network and electronic equipment.
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, an execution main body of the method may be a debugging module pre-deployed in a server, where the server may be an independent server or a server cluster composed of multiple servers, and the server may be a server capable of performing network operation processing, such as a server configured by a network resource. The method may specifically comprise the steps of:
step S01, obtaining link information of the physical link to be measured, where the link information includes: an identification and a first port number of the first device, and an identification and a second port number of the second device.
The debugging module can be a pre-compiled script program and is deployed in a network server of the domain area network according to actual needs.
And when operation and maintenance personnel need to adjust any physical link in the domain network, sending the link information of the physical link to be adjusted and tested to the adjusting and testing module. The link information at least comprises the identification and the first port number of the first device positioned at the two ends of the physical link to be measured, and the identification and the second port number of the second device.
Step S02, establishing a virtual link between the first device and the second device according to the first port number and the second port number.
After analyzing the received link information, the debugging module can log in the corresponding first equipment and second equipment according to the obtained identification of the first equipment and the identification of the second equipment, and establish a virtual link corresponding to the physical link to be debugged between the first equipment and the second equipment according to the first port number and the second port number respectively.
And step S03, instructing the first device to initiate a preset debugging process based on the virtual link to a second device, and acquiring debugging information of the first device and the second device.
Based on the established virtual link, a preset debugging process is executed between the first device and the second device, and specifically, the debugging module may instruct the first device to initiate the debugging process to the second device. The debugging process may specifically be that the first device initiates a virtual link-based ping test to the second device.
Then, the debugging information generated in the debugging process is acquired from the first device and the second device, respectively. Specifically, the debugging module may instruct the first device and the second device to execute a port information checking command, and send log information of the debugging log to the debugging module. The debugging module obtains the debugging information according to the analysis of the received debugging log information, and the debugging information can comprise: port status, optical power, error code information, ping test results, etc.
The debugging module obtains the path condition of the physical link to be debugged, namely the path condition of the physical link between the first port of the first device and the second port of the second device, according to the obtained debugging information.
As can be seen from the above technical solutions provided by the embodiments of the present invention, the embodiments of the present invention obtain link information of a physical link to be measured, where the link information includes: an identification and a first port number of the first device, and an identification and a second port number of the second device; establishing a virtual link between the first device and the second device according to the first port number and the second port number; and instructing the first equipment to initiate a preset debugging process based on the virtual link to the second equipment, and acquiring debugging information of the first equipment and the second equipment. By the embodiment of the invention, the link debugging and testing work can be efficiently and safely carried out.
Further, as shown in fig. 2, the specific processing manner of the step S02 can be varied, and an alternative processing manner is provided below, which can be specifically referred to the following steps S021-S022.
Step S021, respectively establishing a first VPN instance and a second VPN instance in the first device and the second device according to the first port number and the second port number, wherein the first VPN instance and the second VPN instance are used for establishing the virtual link;
step S022, configuring a first IP address and a second IP address for the first VPN instance and the second VPN instance, respectively.
The virtual link established between the first device and the second device may be a VPN link. And the debugging and testing module respectively indicates the first equipment and the second equipment to establish a first VPN instance and a second VPN instance. Wherein the instance name of the first VPN instance of the first device may be a first port number and the instance name of the second VPN instance of the second device may be a second port number.
Meanwhile, the debugging module sets preset configuration information including IP addresses, masks and the like in the first VPN instance and the second VPN instance. Wherein a first IP address is configured for the first VPN instance, for example: 10.1.1.1, configuring a second IP address for the second VPN instance, such as: 10.1.1.2, the mask is set to 24 bits. The IP addresses and the masks may be set according to actual needs, and are not specifically limited herein.
After the virtual link is established, the debugging module respectively indicates the first equipment and the second equipment to execute a port opening command so as to realize the communication of the virtual link.
Therefore, when the first device is instructed to initiate ping based on the VPN example to the second device, the source IP of the ping is the first IP address, and the target IP is the second IP address.
As can be seen from the above technical solutions provided by the embodiments of the present invention, the virtual link is established by newly establishing VPN instances and configuring corresponding IP addresses in the first device and the second device, so as to execute the subsequent testing process, thereby implementing efficient and safe link testing work.
Further, as shown in fig. 3, the specific processing manner of step S01 may be varied, and an alternative processing manner is provided below, which may be specifically referred to as step S011 below.
Step S011, receiving a debugging request sent by a user terminal, wherein the debugging request comprises: and link information of the physical link to be measured and a corresponding measurement instruction are obtained.
In order to facilitate the operation and maintenance personnel to perform link debugging and testing at any time according to actual needs, the operation and maintenance personnel can send a debugging and testing request through a user terminal which establishes communication with a debugging and testing module, and the debugging and testing request comprises link information of at least one physical link to be debugged and a corresponding debugging and testing end instruction.
The link information in the tuning and testing request may be specifically shown in the following table:
first device First port number Second device Second port number
A A1 B B1
A A2 B B2
As shown in the above table, the debug request includes two physical links to be tested, which are respectively: device a's a1 port to device B's B1 port, and device a's a2 port to device B's B2 port.
After receiving the tuning request, the tuning module indicates the device a to newly create two VPN instances with instance names a1 and a2, and indicates the device B to newly create two VPN instances with instance names B1 and B2, respectively. And the newly-built VPN instance of the device A is configured with a first IP address, and the newly-built VPN instance of the device B is configured with a second IP address.
Correspondingly, after the debugging module finishes the debugging process and acquires the first device, the second device and the debugging information, the debugging information can be sent to the user terminal for displaying the debugging result to the operation and maintenance personnel. Therefore, operation and maintenance personnel can complete the debugging and the testing of any physical link only by carrying out simple information interaction between the user terminal and the debugging and testing module, and the efficiency and the safety of the capacity expansion work of the metropolitan area network are greatly improved.
Further, the tuning instructions include, but are not limited to: a debugging start instruction, a debugging repeat instruction and a debugging end instruction.
The debugging instruction in the debugging request received by the debugging module may include a debugging start instruction, a debugging repeat instruction and a debugging end instruction.
If the debugging request contains a debugging start instruction, a virtual link corresponding to a physical link to be debugged in the debugging request needs to be established first, and then a debugging process is executed based on the virtual link;
if the debugging request contains a debugging repeated instruction, the virtual link corresponding to the physical link to be debugged in the debugging request is established, and the debugging process is directly executed again based on the established virtual link without newly establishing the virtual link;
and if the debugging request contains a debugging ending instruction, interrupting the virtual link corresponding to the physical link to be debugged in the debugging request, and deleting the configuration information.
Further, after the step S011, the method further includes:
and step S012, allocating processes to the physical links to be tested.
If the debugging module receives a plurality of debugging requests or a plurality of physical links to be debugged exist in the same debugging request, a unique process ID needs to be allocated to each physical link to be debugged, so that debugging tasks can be carried out in parallel among the processes.
Further, after the step S03, the method further includes:
and step S04, interrupting the virtual link between the first device and the second device and deleting the configuration information.
In the above embodiment, the debugging module may interrupt the virtual link and delete the configuration information according to the debugging end instruction in the received debugging request.
The debugging module may also be configured to actively interrupt the virtual link between the first device and the second device and delete the configuration information after the debugging process between the first device and the second device is executed and the debugging information of the first device and the second device is acquired. Equivalently, the first device and the second device are instructed to delete the corresponding first VPN instance and second VPN instance.
As can be seen from the above technical solutions provided by the embodiments of the present invention, the embodiments of the present invention obtain link information of a physical link to be measured, where the link information includes: an identification and a first port number of the first device, and an identification and a second port number of the second device; establishing a virtual link between the first device and the second device according to the first port number and the second port number; and instructing the first equipment to initiate a preset debugging process based on the virtual link to the second equipment, and acquiring debugging information of the first equipment and the second equipment. By the embodiment of the invention, the link debugging and testing work can be efficiently and safely carried out.
Corresponding to the method for debugging and testing physical links of a domain area network provided in the foregoing embodiment, based on the same technical concept, an embodiment of the present invention further provides a device for debugging and testing physical links of a domain area network, fig. 4 is a schematic diagram of modules of the device for debugging and testing physical links of a domain area network provided in the embodiment of the present invention, the device for debugging and testing physical links of a domain area network is used for executing the method for debugging and testing physical links of a domain area network described in fig. 1 to fig. 3, as shown in fig. 4, the device for debugging and testing physical links of a domain area network includes: an information acquisition module 401, a link establishment module 402 and a link commissioning module 403.
The information obtaining module 401 is configured to obtain link information of a physical link to be measured, where the link information includes: an identification and a first port number of the first device, and an identification and a second port number of the second device; the link establishing module 402 is configured to establish a virtual link between the first device and the second device according to the first port number and the second port number; the link tuning module 403 is configured to instruct the first device to initiate a preset tuning process based on the virtual link to a second device, and obtain tuning information of the first device and the second device.
As can be seen from the above technical solutions provided by the embodiments of the present invention, the embodiments of the present invention obtain link information of a physical link to be measured, where the link information includes: an identification and a first port number of the first device, and an identification and a second port number of the second device; establishing a virtual link between the first device and the second device according to the first port number and the second port number; and instructing the first equipment to initiate a preset debugging process based on the virtual link to the second equipment, and acquiring debugging information of the first equipment and the second equipment. By the embodiment of the invention, the link debugging and testing work can be efficiently and safely carried out.
Further, the link establishing module includes: an instance establishing unit and an instance configuring unit.
The instance establishing unit is configured to respectively establish a first VPN instance and a second VPN instance in the first device and the second device according to the first port number and the second port number, and is configured to establish the virtual link; the example configuration unit is configured to configure a first IP address and a second IP address for the first VPN example and the second VPN example, respectively.
As can be seen from the above technical solutions provided by the embodiments of the present invention, the virtual link is established by newly establishing VPN instances and configuring corresponding IP addresses in the first device and the second device, so as to execute the subsequent testing process, thereby implementing efficient and safe link testing work.
Further, the information obtaining module is specifically configured to receive a debugging request sent by a user terminal, where the debugging request includes: and link information of the physical link to be measured and a corresponding measurement instruction are obtained.
Further, the tuning instructions include, but are not limited to: a debugging start instruction, a debugging repeat instruction and a debugging end instruction.
Further, the apparatus further comprises: and the process distribution unit is used for distributing processes for the physical links to be tested.
Further, the apparatus further comprises: and the link clearing unit is used for interrupting the virtual link between the first equipment and the second equipment and deleting the configuration information.
As can be seen from the above technical solutions provided by the embodiments of the present invention, the embodiments of the present invention obtain link information of a physical link to be measured, where the link information includes: an identification and a first port number of the first device, and an identification and a second port number of the second device; establishing a virtual link between the first device and the second device according to the first port number and the second port number; and instructing the first equipment to initiate a preset debugging process based on the virtual link to the second equipment, and acquiring debugging information of the first equipment and the second equipment. By the embodiment of the invention, the link debugging and testing work can be efficiently and safely carried out.
The physical link debugging device of the domain area network provided by the embodiment of the invention can realize each process in the embodiment corresponding to the physical link debugging method of the domain area network, and is not repeated here for avoiding repetition.
It should be noted that the physical link tuning and testing apparatus of the domain area network provided in the embodiment of the present invention and the physical link tuning and testing method of the domain area network provided in the embodiment of the present invention are based on the same inventive concept, and therefore specific implementation of the embodiment may refer to implementation of the physical link tuning and testing method of the domain area network, and repeated details are not described herein.
Corresponding to the method for debugging a physical link of a domain area network provided in the foregoing embodiment, based on the same technical concept, an embodiment of the present invention further provides an electronic device, where the electronic device is configured to execute the method for debugging a physical link of a domain area network, and fig. 5 is a schematic structural diagram of an electronic device implementing each embodiment of the present invention, as shown in fig. 5. Electronic devices may vary widely in configuration or performance and may include one or more processors 501 and memory 502, where the memory 502 may have one or more stored applications or data stored therein. Memory 502 may be, among other things, transient or persistent storage. The application program stored in memory 502 may include one or more modules (not shown), each of which may include a series of computer-executable instructions for the electronic device. Still further, the processor 501 may be arranged in communication with the memory 502 to execute a series of computer-executable instructions in the memory 502 on the electronic device. The electronic device may also include one or more power supplies 503, one or more wired or wireless network interfaces 504, one or more input-output interfaces 505, one or more keyboards 506.
Specifically, in this embodiment, the electronic device includes a processor, a communication interface, a memory, and a communication bus; the processor, the communication interface and the memory complete mutual communication through a bus; the memory is used for storing a computer program; the processor is used for executing the program stored in the memory and realizing the following method steps:
obtaining link information of a physical link to be measured, wherein the link information comprises: an identification and a first port number of the first device, and an identification and a second port number of the second device;
establishing a virtual link between the first device and the second device according to the first port number and the second port number;
and instructing the first equipment to initiate a preset debugging process based on the virtual link to the second equipment, and acquiring debugging information of the first equipment and the second equipment.
An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, and when executed by a processor, the computer program implements the following method steps:
obtaining link information of a physical link to be measured, wherein the link information comprises: an identification and a first port number of the first device, and an identification and a second port number of the second device;
establishing a virtual link between the first device and the second device according to the first port number and the second port number;
and instructing the first equipment to initiate a preset debugging process based on the virtual link to the second equipment, and acquiring debugging information of the first equipment and the second equipment.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, an electronic device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, apparatus or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A method for debugging a physical link of a domain network, the method comprising:
obtaining link information of a physical link to be measured, wherein the link information comprises: an identification and a first port number of the first device, and an identification and a second port number of the second device;
establishing a virtual link between the first device and the second device according to the first port number and the second port number;
and instructing the first equipment to initiate a preset debugging process based on the virtual link to the second equipment, and acquiring debugging information of the first equipment and the second equipment.
2. The method according to claim 1, wherein the establishing a virtual link between the first device and the second device according to the first port number and the second port number comprises:
according to the first port number and the second port number, a first VPN instance and a second VPN instance are newly built in the first equipment and the second equipment respectively and are used for building the virtual link;
and configuring a first IP address and a second IP address for the first VPN instance and the second VPN instance respectively.
3. The method for debugging physical links of a domain area network according to claim 1 or 2, wherein obtaining link information of a physical link to be debugged comprises:
receiving a debugging request sent by a user terminal, wherein the debugging request comprises: and link information of the physical link to be measured and a corresponding measurement instruction are obtained.
4. The method for tuning physical links of a domain area network according to claim 3, wherein the tuning instructions include but are not limited to: a debugging start instruction, a debugging repeat instruction and a debugging end instruction.
5. The method for tuning physical links of a domain area network according to claim 4, wherein after the step of receiving the tuning request sent by the user terminal, the method further comprises:
and allocating processes for each physical link to be measured.
6. The method for debugging physical links of a domain area network according to claim 5, wherein after obtaining the debugging information of the first device and the second device, the method further comprises:
and interrupting the virtual link between the first equipment and the second equipment and deleting the configuration information.
7. A device for commissioning a physical link of a domain area network, the device comprising:
an information obtaining module, configured to obtain link information of a physical link to be measured, where the link information includes: an identification and a first port number of the first device, and an identification and a second port number of the second device;
a link establishing module, configured to establish a virtual link between the first device and the second device according to the first port number and the second port number;
and the link debugging module is used for indicating the first equipment to initiate a preset debugging process based on the virtual link to the second equipment and acquiring debugging information of the first equipment and the second equipment.
8. The apparatus for commissioning physical links of a domain area network of claim 7, wherein said link establishing module comprises:
an instance establishing unit, configured to respectively establish a first VPN instance and a second VPN instance in the first device and the second device according to the first port number and the second port number, and to establish the virtual link;
an instance configuration unit, configured to configure a first IP address and a second IP address for the first VPN instance and the second VPN instance, respectively.
9. An electronic device comprising a processor, a communication interface, a memory, and a communication bus; the processor, the communication interface and the memory complete mutual communication through a bus; the memory is used for storing a computer program; the processor is used for executing the program stored in the memory and realizing the steps of the physical link debugging method of the domain area network according to any one of claims 1 to 6.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the method steps of a physical link commissioning method of a domain area network according to any one of claims 1 to 6.
CN202010710093.2A 2020-07-22 2020-07-22 Method and device for debugging and testing physical link of domain area network and electronic equipment Pending CN113973327A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010710093.2A CN113973327A (en) 2020-07-22 2020-07-22 Method and device for debugging and testing physical link of domain area network and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010710093.2A CN113973327A (en) 2020-07-22 2020-07-22 Method and device for debugging and testing physical link of domain area network and electronic equipment

Publications (1)

Publication Number Publication Date
CN113973327A true CN113973327A (en) 2022-01-25

Family

ID=79584896

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010710093.2A Pending CN113973327A (en) 2020-07-22 2020-07-22 Method and device for debugging and testing physical link of domain area network and electronic equipment

Country Status (1)

Country Link
CN (1) CN113973327A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115941561A (en) * 2022-09-23 2023-04-07 中盈优创资讯科技有限公司 Method and device for automatically testing link quality based on link correspondence

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101527730A (en) * 2009-05-04 2009-09-09 中国电信股份有限公司 Test method for obtaining load factors of router and system thereof
CN104734931A (en) * 2015-03-31 2015-06-24 华为技术有限公司 Method and device for establishing link between virtual network functions
CN106921473A (en) * 2015-12-28 2017-07-04 华为技术有限公司 A kind of data transmission method and relevant device of track traffic WLAN
CN107566152A (en) * 2017-06-13 2018-01-09 中国银联股份有限公司 Method and device for virtual network link detection
CN110719309A (en) * 2018-07-13 2020-01-21 中兴通讯股份有限公司 Virtual desktop connection method, proxy device, system, equipment and storage medium
CN210274135U (en) * 2019-05-09 2020-04-07 深圳市宏电技术股份有限公司 Remote connection system
CN111294251A (en) * 2018-12-07 2020-06-16 中国移动通信集团辽宁有限公司 Method, device, equipment and medium for detecting link time delay

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101527730A (en) * 2009-05-04 2009-09-09 中国电信股份有限公司 Test method for obtaining load factors of router and system thereof
CN104734931A (en) * 2015-03-31 2015-06-24 华为技术有限公司 Method and device for establishing link between virtual network functions
CN106921473A (en) * 2015-12-28 2017-07-04 华为技术有限公司 A kind of data transmission method and relevant device of track traffic WLAN
CN107566152A (en) * 2017-06-13 2018-01-09 中国银联股份有限公司 Method and device for virtual network link detection
CN110719309A (en) * 2018-07-13 2020-01-21 中兴通讯股份有限公司 Virtual desktop connection method, proxy device, system, equipment and storage medium
CN111294251A (en) * 2018-12-07 2020-06-16 中国移动通信集团辽宁有限公司 Method, device, equipment and medium for detecting link time delay
CN210274135U (en) * 2019-05-09 2020-04-07 深圳市宏电技术股份有限公司 Remote connection system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
钟秀红: "Internet技术及其实现", 暨南大学出版社 , pages: 153 - 157 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115941561A (en) * 2022-09-23 2023-04-07 中盈优创资讯科技有限公司 Method and device for automatically testing link quality based on link correspondence

Similar Documents

Publication Publication Date Title
US10831630B2 (en) Fault analysis method and apparatus based on data center
CN109936480B (en) Network topology discovery method and device, storage medium and electronic equipment
CN112035344A (en) Multi-scenario test method, device, equipment and computer readable storage medium
CN113973327A (en) Method and device for debugging and testing physical link of domain area network and electronic equipment
CN104468201A (en) Automatic deleting method and device for offline network equipment
CN114553752A (en) Network performance testing method and device based on simulation software and computer equipment
CN103995745B (en) A kind of IP hard disks task executing method and IP hard disks
CN108270591B (en) Method for configuring network equipment and related equipment
CN105245379A (en) Method and device for testing network management system through simulating SNMP (simple network management protocol) network element
CN109151868B (en) Cell activation method and related equipment
CN110324202B (en) Method and device for detecting line quality
CN109526032B (en) Method and device for modifying network slice example
CN109886041B (en) Real-time data acquisition method and device
CN109039781B (en) Network equipment fault diagnosis method, execution node, server and system
CN113904871B (en) Access method of network slice, PCF entity, terminal and communication system
CN112866011B (en) Method, device, equipment and medium for determining network topology structure
CN114153668A (en) Automatic testing method and device, electronic equipment and storage medium
CN104426704A (en) Integration network device and service integration method thereof
CN109426559B (en) Command issuing method and device, storage medium and processor
CN113886011A (en) Container group pod deployment configuration method, device, equipment and storage medium
CN107454021B (en) Communication method and device
CN108809916B (en) Service processing method and device
CN106936737B (en) Port mirroring implementation method and device based on network equipment
CN110471719A (en) Operation method and device, storage medium, the electronic device of script file
WO2018173481A1 (en) Service configuration design device and service configuration design method

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