CN113079518A - Message forwarding method, device and equipment - Google Patents

Message forwarding method, device and equipment Download PDF

Info

Publication number
CN113079518A
CN113079518A CN202110336522.9A CN202110336522A CN113079518A CN 113079518 A CN113079518 A CN 113079518A CN 202110336522 A CN202110336522 A CN 202110336522A CN 113079518 A CN113079518 A CN 113079518A
Authority
CN
China
Prior art keywords
forwarding
wlan
service
forwarding mode
service flow
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
CN202110336522.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.)
Hangzhou H3C Technologies Co Ltd
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN202110336522.9A priority Critical patent/CN113079518A/en
Publication of CN113079518A publication Critical patent/CN113079518A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W16/00Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
    • H04W16/18Network planning tools
    • H04W16/20Network planning tools for indoor coverage or short range network deployment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/101Access control lists [ACL]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application provides a message forwarding method, a message forwarding device and message forwarding equipment, wherein the method determines a service flow to which a service message belongs according to the received service message; determining a WLAN forwarding mode matched with the service flow according to the local configuration information; when the WLAN forwarding mode is local forwarding, forwarding the service message according to a local forwarding mode; and when the WLAN forwarding mode is centralized forwarding, forwarding the service message according to a centralized forwarding mode. It can be seen that, by applying the technical scheme provided in this embodiment, a service packet is not forwarded according to a corresponding forwarding mode configured by a written configured forwarding mode command in a simple and rough manner, but the service packet is divided into more fine-grained portions, so as to determine a WLAN forwarding mode matched with a service flow according to the service flow to which the received service packet belongs, and further determine whether the service packet is forwarded locally or centrally, thereby improving the flexibility of an AP in forwarding the packet.

Description

