CN118102396A - Automatic detection VLAN configuration method and system - Google Patents

Automatic detection VLAN configuration method and system Download PDF

Info

Publication number
CN118102396A
CN118102396A CN202211441566.9A CN202211441566A CN118102396A CN 118102396 A CN118102396 A CN 118102396A CN 202211441566 A CN202211441566 A CN 202211441566A CN 118102396 A CN118102396 A CN 118102396A
Authority
CN
China
Prior art keywords
vlan
flow
wireless access
request
access point
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
CN202211441566.9A
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 Petroleum and Chemical Corp
Sinopec Chongqing Chuanwei Chemical Co Ltd
Original Assignee
China Petroleum and Chemical Corp
Sinopec Chongqing Chuanwei Chemical 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 Petroleum and Chemical Corp, Sinopec Chongqing Chuanwei Chemical Co Ltd filed Critical China Petroleum and Chemical Corp
Priority to CN202211441566.9A priority Critical patent/CN118102396A/en
Publication of CN118102396A publication Critical patent/CN118102396A/en
Pending legal-status Critical Current

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention relates to the technical field of computers, in particular to a method and a system for automatically detecting VLAN configuration, wherein the system is applied to a plurality of wireless access points and comprises the following steps: the classification module is used for classifying the VLAN according to the flow characteristics to obtain a classification result; the receiving module is used for receiving the flow request of the wireless access point; the control module is used for configuring VLAN according to the flow request, selecting VLAN of corresponding category from the classification result according to the flow request, selecting idle VLAN from the selected VLAN, counting the flow of all VLAN and comparing with the whole network flow, if the flow is consistent, distributing the selected VLAN to the wireless access point for sending the flow request. The invention ensures that the VLAN configured to the wireless access point is in an idle state, and simultaneously ensures that the flow characteristic of the VLAN configured to the wireless access point is consistent with the flow characteristic required by the wireless access point, thereby solving the technical problem of low data transmission efficiency through the VLAN.

Description

