CN110312283B - Information processing method and device - Google Patents

Information processing method and device Download PDF

Info

Publication number
CN110312283B
CN110312283B CN201810231214.8A CN201810231214A CN110312283B CN 110312283 B CN110312283 B CN 110312283B CN 201810231214 A CN201810231214 A CN 201810231214A CN 110312283 B CN110312283 B CN 110312283B
Authority
CN
China
Prior art keywords
service
queue
information
buffer
access point
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810231214.8A
Other languages
Chinese (zh)
Other versions
CN110312283A (en
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.)
XFusion Digital Technologies Co Ltd
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201810231214.8A priority Critical patent/CN110312283B/en
Publication of CN110312283A publication Critical patent/CN110312283A/en
Application granted granted Critical
Publication of CN110312283B publication Critical patent/CN110312283B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/15Flow control; Congestion control in relation to multipoint traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/32Flow control; Congestion control by discarding or delaying data units, e.g. packets or frames
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/90Buffering arrangements
    • H04L49/901Buffering arrangements using storage descriptor, e.g. read or write pointers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/90Buffering arrangements
    • H04L49/9057Arrangements for supporting packet reassembly or resequencing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • H04W28/065Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information using assembly or disassembly of packets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints
    • H04W28/14Flow control between communication endpoints using intermediate storage

Abstract

The application provides an information processing method and device, relates to the technical field of communication, and is used for solving the problem that request messages of other services cannot be sent and processed in time due to the fact that the request messages of a certain service are too many. The method is applied to access point equipment, the access point equipment communicates with an access controller through CAPWAP, the access point equipment comprises at least two buffer queues, and the method comprises the following steps: sending a service request message of a first service to an access controller, wherein the service request message comprises a first queue identifier and request information, the first queue identifier is used for identifying a first buffer queue, the first buffer queue belongs to at least two buffer queues and is used for caching the message of the first service, and the request information is used for requesting to process the first service; and receiving a service response message from the access controller, wherein the service response message comprises a first queue identifier and response information, and the response information is used for indicating that the service request message is successfully received.

Description