Message forwarding method, device and equipment
Technical Field
The present application relates to the field of network technologies, and in particular, to a method, an apparatus, and a device for forwarding a packet.
Background
A WLAN (Wireless Local Area Network) is generally widely deployed in an enterprise, and in the WLAN, service flow forwarding generally has two forwarding modes, a first forwarding mode is Local forwarding, that is, forwarding a service flow on an Access Point (AP), and another forwarding mode is centralized forwarding, that is, the AP forwards the service flow to an Access Controller (AC), and then the service flow is centrally processed by the AC.
However, in the prior art, any one of the forwarding mode commands is generally configured in the AP, and once the AP receives a service packet, the AP forwards the service packet according to the configured forwarding mode, for example, if the forwarding mode configured in the AP is local forwarding, the service packet can only be forwarded locally, and if the forwarding mode configured in the AP is centralized forwarding, the service packet can only be forwarded centrally, but regardless of which forwarding mode is configured, the received service packet is simply and crudely forwarded according to the fixed forwarding mode configured by the written configured forwarding mode command, so that the AP configured with the fixed forwarding mode has poor flexibility in forwarding the packet.
Disclosure of Invention
The application provides a message forwarding method, a message forwarding device and message forwarding equipment, so as to improve the flexibility of an AP (access point) in forwarding a message.
Specifically, the method is realized through the following technical scheme:
in one aspect, an embodiment of the present application provides a packet forwarding method, where the method is applied to an AP in a WLAN, and includes:
determining a service flow to which the service message belongs according to the received service message;
determining a WLAN forwarding mode matched with the service flow according to local configuration information;
when the WLAN forwarding mode is local forwarding, forwarding the service message according to a local forwarding mode;
and when the WLAN forwarding mode is centralized forwarding, forwarding the service message according to a centralized forwarding mode.
On the other hand, an embodiment of the present application provides a packet forwarding apparatus, where the apparatus is applied to an AP in a WLAN, and the apparatus includes:
a service flow determining unit, configured to determine, according to a received service packet, a service flow to which the service packet belongs;
a forwarding mode determining unit, configured to determine, according to local configuration information, a WLAN forwarding mode matched with the service flow; when the WLAN forwarding mode is local forwarding, triggering a local forwarding unit, and when the WLAN forwarding mode is centralized forwarding, triggering a centralized forwarding unit;
the local forwarding unit is configured to forward the service packet according to a local forwarding manner;
and the centralized forwarding unit is used for forwarding the service message according to a centralized forwarding mode.
According to the technical scheme, when the AP forwards the service message, the AP does not configure the corresponding forwarding mode for forwarding according to the written configuration forwarding mode command in a simple and rough manner, but divides the service message in a finer granularity manner, determines a WLAN forwarding mode matched with the service flow according to the service flow to which the received service message belongs, and further determines whether the service message is forwarded in a local forwarding manner or in a centralized forwarding manner, so that the flexibility of the AP in forwarding the message is improved.
Drawings
Fig. 1 is a schematic flow chart of forwarding a packet according to an embodiment of the present application;
fig. 2 is a flowchart illustrating a specific implementation of step 120 illustrated in fig. 1 according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of message forwarding provided in the embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in detail with reference to the accompanying drawings and specific embodiments.
Currently, local forwarding or centralized forwarding is generally written in an AP by using respective corresponding forwarding mode commands, for an AP, once a Service packet is received, the Service packet is forwarded according to a forwarding mode corresponding to the written forwarding mode command, if the forwarding mode corresponding to the forwarding mode command written in the AP is local forwarding, the Service packet is locally forwarded, if the forwarding mode corresponding to the forwarding mode command written in the AP is centralized, the Service packet is centrally forwarded through an AC, for example, a Service Set Identifier (SSID) in the AC is usually configured with the forwarding mode command, so that the local AP forwards the Service packet according to the configured SSID issued by the AC, and when the forwarding mode corresponding to the forwarding mode command configured in the SSID is local forwarding, all Service packets received by the AP, the service packet is forwarded locally, and when the forwarding mode corresponding to the forwarding mode command configured in the SSID is centralized forwarding, the AP forwards the service packet to the AC, so that the service packet is forwarded by the AC in a centralized manner. It can be seen that, although the forwarding of the service packet can be implemented according to the manner of forwarding the service packet in the forwarding mode corresponding to the configured forwarding mode command, no matter which forwarding mode the AP configures in the prior art, the received service packet is simply and roughly configured to be forwarded according to the written configured forwarding mode command, so that the flexibility of the AP configured with the fixed forwarding mode is poor when forwarding the packet.
In order to solve the foregoing technical problem, an embodiment of the present application provides a packet forwarding method, where the method is applied to an AP in a WLAN, and includes: determining a service flow to which the service message belongs according to the received service message; determining a WLAN forwarding mode matched with the service flow according to local configuration information; when the WLAN forwarding mode is local forwarding, forwarding the service message according to a local forwarding mode; and when the WLAN forwarding mode is centralized forwarding, forwarding the service message according to a centralized forwarding mode. It can be seen that, in the present application, when forwarding a service packet, the service packet is not configured to be forwarded in a corresponding forwarding mode according to a written configured forwarding mode command, but the service packet is divided into more fine-grained portions, so as to determine, according to a service flow to which the received service packet belongs, a WLAN forwarding mode matched with the service flow, and further determine whether the service packet is forwarded in a local forwarding manner or in a centralized forwarding manner, thereby improving the flexibility of the AP when forwarding the service packet.
Referring to fig. 1, fig. 1 is a diagram of a message forwarding method provided in this embodiment, where the method may be applied to an AP in a WLAN, where the AP is electrically connected to an AC.
As shown in fig. 1, the process may include the following steps:
step 110, determining a service flow to which the service message belongs according to the received service message;
a service message generally carries a message protocol, an IP address and a port; the IP address comprises a source IP address and a destination IP address, and the port comprises a source port and a destination port.
There are many implementations of implementing step 110, for example, in some embodiments, the implementation of implementing step 110 may include the following steps: analyzing at least one message information used for representing the service flow to which the service message belongs from the service message, and determining the service flow to which the service message belongs according to the analyzed at least one message information.
In some embodiments, the service flow to which the service packet belongs may be determined by using a source port, the service flow to which the service packet belongs may be determined by using a destination port, the service flow to which the service packet belongs may be determined by using a source IP address, and the service flow to which the service packet belongs may be determined by using a destination IP address.
After the message information is analyzed, the service flow to which the message belongs is determined according to the message information.
Step 120, determining a WLAN forwarding mode matched with the service flow according to local configuration information; when the WLAN forwarding mode is local forwarding, step 130 is executed, and when the WLAN forwarding mode is centralized forwarding, step 140 is executed.
In this step, the WLAN forwarding mode is local forwarding or centralized forwarding.
The local forwarding may be understood as converting an 802.11 packet into a packet in an 802.3 format, and forwarding according to a destination MAC.
As an embodiment, the local configuration information may be configured at the local AP, or may be sent to the local after being configured.
For example, taking the AP as an example for description, the configuration information may be configured locally at the AP, or may be configured on the AC for convenience of configuration, and the AC sends the configured configuration information to the AP.
In this step, the configuration information includes a relationship between the WLAN forwarding mode and the Service flow, and the corresponding relationship may be configured in an Access Control List (ACL) and a Quality of Service (QoS).
And step 130, forwarding the service packet according to a local forwarding mode.
And 140, forwarding the service message according to a centralized forwarding mode.
The scenario that some service packets are to be forwarded to the AC for centralized forwarding by the AC may include the following two cases:
in the first case: the AC is located at a headquarters where users need to access headquarters resources, and illustratively, the WLAN is deployed in an enterprise, the AC is deployed in an enterprise server, the headquarters resources are databases of the enterprise server, and the users are employees of various departments in the enterprise.
In the second case: a series of safety measures need to be taken for service messages sent by users, and based on the safety measures, the AC needs to perform centralized processing on the service messages.
As an embodiment, the centralized forwarding manner may be that the AP forwards to the AC, so as to be forwarded by the AC in a centralized manner.
As an embodiment, the implementation of step 140 may include: and forwarding the service message to the AC according to the tunnel between the AP and the AC for centralized forwarding.
In this embodiment, the AP forwards the service packet from the AP to the AC through the tunnel, so that the AC performs centralized forwarding.
Thus, the flow shown in fig. 1 is completed.
Therefore, through the flow shown in fig. 1, in the present application, when forwarding a service packet, an AP does not configure the service packet to a corresponding forwarding mode according to a written configured forwarding mode command for forwarding simply and roughly, but divides the service packet into finer granularity, so as to determine a WLAN forwarding mode matched with the service flow according to the service flow to which the received service packet belongs, and further determine whether the service packet is forwarded in a local forwarding manner or in a centralized forwarding manner, thereby improving the flexibility of the AP when forwarding the service packet.
After completing the process shown in fig. 2, the method further comprises the following steps: the configuration information sent from the AC is received, and in view of that the AC is more convenient to configure the configuration information relative to the AP, based on this, the configuration information may be configured on the AC, and after the configuration is completed, the AC may send the configured configuration information to the AP, so that the AP may implement forwarding of the service packet according to the local configuration information and according to the packet forwarding method provided in this embodiment.
As an embodiment, as shown in fig. 2, the implementation of the step 120 may include the following steps 121 and 122:
step 121, searching the WLAN forwarding mode corresponding to the service flow in the local configuration information.
In some embodiments, the configuration information may be configured in a QoS or ACL.
In the present application, other matching rules and execution sequences of the ACL or QoS are the same as the matching rules and execution sequences already owned by the existing ACL or QoS, and the details of this embodiment are not repeated herein.
In this step, each service flow corresponds to one WLAN forwarding mode, and as an embodiment, if the WLAN forwarding mode corresponding to the service flow is not found in the local configuration information, the service packet may be discarded, and error information representing the service flow for which the WLAN forwarding mode is not found is sent to the AC. In preparation for taking corresponding measures.
Step 122, determining the found WLAN forwarding mode corresponding to the service flow as the WLAN forwarding mode matched with the service flow.
Thus, the flow shown in fig. 2 is completed.
Therefore, through the process shown in fig. 2, the WLAN forwarding mode corresponding to the service flow can be quickly searched in the local configuration information, and the found WLAN forwarding mode corresponding to the service flow is determined as the WLAN forwarding mode matched with the service flow, so that the service packet is forwarded according to the WLAN forwarding mode matched with the service flow to which the service packet belongs, and further the flexibility of the AP in forwarding the packet is further improved.
As an embodiment, if the configuration information is configured in an ACL table, the implementation manner of the implementing step 121 may include the following steps: and searching an ACL table item matching the matching rule with the service flow in the configured ACL table, and determining a WLAN forwarding mode in the ACL table item as a WLAN forwarding mode corresponding to the service flow.
As an embodiment, an ACL table may be configured in the AP, where the ACL table may be matched with a plurality of sub-matching rules, each sub-matching rule is associated with an ACL entry, and the ACL entry may include a WLAN forwarding mode, and the WLAN forwarding mode may be local forwarding or centralized forwarding. In some embodiments, a service flow to which a service message belongs and a sub-matching rule are in a mapping relationship, the service flow to which a service message belongs is matched with a sub-matching rule, an ACL table item associated with the sub-matching rule is determined according to the sub-matching rule matched with the service flow to which the service message belongs, and forwarding is performed according to a WLAN forwarding mode in the ACL table item, so that forwarding with finer granularity can be realized under the condition that the ACL table is reduced, and further the flexibility of an AP in forwarding the service message is further improved.
In other embodiments, multiple ACL tables may be configured in the AP, each ACL table may be matched with one matching rule, and one matching rule is associated with one ACL entry, and the ACL entry may include a WLAN forwarding mode.
As an embodiment, if the configuration information is configured in QoS, the implementation of the implementing step 121 may include the following steps: and searching QoS configuration information matched with the matching rule and the service flow in the configured QoS configuration, and determining a WLAN forwarding mode in the QoS configuration information as a WLAN forwarding mode corresponding to the service flow. As an embodiment, the QoS configuration information may be configured in QoS configuration, where the QoS configuration includes matching rules matched with different service flows, and each matching rule is associated with a WLAN forwarding mode.
In some embodiments, the local configuration information may be globally configured in a global manner, so that all service packets under the global configuration may be forwarded according to the packet forwarding method described in any of the above embodiments. In other embodiments, the configuration may be extended to existing configurations, including any of: SSID configuration, user role configuration, and Virtual Local Area Network (VLAN) configuration, so that after existing configurations are correspondingly expanded in different scenarios, forwarding is performed according to the message forwarding method described in any of the above embodiments, so that, for users within a limited range, based on matching rules in configuration information, service messages received by the users can be divided more finely, a service flow to which the service messages belong is obtained, and a WLAN forwarding mode matched with the service flow is determined, so that forwarding of the service messages can be more flexibly achieved.
Thus, the description of the method provided in the present application is completed.
In order to understand the message forwarding method in the foregoing embodiments more thoroughly, a specific embodiment is described by taking an example that configuration information is configured in an ACL table, and it is assumed that the ACL is configured in an AC and configured in a VLAN, the method is applied to an AP in the VLAN, the ACL table is configured into a plurality of sub-matching rules, each sub-matching rule is associated with a WLAN forwarding mode, and the WLAN forwarding mode may be local forwarding or centralized forwarding, specifically:
in the first step, the AP receives a configured ACL table sent from the AC.
And secondly, the AP receives the service message, and analyzes at least one message information used for representing the service flow to which the service message belongs from the service message, wherein the message information can be an IP address, a protocol or a port. And determining the service flow to which the service message belongs according to the analyzed message information.
And thirdly, searching a sub-matching rule matched with the service flow to which the service message belongs and an ACL table item associated with the sub-matching rule from an ACL (access control list) which is issued to the AP locally and configured. Determining a WLAN forwarding mode in the ACL list item as a WLAN forwarding mode corresponding to a service flow to which the service message belongs, and forwarding the service message in a local forwarding mode when the WLAN forwarding mode is local forwarding; and when the WLAN forwarding mode is centralized forwarding, forwarding the service message to the AC from the tunnel between the AP and the AC so as to be forwarded by the AC in a centralized manner.
Taking another specific embodiment, it is described by taking an example that configuration information is configured in QoS, and it is assumed that the QoS is configured in advance under an AC and configured in a VLAN, the method is applied to an AP in the VLAN, the configured QoS configuration information in the configured QoS includes a plurality of sub-matching rules, each sub-matching rule is associated with a WLAN forwarding mode, and the WLAN forwarding mode may be local forwarding or centralized forwarding, specifically:
in the first step, the AP receives configured QoS from the AC.
And secondly, the AP receives the service message, and analyzes at least one message information used for representing the service flow to which the service message belongs from the service message, wherein the message information can be an IP address, a protocol or a port. And determining the service flow to which the service message belongs according to the analyzed message information.
And thirdly, searching a sub-matching rule matched with the service flow to which the service message belongs from the configured QoS distributed to the AP locally by the AC and QoS configuration information associated with the sub-matching rule. Determining a WLAN forwarding mode in the QoS configuration information as a WLAN forwarding mode corresponding to a service flow to which the service message belongs, and forwarding the service message in a local forwarding mode when the WLAN forwarding mode is local forwarding; and when the WLAN forwarding mode is centralized forwarding, forwarding the service message to the AC from the tunnel between the AP and the AC so as to be forwarded by the AC in a centralized manner.
The following describes the apparatus provided in the present application:
referring to fig. 3, fig. 3 is a schematic structural diagram of a message forwarding apparatus 300 provided in the present application. The device is applied to the AP in the WLAN, and comprises:
a service flow determining unit 301, configured to determine, according to the received service packet, a service flow to which the service packet belongs;
a forwarding mode determining unit 302, configured to determine, according to local configuration information, a WLAN forwarding mode matched with the service flow; when the WLAN forwarding mode is local forwarding, triggering a local forwarding unit, and when the WLAN forwarding mode is centralized forwarding, triggering a centralized forwarding unit;
the local forwarding unit 303 is configured to forward the service packet according to a local forwarding manner;
the centralized forwarding unit 304 is configured to forward the service packet in a centralized forwarding manner.
In an embodiment of the present application, the forwarding mode determining unit 302 may include:
a searching subunit, configured to search, in the local configuration information, a WLAN forwarding mode corresponding to the service flow,
and the forwarding mode determining subunit is configured to determine the WLAN forwarding mode corresponding to the found service flow as the WLAN forwarding mode matched with the service flow.
In an embodiment of the present application, the search subunit is specifically configured to:
searching an ACL table item matching a matching rule with the service flow in a configured ACL table, and determining a WLAN forwarding mode in the ACL table item as a WLAN forwarding mode corresponding to the service flow; alternatively, the first and second electrodes may be,
and searching QoS configuration information matched with the matching rule and the service flow in the configured QoS configuration, and determining a WLAN forwarding mode in the QoS configuration information as a WLAN forwarding mode corresponding to the service flow.
In an embodiment of the present application, the local configuration information is globally configured in a global manner, or the configuration is extended in an existing configuration on the AP, where the existing configuration includes any one of: SSID configuration, user role configuration, VLAN configuration.
Therefore, with the structure shown in fig. 3, the WLAN forwarding mode corresponding to the service flow can be quickly searched in the local configuration information, and the found WLAN forwarding mode corresponding to the service flow is determined as the WLAN forwarding mode matched with the service flow, so that the service packet is forwarded according to the WLAN forwarding mode matched with the service flow to which the service packet belongs, and further the flexibility of the AP in forwarding the packet is further improved.
Thus, the description of the structure of the device shown in fig. 3 is completed.
The implementation process of the functions and actions of each unit in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
In the electronic device provided in the embodiment of the present application, from a hardware level, a schematic diagram of a hardware architecture can be seen as shown in fig. 4. The method comprises the following steps: a machine-readable storage medium and a processor, wherein: the machine-readable storage medium stores machine-executable instructions executable by the processor; the processor is configured to execute machine-executable instructions to implement the message forwarding operations disclosed in the above examples.
A machine-readable storage medium is provided in embodiments of the present application that stores machine-executable instructions that, when invoked and executed by a processor, cause the processor to implement the message forwarding operations disclosed in the above examples.
Here, a machine-readable storage medium may be any electronic, magnetic, optical, or other physical storage device that can contain or store information such as executable instructions, data, and so forth. For example, the machine-readable storage medium may be: a RAM (random Access Memory), a volatile Memory, a non-volatile Memory, a flash Memory, a storage drive (e.g., a hard drive), a solid state drive, any type of storage disk (e.g., an optical disk, a dvd, etc.), or similar storage medium, or a combination thereof.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. A typical implementation device is a computer, which may take the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email messaging device, game console, tablet computer, wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Furthermore, these computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the application. One of ordinary skill in the art can understand and implement it without inventive effort.
So far, the description of the apparatus shown in fig. 4 is completed.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of protection of the present application.

