A service deployment method, equipment, and media based on a campus network

By defining the network architecture within the campus network, enabling LLDP link discovery, and simulating terminal verification, the problem of low service deployment efficiency in the campus network was solved, achieving efficient and accurate service configuration and automated display.

CN116319356BActive Publication Date: 2025-10-31INSPUR NETWORK TECH (SHANDONG) CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202310287781.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-20
Publication Date
2025-10-31
Estimated Expiration
2043-03-20

AI Technical Summary

Technical Problem

The deployment of network services in the park is cumbersome and relies on manual configuration, which leads to low efficiency and a high risk of errors. It also requires highly skilled engineers, making it difficult to achieve efficient and accurate service deployment.

Method used

By adopting a service deployment method based on the campus network, the network architecture is determined, network devices are added, LLDP link discovery is enabled, the network topology is displayed, service parameters are obtained for configuration, and service network interoperability is verified through simulated terminals, thereby improving deployment efficiency and accuracy.

Benefits of technology

It has achieved high efficiency and accuracy in the deployment of network services in the park, reduced manual intervention, and improved the automation level and visualization capabilities of service configuration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116319356B_ABST
    Figure CN116319356B_ABST
Patent Text Reader

Abstract

This application discloses a service deployment method, device, and medium based on a campus network. The method includes: determining a network architecture for a preset area network within the campus; the network architecture includes either a Layer 2 network architecture or a Layer 3 network architecture; adding network devices to the network environment based on the network architecture to generate a network topology for the network environment; enabling the link discovery function of the Link Layer Discovery Protocol (LLDP) in the network topology to display the network topology; creating a service network to be deployed based on the network topology; obtaining service parameters uploaded by users; and configuring the network devices carried by the service network according to the service parameters when receiving a service deployment request. This method can improve the efficiency and accuracy of service deployment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, and in particular to a service deployment method, equipment and medium based on a campus network. Background Technology

[0002] In a campus network environment, the network devices required for business deployment mainly include access, aggregation, and core devices. The configurations required for business deployment are distributed on these three types of network devices.

[0003] Currently, the deployment of campus network services is quite cumbersome, requiring engineers to configure access, aggregation, and core network forwarding devices according to pre-drawn network diagrams. This places high demands on network engineers and results in a large workload, numerous processes, a high risk of errors, and inconvenience in debugging, leading to low efficiency and accuracy in deploying campus network services. Summary of the Invention

[0004] This application provides a service deployment method, device, and medium based on a campus network to address the problems of low service deployment efficiency and accuracy in campus networks.

[0005] The embodiments of this application adopt the following technical solutions:

[0006] On one hand, this application provides a service deployment method based on a campus network. The method includes: determining a network architecture for a preset area network within the campus; the network architecture includes either a Layer 2 network architecture or a Layer 3 network architecture; adding network devices to the network environment based on the network architecture to generate a network topology for the network environment; enabling the link discovery function of the Link Layer Discovery Protocol (LLDP) in the network topology to display the network topology; creating a service network to be deployed based on the network topology; obtaining service parameters uploaded by the user; and configuring the network devices carried by the service network according to the service parameters when receiving a service deployment request.

[0007] In one example, after configuring the network devices carried by the service network according to the service parameters, the method further includes: obtaining the service flow displayed by the service network on the network topology; determining whether the service flow has an abnormal display color according to a preset display rule; if so, determining the abnormal network device based on the abnormally displayed service link.

[0008] In one example, determining the abnormal network device based on the abnormally displayed service link specifically includes: if the network architecture is a Layer 2 network architecture, determining the coordinate positions corresponding to the core layer network device and the access layer network device respectively; generating abnormal information of the service network based on the coordinate positions; sending the abnormal position to the user terminal device and receiving feedback information from the user terminal device; and determining the abnormal network device of the service network based on the feedback information.

[0009] In one example, determining abnormal network devices based on abnormally displayed service links specifically includes: if the network architecture is a three-layer network architecture, determining whether there are non-abnormally displayed service links in the service flow; if so, determining the two-layer network devices carried by the non-abnormally displayed service links; the two-layer network devices are core layer network devices and aggregation layer network devices, or aggregation layer network devices and access layer network devices; in the three-layer network architecture, determining the remaining network devices other than the two-layer network devices as abnormal network devices.

