CN104219171A - Method for receiving and sending AP system data by using inquiry mode - Google Patents

Method for receiving and sending AP system data by using inquiry mode Download PDF

Info

Publication number
CN104219171A
CN104219171A CN201410473620.7A CN201410473620A CN104219171A CN 104219171 A CN104219171 A CN 104219171A CN 201410473620 A CN201410473620 A CN 201410473620A CN 104219171 A CN104219171 A CN 104219171A
Authority
CN
China
Prior art keywords
data
receiving
inquiry mode
read
transmit queue
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410473620.7A
Other languages
Chinese (zh)
Inventor
李明峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CHENGDU KAINENG TECHNOLOGY DEVELOPMENT Co Ltd
Original Assignee
CHENGDU KAINENG TECHNOLOGY DEVELOPMENT 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 CHENGDU KAINENG TECHNOLOGY DEVELOPMENT Co Ltd filed Critical CHENGDU KAINENG TECHNOLOGY DEVELOPMENT Co Ltd
Priority to CN201410473620.7A priority Critical patent/CN104219171A/en
Publication of CN104219171A publication Critical patent/CN104219171A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method for receiving and sending AP system data by using inquiry mode, and the method comprises the steps as follows: (1) inquiring hardware state register; (2) judging whether there is the received data frame, if yes, processing the step (3), otherwise, processing the step (4); (3) reading the data from the wireless card cache; (4) judging whether the sending list is empty and the wireless card has resource, if yes, processing the step (5), otherwise, processing the step (6); (5) reading the data from the sending queue, copying the data in the wireless card; (6) inputting the processed data in the sending queue. According to the method, the data receiving and sending control capability is raised while the work efficiency is guaranteed.

Description

A kind of method adopting inquiry mode to realize the transmitting-receiving of AP system data
Technical field
The present invention relates to data transmit-receive field, be specifically related to a kind of method adopting inquiry mode to realize the transmitting-receiving of AP system data.
Background technology
The development of the Internet has entered the stage of a comparative maturity, network has greatly enriched the behavior of people easily, efficient informatization platform makes all manifold operating efficiencies such as enterprise, government, campus be greatly improved, simultaneous mode of working have also been obtained very large improvement, and the degree of dependence of all trades and professions to network is also deepened day by day.At us at any time all in the network used, from carrier network to enterprise network, campus network etc., local area network (LAN) can be described as one of most widely used system, as the basis of local area network (LAN), ethernet technology is also constantly being improved, from 10 million to hundred million, gigabit, gigabit Ethernet, ethernet technology is more and more ripe, throughput is increasing, plays very important role in data communication field.
WLAN (wireless local area network) based on IEEE802.11b agreement is the emerging field in data communication, the wireless broadband Internet access function that it provides meets user to a great extent and is moving the demand to Wireless Data Transmission broadband access in (low speed) situation, there are huge market prospects, nucleus equipment-the WAP (wireless access point) of WLAN (wireless local area network), the quality of its performance will directly affect power system capacity and the traffic handing capacity of network, and the research of WAP (wireless access point) has great importance for the application & development of WLAN (wireless local area network).
Current AP system mainly adopts interrupt mode to carry out data transmit-receive, although this data transmit-receive mode can reduce workload, reduce the requirement to the disposal ability of CPU, but the control ability of this mode to data transmit-receive is more weak, the requirement such for QoS implements more complicated.
Summary of the invention
The object of the present invention is to provide a kind of method adopting inquiry mode to realize the transmitting-receiving of AP system data, solve the current control ability of AP system data transmitting-receiving mode to data transmit-receive more weak, the requirement that QoS is such is implemented to the problem of more complicated.
The present invention for achieving the above object, realizes by the following technical solutions: a kind of method adopting inquiry mode to realize the transmitting-receiving of AP system data, comprises the following steps:
(1) hardware status register is inquired about;
(2) judge whether the Frame of reception, if had, then carry out step (3), otherwise carry out step (4);
(3) from unruled card buffer memory, data are read;
(4) judge whether that transmit queue is not empty and unruled card has resource, if so, then carry out step (5), otherwise carry out step (6);
(5) read data from transmit queue, copy in unruled card;
(6) data processed put into transmit queue.
Further, the detailed process of described step (1) is:
(11) determine to be which position for store frames of data in register;
(12) judge whether these positions of store frames of data change.
Further, the detailed process of described step (3) is:
(31) Frame received is sent into buffer memory in unruled card;
(32) Frame in unruled card buffer memory is read.
Further, the detailed process of described step (5) is:
(51) because the data of transmit queue are not empty, now the data of transmit queue are read;
(52) data read are copied in unruled card again.
Further, after completing described step (6), automatically enter step (1), and constantly circulate.
The present invention compared with prior art, have the following advantages and beneficial effect: the present invention adopts inquiry mode to carry out data transmit-receive, when cpu performance is enough, by arranging different priority to transmit queue, under the prerequisite of guaranteed efficiency, the control ability to data transmit-receive can be improved.
Accompanying drawing explanation
Fig. 1 is the block diagram of system of the present invention.
Embodiment
Below in conjunction with embodiment, the present invention is described in further detail, but embodiments of the present invention are not limited thereto.
Embodiment 1:
As shown in Figure 1, a kind of method adopting inquiry mode to realize the transmitting-receiving of AP system data described in the present embodiment, comprises the following steps:
(1) hardware status register is inquired about;
(2) judge whether the Frame of reception, if had, then carry out step (3), otherwise carry out step (4);
(3) from unruled card buffer memory, data are read;
(4) judge whether that transmit queue is not empty and unruled card has resource, if so, then carry out step (5), otherwise carry out step (6);
(5) read data from transmit queue, copy in unruled card;
(6) data processed put into transmit queue.
As preferably, the detailed process of the step (1) of the present embodiment is:
(11) determine to be which position for store frames of data in register;
(12) judge whether these positions of store frames of data change.
As preferably, the detailed process of the step (3) of the present embodiment is:
(31) Frame received is sent into buffer memory in unruled card;
(32) Frame in unruled card buffer memory is read.
As preferably, the detailed process of the step (5) of the present embodiment is:
(51) because the data of transmit queue are not empty, now the data of transmit queue are read;
(52) data read are copied in unruled card again.
As preferably, after the described step (6) of the present embodiment, automatically enter step (1), and constantly circulate.
The above is only preferred embodiment of the present invention, and not do any pro forma restriction to the present invention, every any simple modification, equivalent variations done above embodiment according to technical spirit of the present invention, all falls within protection scope of the present invention.

Claims (5)

1. adopt inquiry mode to realize a method for AP system data transmitting-receiving, it is characterized in that: comprise the following steps:
(1) hardware status register is inquired about;
(2) judge whether the Frame of reception, if had, then carry out step (3), otherwise carry out step (4);
(3) from unruled card buffer memory, data are read;
(4) judge whether that transmit queue is not empty and unruled card has resource, if so, then carry out step (5), otherwise carry out step (6);
(5) read data from transmit queue, copy in unruled card;
(6) data processed put into transmit queue.
2. a kind of method adopting inquiry mode to realize the transmitting-receiving of AP system data according to claim 1, is characterized in that: the detailed process of described step (1) is:
(11) determine to be which position for store frames of data in register;
(12) judge whether these positions of store frames of data change.
3. a kind of method adopting inquiry mode to realize the transmitting-receiving of AP system data according to claim 1, is characterized in that: the detailed process of described step (3) is:
(31) Frame received is sent into buffer memory in unruled card;
(32) Frame in unruled card buffer memory is read.
4. a kind of method adopting inquiry mode to realize the transmitting-receiving of AP system data according to claim 1, is characterized in that: the detailed process of described step (5) is:
(51) because the data of transmit queue are not empty, now the data of transmit queue are read;
(52) data read are copied in unruled card again.
5., according to a kind of method adopting inquiry mode to realize the transmitting-receiving of AP system data according to claim 1, it is characterized in that: after completing described step (6), automatically enter step (1), and constantly circulate.
CN201410473620.7A 2014-09-17 2014-09-17 Method for receiving and sending AP system data by using inquiry mode Pending CN104219171A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410473620.7A CN104219171A (en) 2014-09-17 2014-09-17 Method for receiving and sending AP system data by using inquiry mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410473620.7A CN104219171A (en) 2014-09-17 2014-09-17 Method for receiving and sending AP system data by using inquiry mode

Publications (1)

Publication Number Publication Date
CN104219171A true CN104219171A (en) 2014-12-17

Family

ID=52100317

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410473620.7A Pending CN104219171A (en) 2014-09-17 2014-09-17 Method for receiving and sending AP system data by using inquiry mode

Country Status (1)

Country Link
CN (1) CN104219171A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106304407A (en) * 2016-07-28 2017-01-04 杭州华三通信技术有限公司 A kind of communication means and device
CN112256601A (en) * 2020-10-19 2021-01-22 凌云光技术股份有限公司 Data access control method, embedded storage system and embedded equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101668314A (en) * 2009-09-01 2010-03-10 中兴通讯股份有限公司 Data transmission method for wireless distribution system and device thereof
US7957384B2 (en) * 2008-03-11 2011-06-07 James Madison Kelley Multiple virtual local area network databases in a switch with a relational lookup engine
CN102098658A (en) * 2011-02-10 2011-06-15 中兴通讯股份有限公司 Method and device for inquiring call state information
CN102905256A (en) * 2012-10-30 2013-01-30 东南大学 Security assessment method for wireless local area network card based on penetration test
CN103874113A (en) * 2014-03-19 2014-06-18 成都西加云杉科技有限公司 Wireless network maintenance method, device and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7957384B2 (en) * 2008-03-11 2011-06-07 James Madison Kelley Multiple virtual local area network databases in a switch with a relational lookup engine
CN101668314A (en) * 2009-09-01 2010-03-10 中兴通讯股份有限公司 Data transmission method for wireless distribution system and device thereof
CN102098658A (en) * 2011-02-10 2011-06-15 中兴通讯股份有限公司 Method and device for inquiring call state information
CN102905256A (en) * 2012-10-30 2013-01-30 东南大学 Security assessment method for wireless local area network card based on penetration test
CN103874113A (en) * 2014-03-19 2014-06-18 成都西加云杉科技有限公司 Wireless network maintenance method, device and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
VLADIMIR LAVRUKHIN: "An overhead analysis of Access Network Query Protocol (ANQP) in hotspot 2.0 Wi-Fi networks", 《2013 13TH INTERNATIONAL CONFERENCE ON ITS TELECOMMUNICATIONS (ITST)》 *
刘晓杰: "无线传感网络MAC层协议研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106304407A (en) * 2016-07-28 2017-01-04 杭州华三通信技术有限公司 A kind of communication means and device
CN112256601A (en) * 2020-10-19 2021-01-22 凌云光技术股份有限公司 Data access control method, embedded storage system and embedded equipment

Similar Documents

Publication Publication Date Title
AU2018332696B2 (en) Service processing method, mobile edge computing device, and network device
US9730137B2 (en) Mobile network with software defined networking architecture
CN104969607B (en) The energy conserving system of distributed base station, device and method
US10136302B2 (en) Roaming support for software defined networking architecture in mobile network
CN109510780A (en) Flow control method, exchange chip and the network equipment
CN102946347B (en) Method and device for accelerating to process local data packet by using Linux system
TWI455531B (en) Network processor
CN104579948A (en) Method and device for fragmenting message
US8902747B2 (en) Minimizing power consumption in a network device
CN104350488A (en) Systems and methods for selective data redundancy elimination for resource constrained hosts
CN104219171A (en) Method for receiving and sending AP system data by using inquiry mode
CN102413054B (en) Method, device and system for controlling data traffic as well as gateway equipment and switchboard equipment
US11700189B2 (en) Method for performing task processing on common service entity, common service entity, apparatus and medium for task processing
CN104702519B (en) The method, apparatus and system of flow unloading
CN104618231A (en) Deep packet inspection method, device and system for cloud terminal Wi-fi system
CN104507122B (en) Flow control methods and system for data in mobile communication system link layer
CN103560970A (en) Method for realizing downlink speed limitation of network device with multiple LAN ports
GB0316422D0 (en) Communication system, communication unit and method of power saving therein
Schwab et al. Edge computing ecosystem support for 5G applications optimization
CN102571280B (en) The method of transfer of data and device
CN104486240A (en) Method and device for classifying data packets
CN104040994B (en) Apparatus, device and method for providing virtual desktop service
WO2024016123A1 (en) Communication method, electronic device and storage medium
Doe et al. Enhancing AR/VR Performance via Optimized Edge-based Object Detection for Connected Autonomous Vehicles
CN100512203C (en) Method for realizing routing based on source IP address

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20141217