Information processing method and device
Technical Field
The embodiment of the application relates to the technical field of communication, in particular to an information processing method and device.
Background
A Control And configuration Protocol (CAPWAP) of a Wireless Access point is a general tunnel Protocol, And can be used to complete basic Protocol functions such as Wireless Terminal Points (WTPs) discovering Wireless Access Controllers (ACs).
The CAPWAP protocol is realized based on a UDP protocol and can respectively provide a control channel and a data channel. A reliable transmission mechanism is provided for a control channel, namely CAPWAP control messages are necessarily paired, WTPs send request messages, AC needs to send response messages to the WTPs after processing the request messages, the WTPs consider that the last request message is sent successfully after receiving the response messages and continue to send subsequent request messages, and if the WTPs do not receive response messages in a specified time, the last request message is retransmitted.
At present, request messages of the CAPWAP protocol are transmitted through a single message queue, for example, as shown in fig. 1, when request messages of multiple services (for example, service 1 and service 2) exist in the queue, there may be a situation that the request messages of other services of WTPs cannot be sent and processed in time due to too many request messages of a certain service and too long AC processing time, so that normal operations of other services are affected.
Disclosure of Invention
Embodiments of the present application provide an information processing method and apparatus, which solve the problem in the prior art that request messages of other services cannot be sent and processed in time due to too many request messages of a certain service.
In order to achieve the above purpose, the embodiment of the present application adopts the following technical solutions:
in a first aspect, an information processing method is provided, which is applied to an access point device or a chip built in the access point device, where the access point device communicates with an access controller through a control and configuration protocol CAPWAP of a wireless access point, and the access point device includes at least two buffer queues, where the method includes: sending a service request message of a first service to an access controller, wherein the service request message comprises a first queue identifier and request information, the first queue identifier is used for identifying a first buffer queue, the first buffer queue belongs to at least two buffer queues and is used for caching the message of the first service, and the request information is used for requesting to process the first service; and receiving a service response message from the access controller, wherein the service response message comprises a first queue identifier and response information, and the response information is used for indicating that the service request message is successfully received.
In a possible implementation manner of the first aspect, before sending the service request packet of the first service to the access controller, the method further includes: determining a first buffer queue from the corresponding relation between the service and the buffer queue according to the first service; and generating a service request message of the first service according to the first queue identification and the request information of the first buffer queue.
In a possible implementation manner of the first aspect, the headers of the service request packet and the service response packet each include wireless specific information (wireless specific information), and the wireless specific information is used to indicate the first queue id.
In one possible implementation manner of the first aspect, the wireless specific information includes a length field and a data field, the length field is used for indicating a length of the data field, the structure of the data field is a TLV structure and includes a type, a length, and a value, and the data field is used for indicating the first queue identity.
In a second aspect, an information processing method is provided, which is applied to an access controller or a chip built in the access controller, an access point device communicates with the access controller through a control and configuration protocol CAPWAP of a wireless access point, the access controller includes at least two buffer queues, and the method includes: receiving a service request message from access point equipment, wherein the service request message comprises a first queue identifier and request information, the first queue identifier is used for identifying a first buffer queue, the first buffer queue belongs to at least two buffer queues and is used for caching messages of a first service, and the request information is used for requesting to process the first service; and sending a service response message to the access point equipment, wherein the service response message comprises the first queue identifier and response information, and the response information is used for indicating that the service request message is successfully received.
In a possible implementation manner of the second aspect, before sending the service response packet to the access point device, the method further includes: determining a first buffer queue from the corresponding relation between the service and the buffer queue according to the first service; and generating a service response message of the first service according to the first queue identification and the response information of the first buffer queue.
In a possible implementation manner of the second aspect, the headers of the service request message and the service response message each include wireless dedicated information, and the wireless dedicated information is used to indicate the first queue identifier.
In one possible implementation manner of the second aspect, the wireless specific information includes a length field and a data field, the length field is used for indicating the length of the data field, the structure of the data field is a TLV structure and includes a type, a length and a value, and the data field is used for indicating the first queue identification.
In a third aspect, an information processing apparatus is provided, where the information processing apparatus is an access point device or a chip for an access point device, and the information processing apparatus includes a function that can implement the information processing method provided in any one of the possible implementation manners of the first aspect to the first aspect. The functions can be realized by hardware, and the functions can also be realized by executing corresponding software by hardware. The hardware or software comprises one or more units corresponding to the functions.
In a possible implementation manner of the third aspect, the information processing apparatus includes a processor and a memory connected to the processor, the memory is used for storing program codes, and when the program codes are executed by the processor, the information processing apparatus is caused to execute the following steps: sending a service request message of a first service to an access controller, wherein the service request message comprises a first queue identifier and request information, the first queue identifier is used for identifying a first buffer queue, the first buffer queue belongs to at least two buffer queues and is used for caching the message of the first service, and the request information is used for requesting to process the first service; and receiving a service response message from the access controller, wherein the service response message comprises a first queue identifier and response information, and the response information is used for indicating that the service request message is successfully received.
In a possible implementation manner of the third aspect, before sending the service request packet of the first service to the access controller, the information processing apparatus further performs the following steps: determining a first buffer queue from the corresponding relation between the service and the buffer queue according to the first service; and generating a service request message of the first service according to the first queue identification and the request information of the first buffer queue.
In a possible implementation manner of the third aspect, the headers of the service request packet and the service response packet each include wireless dedicated information, and the wireless dedicated information is used to indicate the first queue identifier.
In a possible implementation manner of the third aspect, the wireless specific information includes a length field and a data field, the length field is used for indicating a length of the data field, the structure of the data field is a TLV structure and includes a type, a length, and a value, and the data field is used for indicating the first queue identity.
In a fourth aspect, an information processing apparatus is provided, which may be an access controller or a chip built in the access controller, and which may implement the functions of the information processing method provided in any one of the possible implementations of the second aspect to the second aspect. The functions can be realized by hardware, and the functions can also be realized by executing corresponding software by hardware. The hardware or software comprises one or more units corresponding to the functions.
In a possible implementation manner of the fourth aspect, the information processing apparatus is an access controller or a chip for the access controller, the information processing apparatus includes a processor and a memory connected to the processor, the memory is used for storing program codes, and when the program codes are executed by the processor, the information processing apparatus is caused to execute the following steps: receiving a service request message from access point equipment, wherein the service request message comprises a first queue identifier and request information, the first queue identifier is used for identifying a first buffer queue, the first buffer queue belongs to at least two buffer queues and is used for caching messages of a first service, and the request information is used for requesting to process the first service; and sending a service response message to the access point equipment, wherein the service response message comprises the first queue identifier and response information, and the response information is used for indicating that the service request message is successfully received.
In one possible implementation manner of the fourth aspect, the information processing apparatus further performs the following steps: before sending the service response message to the access point device, the method further includes: determining a first buffer queue from the corresponding relation between the service and the buffer queue according to the first service; and generating a service response message of the first service according to the first queue identification and the response information of the first buffer queue.
In a possible implementation manner of the fourth aspect, the headers of the service request packet and the service response packet each include wireless dedicated information, and the wireless dedicated information is used to indicate the first queue identifier.
In one possible implementation manner of the fourth aspect, the wireless dedicated information includes a length field and a data field, the length field is used for indicating the length of the data field, the structure of the data field is a TLV structure and includes a type, a length and a value, and the data field is used for indicating the first queue identification.
In yet another aspect of the present application, a computer-readable storage medium is provided, which stores instructions that, when executed on a computer, cause the computer to perform the information processing method provided by the first aspect or any one of the possible implementation manners of the first aspect.
In yet another aspect of the present application, a computer-readable storage medium is provided, which stores instructions that, when executed on a computer, cause the computer to perform the information processing method provided by the second aspect or any possible implementation manner of the second aspect.
In a further aspect of the present application, there is provided a computer program product containing instructions, which when run on a computer, causes the computer to perform the information processing method provided in the first aspect or any one of the possible implementation manners of the first aspect.
In a further aspect of the present application, there is provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the information processing method provided by the second aspect or any one of the possible implementations of the second aspect.
In the information processing method and apparatus provided in the embodiment of the application, the access point device and the access controller both include at least two buffer queues, and when the access point device and the access controller send messages of different services, the access point device and the access controller can send respective messages through the buffer queue corresponding to each service, and carry the identifier of the buffer queue in the message, so that an opposite end can buffer the received messages in the corresponding buffer queue for processing, thereby avoiding the problem that the request messages of a certain service are too many and the request messages of other services cannot be sent and processed in time, and improving the performance of service processing.
Drawings
FIG. 1 is a diagram illustrating a request message transmission;
fig. 2 is a schematic structural diagram of a communication system according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a control packet according to an embodiment of the present application;
fig. 4 is a schematic flowchart of an information processing method according to an embodiment of the present application;
fig. 5 is a schematic diagram illustrating transmission of a request message according to an embodiment of the present application;
fig. 6 is a schematic flowchart of another information processing method according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a CAPWAP header according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of a wireless dedicated information field according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a data field according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a first information processing apparatus according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of a second information processing apparatus according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of a third information processing apparatus according to an embodiment of the present application;
fig. 13 is a schematic structural diagram of a fourth information processing apparatus according to an embodiment of the present application.
Detailed Description
Fig. 2 is a schematic structural diagram of a communication system according to an embodiment of the present disclosure, where the communication system includes a request end And a receiving end, And the request end And the receiving end communicate via a Control And Provisioning Protocol (CAPWAP) of a Wireless Access point. The CAPWAP protocol is a general tunnel protocol, and can be used to complete basic protocol functions such as Access Point (AP) discovery Access Controller (AC), and defines how to manage and configure Access points. In a communication system, the requesting end may be an Access point device, such as Wireless Terminal Access Points (WTPs), and the receiving end may be an Access Controller (AC). The CAPWAP can realize the automatic discovery of WTPs to the AC and the operation and maintenance of state machines of the WTPs and the AC, realize the management and the service configuration issuing of the AC to the WTPs, and provide a reliable mechanism for controlling the receiving and sending of messages and data messages.
The CAPWAP protocol is realized based on a UDP protocol and respectively provides a control channel and a data channel. A control channel, for which 5246 port is used, and a data channel, for which 5247 port is used, are provided separately. The CAPWAP provides a reliable transmission mechanism for the control channel, and for the control packet, the packet structure thereof is as shown in fig. 3, and includes: a Message Type (Message Type), a Sequence Number (SN), a Message Element Length (Message Element Length), a Flag (Flag), and a Message Element (Message Element).
The CAPWAP control messages are necessarily paired, the request end sends a request message, the receiving end needs to send a response message to the request end after processing the request message, and the request end considers that the last request message is successfully sent after receiving the response message and continues to send subsequent request messages. If the request end does not receive the response message in the specified time, the request end retransmits the last request message, and the retransmission interval can be 3S and the retransmission times can be 5 times in the default case. The Type of the Message is identified by a Message Type, where the Message Type of the request Message must be odd, and the Message Type of the response Message is equal to the request Message Type + 1. The Sequence Number (SN) in the CAPWAP control message is used for preventing mess, can be generated by a request end, the value range of the SN can be 0-255, the SN is added with 1 when the request end sends a request message, and when the SN exceeds 255, the SN is turned over to be 0. The SN carried in the CAPWAP response message must be consistent with the SN of the corresponding request message, and if not, the message is regarded as an illegal message and is directly discarded. For example, as shown in fig. 1, assuming that the message Type in the request message sent by the requesting end is 1 and the sequence number SN is 1, the receiving end returns the Type in the corresponding response message is 2 and the SN is 1.
Fig. 4 is a flowchart illustrating an information processing method according to an embodiment of the present application, where the method may be applied to the communication system shown in fig. 2, and referring to fig. 4, the method includes the following steps.
Step 401: the access point equipment sends a service request message of a first service to the access controller, wherein the service request message comprises a first queue identification and request information.
The access point device comprises at least two buffer queues, the first queue identification is used for identifying the first buffer queue, the first buffer queue belongs to the at least two buffer queues and is used for buffering the message of the first service, and the request information is used for requesting to process the first service.
The access point device may be a wireless terminal access point device (WTPs), where the WTPs may include multiple buffering queues, and there may be multiple services, and there may be a correspondence between the multiple services and the multiple buffering queues, and a buffering queue corresponding to each service may be used to buffer a packet corresponding to the service. The first service may be any one of a plurality of services, the first buffer queue may be any one of a plurality of queues, and the first queue identifier is used to identify the first buffer queue, for example, the first identifier may be a queue number of the first buffer queue.
Specifically, when the WTPs need to send request information of the first service to the AC, the WTPs may buffer a service request packet of the first service in the first buffer queue, and send the service request packet through the first buffer queue, where the service request packet includes the first queue identifier and the request information.
It should be noted that, the correspondence between the multiple services and the multiple buffer queues may also be referred to as a correspondence between the services and the buffer queues, and the correspondence may include a one-to-one, one-to-many, or many-to-one relationship, that is, one service may correspond to one buffer queue, or one service may correspond to multiple buffer queues, or multiple services may correspond to one buffer queue, which is not specifically limited in this embodiment of the present application.
In addition, the correspondence relationship may be set in advance. For example, if the communication of a certain service is frequent and the number of messages of the service is large, one or more buffer queues may be allocated to the service; or, the communication of some services is sparse, so that the number of messages of the services is small, and the services can be allocated to share one buffer queue.
For convenience of understanding, the example that the plurality of services includes 4 services (e.g., service 1 to service 4), the plurality of buffer queues includes 4 buffer queues (e.g., queue 1 to queue 4), and the correspondence between the 4 services and the 4 buffer queues is described as the following table 1.
TABLE 1
Figure BDA0001602839790000051
Step 402: the access controller receives a service request message from the access point device, wherein the service request message comprises a first queue identifier and request information.
The access controller may also include at least two buffer queues, and the first queue identifier may also be used to identify a first buffer queue of the at least two buffer queues of the access controller, where the first buffer queue is used to buffer the packet of the first service. In addition, the at least two buffering queues may be a plurality of buffering queues, and there may also be a correspondence between a plurality of services of the access controller and the plurality of buffering queues thereof, where the correspondence may be a one-to-one, one-to-many, or many-to-one relationship, and the correspondence may be allocated in advance. For a detailed description of the corresponding relationship, reference may be specifically made to the related description of the corresponding relationship in step 401, and details are not repeated herein in this embodiment of the application.
After the access point device sends the service request message of the first service to the access point device, the access controller may receive the service request message. The access controller may cache the service request packet in a first cache queue corresponding to the first queue identifier according to the first queue identifier included in the service request packet. Furthermore, when the access controller processes the service request message, the access controller may obtain the service request message from the first buffer queue, obtain request information in the service request message, and process the first service according to the request information.
Step 403: and the access controller sends a service response message to the access point equipment, wherein the service response message comprises the first queue identifier and response information, and the response information is used for indicating that the service request message is successfully received.
After receiving a service request message of a first service, the access controller may send a corresponding service response message to the access point device through the first buffer queue, where the service response message includes a first queue identifier and response information used to indicate that the service request message is successfully received.
The service request message and the service response message correspond to each other, that is, the service request message and the service response message are a pair of messages. Assuming that the message Type in the service request message is 3 and the sequence number SN is 3, the message Type in the service response message is 4 and the sequence number SN is 3.
Step 404: the access point equipment receives a service response message from the access controller, wherein the service response message comprises the first queue identification and response information.
When the access point device receives the service response message, the service response message may be cached in the first buffer queue, and when the access point device processes the service response message, the access point device may obtain the service response message from the first buffer queue, and determine that the service request message of the first service is successfully received according to the response information in the service response message.
For example, the communication between the WTPs and the AC includes messages of service 1 and service 2, where service 1 uses queue No. 0 and service 2 uses queue No. 1, and the message distribution of service 1 and service 2 can be as shown in fig. 5, so that messages of different services are transmitted through different buffer queues, and the problem that the request messages of other services of the WTPs cannot be sent and processed in time due to excessive request messages of a certain service and excessively long AC processing time is avoided.
Further, referring to fig. 6, before the access point device sends the service request message of the first service to the access controller (i.e. step 401), the access point device may further generate the service request message, that is, the method further includes: step 401a and step 401 b.
Step 401 a: and the access point equipment determines a first buffer queue from the corresponding relation between the service and the buffer queue according to the first service.
When the access point device needs to send request information of the first service to the access controller, the access point device may determine, according to the first service, the first buffer queue from a correspondence between a preset service and the buffer queue, that is, determine the buffer queue corresponding to the first service.
Step 401 b: and the access point equipment generates a service request message of the first service according to the first queue identification and the request information of the first buffer queue.
After the access point device determines that the cache queue corresponding to the first service is the first cache queue, the access point device may generate a service request packet of the first service according to the identifier of the first cache queue (i.e., the first queue identifier) and the request information of the first service.
Specifically, when a first service in the access point device needs to send request information, the first service may deliver the request information to a first buffer queue allocated in advance, and the CAPWAP may write an identifier of the first buffer queue into a CAPWAP header of the first service when sending the request information, and then send the identifier, that is, write the identifier of the first buffer queue into a service request message. Furthermore, after the access controller receives the service request message, the access controller can analyze the CAPWAP header to obtain a first queue identifier, so that the service request message is cached in a first buffer queue to wait for processing.
Accordingly, referring to fig. 6, before the access controller sends the service response message to the access point device (i.e., step 403), the access point device may further generate the service response message, that is, the method further includes: step 403a and step 403 b.
Step 403 a: and the access controller determines the first buffer queue from the corresponding relation between the service and the buffer queue according to the first service.
When the access controller needs to send the response information of the first service to the access point device, the access controller may determine, according to the first service, the first buffer queue from a preset correspondence between the service and the buffer queue, that is, determine the buffer queue corresponding to the first service.
Step 403 b: and the access controller generates a service response message of the first service according to the first queue identification and the response information of the first buffer queue.
After the access controller determines that the cache queue corresponding to the first service is the first cache queue, the access controller may generate a service response packet of the first service according to the identifier of the first cache queue (i.e., the identifier of the first queue) and the response information of the first service.
Specifically, when the access controller processes a service of the first service and needs to send a response message, the service may deliver the response message to a first buffer queue allocated in advance, and the CAPWAP may write an identifier of the first buffer queue into a CAPWAP header of the CAPWAP when sending the response message, and then send the identifier, that is, write the identifier of the first queue into the service response message. Furthermore, after the access point device receives the service response message, the access point device may analyze the CAPWAP header to obtain a first queue identifier, so as to cache the service response message in the first buffer queue for processing.
Further, the service request packet and the service response packet are both CAPWAP control packets, and headers of the service request packet and the service response packet both include wireless dedicated information (wireless specific information), that is, a Header of the CAPWAP control packet includes wireless dedicated information, and the wireless dedicated information is used to indicate the first queue identifier.
As shown in fig. 7, a structural diagram of a CAPWAP header is shown, where the CAPWAP header includes a fixed field and an extension field, the inherent field includes a CAPWAP Preamble (CAPWAP Preamble), a Header Length (HLEN), a Radio frequency ID (rid), a Radio frame identifier (WBID), a data frame identifier (T), a packet flag (F), a packet end flag (L), a bit option flag (W), a bit selection flag (M), a bit survival flag (K), a Reserved flag (Flags), a packet identifier (Fragment ID), a packet Offset (Fragment Offset), a Reserved code (Reserved, which is denoted by Rsvd in fig. 7), and a load (Payload), and the extension field may include a Wireless MAC Address (Radio MAC Address) and Wireless dedicated Information (Wireless Information). When the value of the bit option mark W is 1, a wireless special information option exists; when the value of the bit option flag M is 1, the wireless MAC address option exists. The detailed description of each field in the CAPWAP header can be found in the CAPWAP protocol, which is not specifically described in the embodiments of the present application.
In the embodiment of the application, the information for indicating the first queue identifier may be added to the header of the CAPWAP packet by using the wireless dedicated information. Wherein the CAPWAP protocol specifies that the bit option flag W has a value of 1 if a wireless specific information field is to be used.
The structure of the wireless dedicated information is shown in fig. 8, and includes a Length (Length) indicating the Length of Data and Data (Data). Illustratively, in fig. 8, Length occupies 8bits as an example, and the Length of Data is determined by the specific value of Length.
In the embodiment of the present application, Data is redefined, and the structure of the Data field is defined as a TLV structure, that is, the TLV structure includes a Type (Type), a Length (Length), and a Value (Value). Exemplarily, as shown in fig. 9, it is a schematic diagram of the structure of Data.
Alternatively, Type may be set to 1, Length may be set to 2, the Value of Value represents the first queue identifier (for example, the Value of Value is the actual queue number), and the Value Type of Value may be set to a short integer, which has a Value range of 0 to 65536. In practical application, the number of the maximum supported buffer queues can be set according to the performance of the device.
In the information processing method provided by the embodiment of the application, the access point device and the access controller both include at least two buffer queues, and when the access point device and the access controller send messages of different services, the access point device and the access controller can send respective messages through the buffer queue corresponding to each service, and carry the identifier of the buffer queue in the message, so that an opposite end can buffer the received messages in the corresponding buffer queue for processing, thereby avoiding the problem that the request messages of a certain service are too many and the request messages of other services cannot be sent and processed in time, and improving the performance of service processing.
The above-mentioned scheme provided by the embodiment of the present application is introduced mainly from the perspective of interaction between network elements. It will be appreciated that the various network elements, such as the access point device and the access controller. To implement the above functions, it includes hardware structures and/or software modules for performing the respective functions. Those of skill in the art would readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, functional modules may be divided between the access point device and the access controller according to the above method, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. It should be noted that, in the embodiment of the present application, the division of the module is schematic, and is only one logic function division, and there may be another division manner in actual implementation. The following description will be given by taking the division of each function module corresponding to each function as an example:
in the case of using an integrated unit, fig. 10 shows a schematic diagram of a possible configuration of the information processing apparatus involved in the above-described embodiment. The information processing apparatus may be an access point device or a chip built in the access point device, and includes: a transmitting unit 1001 and a receiving unit 1002. Wherein, the sending unit 1001 is used to support the information processing apparatus to execute step 401 in fig. 4 or fig. 6; the receiving unit 1002 is used to support the information processing apparatus to execute step 404 in fig. 4 or fig. 6. Further, the information processing apparatus further includes a processing unit 1003; among other things, the processing unit 1003 supports the information processing apparatus to perform steps 401a and 401b in fig. 6, and other technical processes described herein. All relevant contents of each step related to the above method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again.
Based on the hardware implementation, the processing unit 1003 in this application may be a processor of an information processing apparatus, the transmitting unit 1001 may be a transmitter of information processing, the receiving unit 1002 may be a receiver of the information processing apparatus, the transmitter and the receiver may be integrated together to be used as a transceiver, and a specific transceiver may also be referred to as a communication interface.
Fig. 11 is a schematic diagram illustrating a possible logical structure of the information processing apparatus according to the foregoing embodiments, according to an embodiment of the present application. The information processing apparatus may be an access point device or a chip built in the access point device, and includes: a processor 1102, and a communication interface 1103. Processor 1102 is configured to control and manage the information processing apparatus actions, e.g., processor 1102 is configured to enable the information processing apparatus to perform steps 401a, 401b of fig. 6, and/or other processes for the techniques described herein. Further, the information processing apparatus may further include a memory 1101 and a bus 1104, the processor 1102, the communication interface 1103, and the memory 1101 being connected to each other by the bus 1104; the communication interface 1103 is used to support the information processing apparatus to perform communication; the memory 1101 is used to store program codes and data of the information processing apparatus.
The processor 1102 may be, among other things, a central processing unit, a general purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, transistor logic, a hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, a digital signal processor and a microprocessor, or the like. The bus 1104 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 11, but this is not intended to represent only one bus or type of bus.
In the case of using an integrated unit, fig. 12 shows a schematic diagram of a possible configuration of the information processing apparatus involved in the above-described embodiment. The information processing apparatus may be an access controller or a chip built in the access controller, and includes: a receiving unit 1201 and a transmitting unit 1202. Wherein the receiving unit 1201 is configured to support the information processing apparatus to execute step 402 in fig. 4 or fig. 6; the transmission unit 1202 supports the information processing apparatus to execute step 403 in fig. 4 or fig. 6. Further, the information processing apparatus further includes: a processing unit 1203; wherein the processing unit 1203 is configured to enable the information processing apparatus to perform step 403a, step 403b in fig. 6, and/or other processes for the techniques described herein; all relevant contents of each step related to the above method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again.
Based on the hardware implementation, the processing unit 1203 in this application may be a processor of an information processing apparatus, the receiving unit 1201 may be a receiver of the information processing apparatus, the transmitting unit 1202 may be a transmitter of the information processing apparatus, and the transmitter and the receiver may be integrated together to be used as a transceiver, and a specific transceiver may also be referred to as a communication interface.
Fig. 13 is a schematic diagram of a possible logical structure of the information processing apparatus according to the foregoing embodiments, which is provided in the embodiments of the present application. The information processing apparatus may be an access controller or a chip built in the access controller, and includes: a processor 1302, and a communications interface 1303. Processor 1302 is configured to control and manage the actions of the information processing apparatus, e.g., processor 1302 is configured to enable the information processing apparatus to perform steps 403a and 403b in fig. 6, and/or other processes for the techniques described herein. Further, the information processing apparatus may further include a memory 1301 and a bus 1304, and the processor 1302, the communication interface 1303, and the memory 1301 are connected to each other through the bus 1304; the communication interface 1303 is used for supporting the information processing apparatus to perform communication; the memory 1301 is used to store program codes and data of the information processing apparatus.
The processor 1302 may be, among other things, a central processing unit, a general purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, transistor logic, a hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, a digital signal processor and a microprocessor, or the like. The bus 1304 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 13, but this is not intended to represent only one bus or type of bus.
In another embodiment of the present application, a readable storage medium is further provided, where the readable storage medium stores computer-executable instructions, and when one device (which may be a single chip, a chip, or the like) or a processor executes the steps of the access point device in the information processing method provided in the foregoing method embodiment. The aforementioned readable storage medium may include: u disk, removable hard disk, read only memory, random access memory, magnetic or optical disk, etc. for storing program codes.
In another embodiment of the present application, a readable storage medium is further provided, where the readable storage medium stores computer-executable instructions, and when a device (which may be a single chip, a chip, or the like) or a processor executes the steps of accessing the controller in the information processing method provided in the foregoing method embodiment. The aforementioned readable storage medium may include: u disk, removable hard disk, read only memory, random access memory, magnetic or optical disk, etc. for storing program codes.
In another embodiment of the present application, there is also provided a computer program product comprising computer executable instructions stored in a computer readable storage medium; the computer executable instructions can be read by at least one processor of the device from a computer readable storage medium, and the execution of the computer executable instructions by the at least one processor causes the device to perform the steps of the method for processing information provided by the above-mentioned method embodiments.
In another embodiment of the present application, there is also provided a computer program product comprising computer executable instructions stored in a computer readable storage medium; the computer-executable instructions may be read by at least one processor of the device from a computer-readable storage medium, and execution of the computer-executable instructions by the at least one processor causes the device to perform the steps of the method for processing information provided by the above method for accessing the controller.
In another embodiment of the present application, there is also provided a communication system including an access point device and an access controller, each of the access point device and the access controller including at least two buffer queues. The access point device or a chip built in the access point device may be the information processing apparatus provided in fig. 10 or fig. 11, and is configured to execute the steps of the access point device in the foregoing method embodiment; and/or, the access controller or a chip built in the access controller may be the information processing apparatus provided in fig. 12 or fig. 13, and is configured to perform the steps of the access controller in the above method embodiment.
In the embodiment of the application, the access point device and the access controller both include at least two buffer queues, and when the access point device and the access controller send messages of different services, the access point device and the access controller can send respective messages through the buffer queue corresponding to each service, and carry the identifier of the buffer queue in the message, so that an opposite end can buffer the received messages in the corresponding buffer queue for processing, thereby avoiding the problem that the request messages of a certain service are too much and the request messages of other services cannot be sent and processed in time, and improving the performance of service processing.
Finally, it should be noted that: the above description is only an embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (20)