[0010] In one example, after configuring the network devices corresponding to the service network according to the service parameters, the method further includes: if the network architecture is a three-layer network architecture, and the service network is carried by a first aggregation network device and a second aggregation network device; performing mutual access verification of the service network through a first simulated terminal and a second simulated terminal.

[0011] In one example, the mutual access verification of the service network through the first simulated terminal and the second simulated terminal specifically includes: assigning a temporary first Layer 3 IP address to the first access network device and assigning a temporary second Layer 3 IP address to the second access network device; connecting the first access network device to the first aggregation network device and the second access network device to the second aggregation network device; enabling the first simulated terminal and the second simulated terminal to ping each other based on the first Layer 3 IP address and the second Layer 3 IP address; determining whether the first simulated terminal and the second simulated terminal can ping each other; if so, determining that the mutual access verification of the service network has passed, thereby confirming the successful deployment of the service network.

[0012] In one example, the method further includes: if the first simulated terminal and the second simulated terminal cannot ping each other, then determining that the mutual access verification of the service network has failed; generating verification failure notification information of the service network, and sending the verification failure notification information to the user terminal device.

[0013] In one example, the method further includes: determining an IP address queue of a network segment of the service network; the IP address queue includes multiple IP addresses of the network segment; and randomly selecting unused IP addresses from the IP queue as first-layer 3 IP addresses and second-layer 3 IP addresses, respectively.

[0014] On the other hand, embodiments of this application provide a service deployment device based on a campus network, including: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to: determine a network architecture for a preset area network within the campus; the network architecture includes one of a Layer 2 network architecture and a Layer 3 network architecture; add network devices to the network environment based on the network architecture to generate a network topology for the network environment; enable the link discovery function of the Link Layer Discovery Protocol (LLDP) in the network topology to display the network topology; create a service network to be deployed based on the network topology; obtain service parameters uploaded by users, and configure services for the network devices carried by the service network according to the service parameters when receiving a service deployment request.

[0015] On the other hand, embodiments of this application provide a non-volatile computer storage medium for service deployment based on a campus network, storing computer-executable instructions. These computer-executable instructions are configured to: determine a network architecture for a preset area network within the campus; the network architecture includes either a Layer 2 network architecture or a Layer 3 network architecture; based on the network architecture, add network devices to the network environment to generate a network topology; in the network topology, enable the link discovery function of the Link Layer Discovery Protocol (LLDP) to display the network topology; based on the network topology, create a service network to be deployed; obtain service parameters uploaded by the user; and, upon receiving a service deployment request, configure the network devices carried by the service network according to the service parameters.

[0016] The above-described technical solutions adopted in the embodiments of this application can achieve the following beneficial effects:

[0017] It can specify the network architecture of a preset area, and can configure services for all network devices in the area with one click based on the service parameters input by the user. By enabling the link discovery function of LLDP in the network environment, it can visually and intuitively display each service flow on the network topology, thereby improving the efficiency and accuracy of campus service deployment. Attached Figure Description

[0018] To more clearly illustrate the technical solution of this application, some embodiments of this application will be described in detail below with reference to the accompanying drawings, in which:

[0019] Figure 1 A flowchart illustrating a service deployment method based on a campus network, provided as an embodiment of this application;

[0020] Figure 2 This is a schematic diagram illustrating the selection of a regional network architecture as provided in an embodiment of this application;

[0021] Figure 3 A network topology diagram of a three-layer network architecture provided in this application embodiment;

[0022] Figure 4 A schematic diagram illustrating a visual business deployment provided in an embodiment of this application;

[0023] Figure 5 A schematic diagram of a business network access verification provided in an embodiment of this application;

[0024] Figure 6 This is a schematic diagram of the structure of a service deployment device based on a campus network, provided as an embodiment of this application. Detailed Implementation

[0025] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0026] Some embodiments of this application will now be described in detail with reference to the accompanying drawings.

[0027] Figure 1 This is a flowchart illustrating a service deployment method based on a campus network, provided in an embodiment of this application. This method can be applied to various business domains, such as internet finance, e-commerce, instant messaging, gaming, and government services. Certain input parameters or intermediate results in this process can be manually adjusted to improve accuracy.

