CN109041275B - Data transmission method and device and wireless access point - Google Patents

Data transmission method and device and wireless access point Download PDF

Info

Publication number
CN109041275B
CN109041275B CN201810692582.2A CN201810692582A CN109041275B CN 109041275 B CN109041275 B CN 109041275B CN 201810692582 A CN201810692582 A CN 201810692582A CN 109041275 B CN109041275 B CN 109041275B
Authority
CN
China
Prior art keywords
message
preset
preset wired
wired equipment
wireless
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
CN201810692582.2A
Other languages
Chinese (zh)
Other versions
CN109041275A (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.)
New H3C Information Technologies Co Ltd
Original Assignee
New H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201810692582.2A priority Critical patent/CN109041275B/en
Publication of CN109041275A publication Critical patent/CN109041275A/en
Application granted granted Critical
Publication of CN109041275B publication Critical patent/CN109041275B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/08Access point devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W60/00Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/12Access point controller devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W92/00Interfaces specially adapted for wireless communication networks
    • H04W92/04Interfaces between hierarchically different network devices
    • H04W92/10Interfaces between hierarchically different network devices between terminal device and access point, i.e. wireless air interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W92/00Interfaces specially adapted for wireless communication networks
    • H04W92/04Interfaces between hierarchically different network devices
    • H04W92/12Interfaces between hierarchically different network devices between access points and access point controllers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The disclosure provides a data transmission method, a data transmission device and a wireless access point, and relates to the technical field of communication. The method is applied to a wireless Access Point (AP), wherein the AP is in communication connection with a wireless controller (AC), and the method comprises the following steps: the AP identifies whether preset wired equipment access exists or not; if the preset wired equipment is accessed, the preset wired equipment is regarded as a wireless client, online interaction of the wireless client and the AC is carried out, and the preset wired equipment is regarded as a wireless client to be accessed to a management network of the AC; if the preset wired equipment of the wireless client side is on line, packaging a message sent by the preset wired equipment into a target message supported by a wireless communication protocol between the AP and the AC; and sending the target message to the AC. Therefore, data transmission of wired equipment is conveniently realized.

Description

