Virtual local area network processing method and device, equipment and storage medium

By parsing switch logs and adjusting VLAN configuration information through conflict detection, the problem of inaccurate VLAN ID allocation in large-scale network environments was resolved, reducing the network failure rate.

CN121356992APending Publication Date: 2026-01-16CHINA MOBILE GROUP JIANGSU +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511646846.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-11
Publication Date
2026-01-16

AI Technical Summary

Technical Problem

In large-scale network environments, the lack of rigor in VLAN ID allocation processes and management mechanisms leads to frequent VLAN configuration errors and conflicts, increasing the network failure rate.

Method used

By parsing the switch logs to obtain VLAN configuration information, conflict detection of VLAN configuration information between service EOR and management EOR is performed, and the VLAN configuration information is adjusted based on the detection results.

Benefits of technology

Promptly detect and resolve VLAN configuration errors and conflicts to reduce network failure rates.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121356992A_ABST
    Figure CN121356992A_ABST
Patent Text Reader

Abstract

The invention discloses a virtual local area network processing method and device, equipment and a storage medium. Comprising the following steps: analyzing a switch log to obtain virtual local area network (VLAN) configuration information; wherein the VLAN configuration information comprises the VLAN configuration information of the service EOR and the VLAN configuration information of the management EOR; performing conflict detection on the VLAN configuration information of the service EOR and the VLAN configuration information of the management EOR to obtain a conflict detection result; and adjusting the VLAN configuration information of the service EOR and / or the VLAN configuration information of the management EOR based on the conflict detection result. According to the processing method of the virtual local area network provided by the embodiment of the invention, the VLAN configuration information of the service EOR and / or the VLAN configuration information of the management EOR are / is adjusted based on the conflict detection result of the VLAN configuration information of the service EOR and the VLAN configuration information of the management EOR, so that VLAN configuration errors and conflicts can be found and processed in time, and the occurrence rate of network faults is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of Internet technology, and in particular to a method, apparatus, device and storage medium for processing virtual local area networks. Background Technology

[0002] Virtual Local Area Network (VLAN) technology is an important network segmentation technique that logically divides a physical network into multiple independent broadcast domains, thereby improving network management efficiency and security. In a local area network (LAN), VLAN technology can effectively enhance network management flexibility and scalability. While VLAN technology offers flexible network segmentation and management capabilities, it still has some significant shortcomings in ID allocation and management, especially in large-scale network environments where the VLAN ID allocation process and management mechanisms are not rigorous. Summary of the Invention

[0003] This invention provides a method, apparatus, device, and storage medium for processing virtual local area networks (VLANs), which can promptly detect and handle VLAN configuration errors and conflicts, reducing the incidence of network failures.

[0004] In a first aspect, embodiments of the present invention provide a method for processing a virtual local area network, comprising:

[0005] The switch logs are parsed to obtain the Virtual Local Area Network (VLAN) configuration information; wherein, the VLAN configuration information includes the VLAN configuration information of the service EOR and the VLAN configuration information of the management EOR;

[0006] Conflict detection is performed on the VLAN configuration information of the service EOR and the VLAN configuration information of the management EOR to obtain the conflict detection result;

[0007] Based on the conflict detection results, the VLAN configuration information of the service EOR and / or the VLAN configuration information of the management EOR are adjusted.

[0008] Secondly, embodiments of the present invention also provide a virtual local area network (VLAN) processing apparatus, characterized in that it includes:

[0009] The VLAN configuration information acquisition module is used to parse the switch logs to obtain the VLAN configuration information of the Virtual Local Area Network (VLAN); wherein, the VLAN configuration information includes the VLAN configuration information of the service EOR and the VLAN configuration information of the management EOR.

[0010] The conflict detection module is used to perform conflict detection on the VLAN configuration information of the service EOR and the VLAN configuration information of the management EOR, and obtain the conflict detection result.

[0011] The configuration information adjustment module is used to adjust the VLAN configuration information of the service EOR and / or the VLAN configuration information of the management EOR based on the conflict detection results.

[0012] Thirdly, embodiments of the present invention also provide an electronic device, the electronic device comprising:

[0013] At least one processor; and

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

[0015] The memory stores a computer program that can be executed by the at least one processor, which enables the at least one processor to perform the virtual local area network processing method described in the embodiments of the present invention.

