Nothing Special   »   [go: up one dir, main page]

CN106686635A - Data transmission method and device based on control and provisioning of wireless access points protocol specification - Google Patents

Data transmission method and device based on control and provisioning of wireless access points protocol specification Download PDF

Info

Publication number
CN106686635A
CN106686635A CN201510756079.5A CN201510756079A CN106686635A CN 106686635 A CN106686635 A CN 106686635A CN 201510756079 A CN201510756079 A CN 201510756079A CN 106686635 A CN106686635 A CN 106686635A
Authority
CN
China
Prior art keywords
wap
data
message
information
data message
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.)
Granted
Application number
CN201510756079.5A
Other languages
Chinese (zh)
Other versions
CN106686635B (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.)
Datang Software Technologies Co Ltd
Original Assignee
Datang Software 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 Datang Software Technologies Co Ltd filed Critical Datang Software Technologies Co Ltd
Priority to CN201510756079.5A priority Critical patent/CN106686635B/en
Publication of CN106686635A publication Critical patent/CN106686635A/en
Application granted granted Critical
Publication of CN106686635B publication Critical patent/CN106686635B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/20Control channels or signalling for resource management

Landscapes

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

Abstract

The invention discloses a data transmission method and device based on control and provisioning of wireless access points protocol specification. A specific embodiment of the method comprises a step of receiving the data message sent by a wireless access point, wherein the data message comprises the Internet protocol address and port number of the wireless access point, a step of determining a first data processing process for processing the data message from multiple data processing processes, a step of analyzing the data message based on the first data processing process, and generating a response message, and a step of sending the response message to the wireless access point. According to the embodiment, the scalability of the wireless access point is improved, and the cost of the wireless communication is reduced.

Description

The data transmission method and device of control and configuration protocol based on WAP
Technical field
The application is related to communication technical field, and in particular to wireless communication system, more particularly to base In the control of WAP and the data transmission method of configuration protocol and device.
Background technology
WLAN (Wireless Local Area Network, abbreviation WLAN) field carries Supply a kind of wireless connection service of LAN, using the teaching of the invention it is possible to provide the access of the wireless data of high speed, User is allowed to enjoy ubiquitous information service.At present wireless local area network technology is mainly By access controller (Access Controller, abbreviation AC) and WAP (Access Point, abbreviation AP) combination realization.
Management and configuration of the access controller to WAP for convenience, Internet work Journey task groups (The Internet Engineering Task Force, abbreviation IETF) have formulated nothing The control of line access point and configuration protocol (Control And Provisioning of Wireless Access Points Protocol Specification, abbreviation CAPWAP) realizing Access Control Standardized management of the device to WAP.But, with the extension of wireless network, access WAP is sharply increased, and needs more access controllers, increased WLAN Cost, and access controller belongs to hardware device, and extension motility is poor, and this is accomplished by people Find a kind of more efficiently approach and WAP be managed and configured.
The content of the invention
The purpose of the application is to propose a kind of control and configuration protocol based on WAP Data transmission method and device are solving the technical problem that background section above is mentioned.
In a first aspect, a kind of this application provides control and configuration protocol based on WAP Data transmission method, methods described includes:The data message that WAP sends is received, Wherein, the data message includes the Internet protocol address and port numbers of the WAP; Determine that the first data processing for processing the data message is entered from multiple data processing processes Journey;Based on parsing of the first data processing process to the data message, response report is generated Text;Based on the Internet protocol address and the port numbers, the response message is sent to institute State WAP.
In certain embodiments, it is described based on the first data processing process to the datagram The parsing of text, generating response message includes:Based on the first data processing process to the number According to the parsing of message, obtain the header information information of the data message, data message information with And control message information;Header information information, number based on the data message of the acquisition Response message is generated according to information and control message information.
In certain embodiments, the header information of the data message based on the acquisition Information, data message information and control message information generate response message to be included:According to described The header information information of the data message of acquisition, obtains the physical address of the WAP; According to the control message information of the data message of the acquisition, the type of the data message is determined; The type of physical address and the data message based on the WAP, obtains the nothing The connection state information of line access point;Based on the data message information and the WAP Connection state information, generate response message.
It is in certain embodiments, described based on the Internet protocol address and the port numbers, Send the response message includes to the WAP:According to the institute of the WAP Internet protocol address and the port numbers are stated, with the WAP user datagram is set up Agreement connects;Connected based on the UDP, send the response message to described WAP.
In certain embodiments, methods described also includes:Judging the length of the response message is It is no more than predetermined threshold value;If the length of the response message is more than predetermined threshold value, by the sound Message is answered to carry out data subpackage process.
In certain embodiments, methods described also includes:True from multiple data processing processes Before fixed the first data processing process for being used to process the data message, multiple use are pre-created In the data processing process of processing data message.
Second aspect, this application provides a kind of control and configuration protocol based on WAP Data transmission device, described device includes:Receiver module, sends out for receiving WAP The data message for sending, wherein, the data message includes the internet protocol of the WAP View address and port numbers;Data processing process determining module, for from multiple data processing processes Middle the first data processing process determined for processing the data message;Parsing module, is used for Based on parsing of the first data processing process to the data message, response message is generated; Sending module, for based on the Internet protocol address and the port numbers, sending the sound Message is answered to the WAP.
In certain embodiments, the data processing process determining module specifically for:Obtain each The maximum task load amount of the data processing process and current task load capacity;Based on it is described most Big task load amount and the current task load capacity determine the first data processing process.
In certain embodiments, the parsing module specifically for:At first data Parsing of the reason process to the data message, the header information information of the acquisition data message, Data message information and control message information;Head based on the data message of the acquisition Portion's information, data message information and control message information generate response message.
In certain embodiments, the parsing module is further configured to:According to the acquisition Data message header information information, obtain the physical address of the WAP;According to The control message information of the data message of the acquisition, determines the type of the data message;Base In the physical address and the type of the data message of the WAP, obtain described wireless The connection state information of access point;Based on the data message information and the WAP Connection state information, generates response message.
In certain embodiments, the sending module specifically for:According to the WAP The Internet protocol address and the port numbers, set up number of users with the WAP Connect according to datagram protocol;Connected based on the UDP, send the response message to The WAP.
In certain embodiments, described device also includes:Judge module, for judging the sound The length of message is answered whether more than predetermined threshold value;If the length of the response message is more than default threshold Value, then carry out data subpackage process by the response message.
In certain embodiments, described device also includes:Data processing process creation module, uses In determining from multiple data processing processes at the first data for processing the data message Before reason process, multiple data processing processes for processing data message are pre-created.
The control based on WAP and the data transmission method of configuration protocol that the application is provided And device, the data message that WAP sends is parsed using data processing process, And response message is generated, and then response message being sent to into WAP, the method is based on nothing The control of line access point and configuration protocol carry out data transmission, and realize the control to WAP And configuration, it is not necessary to the hardware device such as access controller, the autgmentability of WAP is improve, Reduce the cost of radio communication.
Description of the drawings
By reading retouching in detail with reference to being made to non-limiting example of being made of the following drawings State, other features, objects and advantages will become more apparent upon:
Fig. 1 is that the application can apply to exemplary system architecture figure therein;
Fig. 2 is passed according to the control based on WAP of the application and the data of configuration protocol The flow chart of one embodiment of transmission method;
Fig. 3 is passed according to the control based on WAP of the application and the data of configuration protocol In transmission method, a kind of indicative flowchart of implementation of data processing process is determined;
Fig. 4 is passed according to the control based on WAP of the application and the data of configuration protocol In transmission method, a kind of indicative flowchart of implementation of data message is parsed;
Fig. 5 is passed according to the control based on WAP of the application and the data of configuration protocol In transmission method, a kind of indicative flowchart of the implementation for sending datagram;
Fig. 6 is passed according to the control based on WAP of the application and the data of configuration protocol The structural representation of one embodiment of defeated device;
Fig. 7 is adapted for for realizing the terminal unit of the embodiment of the present application or the computer of server The structural representation of system.
Specific embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is appreciated that , specific embodiment described herein is used only for explaining related invention, rather than to this Bright restriction.It also should be noted that, for the ease of description, illustrate only in accompanying drawing with About the related part of invention.
It should be noted that the embodiment and embodiment in the case where not conflicting, in the application In feature can be mutually combined.Below with reference to the accompanying drawings and in conjunction with the embodiments describing this in detail Application.
Fig. 1 shows the control based on WAP and the configuration protocol that can apply the application Data transmission method or device embodiment exemplary system architecture 100.
As shown in figure 1, system architecture 100 can include terminal unit 101,102,103, Network access equipment 104 and server 105.Network access equipment 104 is in terminal unit The 101st, the medium of communication link is provided between 102,103 and server 105.
User can be carried with using terminal equipment 101,102,103 by network access equipment 104 For wireless connection service interact with server 105, realize the communication of terminal unit and network. Wherein, network access equipment 104 can be including but not limited to:WAP and/or user side Equipment (Customer Premise Equipment, abbreviation CPE).Network insertion below Equipment is to illustrate as a example by WAP.
Terminal unit 101,102,103 can be various radio-based electronic devices, including but do not limit In smart mobile phone, panel computer, E-book reader, MP3 player (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio frequency aspect 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert compression Standard audio aspect 4) player, pocket computer on knee and desk computer etc..
Server 105 can be to provide the server of various services, for example to terminal unit 101, 102nd, the 103 network insertion requests for sending provide the background network server supported.Background network Server can to receive network insertion request etc. data be analyzed wait process, and will locate Reason result is sent to WAP, makes terminal unit be communicated with network.
It should be noted that the control based on WAP that provided of the embodiment of the present application and The data transmission method of configuration protocol is typically performed by server 105, correspondingly, based on wireless The control of access point and the data transmission device of configuration protocol are generally positioned in server 105.
It should be understood that the number of the terminal unit, WAP and server in Fig. 1 is only It is schematic.According to needs are realized, there can be any number of terminal unit, wirelessly connect Access point and server.
With continued reference to Fig. 2, it illustrates according to the control based on WAP of the application and The flow process 200 of one embodiment of the data transmission method of configuration protocol.It is described based on wireless The control of access point and the data transmission method of configuration protocol, comprise the following steps:
Step 201, receives the data message that WAP sends.
In the present embodiment, based on WAP control and the transmission side data of configuration protocol Method operation electronic equipment (such as the server shown in Fig. 1) thereon can pass through wired company Connect mode or radio connection from WAP receive based on WAP control and The data message of configuration protocol, wherein, data message includes the Internet of above-mentioned WAP Protocol address and port numbers.
In some optional implementations of the present embodiment, build in advance multiple for processing number According to the thread of message, and thread is managed and called by thread pool.In the present embodiment, receive To data message can be different types of data message, for example, these types can be Discovery Request data messages, Join Request data messages etc., each datagram One thread of literary type correspondence.When the data message of WAP transmission is received, according to The difference of type of message calls the thread in above-mentioned thread pool, processes the above-mentioned datagram for receiving Text, obtains the Internet protocol address and port numbers of WAP.Afterwards, will receive Byte type data message is converted into the data message of hexadecimal format, for the datagram of next step Text parsing is used.
Step 202, determines for the first of processing data message from multiple data processing processes Data processing process.
In the present embodiment, above-mentioned electronic equipment obtain data message that WAP sends it Afterwards, suitable data processing process is chosen from multiple data processing processes to obtain as process is above-mentioned First data processing process of the data message for taking.In some optional realization sides of the present embodiment In formula, above-mentioned first data processing process can be selected by way of load balancing.For example, Statistics obtains the quantity of the data message that each data processing process can also be processed, afterwards, choosing The first data processing that a most idle data processing process is taken as processing data message is entered Journey.
In some optional implementations of the present embodiment, also include:From at multiple data Before the first data processing process for processing data message is determined in reason process, it is pre-created Multiple data processing processes for processing data message.In the present embodiment, can be according to need The quantity of data message to be processed, creates multiple data processings for parsing data message and enters Journey.
Step 203, based on parsing of the first data processing process to data message, generates response Message.In the present embodiment, above-mentioned electronic equipment can be parsed using the first data processing process The data message that WAP sends, and the result obtained according to parsing generates corresponding response Message.For example, when the above-mentioned data message for receiving is Discovery Request data messages When, above-mentioned electronic equipment is parsed using the first data processing process for determining to data message, Obtain corresponding Discovery Response response messages;When the above-mentioned data message for receiving For Join Request data messages when, above-mentioned electronic equipment is using the first data processing for determining Process is parsed to data message, obtains corresponding Join Response response messages.Here, The data message that the parsing of first data processing process is obtained is the data message of hexadecimal format, Also need to that the data message after parsing is changed the byte type response message for ease of transmission.Wherein, The control of above-mentioned WAP and the Discovery categorical datas message of configuration protocol are used to send out The position of existing above-mentioned electronic equipment and ability, Join categorical data messages be WAP upwards State electronic equipment requests service.
It should be noted that the data message of the control of WAP and configuration protocol also includes Other categorical data messages, this is widely studied at present and application known technology, and here is no longer Repeat.
Step 204, internet protocol-based address and port numbers, send response message to wirelessly Access point.
In the present embodiment, above-mentioned electronic equipment can be by the Internet protocol of WAP Address and port numbers, set up with above-mentioned WAP and are connected.Afterwards, based on the connection set up Above-mentioned response message is sent to into the WAP, the transmission of data is completed.Here, it is above-mentioned The connected mode that electronic equipment is set up with above-mentioned WAP can be the length of transmission control protocol Connection or short connected mode, or other similar connected modes.
In some optional implementations of the present embodiment, also include:Judge above-mentioned response report Whether the length of text is more than predetermined threshold value, if the length of response message is more than predetermined threshold value, will Above-mentioned response message carries out data subpackage process.Here, above-mentioned predetermined threshold value is less than chain in communication The MTU (Maximum Transfer Unit, abbreviation MTU) of road license.Work as sound When answering the length of message to be more than predetermined threshold value, data subpackage process is carried out to the response message, made Each response message that must be separated is allowed to transmit in a communication link.
In the present embodiment, above-mentioned electronic equipment is sent using data processing process to WAP Data message parsed, and generate response message, response message is sent to wirelessly afterwards Access point, control and configuration protocol of the method based on WAP carries out data transmission, real The control to WAP and configuration are showed, it is not necessary to access controller, have improve and wirelessly connect The autgmentability of access point, reduces the cost of radio communication.
In some optional implementations, as shown in figure 3, step 202 " from many numbers The first data processing process according to determining in treatment progress for processing data message " can pass through The steps is realizing:
Step 301, the maximum task load amount and current task for obtaining each data processing process is negative Carrying capacity.
In this implementation, above-mentioned electronic equipment (such as the server shown in Fig. 1) can It is negative to obtain maximum task load amount that each data processing process can accommodate and current task Carrying capacity.Here, maximum task load amount refers to the quantity of the data message that the process can be accommodated, Current task load capacity refers to that the process is processing the quantity with pending data message.
Step 302, based on maximum task load amount and current task load capacity the first data are determined Treatment progress.
In this implementation, obtain each data processing process maximum task load amount and After current task load capacity, both differences are calculated, obtain the free time of each data processing process Task quantity.Here it is possible to select the most data processing process of idle task number as first Data processing process.
It should be noted that, in some optional implementations, a task can be set up and waited Queue.When the idle task quantity of each data processing process is zero, by pending datagram Text is deposited in and continues to have waited until that a data treatment progress is idle in task waiting list, Just proceed next step parsing operation.This implementation can improve the effect of data message parsing Rate.
In some optional implementations, as shown in figure 4, step 203 " be based on first Parsing of the data processing process to data message, generates response message " can be by following step Suddenly realizing:
Step 401, is parsed based on the first data processing process to data message, obtains number According to the header information information of message, data message information and control message information.
In this implementation, above-mentioned electronic equipment (such as the server shown in Fig. 1) profit The data message for receiving is parsed with the first data processing process of above-mentioned determination, is obtained The header information information of the data message, data message information and control message information.
Step 402, according to the header information information of the data message for obtaining, obtains wireless access The physical address of point.
In this implementation, above-mentioned electronic equipment obtain data message header information information it Afterwards, the data message form in the control and configuration protocol of WAP, it is possible to obtain The physical address of above-mentioned WAP.
Step 403, according to the control message information of the data message for obtaining, determines data message Type.
In this implementation, above-mentioned electronic equipment obtains the control message information of data message, The type of the data message is determined according to the type of control message.Here, control message information bit After the header information information of above-mentioned data message, including different types, for example Discovery, Join, Image data etc..
Step 404, the type of physical address and data message based on WAP is obtained The connection state information of WAP.
In this implementation, above-mentioned electronic equipment can cache above-mentioned acquisition and wireless access The associated information of the type of control message in the physical address and data message of point, and according to upper State the connection state information that associated information judges and records WAP.
Step 405, it is raw based on data message information and the connection state information of WAP Into response message.
In this implementation, above-mentioned electronic equipment is preserved the data message information of acquisition, And according to the connection state information of above-mentioned WAP, generate response message.Here, also need The response message of generation is converted to into byte type response message, and the response message length is not Can exceed that the MTU of communication link license.Therefore, here for response message is long Degree can set a threshold value, and this threshold value is less than MTU, when the length of response message Degree then needs to carry out subpackage process to the response message beyond threshold value.
In some optional implementations, as shown in figure 5, step 204 " based on interconnection FidonetFido address and port numbers, send response message to WAP " can pass through following Step is realizing:
Step 501, it is and wireless according to the Internet protocol address and port numbers of WAP Access point sets up UDP connection.
In this implementation, above-mentioned electronic equipment (such as the server shown in Fig. 1) root According to the Internet protocol address and port numbers of above-mentioned WAP, set up with the WAP UDP connects.Here, UDP connection is a kind of is needing number According to the connection just set up when transmission, it is not necessary to be always maintained at the state for connecting.This connection Mode can reduce the consumption of memory source, and the operation that solution system is caused because load is too high is delayed Slow problem.
Step 502, is connected based on UDP, sends response message to wireless access Point.
In this implementation, above-mentioned electronic equipment is connected upwards by UDP State WAP and send response message.
With further reference to Fig. 6, used as the realization to method shown in above-mentioned each figure, the application is provided An a kind of enforcement of the data transmission device of the control and configuration protocol based on WAP Example, the device embodiment is corresponding with the embodiment of the method shown in Fig. 2, and the device specifically can be with In being applied to various electronic equipments.
As shown in fig. 6, the control based on WAP and configuration protocol described in the present embodiment Data transmission device 600 include:Receiver module 601, data processing process determining module 602, Parsing module 603 and sending module 604.Wherein, receiver module 601 is used for from multiple data The first data processing process for processing data message is determined in treatment progress;Data processing is entered Journey determining module 602 is used to determine for processing data message from multiple data processing processes First data processing process;Parsing module 603 is used for based on the first data processing process to data The parsing of message, generates response message;And receiver module 604 is used for internet protocol-based ground Location and port numbers, send response message to WAP.
In some optional implementations of the present embodiment, device 600 also includes:Judge mould Block (not shown), for whether judging the length of response message more than predetermined threshold value, if the sound Answer the length of message more than predetermined threshold value, then response message is carried out into data subpackage process;Data Treatment progress creation module (not shown), for being used for determining from multiple data processing processes Before first data processing process of processing data message, it is pre-created multiple for processing data The data processing process of message.
In the present embodiment, above-mentioned data process determining module 602 can be by each data processing The maximum task load amount of process and current task load capacity, it is determined that for parsing data message First data processing process.
In the present embodiment, above-mentioned parsing module 603 can utilize the first data processing process solution Above-mentioned data message is analysed, header information information, data message information and the control of data message is obtained Information processed.Above- mentioned information is chosen unit 603 and is further configured to according to the head for obtaining Information, data message information and control message information, obtain the thing of above-mentioned WAP Reason address, the type of data message, connection status of WAP etc., ultimately produce response Message.
It will be understood by those skilled in the art that above-mentioned control and configuration association based on WAP The data transmission device 600 of view also includes some other known features, such as processor, storage Device etc., in order to unnecessarily obscure embodiment of the disclosure, these known structures are in figure 6 It is not shown.
Below with reference to Fig. 7, the terminal unit being suitable to for realizing the embodiment of the present application is it illustrates Or the structural representation of the computer system 700 of server.
As shown in fig. 7, computer system 700 includes CPU (CPU) 701, its Can be according to the program being stored in read only memory (ROM) 702 or from storage part 708 The program that is loaded in random access storage device (RAM) 703 and perform various appropriate actions And process.In RAM 703, the system that is also stored with 700 operates required various program sums According to.CPU 701, ROM 702 and RAM 703 are connected with each other by bus 704.Input / output (I/O) interface 705 is also connected to bus 704.
I/O interfaces 705 are connected to lower component:Including the importation 706 of keyboard, mouse etc.; Including cathode ray tube (CRT), liquid crystal display (LCD) etc. and speaker etc. Output par, c 707;Storage part 708 including hard disk etc.;And including such as LAN card, The communications portion 709 of the NIC of modem etc..Communications portion 709 is via such as The network of the Internet performs communication process.Driver 710 is also according to needing to be connected to I/O interfaces 705.Detachable media 711, such as disk, CD, magneto-optic disk, semiconductor memory etc., Be arranged on as needed in driver 710, in order to the computer program that reads from it according to Needs are mounted into storage part 708.
Especially, in accordance with an embodiment of the present disclosure, can be with above with reference to the process of flow chart description It is implemented as computer software programs.For example, embodiment of the disclosure includes a kind of computer journey Sequence product, it includes the computer program being tangibly embodied on machine readable media, the meter Calculation machine program bag is containing the program code for the method shown in execution flow chart.In such enforcement In example, the computer program can be downloaded and installed by communications portion 709 from network, And/or it is mounted from detachable media 711.
Flow chart and block diagram in accompanying drawing, it is illustrated that according to the system of the various embodiments of the application, The architectural framework in the cards of method and computer program product, function and operation.This point On, each square frame in flow chart or block diagram can represent module, program segment or a code A part, a part for the module, program segment or code is used for comprising one or more Realize the executable instruction of the logic function of regulation.It should also be noted that at some as replacement In realization, the function of being marked in square frame can also be with different from the order marked in accompanying drawing It is raw.For example, two square frames for succeedingly representing can essentially be performed substantially in parallel, they Sometimes can also perform in the opposite order, this is depending on involved function.It is also noted that It is, each square frame and block diagram and/or the square frame in flow chart in block diagram and/or flow chart Combination, can be realized with the function of regulation or the special hardware based system of operation is performed, Or can be realized with the combination of computer instruction with specialized hardware.
Be described in module involved in the embodiment of the present application can by way of software reality It is existing, it is also possible to be realized by way of hardware.Described module can also be arranged on process In device, for example, can be described as:A kind of processor includes receiver module, data processing process Determining module, parsing module and sending module.Wherein, the title of these modules is in certain situation Under do not constitute to the module restriction of itself, for example, receiver module is also described as " connecing Receive the module of the data message that WAP sends ".
On the other hand as, present invention also provides a kind of nonvolatile computer storage media, The nonvolatile computer storage media can be described in above-described embodiment included in device Nonvolatile computer storage media;Can also be individualism, it is non-in terminal without allocating into Volatile computer storage medium.Above-mentioned nonvolatile computer storage media be stored with one or The multiple programs of person, when one or more of programs are performed by an equipment so that described Equipment:The data message that WAP sends is received, wherein, the data message includes institute State the Internet protocol address and port numbers of WAP;From multiple data processing processes really Fixed the first data processing process for being used to process the data message;At first data Parsing of the reason process to the data message, generates response message;Based on the Internet protocol Address and the port numbers, send the response message to the WAP.
Above description is only the preferred embodiment of the application and saying to institute's application technology principle It is bright.It will be appreciated by those skilled in the art that invention scope involved in the application, does not limit In the technical scheme of the particular combination of above-mentioned technical characteristic, at the same also should cover without departing from In the case of the inventive concept, combination in any is carried out by above-mentioned technical characteristic or its equivalent feature And other technical schemes for being formed.Such as features described above and (but not limited to) disclosed herein The technical scheme that technical characteristic with similar functions is replaced mutually and formed.

Claims (14)

1. a kind of data transmission method of the control and configuration protocol based on WAP, it is special Levy and be, methods described includes:
The data message that WAP sends is received, wherein, the data message includes described The Internet protocol address and port numbers of WAP;
Determine from multiple data processing processes at the first data for processing the data message Reason process;
Based on parsing of the first data processing process to the data message, response report is generated Text;
Based on the Internet protocol address and the port numbers, the response message is sent to institute State WAP.
2. the number of the control and configuration protocol based on WAP according to claim 1 According to transmission method, it is characterised in that described to determine for processing from multiple data processing processes First data processing process of the data message includes:
Obtain the maximum task load amount and current task load capacity of each data processing process;
First number is determined based on the maximum task load amount and the current task load capacity According to treatment progress.
3. the number of the control and configuration protocol based on WAP according to claim 2 According to transmission method, it is characterised in that it is described based on the first data processing process to the number According to the parsing of message, generating response message includes:
Based on parsing of the first data processing process to the data message, the number is obtained According to the header information information of message, data message information and control message information;
Based on the header information information of the data message of the acquisition, data message information with And control message information generates response message.
4. the number of the control and configuration protocol based on WAP according to claim 3 According to transmission method, it is characterised in that the head of the data message based on the acquisition Information, data message information and control message information generate response message to be included:
According to the header information information of the data message of the acquisition, the WAP is obtained Physical address;
According to the control message information of the data message of the acquisition, the data message is determined Type;
The type of physical address and the data message based on the WAP, obtains institute State the connection state information of WAP;
Based on the data message information and the connection state information of the WAP, generate Response message.
5. the control based on WAP according to one of claim 1-4 and configuration association The data transmission method of view, it is characterised in that described based on the Internet protocol address and institute Port numbers are stated, send the response message includes to the WAP:
According to the Internet protocol address and the port numbers of the WAP, with institute State WAP and set up UDP connection;
Connected based on the UDP, send the response message and wirelessly connect to described Access point.
6. the number of the control and configuration protocol based on WAP according to claim 4 According to transmission method, it is characterised in that methods described also includes:
Judge the length of the response message whether more than predetermined threshold value;
If the length of the response message is more than predetermined threshold value, the response message is entered into line number Process according to subpackage.
7. the number of the control and configuration protocol based on WAP according to claim 6 According to transmission method, it is characterised in that methods described also includes:
The first data for processing the data message are being determined from multiple data processing processes Before treatment progress, multiple data processing processes for processing data message are pre-created.
8. a kind of data transmission device of the control and configuration protocol based on WAP, it is special Levy and be, described device includes:
Receiver module, for receiving the data message of WAP transmission, wherein, the number Include the Internet protocol address and port numbers of the WAP according to message;
Data processing process determining module, for determining for from from multiple data processing processes Manage the first data processing process of the data message;
Parsing module, for based on solution of the first data processing process to the data message Analysis, generates response message;
Sending module, for based on the Internet protocol address and the port numbers, sending institute Response message is stated to the WAP.
9. the number of the control and configuration protocol based on WAP according to claim 8 According to transmitting device, it is characterised in that the data processing process determining module specifically for:
Obtain the maximum task load amount and current task load capacity of each data processing process;
First number is determined based on the maximum task load amount and the current task load capacity According to treatment progress.
10. the control and configuration protocol based on WAP according to claim 9 Data transmission device, it is characterised in that the parsing module specifically for:
Based on parsing of the first data processing process to the data message, the number is obtained According to the header information information of message, data message information and control message information;
Based on the header information information of the data message of the acquisition, data message information with And control message information generates response message.
11. controls and configuration protocol based on WAP according to claim 10 Data transmission device, it is characterised in that the parsing module is further configured to:
According to the header information information of the data message of the acquisition, the WAP is obtained Physical address;
According to the control message information of the data message of the acquisition, the data message is determined Type;
The type of physical address and the data message based on the WAP, obtains institute State the connection state information of WAP;
Based on the data message information and the connection state information of the WAP, generate Response message.
12. controls based on WAP and configuration according to one of claim 7-11 The data transmission device of agreement, it is characterised in that the sending module specifically for:
According to the Internet protocol address and the port numbers of the WAP, with institute State WAP and set up UDP connection;
Connected based on the UDP, send the response message and wirelessly connect to described Access point.
13. controls and configuration protocol based on WAP according to claim 11 Data transmission device, it is characterised in that described device also includes:
Judge module, for judging the length of the response message whether more than predetermined threshold value;
If the length text of the response report is more than predetermined threshold value, the response message is entered into line number Process according to subpackage.
14. controls and configuration protocol based on WAP according to claim 13 Data transmission device, it is characterised in that described device also includes:
Data processing process creation module, for being used for determining from multiple data processing processes Before processing the first data processing process of the data message, it is pre-created multiple for processing The data processing process of data message.
CN201510756079.5A 2015-11-09 2015-11-09 Data transmission method and device based on control and configuration protocol of wireless access point Active CN106686635B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510756079.5A CN106686635B (en) 2015-11-09 2015-11-09 Data transmission method and device based on control and configuration protocol of wireless access point

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510756079.5A CN106686635B (en) 2015-11-09 2015-11-09 Data transmission method and device based on control and configuration protocol of wireless access point

