Data forwarding method, system and device and storage medium

By working together between the wireless access controller and the access point, using pre-configured forwarding items and service feature databases, the forwarding method of data packets is determined, and the randomness caused by the inability to classify data packets in the prior art is solved. The forwarding method issue has improved the data forwarding efficiency.

CN119071849APending Publication Date: 2024-12-03SHEN ZHOU SHU MA WANG LUO BEI JING YOU XIAN GONG SI +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411226404.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-03
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

In the existing enterprise-level wireless network, the inability to determine the classification of data packets leads to random selection of forwarding methods, which affects the efficiency of data forwarding.

Method used

The wireless access controller pre-configured forwarding entry to the wireless access point, and determines its forwarding method by matching and analyzing the service characteristics of the target message to ensure that the data message is processed in accordance with the appropriate forwarding method.

Benefits of technology

It improves data forwarding efficiency, reduces the impact of forwarding efficiency due to the inability to determine the forwarding method, and ensures timely processing of data packets.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119071849A_ABST
    Figure CN119071849A_ABST
Patent Text Reader

Abstract

Disclosed are a data forwarding method, system, device and storage medium, which relate to the technical field of communications, the method comprising: a wireless access point receiving a target message sent by a user terminal, and if the target message is not successfully matched in a pre-configured forwarding table item, sending the target message to the user terminal; if yes, the target message is sent to the wireless access controller; the wireless access controller analyzes the target message to obtain a service feature of the target message; if the service feature of the target message exists in a service feature library of a pre-acquired service type, determining a target type of the service type of the target message, the target type being a service type corresponding to the service feature library to which the service feature of the target message belongs; and if the forwarding mode corresponding to the target type is centralized forwarding, forwarding the target message. The method can improve the forwarding efficiency of the data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a data forwarding method, system, device and storage medium. Background Art

[0002] Enterprise-level wireless networking usually has two data forwarding modes, one is local forwarding and the other is centralized forwarding. Local forwarding is to send all user data packets to the upper network through the wireless access point (AP) without going through the wireless access controller (AC) or other auxiliary equipment; centralized forwarding is to encapsulate all user data packets in the AP locally, and then send them to the AC through the data tunnel. The AC then decapsulates the packets and sends them to the upper network, thereby realizing centralized processing of data packets.

[0003] At present, some data packets can be pre-classified. When an AP receives a data packet, it first determines the classification of the data packet and then forwards it according to the forwarding method corresponding to the classification. However, there may be some data packets that do not have a corresponding classification, and then the AP will randomly select a forwarding method to forward, which affects the data forwarding efficiency. Summary of the invention

[0004] The present application provides a data forwarding method, system, device and storage medium, which can improve the impact on data forwarding efficiency.

[0005] In order to achieve the above objectives, this application adopts the following technical solutions:

[0006] In a first aspect, the present application provides a data forwarding method, wherein a wireless access controller sends a pre-configured forwarding table entry to a wireless access point in advance, wherein the forwarding table entry is used to indicate a service type of a message and a corresponding forwarding mode, and the method includes:

[0007] The wireless access point receives the target message sent by the user terminal;

[0008] The wireless access point determines whether the target message is successfully matched in the pre-configured forwarding table entry, and obtains a first determination result;

[0009] If the first judgment result indicates that the target message is not successfully matched in the pre-configured forwarding table entry, the wireless access point sends the target message to the wireless access controller;

[0010] The wireless access controller parses the target message to obtain a service feature of the target message;

[0011] The wireless access controller determines whether a service feature of the target message exists in a service feature library of the pre-acquired service type to obtain a second determination result;

[0012] If the second judgment result indicates that the service feature of the target message exists in the service feature library of the pre-acquired service type, the wireless access controller determines the target type according to the service type of the target message, and the target type is the service type corresponding to the service feature library to which the service feature of the target message belongs;

[0013] The wireless access controller determines whether the forwarding mode corresponding to the target type is centralized forwarding, and obtains a third judgment result;

[0014] If the third judgment result indicates that the forwarding mode corresponding to the target type is centralized forwarding, the wireless access controller forwards the target message.

[0015] Optionally, the method further includes:

[0016] The wireless access controller filters out target features from the service features of the target message;

[0017] The wireless access controller sends the target type and the target feature to the wireless access point;

[0018] The wireless access point updates a forwarding table entry according to the target type and the target feature.

[0019] Optionally, the method further includes:

