CN102056245B - Method for sharing bandwidth among wireless devices and wireless devices - Google Patents

Method for sharing bandwidth among wireless devices and wireless devices Download PDF

Info

Publication number
CN102056245B
CN102056245B CN200910180393.8A CN200910180393A CN102056245B CN 102056245 B CN102056245 B CN 102056245B CN 200910180393 A CN200910180393 A CN 200910180393A CN 102056245 B CN102056245 B CN 102056245B
Authority
CN
China
Prior art keywords
wireless device
bandwidth
wireless
network
wireless devices
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
CN200910180393.8A
Other languages
Chinese (zh)
Other versions
CN102056245A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN200910180393.8A priority Critical patent/CN102056245B/en
Publication of CN102056245A publication Critical patent/CN102056245A/en
Application granted granted Critical
Publication of CN102056245B publication Critical patent/CN102056245B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method for sharing bandwidth among wireless devices and the wireless devices, relates to the fields of communication technique and communication, and aims to solve the problems of low internetworking flexibility, low usability and low network utilization ratio in the prior art. The method comprises the following steps that: a wireless device A issues a connection request to a wireless device B, and consults with the wireless device B to share bandwidth information and establish connection; the wireless device A judges whether local data needs to be forwarded or not; and when the local data needs to be forwarded, the wireless device A transmits a data packet to a network through the wireless device B. Each wireless device comprises a link control module, a load balancing module and a data forwarding module, wherein the link control module is used for initiating the connection request to other wireless devices and consulting with other wireless devices to share the bandwidth information and establish connection; the load balancing module is used for transmitting a forwarding signal when the wireless device judges that the local data needs to be forwarded; and the data forwarding module is used for receiving the forwarding signal and transmitting the data packet to the network through other wireless devices which are connected with the wireless device.

Description