Publications (2)

Publication Number Publication Date
CN106686635A true CN106686635A (en) 2017-05-17
CN106686635B CN106686635B (en) 2020-05-15

Family

ID=58864009

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510756079.5A Active CN106686635B (en) 2015-11-09 2015-11-09 Data transmission method and device based on control and configuration protocol of wireless access point

Country Status (1)

Country Link
CN (1) CN106686635B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107273618A (en) * 2017-06-20 2017-10-20 北京京东尚科信息技术有限公司 Method and apparatus for information transfer between simulation model
CN107333274A (en) * 2017-07-03 2017-11-07 铂元智能科技(北京)有限公司 Wireless transmitting system
CN111614752A (en) * 2020-05-19 2020-09-01 北京百度网讯科技有限公司 Method and device for data transmission
WO2023241383A1 (en) * 2022-06-14 2023-12-21 深圳迈瑞生物医疗电子股份有限公司 Monitoring system, wireless access point, and data server and data interaction method therefor

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101621802A (en) * 2009-08-13 2010-01-06 杭州华三通信技术有限公司 Method, system and device for authenticating portal in wireless network
CN101754196A (en) * 2008-12-11 2010-06-23 杭州华三通信技术有限公司 Method and system for realizing WAPI authentication
CN101801110A (en) * 2010-03-10 2010-08-11 北京傲天动联技术有限公司 Wireless local area network upgrading method based on thin AP architecture
CN102595463A (en) * 2012-02-20 2012-07-18 北京傲天动联技术有限公司 Wireless environment simulation method
WO2012128684A1 (en) * 2011-03-23 2012-09-27 Telefonaktiebolaget L M Ericsson (Publ) Ue access to circuit switched-based mobile telephony services using a fixed wireless terminal
CN102711080A (en) * 2012-04-28 2012-10-03 深圳市同洲电子股份有限公司 Method and device for distinguishing wireless terminals
CN102880540A (en) * 2012-08-27 2013-01-16 南京智达康无线通信科技股份有限公司 Method for ensuring normal operation of access controller (AC) under high load
CN103260150A (en) * 2013-05-09 2013-08-21 中国联合网络通信集团有限公司 Wireless access control method, wireless access point and wireless access controller
CN103336684A (en) * 2013-07-18 2013-10-02 上海寰创通信科技股份有限公司 AC capable of concurrent processing AP information and processing method thereof
CN103338210A (en) * 2013-07-18 2013-10-02 上海寰创通信科技股份有限公司 AP (Access Point) emulation analog system based on CAPWAP (Control and Provisioning of Wireless Access Points) protocol

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101754196A (en) * 2008-12-11 2010-06-23 杭州华三通信技术有限公司 Method and system for realizing WAPI authentication
CN101621802A (en) * 2009-08-13 2010-01-06 杭州华三通信技术有限公司 Method, system and device for authenticating portal in wireless network
CN101801110A (en) * 2010-03-10 2010-08-11 北京傲天动联技术有限公司 Wireless local area network upgrading method based on thin AP architecture
WO2012128684A1 (en) * 2011-03-23 2012-09-27 Telefonaktiebolaget L M Ericsson (Publ) Ue access to circuit switched-based mobile telephony services using a fixed wireless terminal
CN102595463A (en) * 2012-02-20 2012-07-18 北京傲天动联技术有限公司 Wireless environment simulation method
CN102711080A (en) * 2012-04-28 2012-10-03 深圳市同洲电子股份有限公司 Method and device for distinguishing wireless terminals
CN102880540A (en) * 2012-08-27 2013-01-16 南京智达康无线通信科技股份有限公司 Method for ensuring normal operation of access controller (AC) under high load
CN103260150A (en) * 2013-05-09 2013-08-21 中国联合网络通信集团有限公司 Wireless access control method, wireless access point and wireless access controller
CN103336684A (en) * 2013-07-18 2013-10-02 上海寰创通信科技股份有限公司 AC capable of concurrent processing AP information and processing method thereof
CN103338210A (en) * 2013-07-18 2013-10-02 上海寰创通信科技股份有限公司 AP (Access Point) emulation analog system based on CAPWAP (Control and Provisioning of Wireless Access Points) protocol

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
赵煜: "无线接入点软件系统中TR-069模块的设计与实现", 《中国优秀硕士学位论文全文数据库信息科技辑(月刊 )》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107273618A (en) * 2017-06-20 2017-10-20 北京京东尚科信息技术有限公司 Method and apparatus for information transfer between simulation model
CN107333274A (en) * 2017-07-03 2017-11-07 铂元智能科技(北京)有限公司 Wireless transmitting system
CN107333274B (en) * 2017-07-03 2023-09-05 铂元智能科技(北京)有限公司 wireless transmission system
CN111614752A (en) * 2020-05-19 2020-09-01 北京百度网讯科技有限公司 Method and device for data transmission
CN111614752B (en) * 2020-05-19 2022-08-30 北京百度网讯科技有限公司 Method and device for data transmission
WO2023241383A1 (en) * 2022-06-14 2023-12-21 深圳迈瑞生物医疗电子股份有限公司 Monitoring system, wireless access point, and data server and data interaction method therefor

Also Published As

Publication number Publication date
CN106686635B (en) 2020-05-15

Similar Documents

Publication Publication Date Title
CN102948205B (en) For method, system and equipment at wireless network initiating communication
CN106549878B (en) Service distribution method and device
CN103281241B (en) The method and apparatus that information is provided to the access network unit in communications network system
CN102891890B (en) Exchange method between a kind of terminal and relevant device, system
CN107395572B (en) Data processing method and Internet of things gateway
GB2419063B (en) Method for the transmission of additional information in a communication system,exchange device and user station
EP1435721A3 (en) Automatic and dynamic service information delivery to data terminals in an access network
US9535638B2 (en) Directly transferring data between devices
CN106686635A (en) Data transmission method and device based on control and provisioning of wireless access points protocol specification
CN110506403A (en) Flow control for wireless device
KR20090042792A (en) A method and apparatus for time synchronization of parameters
CN106533932A (en) Method and device for pushing instant message
EP1631025A3 (en) Method for streaming data between a server and a client
CN106105158B (en) For establishing the method and system of connection between searchers's device and destination apparatus
JP7497462B2 (en) Information transmission method, device and electronic device
CN102118397B (en) Teleconference communication method and system based on mobile phones
CN106507493A (en) Avoid method, device, base station and the terminal of ascending resource conflict
CN102891858A (en) Method and system for network data transmission and proxy server
CN108023921A (en) The cut-in method and device of a kind of third-party platform
JP2002010329A (en) Communication system and communication method for mobile unit
CN104956765B (en) Communication device and control method for communication device
CN108243503A (en) Radio resource scheduling method in unlicensed spectrum and base station using the same
CN102238089B (en) Service interaction method, device and system
CN107592679A (en) Wireless communication system and wireless communication device
CN105915611A (en) Cross-terminal data processing 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