Automatic detection VLAN configuration method and system
Technical Field
The invention relates to the technical field of computers, in particular to a VLAN configuration automatic detection method and system.
Background
Virtual Local Area Networks (VLANs) are logical segments of network subscribers to a connected second tier switch port, which are not limited by the physical location of the network subscribers but are based on subscriber needs, one VLAN can be implemented in one switch or across switches. VLAN can be grouped according to the location, role, department of the network user or according to the application program, protocol used by the network user, which can resolve the conflict domain, broadcast domain, bandwidth problem for the local area network. When one device communicates with another device, VLAN-enabled switch devices may support single devices and multiple devices (multiple devices and multiple devices), each physical port may be assigned to one or more VLANs, and the VLANs assigned to the different switch devices typically do not overlap. However, in the field application configuration process, there may be a case where data of an individual wireless Access Point (AP) is sent to a target Point through a plurality of VLANs, which consumes considerable network resources in an intangible way, and occupies unnecessary network resources, resulting in inefficiency in transferring data through the VLANs.
Disclosure of Invention
The invention provides an automatic detection VLAN configuration method and system, which solve the technical problem of low data transmission efficiency through VLAN in the prior art.
The basic scheme provided by the invention is as follows: an automatic detection VLAN configuration system for a plurality of wireless access points, comprising:
The classification module is used for classifying the VLAN according to the flow characteristics to obtain a classification result;
The receiving module is used for receiving the flow request of the wireless access point;
The control module is used for configuring VLAN according to the flow request, selecting VLAN of corresponding category from the classification result according to the flow request, selecting idle VLAN from the selected VLAN, counting the flow of all VLAN and comparing with the whole network flow, if the flow is consistent, distributing the selected VLAN to the wireless access point for sending the flow request.
The working principle and the advantages of the invention are as follows: the wireless access point is usually used for a wireless switch of a wireless network and is also the core of the wireless network, in the scheme, the VLAN is classified into different categories in advance according to the flow characteristics, when the flow request of the wireless access point is received, the VLAN of the corresponding category is selected from the classification result according to the flow request, and the idle VLAN is selected from the selected VLAN, so that the VLAN configured to the wireless access point is ensured to be in an idle state, the flow characteristics of the VLAN configured to the wireless access point are ensured to be consistent with the flow characteristics required by the wireless access point, meanwhile, the flow of all the VLANs is counted and compared with the flow of the whole network, the selected VLAN is distributed to the wireless access point for sending the flow request according to the flow, thus, the data of the individual wireless access point can be prevented from being sent to a target point through a plurality of VLANs, considerable network resources are prevented from being consumed, the unnecessary network resources are prevented from being occupied, the efficiency of transmitting the data by the VLAN is improved, meanwhile, the flow comparison can be realized through an automatic script, and the workload of manual comparison and verification is effectively reduced.
The invention can ensure that the VLAN configured to the wireless access point is in an idle state, and simultaneously ensure that the flow characteristic of the VLAN configured to the wireless access point is consistent with the flow characteristic required by the wireless access point, thereby solving the technical problem of low efficiency of transmitting data through the VLAN in the prior art.
Further, if the traffic is inconsistent, the control module is further configured to configure the VLAN according to the traffic request again until the traffic is consistent, and allocate the selected VLAN to the wireless access point that sends the traffic request.
The beneficial effects are that: the traffic is consistent as a configured circulation condition, so that not only can a proper VLAN be allocated to the wireless access point sending the traffic request, but also the situation that the data of the individual wireless access point is sent to the target point through a plurality of VLANs can be avoided.
The system further comprises an alarm module, wherein the alarm module is used for receiving an alarm instruction and giving an alarm; the control module is also used for counting the times of configuring the VLAN according to the flow request, judging the times of configuring the VLAN and the magnitude of a preset time threshold, and generating and sending an alarm instruction to the alarm module if the times of configuring the VLAN is larger than the preset time threshold.
The beneficial effects are that: if the configuration is unsuccessful for a plurality of times, the VLAN does not have the condition of being distributed to the wireless access point for sending the flow request in the period of time, and the alarm is favorable for prompting technicians to perform manual processing.
Further, the alarm module is further configured to generate alarm information, where the alarm information includes configuration failure information and configuration frequency information, and the alarm module is further configured to push the alarm information to a technician through an email, a program internal log, or an IM tool.
The beneficial effects are that: the technicians can conveniently know the detailed related information and take corresponding manual treatment measures.
Further, the classification result includes a continuous type, a batch type, a specific type, and a black hole type.
Further, the classifying the VLANs according to the traffic characteristics includes: classifying the VLAN according to the flow characteristic parameters, wherein the flow characteristic parameters comprise the time percentage of the VLAN bearing flow and the number of bearing data packets in a unit time period.
Based on the above disclosed automatic detection VLAN configuration system, the invention also provides an automatic detection VLAN configuration method, which is applied to a plurality of wireless access points and comprises the following steps:
S1, classifying VLAN according to flow characteristics by the classifying module to obtain a classifying result;
s2, the receiving module receives a flow request of the wireless access point;
S3, the control module configures VLAN according to the flow request, selects VLAN of corresponding category from the classification result according to the flow request, selects idle VLAN from the selected VLAN, counts the flow of all VLAN and compares with the flow of the whole network, if the flow is consistent, the selected VLAN is distributed to the wireless access point sending the flow request.
The working principle and the advantages of the invention are as follows: the VLAN is classified into different categories according to the flow characteristics in advance, when the flow request of the wireless access point is received, the VLAN of the corresponding category is selected from the classification result according to the flow request, and the idle VLAN is selected from the selected VLAN, so that the VLAN configured to the wireless access point is ensured to be in an idle state, meanwhile, the flow characteristics of the VLAN configured to the wireless access point are ensured to be consistent with the flow characteristics required by the wireless access point, meanwhile, the flows of all the VLANs are counted and compared with the whole network flow, the selected VLAN is distributed to the wireless access point for sending the flow request according to the flow consistency, thus the data of the individual wireless access point can be prevented from being sent to the target point through a plurality of VLANs, the consumption of considerable network resources is avoided, the unnecessary network resources are avoided, the efficiency of VLAN data transmission is improved, meanwhile, the flow comparison can be realized through an automatic script, and the workload of manual comparison and verification is effectively reduced.
Further, in S3, if the traffic is inconsistent, the control module configures a VLAN according to the traffic request again until the traffic is consistent, and allocates the selected VLAN to the wireless access point that sends the traffic request.
The beneficial effects are that: the traffic is consistent as a configured circulation condition, so that not only can a proper VLAN be allocated to the wireless access point sending the traffic request, but also the situation that the data of the individual wireless access point is sent to the target point through a plurality of VLANs can be avoided.
In step S3, the control module further counts the number of times of configuring the VLAN according to the traffic request, and determines the number of times of configuring the VLAN and the preset number of times threshold, and if the number of times of configuring the VLAN is greater than the preset number of times threshold, the control module generates and sends an alarm command to the alarm module, and the alarm module receives the alarm command and performs an alarm.
The beneficial effects are that: if the configuration is unsuccessful for a plurality of times, the VLAN does not have the condition of being distributed to the wireless access point for sending the flow request in the period of time, and the alarm is favorable for prompting technicians to perform manual processing.
Drawings
Fig. 1 is a system architecture diagram of an embodiment of an automatic detection VLAN configuration system according to the present invention.
Detailed Description
The following is a further detailed description of the embodiments:
example 1
An embodiment is shown in fig. 1, and an automatic detection VLAN configuration system is applied to a plurality of wireless access points, and includes:
The classification module is used for classifying the VLAN according to the flow characteristics to obtain a classification result;
The receiving module is used for receiving the flow request of the wireless access point;
The control module is used for configuring VLAN according to the flow request, selecting VLAN of corresponding category from the classification result according to the flow request, selecting idle VLAN from the selected VLAN, counting the flow of all VLAN and comparing with the whole network flow, if the flow is consistent, distributing the selected VLAN to the wireless access point for sending the flow request.
As one of preferable aspects: if the flows are inconsistent, the control module is further used for configuring the VLAN according to the flow requests again until the flows are consistent, and distributing the selected VLAN to the wireless access point sending the flow requests, so that the flow is consistent as a configured circulation condition, not only can the wireless access point sending the flow requests be distributed with a proper VLAN, but also the situation that the data of the individual wireless access point is sent to the target point through a plurality of VLANs can be well avoided.
As a preferred second aspect: the system also comprises an alarm module, wherein the alarm module is used for receiving an alarm instruction and giving an alarm; the control module is also used for counting the times of configuring the VLAN according to the flow request, judging the times of configuring the VLAN and the magnitude of a preset times threshold, generating and sending an alarm instruction to the alarm module if the times of configuring the VLAN are larger than the preset times threshold, and if the configuration is unsuccessful for a plurality of times, indicating that the VLAN does not have the condition of being distributed to the wireless access point for sending the flow request in the period of time, and the alarm is favorable for prompting technicians to carry out manual processing.
The specific implementation process is as follows:
S1, classifying VLAN according to flow characteristics by the classifying module to obtain a classifying result; the classification result comprises continuous type, intermittent type, specific type and black hole type; the continuous type refers to that the traffic has very typical continuity, the intermittent type refers to that the traffic is larger but no continuous phenomenon exists when specific service occurs, the specific type refers to that the specific type has the characteristics of continuous type and intermittent type, for example, the BT service class belongs to very typical continuity and specificity, the two types of the specific type are provided with black holes, namely, the data flow in one direction in one data link is far larger than the data flow in the other direction in terms of five-element characteristics, and most of reasons for the generation of the data flow are network configuration errors;
S2, the receiving module receives a flow request of the wireless access point; the flow request also includes flow characteristics required by the wireless access point, such as continuous type and intermittent type;
S3, the control module configures VLAN according to the flow request, selects VLAN of corresponding category from the classification result according to the flow request, selects idle VLAN from the selected VLAN, counts the flow of all VLAN and compares with the flow of the whole network, if the flow is consistent, the selected VLAN is distributed to the wireless access point for sending the flow request; if the flow is inconsistent, the control module configures VLAN according to the flow request again until the flow is consistent, and distributes the selected VLAN to a wireless access point for sending the flow request; meanwhile, the control module also counts the number of times of configuring the VLAN according to the flow request, judges the number of times of configuring the VLAN and the magnitude of a preset number of times threshold, and if the number of times of configuring the VLAN is larger than the preset number of times threshold, the control module generates and sends an alarm instruction to the alarm module, and the alarm module receives the alarm instruction and alarms.
In this embodiment, the wireless access point is generally used for a wireless switch of a wireless network, and is also the core of the wireless network, in this scheme, the VLANs are classified according to the traffic characteristics in advance, and are classified into different categories, when a traffic request of the wireless access point is received, the VLAN of the corresponding category is selected from the classification result according to the traffic request, and an idle VLAN is selected from the selected VLANs, so that the VLAN configured to the wireless access point is ensured to be in an idle state, meanwhile, the traffic characteristics of the VLAN configured to the wireless access point are ensured to be consistent with the traffic characteristics required by the wireless access point, meanwhile, the traffic of all VLANs is counted and compared with the whole network traffic, and the selected VLAN is distributed to the wireless access point transmitting the traffic request according to the traffic, so that data of individual wireless access points can be prevented from being transmitted to the target point through a plurality of VLANs, considerable network resources are prevented from being consumed, unnecessary network resources are prevented from being occupied, the efficiency of transmitting data by the VLAN is improved, meanwhile, traffic comparison can be realized through an automated script, and the workload of manual comparison is effectively reduced.
Example 2
The difference from embodiment 1 is that the alarm module is further configured to generate alarm information, where the alarm information includes configuration failure information and configuration frequency information, and the alarm module is further configured to push the alarm information to a technician through an email, a program internal log, or an IM tool, so that the technician can conveniently learn detailed related information, and take corresponding manual processing measures.
The foregoing is merely an embodiment of the present application, and a specific structure and characteristics of common knowledge in the art, which are well known in the scheme, are not described herein, so that a person of ordinary skill in the art knows all the prior art in the application date or before the priority date, can know all the prior art in the field, and has the capability of applying the conventional experimental means before the date, and a person of ordinary skill in the art can complete and implement the present embodiment in combination with his own capability in the light of the present application, and some typical known structures or known methods should not be an obstacle for a person of ordinary skill in the art to implement the present application. It should be noted that modifications and improvements can be made by those skilled in the art without departing from the structure of the present application, and these should also be considered as the scope of the present application, which does not affect the effect of the implementation of the present application and the utility of the patent. The protection scope of the present application is subject to the content of the claims, and the description of the specific embodiments and the like in the specification can be used for explaining the content of the claims.

Claims (9)

1. An automatic detection VLAN configuration system for use with a plurality of wireless access points, comprising:
The classification module is used for classifying the VLAN according to the flow characteristics to obtain a classification result;
The receiving module is used for receiving the flow request of the wireless access point;
The control module is used for configuring VLAN according to the flow request, selecting VLAN of corresponding category from the classification result according to the flow request, selecting idle VLAN from the selected VLAN, counting the flow of all VLAN and comparing with the whole network flow, if the flow is consistent, distributing the selected VLAN to the wireless access point for sending the flow request.
2. The automated VLAN configuration system of claim 1, wherein if the traffic is inconsistent, the control module is further configured to configure the VLAN again based on the traffic request until the traffic is consistent and to assign the selected VLAN to the wireless access point that sent the traffic request.
3. The automatic detection VLAN configuration system of claim 2, further comprising an alarm module for receiving an alarm instruction and alerting; the control module is also used for counting the times of configuring the VLAN according to the flow request, judging the times of configuring the VLAN and the magnitude of a preset time threshold, and generating and sending an alarm instruction to the alarm module if the times of configuring the VLAN is larger than the preset time threshold.
4. The automated VLAN configuration system of claim 3, wherein the alert module is further configured to generate alert information including configuration failure information and configuration times information, the alert module is further configured to push alert information to a technician via email, a program internal log, or an IM tool.
5. The automatic detection VLAN configuration system of claim 4, wherein the classification result comprises continuous, intermittent, special, and black hole.
6. The automatic detection VLAN configuration system of claim 5, wherein the classifying VLANs according to traffic characteristics comprises: classifying the VLAN according to the flow characteristic parameters, wherein the flow characteristic parameters comprise the time percentage of the VLAN bearing flow and the number of bearing data packets in a unit time period.
7. An automatic detection VLAN configuration method applied to a plurality of wireless access points, comprising:
S1, classifying VLAN according to flow characteristics by the classifying module to obtain a classifying result;
s2, the receiving module receives a flow request of the wireless access point;
S3, the control module configures VLAN according to the flow request, selects VLAN of corresponding category from the classification result according to the flow request, selects idle VLAN from the selected VLAN, counts the flow of all VLAN and compares with the flow of the whole network, if the flow is consistent, the selected VLAN is distributed to the wireless access point sending the flow request.
8. The automatic detection VLAN configuration method of claim 7, wherein in S3, if the traffic is inconsistent, the control module configures the VLAN again according to the traffic request until the traffic is consistent, and assigns the selected VLAN to the wireless access point that sent the traffic request.
9. The automatic detection VLAN configuration method of claim 8, wherein in S3, the control module further counts the number of times of configuring the VLAN according to the traffic request, and determines the number of times of configuring the VLAN and the preset number of times threshold, and if the number of times of configuring the VLAN is greater than the preset number of times threshold, the control module generates and sends an alarm command to the alarm module, and the alarm module receives the alarm command and performs an alarm.
CN202211441566.9A 2022-11-17 2022-11-17 Automatic detection VLAN configuration method and system Pending CN118102396A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211441566.9A CN118102396A (en) 2022-11-17 2022-11-17 Automatic detection VLAN configuration method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211441566.9A CN118102396A (en) 2022-11-17 2022-11-17 Automatic detection VLAN configuration method and system