1. An information processing method is applied to an access point device or a chip built in the access point device, the access point device communicates with an access controller through a control and configuration protocol CAPWAP of a wireless access point, the access point device comprises at least two buffer queues, and the method comprises the following steps:
sending a service request message of a first service to the access controller, where the service request message includes a first queue identifier and request information, the first queue identifier is used to identify a first buffer queue, the first buffer queue belongs to the at least two buffer queues and is used to buffer the message of the first service, and the request information is used to request processing of the first service;
and receiving a service response message from the access controller, wherein the service response message comprises the first queue identifier and response information, and the response information is used for indicating that the service request message is successfully received.
2. The method of claim 1, wherein before sending the service request message for the first service to the access controller, the method further comprises:
determining the first buffer queue from the corresponding relation between the service and the buffer queue according to the first service;
and generating the service request message of the first service according to the first queue identifier of the first buffer queue and the request information.
3. The method according to claim 1 or 2, wherein the headers of the service request message and the service response message each comprise wireless specific information indicating the first queue identity.
4. The method of claim 3, wherein the wireless-specific information comprises a length field and a data field, wherein the length field is used for indicating the length of the data field, wherein the structure of the data field is a TLV structure comprising a type, a length, and a value, and wherein the data field is used for indicating the first queue identity.
5. An information processing method is applied to an access controller or a chip built in the access controller, access point equipment communicates with the access controller through a control and configuration protocol CAPWAP of a wireless access point, the access controller comprises at least two buffer queues, and the method comprises the following steps:
receiving a service request message from the access point device, where the service request message includes a first queue identifier and request information, where the first queue identifier is used to identify a first buffer queue, the first buffer queue belongs to the at least two buffer queues and is used to buffer a message of a first service, and the request information is used to request processing of the first service;
and sending a service response message to the access point device, wherein the service response message comprises the first queue identifier and response information, and the response information is used for indicating that the service request message is successfully received.
6. The method of claim 5, wherein prior to sending the traffic response message to the access point device, the method further comprises:
determining the first buffer queue from the corresponding relation between the service and the buffer queue according to the first service;
and generating the service response message of the first service according to the first queue identifier of the first buffer queue and the response information.
7. The method according to claim 5 or 6, wherein the headers of the service request message and the service response message each comprise wireless specific information indicating the first queue identity.
8. The method of claim 7, wherein the wireless-specific information comprises a length field and a data field, wherein the length field is used for indicating the length of the data field, wherein the structure of the data field is a TLV structure comprising a type, a length, and a value, and wherein the data field is used for indicating the first queue identity.
9. An information processing apparatus, wherein the information processing apparatus is an access point device or a chip built in the access point device, the access point device communicates with an access controller through a control and configuration protocol CAPWAP of a wireless access point, the information processing apparatus includes at least two buffer queues, the information processing apparatus includes:
a sending unit, configured to send a service request packet of a first service to the access controller, where the service request packet includes a first queue identifier and request information, the first queue identifier is used to identify a first buffer queue, the first buffer queue belongs to the at least two buffer queues and is used to buffer a packet of the first service, and the request information is used to request processing of the first service;
a receiving unit, configured to receive a service response packet from the access controller, where the service response packet includes the first queue identifier and response information, and the response information is used to indicate that the service request packet is successfully received.
10. The apparatus of claim 9, further comprising:
a processing unit, configured to determine, according to the first service, the first buffer queue from a correspondence between the service and the buffer queue;
the processing unit is further configured to generate the service request packet of the first service according to the first queue identifier of the first buffer queue and the request information.
11. The apparatus according to claim 9 or 10, wherein the headers of the service request packet and the service response packet each include wireless dedicated information, and the wireless dedicated information is used to indicate the first queue id.
12. The apparatus of claim 11, wherein the wireless-specific information comprises a length field and a data field, wherein the length field is configured to indicate a length of the data field, wherein the data field is configured as a TLV structure comprising a type, a length, and a value, and wherein the data field is configured to indicate the first queue identity.
13. A signal processing apparatus, wherein the signal processing apparatus is an access controller or a chip built in the access controller, an access point device communicates with the access controller through a control and configuration protocol CAPWAP of a wireless access point, the signal processing apparatus includes at least two buffer queues, and the signal processing apparatus includes:
a receiving unit, configured to receive a service request packet from the ap device, where the service request packet includes a first queue identifier and request information, the first queue identifier is used to identify a first buffer queue, the first buffer queue belongs to the at least two buffer queues and is used to buffer a packet of a first service, and the request information is used to request processing of the first service;
a sending unit, configured to send a service response packet to the access point device, where the service response packet includes the first queue identifier and response information, and the response information is used to indicate that the service request packet is successfully received.
14. The apparatus of claim 13, further comprising:
a processing unit, configured to determine, according to the first service, the first buffer queue from a correspondence between the service and the buffer queue;
the processing unit is further configured to generate the service response packet of the first service according to the first queue identifier of the first buffer queue and the response information.
15. The apparatus according to claim 13 or 14, wherein the headers of the service request packet and the service response packet each include wireless dedicated information, and the wireless dedicated information is used to indicate the first queue identity.
16. The apparatus of claim 15, wherein the wireless-specific information comprises a length field and a data field, wherein the length field is configured to indicate a length of the data field, wherein the data field is configured as a TLV structure comprising a type, a length, and a value, and wherein the data field is configured to indicate the first queue identity.
17. An information processing apparatus which is an access point device or a chip built in an access point device, the information processing apparatus comprising a memory in which codes and data are stored, a processor, a display, a bus, and a communication interface, the processor, the memory, the display, and the communication interface being connected through the bus, the processor executing the codes in the memory to cause the information processing apparatus to execute the information processing method according to any one of claims 1 to 4.
18. An information processing apparatus, wherein the information processing apparatus is an access controller or a chip built in the access controller, the information processing apparatus includes a memory, a processor, a display, a bus, and a communication interface, the memory stores codes and data, the processor, the memory, the display, and the communication interface are connected through the bus, and the processor executes the codes in the memory to cause the information processing apparatus to execute the information processing method according to any one of claims 5 to 8.
19. A readable storage medium having stored therein instructions that, when run on an apparatus, cause the apparatus to execute the information processing method of any one of claims 1 to 4.
20. A readable storage medium having stored therein instructions that, when run on an apparatus, cause the apparatus to execute the information processing method of any one of claims 5 to 8.
CN201810231214.8A 2018-03-20 2018-03-20 Information processing method and device Active CN110312283B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810231214.8A CN110312283B (en) 2018-03-20 2018-03-20 Information processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810231214.8A CN110312283B (en) 2018-03-20 2018-03-20 Information processing method and device