[0028] The analysis method involved in the embodiments of this application can be implemented by a terminal device or a server, and this application does not impose any special limitations on it. For ease of understanding and description, the following embodiments are all described in detail using a server as an example.

[0029] It should be noted that the server can be a single device or a system composed of multiple devices, i.e., a distributed server. This application does not make any specific limitations on this.

[0030] Figure 1 The process may include the following steps:

[0031] S101: Within the park, determine the network architecture for the preset regional network.

[0032] The network architecture includes either a two-layer or a three-layer network architecture, and the preset area can be set according to actual needs. For example, the preset area can be the entire campus or a part of the campus.

[0033] S102: Based on the network architecture, add network devices for the networking environment to generate the network topology of the networking environment.

[0034] In some embodiments of this application, the network device of the two-layer network architecture includes a core layer network device and an access layer network device, and the network device of the three-layer network architecture includes a core layer network device, an aggregation layer network device, and an access layer network device.

[0035] More intuitively, Figure 2 This is a schematic diagram illustrating the selection of a regional network architecture as provided in an embodiment of this application. Figure 2 As shown, a Layer 2 network architecture can be built by loading a Layer 2 translator, and a Layer 3 network architecture can be built by loading a Layer 3 network translator.

[0036] More intuitively, Figure 3 A network topology diagram of a three-layer network architecture provided in this application embodiment is shown below. Figure 3 As shown, the three-layer network architecture of region A includes core forwarding devices (i.e., core layer network devices), aggregation forwarding devices (i.e., aggregation layer network devices), and access forwarding devices (i.e., access layer network devices).

[0037] S103: In the network topology, enable the link discovery function of the Link Layer Discovery Protocol (LLDP) of the network environment to display the network topology.

[0038] S104: Based on the network topology, create the service network to be deployed.

[0039] S105: Obtain the service parameters uploaded by the user, and when receiving a service deployment request, configure the network devices carrying the service network according to the service parameters.

[0040] In some embodiments of this application, after the service network is deployed, based on the inventive concept of visually observing the service flow, it is possible to clearly observe which services are deployed in the campus network, and to locate and display any problems that occur in a certain link.

[0041] Specifically, first, the service flow displayed on the network topology is obtained. Then, according to preset display rules, it is determined whether the service flow has an abnormal display color. For example, a normal service flow has no color, while an abnormal service flow is displayed in red.

[0042] If so, the abnormal network device is identified based on the displayed service link. Different network architectures require different methods for identifying the abnormal network device.

[0043] Specifically, if the network architecture is a Layer 2 network architecture, the coordinates of the core layer network devices and the access layer network devices are determined. Based on these coordinates, anomaly information for the service network is generated. Then, the anomaly location is sent to the user terminal device, and feedback information is received from the user terminal device. Finally, based on the feedback information, the abnormal network device in the service network is identified.

[0044] If the network architecture is a three-layer network architecture, then in the service flow, determine whether there are service links that are not displayed abnormally.

[0045] If so, then identify the two-layer network devices carrying the non-abnormally displayed service links. These two-layer network devices are either a core layer network device and an aggregation layer network device, or an aggregation layer network device and an access layer network device.

[0046] In a three-layer network architecture, network devices other than those at the two layers are identified as abnormal network devices.

[0047] In other words, if the service link shows no abnormalities, the network devices supporting it are functioning normally. For example, if the service link between the core layer network devices and the aggregation layer network devices is normal, but the service link between the aggregation layer and the access layer network devices is abnormal, it indicates that there is a problem with the access layer network devices.

[0048] More intuitively, Figure 4 This is a schematic diagram illustrating a visual business deployment as provided in an embodiment of this application. Figure 4 As shown, in Figure 4 In this network architecture, a three-layer network architecture is used, with service A carried on two aggregation layer network devices and service B carried on one aggregation layer network device.

[0049] In some embodiments of this application, a simulated terminal module is used to debug online whether the service has been successfully deployed, based on the ability to verify whether the service is available.

[0050] Specifically, if the network architecture is a three-layer network architecture, and the service network is carried on the first aggregation network device and the second aggregation network device.

[0051] Then, the service network is mutually verified through the first and second simulated terminals.