[0020] If the third judgment result indicates that the forwarding mode corresponding to the target type is not centralized forwarding, the wireless access controller sends first forwarding information of the target message to the wireless access point;

[0021] The wireless access point forwards the target message according to the forwarding mode represented by the first forwarding information of the target message.

[0022] Optionally, the method further includes:

[0023] If the third judgment result indicates that the forwarding mode corresponding to the target type is not centralized forwarding, the wireless access controller sends prompt information for the target message to the wireless access point;

[0024] The wireless access point forwards the target message according to the prompt information of the target message and in a forwarding mode corresponding to the target type.

[0025] Optionally, the pre-configured forwarding table entries include hardware forwarding table entries, software forwarding table entries, and centralized forwarding table entries, and the method further includes:

[0026] If the first judgment result indicates that the target message is successfully matched in the hardware forwarding table, the wireless access point forwards the target message in a hardware forwarding manner;

[0027] If the first judgment result indicates that the target message is successfully matched in the software forwarding table, the wireless access point forwards the target message in a software forwarding manner;

[0028] If the first judgment result indicates that the target message is successfully matched in the centralized forwarding table entry, the wireless access point sends the target message and the second forwarding information of the target message to the wireless access controller;

[0029] The wireless access controller forwards the target message according to the forwarding mode represented by the second forwarding information.

[0030] In a second aspect, the present application provides a data forwarding system, including: a wireless access controller and a wireless access point;

[0031] The wireless access controller is used to send a pre-configured forwarding table entry to the wireless access point in advance, wherein the forwarding table entry is used to indicate the service type of the message and the corresponding forwarding mode;

[0032] The wireless access point is used to receive a target message sent by a user terminal; determine whether the target message is successfully matched in the pre-configured forwarding table entry to obtain a first determination result; if the first determination result indicates that the target message is not successfully matched in the pre-configured forwarding table entry, the target message is sent to the wireless access controller;

[0033] The wireless access controller is further used to parse the target message to obtain the service characteristics of the target message; determine whether the service characteristics of the target message exist in the service characteristic library of the pre-acquired service type to obtain a second judgment result; if the second judgment result indicates that the service characteristics of the target message exist in the service characteristic library of the pre-acquired service type, determine the service type of the target message as a target type, and the target type is the service type corresponding to the service characteristic library to which the service characteristics of the target message belong; determine whether the forwarding mode corresponding to the target type is centralized forwarding to obtain a third judgment result; if the third judgment result indicates that the forwarding mode corresponding to the target type is centralized forwarding, forward the target message.

[0034] Optionally, the wireless access controller is further used to filter out a target feature from the service feature of the target message; and send the target type and the target feature to the wireless access point;

[0035] The wireless access point is further configured to update the forwarding table entry according to the target type and the target feature.

[0036] Optionally, the wireless access controller is further configured to send first forwarding information of the target message to the wireless access point if the third judgment result indicates that the forwarding mode corresponding to the target type is not centralized forwarding;

[0037] The wireless access point is further configured to forward the target message according to the forwarding mode represented by the first forwarding information of the target message.

[0038] In a third aspect, the present application provides a computing device, including a memory and a processor;

[0039] One or more computer programs are stored in the memory, and the one or more computer programs include instructions; when the instructions are executed by the processor, the computing device executes the method as described in any one of the first aspects.

[0040] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store a computer program, and the computer program is used to execute the method as described in any one of the first aspects.

[0041] It can be seen from the above technical solution that the present application has at least the following beneficial effects:

[0042] The present application provides a data forwarding method, which can be collaboratively executed by a wireless access controller and a wireless access point. Specifically, the method includes: when the wireless access point determines that the target message sent by the user terminal is not successfully matched in the pre-configured forwarding table item, the target message can be forwarded to the wireless access controller, and then the wireless access controller parses the target message to obtain the service characteristics of the target message, and then determines whether the service characteristics of the target message exist in the service characteristic library of the pre-acquired service type, and if so, determines the service type of the target message as the target type, and the target type is the service type corresponding to the service characteristic library to which the service characteristics of the target message belong; and then the wireless access controller directly forwards the target message when it determines that the forwarding mode corresponding to the target type is centralized forwarding.

[0043] It can be seen that in this method, even if the target message is not successfully matched in the pre-configured forwarding table entry, the wireless access point can transmit the message to the wireless access controller, so that the wireless access controller determines that the service type of the target message is the target type, and continues to process the target message. This method can improve the forwarding efficiency of data.