Data transmission method and device and wireless access point
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a data transmission method, an apparatus, and a wireless access point.
Background
Architecture formed by a Wireless network Controller (AC) and a thin Wireless Access Point (AP), also called thin AP or FIT AP, adopted in a centralized control type Wireless network, such as a Wireless Local Area Network (WLAN), is increasingly widely used. Research shows that the convenience of realizing data transmission based on the wireless network architecture needs to be improved.
Disclosure of Invention
In view of the above, the present disclosure provides a data transmission method, an apparatus and a wireless access point.
In a first aspect, the present disclosure provides a data transmission method, which is applied to a wireless access point AP, where the AP is in communication connection with a wireless controller AC, and the method includes:
the AP identifies whether preset wired equipment access exists or not;
if the preset wired equipment is accessed, the preset wired equipment is regarded as a wireless client, online interaction of the wireless client and the AC is carried out, and the preset wired equipment is regarded as a wireless client to be accessed to a management network of the AC;
if the preset wired equipment of the wireless client side is on line, packaging a message sent by the preset wired equipment into a target message supported by a wireless communication protocol between the AP and the AC;
and sending the target message to the AC.
Optionally, the step of identifying whether there is a preset wired device access by the AP includes:
judging whether the preset wired equipment is accessed according to a source Medium Access Control (MAC) address of a message received from a three-layer Ethernet interface, wherein the working mode of the three-layer Ethernet interface of the AP is a hybrid mode;
and judging whether the preset wired equipment is accessed according to the source MAC of the message received from the two-layer Ethernet interface.
Optionally, the wireless communication protocol between the AP and the AC is a control and configuration protocol Capwap of the wireless access point, and the target packet is a Capwap packet;
encapsulating the message sent by the preset wired equipment into a target message supported by a wireless communication protocol between the AP and the AC, and sending the target message to the AC, wherein the steps comprise:
if the preset wired equipment is connected to the three-layer Ethernet interface of the AP, the software processing system of the AP receives a message sent by the preset wired equipment, adds a Capwap header to the received message sent by the preset wired equipment to form a Capwap message, and sends the Capwap message to the AC through the software processing system;
if the preset wired equipment is connected to the two-layer Ethernet interface of the AP, the switching chip of the AP receives a message sent by the preset wired equipment, transmits the received message sent by the preset wired equipment to the software processing system of the AP, adds a Capwap header to the received message sent by the preset wired equipment by the software processing system to form a Capwap message, and sends the Capwap message to the AC by the software processing system.
Optionally, regarding the preset wired device as a wireless client, and performing online interaction of the wireless client with the AC, where the step includes:
canceling the discovery process of the service set identifier SSID, and directly using the MAC address of the preset wired equipment to construct a request message for requesting to join the management network of the AC;
and sending the request message to the AC, and finishing online interaction of the wireless client with the AC according to a response message fed back by the AC.
Optionally, the step of identifying whether there is a preset wired device access by the AP includes:
the AP judges whether a broadcast message carrying a set field is received or not, and if the broadcast message carrying the set field is received, the access of a preset wired device is judged to exist, wherein the set field is prestored in the AP, and the set field is used for identifying that the broadcast message comes from the preset wired device.
Optionally, regarding the preset wired device as a wireless client, and performing online interaction of the wireless client with the AC, where the step includes:
initiating a virtual client registration request to the AC by adopting the source MAC address of the broadcast message carrying the set field;
if the virtual client successfully registers in the AC, writing the source MAC address into an Access Control List (ACL), and issuing the ACL to a switching chip of the AP;
and sending the information of successful registration to the preset wired equipment so that the preset wired equipment releases the current Internet protocol IP address and acquires the IP address again from a Dynamic Host Configuration Protocol (DHCP) server of the AC.
Optionally, the method further comprises:
receiving a message sent by the AC;
and judging whether a target message related to the preset wired equipment exists or not, and if so, decapsulating the target message and then sending the decapsulated target message to the preset wired equipment.
In a second aspect, the present disclosure provides a data transmission apparatus, applied to a wireless access point AP, where the AP is in communication connection with a wireless controller AC, and the data transmission apparatus includes:
the access identification module is used for identifying whether preset wired equipment is accessed or not;
the online processing module is used for regarding the preset wired equipment as a wireless client if the preset wired equipment is accessed, and performing online interaction of the wireless client with the AC so as to access the preset wired equipment as a wireless client to a management network of the AC;
the encapsulation module is used for encapsulating the message sent by the preset wired equipment into a target message supported by a wireless communication protocol between the AP and the AC if the preset wired equipment of the wireless client is on line;
and the message sending module is used for sending the target message to the AC.
Optionally, the access identification module identifies whether there is a preset wired device access through the following steps:
judging whether the preset wired equipment is accessed according to a source Medium Access Control (MAC) address of a message received from a three-layer Ethernet interface, wherein the working mode of the three-layer Ethernet interface of the AP is a hybrid mode;
and judging whether the preset wired equipment is accessed according to the source MAC of the message received from the two-layer Ethernet interface.
Optionally, the wireless communication protocol between the AP and the AC is a control and configuration protocol Capwap of the wireless access point, and the target packet is a Capwap packet;
the encapsulation module is used for enabling a software processing system of the AP to receive a message sent by the preset wired equipment and adding a Capwap header to the received message sent by the preset wired equipment to form a Capwap message if the preset wired equipment is connected to a three-layer Ethernet interface of the AP; if the preset wired equipment is connected to the two-layer Ethernet interface of the AP, enabling a switching chip of the AP to receive a message sent by the preset wired equipment, transmitting the received message sent by the preset wired equipment to a software processing system of the AP, and adding a Capwap header to the received message sent by the preset wired equipment by the software processing system to form a Capwap message;
and the message sending module is used for enabling the software processing system to send the Capwap message to the AC.
Optionally, the online processing module is configured to cancel a service set identifier SSID discovery process, directly use the MAC address of the preset wired device to construct a request packet requesting to join the management network of the AC, send the request packet to the AC, and complete online interaction of the wireless client with the AC according to a response packet fed back by the AC.
Optionally, the access identification module is configured to determine whether a broadcast packet carrying a set field is received, and if a broadcast packet carrying a set field is received, determine that a preset wired device is accessed, where the set field is prestored in the AP, and the set field is used to identify that the broadcast packet is from the preset wired device.
Optionally, the online processing module is configured to regard the preset wired device as a wireless client through the following steps, and perform online interaction of the wireless client with the AC:
initiating a virtual client registration request to the AC by adopting the source MAC address of the broadcast message carrying the set field;
if the virtual client successfully registers in the AC, writing the source MAC address into an Access Control List (ACL), and issuing the ACL to a switching chip of the AP;
and sending the information of successful registration to the preset wired equipment so that the preset wired equipment releases the current Internet protocol IP address and acquires the IP address again from a Dynamic Host Configuration Protocol (DHCP) server of the AC.
Optionally, the data transmission apparatus further includes:
the message receiving module is used for receiving the message sent by the AC;
and the decapsulation module is used for judging whether a target message related to the preset wired equipment exists or not, and if the target message related to the preset wired equipment exists, decapsulating the target message and then sending the decapsulated target message to the preset wired equipment.
In a third aspect, the present disclosure provides a wireless access point, comprising: a memory, a processor and a computer program stored on the memory and executable on the processor, which when executed by the processor implements the data transmission method described above.
In a fourth aspect, the present disclosure provides a computer-readable storage medium, where the computer-readable storage medium includes a computer program, and the computer program controls, when running, a wireless access point where the computer-readable storage medium is located to execute the above-mentioned data transmission method.
According to the data transmission method, the data transmission device and the wireless access point, the AP is skillfully designed under a wireless network framework formed by the AC and the AP, so that the AP can identify whether preset wired equipment is accessed, the preset wired equipment is regarded as a wireless client side to perform online interaction of the wireless client side with the AC when the preset wired equipment is accessed, and after the preset wired equipment regarded as the wireless client side is online, a message sent by the preset wired equipment is packaged into a target message supported by a wireless communication protocol between the AP and the AC, so that the target message is sent through a communication network between the AP and the AC, and further the data transmission of the wired equipment is conveniently realized.
In order to make the aforementioned objects, features and advantages of the present disclosure more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
To more clearly illustrate the technical solutions of the present disclosure, the drawings needed for the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present disclosure, and therefore should not be considered as limiting the scope, and those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a schematic view of an application scenario provided by the present disclosure.
Fig. 2 is a block diagram of a wireless access point according to the present disclosure.
Fig. 3 is a schematic flow chart of a data transmission method provided by the present disclosure.
Fig. 4 is another schematic flow chart of a data transmission method provided by the present disclosure.
Fig. 5 is a schematic diagram of an exemplary application scenario provided by the present disclosure.
Fig. 6 is a block diagram of a data transmission device provided by the present disclosure.
Icon: 10-a wireless access point; 11-a memory; 12-a processor; 13-a network module; 20-a data transmission device; 21-access identification module; 22-an online processing module; 23-packaging the module; 24-a message sending module; 25-a message receiving module; 26-decapsulation module.
Detailed Description
For example, referring to fig. 1, in a wireless network architecture including an AC and an FIT AP, in many scenarios, a plurality of FIT APs need to be set to achieve full coverage of an area, and each wireless terminal in the area accesses to a network covered by the FIT AP, and each wired device accesses to an ethernet interface of the FIT AP. The AC may enable unified management of multiple FIT APs and communicate with a remote server. The FIT AP can establish connection with the AC through a three-layer exchange mode, the data traffic of the Wireless terminal passes through a tunnel between the AP And the AC, such as a Control And Provisioning Protocol (Capwap) tunnel of the Wireless Access point, is forwarded to the AC through a public network, And is sent to a remote server through the AC, so that the data transmission of the Wireless terminal is realized. It should be understood that the lines between the components in fig. 1 only indicate that communication can be performed between the components, and not a limitation on the manner of communication.
As a result of research, in the architecture shown in fig. 1, although data transmission to the wireless terminal can be easily achieved, if data transmission to the wired device is to be achieved in the architecture, it is necessary to provide a gateway device on the AC and FIT AP sides, and configure a tunnel service corresponding to the wired device, such as Internet protocol security (IPSec), on the gateway device. In order to enable the gateway device to support the configuration of the tunnel service corresponding to the wired device, not only the cost of the gateway device may be increased, but also the subsequent maintenance is cumbersome after the tunnel service is configured, and a professional person is required to perform the operation, so that the convenience of realizing the data transmission of the wired device needs to be improved.
In view of this, the present disclosure provides a data transmission method, an apparatus, and a wireless access point, where in a wireless network architecture including an AC and an AP, the AP is configured ingeniously, so that when there is an access of a preset wired device, the AP regards the preset wired device as a wireless client and accesses a management network of the AC, encapsulates a message sent by the preset wired device into a target message supported by a wireless communication protocol between the AP and the AC, and sends the target message through a wireless communication network between the AP and the AC, thereby conveniently implementing data transmission of the wired device. The gateway equipment does not need to be configured in a complex way, and the cost of the gateway equipment does not need to be increased.
The above-mentioned drawbacks are the results of the inventor after practical and careful study, and therefore, the discovery process of the above-mentioned problems and the solutions proposed by the present disclosure to the above-mentioned problems should be the contribution of the inventor in the process of the present disclosure.
The technical solutions in the present disclosure will be described clearly and completely with reference to the accompanying drawings in the present disclosure, and it is to be understood that the described embodiments are only a part of the embodiments of the present disclosure, and not all of the embodiments. The components of the present disclosure, as generally described and illustrated in the figures herein, may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present disclosure, presented in the figures, is not intended to limit the scope of the claimed disclosure, but is merely representative of selected embodiments of the disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the disclosure without making creative efforts, shall fall within the protection scope of the disclosure.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
As shown in fig. 2, a block diagram of a wireless access point 10 provided by the present disclosure is shown. The wireless access point 10 in the present disclosure may be a FIT AP, and the wireless access point 10 is capable of establishing a connection with an AC and being uniformly managed by the AC. As shown in fig. 2, the wireless access point 10 includes: memory 11, processor 12, network module 13 and data transmission device 20.
The memory 11, the processor 12 and the network module 13 are electrically connected to each other directly or indirectly to realize data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines. The memory 11 stores a data transmission device 20, the data transmission device 20 includes at least one software functional module which can be stored in the memory 11 in the form of software or firmware (firmware), and the processor 12 executes various functional applications and data processing by running software programs and modules stored in the memory 11, such as the data transmission device 20 in the present disclosure, so as to implement the data transmission method in the present disclosure.
The Memory 11 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like. The memory 11 is used for storing a program, and the processor 12 executes the program after receiving an execution instruction.
The processor 12 may be an integrated circuit chip having data processing capabilities. The Processor 12 may be a general-purpose Processor including a Central Processing Unit (CPU), a Network Processor (NP), and the like. The various methods, steps and logic blocks disclosed in this disclosure may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The network module 13 is used for establishing a communication connection between the wireless access point 10 and an external communication terminal through a network, and implementing transceiving operation of network signals and data. The network signal may include a wireless signal or a wired signal.
It will be appreciated that the configuration shown in fig. 2 is merely illustrative and that the wireless access point 10 may include more or fewer components than shown in fig. 2 or have a different configuration than shown in fig. 2. For example, the wireless access point 10 may also include an ethernet interface, a software processing system, a switching chip, and the like. The components shown in fig. 2 may be implemented in hardware, software, or a combination thereof.
On the basis of the above, the present disclosure further provides a computer-readable storage medium, where the computer-readable storage medium includes a computer program, and the computer program controls, when running, the wireless access point 10 where the computer-readable storage medium is located to execute the following data transmission method.
Referring to fig. 3, the present disclosure provides a data transmission method, which is applied to the wireless access point AP shown in fig. 2, where the AP is in communication connection with the wireless controller AC. The method may be performed by the processor 12 in fig. 2.
The method comprises the following steps.
And step S11, the AP identifies whether a preset wired device access exists, if so, the step S12 is executed, and if not, the step S11 is executed.
The AP may recognize whether there is a preset wired device access in various ways. For example, if the wired device is connected to the three-layer ethernet interface of the AP, only one wired device can be inserted due to the fact that there is no need to attach a switch under the three-layer ethernet interface, and therefore, if the three-layer ethernet interface is connected to the wired device, the working mode of the three-layer ethernet interface needs to be set to the promiscuous mode. After the three-layer ethernet interface is configured in the promiscuous mode, Media Access Control (MAC) address filtering is not performed any more, and all correct ethernet messages are received. If the preset wired device is connected to the three-layer Ethernet interface of the AP, the source MAC address of the message received from the three-layer Ethernet interface is the MAC address of the preset limited device. In this case, whether the preset wired device access exists can be determined according to the source MAC address of the packet received from the three-layer ethernet interface. For example, the MAC address of the preset wired device may be pre-stored in the AP, and the AP may determine whether the source MAC address of the packet received from the three-layer ethernet interface is the MAC address of the preset wired device, that is, may identify whether the preset wired device is accessed. If the source MAC address of the received message is the MAC address of the preset wired equipment, judging that the preset wired equipment is accessed; and if the source MAC address of the received message is not the MAC address of the preset wired equipment, judging that the preset wired equipment is not accessed.
For another example, if the wired device is connected to the two-layer ethernet interface of the AP, since the two-layer switch of the two-layer ethernet interface is generally controlled by the switch chip of the AP, the switch and the multi-port repeater, such as the HUB, may be hooked under the two-layer ethernet interface, so that the two-layer ethernet interface may be connected to multiple wired devices. In this case, it may also be determined whether there is a predetermined wired device access according to the source MAC of the packet received from the two-layer ethernet interface. For example, in order to conveniently realize the identification of the preset wired device, the MAC address field of the preset wired device may be pre-stored in the AP. The AP judges whether a message with a source MAC address positioned in an MAC address field of preset wired equipment exists in a message received from a two-layer Ethernet interface, and judges that the preset wired equipment is accessed if the message with the source MAC address positioned in the MAC address field of the preset wired equipment exists. And if the source MAC address does not exist in the message of the MAC address field of the preset wired equipment, judging that the preset wired equipment does not exist for access. For another example, the AP may pre-store a MAC address of a preset wired device, and determine whether a message with a source MAC address that is the MAC address of the preset wired device exists in a message received from the two-layer ethernet interface, and determine that a preset wired device access exists if the message with the source MAC address that is the MAC address of the preset wired device exists. And if the source MAC address does not exist as the message of the MAC address of the preset wired equipment, judging that the preset wired equipment does not exist for access.
For another example, a client program may be installed on the predetermined wired device, and the client program actively sends the broadcast message, where the broadcast message carries a setting field for identifying that the broadcast message comes from the predetermined wired device. In this case, the AP may pre-store the set field, and the AP may determine whether there is a preset wired device access by determining whether the AP receives the broadcast packet carrying the set field. And if the broadcast message carrying the set field is not received, judging that the preset wired equipment access does not exist.
It should be understood that step S11 can also be implemented in other ways, and the above description is only illustrative and not limiting of the present disclosure. For example, the MAC address field of the preset wired device, the MAC address of the preset wired device, and the setting field of the preset wired device may be directly configured and pre-stored on the AP. For another example, the MAC address field of the preset wired device, the MAC address of the preset wired device, and the setting field of the preset wired device may also be configured and stored on the AC, and the AP obtains the configured information from the AC in advance and stores the information locally.
And step S12, regarding the preset wired device as a wireless client, performing online interaction of the wireless client with the AC, regarding the preset wired device as a wireless client to access a management network of the AC, and executing step S13 after the wireless client is online.
There are various ways to treat the pre-set wired device as a wireless client and access the management network of the AC. For example, in view of the fact that the predetermined wired device is directly connected to the AP, the AP may directly obtain the MAC address of the predetermined wired device connected to the AP, and thus, the AP may cancel a Service Set Identifier (SSID) discovery process, construct a request packet requesting to join the management network of the AC directly using the MAC address of the predetermined wired device without performing an SSID discovery operation, send the request packet to the AC, and complete online interaction of the wireless client with the AC according to a response packet fed back by the AC. The request message may include an Authentication message and an Association request message, and the AP delivers the Authentication message and the Association request message from the Capwap tunnel to the AC in a scenario where the AP and the AC communicate through the Capwap tunnel. And the AC sends response messages fed back by aiming at the Authentication message and the Association request message to the AP through the Capwap tunnel, thereby realizing the online interaction of the wireless client.
For another example, the AP may initiate a virtual client registration request to the AC using the source MAC address of the broadcast packet carrying the setting field. And if the virtual client successfully registers in the AC, writing the source MAC address into an Access Control List (ACL), and issuing the ACL to a switching chip of the AP. And sending the information of successful registration to the preset wired equipment so that the preset wired equipment releases a current Internet Protocol (IP) address, and acquiring the IP address again from a Dynamic Host Configuration Protocol (DHCP) server of the AC. For example, an IP address release function may be integrated in a client program of the preset wired device, so as to ensure that the preset wired device can obtain an IP address from a DHCP server of the AC. The operation of the client program for implementing the IP address release function may refer to a release command under the Windows prompt, such as an ipconfig/release command, an ipconfig/renew command, and the like, so as to release or update the IP address lease of the preset wired device.
In order to improve the security of data transmission, during the online interaction process of the wireless client between the AP and the AC, the interaction of wireless encryption negotiation can also be performed between the AP and the AC. For example, the AP and the AC may perform an interaction of 802.1X authentication and wireless network key agreement, thereby implementing wireless encryption agreement.
Step S13, encapsulating the message sent by the preset wired device into a target message supported by a wireless communication protocol between the AP and the AC.
And step S14, sending the target message to the AC.
The wireless communication protocol between the AP and the AC may be Capwap, the AP and the AC communicate through a Capwap tunnel, and accordingly, the target message may be a Capwap message.
There are various implementation ways to encapsulate a message sent by a preset wired device into a Capwap message and send the Capwap message to an AC. For example, if the preset wired device is connected to the three-layer ethernet interface of the AP, because the three-layer ethernet interface of the AP is in the promiscuous mode, if the AP finds that the preset wired device is accessed, the on-line operation in step S12 is directly executed, and after the wireless client is successfully on-line, the AP sends the wired message received by the three-layer ethernet interface to a processor of the AP, such as a cpu (central Processing unit). A software processing system in the processor receives a message sent by preset wired equipment, adds a Capwap header to the received message sent by the preset wired equipment to form a Capwap message, and sends the Capwap message to the AC through a Capwap tunnel. And after receiving the Capwap message, the AC strips off the Capwap head and sends out the Capwap message.
For another example, if the preset wired device is connected to the two-layer ethernet interface of the AP, when the AP finds the preset wired device access, the AP may issue a source MAC entry to the switch chip of the AP, where the source MAC entry matches an ACL rule of the MAC address of the preset wired device. The switching chip of the AP receives messages from the two-layer Ethernet interface, matches the source MAC address of each received message with the ACL rule, and transmits the messages (messages sent by preset wired equipment) with the source MAC address matched with the ACL rule to the processor of the AP. Adding a Capwap header to the received message sent by the preset wired equipment by a software processing system in the processor to form a Capwap message, and sending the Capwap message to the AC through a Capwap tunnel by the software processing system. And after receiving the Capwap message, the AC strips off the Capwap head and sends out the Capwap message. For example, the AC may send a message with the Capwap header stripped to the remote server.
Correspondingly, if the remote server sends a message related to the preset wired device to the AC, the AC may encapsulate the message into a message supported by a communication protocol between the AP and the AC, and forward the message to the AP. Referring to fig. 4, after receiving the message, the AP may perform the following operations.
And step S21, receiving the message sent by the AC.
Step S22, determining whether a target packet related to the preset wired device exists, if so, executing step S23, and if not, returning to execute step S21.
And step S23, decapsulating the target message and sending the decapsulated target message to the preset wired device.
The AP can analyze whether the received message is a target message by analyzing whether the target MAC address of the received message is the MAC address of the preset wired equipment, and if the target MAC address of the received message is the MAC address of the preset wired equipment, the message is the target message, so that the target message is unpacked and then is sent to the preset wired equipment. If the destination MAC address of the received message is not the MAC address of the predetermined wired device, the message is not the destination message, so that the message is normally forwarded and returned to the step S21.
In order to more clearly illustrate the implementation principle and the work flow of the present disclosure, the implementation flow of the present disclosure will be illustrated by taking the following scenario as an example.
Referring to fig. 5, it is assumed that the FIT AP communicates with the AC through a Capwap tunnel, the AC communicates with a remote server, the FIT AP has multiple wireless terminals connected thereto, and data traffic of the wireless terminals is forwarded to the AC through the Capwap tunnel between the AP and the AC via the public network. Based on the consideration of security monitoring and the like, the FIT AP is also wired with two preset wired devices, namely a wired camera and a Personal Computer (PC). When the data traffic of the wireless terminal is transmitted, the data traffic of the wired camera and the PC also needs to be transmitted.
In the above scenario, if data traffic transmission of the preset wired device is to be implemented, the scheme in the prior art needs to set a gateway device on the AC and FIT AP sides, and also needs to configure a tunnel service corresponding to the wired device on the gateway device, which is cumbersome to configure and subsequently maintain, and needs to be operated by a professional, thereby not only increasing the configuration and maintenance cost of the gateway device, but also causing the problem of inconvenient implementation. If encryption technologies such as Virtual Private Networks (VPNs) are required to improve the security of data traffic transmission of the wired device, VPN gateway router devices are also required to be added, thereby further increasing networking complexity. In order to improve the problem, if a wireless camera is used to replace a wired camera, and a wireless PC is used to replace the wired PC, although data transmission can be realized by using the existing AC + FIT AP wireless network architecture, operations such as gateway device transformation and the like are not required, the data traffic of the wireless camera and the wireless PC is large, and wireless channel resources can be seized, so that great interference is generated to a wireless terminal connected with the FIT AP, and the internet experience of the wireless terminal is affected.
Based on this, the present disclosure provides a data transmission method, under the existing networking architecture of AC and FIT AP, without adding gateway equipment or performing complex configuration and maintenance on the gateway equipment, only by skillfully adjusting the message forwarding manner of the two-layer ethernet interface or the three-layer ethernet interface of FIT AP, the data traffic of the wired camera and the PC can be transmitted through the Capwap tunnel between AC and FIT AP, and the data transmission security can be ensured by directly using the Capwap tunnel technology to replace the VPN gateway router technology, thereby effectively reducing the networking complexity and improving the convenience of data transmission of the wired equipment. The following disclosure will exemplify the data transmission process of the wired camera and the PC, respectively.
The data transmission flow of the wired camera is as follows.
And pre-storing the MAC address of the wired camera and the MAC address field of the wired camera in the AP. After the wired camera is accessed into the Ethernet interface of the AP, the AP automatically identifies the accessed wired equipment as the camera equipment according to the prestored MAC address information, and the identification process is different according to the different types of the interfaces accessed by the wired camera and the processing process is also different.
If the wired camera is connected to the three-layer ethernet interface of the AP, the administrator needs to set the working mode of the three-layer ethernet interface to the promiscuous mode, and in this case, the source MAC address of the message received by the AP is the pre-stored MAC address of the wired camera, so as to determine that the wired camera is accessed, and then perform online operation of the wired camera with the AC. On the contrary, if the wired camera is not connected to the three-layer ethernet interface of the AP, in this case, the source MAC address of the message received by the AP is not the pre-stored MAC address of the wired camera, so that it is determined that there is no wired camera access. If the wired camera is connected to the two-layer Ethernet interface of the AP, the AP judges whether a message with a source MAC address located in the MAC address field of the wired camera exists in the message received from the two-layer Ethernet interface, and if the message with the source MAC address located in the MAC address field of the wired camera exists, the access of the wired camera is judged to exist, and then the online operation of the wired camera is carried out with the AC. And if the message with the source MAC address positioned in the MAC address field of the wired camera does not exist, judging that the wired camera does not have access. Since the MAC address is used in a global unified plan, the wired camera of the known manufacturer can be identified through the MAC address field, for example, the wired camera of the known manufacturer can be determined through the first 6 bits of the MAC address, so as to identify whether the wired camera access exists in the two-layer ethernet interface of the AP.
And after recognizing the wired camera, the AP performs online operation of the wired camera with the AC, and regards the wired camera as a wireless client. And the AP uses the MAC address of the wired camera and the AC to complete the online message interaction process of the preset wired equipment regarded as the wireless client, so that the AC sees that one MAC address is the normal online of the wireless client of the camera. If the wireless transmission service configured by the AC is encrypted, the AP and the AC also need to interact a message of wireless encryption negotiation so as to realize the online operation of the wireless client corresponding to the wired camera. In the process, the AP does not need to execute SSID discovery operation, the MAC address of the wired camera is directly regarded as the MAC address of the wireless client, an Authentication message and an Association request message are constructed and sent to the AC through the Capwap tunnel, the AC respectively feeds back response messages aiming at the Authentication message and the Association request message, and the response messages are sent to the AP through the Capwap tunnel, so that online interaction of preset wired equipment regarded as the wireless client is realized.
After the wired equipment is preset to be on-line, the packaging processing process is different according to different types of interfaces accessed by the wired camera.
If the wired camera is connected to the three-layer Ethernet interface of the AP, the three-layer Ethernet interface is in a hybrid mode, after a wireless client corresponding to the wired camera is on line, the AP sends a wired message received by the three-layer Ethernet interface to a processor of the AP, a software processing system in the processor receives the message and adds a Capwap head to the message to form a Capwap message, and the software processing system sends the Capwap message to the AC through a Capwap tunnel. And after receiving the Capwap message, the AC strips off the Capwap head and sends out the Capwap message. If the wired camera is connected to the two-layer Ethernet interface of the AP, the AP sends a source MAC table item to the switching chip after finding that the wired camera is on line, and the source MAC table item is matched with an ACL rule of an MAC address of the wired camera. The switching chip receives messages from the two-layer Ethernet interface, matches source MAC addresses of the received messages with ACL rules, transmits the messages (messages sent by a preset wired camera) with the source MAC addresses matched with the ACL rules to the processor, adds a Capwap header to the messages by a software processing system in the processor to form Capwap messages, and sends the Capwap messages to the AC through a Capwap tunnel by the software processing system. And after receiving the Capwap message, the AC strips off the Capwap head and sends out the Capwap message. For example, the AC may send a message with the Capwap header stripped to the remote server, thereby completing data transmission to the wired camera.
The message sent by the wired camera may be an ethernet message in an 802.3 frame format, the AP adds a Capwap header to the ethernet message in the 802.3 frame format for encapsulation, and sends the ethernet message from the Capwap tunnel to the AC, and after receiving the message, the AC performs normal analysis in the same manner as the normal wireless client message is processed, and removes the Capwap tunnel encapsulation, so as to obtain the original ethernet message in the 802.3 frame format, and further performs forwarding processing, for example, to a remote server. The wired camera can obtain information such as an IP address, a gateway, a Domain Name System (DNS) and the like from a DHCP server on the AC side as in a normal wireless client, so as to implement network connectivity, thereby implementing that the data traffic of the wired camera is forwarded to the public network through the Capwap tunnel.
Correspondingly, if the AC receives the ethernet packet sent by the remote server and having the destination MAC address as the MAC address of the cable camera, the AC also adds the Capwap header encapsulation to the ethernet packet, sends the ethernet packet to the AP from the Capwap tunnel, and the AP removes the Capwap tunnel encapsulation from the received packet, thereby obtaining the ethernet packet in the original format, and further performs forwarding processing, such as forwarding to the cable camera. For example, an ethernet packet in 802.3 frame format sent by the remote server is forwarded to the AP through the Capwap tunnel by adding a Capwap header encapsulation to the AC, and the AP removes the Capwap tunnel encapsulation to obtain an original ethernet packet in 802.3 frame format and forwards the ethernet packet to the cable camera.
The data transmission flow of the PC is as follows.
And installing a client program on the PC, and actively sending a broadcast message by the client program, wherein the broadcast message carries a private field (the set field) for identifying the PC so as to be identified by the AP. The client program has a function of releasing an IP address of a wired network card in the PC, and can release or update an IP address lease of a network card adapter bound to a Transmission Control Protocol/Internet Protocol (TCP/IP), so that the address of the network card can be acquired from a DHCP server at the AC side.
The method comprises the steps that a private field is pre-stored in an AP, a client program on the PC is started, a broadcast message carrying the private field is sent, the AP judges whether PC access exists or not by judging whether the broadcast message carrying the private field is received or not, for example, the AP can receive the broadcast message from a two-layer Ethernet interface and judge. If the AP receives the broadcast message carrying the private field, the PC access is judged to exist, and if the broadcast message carrying the private field is not received, the PC access is judged not to exist. And under the condition that the PC access is judged to exist, the AP initiates a virtual client registration request to the AC by adopting a source MAC address of a broadcast message carrying a private field, and after the virtual client is successfully registered with the AC, the AP writes the source MAC address into the ACL, issues the ACL to the switching chip and sends the information of successful registration to the PC. And after receiving the information of successful registration, the PC releases the current IP address and acquires the IP address again from the DHCP server of the AC, thereby realizing data intercommunication.
Through the scheme, data transmission of the wired camera and the PC can be realized, and the realization is convenient.
Referring to fig. 6, the present disclosure further provides a data transmission apparatus 20, which is applied to a wireless access point AP, where the AP is in communication connection with a wireless controller AC, and the data transmission apparatus 20 includes an access identification module 21, an online processing module 22, an encapsulation module 23, and a message sending module 24.
The access identification module 21 is configured to identify whether there is a preset wired device access.
As for the implementation manner of the access identification module 21, reference may be made to the related description of step S11 in fig. 3, which is not described herein again.
The online processing module 22 is configured to, if there is the access of the preset wired device, regard the preset wired device as a wireless client, and perform online interaction with the AC on the wireless client, so as to access the management network of the AC on the preset wired device as a wireless client.
As for the implementation of the online processing module 22, reference may be made to the related description of step S12 in fig. 3, which is not described herein again.
The encapsulation module 23 is configured to encapsulate, if the preset wired device of the wireless client is online, a message sent by the preset wired device into a target message supported by a wireless communication protocol between the AP and the AC.
For the implementation of the encapsulation module 23, reference may be made to the description related to step S13 in fig. 3, which is not described herein again.
The message sending module 24 is configured to send the target message to the AC.
As for the implementation of the message sending module 24, reference may be made to the related description of step S14 in fig. 3, which is not described herein again.
Optionally, the access identifying module 21 identifies whether there is a preset wired device access by: judging whether the preset wired equipment is accessed according to a source Medium Access Control (MAC) address of a message received from a three-layer Ethernet interface, wherein the working mode of the three-layer Ethernet interface of the AP is a hybrid mode; and judging whether the preset wired equipment is accessed according to the source MAC of the message received from the two-layer Ethernet interface.
Optionally, the wireless communication protocol between the AP and the AC is a control and configuration protocol Capwap of the wireless access point, and the target packet is a Capwap packet.
The encapsulation module 23 is configured to, if the preset wired device is connected to the three-layer ethernet interface of the AP, enable the software processing system of the AP to receive a message sent by the preset wired device, and add a Capwap header to the received message sent by the preset wired device to form a Capwap message; if the preset wired equipment is connected to the two-layer Ethernet interface of the AP, enabling the switching chip of the AP to receive the message sent by the preset wired equipment, transmitting the received message sent by the preset wired equipment to the software processing system of the AP, and adding a Capwap header to the received message sent by the preset wired equipment by the software processing system to form a Capwap message.
The message sending module 24 is configured to enable the software processing system to send the Capwap message to the AC.
Optionally, the online processing module 22 is configured to cancel a service set identifier SSID discovery process, directly use the MAC address of the preset wired device to construct a request packet requesting to join the management network of the AC, send the request packet to the AC, and complete online interaction of the wireless client with the AC according to a response packet fed back by the AC.
Optionally, the access identification module 21 is configured to determine whether a broadcast packet carrying a set field is received, and determine that a preset wired device is accessed if the broadcast packet carrying the set field is received, where the set field is prestored in the AP and is used to identify that the broadcast packet is from the preset wired device.
Optionally, the online processing module 22 is configured to regard the preset wired device as a wireless client, and perform online interaction of the wireless client with the AC by: initiating a virtual client registration request to the AC by adopting the source MAC address of the broadcast message carrying the set field; if the virtual client successfully registers in the AC, writing the source MAC address into an Access Control List (ACL), and issuing the ACL to a switching chip of the AP; and sending the information of successful registration to the preset wired equipment so that the preset wired equipment releases the current Internet protocol IP address and acquires the IP address again from a Dynamic Host Configuration Protocol (DHCP) server of the AC.
Optionally, the data transmission apparatus 20 further includes a message receiving module 25 and an decapsulation module 26.
The message receiving module 25 is configured to receive a message sent by the AC.
The decapsulation module 26 is configured to determine whether a target packet related to the preset wired device exists, and if the target packet related to the preset wired device exists, decapsulate the target packet and send the decapsulated target packet to the preset wired device.
In this disclosure, the working flow and the implementation principle of each module in the data transmission device 20 may refer to the corresponding content in the data transmission method, and therefore are not described herein again.
According to the data transmission method, the data transmission device and the wireless access point, the data flow transmission function of wired equipment can be realized by skillfully designing the FIT AP, the networking complexity is reduced, and the realization is convenient.
In the several embodiments provided in the present disclosure, it should be understood that the disclosed apparatus and method may be implemented in other manners. The apparatus and method embodiments described above are illustrative only, as the flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present disclosure may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present disclosure may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a wireless access point, or a network device) to execute all or part of the steps of the method according to the embodiments of the present disclosure. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes. It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing is illustrative of only alternative embodiments of the present disclosure and is not intended to limit the disclosure, which may be modified and varied by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present disclosure should be included in the protection scope of the present disclosure.

Claims (11)

1. A data transmission method is applied to a wireless Access Point (AP), and the AP is in communication connection with a wireless controller (AC), and the method comprises the following steps:
the AP identifies whether preset wired equipment access exists or not;
if the preset wired equipment is accessed, the preset wired equipment is regarded as a wireless client, online interaction of the wireless client and the AC is carried out, and the preset wired equipment is regarded as a wireless client to be accessed to a management network of the AC;
if the preset wired equipment of the wireless client side is on line, packaging a message sent by the preset wired equipment into a target message supported by a wireless communication protocol between the AP and the AC;
sending the target message to the AC;
wherein, regarding the preset wired device as a wireless client, and performing online interaction of the wireless client with the AC, comprises:
canceling the discovery process of the service set identifier SSID, and directly using the MAC address of the preset wired equipment to construct a request message for requesting to join the management network of the AC; sending the request message to the AC, and completing online interaction of the wireless client with the AC according to a response message fed back by the AC; alternatively, the first and second electrodes may be,
initiating a virtual client registration request to the AC by adopting the source MAC address of the broadcast message carrying the set field; if the virtual client successfully registers in the AC, writing the source MAC address into an Access Control List (ACL), and issuing the ACL to a switching chip of the AP; and sending the information of successful registration to the preset wired equipment so that the preset wired equipment releases the current Internet protocol IP address and acquires the IP address again from a Dynamic Host Configuration Protocol (DHCP) server of the AC.
2. The data transmission method according to claim 1, wherein the step of the AP identifying whether there is a preset wired device access includes:
judging whether the preset wired equipment is accessed according to a source Medium Access Control (MAC) address of a message received from a three-layer Ethernet interface, wherein the working mode of the three-layer Ethernet interface of the AP is a hybrid mode;
and judging whether the preset wired equipment is accessed according to the source MAC of the message received from the two-layer Ethernet interface.
3. The data transmission method according to claim 2, wherein the wireless communication protocol between the AP and the AC is a control and configuration protocol Capwap of a wireless access point, and the target packet is a Capwap packet;
encapsulating the message sent by the preset wired equipment into a target message supported by a wireless communication protocol between the AP and the AC, and sending the target message to the AC, wherein the steps comprise:
if the preset wired equipment is connected to the three-layer Ethernet interface of the AP, a software processing system of the AP receives a message sent by the preset wired equipment, adds a Capwap header to the received message sent by the preset wired equipment to form a Capwap message, and sends the Capwap message to the AC through the software processing system;
if the preset wired equipment is connected to the two-layer Ethernet interface of the AP, the switching chip of the AP receives a message sent by the preset wired equipment, transmits the received message sent by the preset wired equipment to the software processing system of the AP, adds a Capwap header to the received message sent by the preset wired equipment by the software processing system to form a Capwap message, and sends the Capwap message to the AC by the software processing system.
4. The data transmission method according to claim 1, wherein the step of the AP identifying whether there is a preset wired device access includes:
the AP judges whether a broadcast message carrying a set field is received or not, and if the broadcast message carrying the set field is received, the access of a preset wired device is judged to exist, wherein the set field is prestored in the AP, and the set field is used for identifying that the broadcast message comes from the preset wired device.
5. The data transmission method of claim 1, further comprising:
receiving a message sent by the AC;
and judging whether a target message related to the preset wired equipment exists or not, and if so, decapsulating the target message and then sending the decapsulated target message to the preset wired equipment.
6. A data transmission device is applied to a wireless Access Point (AP), and the AP is in communication connection with a wireless controller (AC), and the data transmission device comprises:
the access identification module is used for identifying whether preset wired equipment is accessed or not;
the online processing module is used for regarding the preset wired equipment as a wireless client if the preset wired equipment is accessed, and performing online interaction of the wireless client with the AC so as to access the preset wired equipment as a wireless client to a management network of the AC;
the encapsulation module is used for encapsulating the message sent by the preset wired equipment into a target message supported by a wireless communication protocol between the AP and the AC if the preset wired equipment of the wireless client is on line;
the message sending module is used for sending the target message to the AC;
the online processing module is used for canceling a Service Set Identifier (SSID) discovery process, directly using the MAC address of the preset wired equipment to construct a request message requesting to join the management network of the AC, sending the request message to the AC, and completing online interaction of the wireless client with the AC according to a response message fed back by the AC; alternatively, the first and second electrodes may be,
initiating a virtual client registration request to the AC by adopting the source MAC address of the broadcast message carrying the set field; if the virtual client successfully registers in the AC, writing the source MAC address into an Access Control List (ACL), and issuing the ACL to a switching chip of the AP; and sending the information of successful registration to the preset wired equipment so that the preset wired equipment releases the current Internet protocol IP address and acquires the IP address again from a Dynamic Host Configuration Protocol (DHCP) server of the AC.
7. The data transmission apparatus according to claim 6, wherein the access identification module identifies whether there is a preset wired device access by:
judging whether the preset wired equipment is accessed according to a source Medium Access Control (MAC) address of a message received from a three-layer Ethernet interface, wherein the working mode of the three-layer Ethernet interface of the AP is a hybrid mode;
and judging whether the preset wired equipment is accessed according to the source MAC of the message received from the two-layer Ethernet interface.
8. The data transmission apparatus according to claim 7, wherein the wireless communication protocol between the AP and the AC is a control and configuration protocol Capwap of a wireless access point, and the target packet is a Capwap packet;
the encapsulation module is used for enabling a software processing system of the AP to receive a message sent by the preset wired equipment and adding a Capwap header to the received message sent by the preset wired equipment to form a Capwap message if the preset wired equipment is connected to a three-layer Ethernet interface of the AP; if the preset wired equipment is connected to the two-layer Ethernet interface of the AP, enabling a switching chip of the AP to receive a message sent by the preset wired equipment, transmitting the received message sent by the preset wired equipment to a software processing system of the AP, and adding a Capwap header to the received message sent by the preset wired equipment by the software processing system to form a Capwap message;
and the message sending module is used for enabling the software processing system to send the Capwap message to the AC.
9. The data transmission apparatus according to claim 6, wherein the access identification module is configured to determine whether a broadcast packet carrying a setting field is received, and determine that a preset wired device is accessed if the broadcast packet carrying the setting field is received, wherein the setting field is prestored in the AP, and the setting field is used to identify that the broadcast packet is from the preset wired device.
10. The data transmission apparatus according to claim 6, wherein the data transmission apparatus further comprises:
the message receiving module is used for receiving the message sent by the AC;
and the decapsulation module is used for judging whether a target message related to the preset wired equipment exists or not, and if the target message related to the preset wired equipment exists, decapsulating the target message and then sending the decapsulated target message to the preset wired equipment.
11. A wireless access point, comprising: memory, processor and computer program stored on the memory and executable on the processor, which when executed by the processor implements the data transmission method of any one of claims 1 to 5.
CN201810692582.2A 2018-06-28 2018-06-28 Data transmission method and device and wireless access point Active CN109041275B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810692582.2A CN109041275B (en) 2018-06-28 2018-06-28 Data transmission method and device and wireless access point

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810692582.2A CN109041275B (en) 2018-06-28 2018-06-28 Data transmission method and device and wireless access point