[0052] Specifically, the mutual access verification process includes:

[0053] A temporary Layer 1 / 3 IP address is assigned to the first access network device, and a temporary Layer 2 / 3 IP address is assigned to the second access network device. The first access network device is connected to the first aggregation network device, and the second access network device is connected to the second aggregation network device.

[0054] It should be noted that, firstly, the IP address queue of the network segment of the business network is determined, and the IP address queue includes multiple IP addresses of the network segment; then, unused IP addresses are randomly selected from the IP queue and used as the first and third layer IP addresses and the second and third layer IP addresses, respectively.

[0055] Based on the first and third layer IP addresses and the second and third layer IP addresses, the first simulated terminal and the second simulated terminal can ping each other.

[0056] Next, determine if the first simulated terminal and the second simulated terminal can ping each other. If so, confirm that the mutual access verification of the business network has passed, thus confirming the successful deployment of the business network.

[0057] If the first simulated terminal and the second simulated terminal cannot ping each other, the mutual access authentication of the service network is determined to have failed. An authentication failure notification message for the service network is generated and sent to the user terminal device.

[0058] It can perform online debugging of business network connectivity and verify the availability of services in real time. Compared with traditional access to real terminal verification, the provided simulated terminal can be operated directly in the system, saving manpower and resources.

[0059] More intuitively, Figure 5 This is a schematic diagram illustrating a service network inter-access verification method provided in an embodiment of this application. Figure 5 As shown, service A is carried on two aggregation layer network devices, and simulated terminal 1 and simulated terminal 2 ping each other.

[0060] It should be noted that, although the embodiments in this application are based on... Figure 1 Steps S101 to S105 will be described sequentially, but this does not mean that steps S101 to S105 must be performed in a strict order. The reason this embodiment follows this order is... Figure 1The order in which steps S101 to S105 are described is provided to facilitate understanding of the technical solutions of the embodiments of this application by those skilled in the art. In other words, in the embodiments of this application, the order of steps S101 to S105 can be appropriately adjusted according to actual needs.

[0061] pass Figure 1 The method allows you to specify the network architecture of a preset area, configure services for all network devices in the area with one click based on the service parameters input by the user, and visualize and intuitively display each service flow on the network topology by enabling the LLDP link discovery function in the networking environment, thereby improving the efficiency and accuracy of campus service deployment.

[0062] Based on the same idea, some embodiments of this application also provide devices and non-volatile computer storage media corresponding to the above methods.

[0063] Figure 6 A schematic diagram of a service deployment device based on a campus network provided in this application embodiment includes:

[0064] At least one processor; and,

[0065] A memory communicatively connected to the at least one processor; wherein,

[0066] The memory stores instructions executable by the at least one processor, which, when executed by the at least one processor, enable the at least one processor to:

[0067] Within the park, a pre-defined network architecture for regional networking is determined; the network architecture includes either a two-layer network architecture or a three-layer network architecture.

[0068] Based on the network architecture, network devices for the networking environment are added to generate the network topology of the networking environment;

[0069] In the network topology, enable the link discovery function of the Link Layer Discovery Protocol (LLDP) in the network environment to display the network topology;

[0070] Based on the aforementioned network topology, create the business network to be deployed;

[0071] The system obtains the service parameters uploaded by the user, and when receiving a service deployment request, it configures the network devices carrying the service network according to the service parameters.

[0072] Some embodiments of this application provide a non-volatile computer storage medium for service deployment based on a campus network, storing computer-executable instructions, wherein the computer-executable instructions are configured as follows:

[0073] Within the park, a pre-defined network architecture for regional networking is determined; the network architecture includes either a two-layer network architecture or a three-layer network architecture.

[0074] Based on the network architecture, network devices for the networking environment are added to generate the network topology of the networking environment;

[0075] In the network topology, enable the link discovery function of the Link Layer Discovery Protocol (LLDP) in the network environment to display the network topology;

[0076] Based on the aforementioned network topology, create the business network to be deployed;

[0077] The system obtains the service parameters uploaded by the user, and when receiving a service deployment request, it configures the network devices carrying the service network according to the service parameters.

[0078] The various embodiments in this application are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the device and medium embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the description of the method embodiments.