[0044] It should be understood that the description of technical features, technical solutions, beneficial effects or similar language in this application does not imply that all features and advantages can be realized in any single embodiment. On the contrary, it is understood that the description of features or beneficial effects means that specific technical features, technical solutions or beneficial effects are included in at least one embodiment. Therefore, the description of technical features, technical solutions or beneficial effects in this specification does not necessarily refer to the same embodiment. Furthermore, the technical features, technical solutions and beneficial effects described in the present embodiment can also be combined in any appropriate manner. Those skilled in the art will understand that the embodiment can be realized without one or more specific technical features, technical solutions or beneficial effects of a specific embodiment. In other embodiments, additional technical features and beneficial effects can also be identified in a specific embodiment that does not embody all embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 A flowchart of a data forwarding method provided in an embodiment of the present application;

[0046] Figure 2 A schematic diagram of a data forwarding device provided in an embodiment of the present application;

[0047] Figure 3 A schematic diagram of a computing device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0048] The terms "first", "second", "third", etc. in the specification of this application and the accompanying drawings are used to distinguish different objects rather than to limit a specific order.

[0049] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0050] Centralized forwarding has many advantages. For example, user data packets are encapsulated using tunnel protocols, which enhances the security of user services. Data packets are sent to the AC in a unified manner, making it easier for the AC to identify, manage, and count traffic. The AC can also be used to implement Internet behavior management, behavior auditing, and other functions.

[0051] However, this centralized forwarding method also has some disadvantages. Since the bandwidth resources of AC are limited, the number of APs that AC can manage will be limited, so centralized forwarding cannot be applied to large-scale networks. In addition, the most prominent disadvantage of centralized forwarding is that this networking environment greatly increases the load of AC, requires extremely high bandwidth of AC, and consumes a lot of CPU. If you want to ensure high-load operation of AC, it will increase cost overhead.

[0052] The local forwarding method allows all user service data to be sent directly to the upper network through the AP. The advantage is that the AP undertakes the data forwarding task, thereby reducing the load on the AC, solving the AC bandwidth bottleneck problem, and helping to improve the overall network throughput. However, the disadvantage is also obvious. Local forwarding cannot control and manage the traffic of end users.

[0053] In addition, local forwarding faces another problem, which is that it does not differentiate between the traffic of different terminal services. When the terminal service traffic is large, the AP also faces problems such as heavy load, packet loss, and high network latency, which affects the user's network experience.

[0054] It can be seen that both centralized forwarding and local forwarding have obvious advantages and disadvantages. Both forwarding methods are too extreme and cannot meet user needs in all scenarios.

[0055] Normally, the AP can classify data packets and then forward them according to the forwarding mode corresponding to the classification of the data packets. However, for some data packets, their corresponding classification and forwarding mode cannot be determined. The AP will randomly select a forwarding mode for forwarding, which affects the data forwarding efficiency.

[0056] In view of this, an embodiment of the present application provides a data forwarding method, which can be collaboratively executed by a wireless access controller and a wireless access point. Specifically, the method includes:

[0057] When the wireless access point determines that the target message sent by the user terminal is not successfully matched in the pre-configured forwarding table item, the target message can be forwarded to the wireless access controller, and then the wireless access controller parses the target message to obtain the service feature of the target message, and then determines whether the service feature of the target message exists in the service feature library of the pre-acquired service type. If so, the service type of the target message is determined as the target type, and the target type is the service type corresponding to the service feature library to which the service feature of the target message belongs; and then the wireless access controller directly forwards the target message when it determines that the forwarding mode corresponding to the target type is centralized forwarding.

[0058] It can be seen that in this method, even if the target message is not successfully matched in the pre-configured forwarding table entry, the wireless access point can transmit the message to the wireless access controller, so that the wireless access controller determines that the service type of the target message is the target type, and continues to process the target message. This method can reduce the impact on data forwarding efficiency.

[0059] In order to make the technical solution of the present application clearer and easier to understand, the technical solution of the present application is introduced below in conjunction with the accompanying drawings. Figure 1 As shown, the figure is a flow chart of a data forwarding method provided in an embodiment of the present application, the method comprising:

[0060] S101: A wireless access controller sends a pre-configured forwarding table entry to a wireless access point in advance.

[0061] The forwarding table includes hardware forwarding table, software forwarding table and centralized forwarding table. The forwarding table includes the correspondence between service characteristics and forwarding modes. Table 1 shows an example of a hardware forwarding table.

[0062] Serial number Business characteristics 1 Feature 1 2 Feature 2 … …

[0063] After the wireless access controller sends the forwarding table items shown in Table 1 to the wireless access point, the wireless access point can identify the subsequently received message, and if the feature in the message matches the service feature in Table 1, the message is subsequently processed in a hardware forwarding manner.

[0064] It should be noted that each forwarding table entry can be user-defined and supports periodic updating.

[0065] S102: The user terminal sends a target message to the wireless access point.

[0066] The target message may be a message related to user behavior, such as a game message or a chat message.

[0067] S103: The wireless access point determines whether the target message is successfully matched in a pre-configured forwarding table entry.

[0068] If a first judgment result is obtained that the target message successfully matches the pre-configured forwarding table entry, S104 is executed; if a first judgment result is obtained that the target message does not successfully match the pre-configured forwarding table entry, S105 is executed.

[0069] After receiving the target message, the wireless access point can first determine whether the target message is successfully matched in the pre-configured forwarding table. In this process, the wireless access point can parse and process the target message to obtain the service characteristics of the target message. Among them, the service characteristics can be represented by a five-tuple, such as parameters such as source IP address, destination IP address, source port number, destination port number, and transmission protocol type.

[0070] Then a match is performed in the pre-configured forwarding table items. If the service characteristics of the target message do not exist in the pre-configured forwarding table items, a first judgment result of a match failure is obtained; if the service characteristics of the target message exist in the pre-configured forwarding table items, a first judgment result of a match success is obtained.

[0071] In some embodiments, the wireless access point may first match the hardware forwarding table entry, then match the software forwarding table entry, and finally match the centralized forwarding table entry. It should be noted that the embodiment of the present application does not specifically limit the order of matching the forwarding table entries.

[0072] S104: The wireless access point forwards the target message according to the matched forwarding mode.

[0073] In some embodiments, if the first judgment result indicates that the target message is successfully matched in the hardware forwarding table, the wireless access point forwards the target message in a hardware forwarding manner.

[0074] The parameters of the hardware forwarding table entry are one or more of the five parameters: source IP address, destination IP address, source port number, destination port number, and transport protocol type. The matching of the table entry needs to satisfy the relationship of and, that is, all parameters in the hardware forwarding table entry must be the same as the five-tuple parameters of the message. If the hardware forwarding table entry is successfully matched, the target message will be sent to the hardware QoS processing module. The implementation of the hardware QoS processing module depends on the hardware resources of the chip solution (such as bandwidth, buffer), and uses a dedicated hardware accelerator or ASIC (application-specific integrated circuit) to accelerate QoS processing.

[0075] If the first judgment result indicates that the target message matches successfully in the software forwarding table, the wireless access point forwards the target message in the software forwarding mode. If the target matches successfully in the software forwarding table, it will be sent to the AP. During the AP local data forwarding process, it needs to be processed by the software QoS processing module. For example, in the Linux system, the kernel implements the software QoS function, and the QoS rules can be configured and managed through the tc command.

[0076] The target message passes through the software QoS processing module and the hardware QoS processing module respectively, and their basic functions are similar. The QoS processing module first classifies and marks the target message. The classification standard is usually the characteristics of the target message, such as source address, destination address, port number, etc. Marking is to add some special QoS-related fields to the target message to indicate the service level or other special processing requirements of the target message. Then, high-priority messages are forwarded first through queue scheduling.

[0077] If the first judgment result indicates that the target message is successfully matched in the centralized forwarding table, the wireless access point sends the target message and the second forwarding information of the target message to the wireless access controller; the wireless access controller forwards the target message according to the forwarding mode indicated by the second forwarding information.

[0078] After deciding to adopt the centralized forwarding method, it can be implemented by hanging a message hook in the Linux kernel protocol stack. A centralized forwarding linked list is maintained in the hook as the centralized forwarding table item. The parameters of the linked list are one or more of the five parameters: source IP address, destination IP address, source port number, destination port number, and transmission protocol type.

[0079] When the "five-tuple" of the message entering the message hook is all the same as the parameters of the centralized forwarding table entry, it means that the message successfully matches the centralized forwarding table entry and will be encapsulated by the centralized forwarding processing module using the tunnel protocol.

[0080] The CAPWAP tunnel mainly consists of a control tunnel and a data tunnel. The control tunnel is used for interaction between the AP and the AC and for managing the AP. It uses UDP port 5246 for communication and is mainly used for the AC to send AP configuration and version information. The data tunnel is used for interaction between wireless users and the AC and to forward user service data. It uses UDP port 5247 for communication and transmits data for wireless users to surf the Internet and data for wireless users to connect to wireless signals. The establishment of a CAPWAP tunnel involves multiple steps, including AP discovery, authentication, and configuration delivery. The specific process includes the AP sending a discovery request, the AC responding to the discovery request, the AP sending a join request, and the AC responding to the join request and delivering the configuration.

[0081] The second forwarding information is used to inform the wireless access controller that the forwarding mode of the target message is centralized forwarding. The purpose of carrying the second forwarding information is to prevent the wireless access controller from identifying the target message as an unmatched message.

[0082] S105: The wireless access point sends the target message to the wireless access controller.

[0083] The wireless access point cannot determine the forwarding mode of the target message, and thus sends the target message to the wireless access controller, which determines how to subsequently process the target message.

[0084] In the embodiment of the present application, when the wireless access point cannot identify the forwarding method of the target message, it does not directly give up processing the target message, but asks the wireless access controller for subsequent processing measures for the target message, thereby reducing the impact caused by the wireless access point not forwarding the message, improving the success rate of data forwarding, and improving forwarding efficiency.

[0085] S106: The wireless access controller parses the target message to obtain service characteristics of the target message.

[0086] After receiving the target message, the wireless access controller can parse the target message to obtain the service characteristics of the target message. In some embodiments, a deep message inspection (DPI) function is integrated on the wireless access controller, and the service characteristics of the message can be obtained by analyzing the message. The DPI is an advanced network monitoring technology that obtains the specific protocol format or characteristics of the message by parsing the header information and effective load of the message.

[0087] S107: The wireless access controller determines whether there is a service feature of the target message in a service feature library of the pre-acquired service type.

[0088] In some embodiments, the wireless access controller may periodically obtain the latest service feature library of each service type from the cloud server. After the wireless access controller determines the service feature of the target message, it may determine whether it belongs to the service feature library of the pre-acquired service type. Exemplarily, if a second judgment result is obtained that the service feature of the target message does not exist in the service feature library of the pre-acquired service type, S108 is indicated; if a second judgment result is obtained that the service feature of the target message exists in the service feature library of the pre-acquired service type, S109 is executed.

[0089] S108: The wireless access controller directly forwards the target message.

[0090] When the wireless access controller cannot determine the service type of the target message, the target message is directly forwarded, thereby ensuring that the target message is processed in a timely manner.

[0091] S109: The wireless access controller determines a target type according to the service type of the target message.

[0092] The target type is a service type corresponding to the service feature library to which the service feature of the target message belongs. Table 2 shows a schematic diagram of a service feature library of a target type.

[0093] Table 2:

[0094]

[0095]

[0096] Table 3 shows a schematic table of service characteristics of a target message.

[0097] Table 3:

[0098]

[0099] It can be seen from Table 2 and Table 3 above that the first service feature and the second service feature of the target message match in the service feature database, so the wireless access controller can determine the service type of the target message as the target type.

[0100] S110: The wireless access controller determines whether the forwarding mode corresponding to the target type is centralized forwarding.

[0101] If the third judgment result is obtained that the forwarding mode corresponding to the target type is centralized forwarding, S111 is executed; if the third judgment result is obtained that the forwarding mode corresponding to the target type is not centralized forwarding, S112 is executed.

[0102] After obtaining the target type of the target message, the wireless access controller can first determine whether the forwarding mode corresponding to the target type is centralized forwarding. In some examples, the wireless access controller can determine whether the forwarding mode corresponding to the target type is centralized forwarding based on the forwarding table entry sent to the wireless access point.

[0103] S111. The wireless access controller forwards the target message.

[0104] If it is determined that the forwarding mode corresponding to the target type is centralized forwarding, the wireless access controller forwards the target message.

[0105] S112: The wireless access controller sends first forwarding information of the target message to the wireless access point.

[0106] If it is determined that the forwarding mode corresponding to the target type is not centralized forwarding, the wireless access controller sends first forwarding information of the target message to the wireless access point, where the first forwarding information is used to indicate a forwarding mode of the wireless access point for the target message.

[0107] S113: The wireless access point forwards the target message according to the forwarding mode represented by the first forwarding information of the target message.

[0108] After receiving the target message, the wireless access point may first determine the forwarding mode of the target message based on the first forwarding information, and then forward the target message according to the forwarding mode of the target message.