[0016] Fourthly, embodiments of the present invention also provide a computer-readable storage medium storing computer instructions, which are used to cause a processor to execute and implement the virtual local area network processing method described in the embodiments of the present invention.

[0017] This invention discloses a method, apparatus, device, and storage medium for processing Virtual Local Area Networks (VLANs). The method involves parsing switch logs to obtain VLAN configuration information, including VLAN configuration information for service EORs and management EORs. Conflict detection is performed on the VLAN configuration information of the service EORs and management EORs to obtain conflict detection results. Based on the conflict detection results, the VLAN configuration information of the service EORs and / or management EORs is adjusted. The VLAN processing method provided by this invention, which adjusts the VLAN configuration information of the service EORs and / or management EORs based on the conflict detection results, can promptly detect and handle VLAN configuration errors and conflicts, reducing the incidence of network failures. Attached Figure Description

[0018] Figure 1 This is a flowchart of a virtual local area network (VLAN) processing method according to Embodiment 1 of the present invention;

[0019] Figure 2 This is a schematic diagram of the structure of a virtual local area network processing device according to Embodiment 2 of the present invention;

[0020] Figure 3This is a schematic diagram of the structure of an electronic device according to Embodiment 3 of the present invention. Detailed Implementation

[0021] The present invention will now be described in further detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and not intended to limit it. Furthermore, it should be noted that, for ease of description, the accompanying drawings show only the parts relevant to the present invention, and not all of the structures.

[0022] Example 1

[0023] Figure 1 This is a flowchart of a virtual local area network (VLAN) processing method provided in Embodiment 1 of the present invention. This embodiment is applicable to situations where VLAN conflicts are detected and VLAN configuration information is adjusted based on the conflicts. This method can be executed by a VLAN processing device, which can be implemented in software and / or hardware, optionally through an electronic device, such as a mobile terminal, PC, or server. Specifically, it includes the following steps:

[0024] S110 parses the switch logs to obtain the VLAN configuration information.

[0025] The VLAN configuration information includes the VLAN configuration information for the service EOR and the management EOR. In data center network architecture, End of Row (EOR) is a common cabling and equipment layout. EOR typically refers to placing network switches and other equipment at the end of a row of server racks. This layout facilitates centralized management of network connections and reduces cabling complexity. In this proposal, the VLAN configurations of the service EOR and the management EOR are crucial for conflict detection because VLAN configurations under different EORs may interfere with each other, and conflicts could lead to network failures.

[0026] The VLAN configuration information includes at least one of the following: interface name, device name, and VLAN number range. Specifically, the methods for parsing switch logs to obtain VLAN configuration information can be: obtaining a regular expression pattern for VLAN configuration information; or extracting VLAN configuration information from switch logs based on a regular expression pattern.

[0027] The regular expression pattern can be represented as: Device Name: Interface Name: VLAN number range: . Its function is to match "zero or more whitespace characters" followed by "one or more nonwhitespace characters" and extract the nonwhitespace characters into a group. Its function is to match the "number-number" format string following "zero or more whitespace characters" and extract the "number-number" portion into the group. In this embodiment, the VLAN configuration information may also include VLAN type, timestamp information, port link type, IP address bound to the VLAN, multicast VLAN configuration, etc.

[0028] Specifically, the method for extracting VLAN configuration information from switch logs based on regular expression patterns can be as follows: Scan the switch logs character by character, and compare the scanned characters with the regular expression patterns corresponding to the device name, interface name, and VLAN segment, respectively; extract the strings that match the regular expression pattern corresponding to the device name to obtain the device name; extract the strings that match the regular expression pattern corresponding to the interface name to obtain the interface name; and extract the strings that match the regular expression pattern corresponding to the VLAN segment to obtain the VLAN segment.

[0029] S120 performs conflict detection on the VLAN configuration information of the service EOR and the VLAN configuration information of the management EOR, and obtains the conflict detection results.

[0030] Among them, conflict detection mainly detects whether the VLAN number segment of the service EOR overlaps with the number segment of the management EOR.

[0031] Optionally, the conflict detection method for the VLAN configuration information of the service EOR and the VLAN configuration information of the management EOR can be: determine whether the VLAN number segment of the service EOR overlaps with the VLAN number segment of the management EOR; if the VLAN number segment of the service EOR overlaps with the VLAN number segment of the management EOR, then there is a conflict between the service EOR and the management EOR.

[0032] Among them, overlap includes partial overlap or complete overlap.