[0079] The devices and media provided in this application are one-to-one with the methods. Therefore, the devices and media also have similar beneficial technical effects as their corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the devices and media will not be repeated here.

[0080] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can 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, etc.) containing computer-usable program code.

[0081] This 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 block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can 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, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0082] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0083] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0084] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0085] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0086] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, 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 technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0087] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0088] The above description is merely an embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the technical principles of this application should fall within the protection scope of this application.

Claims

1. A service deployment method based on a campus network, characterized in that, The method includes: Within the park, a pre-defined network architecture for regional networking is determined; the network architecture includes either a two-layer network architecture or a three-layer network architecture. Based on the network architecture, network devices for the networking environment are added to generate the network topology of the networking environment; In the network topology, enable the link discovery function of the Link Layer Discovery Protocol (LLDP) in the network environment to display the network topology; Based on the aforementioned network topology, create the business network to be deployed; The system obtains the service parameters uploaded by the user, and when receiving a service deployment request, it configures the network devices carrying the service network according to the service parameters. After configuring the network devices carrying the service network according to the service parameters, the method further includes: Obtain the service flow displayed by the service network on the network topology; Based on preset display rules, determine whether the service flow has abnormal display colors; If so, determine the abnormal network device based on the abnormal service link displayed; The abnormal network device is determined based on the abnormally displayed service link, specifically including: If the network architecture is a two-layer network architecture, then determine the coordinate positions of the core layer network devices and the access layer network devices respectively; Based on the coordinates, generate the abnormal information of the service network; The abnormal information is sent to the user terminal device, and feedback information is received from the user terminal device. Based on the feedback information, the abnormal network devices of the service network are identified; The abnormal network device is determined based on the abnormally displayed service link, specifically including: If the network architecture is a three-layer network architecture, then in the service flow, determine whether there are service links that are not abnormally displayed; If so, then determine the two-layer network devices carried by the non-abnormal display service link; the two-layer network devices are core layer network devices and aggregation layer network devices, or aggregation layer network devices and access layer network devices; In the three-layer network architecture, all network devices other than those in the two layers are identified as abnormal network devices.

2. The method according to claim 1, characterized in that, After configuring the network devices corresponding to the service network according to the service parameters, the method further includes: If the network architecture is a three-layer network architecture, and the service network is carried by the first aggregation network device and the second aggregation network device; The service network is mutually verified through the first and second simulated terminals.

3. The method according to claim 2, characterized in that, The step of verifying mutual access to the service network through the first simulated terminal and the second simulated terminal specifically includes: A temporary Layer 1 or Layer 3 IP address is assigned to the first access network device, and a temporary Layer 2 or Layer 3 IP address is assigned to the second access network device; the first access network device is connected to the first aggregation network device, and the second access network device is connected to the second aggregation network device; Based on the first Layer 3 IP address and the second Layer 3 IP address, the first simulated terminal and the second simulated terminal can ping each other. Determine whether the first simulated terminal and the second simulated terminal can ping each other; If so, confirm that the mutual access verification of the business network is successful to verify the successful deployment of the business network.

4. The method according to claim 3, characterized in that, The method further includes: If the first simulated terminal and the second simulated terminal cannot ping each other, it is determined that the mutual access verification of the service network has failed. Generate a verification failure notification message for the service network and send the verification failure notification message to the user terminal device.

5. The method according to claim 3, characterized in that, The method further includes: Determine the IP address queue of the network segment of the service network; the IP address queue includes multiple IP addresses of the network segment; Within the IP address queue, unused IP addresses are randomly selected and used as the first and third layer IP addresses and the second and third layer IP addresses, respectively.

6. A service deployment device based on a campus network, characterized in that, include: At least one processor; as well as, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, which, when executed, enables the at least one processor to perform a service deployment method based on a campus network as described in any one of claims 1-5.

7. A non-volatile computer storage medium storing computer-executable instructions, characterized in that, The computer-executable instructions are configured to execute the service deployment method based on a campus network as described in any one of claims 1-5.

Citation Information

Patent Citations

  • Multi-node network topology management method and device, electronic equipment and storage medium

    CN111917578A

  • Multi-fabric deployment and management platform

    CN113678406A

  • Network opening configuration method and device

    CN115550169A