Claims (10)

1. A message forwarding method is applied to an Access Point (AP) in a Wireless Local Area Network (WLAN), and comprises the following steps:
determining a service flow to which the service message belongs according to the received service message;
determining a WLAN forwarding mode matched with the service flow according to local configuration information;
when the WLAN forwarding mode is local forwarding, forwarding the service message according to a local forwarding mode;
and when the WLAN forwarding mode is centralized forwarding, forwarding the service message according to a centralized forwarding mode.
2. The method of claim 1, wherein determining the traffic flow matching WLAN forwarding pattern comprises:
searching a WLAN forwarding mode corresponding to the service flow in local configuration information;
and determining the WLAN forwarding mode corresponding to the searched service flow as the WLAN forwarding mode matched with the service flow.
3. The method of claim 2, wherein the searching for the WLAN forwarding mode corresponding to the service flow in the local configuration information comprises:
searching an ACL table item matching a matching rule with the service flow in a configured ACL table of an access control list, and determining a WLAN forwarding mode in the ACL table item as a WLAN forwarding mode corresponding to the service flow; alternatively, the first and second electrodes may be,
and searching QoS configuration information matched with the matching rule and the service flow in configured QoS configuration, and determining a WLAN forwarding mode in the QoS configuration information as a WLAN forwarding mode corresponding to the service flow.
4. The method of claim 2, wherein the local configuration information is globally configured or the configuration is extended in an existing configuration on the AP, and wherein the existing configuration includes any one of: service set identifier SSID configuration, user role configuration, virtual local area network VLAN configuration.
5. The method of claim 1, wherein when the WLAN forwarding mode is centralized forwarding, forwarding the service packet in a centralized forwarding manner comprises:
and forwarding the service message to the AC according to the tunnel between the AP and the AC for centralized forwarding.
6. A message forwarding device is applied to an Access Point (AP) in a Wireless Local Area Network (WLAN), and comprises:
a service flow determining unit, configured to determine, according to a received service packet, a service flow to which the service packet belongs;
a forwarding mode determining unit, configured to determine, according to local configuration information, a WLAN forwarding mode matched with the service flow; when the WLAN forwarding mode is local forwarding, triggering a local forwarding unit, and when the WLAN forwarding mode is centralized forwarding, triggering a centralized forwarding unit;
the local forwarding unit is configured to forward the service packet according to a local forwarding manner;
and the centralized forwarding unit is used for forwarding the service message according to a centralized forwarding mode.
7. The apparatus of claim 6, wherein the forwarding mode determining unit comprises:
a searching subunit, configured to search, in the local configuration information, a WLAN forwarding mode corresponding to the service flow,
and the forwarding mode determining subunit is configured to determine the WLAN forwarding mode corresponding to the found service flow as the WLAN forwarding mode matched with the service flow.
8. The apparatus according to claim 7, wherein the lookup subunit is specifically configured to:
searching an ACL table item matching a matching rule with the service flow in a configured ACL table of an access control list, and determining a WLAN forwarding mode in the ACL table item as a WLAN forwarding mode corresponding to the service flow; alternatively, the first and second electrodes may be,
and searching QoS configuration information matched with the matching rule and the service flow in configured QoS configuration, and determining a WLAN forwarding mode in the QoS configuration information as a WLAN forwarding mode corresponding to the service flow.
9. The apparatus of claim 7, wherein the local configuration information is globally configured in a global manner, or the configuration is extended in an existing configuration on the AP, and the existing configuration includes any one of: service set identifier SSID configuration, user role configuration, virtual local area network VLAN configuration.
10. An electronic device comprising a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor; the processor is configured to execute machine executable instructions to perform the method steps of any of claims 1-5.
CN202110336522.9A 2021-03-29 2021-03-29 Message forwarding method, device and equipment Pending CN113079518A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110336522.9A CN113079518A (en) 2021-03-29 2021-03-29 Message forwarding method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110336522.9A CN113079518A (en) 2021-03-29 2021-03-29 Message forwarding method, device and equipment

Publications (1)

Publication Number Publication Date
CN113079518A true CN113079518A (en) 2021-07-06

Family

ID=76611310

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110336522.9A Pending CN113079518A (en) 2021-03-29 2021-03-29 Message forwarding method, device and equipment

Country Status (1)

Country Link
CN (1) CN113079518A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115767155A (en) * 2022-09-07 2023-03-07 成都西加云杉科技有限公司 Network communication method, device, equipment and storage medium

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101577936A (en) * 2008-05-09 2009-11-11 华为技术有限公司 Method, system and equipment for controlling service forwarding in communication system
CN102143088A (en) * 2011-04-29 2011-08-03 杭州华三通信技术有限公司 Method and equipment for forwarding data based on security socket layer (SSL) virtual private network (VPN)
CN102377668A (en) * 2011-10-17 2012-03-14 中兴通讯股份有限公司 Method for optimizing service quality configuration and message-forwarding device
CN102869059A (en) * 2011-07-05 2013-01-09 中兴通讯股份有限公司 Method for switching wireless access controllers (ACs) and wireless access point (AP)
CN103491005A (en) * 2013-09-06 2014-01-01 福建星网锐捷网络有限公司 Method for controlling transmission of message, access point device and relevant system
CN104349396A (en) * 2013-08-09 2015-02-11 华为技术有限公司 Data packet forwarding method, device and system
US20160269897A1 (en) * 2013-07-11 2016-09-15 Chendu Skspruce Technology, Inc. Access point and system constructed based on the access point and access controller
CN105992395A (en) * 2015-01-30 2016-10-05 杭州华三通信技术有限公司 Method and device for realizing ultrathin access point
CN106507414A (en) * 2016-10-12 2017-03-15 杭州迪普科技股份有限公司 Message forwarding method and device
CN107517189A (en) * 2016-06-17 2017-12-26 中兴通讯股份有限公司 Method, the equipment that a kind of WLAN user access authentication and configuration information issue
CN107666443A (en) * 2016-07-29 2018-02-06 华为技术有限公司 A kind of message forwarding method and device
CN108737277A (en) * 2018-08-30 2018-11-02 新华三技术有限公司 A kind of message forwarding method and device
CN109041086A (en) * 2018-09-28 2018-12-18 新华三技术有限公司 A kind of configuration method and device of OpenFlow example
WO2020019925A1 (en) * 2018-07-26 2020-01-30 华为技术有限公司 Switching method and apparatus, and communications system
CN111049910A (en) * 2019-12-16 2020-04-21 瑞斯康达科技发展股份有限公司 Method, device, equipment and medium for processing message

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101577936A (en) * 2008-05-09 2009-11-11 华为技术有限公司 Method, system and equipment for controlling service forwarding in communication system
CN102143088A (en) * 2011-04-29 2011-08-03 杭州华三通信技术有限公司 Method and equipment for forwarding data based on security socket layer (SSL) virtual private network (VPN)
CN102869059A (en) * 2011-07-05 2013-01-09 中兴通讯股份有限公司 Method for switching wireless access controllers (ACs) and wireless access point (AP)
CN102377668A (en) * 2011-10-17 2012-03-14 中兴通讯股份有限公司 Method for optimizing service quality configuration and message-forwarding device
US20160269897A1 (en) * 2013-07-11 2016-09-15 Chendu Skspruce Technology, Inc. Access point and system constructed based on the access point and access controller
CN104349396A (en) * 2013-08-09 2015-02-11 华为技术有限公司 Data packet forwarding method, device and system
CN103491005A (en) * 2013-09-06 2014-01-01 福建星网锐捷网络有限公司 Method for controlling transmission of message, access point device and relevant system
CN105992395A (en) * 2015-01-30 2016-10-05 杭州华三通信技术有限公司 Method and device for realizing ultrathin access point
CN107517189A (en) * 2016-06-17 2017-12-26 中兴通讯股份有限公司 Method, the equipment that a kind of WLAN user access authentication and configuration information issue
CN107666443A (en) * 2016-07-29 2018-02-06 华为技术有限公司 A kind of message forwarding method and device
CN106507414A (en) * 2016-10-12 2017-03-15 杭州迪普科技股份有限公司 Message forwarding method and device
WO2020019925A1 (en) * 2018-07-26 2020-01-30 华为技术有限公司 Switching method and apparatus, and communications system
CN108737277A (en) * 2018-08-30 2018-11-02 新华三技术有限公司 A kind of message forwarding method and device
CN109041086A (en) * 2018-09-28 2018-12-18 新华三技术有限公司 A kind of configuration method and device of OpenFlow example
CN111049910A (en) * 2019-12-16 2020-04-21 瑞斯康达科技发展股份有限公司 Method, device, equipment and medium for processing message

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115767155A (en) * 2022-09-07 2023-03-07 成都西加云杉科技有限公司 Network communication method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
US11570703B2 (en) Roaming network access method and apparatus
CN108667695B (en) Backup method and device for BRAS transfer control separation
US10250501B2 (en) Service packet forwarding method and apparatus
CN108616431B (en) Message processing method, device, equipment and machine readable storage medium
CN109756430B (en) Rule processing method and device
CN108737224B (en) Message processing method and device based on micro-service architecture
US11356416B2 (en) Service flow control method and apparatus
CN107786450B (en) Data message transmission method and device and machine-readable storage medium
US10555247B2 (en) Roaming network access method and apparatus
CN108600109B (en) Message forwarding method and device
JP2020520612A (en) Packet transmission method, edge device, and machine-readable storage medium
EP4383664A1 (en) Communication method and apparatus
US8775404B1 (en) Dynamic populating of contact lists with additional communication-application user identifiers
CN113079518A (en) Message forwarding method, device and equipment
CN104301446A (en) Message processing method, switch device and system
CN113676959A (en) Service flow forwarding method, device and equipment based on 5G core network
CN107547382B (en) Neighbor relation discovery method and device
CN116886789A (en) Data transmission method, device, equipment and medium
WO2022270609A1 (en) Communication system, program, and communication control method
CN111107142B (en) Service access method and device
CN110896378B (en) Network traffic forwarding method and device, electronic equipment and machine-readable storage medium
US8369879B1 (en) Methods and systems for automatically forwarding data messages in a wireless telecommunications network
US20170105114A1 (en) Terminal management method and network device
CN114268591A (en) Data distribution method and device
CN108282380B (en) Method and device for detecting legality

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210706