A kind of wireless device is shared method and the wireless device of bandwidth
Technical field
The present invention relates to the communication technique field communications field, particularly relate to method and wireless device that a kind of wireless device is shared bandwidth.
Background technology
WiFi (Wireless Fidelity) as a kind of short-distance wireless communication technology, is widely used in airport, office, the places such as family.Compare other wireless technologys, WiFi has following technical advantage:
Transmission rate is high.802.11a, the speed of 802.11g can reach 54Mbps, and in 802.11n standard, transmission rate can reach 300Mbps, even 600Mbps.Although be subject to the restrictions such as wireless signal transmission intensity, actual speed rate does not reach desirable speed, but still higher than most of wireless transmission, and part cable network.
The equipment of supporting is many.Nearly all notebook computer all can built-in WiFi module, the PDA of a lot of middle and high ends, and mobile phone is also supported WiFi.On airport, office building, there is AP (AccessPoint) in the places such as cafe, and access is convenient.
Due to the many connected modes based on AP/Client of existing WiFi technology, at access public network, be often limited by the restriction of AP access capability, the network bandwidth for example, accessible client terminal quantity etc.
For client, need to set BSSID, cipher modes etc. just can connect AP, need user to have certain professional knowledge, have reduced ease for use.
The patent documentation of existing shared bandwidth comprises: the Chinese patent application that number of patent application is CN200710181002.5 " a kind of network of shared bandwidth, method and access point ".
CN200710181002.5 Chinese patent application has the following disadvantages: one, this patent is used a plurality of access points to be polymerized to access point group, and bandwidth sharing only limits in this group.Two, use ad hoc to connect each access point, the other side's access-in point information need to be set on access point, complex operation, ease for use is poor.Three, only limit to sharing of fixed network link circuit resource.
Summary of the invention
The invention provides a kind of wireless device and share method and the wireless device of bandwidth, low in order to solve prior art networking flexibility, ease for use is poor, and the low problem of network utilization.
A kind of wireless device of the present invention is shared the method for bandwidth, comprises the following steps: Connection Step: wireless device A initiates connection request to wireless device B, consults to share bandwidth information, and connect with wireless device B; Determining step: wireless device A judges whether local data needs to forward; Forward step: when needed, wireless device A by wireless device B by Packet Generation to network.
Further, at Connection Step, comprise: in communication process, wireless device A periodically sends broadcast, sets up new connection, and upgrade the existing state connecting.
Further, in negotiation described in Connection Step, sharing bandwidth information comprises: wireless device A is to wireless device B request available bandwidth ability; And wireless device A and wireless device B negotiation cipher mode.
Further, at determining step, comprise: wireless device A judges whether required bandwidth exceeds the bandwidth threshold values of this equipment, be if so, judged to be and need to forward; Otherwise, be judged to be and do not need to forward.
Further, in forwarding step, by wireless device B forwarding data bag, comprising: wireless device A by package forward to wireless device B; Wireless device B is the local port of wireless device B by the address translation of wireless device A; Wireless device B by described port by Packet Generation to network.
Further, after forwarding step, also comprise: judge whether packet sends successfully, if so, finish this transmission flow; Otherwise, upgrade connection status.
A kind of wireless device of the present invention, comprising: link control module, and for initiating connection request to other wireless devices, consult to share bandwidth information with other wireless devices, and connect; Load balancing module, when judging that local data need to forward, sends forward signal; Data forwarding module, for receiving forward signal, and by other wireless devices of having connected by Packet Generation to network.
Further, in described wireless device communication process, link control module periodically sends broadcast, sets up new connection, and upgrades the existing state connecting.
Further, the decision logic of load balancing module is: judge whether required bandwidth exceeds the bandwidth threshold values of this equipment, be if so, judged to be and need to forward; Otherwise, be judged to be and do not need to forward.
Further, data forwarding module to other wireless devices, and coordinates package forward with the local port that described other wireless devices are other wireless devices by the address translation of this equipment, and via this port by Packet Generation to network.
Beneficial effect of the present invention is as follows:
Because method of the present invention comprises Connection Step, determining step and forwarding step; Wireless device of the present invention comprises link control module, load balancing module and data forwarding module.Therefore, compared with prior art, the present invention has introduced dynamic point-to-point connected mode, without BSSID is set on equipment, and opposite end MAC Address, cipher modes etc., have improved flexibility and the ease for use of network.The bandwidth upper limit that has improved access public network by sharing bandwidth, has improved network utilization.
Accompanying drawing explanation
Fig. 1 is the wireless device modularization schematic diagram in the embodiment of the present invention;
Fig. 2 is the link control module schematic flow sheet in the embodiment of the present invention;
Fig. 3 is the load balancing module schematic flow sheet in the embodiment of the present invention;
Fig. 4 is connection building process schematic diagram between the wireless device in the embodiment of the present invention;
Fig. 5 is the networking instance graph in the embodiment of the present invention.
Embodiment
Networking flexibility while sharing bandwidth in order to improve wireless device,, and network utilization, the invention provides method and wireless device that a kind of wireless device is shared bandwidth to ease for use.Below in conjunction with accompanying drawing, in the mode of specific embodiment, further describe.
Scene as shown in Figure 1, wireless device A is the WIFI equipment without Internet access capability, wireless device B is the WIFI equipment that has Internet access capability, and wireless device A and wireless device B set up and share bandwidth, and wireless device A is by wireless device B access Internet.Wherein, wireless device A and wireless device B are the wireless device in the embodiment of the present invention, and it comprises with lower module (if do not add explanation in the present embodiment, take wireless device A as example):
Link control module: the type field of link control module in data link layer increases private network type, and all control messages complete by network layer.When device start, link control module is initiated connection request to other wireless devices, consults to share bandwidth information, management connection status with other wireless devices.In the process of equipment operation, periodically update network state.
Load balancing module: existing while being connected with miscellaneous equipment, judge current network state and utilization rate, is the distribution of application program dynamic adjusting bandwidth, judge whether required bandwidth exceeds the bandwidth threshold values of this equipment, if so, be judged to be and need to forward, and send forward signal; Otherwise, be judged to be and do not need to forward.
Data forwarding module: the data forwarding module of wireless device A is received after the forward signal that load balancing module sends, other equipment (wireless device B) that package forward has extremely been connected and has been selected, the data forwarding module of wireless device B is by NAT (Network Address Translation) and NAPT (Network Address Port Translation), by the address translation of wireless device A, be the local port of wireless device B, be equivalent to wireless device A to be mapped as wireless device B local network application program.Afterwards, wireless device B can be sent to network by the packet of application program on this equipment (being that wireless device A forwards the packet of coming) by this port.
As shown in Figure 2, the handling process of link control module is as follows:
Step 101: initiate connection request.In the communication process of wireless device, link control module periodically sends broadcast, adds new connection.And the existing state connecting of renewal.After sign off, wireless device sends to connect to miscellaneous equipment and disconnects message.
Step 102: check and whether have new available connection.If any performing step 103, otherwise finish.
Step 103: to available wireless device request available bandwidth ability, if there is available bandwidth, perform step 104, otherwise finish.
Step 104: consult cipher mode, if support the other side's cipher mode, execution step 105, otherwise finish.
Step 105: upgrade current connection status, and be sent to load balancing module.
As shown in Figure 3, the handling process of load balancing module is as follows:
Step 201: slave driver obtains packet.
Step 202: estimate to need newly-increased bandwidth according to current bandwidth occupancy situation.
Step 203: the bandwidth threshold values that bandwidth does not if desired exceed this equipment, use this device bandwidth, otherwise execution step 204.Be in communication process, the data of application program are first through load balancing module judgement, if when current Internet access bandwidth can not satisfy the demands, load balancing module is according to current available shared bandwidth status, whether need forward, and the destination address forwarding if determining.Afterwards by data forwarding module by data retransmission.In load balancing module, local connection enjoyed limit priority, be secondly AP with Client between be connected (only on AP equipment, existing), share bandwidth priority minimum.When bandwidth demand changes, load balancing module will be determined network bandwidth allocation according to priority, and upgrade current network state by link control module.
Step 204: check the state of Share interlinkage, if having available bandwidth on other wireless device, perform step 205.
Step 205: by package forward to other wireless devices.
Step 206: whether judgement sends successful, if send successfully, finishes this transmission flow; If send unsuccessfully, to link control module request, upgrade connection status.Cause sending failed reason and may be method, apparatus has been disconnected or temporarily without available bandwidth etc.
As shown in Figure 4, the flow process that between wireless device, connection is set up is as follows:
Step 301: A broadcasts by wireless device, initiates connection request.
Step 302: wireless device B receives after the request of wireless device A determine whether allow to connect.If allow, to wireless device A, send response message.
Step 303: the available bandwidth of wireless device A request wireless device B, and the current available bandwidth ability of wireless device A is sent to wireless device B.
Step 304: wireless device B sends to wireless device A by the message that comprises available bandwidth data.
Step 305: wireless device A sends to wireless device B by available cipher mode.
Step 306: the cipher mode that wireless device B selects both sides to support, response to wireless device A.
Step 307: wireless device A is connected with the data forwarding module of wireless device B by data forwarding module.
As shown in Figure 5, introduce a networking embodiment, in network, comprise following several equipment:
AP (Access Point, wireless access node): can directly access Internet, support bandwidth sharing functionality.
ClientA: i.e. traditional Wifi client.Cannot directly access Internet, not support bandwidth sharing functionality.
ClientB: the WiFi equipment of supporting bandwidth sharing functionality.
AP1 and AP2 access Internet by modes such as xDSL or Ethernets, support bandwidth sharing functionality.ClientB1 can be the equipment such as mobile phone or data card, and itself can, with 2G/3G communication technology access Internet, support bandwidth sharing functionality.ClientB2, without directly accessing the ability of Internet, supports bandwidth sharing functionality.ClientA1, ClientA2, ClientA3 is the WiFi equipment of not supporting bandwidth sharing, still with traditional WiFi, connects access AP1 and AP2.In this network, AP1, AP2, ClientB1, ClientB2 sets up network by bandwidth sharing function, share I nternet access bandwidth.
To sum up, the present invention connects by the automatic dynamic between each wireless device, shares bandwidth, has improved the bandwidth upper limit and network utilization.Whole process does not need user to arrange, and is simple and easy to use.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the present invention the present invention.Like this, if within of the present invention these are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these changes and modification interior.