[0109] S114: The wireless access controller selects a target feature from the service features of the target message.

[0110] Among them, the target feature refers to the message feature that can be identified by the data forwarding table items in the AP, which are usually the second-layer and third-layer protocol parameters of the message. For the service applications of the user terminal, each service application generally has multiple servers, and the IP addresses of these servers are usually fixed in a short period of time; and some TCP / UDP connections established by these services on the AP side, the destination port number will not change during the validity period of the connection. Therefore, it can be determined that within a certain period, the user service message is fixed in the five-tuple parameters, so it can be identified as a valid feature, that is, the target feature. The target feature is only valid within a specific period, so it is necessary to set an aging period for the target feature, such as 5 minutes. When the aging period is reached, the target feature needs to be re-determined.

[0111] S115. The wireless access controller sends the target type and target characteristics to the wireless access point.

[0112] After the wireless access controller determines the target type and target characteristics, it can send the target type and target characteristics to the wireless access point.

[0113] S116: The wireless access point updates the forwarding table entry according to the target type and target characteristics.

[0114] The wireless access point updates the existing forwarding table entry based on the target type and the target feature, so that the updated forwarding table entry can identify the target message and perform forwarding processing.

[0115] In some embodiments, if the third judgment result indicates that the forwarding mode corresponding to the target type is not centralized forwarding, the wireless access controller sends prompt information for the target message to the wireless access point; the wireless access point is based on the prompt information of the target message, and the prompt information is used to prompt the wireless access point to re-match the target message based on the updated forwarding table entry, and then forward the target message according to the forwarding mode corresponding to the matched target type.

[0116] In the embodiment of the present application, the user can independently choose to turn on or off centralized forwarding based on the service type. For example, you can choose to allow video data packets with large bandwidth consumption to be forwarded locally, and non-video data packets to be forwarded centrally. This can prevent all user terminal service traffic from being concentrated on one end of the AC or AP, which will bring a large bandwidth load and CPU consumption to the device. At the same time, the AC can also identify and count data packets to achieve functions such as Internet behavior management and behavior auditing.

[0117] In the embodiment of the present application, the user configures QoS parameters based on the service type and sends them to the AP, thereby realizing network traffic control and providing performance and security for high-priority services. For example, configuring the QoS priority of the data message of the live broadcast service to be high can reduce the delay and packet loss of such data messages and ensure the bandwidth of such services.

[0118] In the embodiment of the present application, the AP divides local data forwarding into two modes: AP software forwarding and AP hardware forwarding. Since hardware forwarding does not occupy CPU resources, this division can achieve centralized forwarding and AP local message identification and management while taking into account AP data forwarding performance.

[0119] Based on the above description, the technical solution provided by the embodiment of the present application can support users to independently configure forwarding strategies for different service types, avoiding the excessively extreme disadvantages of traditional centralized forwarding and local forwarding. With the support of QoS technology and the cooperation between AP hardware forwarding and software forwarding, balanced forwarding of data packets can be achieved, improving the forwarding efficiency of wireless access points AP and access controllers AC. In addition, a forwarding method is also provided for data packets that do not have corresponding service types to avoid situations where data packets cannot be forwarded; and the data forwarding method provided by the embodiment of the present application can provide higher forwarding efficiency than the method of randomly selecting a forwarding method or not forwarding when the service type cannot be determined.

[0120] Combination of the above Figure 1 The data forwarding method provided in the embodiment of the present application is introduced in detail. The device and equipment provided in the embodiment of the present application will be introduced in conjunction with the accompanying drawings.

[0121] like Figure 2As shown, this figure is a schematic diagram of a data forwarding system provided in an embodiment of the present application, the system comprising: a wireless access controller 201 and a wireless access point 202;

[0122] The wireless access controller 201 is used to pre-send a pre-configured forwarding table entry to the wireless access point 202, wherein the forwarding table entry is used to indicate the service type of the message and the corresponding forwarding mode;

[0123] The wireless access point 202 is used to receive a target message sent by a user terminal; determine whether the target message is successfully matched in the pre-configured forwarding table entry to obtain a first judgment result; if the first judgment result indicates that the target message is not successfully matched in the pre-configured forwarding table entry, the target message is sent to the wireless access controller 201;

[0124] The wireless access controller 201 is further used to parse the target message to obtain the service characteristics of the target message; determine whether the service characteristics of the target message exist in the service characteristic library of the pre-acquired service type to obtain a second judgment result; if the second judgment result indicates that the service characteristics of the target message exist in the service characteristic library of the pre-acquired service type, determine the service type of the target message as a target type, and the target type is the service type corresponding to the service characteristic library to which the service characteristics of the target message belong; determine whether the forwarding mode corresponding to the target type is centralized forwarding to obtain a third judgment result; if the third judgment result indicates that the forwarding mode corresponding to the target type is centralized forwarding, forward the target message.

[0125] Optionally, the wireless access controller 201 is further configured to filter out a target feature from the service feature of the target message; and send the target type and the target feature to the wireless access point 202;

[0126] The wireless access point 202 is further configured to update the forwarding table entry according to the target type and the target feature.

[0127] Optionally, the wireless access controller 201 is further configured to send first forwarding information of the target message to the wireless access point 201 if the third judgment result indicates that the forwarding mode corresponding to the target type is not centralized forwarding;

[0128] The wireless access point 201 is further configured to forward the target message according to the forwarding mode represented by the first forwarding information of the target message.

[0129] Optionally, the wireless access controller 201 is further configured to send prompt information for the target message to the wireless access point 202 if the third judgment result indicates that the forwarding mode corresponding to the target type is not centralized forwarding;

[0130] The wireless access point 202 is further configured to forward the target message according to the prompt information of the target message and in accordance with the forwarding mode corresponding to the target type.

[0131] Optionally, the pre-configured forwarding table entries include hardware forwarding table entries, software forwarding table entries and centralized forwarding table entries;

[0132] The wireless access point 202 is further configured to forward the target message in a hardware forwarding manner if the first judgment result indicates that the target message matches successfully in the hardware forwarding table; forward the target message in a software forwarding manner if the first judgment result indicates that the target message matches successfully in the software forwarding table; and send the target message and the second forwarding information of the target message to the wireless access controller 201 if the first judgment result indicates that the target message matches successfully in the centralized forwarding table;

[0133] The wireless access controller 201 is further configured to forward the target message according to the forwarding mode represented by the second forwarding information.

[0134] The present application embodiment also provides a computing device. The computing device may be a wireless access point or a wireless access controller. Figure 3 As shown, this figure is a schematic diagram of a computing device provided in an embodiment of the present application, such as Figure 3 As shown, computing device 300 includes bus 301, processor 302, communication interface 303 and memory 304. Processor 302, memory 304 and communication interface 303 communicate with each other via bus 301.

[0135] The bus 301 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 3 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0136] The processor 302 may be any one or more of a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor (MP), or a digital signal processor (DSP).

[0137] The communication interface 303 is used for communicating with the outside.

[0138] The memory 304 may include a volatile memory, such as a random access memory (RAM). The memory 304 may also include a non-volatile memory, such as a read-only memory (ROM), a flash memory, a hard disk drive (HDD), or a solid state drive (SSD).

[0139] The memory 304 stores executable codes, and the processor 302 executes the executable codes to perform the aforementioned data forwarding method.

[0140] The embodiment of the present application also provides a computer-readable storage medium. The computer-readable storage medium can be any available medium that can be stored by a computing device or a data storage device such as a data center containing one or more available media. The available medium can be a magnetic medium (such as a floppy disk, a hard disk, a tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid-state hard disk). The computer-readable storage medium includes instructions that instruct the computing device to execute the above-mentioned data forwarding method.

[0141] The embodiment of the present application further provides a computer program product, which includes one or more computer instructions. When the computer instructions are loaded and executed on a computing device, the process or function described in the embodiment of the present application is generated in whole or in part.

[0142] The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer or data center to another website, computer or data center via wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means.

[0143] When the computer program product is executed by a computer, the computer executes any of the aforementioned data forwarding methods. The computer program product may be a software installation package, and when any of the aforementioned data forwarding methods is needed, the computer program product may be downloaded and executed on a computer.

[0144] The descriptions of the processes or structures corresponding to the above-mentioned figures have different emphases. For parts that are not described in detail in a certain process or structure, please refer to the relevant descriptions of other processes or structures.

[0145] The above description is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application.

Claims

1. A data forwarding method, It is characterized in that The wireless access controller sends a pre-configured forwarding table entry to the wireless access point in advance, wherein the forwarding table entry is used to indicate the service type of the message and the corresponding forwarding mode. The method includes: The wireless access point receives the target message sent by the user terminal; The wireless access point determines whether the target message is successfully matched in the pre-configured forwarding table entry, and obtains a first determination result; If the first judgment result indicates that the target message is not successfully matched in the pre-configured forwarding table entry, the wireless access point sends the target message to the wireless access controller; The wireless access controller parses the target message to obtain a service feature of the target message; The wireless access controller determines whether a service feature of the target message exists in a service feature library of the pre-acquired service type to obtain a second determination result; If the second judgment result indicates that the service feature of the target message exists in the service feature library of the pre-acquired service type, the wireless access controller determines the target type according to the service type of the target message, and the target type is the service type corresponding to the service feature library to which the service feature of the target message belongs; The wireless access controller determines whether the forwarding mode corresponding to the target type is centralized forwarding, and obtains a third judgment result; If the third judgment result indicates that the forwarding mode corresponding to the target type is centralized forwarding, the wireless access controller forwards the target message.

2. The method according to claim 1, It is characterized in that The method further comprises: The wireless access controller filters out target features from the service features of the target message; The wireless access controller sends the target type and the target feature to the wireless access point; The wireless access point updates a forwarding table entry according to the target type and the target feature.

3. The method according to claim 1, It is characterized in that The method further comprises: If the third judgment result indicates that the forwarding mode corresponding to the target type is not centralized forwarding, the wireless access controller sends first forwarding information of the target message to the wireless access point; The wireless access point forwards the target message according to the forwarding mode represented by the first forwarding information of the target message.

4. The method according to claim 2, It is characterized in that The method further comprises: If the third judgment result indicates that the forwarding mode corresponding to the target type is not centralized forwarding, the wireless access controller sends prompt information for the target message to the wireless access point; The wireless access point forwards the target message according to the prompt information of the target message and in a forwarding mode corresponding to the target type.

5. The method according to claim 1, It is characterized in that The pre-configured forwarding table entries include hardware forwarding table entries, software forwarding table entries, and centralized forwarding table entries. The method further includes: If the first judgment result indicates that the target message is successfully matched in the hardware forwarding table, the wireless access point forwards the target message in a hardware forwarding manner; If the first judgment result indicates that the target message is successfully matched in the software forwarding table, the wireless access point forwards the target message in a software forwarding manner; If the first judgment result indicates that the target message is successfully matched in the centralized forwarding table entry, the wireless access point sends the target message and the second forwarding information of the target message to the wireless access controller; The wireless access controller forwards the target message according to the forwarding mode represented by the second forwarding information.

6. A data forwarding system, It is characterized in that Includes wireless access controller and wireless access point; The wireless access controller is used to send a pre-configured forwarding table entry to the wireless access point in advance, wherein the forwarding table entry is used to indicate the service type of the message and the corresponding forwarding mode; The wireless access point is used to receive a target message sent by a user terminal; Determine whether the target message is successfully matched in the pre-configured forwarding table entry to obtain a first determination result; if the first determination result indicates that the target message is not successfully matched in the pre-configured forwarding table entry, send the target message to the wireless access controller; The wireless access controller is further used to parse the target message to obtain the service characteristics of the target message; Determine whether the service characteristics of the target message exist in the service characteristic library of the pre-acquired service type, and obtain a second judgment result; if the second judgment result indicates that the service characteristics of the target message exist in the service characteristic library of the pre-acquired service type, determine the target type according to the service type of the target message, and the target type is the service type corresponding to the service characteristic library to which the service characteristics of the target message belong; determine whether the forwarding mode corresponding to the target type is centralized forwarding, and obtain a third judgment result; if the third judgment result indicates that the forwarding mode corresponding to the target type is centralized forwarding, forward the target message.

7. The system according to claim 6, It is characterized in that The wireless access controller is further configured to filter out target features from the service features of the target message; and send the target type and the target features to the wireless access point; The wireless access point is further configured to update the forwarding table entry according to the target type and the target feature.

8. The system according to claim 6, It is characterized in that The wireless access controller is further configured to send first forwarding information of the target message to the wireless access point if the third judgment result indicates that the forwarding mode corresponding to the target type is not centralized forwarding; The wireless access point is further configured to forward the target message according to the forwarding mode represented by the first forwarding information of the target message.

9. A computing device, It is characterized in that including memory and processor; One or more computer programs are stored in the memory, and the one or more computer programs include instructions; when the instructions are executed by the processor, the computing device executes the method as claimed in any one of claims 1 to 5.

10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium is used to store a computer program, and the computer program is used to execute the method according to any one of claims 1 to 5.