[0033] Specifically, the method to determine whether the VLAN number segment of the service EOR overlaps with the VLAN number segment of the management EOR can be: convert the VLAN number segment of the service EOR and the VLAN number segment of the management EOR into numerical ranges; and determine whether there is an intersection between the VLAN number segment of the service EOR and the VLAN number segment of the management EOR based on the numerical ranges.

[0034] When converting the VLAN number ranges of the service EOR and the management EOR into numerical ranges, it is necessary to specify the boundary inclusion of the ranges. For example, if the VLAN number range is represented as "100-200", it implicitly includes the boundary values ​​100 and 200. When converting to a numerical range, you can use Python's `range` function or define a custom range class. If using the `range` function, it can be represented as `range(100, 201)` (note that 200 needs to be incremented by 1 to include the boundary values).

[0035] For handling non-consecutive number ranges, such as VLAN number ranges "100-200, 300-400", they are first split into multiple consecutive number ranges, i.e., [range(100, 201), range(300, 401)]. This can be done by splitting the input number range string with commas, and then converting each sub-range into a numerical range. In the subsequent conflict detection module, when multiple numerical ranges need to be subjected to set operations, the intersection of each range is calculated separately, and then all intersection results are merged. For example, for the VLAN number range "100-200, 300-400" of the service EOR and the VLAN number range "150-250, 350-450" of the management EOR, they are first converted into [range(100, 201), range(300, 401)] and [range(150, 251), range(350, 451)] respectively, then the intersection is calculated separately, and finally the intersection results are merged.

[0036] In this embodiment, the conflict detection process can be as follows: Obtain the VLAN configuration of the service EOR and the management EOR: Obtain the VLAN ID list of the service EOR and the management EOR through commands or APIs; Convert the obtained VLAN ID list of the service EOR and the management EOR into set types in Python respectively; Use the intersection operator & or intersection() method of sets to calculate the intersection of the two sets; If the intersection result is not empty, it means that there is an intersection between the VLAN configuration of the service EOR and the management EOR, that is, there is a potential VLAN conflict.

[0037] S130, adjust the VLAN configuration information of the service EOR and / or the VLAN configuration information of the management EOR based on the conflict detection results.

[0038] In this embodiment, if the conflict detection result indicates a conflict between the service EOR and the management EOR, the method for adjusting the VLAN configuration information of the service EOR and / or the VLAN configuration information of the management EOR based on the conflict detection result may be as follows: determine the adjustment strategy based on the priority and / or associated services of the service EOR and the management EOR; and adjust the VLAN number segment of the service EOR and / or the VLAN number segment of the management EOR based on the adjustment strategy.

[0039] The adjustment strategy involves adjusting the VLAN number range of the service EOR and / or the management EOR, that is, narrowing the range of the VLAN number range of the service EOR or the management EOR to resolve conflicts.

[0040] Specifically, the adjustment strategy determined based on the priority and / or associated services of the service EOR and management EOR includes at least one of the following: If the priority of the service EOR is higher than that of the management EOR, the range corresponding to the VLAN number segment of the management EOR is narrowed so that the intersection of the narrowed VLAN number segment and the VLAN number segment of the service EOR is empty; if the priority of the service EOR is lower than that of the management EOR, the range corresponding to the VLAN number segment of the service EOR is narrowed so that the intersection of the narrowed VLAN number segment and the VLAN number segment of the management EOR is empty; if the service EOR is associated with a service setting, the range corresponding to the VLAN number segment of the management EOR is narrowed so that the intersection of the narrowed VLAN number segment and the VLAN number segment of the service EOR is empty; if the management EOR is associated with a service setting, the range corresponding to the VLAN number segment of the service EOR is narrowed so that the intersection of the narrowed VLAN number segment and the VLAN number segment of the management EOR is empty.

[0041] Among them, setting up services can be understood as higher-level services.

[0042] In this embodiment, in order to improve the convenience of adjusting the VLAN number segment of the service EOR and / or the VLAN number segment of the management EOR, the VLAN number segment can be adjusted by means of interface interaction.

[0043] Specifically, the method for adjusting the VLAN segment of the service EOR and / or the VLAN segment of the management EOR based on the adjustment policy can be as follows: display the adjustment policy, the conflicting VLAN segments of the service EOR and the management EOR on the target page; and adjust the VLAN segment of the service EOR and / or the management EOR in response to the user's adjustment operation triggered by the adjustment policy.