Claims (8)

1. wireless device is shared a method for bandwidth, it is characterized in that, comprises the following steps:
Connection Step: wireless device A initiates connection request to wireless device B, consults to share bandwidth information with wireless device B, and connects; Connection Step comprises: in communication process, wireless device A periodically sends broadcast, sets up new connection, and upgrades the existing state connecting;
Bandwidth information is shared in described negotiation, comprising: wireless device A is to wireless device B request available bandwidth ability;
Determining step: wireless device A judges whether local data needs to forward;
Forward step: when needed, wireless device A by wireless device B by Packet Generation to network.
2. wireless device is shared the method for bandwidth as claimed in claim 1, it is characterized in that, consults to share bandwidth information described in Connection Step, also comprises:
Wireless device A and wireless device B consult cipher mode.
3. wireless device is shared the method for bandwidth as claimed in claim 1, it is characterized in that, determining step comprises: wireless device A judges whether required bandwidth exceeds the bandwidth threshold values of this equipment, is if so, judged to be and needs to forward; Otherwise, be judged to be and do not need to forward.
4. wireless device is shared the method for bandwidth as claimed in claim 1, it is characterized in that, forwards in step by wireless device B forwarding data bag, comprising:
Wireless device A by package forward to wireless device B;
Wireless device B is the local port of wireless device B by the address translation of wireless device A;
Wireless device B by described port by Packet Generation to network.
5. wireless device is shared the method for bandwidth as claimed in claim 1, it is characterized in that, also comprises after forwarding step: judge whether packet sends successfully, if so, finish this transmission flow; Otherwise, upgrade connection status.
6. a wireless device, is characterized in that, comprising:
Link control module, for initiating connection request to other wireless devices, consults to share bandwidth information with other wireless devices, and connects; Concrete, link control module periodically sends broadcast, adds new connection, and upgrades the existing state connecting; Bandwidth information is shared in described negotiation, comprising: to other wireless device request available bandwidth abilities; Load balancing module, when judging that local data need to forward, sends forward signal;
Data forwarding module, for receiving forward signal, and by other wireless devices of having connected by Packet Generation to network.
7. wireless device as claimed in claim 6, is characterized in that, the decision logic of load balancing module is: judge whether required bandwidth exceeds the bandwidth threshold values of this equipment, be if so, judged to be and need to forward; Otherwise, be judged to be and do not need to forward.
8. wireless device as claimed in claim 6, it is characterized in that, data forwarding module to other wireless devices, and coordinates package forward with the local port that described other wireless devices are other wireless devices by the address translation of this equipment, and via this port by Packet Generation to network.
CN200910180393.8A 2009-10-27 2009-10-27 Method for sharing bandwidth among wireless devices and wireless devices Active CN102056245B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910180393.8A CN102056245B (en) 2009-10-27 2009-10-27 Method for sharing bandwidth among wireless devices and wireless devices

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910180393.8A CN102056245B (en) 2009-10-27 2009-10-27 Method for sharing bandwidth among wireless devices and wireless devices