Publications (1)

Publication Number Publication Date
CN118102396A true CN118102396A (en) 2024-05-28

Family

ID=91142748

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211441566.9A Pending CN118102396A (en) 2022-11-17 2022-11-17 Automatic detection VLAN configuration method and system

Country Status (1)

Country Link
CN (1) CN118102396A (en)

Similar Documents

Publication Publication Date Title
US7493407B2 (en) Method and apparatus for controlling the allocation of bandwidth of a network access point to an application having a message transmitted on the network
US5355375A (en) Hub controller for providing deterministic access to CSMA local area network
JP2551304B2 (en) Broadcast link control method
US7724649B2 (en) Method and device for making uplink standby
US11894992B2 (en) Network component management method and network device
KR102580332B1 (en) Method and Apparatus for Controlling Congestion in Communication Systems with Services
US20210006457A1 (en) Data transmission method and device
CN109040178B (en) Configuration information sending method and device
WO2015062479A1 (en) Method, device and system for monitoring terminal status
CN112953785B (en) Link detection method and system for communication equipment of multi-core processor
CN112437454A (en) Data transmission method and device, storage medium and electronic device
CN115484047A (en) Method, device, equipment and storage medium for identifying flooding attack in cloud platform
WO2017193310A1 (en) Base station clustering and base station control method and device
CN110430117B (en) High-concurrency tunnel system and method for connecting cloud network and user intranet
US7019636B2 (en) Electronic system with a multiple access protocol and method of multiple access
CN118102396A (en) Automatic detection VLAN configuration method and system
CN1266894C (en) Data telecommunication method based on redundant network
CN110391923A (en) The method and the network equipment of multicast message processing
CN114615337A (en) Equipment scheduling method, system, server and storage medium
US10616792B2 (en) Communications system and networking method of application driven network, and controller
US6836802B1 (en) Network management system uses proxy agent for communicating control information and event notifications between network management apparatus and agents not directly connected to a network
JP2638482B2 (en) Broadcast link control method
EP0509068A1 (en) Dynamic association of rf radio data communication system in a pre-existing computer controlled network
US5838662A (en) System and method for transferring data
CN113038570B (en) Access control method, device, equipment and storage medium of user node

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