Publications (2)

Publication Number Publication Date
CN109041275A CN109041275A (en) 2018-12-18
CN109041275B true CN109041275B (en) 2022-02-11

Family

ID=65521940

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810692582.2A Active CN109041275B (en) 2018-06-28 2018-06-28 Data transmission method and device and wireless access point

Country Status (1)

Country Link
CN (1) CN109041275B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114158036B (en) * 2021-12-06 2024-01-23 成都飞鱼星科技股份有限公司 Method, equipment, system and medium for configuration management of AP

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106793013A (en) * 2017-01-22 2017-05-31 深圳国人通信股份有限公司 Wireless access system and its exchange method based on L2TP
CN107231341A (en) * 2016-12-27 2017-10-03 深圳市万网博通科技有限公司 Message processing method and device
CN107612928A (en) * 2014-08-04 2018-01-19 福建三元达网络技术有限公司 Ensure the method and system of Radio Link communication quality under thin ap mode

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9407457B2 (en) * 2011-10-04 2016-08-02 Juniper Networks, Inc. Apparatuses for a wired/wireless network architecture

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107612928A (en) * 2014-08-04 2018-01-19 福建三元达网络技术有限公司 Ensure the method and system of Radio Link communication quality under thin ap mode
CN107231341A (en) * 2016-12-27 2017-10-03 深圳市万网博通科技有限公司 Message processing method and device
CN106793013A (en) * 2017-01-22 2017-05-31 深圳国人通信股份有限公司 Wireless access system and its exchange method based on L2TP

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
A simple cross-layer approach to reduce duplicate acknowledgements for TCP over WLAN;Arsahd Hussain等;《 2008 IEEE International Networking and Communications Conference》;20080715;全文 *
基于有线网络实训室构建无线局域网的应用与研究;龚建新等;《电脑知识与技术》;20110520;全文 *

Also Published As

Publication number Publication date
CN109041275A (en) 2018-12-18

Similar Documents

Publication Publication Date Title
EP1523129B1 (en) Method and apparatus for access control of a wireless terminal device in a communications network
JP5657146B2 (en) Method and device for implementing remote control of a building
US20220060350A1 (en) Connecting to a Home Area Network Via a Mobile Communication Network
JP5602937B2 (en) Establishing connectivity between relay nodes and configuration entities
US9825950B2 (en) Method, apparatus, and system for controlling access of user terminal
RU2584752C2 (en) Device and method for implementing data transmission network used for remote house control
US20150381563A1 (en) Relay system for transmitting ip address of client to server and method therefor
CN106302353B (en) Identity authentication method, identity authentication system and related equipment
CN112584393A (en) Base station configuration method, device, equipment and medium
CN107580768A (en) The methods, devices and systems of message transmissions
US20130283050A1 (en) Wireless client authentication and assignment
US20160080318A1 (en) Dynamic host configuration protocol release on behalf of a user
CN112688898B (en) Configuration method and related equipment
EP3465994B1 (en) Method and device for providing a backup link
CN109041275B (en) Data transmission method and device and wireless access point
EP3059907B1 (en) Network packet forwarding method and device
US10805260B2 (en) Method for transmitting at least one IP data packet, related system and computer program product
CN111669309B (en) VxLAN establishing method, wireless controller and switch
EP3220584A1 (en) Wifi sharing method and system, home gateway and wireless local area network gateway
KR101947170B1 (en) Method and apparatus for dynamic vpn manegenment
TWI608749B (en) Method for controlling a client device to access a network device, and associated control apparatus
WO2018161684A1 (en) Data sending method and apparatus, and router
US20220417831A1 (en) Method and device for protecting a local area network comprising a network switch to which a station is connected by cable connection
CN108260179B (en) Access point AP access control method and device
CN115396171A (en) Message transmission method, message transmission channel establishment method and device

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: 20230626

Address after: 310052 11th Floor, 466 Changhe Road, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: H3C INFORMATION TECHNOLOGY Co.,Ltd.

Address before: 310052 Changhe Road, Binjiang District, Hangzhou, Zhejiang Province, No. 466

Patentee before: NEW H3C TECHNOLOGIES Co.,Ltd.