Publications (2)

Publication Number Publication Date
CN102056245A CN102056245A (en) 2011-05-11
CN102056245B true CN102056245B (en) 2014-04-30

Family

ID=43960037

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910180393.8A Active CN102056245B (en) 2009-10-27 2009-10-27 Method for sharing bandwidth among wireless devices and wireless devices

Country Status (1)

Country Link
CN (1) CN102056245B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104219782B (en) * 2013-05-30 2018-10-12 中国电信股份有限公司 Method for network access and system
CN103442408B (en) * 2013-08-08 2016-05-11 厦门亿联网络技术股份有限公司 Based on the method that in double mode voip wireless communication networks, communication equipment communicates
US9220123B1 (en) 2014-07-10 2015-12-22 International Business Machines Corporation Peer-to-peer sharing of network resources
CN104158751B (en) * 2014-07-21 2019-03-05 惠州Tcl移动通信有限公司 A kind of flow control methods and terminal
CN105391650A (en) * 2015-10-20 2016-03-09 上海斐讯数据通信技术有限公司 Method, route equipment and system for sharing broadband bandwidth
CN114827235B (en) * 2022-06-28 2022-09-13 润芯微科技(江苏)有限公司 Method for realizing network sharing based on UWB

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1983973A (en) * 2006-05-10 2007-06-20 华为技术有限公司 Method for shared configuring cascade base-station transmission band width
CN101399728A (en) * 2007-09-30 2009-04-01 华为技术有限公司 Network, method and access point for sharing bandwidth
CN101448321A (en) * 2008-10-28 2009-06-03 北京邮电大学 Method for sharing frequency spectrum resource of isomerism wireless network and device thereof
CN101515888A (en) * 2009-03-06 2009-08-26 华为技术有限公司 Port mapping method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1983973A (en) * 2006-05-10 2007-06-20 华为技术有限公司 Method for shared configuring cascade base-station transmission band width
CN101399728A (en) * 2007-09-30 2009-04-01 华为技术有限公司 Network, method and access point for sharing bandwidth
CN101448321A (en) * 2008-10-28 2009-06-03 北京邮电大学 Method for sharing frequency spectrum resource of isomerism wireless network and device thereof
CN101515888A (en) * 2009-03-06 2009-08-26 华为技术有限公司 Port mapping method and device