Publications (2)

Publication Number Publication Date
CN110312283A CN110312283A (en) 2019-10-08
CN110312283B true CN110312283B (en) 2021-05-04

Family

ID=68073581

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810231214.8A Active CN110312283B (en) 2018-03-20 2018-03-20 Information processing method and device

Country Status (1)

Country Link
CN (1) CN110312283B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112217739B (en) * 2020-09-30 2023-05-12 北京淳中科技股份有限公司 Code stream transmitting device, code stream transmitting method and code stream transmitting system
CN113852610B (en) * 2021-09-06 2024-03-05 招银云创信息技术有限公司 Message processing method, device, computer equipment and storage medium
CN114531721A (en) * 2022-01-28 2022-05-24 新华三技术有限公司 Method for establishing tunnel and processing message and AC
CN115396494A (en) * 2022-08-19 2022-11-25 北京银丰新融科技开发有限公司 Real-time monitoring method and system based on stream computing

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103139843A (en) * 2011-11-30 2013-06-05 中兴通讯股份有限公司 Implementation method and system of priority level expanding queue
CN103460787B (en) * 2011-03-31 2017-12-29 北京新岸线移动多媒体技术有限公司 service flow management method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10263839B2 (en) * 2013-03-15 2019-04-16 Fortinet, Inc. Remote management system for configuring and/or controlling a computer network switch

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103460787B (en) * 2011-03-31 2017-12-29 北京新岸线移动多媒体技术有限公司 service flow management method and device
CN103139843A (en) * 2011-11-30 2013-06-05 中兴通讯股份有限公司 Implementation method and system of priority level expanding queue

Also Published As

Publication number Publication date
CN110312283A (en) 2019-10-08

Similar Documents

Publication Publication Date Title
CN110312283B (en) Information processing method and device
WO2019128873A1 (en) Beam training method and relevant device
EP3749013A1 (en) Sounding reference signal transmission method, terminal device, and network device
US8774211B2 (en) Autonomous network access congestion and collision control
EP3675439B1 (en) Data transmission
WO2021139832A1 (en) Aperiodic srs sending method and related device
US20220131658A1 (en) Data transmission method, apparatus and device
CN109587732B (en) Transmission method and device for service quality flow
US20200374884A1 (en) Method and device for determining information domain value in dci
CN108199976B (en) Switching equipment, switching system and data sending method of RapidIO network
CN105141603B (en) Communication data transmission method and system
EP3840500A1 (en) Method and device for determining and configuring scheduling request resource, and storage medium
CN111459690A (en) Data transmitting and receiving control method and device, mobile terminal and storage medium
CN113285795A (en) BWP frequency hopping configuration method, network equipment and terminal
CN110351757B (en) Scheduling request transmission method, terminal and network side equipment
CN109391522B (en) RDMA-based network traffic determination method, forwarding device, analysis server, and storage medium
CN111835652B (en) Method and device for setting virtual channel of data stream
US20110265137A1 (en) Method and system for isochronous data stream management in high speed audio/video networks
WO2018170877A1 (en) Information sending method and apparatus, terminal, access network device and system
CN111698274B (en) Data processing method and device
CN111641565B (en) Method, device and system for transmitting Ethernet message
EP3902348A1 (en) Communication device and communication method
JP7166356B2 (en) Uplink control information transmission method and apparatus
CN112422485A (en) Communication method and device of transmission control protocol
WO2019095204A1 (en) Network configuration method, apparatus, network element, and system

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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20211221

Address after: 450046 Floor 9, building 1, Zhengshang Boya Plaza, Longzihu wisdom Island, Zhengdong New Area, Zhengzhou City, Henan Province

Patentee after: Super fusion Digital Technology Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.