[0044] The target page can be a web interface built on the Django framework, which provides functions such as adding, deleting, modifying, and querying VLAN configurations, uploading files, detecting conflicts, and exporting results.

[0045] In this embodiment, after the adjustment policy and the conflicting VLAN number segments of the service EOR and the management EOR are displayed on the target page, the user can trigger the adjustment operation on the target page to adjust the VLAN number segments of the service EOR and / or the management EOR, thereby resolving the conflict.

[0046] The technical solution of this embodiment involves parsing switch logs to obtain VLAN configuration information. This VLAN configuration information includes VLAN configuration information for both the service EOR and the management EOR. Conflict detection is performed on the VLAN configuration information of both the service EOR and the management EOR to obtain conflict detection results. Based on the conflict detection results, the VLAN configuration information of the service EOR and / or the management EOR is adjusted. The VLAN processing method provided by this embodiment, which adjusts the VLAN configuration information of both the service EOR and / or the management EOR based on the conflict detection results, can promptly detect and handle VLAN configuration errors and conflicts, reducing the incidence of network failures.

[0047] Example 2

[0048] Figure 2 This is a schematic diagram of the structure of a virtual local area network processing device provided in Embodiment 2 of the present invention, as shown below. Figure 2 As shown, the device includes:

[0049] The VLAN configuration information acquisition module 210 is used to parse the switch logs to obtain the VLAN configuration information of the virtual local area network; wherein, the VLAN configuration information includes the VLAN configuration information of the service EOR and the VLAN configuration information of the management EOR.

[0050] The conflict detection module 220 is used to perform conflict detection on the VLAN configuration information of the service EOR and the VLAN configuration information of the management EOR, and obtain the conflict detection result;

[0051] The configuration information adjustment module 230 is used to adjust the VLAN configuration information of the service EOR and / or the VLAN configuration information of the management EOR based on the conflict detection results.

[0052] Optionally, the VLAN configuration information includes at least one of the following: interface name, device name, and VLAN number range.

[0053] Optionally, the VLAN configuration information acquisition module 210 is also used for:

[0054] Obtain the regular expression pattern for the VLAN configuration information;

[0055] VLAN configuration information is extracted from switch logs based on the regular expression pattern.

[0056] Optionally, the collision detection module 220 is also used for:

[0057] Determine whether the VLAN segment of the service EOR overlaps with the VLAN segment of the management EOR; wherein, overlap includes partial overlap or complete overlap.

[0058] If the VLAN segment of the service EOR overlaps with the VLAN segment of the management EOR, then there is a conflict between the service EOR and the management EOR.

[0059] Optionally, the collision detection module 220 is also used for:

[0060] Convert the VLAN number range of the service EOR and the VLAN number range of the management EOR into numerical ranges;

[0061] Determine whether there is an overlap between the VLAN number segment of the service EOR and the VLAN number segment of the management EOR by judging the numerical range.

[0062] Optionally, if the conflict detection result indicates a conflict between the service EOR and the management EOR, the configuration information adjustment module 230 is further configured to:

[0063] The adjustment strategy is determined based on the priority and / or related business of the business EOR and the management EOR;

[0064] Adjust the VLAN segment of the service EOR and / or the VLAN segment of the management EOR based on the adjustment strategy.

[0065] Optionally, the configuration information adjustment module 230 is also used for:

[0066] The target page displays the adjustment strategy, the VLAN segment of the conflicting service EOR, and the VLAN segment of the management EOR;

[0067] In response to an adjustment operation triggered by a user based on the adjustment policy, the VLAN number segment of the service EOR and / or the VLAN number segment of the management EOR are adjusted.

[0068] The above-described apparatus can execute the methods provided in all the foregoing embodiments of the present invention, and has the corresponding functional modules and beneficial effects for executing the above methods. Technical details not described in detail in this embodiment can be found in the methods provided in all the foregoing embodiments of the present invention.

[0069] Example 3

[0070] Figure 3 A schematic diagram of an electronic device 10 that can be used to implement embodiments of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (such as helmets, glasses, watches, etc.), and other similar computing devices. The components, connections and relationships between components, and their functions shown herein are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.

[0071] like Figure 3 As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the ROM 12 or loaded from storage unit 18 into the RAM 13. The RAM 13 can also store various programs and data required for the operation of the electronic device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0072] Multiple components in electronic device 10 are connected to I / O interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of displays, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows electronic device 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0073] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as virtual local area network (VLAN) processing methods.

[0074] In some embodiments, the virtual local area network (VLAN) processing method may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the VLAN processing method described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform the VLAN processing method by any other suitable means (e.g., by means of firmware).

[0075] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0076] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0077] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0078] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0079] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or middleware components (e.g., application servers), or frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.

[0080] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.

[0081] This invention also provides a computer program product, including a computer program that, when executed by a processor, implements the virtual local area network processing method provided in any embodiment of this application.

[0082] In implementing the computer program product, computer program code for performing the operations of this invention can be written in one or more programming languages ​​or a combination thereof. Programming languages ​​include object-oriented programming languages ​​such as Java, Smalltalk, and C++, as well as conventional procedural programming languages ​​such as C or similar languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0083] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and no limitation is imposed herein.

[0084] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.

Claims

1. A processing method of a virtual local area network, characterized by, The method comprises the following steps: parsing a switch log to obtain virtual local area network (VLAN) configuration information; wherein the VLAN configuration information comprises VLAN configuration information of a service EOR and VLAN configuration information of a management EOR; performing conflict detection on the VLAN configuration information of the service EOR and the VLAN configuration information of the management EOR to obtain a conflict detection result; adjusting the VLAN configuration information of the service EOR and / or the VLAN configuration information of the management EOR based on the conflict detection result.

2. The method of claim 1, wherein, The VLAN configuration information comprises at least one of an interface name, a device name, and a VLAN number segment.

3. The method of claim 1, wherein, The method comprises the following steps: obtaining a regular expression mode of the VLAN configuration information; extracting VLAN configuration information from the switch log based on the regular expression mode.

4. The method of claim 2, wherein, The conflict detection on the VLAN configuration information of the service EOR and the VLAN configuration information of the management EOR comprises the following steps: determining whether the VLAN number segment of the service EOR and the VLAN number segment of the management EOR overlap; wherein the overlap comprises partial overlap or complete overlap; if the VLAN number segment of the service EOR and the VLAN number segment of the management EOR overlap, there is a conflict between the service EOR and the management EOR.

5. The method of claim 4, wherein, The determination of whether the VLAN number segment of the service EOR and the VLAN number segment of the management EOR overlap comprises the following steps: converting the VLAN number segment of the service EOR and the VLAN number segment of the management EOR into numerical intervals; determining, based on the numerical intervals, whether there is an intersection between the VLAN number segment of the service EOR and the VLAN number segment of the management EOR.

6. The method of claim 4, wherein, If the conflict detection result is that there is a conflict between the service EOR and the management EOR, adjusting the VLAN configuration information of the service EOR and / or the VLAN configuration information of the management EOR based on the conflict detection result comprises the following steps: determining an adjustment strategy based on the priority and / or associated service of the service EOR and the management EOR; adjusting the VLAN number segment of the service EOR and / or the VLAN number segment of the management EOR based on the adjustment strategy.

7. The method of claim 6, wherein, The adjustment of the VLAN number segment of the service EOR and / or the VLAN number segment of the management EOR based on the adjustment strategy comprises the following steps: displaying, in a target page, the adjustment strategy, the VLAN number segment of the service EOR, and the VLAN number segment of the management EOR that have a conflict; in response to an adjustment operation triggered by a user based on the adjustment strategy, adjusting the VLAN number segment of the service EOR and / or the VLAN number segment of the management EOR.

8. A processing device for a virtual local area network, characterized by The method comprises the following steps: a VLAN configuration information acquisition module is configured to parse a switch log to obtain virtual local area network (VLAN) configuration information; wherein the VLAN configuration information comprises VLAN configuration information of a service EOR and VLAN configuration information of a management EOR; The conflict detection module is configured to perform conflict detection on the VLAN configuration information of the service EOR and the VLAN configuration information of the management EOR, and obtain a conflict detection result. The configuration information adjustment module is configured to adjust the VLAN configuration information of the service EOR and / or the VLAN configuration information of the management EOR based on the conflict detection result.

9. An electronic device, comprising: The electronic device comprises: at least one processor; and a memory connected with the at least one processor in communication; wherein The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to perform the processing method of the virtual local area network according to any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, The computer readable storage medium stores computer instructions, and the computer instructions are used to enable the processor to perform the processing method of the virtual local area network according to any one of claims 1-7 when executed.