Also Published As

Publication number Publication date
CN102056245A (en) 2011-05-11

Similar Documents

Publication Publication Date Title
CN105592529B (en) dual base station for wireless communication system
KR100666943B1 (en) Method for saving power of complex wireless phone and apparatus the same
CN104205933B (en) Seamless transition of cellular phone from cellular communication to Wi-Fi communication
CN102056245B (en) Method for sharing bandwidth among wireless devices and wireless devices
US20050058112A1 (en) Method of and apparatus for adaptively managing connectivity for mobile devices through available interfaces
US20040090924A1 (en) Method and apparatus for wireless routhing on a plurality of different wireless channels
WO2017008573A1 (en) Service transmission method, terminal, and network device
US20120300683A1 (en) Combined device and service discovery technique in stations supporting tunneled direct link setup (tdls)
CN103067050B (en) A kind of communication system and method
US20140269468A1 (en) Systems and methods for wireless band switching
EP2127236B1 (en) Personal area network implementation within an infrastructure network
TW200806053A (en) Techniques to enable direct link discovery in a wireless local area network
EP2273730B1 (en) A method and apparatus for processing the access of user terminal in a fixed access network
US20100290391A1 (en) Apparatus and method for accessing multiple wireless networks
TWI407806B (en) Wireless network system and wireless access point device and wireless terminal device thereof
CN115665890B (en) Multilink establishment method and communication device
WO2014034305A1 (en) Communication apparatus and network connection method
WO2017031636A1 (en) Method and apparatus for establishing wireless backhaul connection
WO2012149739A1 (en) Data transmission method, equipment and base station
WO2021036881A1 (en) Wifi roaming method and device, mobile terminal, and storage medium
KR20140113229A (en) Multiple channel mobile station apparatus
CN102387537B (en) Wireless network system and wireless access points thereof
CN101496361A (en) Media independent multi-RAT function in a converged device
CN102387536B (en) Wireless network system as well as wireless access points and wireless terminal devices thereof
CN113873547A (en) Resource allocation method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant