WO2018145376A1 - Method and system for controlling wireless devices to share bandwidth - Google Patents

Method and system for controlling wireless devices to share bandwidth Download PDF

Info

Publication number
WO2018145376A1
WO2018145376A1 PCT/CN2017/087048 CN2017087048W WO2018145376A1 WO 2018145376 A1 WO2018145376 A1 WO 2018145376A1 CN 2017087048 W CN2017087048 W CN 2017087048W WO 2018145376 A1 WO2018145376 A1 WO 2018145376A1
Authority
WO
WIPO (PCT)
Prior art keywords
wireless device
bandwidth
module
centralized controller
current
Prior art date
Application number
PCT/CN2017/087048
Other languages
French (fr)
Chinese (zh)
Inventor
张益培
Original Assignee
上海斐讯数据通信技术有限公司
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 上海斐讯数据通信技术有限公司 filed Critical 上海斐讯数据通信技术有限公司
Publication of WO2018145376A1 publication Critical patent/WO2018145376A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/18Negotiating wireless communication parameters
    • H04W28/20Negotiating bandwidth
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/54Allocation or scheduling criteria for wireless resources based on quality criteria
    • H04W72/542Allocation or scheduling criteria for wireless resources based on quality criteria using measured or perceived quality

Definitions

  • the present invention relates to the field of wireless communications, and in particular, to a method and system for controlling bandwidth shared by a wireless device.
  • WiFi Wireless Fidelity
  • network bandwidth allocation mainly includes network rate limiting, intelligent bandwidth allocation, QoS (Quality of Service), and fixed bandwidth allocation.
  • the network speed limit function generally sets the maximum bandwidth of the device through the router management page.
  • Intelligent bandwidth allocation means that when multiple devices are connected to the network, the network bandwidth is evenly distributed to all access devices, so as to prevent other devices from using too much bandwidth.
  • QoS is a basic network technology capability. The purpose is to ensure the availability of the network. It is mainly used to solve network delays and congestion. When the network is overloaded or congested, QoS can ensure that important services are not delayed or discarded, and the network is efficient. run.
  • the fixed bandwidth means that the operator allocates the specified bandwidth according to the bandwidth and the payment amount selected by the user, and corresponds to the bandwidth of the wide area network (WAN, WideAreaNetwork) side input end of the routing device, and the demand for various network application services due to different personal Internet hobbies It is also different. If someone loves watching movies, TV and other video programs, the network bandwidth required is relatively large. Some people like to browse the web, read news, novels, etc. The bandwidth required for this kind of business is relatively small, but now Some fixed bandwidths use the same bandwidth for browsing web pages and watching videos, which largely causes a lot of network resources to be wasted.
  • WAN WideAreaNetwork
  • the bandwidth allocation function of the existing router has the above advantages, the following disadvantages are also present: the intelligent bandwidth allocation function distributes the network bandwidth evenly, and as a result, the device speed may be insufficient, and some devices have excess bandwidth, resulting in a waste of a large amount of network resources. And the QoS implementation is complicated.
  • the present invention provides a method and system for controlling bandwidth shared by a wireless device, the purpose of which is to centrally process a wireless network connection network, and make full use of idle network resources and flexible allocation bandwidth.
  • a method for controlling a shared bandwidth of a wireless device includes the following steps: S100: The centralized controller determines whether the connected wireless device reaches a preset connection allocation threshold, and if yes, performs step S200; otherwise, performs step S300; and the centralized controller analyzes the connection according to S200 The current working state of the wireless device, obtaining current bandwidth status of all connected wireless devices, and transmitting a bandwidth sharing instruction to all connected wireless devices; S300, the centralized controller remains current with the wireless device Network connection status.
  • the Internet access function is mainly provided through the cooperation of the Internet access point and the wireless device, but the Internet optimization mechanism of the present invention is an effective supplement to the prior art, as long as one
  • the central controller with such a collection and aggregation wireless device can make full use of idle (free is a user with small bandwidth demand) Broadband resources such as browsing the web or other services or users who do not use the network.
  • Broadband resources such as browsing the web or other services or users who do not use the network.
  • the centralized controller can do a reasonable arrangement of broadband resources: wireless routing devices without Internet can connect to the Internet, and wireless routing devices with poor Internet resources have also been improved, and those that are not used by the idle. Broadband resources from some wireless routing devices are also being utilized.
  • the step S200 includes the following steps: S210: the centralized controller receives the current network status information sent by the wireless device; and the central controller obtains the wireless according to the current network status information of the wireless device.
  • the centralized controller outputs that the current working state of the current wireless device is a busy state; S250, the centralized controller outputs that the current working state of the current wireless device is an idle state; and S260, the centralized controller analyzes the current state of all wireless devices in a busy state.
  • the bandwidth requirement and analyzing the current bandwidth remaining amount of the wireless devices in all idle states, generating a current bandwidth requirement table and a current bandwidth remaining table; and the centralized controller according to the current bandwidth requirement table and the current bandwidth remaining table according to S270 Query operation allocation, sending the allocated bandwidth Consum the command to all connected wireless devices.
  • the wireless device end will parse the current Internet access status and send the status to the centralized controller.
  • the centralized controller will be different according to the wireless device's Internet access status.
  • the wireless device is categorized into the current bandwidth requirement table and the current bandwidth remaining table.
  • the centralized controller will decide which routers become the network bandwidth provider and which are the network bandwidth receivers. When these are determined, the network bandwidth channel established with each wireless device will be officially opened. In this way, the centralized controller can do a reasonable arrangement of broadband resources: wireless routing devices without Internet can connect to the Internet, and wireless routing devices with poor Internet resources have also been improved, and those that are not used by the idle. Broadband resources from some wireless routing devices are also being utilized.
  • the step S270 includes the following steps: S271: The centralized controller generates an allocation sequence table according to a usage frequency and/or a priority level of the wireless device and/or a network application type; S272, the centralized controller is configured according to the current The bandwidth requirement table and the current bandwidth remaining table are allocated according to the arrangement order of the allocation sequence table, and the current allocation bandwidth sharing instruction is obtained; and the centralized controller according to the arrangement order of the allocation sequence table is preset in S273.
  • the allocated bandwidth sharing command is sent to all connected wireless devices within a time period.
  • the allocation sequence table is generated according to the frequency of use of the wireless device, and/or the priority level, and/or the network application type, so that bandwidth allocation can be performed according to various factors, and various factors are considered when allocating bandwidth for each device.
  • the network bandwidth resource is well utilized, because the bandwidth is allocated to the wireless device according to the frequency of use, priority level, and network application type of the wireless device, indicating that the bandwidth is allocated for each wireless device in a targeted manner, instead of the average allocated bandwidth. Because it is a real-time monitoring of various factors of each wireless device, the adjustment of its bandwidth policy is also real-time.
  • step S200 includes the following steps: S400, the centralized controller monitors whether there is a newly authenticated connected wireless device, and/or has verified that the bandwidth requirement of the wireless device connected to the centralized controller is a change is generated; if yes, step S500 is performed; otherwise, step S600 is performed; the centralized controller updates the current bandwidth remaining amount of all connected wireless devices, and retransmits the bandwidth sharing command to all connected wireless devices; S600 The centralized controller does not update the current bandwidth remaining amount of all connected wireless devices.
  • the centralized controller when the centralized controller detects a wireless device having a newly authenticated connection, and/or has changed the bandwidth requirement of the wireless device connected to the centralized controller, all connected connections are updated.
  • the current bandwidth remaining amount of the wireless device resends the bandwidth sharing command to all connected wireless devices, so that the bandwidth policy can be adjusted in real time according to various factors of the wireless device.
  • the step S100 includes the following steps: S010: after the wireless device is powered on, searching for a wireless signal sent by the centralized controller; S020, the wireless device determining whether to search for a wireless signal sent by the centralized controller, If yes, go to step S030; otherwise, go back to step S010; S030, the wireless device automatically sends an internet connection request to the centralized controller; S040, the centralized controller determines whether the wireless device performs the first verification, and if so, Step S050 is performed; otherwise, step S060 is directly performed; the centralized controller determines whether the wireless device that sends the Internet connection request passes the verification, and if so, performs step S060; otherwise, performs step S070; The wireless device establishes a network communication connection; the centralized controller of S070 does not establish a network communication connection with the wireless device.
  • the wireless device when the wireless device is connected to the power source, if the wireless device owns and supports the centralized controller, a connection request is issued to the wireless signal sent by the centralized controller.
  • the centralized controller receives this signal, it will parse the authentication authorization information contained in the request, and once it passes the verification, it will generate a long connection with the wireless device.
  • the present invention further provides a control system for sharing bandwidth of a wireless device, comprising: a centralized controller, a wireless device; and the centralized controller is in communication connection with the wireless device;
  • the centralized controller determines whether the connected wireless device reaches a preset connection allocation threshold; when the connected wireless device reaches a preset connection allocation threshold, the centralized controller analyzes the current working state of the connected wireless device, and obtains all a current bandwidth condition of the connected wireless device and transmitting a bandwidth sharing command to all connected wireless devices; the centralized controller remains with the wireless device when the connected wireless device does not reach a preset connection allocation threshold Current network connection status.
  • the centralized controller determines that the acquisition is connected to a certain number of wireless devices, the state of the different wireless devices is analyzed (idle or busy), and then a certain algorithm strategy is used to allocate bandwidth channels of different wireless devices. It is a two-way channel, and the wireless device may be a bandwidth service receiver or a bandwidth service provider.
  • the centralized controller can reasonably arrange the idle broadband resources: the wireless routing device without the Internet can connect to the Internet, and the wireless routing device with poor Internet resources is also improved, and those portions that are not utilized by the idle are also improved.
  • the broadband resources of the wireless routing device are also utilized, which avoids the waste of a large amount of network resources, can calculate the network traffic cost according to the amount of network bandwidth actually used by the user, saves the cost of some users with small bandwidth requirements, and increases the bandwidth requirement. A large user's online experience.
  • the centralized controller includes: an obtaining module, a determining module, an output module, an analyzing module, and an allocating module; the obtaining module is communicably connected with the determining module; and the determining module is communicably connected with the output module;
  • the output module is communicatively coupled to the analysis module; the analysis module is communicatively coupled to the distribution module;
  • the obtaining module receives the current network status information sent by the wireless device, and obtains a bandwidth level of the wireless device according to the current network status information of the wireless device; the determining module determines the current wireless device Whether the working network rate reaches a preset network rate corresponding to the level of the own bandwidth; the output module outputs the current wireless when the working network rate of the current wireless device reaches a preset network rate corresponding to the level of the bandwidth of the current wireless device
  • the current working state of the device is a busy state; the output module outputs the current working state of the current wireless device to an idle state when the working network rate of the current wireless device reaches a preset network rate corresponding to the bandwidth level of the current wireless device;
  • the analysis module analyzes the current bandwidth requirement of all busy wireless devices, and analyzes the current bandwidth remaining amount of all idle state wireless devices, and generates a current bandwidth requirement table and a current bandwidth remaining table; the allocation module according to the Current bandwidth demand table and the stated The remaining operation of bandwidth allocation table query, the transmission assignment bandwidth sharing instruction to
  • the wireless device end will parse the current Internet access status and send the status to the centralized controller.
  • the centralized controller will be different according to the wireless device's Internet access status.
  • the wireless device is categorized into the current bandwidth requirement table and the current bandwidth remaining table. Wherein, for example, when the network download speed of the 10M bandwidth router reaches approximately 1.25 M/s, the current Internet access status of the router is busy, and then the centralized controller determines which routers become network bandwidth providers and which are network bandwidth receivers. After these are determined, the network bandwidth channel established between each wireless device will be officially opened.
  • the centralized controller can do a reasonable arrangement of broadband resources: wireless routing devices without Internet can connect to the Internet, and wireless routing devices with poor Internet resources have also been improved, and those that are not used by the idle. Broadband resources from some wireless routing devices are also being utilized.
  • the allocating module includes: a generating list submodule, a query assigning submodule, and a sending instruction submodule; the generating list submodule is in communication connection with the query assigning submodule; the query assigning submodule and the sending Instruction sub-module communication connection;
  • Generating a list sub-module generating an allocation sequence table according to a frequency of use and/or a priority level of the wireless device and/or a network application type; the query allocation sub-module, according to the current bandwidth requirement table and the current bandwidth The remaining table performs the query operation allocation according to the arrangement order of the allocation sequence table, and obtains the current allocated bandwidth sharing instruction; the sending instruction sub-module sends the allocated bandwidth sharing instruction within a preset duration according to the order of the allocation sequence table. To all connected wireless devices.
  • the wireless device can allocate bandwidth according to the frequency of the user's application service, make the bandwidth allocation more intelligent and personalized, and allocate bandwidth for each wireless device in a targeted manner instead of distributing the bandwidth evenly because it is real-time monitoring.
  • the various factors of each wireless device, and thus the adjustment of its bandwidth policy, are also real-time. This makes full use of network resources, greatly improves the fluency of users accessing various application services, can meet the user's Internet access requirements, and reduces the operational complexity and user participation of the device.
  • the centralized controller further includes: a monitoring module and an update module; the monitoring module is communicatively connected to the acquiring module; and the updating module is communicably connected to the monitoring module;
  • the monitoring module monitors whether there is a newly authenticated connected wireless device, and/or has passed a verification whether a bandwidth requirement of the wireless device connected to the centralized controller changes; the update module, when there is no new Authenticating the connected wireless device, and having not verified a change in the bandwidth requirement of the wireless device connected to the centralized controller, not updating the current bandwidth condition of all connected wireless devices; the update module Updating the current bandwidth condition of all connected wireless devices when there is a newly authenticated connected wireless device, and/or has changed by verifying the bandwidth requirement of the wireless device connected to the centralized controller, Retransmit the bandwidth sharing command to all connected wireless devices.
  • the centralized controller will The current bandwidth remaining amount of all connected wireless devices is updated, and the bandwidth sharing command is resent to all connected wireless devices, so that the bandwidth policy can be adjusted in real time according to various factors of the wireless device. Because it is a real-time monitoring of various factors of each wireless device, the adjustment of its bandwidth policy is also real-time.
  • the wireless device includes a search module and a connection module; the centralized controller further includes a verification module and a control module; the search module is communicatively connected with the connection module; and the verification module is in communication with the connection module The verification module is further communicatively coupled to the acquisition module; the control module is communicatively coupled to the verification module;
  • the search module searches for a wireless signal sent by the centralized controller to determine whether to search for a wireless signal sent by the centralized controller; and the connection module searches for the wireless sent by the centralized controller.
  • the Internet connection request is automatically sent to the centralized controller; the search module continues to search for the wireless signal sent by the centralized controller when the wireless signal sent by the centralized controller is not searched; the verification The module determines whether the wireless device performs the first verification; and the verification module further determines, when the wireless device performs the first verification, whether the wireless device that sends the Internet connection request passes the verification; a control module, when the wireless device performs the first verification, and the wireless device that sends the Internet connection request passes the verification, establishes a network communication connection with the wireless device; the control module, when the wireless When the device performs the first verification, but the wireless device that sends the Internet connection request fails to pass the verification, Line equipment network communication connection is not established; the control module, but also when the wireless device is not verified for the first time, the centralized controller and the wireless
  • the wireless device when the wireless device is connected to the power source, if the wireless device owns and supports the centralized controller, a connection request is issued to the wireless signal sent by the centralized controller.
  • the centralized controller receives this signal, it will parse the authentication authorization information contained in the request, and once it passes the verification, it will generate a long connection with the wireless device. If the wireless device is a wireless device that has been authenticated, it may not need to be verified again once it is disconnected from the centralized controller.
  • the present invention provides a method and system for controlling bandwidth shared by a wireless device, which brings at least one of the following technical effects:
  • FIG. 1 is a flow chart of an embodiment of a method for controlling bandwidth shared by a wireless device according to the present invention
  • FIG. 2 is a flow chart of another embodiment of a method for controlling bandwidth shared by a wireless device according to the present invention.
  • FIG. 3 is a flow chart of another embodiment of a method for controlling bandwidth shared by a wireless device according to the present invention.
  • FIG. 4 is a flow chart of another embodiment of a method for controlling bandwidth sharing of a wireless device according to the present invention.
  • FIG. 5 is a flowchart of another embodiment of a method for controlling bandwidth shared by a wireless device according to the present invention.
  • FIG. 6 is a structural diagram of an embodiment of a control system for sharing bandwidth of a wireless device according to the present invention.
  • FIG. 7 is a structural diagram of another embodiment of a control system for sharing bandwidth of a wireless device according to the present invention.
  • FIG. 8 is a structural diagram of another embodiment of a control system for sharing bandwidth of a wireless device according to the present invention.
  • FIG. 9 is a flow chart showing an example of a control system for sharing bandwidth of a wireless device according to the present invention.
  • FIG. 10 is a structural diagram showing an example of a control system for sharing bandwidth of a wireless device according to the present invention.
  • the present invention provides an embodiment of a method for controlling bandwidth shared by a wireless device, including:
  • the S100 centralized controller determines whether the connected wireless device reaches the preset connection allocation threshold, and if so, performs step S200; otherwise, performs step S300;
  • the centralized controller of S200 analyzes the current working state of the connected wireless device, obtains the current bandwidth status of all connected wireless devices, and sends a bandwidth sharing command to all connected wireless devices;
  • the centralized controller of S300 maintains a current network connection state with the wireless device.
  • the idle broadband resources can be fully utilized.
  • the centralized controller can do a reasonable arrangement of broadband resources: wireless routing devices without Internet can connect to the Internet, and wireless routing devices with poor Internet resources have also been improved, and those that are not used by the idle. Broadband resources from some wireless routing devices are also being utilized.
  • the present invention provides another embodiment of a method for controlling bandwidth shared by a wireless device, including:
  • the S100 centralized controller determines whether the connected wireless device reaches the preset connection allocation threshold, and if so, performs step S200; otherwise, performs step S300;
  • the centralized controller of S210 receives the current network status information sent by the wireless device
  • the centralized controller of S220 obtains a bandwidth level of the wireless device according to current network status information of the wireless device;
  • step S230 the centralized controller determines whether the working network rate of the current wireless device reaches a preset network rate corresponding to its own bandwidth level, and if so, step S240 is performed; otherwise, step S250 is performed;
  • S240 The centralized controller outputs that the current working state of the current wireless device is a busy state
  • the centralized controller outputs that the current working state of the current wireless device is an idle state
  • the centralized controller analyzes a current bandwidth requirement of all wireless devices in a busy state, and analyzes a current bandwidth remaining amount of all idle state wireless devices, and generates a current bandwidth requirement table and a current bandwidth remaining table;
  • the centralized controller performs query operation allocation according to the current bandwidth requirement table and the current bandwidth remaining table, Sending the allocated bandwidth sharing instruction to all connected wireless devices;
  • the centralized controller of S300 maintains a current network connection state with the wireless device
  • step S400 the centralized controller monitors whether there is a newly authenticated connected wireless device, if step S500 is performed; otherwise, step S600 is performed;
  • the centralized controller of S500 updates the current bandwidth remaining amount of all connected wireless devices, and retransmits the bandwidth sharing command to all connected wireless devices;
  • the centralized controller of S600 does not update the current bandwidth remaining amount of all connected wireless devices.
  • the wireless device end parses the current Internet access status, and sends the status to the centralized controller.
  • the centralized controller will according to the wireless device's Internet access status. Different wireless devices are categorized into the current bandwidth requirement table and the current bandwidth remaining table. Then the centralized controller will decide which routers become the network bandwidth provider and which are the network bandwidth receivers. When these are determined, the network bandwidth channel established with each wireless device will be officially opened. For example, the pre-paid fixed bandwidth of wireless device A is 4M.
  • the current network application type of wireless device A is high-definition video, and the bandwidth requirement is at least 1Mbps-2Mbps bandwidth, but the network download speed of 4M bandwidth is only 4M*1024.
  • the centralized controller can do a reasonable arrangement of broadband resources: wireless routing devices without Internet can connect to the Internet, and wireless routing devices with poor Internet resources have also been improved, and those that are not used by the idle. Broadband resources from some wireless routing devices are also being utilized.
  • the centralized controller monitors the wireless device with the newly authenticated connection, updating the current bandwidth remaining amount of all connected wireless devices, and resending the bandwidth sharing command to all connected wireless devices, thus enabling The bandwidth policy is adjusted in real time according to various factors of the wireless device.
  • the present invention provides another embodiment of a method for controlling bandwidth shared by a wireless device, including:
  • step S400 the centralized controller monitors whether the bandwidth requirement of the wireless device connected to the centralized controller has been verified to be changed; if yes, step S500 is performed; otherwise, step S600 is performed;
  • the centralized controller detects that the bandwidth requirement of the wireless device that has been connected to the centralized controller has changed, the current bandwidth remaining amount of all connected wireless devices is updated, and The bandwidth sharing command is sent to all connected wireless devices, so that the bandwidth policy can be adjusted in real time according to various factors of the wireless device.
  • the current state of all connected wireless devices is updated once the centralized controller detects the wireless device having the newly authenticated connection while having changed by verifying the bandwidth requirement of the wireless device connecting the centralized controller The remaining bandwidth, resending the bandwidth sharing command to all connected wireless devices, so that the bandwidth policy can be adjusted in real time according to various factors of the wireless device, and the bandwidth is allocated for each wireless device in a targeted manner instead of the average allocation.
  • Bandwidth because it is a real-time monitoring of various factors of each wireless device, so the adjustment of its bandwidth policy is also real-time.
  • the present invention provides another embodiment of a method for controlling bandwidth shared by a wireless device, including:
  • step S020 the wireless device determines whether the wireless signal sent by the centralized controller is searched, and if so, step S030 is performed; otherwise, returns to step S010;
  • the wireless device automatically sends an internet connection request to the centralized controller
  • the centralized controller determines whether the wireless device is performing the first verification, and if so, executing step S050; otherwise, directly performing step S060;
  • the centralized controller of S050 determines whether the wireless device that sends the Internet connection request passes the verification, and if so, performs the step Step S060; otherwise, step S070 is performed;
  • the centralized controller establishes a network communication connection with the wireless device
  • the centralized controller does not establish a network communication connection with the wireless device
  • the S100 centralized controller determines whether the connected wireless device reaches the preset connection allocation threshold, and if so, performs step S200; otherwise, performs step S300;
  • the centralized controller of S200 analyzes the current working state of the connected wireless device, obtains the current bandwidth status of all connected wireless devices, and sends a bandwidth sharing command to all connected wireless devices;
  • the centralized controller of S300 maintains a current network connection state with the wireless device.
  • the wireless device when the wireless device is connected to the power source, if the wireless device owns and supports the centralized controller, a connection request is sent to the wireless signal sent by the centralized controller.
  • the centralized controller receives this signal, it will parse the authentication authorization information contained in the request, and once it passes the verification, it will generate a long connection with the wireless device. If the wireless device is a wireless device that has been authenticated, it may not need to be verified again once it is disconnected from the centralized controller. In this way, the time for centralized controller verification can be saved, and if the verification mechanism can increase security, the illegal agent can prevent the use of the spoofed router, steal the traffic of the legitimate user, and reduce the cost loss of the legitimate user.
  • the present invention provides another embodiment of a method for controlling bandwidth shared by a wireless device, including:
  • the S100 centralized controller determines whether the connected wireless device reaches the preset connection allocation threshold, and if so, performs step S200; otherwise, performs step S300;
  • the centralized controller of S210 receives the current network status information sent by the wireless device
  • the centralized controller of S220 obtains a bandwidth level of the wireless device according to current network status information of the wireless device;
  • step S230 the centralized controller determines whether the working network rate of the current wireless device reaches a preset network rate corresponding to its own bandwidth level, and if so, step S240 is performed; otherwise, step S250 is performed;
  • S240 The centralized controller outputs that the current working state of the current wireless device is a busy state
  • the centralized controller outputs that the current working state of the current wireless device is an idle state
  • the centralized controller analyzes a current bandwidth requirement of all wireless devices in a busy state, and analyzes a current bandwidth remaining amount of all idle state wireless devices, and generates a current bandwidth requirement table and a current bandwidth remaining table;
  • the centralized controller generates an allocation sequence table according to a frequency of use and/or a priority level of the wireless device and/or a network application type.
  • the centralized controller performs query operation allocation according to the current bandwidth requirement table and the current bandwidth remaining table according to the arrangement order of the allocation sequence table, to obtain a current allocated bandwidth sharing instruction;
  • the centralized controller sends the allocated bandwidth sharing instruction to all connected wireless devices within a preset duration according to an arrangement order of the allocation sequence table;
  • the centralized controller of S300 maintains a current network connection state with the wireless device
  • step S400 the centralized controller monitors whether there is a newly authenticated connected wireless device, if step S500 is performed; otherwise, step S600 is performed;
  • the centralized controller of S500 updates the current bandwidth remaining amount of all connected wireless devices, and retransmits the bandwidth sharing command to all connected wireless devices;
  • the centralized controller of S600 does not update the current bandwidth remaining amount of all connected wireless devices.
  • online video applications generally refers to watching movies online, according to the playback mode, online movies have P2P-based on-demand mode, and streaming media on-demand mode, the bandwidth required for P2P online movies is 60Kbps, the more users, the bandwidth The lower the need is; the streaming media online movie needs at least 230Kbps of bandwidth to ensure the smooth playback of the movie, the clearer the picture, the greater the bandwidth required. If HD movies, it can even take up 1Mbps-2Mbps.
  • the bandwidth required for P2P download is determined by the actual bandwidth of the user, and it needs to occupy the uplink and downlink bandwidth of the broadband user. Once the P2P download software is used, 80% or even more than 90% of the bandwidth of the user will be occupied. .
  • the allocation sequence table is generated according to the frequency of use of the wireless device, and/or the priority level, and/or the network application type, so that the bandwidth allocation can be performed according to various factors, and various factors are considered when allocating bandwidth for each device, which is good
  • the use of network bandwidth resources because the wireless device allocates bandwidth according to the frequency of use, priority level and network application type of the wireless device, indicating that the bandwidth is allocated for each wireless device in a targeted manner, instead of the average allocated bandwidth, because it is real-time.
  • the various factors of each wireless device are monitored, and thus the adjustment of its bandwidth policy is also real-time.
  • the wireless device after the connection is established, the wireless device end parses the current Internet access status, and sends the status to the centralized controller.
  • the centralized controller After receiving the information, the centralized controller will according to the wireless device's Internet access status. Different wireless devices are categorized into the current bandwidth requirement table and the current bandwidth remaining table. Then the centralized controller will decide which routers become the network bandwidth provider and which are the network bandwidth receivers. When these are determined, the network bandwidth channel established with each wireless device will be officially opened. For example, the pre-paid fixed bandwidth of the wireless device A is 4M.
  • the wireless device A is watching the HD video, so it is wireless.
  • Device A needs to "borrow" the bandwidth from the centralized controller for its smooth viewing of the video and download the software, then the router of the wireless device A sends the verification request to the centralized controller, and after verification, the centralized controller detects the wireless device in real time.
  • the bandwidth of the wireless device B is 4M
  • the remaining bandwidth is 4M
  • the centralized controller judges It is found that the bandwidth supply of the current wireless device B is not enough, then the centralized controller is allocated according to the allocation.
  • the sequence table finds that the fixed bandwidth of the wireless device C is 10M, and the user C is currently only transmitting text through the network, such as sending and receiving emails, chatting, etc., at this time, the network application type of the wireless device is a text application, then the user C at this time
  • the centralized controller controls the wireless device B and the wireless device C to provide bandwidth to the wireless device A, and the centralized controller calculates the statistical wireless in real time.
  • the traffic of device A is such that the wireless device can smoothly watch the video and download the software quickly.
  • the wireless device B can save the traffic cost when the traffic is not needed, and the wireless device can provide unnecessary use when using a small amount of traffic.
  • the traffic to the wireless device A saves traffic costs. As long as the current bandwidth of the wireless device is not enough, the centralized controller can select only one wireless device with a high bandwidth remaining to provide the required bandwidth. If the centralized controller detects that no wireless device can provide the bandwidth of the current wireless device. The demand can be matched by selecting a plurality of wireless devices by the centralized controller, so that the sum of the remaining bandwidths is greater than or equal to the bandwidth requirement of the current wireless device, and each wireless device having the remaining bandwidth provides the remaining bandwidth to the current wireless device.
  • the Internet terminal connected to the current wireless device can smoothly access the Internet and change the user experience.
  • the centralized controller can do a reasonable arrangement of broadband resources: wireless routing devices without Internet can connect to the Internet, and wireless routing devices with poor Internet resources have also been improved, and those that are not used by the idle. Broadband resources from some wireless routing devices are also being utilized.
  • set The middle controller can be connected to the server to shut down the user's wireless device through the user's high bandwidth requirement, and provide excess traffic to the rest of the user when the network is idle.
  • the centralized controller can be based on the frequency of use of the wireless device, and/or priority level (according to user requirements) Set or set according to user level), and / or network application type, personalized implementation distribution.
  • the text class application has the highest level
  • the first level is set
  • the game application is the second level
  • the application is in the third level
  • the picture class application is the fourth level
  • the online video class application is the fifth level
  • the download class application is the sixth level.
  • Level wireless devices that use only the second level of wireless devices to provide bandwidth to only use the fifth level of wireless devices, and only use the third level of wireless devices to provide bandwidth to only use the fourth level of wireless devices.
  • the channel is a bidirectional channel, and the wireless device may be a bandwidth service receiver or a bandwidth service provider.
  • the network application type of each wireless device is monitored in real time. When the type of the network application of the wireless device is changed, the bandwidth management policy needs to be adjusted accordingly.
  • the bandwidth allocation strategy in the method of the present invention considers the application scenario of the actual device, and can allocate bandwidth more intelligently to ensure user experience. Based on the router's traffic statistics function, it is simple to implement, and saves bandwidth and requires less user traffic.
  • the present invention provides an embodiment of a control system for a wireless device, including:
  • Centralized controller 100 Wireless device 200; the centralized controller 100 is communicatively coupled to the wireless device 200;
  • the centralized controller 100 determines whether the connected wireless device 200 reaches a preset connection allocation threshold
  • the centralized controller 100 analyzes the current working state of the connected wireless device 200 when the connected wireless device 200 reaches the preset connection allocation threshold, obtains the current bandwidth status of all connected wireless devices 200, and transmits the bandwidth. Sharing instructions to all connected wireless devices 200;
  • the centralized controller 100 maintains a current network connection state with the wireless device 200 when the connected wireless device 200 does not reach the preset connection allocation threshold.
  • the centralized controller 100 determines that the collection is connected to a certain number of wireless devices 200, analyzes the state of the different wireless devices 200 (idle or busy), and then allocates different wireless devices 200 through a certain algorithm strategy.
  • the bandwidth channel which is a bidirectional channel
  • the wireless device 200 may be a bandwidth service receiver or a bandwidth service provider.
  • the centralized controller 100 can reasonably arrange idle broadband resources: the wireless routing device without the Internet can connect to the Internet, and the wireless routing device with poor Internet resources is also improved, and those that are not utilized by the idle are also obtained.
  • the broadband resources of some wireless routing devices are also utilized, which avoids the waste of a large amount of network resources, can calculate the network traffic cost according to the amount of network bandwidth actually used by the user, saves the cost of some users with small bandwidth requirements, and increases the bandwidth.
  • the online experience of users with large demand can calculate the network traffic cost according to the amount of network bandwidth actually used by the user, saves the cost of some users with small bandwidth requirements, and increases the bandwidth.
  • the present invention provides another embodiment of a control system for a wireless device, including:
  • the centralized controller 100 includes: an obtaining module 110, a determining module 120, an output module 130, an analyzing module 140, and an allocating module 150; the obtaining module 110 is communicably connected with the determining module 120; The output module 130 is communicatively coupled; the output module 130 is communicatively coupled to the analysis module 140; the analysis module 140 is communicatively coupled to the distribution module 150;
  • the obtaining module 110 receives the current network status information sent by the wireless device 200, and obtains a bandwidth level of the wireless device 200 according to the current network status information of the wireless device 200.
  • the determining module 120 determines whether the working network rate of the current wireless device 200 reaches a preset network rate corresponding to its own bandwidth size level;
  • the output module 130 outputs the current working state of the current wireless device 200 to a busy state when the working network rate of the current wireless device 200 reaches a preset network rate corresponding to the bandwidth level of the current wireless device;
  • the output module 130 outputs the current working state of the current wireless device 200 to an idle state when the working network rate of the current wireless device 200 reaches a preset network rate corresponding to the bandwidth level of the current wireless device;
  • the analyzing module 140 analyzes the current bandwidth requirement of the wireless device 200 in all busy states, and analyzes the current bandwidth remaining amount of the wireless device 200 in all idle states, and generates a current bandwidth demand table and a current bandwidth remaining table;
  • the allocation module 150 performs a query operation allocation according to the current bandwidth requirement table and the current bandwidth remaining table, and sends a bandwidth sharing instruction to all connected wireless devices 200;
  • the distribution module 150 includes: a generation list sub-module 151, a query distribution sub-module 152, and a transmission instruction sub-module 153; the generation list sub-module 151 is communicatively coupled to the query distribution sub-module 152; the query distribution sub-module 152 Communicating with the sending instruction sub-module 153;
  • the generating list sub-module 151 generates an allocation sequence table according to the frequency of use and/or priority level of the wireless device 200 and/or a network application type;
  • the query allocation sub-module 152 performs query operation allocation according to the current bandwidth requirement table and the current bandwidth remaining table according to the arrangement order of the allocation sequence table, to obtain a current allocated bandwidth sharing instruction;
  • the sending instruction sub-module 153 sends the allocated bandwidth sharing command to all connected wireless devices 200 within a preset duration according to the order of the allocation sequence table.
  • the wireless device 200 will parse the current Internet access status, and send the status to the centralized controller 100. After receiving the information, the centralized controller 100 will be based on the wireless device 200.
  • the Internet condition classifies different wireless devices 200 into a current bandwidth demand table and a current bandwidth remaining table. Wherein, for example, when the network download speed of the 10M bandwidth router reaches approximately 1.25 M/s, the current Internet access status of the router is busy, and then the centralized controller 100 determines which routers become network bandwidth providers and which are network bandwidth receivers. After these are determined, the network bandwidth channel established with each wireless device 200 will be officially opened.
  • the data packets of the incoming application service are offloaded, and the network application type, the frequency of use, and the priority level are counted, so that the data packets of each application service get the corresponding bandwidth, so that the wireless
  • the device 200 can allocate bandwidth according to the frequency of the user's application service, make the bandwidth allocation more intelligent and personalized, and allocate bandwidth to each wireless device 200 in a targeted manner instead of distributing the bandwidth evenly, because the wireless is monitored in real time.
  • the various factors of device 200, and thus the adjustment of its bandwidth policy, are also real-time.
  • the centralized controller 100 can properly arrange the broadband resources: the wireless routing device without the Internet can connect to the Internet, and the wireless routing device with poor Internet resources is also improved, and those idle are not utilized. Broadband resources from some wireless routing devices have also been utilized. This fully utilizes the network resources, greatly improves the fluency of users accessing various application services, can fully meet the user's Internet access requirements, and reduces the operational complexity and user participation of the device.
  • the network bandwidth resources can be well utilized; the bandwidth is allocated for each device in a targeted manner; the implementation is simple, and in an environment where various application scenarios are integrated, when the network is in good condition, Bandwidth requests for all wireless devices 200 can be met.
  • the network bandwidth limiting policy needs to be enabled, that is, the bandwidth allocation is performed by the method of the present invention.
  • Each wireless device 200 is allocated bandwidth according to the monitored network application type, usage frequency, and priority level of each wireless device 200.
  • the processing strategy of this case is: allocating bandwidth to each wireless device 200 according to the network application type and frequency of use and priority, specifically, according to the high priority level and/or the high frequency of use and/or the bandwidth requirement of the network application type.
  • the user's wireless device 200 generates an allocation sequence table, and the centralized controller 100 allocates "idle" bandwidth by generating an allocation sequence table until network congestion is resolved.
  • the method of the present invention will be described below by way of a specific embodiment: in the home scene, there is a desktop computer, a notebook, an iPad, a mobile phone, and these devices are used for common network services. Assume that you are playing online games on your desktop, downloading on your laptop, playing videos on your iPad, and shopping on a cell phone. Under the condition that the network bandwidth is sufficient, each device can be used smoothly. However, in an application scenario, downloading can exhaust bandwidth resources, and with the use of video applications, bandwidth is often insufficient. In this case, the bandwidth of the wireless device 200 is required to be adjusted. Here, the wireless device 200 "borrows" through the centralized controller 100 to other wireless devices 200 in an idle state.
  • the bandwidth of the different devices is limited according to the correspondence between the traffic characteristics and the network application type. It is assumed that the priority level and the usage frequency of the home wireless device 200 and the wireless device 200 are the same.
  • the bandwidth of the home wireless device 200 is 50M. In the home use scenario, the desktop is playing online games, and only 80 Kbps is allocated. Network download speed to ensure the stability of the game. Assign 2Mbps network download speed to the iPad to ensure the smoothness of the video. Mobile phones and laptops do not perform the above network services.
  • the bandwidth of the B-home wireless device 200 is 4M. In the B-home usage scenario, the notebook performs the download task, which occupies 80% or more of the bandwidth.
  • Bandwidth to supply mobile phones to Jingdong shopping, to ensure the smoothness of the Internet.
  • the wireless device 200 sends the Internet access status to the centralized controller 100 in real time, and the centralized controller 100 updates the bandwidth allocation in real time as much as possible according to the resource request type of each wireless device 200.
  • the following beneficial effects can be obtained by the method and apparatus of the present invention: a plurality of factors are considered when allocating bandwidth for each device, and network bandwidth resources can be utilized well; because it is based on the frequency of use and priority of the wireless device 200. And the network application type to allocate bandwidth to the wireless device 200, indicating that the bandwidth is allocated for each wireless device 200 in a targeted manner instead of the average allocated bandwidth, because the various factors of each wireless device 200 are monitored in real time, and thus the bandwidth policy is applied thereto. The adjustments are also real-time.
  • the bandwidth packet may be offloaded according to the category according to the allocation sequence table, that is, the wireless device 200 with a relatively high priority level and the wireless device 200 with a relatively low priority are separated, so that each of the allocated bandwidths can be obtained, in the embodiment of the present invention.
  • the centralized controller 100 establishes a database, counts the frequency of use, the priority level, and the network application type, performs classification and statistics, and performs bandwidth allocation on each application service based on the classified category to fully utilize the network resources, which is a major improvement on the network service quality. .
  • the present invention provides another embodiment of a control system for a wireless device, the wireless device 200 including a search module 210 and a connection module 220; the centralized controller 100 further includes a verification module 180 and a control module 190; the search module
  • the connection module 220 is communicatively coupled to the connection module 220; the verification module 180 is communicatively coupled to the connection module 220; the verification module 180 is also communicatively coupled to the acquisition module 110; the control module 190 and the verification module 180
  • the communication controller 100 further includes: a monitoring module 180 and an update module 170; the monitoring module 180 is communicatively coupled to the acquisition module 110; the update module 170 is communicatively coupled to the monitoring module 180;
  • the search module 210 searches for a wireless signal sent by the centralized controller 100 after power-on, and determines whether the wireless signal sent by the centralized controller 100 is searched for;
  • connection module 220 when searching for the wireless signal sent by the centralized controller 100, automatically sends an Internet connection request to the centralized controller 100;
  • the search module 210 continues to search for the wireless signal sent by the centralized controller 100 when the wireless signal sent by the centralized controller 100 is not found;
  • the verification module 180 determines whether the wireless device 200 performs the first verification
  • the verification module 180 further determines, when the wireless device 200 performs the first verification, whether the wireless device 200 that sends the Internet connection request passes the verification;
  • the control module 190 when the wireless device 200 performs the first verification, and the wireless device 200 that sends the Internet connection request passes the verification, establishes a network communication connection with the wireless device 200;
  • the control module 190 when the wireless device 200 performs the first verification, but the wireless device 200 that sends the Internet connection request fails to pass the verification, does not establish a network communication connection with the wireless device 200;
  • the control module 190 further establishes a network communication connection with the wireless device 200 when the wireless device 200 is not performing the first verification;
  • the monitoring module 180 monitors whether there is a newly authenticated connected wireless device 200, and/or whether a bandwidth requirement has been changed by verifying that the wireless device 200 connected to the centralized controller 100 has a bandwidth requirement;
  • the update module 170 when there is no wireless device 200 with a newly authenticated connection, and has connected the set by verification The bandwidth requirement of the wireless device 200 of the medium controller 100 does not change, and the current bandwidth status of all connected wireless devices 200 is not updated;
  • the update module 170 updates all connected wireless devices when there is a newly authenticated connected wireless device 200, and/or has changed by verifying the bandwidth requirement of the wireless device 200 connected to the centralized controller 100.
  • the current bandwidth condition of device 200 resends the bandwidth sharing command to all connected wireless devices 200.
  • the wireless device 200 when the wireless device 200 is connected to the power source, if the wireless device 200 owns and supports the centralized controller 100, a connection request is issued to the wireless signal sent by the centralized controller 100.
  • the centralized controller 100 receives this signal, it will parse the authentication authorization information contained in the request, and once authenticated, it will generate a long connection with the wireless device 200. If the wireless device 200 is the wireless device 200 that has been authenticated, then after it is disconnected from the centralized controller 100, it may not need to verify again.
  • the centralized controller 100 detects the wireless device 200 with the newly authenticated connection, and/or has changed by verifying the bandwidth requirement of the wireless device 200 connecting the centralized controller 100, the centralized controller 100 The current bandwidth remaining amount of all connected wireless devices 200 is updated, and the bandwidth sharing command is resent to all connected wireless devices 200, so that the bandwidth policy can be adjusted in real time according to various factors of the wireless device 200. Since the various factors of each wireless device 200 are monitored in real time, the adjustment of its bandwidth policy is also real-time.
  • the present invention provides an example of a control system for a wireless device.
  • FIG. 9 it is a flowchart of the example
  • FIG. 10 is a structural diagram of the example. The process is as follows:
  • the wireless device such as S1 and router is connected to the power supply, and then starts to search for the unique wireless signal sent by the network centralized controller, and if it is found, the connection is automatically initiated;
  • the network centralized controller After receiving the connection request, the network centralized controller verifies the verification information carried in the request, and once the verification is passed, a connection is established with the wireless device;
  • the wireless device After the connection is established, the wireless device sends its current network status information to the network centralized controller. Some wireless devices cannot access the Internet, some networks are idle, some networks are busy, and the network network centralized controllers affix them one by one. Upper level label;
  • the network network centralized controller determines, according to the level labels, which wireless devices are network bandwidth providers, which wireless devices are network bandwidth receivers, and then further determines a bandwidth size that is provided or received.
  • This example mainly involves two core links, one is the connection of wireless devices, and the other is the provision of bandwidth channels.
  • the connection of the wireless device the execution of this link depends on the wireless signal of the centralized controller of the network.
  • the authentication authorization request is issued, and the network centralized controller receives the After the request is made, it will be connected to the router after passing the authentication.
  • the bandwidth channel provides the link, after the network centralized controller collects and connects to a certain number of wireless devices, analyzes the state of different wireless devices (idle or busy), and then allocates bandwidth channels of different wireless devices through certain algorithm strategies.
  • the channel is a bidirectional channel, and the wireless device may be a bandwidth service receiver or a bandwidth service provider.
  • routers are connected to the network centralized controller, that is, the user's mobile phone 11 is connected to the network centralized controller 2 after connecting to the router A, and the user mobile phone 12 is connected to the network centralized controller 2 after connecting to the router B, wherein the user
  • the connection between the mobile device such as a mobile phone and the router is a one-way connection
  • the connection between the router and the network centralized controller 2 is a two-way connection.
  • the structure of the present invention mainly relates to the connection of two modules, one is the connection between the mobile phone and the wireless device, and the other is the connection between the wireless device and the centralized controller of the network.
  • the wireless device and the centralized controller of the network The inter-connection and the subsequent allocation policy mechanism are at the heart of the present invention.
  • a connection request is sent to the hotspot issued by the network centralized controller.
  • the network centralized controller receives this signal, it will parse the authentication authorization information contained in the request, and once it passes the verification, it will generate a long connection with the wireless device.
  • the wireless device After the connection is established, the wireless device will parse the current Internet access status and send the status to the network centralized controller. After receiving the information, the network centralized controller will give different wireless devices according to the wireless device's Internet access status.
  • the network centralized controller will decide which routers become network bandwidth providers and which are network bandwidth receivers. The size of the bandwidth is also determined by these levels. After these are determined, the network bandwidth channel established between each wireless device will be officially opened. In this way, the network centralized controller has done a reasonable role in arranging broadband resources: there is no Internet.
  • the wireless routing device can connect to the Internet, and the wireless routing device with poor Internet resources has also been improved, and the broadband resources from some wireless routing devices that are not utilized by the idle are also utilized. Achieve the ability to connect users to the Internet faster, and make full use of free resources.
  • modules or steps of the embodiments of the present invention can be implemented by a general computing device, which can be concentrated on a single computing device or distributed in multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from The steps shown or described are performed sequentially, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated into a single integrated circuit module. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.

Abstract

Disclosed is a method for controlling wireless devices to share a bandwidth, comprising the steps of: S100 a centralized controller determines whether connected wireless devices reach a preset connection allocation threshold; if yes, execute step S200; otherwise, execute step S300; S200 the centralized controller analyzes the current operating status of the connected wireless devices to obtain the current bandwidth situation of all the connected wireless devices, and sends a bandwidth sharing instruction to all the connected wireless devices; S300 the centralized controller maintains the current network connection status with the wireless devices.

Description

一种无线设备共享带宽的控制方法及系统Method and system for controlling bandwidth shared by wireless devices 技术领域Technical field
本发明涉及无线通信领域,特别是涉及一种无线设备共享带宽的控制方法及系统。The present invention relates to the field of wireless communications, and in particular, to a method and system for controlling bandwidth shared by a wireless device.
背景技术Background technique
随着移动互联网和智能设备的普及,网络逐渐成为了一项必不可少的基础设施。移动互联网渐渐渗透进人们的生活工作中,每个人每天将不可避免的接受大量的信息,但信息的传输最终还是要归结于基础网络设施的配置。虽然基础网络设施的配置在渐渐提升,但达到用户想要的水平却还是需要不短的时间。WiFi作为一种无线通信技术,广泛应用于机场,办公室,家庭等场所,相比其他无线技术,WiFi有以下技术优势:传输速率高,虽然受无线传输信号强度等限制,实际速率达不到理想的速率,但仍高于大部分无线传输,以及部分有线网络;支持的设备多,几乎所有的笔记本电脑都会内置WiFi模块,很多中高端的PDA,手机也支持WiFi,在机场,写字楼,咖啡店等地方都有AP(AccessPoint),接入方便。在家庭局域网中,路由器成为所有移动设备、智能家居连接网络的中心部件。在现有环境下,一个家庭、学校、公司或小区里需要联网的设备包括手机、笔记本、平板电脑、台式电脑、智能电视等,从几个到几百上千个不等,一个家庭能使用的网络带宽是有限的,但对带宽的需求却是在不断增加。如何解决多网络设备下的网络资源分配问题,显得十分重要。With the popularity of mobile Internet and smart devices, the network has gradually become an indispensable infrastructure. The mobile Internet is gradually infiltrating into people's lives and work. Everyone will inevitably receive a large amount of information every day, but the transmission of information will ultimately be attributed to the configuration of the basic network facilities. Although the configuration of the basic network facilities is gradually increasing, it still takes a short time to reach the level that users want. As a wireless communication technology, WiFi is widely used in airports, offices, homes, etc. Compared with other wireless technologies, WiFi has the following technical advantages: high transmission rate, although the wireless transmission signal strength is limited, the actual rate is not ideal. The rate, but still higher than most wireless transmissions, as well as some wired networks; support for many devices, almost all laptops will have built-in WiFi modules, many high-end PDAs, mobile phones also support WiFi, at airports, office buildings, coffee shops AP (AccessPoint) is available everywhere, and access is convenient. In the home LAN, the router becomes the central component of all mobile devices and smart home connectivity networks. In the current environment, a device that needs to be connected in a home, school, company or community, including mobile phones, notebooks, tablets, desktop computers, smart TVs, etc., can vary from a few to hundreds of thousands. The network bandwidth is limited, but the demand for bandwidth is increasing. How to solve the problem of network resource allocation under multi-network devices is very important.
现有技术中,网络带宽分配主要有网络限速、智能带宽分配、QoS(QualityofService,服务质量)、固定带宽分配等。网络限速功能一般是通过路由器管理页面设定设备的最高带宽。智能带宽分配是指在多个设备联接网络的情形下,平均分配网络带宽到所有接入设备上,避免因为某个设备占用太多带宽而影响其他设备使用。QoS是一种网络基础技术能力,目的在于保证网络的可用性,主要用来解决网络延迟和拥塞等问题,当网络过载或拥塞时,QoS能确保重要业务不受延迟或丢弃,同时保证网络的高效运行。固定带宽即运营商根据用户选择的带宽和缴费额度给用户分配指定的带宽,对应路由设备的广域网(WAN,WideAreaNetwork)侧输入端的带宽,由于个人的上网爱好不同,对各种网络应用业务的需求也各不相同,如有人热爱看电影、电视等视频节目,则需要的网络带宽就比较大,有人则喜欢浏览网页、看新闻、小说等,这种业务需要的带宽就比较小,但是,现有的固定带宽给浏览网页和看视频使用的是相同的带宽,这在很大程度上造成了大量网络资源的浪费。In the prior art, network bandwidth allocation mainly includes network rate limiting, intelligent bandwidth allocation, QoS (Quality of Service), and fixed bandwidth allocation. The network speed limit function generally sets the maximum bandwidth of the device through the router management page. Intelligent bandwidth allocation means that when multiple devices are connected to the network, the network bandwidth is evenly distributed to all access devices, so as to prevent other devices from using too much bandwidth. QoS is a basic network technology capability. The purpose is to ensure the availability of the network. It is mainly used to solve network delays and congestion. When the network is overloaded or congested, QoS can ensure that important services are not delayed or discarded, and the network is efficient. run. The fixed bandwidth means that the operator allocates the specified bandwidth according to the bandwidth and the payment amount selected by the user, and corresponds to the bandwidth of the wide area network (WAN, WideAreaNetwork) side input end of the routing device, and the demand for various network application services due to different personal Internet hobbies It is also different. If someone loves watching movies, TV and other video programs, the network bandwidth required is relatively large. Some people like to browse the web, read news, novels, etc. The bandwidth required for this kind of business is relatively small, but now Some fixed bandwidths use the same bandwidth for browsing web pages and watching videos, which largely causes a lot of network resources to be wasted.
虽然现有路由器的带宽分配功能具有以上的优点,但同样存在以下缺点:智能带宽分配功能是平均分配网络带宽,结果可能有的设备速度不够,有的设备带宽过剩,造成了大量网络资源的浪费,而且QoS实现复杂。Although the bandwidth allocation function of the existing router has the above advantages, the following disadvantages are also present: the intelligent bandwidth allocation function distributes the network bandwidth evenly, and as a result, the device speed may be insufficient, and some devices have excess bandwidth, resulting in a waste of a large amount of network resources. And the QoS implementation is complicated.
发明内容Summary of the invention
本发明提供了一种无线设备共享带宽的控制方法及系统,其目的是能集中处理批量无线设备连接网络,充分利用空闲的网络资源以及灵活的分配带宽。The present invention provides a method and system for controlling bandwidth shared by a wireless device, the purpose of which is to centrally process a wireless network connection network, and make full use of idle network resources and flexible allocation bandwidth.
本发明提供的技术方案如下:The technical solution provided by the present invention is as follows:
一种无线设备共享带宽的控制方法,包括步骤:S100集中控制器判断连接的无线设备是否达到预设连接分配阈值,若是,执行步骤S200;否则,执行步骤S300;S200所述集中控制器分析连接的所述无线设备当前工作状态,得到所有连接的所述无线设备的当前带宽状况,并发送带宽共享指令至所有连接的所述无线设备;S300所述集中控制器保持与所述无线设备的当前网络连接状态。A method for controlling a shared bandwidth of a wireless device includes the following steps: S100: The centralized controller determines whether the connected wireless device reaches a preset connection allocation threshold, and if yes, performs step S200; otherwise, performs step S300; and the centralized controller analyzes the connection according to S200 The current working state of the wireless device, obtaining current bandwidth status of all connected wireless devices, and transmitting a bandwidth sharing instruction to all connected wireless devices; S300, the centralized controller remains current with the wireless device Network connection status.
由于目前的网络资源技术,主要还是通过上网接入点加上无线设备的配合,来为用户提供上网功能,但是本发明的上网优化机制,是对现有技术的一种有效补充,只要某一个区域布置有这种采集汇总无线设备的集中控制器,就能充分利用到空闲(空闲是指带宽需求量小的用户 浏览网页等业务或者不使用网络的用户等)的宽带资源。如此一来,集中控制器便做到了合理安排宽带资源的作用:原本没有互联网的无线路由设备能够连接互联网了,原本互联网资源很差的无线路由设备也得到了改善,而那些空闲没有利用到的来自部分无线路由设备的宽带资源也得到了利用。Due to the current network resource technology, the Internet access function is mainly provided through the cooperation of the Internet access point and the wireless device, but the Internet optimization mechanism of the present invention is an effective supplement to the prior art, as long as one The central controller with such a collection and aggregation wireless device can make full use of idle (free is a user with small bandwidth demand) Broadband resources such as browsing the web or other services or users who do not use the network. In this way, the centralized controller can do a reasonable arrangement of broadband resources: wireless routing devices without Internet can connect to the Internet, and wireless routing devices with poor Internet resources have also been improved, and those that are not used by the idle. Broadband resources from some wireless routing devices are also being utilized.
进一步的,所述步骤S200包括步骤:S210所述集中控制器接收所述无线设备发送的自身当前网络状况信息;S220所述集中控制器根据所述无线设备的当前网络状况信息,得到所述无线设备的带宽大小等级;S230所述集中控制器判断所述当前无线设备的工作网络速率是否达到自身带宽大小等级对应的预设网络速率,若是,执行步骤S240;否则,执行步骤S250;S240所述集中控制器输出所述当前无线设备当前工作状态为忙碌状态;S250所述集中控制器输出所述当前无线设备当前工作状态为空闲状态;S260所述集中控制器分析所有忙碌状态的无线设备的当前带宽需求量,并分析所有空闲状态的无线设备的当前带宽剩余量,生成当前带宽需求表和当前带宽剩余表;S270所述集中控制器根据所述当前带宽需求表和所述当前带宽剩余表进行查询运算分配,发送所述分配带宽共享指令至所有连接的所述无线设备。Further, the step S200 includes the following steps: S210: the centralized controller receives the current network status information sent by the wireless device; and the central controller obtains the wireless according to the current network status information of the wireless device. The bandwidth level of the device; the centralized controller determines whether the working network rate of the current wireless device reaches a preset network rate corresponding to the bandwidth level of the current wireless device, and if yes, step S240 is performed; otherwise, step S250 is performed; The centralized controller outputs that the current working state of the current wireless device is a busy state; S250, the centralized controller outputs that the current working state of the current wireless device is an idle state; and S260, the centralized controller analyzes the current state of all wireless devices in a busy state. The bandwidth requirement, and analyzing the current bandwidth remaining amount of the wireless devices in all idle states, generating a current bandwidth requirement table and a current bandwidth remaining table; and the centralized controller according to the current bandwidth requirement table and the current bandwidth remaining table according to S270 Query operation allocation, sending the allocated bandwidth Enjoy the command to all connected wireless devices.
本发明中,建立连接后,无线设备端将会解析出当前的上网状况,并将该状况发送给集中控制器,集中控制器接收到该信息后,将会根据无线设备的上网状况将不同的无线设备归类到当前带宽需求表和当前带宽剩余表。然后集中控制器将会决定哪些路由器成为网络带宽提供方,哪些为网络带宽接收方,等这些都确定以后,将会正式开启与各个无线设备间建立的网络带宽通道。如此一来,集中控制器便做到了合理安排宽带资源的作用:原本没有互联网的无线路由设备能够连接互联网了,原本互联网资源很差的无线路由设备也得到了改善,而那些空闲没有利用到的来自部分无线路由设备的宽带资源也得到了利用。In the present invention, after the connection is established, the wireless device end will parse the current Internet access status and send the status to the centralized controller. After receiving the information, the centralized controller will be different according to the wireless device's Internet access status. The wireless device is categorized into the current bandwidth requirement table and the current bandwidth remaining table. Then the centralized controller will decide which routers become the network bandwidth provider and which are the network bandwidth receivers. When these are determined, the network bandwidth channel established with each wireless device will be officially opened. In this way, the centralized controller can do a reasonable arrangement of broadband resources: wireless routing devices without Internet can connect to the Internet, and wireless routing devices with poor Internet resources have also been improved, and those that are not used by the idle. Broadband resources from some wireless routing devices are also being utilized.
进一步的,所述步骤S270包括步骤:S271所述集中控制器根据所述无线设备的使用频率和/或优先等级和/或网络应用类型生成分配序列表;S272所述集中控制器根据所述当前带宽需求表和所述当前带宽剩余表按照所述分配序列表的排列顺序进行查询运算分配,得到当前分配带宽共享指令;S273所述集中控制器按照所述分配序列表的排列顺序,在预设时长内发送所述分配带宽共享指令至所有连接的所述无线设备。Further, the step S270 includes the following steps: S271: The centralized controller generates an allocation sequence table according to a usage frequency and/or a priority level of the wireless device and/or a network application type; S272, the centralized controller is configured according to the current The bandwidth requirement table and the current bandwidth remaining table are allocated according to the arrangement order of the allocation sequence table, and the current allocation bandwidth sharing instruction is obtained; and the centralized controller according to the arrangement order of the allocation sequence table is preset in S273. The allocated bandwidth sharing command is sent to all connected wireless devices within a time period.
本发明中,根据无线设备的使用频率,和/或优先等级,和/或网络应用类型生成分配序列表,这样就能够使得根据各个因素来进行带宽分配,为各个设备分配带宽时考虑多种因素,很好地利用网络带宽资源,因为是根据无线设备的使用频率、优先等级和网络应用类型来为无线设备分配带宽,说明是具有针对性的为每个无线设备分配带宽,而不是平均分配带宽,因为是实时监测各无线设备的各个因素,因而对其带宽策略的调整也是实时的。In the present invention, the allocation sequence table is generated according to the frequency of use of the wireless device, and/or the priority level, and/or the network application type, so that bandwidth allocation can be performed according to various factors, and various factors are considered when allocating bandwidth for each device. The network bandwidth resource is well utilized, because the bandwidth is allocated to the wireless device according to the frequency of use, priority level, and network application type of the wireless device, indicating that the bandwidth is allocated for each wireless device in a targeted manner, instead of the average allocated bandwidth. Because it is a real-time monitoring of various factors of each wireless device, the adjustment of its bandwidth policy is also real-time.
进一步的,所述步骤S200之后包括步骤:S400所述集中控制器监测是否有新认证连接的无线设备,和/或,已经通过验证连接所述集中控制器的所述无线设备的带宽需求量是否产生变化;若是,执行步骤S500;否则,执行步骤S600;S500所述集中控制器更新所有连接的所述无线设备的当前带宽剩余量,重新发送带宽共享指令至所有连接的所述无线设备;S600所述集中控制器不更新所有连接的所述无线设备的当前带宽剩余量。Further, the step S200 includes the following steps: S400, the centralized controller monitors whether there is a newly authenticated connected wireless device, and/or has verified that the bandwidth requirement of the wireless device connected to the centralized controller is a change is generated; if yes, step S500 is performed; otherwise, step S600 is performed; the centralized controller updates the current bandwidth remaining amount of all connected wireless devices, and retransmits the bandwidth sharing command to all connected wireless devices; S600 The centralized controller does not update the current bandwidth remaining amount of all connected wireless devices.
本发明中,当集中控制器一旦监测到有新认证连接的无线设备,和/或,已经通过验证连接所述集中控制器的所述无线设备的带宽需求量产生变化的时候,更新所有连接的所述无线设备的当前带宽剩余量,重新发送带宽共享指令至所有连接的所述无线设备,这样就能够实时的根据无线设备的各个因素实时地调整带宽策略。In the present invention, when the centralized controller detects a wireless device having a newly authenticated connection, and/or has changed the bandwidth requirement of the wireless device connected to the centralized controller, all connected connections are updated. The current bandwidth remaining amount of the wireless device resends the bandwidth sharing command to all connected wireless devices, so that the bandwidth policy can be adjusted in real time according to various factors of the wireless device.
进一步的,所述步骤S100之前包括步骤:S010所述无线设备上电后,搜索所述集中控制器发出的无线信号;S020所述无线设备判断是否搜索到所述集中控制器发出的无线信号,若是,执行步骤S030;否则,返回步骤S010;S030所述无线设备自动发送上网连接请求至所述集中控制器;S040所述集中控制器判断所述无线设备是否是进行第一次验证,若是,执行步骤S050;否则,直接执行步骤S060;S050所述集中控制器判断发送上网连接请求的所述无线设备是否通过验证,若是,执行步骤S060;否则,执行步骤S070;S060所述集中控制器与所述无线设备建立网络通信连接;S070所述集中控制器与所述无线设备不建立网络通信连接。 Further, the step S100 includes the following steps: S010: after the wireless device is powered on, searching for a wireless signal sent by the centralized controller; S020, the wireless device determining whether to search for a wireless signal sent by the centralized controller, If yes, go to step S030; otherwise, go back to step S010; S030, the wireless device automatically sends an internet connection request to the centralized controller; S040, the centralized controller determines whether the wireless device performs the first verification, and if so, Step S050 is performed; otherwise, step S060 is directly performed; the centralized controller determines whether the wireless device that sends the Internet connection request passes the verification, and if so, performs step S060; otherwise, performs step S070; The wireless device establishes a network communication connection; the centralized controller of S070 does not establish a network communication connection with the wireless device.
本发明中,当无线设备连上电源时,如果这个无线设备是拥有并支持集中控制器的,将会对集中控制器发出的无线信号发出连接请求。当集中控制器接收到这个信号时,将会解析该请求中包含的验证授权信息,一旦通过验证,便会与该无线设备产生一个长连接。In the present invention, when the wireless device is connected to the power source, if the wireless device owns and supports the centralized controller, a connection request is issued to the wireless signal sent by the centralized controller. When the centralized controller receives this signal, it will parse the authentication authorization information contained in the request, and once it passes the verification, it will generate a long connection with the wireless device.
本发明还提供一种无线设备共享带宽的控制系统,包括:集中控制器、无线设备;所述集中控制器与所述无线设备通信连接;The present invention further provides a control system for sharing bandwidth of a wireless device, comprising: a centralized controller, a wireless device; and the centralized controller is in communication connection with the wireless device;
所述集中控制器,判断连接的无线设备是否达到预设连接分配阈值;当连接的无线设备达到预设连接分配阈值时,所述集中控制器分析连接的所述无线设备当前工作状态,得到所有连接的所述无线设备的当前带宽状况,并发送带宽共享指令至所有连接的所述无线设备;当连接的无线设备未达到预设连接分配阈值时,所述集中控制器保持与所述无线设备的当前网络连接状态。The centralized controller determines whether the connected wireless device reaches a preset connection allocation threshold; when the connected wireless device reaches a preset connection allocation threshold, the centralized controller analyzes the current working state of the connected wireless device, and obtains all a current bandwidth condition of the connected wireless device and transmitting a bandwidth sharing command to all connected wireless devices; the centralized controller remains with the wireless device when the connected wireless device does not reach a preset connection allocation threshold Current network connection status.
本发明中,通过集中控制器判断采集连接到一定数量的无线设备后,分析出不同无线设备的状态(空闲或忙碌),再经过一定的算法策略,来分配不同无线设备的带宽通道,该通道是双向通道,无线设备可能是带宽服务接收方,也可能是带宽服务供应方。如此,集中控制器便能够合理的安排空闲的宽带资源:原本没有互联网的无线路由设备能够连接互联网了,原本互联网资源很差的无线路由设备也得到了改善,而那些空闲没有利用到的来自部分无线路由设备的宽带资源也得到了利用,避免了大量网络资源的浪费,能够根据用户真实使用的网络带宽量来计算网络流量费用,节约了一些带宽需求量小的用户的费用,增加了带宽需求量大的用户的上网体验。In the present invention, after the centralized controller determines that the acquisition is connected to a certain number of wireless devices, the state of the different wireless devices is analyzed (idle or busy), and then a certain algorithm strategy is used to allocate bandwidth channels of different wireless devices. It is a two-way channel, and the wireless device may be a bandwidth service receiver or a bandwidth service provider. In this way, the centralized controller can reasonably arrange the idle broadband resources: the wireless routing device without the Internet can connect to the Internet, and the wireless routing device with poor Internet resources is also improved, and those portions that are not utilized by the idle are also improved. The broadband resources of the wireless routing device are also utilized, which avoids the waste of a large amount of network resources, can calculate the network traffic cost according to the amount of network bandwidth actually used by the user, saves the cost of some users with small bandwidth requirements, and increases the bandwidth requirement. A large user's online experience.
进一步的,所述集中控制器包括:获取模块、判断模块、输出模块、分析模块、分配模块;所述获取模块与所述判断模块通信连接;所述判断模块与所述输出模块通信连接;所述输出模块与所述分析模块通信连接;所述分析模块与所述分配模块通信连接;Further, the centralized controller includes: an obtaining module, a determining module, an output module, an analyzing module, and an allocating module; the obtaining module is communicably connected with the determining module; and the determining module is communicably connected with the output module; The output module is communicatively coupled to the analysis module; the analysis module is communicatively coupled to the distribution module;
所述获取模块,接收所述无线设备发送的自身当前网络状况信息,根据所述无线设备的当前网络状况信息,得到所述无线设备的带宽大小等级;所述判断模块,判断所述当前无线设备的工作网络速率是否达到自身带宽大小等级对应的预设网络速率;所述输出模块,当所述当前无线设备的工作网络速率达到自身带宽大小等级对应的预设网络速率时,输出所述当前无线设备当前工作状态为忙碌状态;所述输出模块,当所述当前无线设备的工作网络速率达到自身带宽大小等级对应的预设网络速率时,输出所述当前无线设备当前工作状态为空闲状态;所述分析模块,分析所有忙碌状态的无线设备的当前带宽需求量,并分析所有空闲状态的无线设备的当前带宽剩余量,生成当前带宽需求表和当前带宽剩余表;所述分配模块,根据所述当前带宽需求表和所述当前带宽剩余表进行查询运算分配,发送分配带宽共享指令至所有连接的所述无线设备。The obtaining module receives the current network status information sent by the wireless device, and obtains a bandwidth level of the wireless device according to the current network status information of the wireless device; the determining module determines the current wireless device Whether the working network rate reaches a preset network rate corresponding to the level of the own bandwidth; the output module outputs the current wireless when the working network rate of the current wireless device reaches a preset network rate corresponding to the level of the bandwidth of the current wireless device The current working state of the device is a busy state; the output module outputs the current working state of the current wireless device to an idle state when the working network rate of the current wireless device reaches a preset network rate corresponding to the bandwidth level of the current wireless device; The analysis module analyzes the current bandwidth requirement of all busy wireless devices, and analyzes the current bandwidth remaining amount of all idle state wireless devices, and generates a current bandwidth requirement table and a current bandwidth remaining table; the allocation module according to the Current bandwidth demand table and the stated The remaining operation of bandwidth allocation table query, the transmission assignment bandwidth sharing instruction to all the wireless device is connected.
本发明中,建立连接后,无线设备端将会解析出当前的上网状况,并将该状况发送给集中控制器,集中控制器接收到该信息后,将会根据无线设备的上网状况将不同的无线设备归类到当前带宽需求表和当前带宽剩余表。其中,例如10M带宽路由器的网络下载速度大约达到1.25M/s时,该路由器的当前上网状况为忙碌状态,然后集中控制器将会决定哪些路由器成为网络带宽提供方,哪些为网络带宽接收方,等这些都确定以后,将会正式开启与各个无线设备间建立的网络带宽通道。如此一来,集中控制器便做到了合理安排宽带资源的作用:原本没有互联网的无线路由设备能够连接互联网了,原本互联网资源很差的无线路由设备也得到了改善,而那些空闲没有利用到的来自部分无线路由设备的宽带资源也得到了利用。In the present invention, after the connection is established, the wireless device end will parse the current Internet access status and send the status to the centralized controller. After receiving the information, the centralized controller will be different according to the wireless device's Internet access status. The wireless device is categorized into the current bandwidth requirement table and the current bandwidth remaining table. Wherein, for example, when the network download speed of the 10M bandwidth router reaches approximately 1.25 M/s, the current Internet access status of the router is busy, and then the centralized controller determines which routers become network bandwidth providers and which are network bandwidth receivers. After these are determined, the network bandwidth channel established between each wireless device will be officially opened. In this way, the centralized controller can do a reasonable arrangement of broadband resources: wireless routing devices without Internet can connect to the Internet, and wireless routing devices with poor Internet resources have also been improved, and those that are not used by the idle. Broadband resources from some wireless routing devices are also being utilized.
进一步的,所述分配模块包括:生成列表子模块、查询分配子模块和发送指令子模块;所述生成列表子模块与所述查询分配子模块通信连接;所述查询分配子模块与所述发送指令子模块通信连接;Further, the allocating module includes: a generating list submodule, a query assigning submodule, and a sending instruction submodule; the generating list submodule is in communication connection with the query assigning submodule; the query assigning submodule and the sending Instruction sub-module communication connection;
所述生成列表子模块,根据所述无线设备的使用频率和/或优先等级和/或网络应用类型生成分配序列表;所述查询分配子模块,根据所述当前带宽需求表和所述当前带宽剩余表按照所述分配序列表的排列顺序进行查询运算分配,得到当前分配带宽共享指令;发送指令子模块,按照所述分配序列表的排列顺序,在预设时长内发送所述分配带宽共享指令至所有连接的所述无线设备。 Generating a list sub-module, generating an allocation sequence table according to a frequency of use and/or a priority level of the wireless device and/or a network application type; the query allocation sub-module, according to the current bandwidth requirement table and the current bandwidth The remaining table performs the query operation allocation according to the arrangement order of the allocation sequence table, and obtains the current allocated bandwidth sharing instruction; the sending instruction sub-module sends the allocated bandwidth sharing instruction within a preset duration according to the order of the allocation sequence table. To all connected wireless devices.
本发明中,根据网络应用类型、使用频率和优先等级进行分配,对进入的应用业务的数据包进行分流,统计网络应用类型、使用频率以及优先等级,使各应用业务的数据包得到相应的带宽,如此,无线设备就可以根据用户使用应用业务的频度来分配带宽,使带宽分配更加智能、个性化,具有针对性的为每个无线设备分配带宽,而不是平均分配带宽,因为是实时监测各无线设备的各个因素,因而对其带宽策略的调整也是实时的。这样充分利用了网络资源,大大提高了用户使用各种应用业务上网的流畅度,能够满足用户的上网需求,同时减少了设备的操作复杂度和用户参与度。In the present invention, according to the network application type, the usage frequency and the priority level, the data packets of the incoming application service are offloaded, and the network application type, the usage frequency and the priority level are counted, so that the data packets of each application service get the corresponding bandwidth. In this way, the wireless device can allocate bandwidth according to the frequency of the user's application service, make the bandwidth allocation more intelligent and personalized, and allocate bandwidth for each wireless device in a targeted manner instead of distributing the bandwidth evenly because it is real-time monitoring. The various factors of each wireless device, and thus the adjustment of its bandwidth policy, are also real-time. This makes full use of network resources, greatly improves the fluency of users accessing various application services, can meet the user's Internet access requirements, and reduces the operational complexity and user participation of the device.
进一步的,所述集中控制器还包括:监测模块和更新模块;所述监测模块与所述获取模块通信连接;所述更新模块与所述监测模块通信连接;Further, the centralized controller further includes: a monitoring module and an update module; the monitoring module is communicatively connected to the acquiring module; and the updating module is communicably connected to the monitoring module;
所述监测模块,监测是否有新认证连接的无线设备,和/或,已经通过验证连接所述集中控制器的所述无线设备的带宽需求量是否产生变化;所述更新模块,当没有有新认证连接的无线设备,并且,已经通过验证连接所述集中控制器的所述无线设备的带宽需求量未产生变化,不更新所有连接的所述无线设备的所述当前带宽状况;所述更新模块,当有新认证连接的无线设备,和/或,已经通过验证连接所述集中控制器的所述无线设备的带宽需求量产生变化,更新所有连接的所述无线设备的所述当前带宽状况,重新发送带宽共享指令至所有连接的所述无线设备。The monitoring module monitors whether there is a newly authenticated connected wireless device, and/or has passed a verification whether a bandwidth requirement of the wireless device connected to the centralized controller changes; the update module, when there is no new Authenticating the connected wireless device, and having not verified a change in the bandwidth requirement of the wireless device connected to the centralized controller, not updating the current bandwidth condition of all connected wireless devices; the update module Updating the current bandwidth condition of all connected wireless devices when there is a newly authenticated connected wireless device, and/or has changed by verifying the bandwidth requirement of the wireless device connected to the centralized controller, Retransmit the bandwidth sharing command to all connected wireless devices.
本发明中,一旦集中控制器监测到有新认证连接的无线设备,和/或,已经通过验证连接所述集中控制器的所述无线设备的带宽需求量产生变化的时候,集中控制器就会更新所有连接的所述无线设备的当前带宽剩余量,重新发送带宽共享指令至所有连接的所述无线设备,这样就能够实时的根据无线设备的各个因素实时地调整带宽策略。因为是实时监测各无线设备的各个因素,因而对其带宽策略的调整也是实时的。In the present invention, once the centralized controller detects the wireless device having the newly authenticated connection, and/or has changed the bandwidth requirement of the wireless device connected to the centralized controller, the centralized controller will The current bandwidth remaining amount of all connected wireless devices is updated, and the bandwidth sharing command is resent to all connected wireless devices, so that the bandwidth policy can be adjusted in real time according to various factors of the wireless device. Because it is a real-time monitoring of various factors of each wireless device, the adjustment of its bandwidth policy is also real-time.
进一步的,所述无线设备包括搜索模块和连接模块;所述集中控制器还包括验证模块和控制模块;所述搜索模块与所述连接模块通信连接;所述验证模块与所述连接模块通信连接;所述验证模块还与所述获取模块通信连接;所述控制模块与所述验证模块通信连接;Further, the wireless device includes a search module and a connection module; the centralized controller further includes a verification module and a control module; the search module is communicatively connected with the connection module; and the verification module is in communication with the connection module The verification module is further communicatively coupled to the acquisition module; the control module is communicatively coupled to the verification module;
所述搜索模块,上电后,搜索所述集中控制器发出的无线信号,判断是否搜索到所述集中控制器发出的无线信号;所述连接模块,当搜索到所述集中控制器发出的无线信号时,自动发送上网连接请求至所述集中控制器;所述搜索模块,当搜索不到所述集中控制器发出的无线信号时,继续搜索所述集中控制器发出的无线信号;所述验证模块,判断所述无线设备是否是进行第一次验证;所述验证模块,还当所述无线设备是进行第一次验证时,进一步判断发送上网连接请求的所述无线设备是否通过验证;所述控制模块,当所述无线设备是进行第一次验证时,且发送上网连接请求的所述无线设备通过验证时,与所述无线设备建立网络通信连接;所述控制模块,当所述无线设备是进行第一次验证时,但发送上网连接请求的所述无线设备未通过验证时,与所述无线设备不建立网络通信连接;所述控制模块,还当所述无线设备不是进行第一次验证时,所述集中控制器与所述无线设备建立网络通信连接。The search module searches for a wireless signal sent by the centralized controller to determine whether to search for a wireless signal sent by the centralized controller; and the connection module searches for the wireless sent by the centralized controller. When the signal is sent, the Internet connection request is automatically sent to the centralized controller; the search module continues to search for the wireless signal sent by the centralized controller when the wireless signal sent by the centralized controller is not searched; the verification The module determines whether the wireless device performs the first verification; and the verification module further determines, when the wireless device performs the first verification, whether the wireless device that sends the Internet connection request passes the verification; a control module, when the wireless device performs the first verification, and the wireless device that sends the Internet connection request passes the verification, establishes a network communication connection with the wireless device; the control module, when the wireless When the device performs the first verification, but the wireless device that sends the Internet connection request fails to pass the verification, Line equipment network communication connection is not established; the control module, but also when the wireless device is not verified for the first time, the centralized controller and the wireless communications device to establish a network connection.
本发明中,当无线设备连上电源时,如果这个无线设备是拥有并支持集中控制器的,将会对集中控制器发出的无线信号发出连接请求。当集中控制器接收到这个信号时,将会解析该请求中包含的验证授权信息,一旦通过验证,便会与该无线设备产生一个长连接。如果这个无线设备是已经认证通过后的无线设备,那么当其与集中控制器断开连接后,其可以不需要再一次进行验证。In the present invention, when the wireless device is connected to the power source, if the wireless device owns and supports the centralized controller, a connection request is issued to the wireless signal sent by the centralized controller. When the centralized controller receives this signal, it will parse the authentication authorization information contained in the request, and once it passes the verification, it will generate a long connection with the wireless device. If the wireless device is a wireless device that has been authenticated, it may not need to be verified again once it is disconnected from the centralized controller.
与现有技术相比,本发明提供一种无线设备共享带宽的控制方法及系统,至少带来以下一种技术效果:Compared with the prior art, the present invention provides a method and system for controlling bandwidth shared by a wireless device, which brings at least one of the following technical effects:
1、集中处理批量无线设备连接网络,简单灵活的分配带宽。1. Centralized processing of batch wireless devices to connect to the network, simple and flexible allocation of bandwidth.
2、实时监测各无线设备的各个因素,根据无线设备的各个因素实时地调整带宽策略,充分利用空闲的网络资源。2. Real-time monitoring of various factors of each wireless device, adjusting the bandwidth policy in real time according to various factors of the wireless device, and fully utilizing idle network resources.
3、节约了一些带宽需求量小的用户的带宽费用,增加了带宽需求量大的用户的上网体验。 3. It saves the bandwidth cost of some users with small bandwidth requirements, and increases the online experience of users with large bandwidth requirements.
附图说明DRAWINGS
下面将以明确易懂的方式,结合附图说明优选实施方式,对一种无线设备共享带宽的控制方法及系统的特性、技术特征、优点及其实现方式予以进一步说明。The preferred embodiment of the wireless device sharing bandwidth and the characteristics, technical features, advantages and implementation manners of the wireless device sharing bandwidth will be further described below in a clear and understandable manner with reference to the accompanying drawings.
图1是本发明一种无线设备共享带宽的控制方法一个实施例的流程图;1 is a flow chart of an embodiment of a method for controlling bandwidth shared by a wireless device according to the present invention;
图2是本发明一种无线设备共享带宽的控制方法另一个实施例的流程图;2 is a flow chart of another embodiment of a method for controlling bandwidth shared by a wireless device according to the present invention;
图3是本发明一种无线设备共享带宽的控制方法另一个实施例的流程图;3 is a flow chart of another embodiment of a method for controlling bandwidth shared by a wireless device according to the present invention;
图4是本发明一种无线设备共享带宽的控制方法另一个实施例的流程图;4 is a flow chart of another embodiment of a method for controlling bandwidth sharing of a wireless device according to the present invention;
图5是本发明一种无线设备共享带宽的控制方法另一个实施例的流程图;5 is a flowchart of another embodiment of a method for controlling bandwidth shared by a wireless device according to the present invention;
图6是本发明一种无线设备共享带宽的控制系统一个实施例的结构图;6 is a structural diagram of an embodiment of a control system for sharing bandwidth of a wireless device according to the present invention;
图7是本发明一种无线设备共享带宽的控制系统另一个实施例的结构图;7 is a structural diagram of another embodiment of a control system for sharing bandwidth of a wireless device according to the present invention;
图8是本发明一种无线设备共享带宽的控制系统另一个实施例的结构图;8 is a structural diagram of another embodiment of a control system for sharing bandwidth of a wireless device according to the present invention;
图9是本发明一种无线设备共享带宽的控制系统一个实例的流程图;9 is a flow chart showing an example of a control system for sharing bandwidth of a wireless device according to the present invention;
图10是本发明一种无线设备共享带宽的控制系统一个实例的结构图。FIG. 10 is a structural diagram showing an example of a control system for sharing bandwidth of a wireless device according to the present invention.
具体实施方式detailed description
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对照附图说明本发明的具体实施方式。显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图,并获得其他的实施方式。In order to more clearly illustrate the embodiments of the present invention or the technical solutions of the prior art, the specific embodiments of the present invention will be described below with reference to the accompanying drawings. Obviously, the drawings in the following description are only some embodiments of the present invention, and those skilled in the art can obtain other drawings according to the drawings without obtaining creative labor, and obtain Other embodiments.
为使图面简洁,各图中只示意性地表示出了与本发明相关的部分,它们并不代表其作为产品的实际结构。另外,以使图面简洁便于理解,在有些图中具有相同结构或功能的部件,仅示意性地绘示了其中的一个,或仅标出了其中的一个。在本文中,“一个”不仅表示“仅此一个”,也可以表示“多于一个”的情形。In order to simplify the drawings, only the parts related to the present invention are schematically shown in the drawings, and they do not represent the actual structure of the product. In addition, in order to make the drawings simple and easy to understand, components having the same structure or function in some of the figures are only schematically illustrated, or only one of them is marked. In the present context, "a" means not only "only one" but also "more than one".
参照图1所示,本发明提供一种无线设备共享带宽的控制方法的一个实施例,包括:Referring to FIG. 1, the present invention provides an embodiment of a method for controlling bandwidth shared by a wireless device, including:
S100集中控制器判断连接的无线设备是否达到预设连接分配阈值,若是,执行步骤S200;否则,执行步骤S300;The S100 centralized controller determines whether the connected wireless device reaches the preset connection allocation threshold, and if so, performs step S200; otherwise, performs step S300;
S200所述集中控制器分析连接的所述无线设备当前工作状态,得到所有连接的所述无线设备的当前带宽状况,并发送带宽共享指令至所有连接的所述无线设备;The centralized controller of S200 analyzes the current working state of the connected wireless device, obtains the current bandwidth status of all connected wireless devices, and sends a bandwidth sharing command to all connected wireless devices;
S300所述集中控制器保持与所述无线设备的当前网络连接状态。The centralized controller of S300 maintains a current network connection state with the wireless device.
具体的,本发明实施例中,通过在某一个区域布置有这种采集汇总无线设备的集中控制器,就能充分利用到空闲的宽带资源。如此一来,集中控制器便做到了合理安排宽带资源的作用:原本没有互联网的无线路由设备能够连接互联网了,原本互联网资源很差的无线路由设备也得到了改善,而那些空闲没有利用到的来自部分无线路由设备的宽带资源也得到了利用。Specifically, in the embodiment of the present invention, by arranging the centralized controller of the collection and aggregation wireless device in a certain area, the idle broadband resources can be fully utilized. In this way, the centralized controller can do a reasonable arrangement of broadband resources: wireless routing devices without Internet can connect to the Internet, and wireless routing devices with poor Internet resources have also been improved, and those that are not used by the idle. Broadband resources from some wireless routing devices are also being utilized.
参照图2所示,本发明提供一种无线设备共享带宽的控制方法的另一个实施例,包括:Referring to FIG. 2, the present invention provides another embodiment of a method for controlling bandwidth shared by a wireless device, including:
S100集中控制器判断连接的无线设备是否达到预设连接分配阈值,若是,执行步骤S200;否则,执行步骤S300;The S100 centralized controller determines whether the connected wireless device reaches the preset connection allocation threshold, and if so, performs step S200; otherwise, performs step S300;
S210所述集中控制器接收所述无线设备发送的自身当前网络状况信息;The centralized controller of S210 receives the current network status information sent by the wireless device;
S220所述集中控制器根据所述无线设备的当前网络状况信息,得到所述无线设备的带宽大小等级;The centralized controller of S220 obtains a bandwidth level of the wireless device according to current network status information of the wireless device;
S230所述集中控制器判断所述当前无线设备的工作网络速率是否达到自身带宽大小等级对应的预设网络速率,若是,执行步骤S240;否则,执行步骤S250;S230, the centralized controller determines whether the working network rate of the current wireless device reaches a preset network rate corresponding to its own bandwidth level, and if so, step S240 is performed; otherwise, step S250 is performed;
S240所述集中控制器输出所述当前无线设备当前工作状态为忙碌状态;S240: The centralized controller outputs that the current working state of the current wireless device is a busy state;
S250所述集中控制器输出所述当前无线设备当前工作状态为空闲状态;S250, the centralized controller outputs that the current working state of the current wireless device is an idle state;
S260所述集中控制器分析所有忙碌状态的无线设备的当前带宽需求量,并分析所有空闲状态的无线设备的当前带宽剩余量,生成当前带宽需求表和当前带宽剩余表;S260, the centralized controller analyzes a current bandwidth requirement of all wireless devices in a busy state, and analyzes a current bandwidth remaining amount of all idle state wireless devices, and generates a current bandwidth requirement table and a current bandwidth remaining table;
S270所述集中控制器根据所述当前带宽需求表和所述当前带宽剩余表进行查询运算分配, 发送所述分配带宽共享指令至所有连接的所述无线设备;S270, the centralized controller performs query operation allocation according to the current bandwidth requirement table and the current bandwidth remaining table, Sending the allocated bandwidth sharing instruction to all connected wireless devices;
S300所述集中控制器保持与所述无线设备的当前网络连接状态;The centralized controller of S300 maintains a current network connection state with the wireless device;
S400所述集中控制器监测是否有新认证连接的无线设备,若是执行步骤S500;否则,执行步骤S600;S400, the centralized controller monitors whether there is a newly authenticated connected wireless device, if step S500 is performed; otherwise, step S600 is performed;
S500所述集中控制器更新所有连接的所述无线设备的当前带宽剩余量,重新发送带宽共享指令至所有连接的所述无线设备;The centralized controller of S500 updates the current bandwidth remaining amount of all connected wireless devices, and retransmits the bandwidth sharing command to all connected wireless devices;
S600所述集中控制器不更新所有连接的所述无线设备的当前带宽剩余量。The centralized controller of S600 does not update the current bandwidth remaining amount of all connected wireless devices.
本发明实施例中,建立连接后,无线设备端将会解析出当前的上网状况,并将该状况发送给集中控制器,集中控制器接收到该信息后,将会根据无线设备的上网状况将不同的无线设备归类到当前带宽需求表和当前带宽剩余表。然后集中控制器将会决定哪些路由器成为网络带宽提供方,哪些为网络带宽接收方,等这些都确定以后,将会正式开启与各个无线设备间建立的网络带宽通道。例如,无线设备甲的预先缴纳的固定带宽量为4M,当前无线设备甲的网络应用类型是高清视频,对带宽要求高至少需要1Mbps-2Mbps带宽,然而4M带宽的网络下载速度大概只有4M*1024/8=512,即最大每秒下载512Kbps,此时无线设备甲观看高清视频是处于卡顿的状态的,因此无线设备甲需要从集中控制器“借”带宽供其流畅的观看视频,那么无线设备甲的路由器发送验证请求至集中控制器,并且通过验证后,集中控制器实时监测发现无线设备乙此时并没有使用带宽上网,并且,无线设备乙的带宽是10M,那么网络下载速度大概为10M*1024/8=1280Kbps,即大约为1Mbps,那么集中控制器直接控制无线设备乙的带宽“借”给无线设备甲,同时集中控制器实时计算统计无线设备甲的使用流量,这样无线设备甲能够流畅地观看视频,无线设备乙能够在不需要使用流量时,节约流量费用。如此一来,集中控制器便做到了合理安排宽带资源的作用:原本没有互联网的无线路由设备能够连接互联网了,原本互联网资源很差的无线路由设备也得到了改善,而那些空闲没有利用到的来自部分无线路由设备的宽带资源也得到了利用。In the embodiment of the present invention, after the connection is established, the wireless device end parses the current Internet access status, and sends the status to the centralized controller. After receiving the information, the centralized controller will according to the wireless device's Internet access status. Different wireless devices are categorized into the current bandwidth requirement table and the current bandwidth remaining table. Then the centralized controller will decide which routers become the network bandwidth provider and which are the network bandwidth receivers. When these are determined, the network bandwidth channel established with each wireless device will be officially opened. For example, the pre-paid fixed bandwidth of wireless device A is 4M. The current network application type of wireless device A is high-definition video, and the bandwidth requirement is at least 1Mbps-2Mbps bandwidth, but the network download speed of 4M bandwidth is only 4M*1024. /8=512, that is, the maximum download of 512Kbps per second, at this time, the wireless device A is watching the HD video in a state of being stuck, so the wireless device A needs to "borrow" the bandwidth from the centralized controller for the smooth viewing of the video, then the wireless The router of device A sends the verification request to the centralized controller, and after verification, the centralized controller detects that the wireless device B does not use the bandwidth to access the Internet at this time, and the bandwidth of the wireless device B is 10M, then the network download speed is about 10M*1024/8=1280Kbps, that is, about 1Mbps, then the centralized controller directly controls the bandwidth of the wireless device B to "borrow" to the wireless device A, and the centralized controller calculates the usage traffic of the wireless device A in real time, so that the wireless device A Smooth video viewing, wireless device B saves traffic when traffic is not needed Costs. In this way, the centralized controller can do a reasonable arrangement of broadband resources: wireless routing devices without Internet can connect to the Internet, and wireless routing devices with poor Internet resources have also been improved, and those that are not used by the idle. Broadband resources from some wireless routing devices are also being utilized.
优选的,一旦集中控制器监测到有新认证连接的无线设备的时候,更新所有连接的所述无线设备的当前带宽剩余量,重新发送带宽共享指令至所有连接的所述无线设备,这样就能够实时的根据无线设备的各个因素实时地调整带宽策略。Preferably, once the centralized controller monitors the wireless device with the newly authenticated connection, updating the current bandwidth remaining amount of all connected wireless devices, and resending the bandwidth sharing command to all connected wireless devices, thus enabling The bandwidth policy is adjusted in real time according to various factors of the wireless device.
参照图3所示,相对于上一实施例,相同的部分不再赘述。本发明提供一种无线设备共享带宽的控制方法的另一个实施例,包括:Referring to FIG. 3, the same portions will not be described again with respect to the previous embodiment. The present invention provides another embodiment of a method for controlling bandwidth shared by a wireless device, including:
S400所述集中控制器监测已经通过验证连接所述集中控制器的所述无线设备的带宽需求量是否产生变化;若是执行步骤S500;否则,执行步骤S600;S400, the centralized controller monitors whether the bandwidth requirement of the wireless device connected to the centralized controller has been verified to be changed; if yes, step S500 is performed; otherwise, step S600 is performed;
本发明实施例中,一旦集中控制器监测到已经通过验证连接所述集中控制器的所述无线设备的带宽需求量产生变化的时候,更新所有连接的所述无线设备的当前带宽剩余量,重新发送带宽共享指令至所有连接的所述无线设备,这样就能够实时的根据无线设备的各个因素实时地调整带宽策略。另外,一旦集中控制器监测到有新认证连接的无线设备,同时已经通过验证连接所述集中控制器的所述无线设备的带宽需求量产生变化的时候,更新所有连接的所述无线设备的当前带宽剩余量,重新发送带宽共享指令至所有连接的所述无线设备,这样就能够实时的根据无线设备的各个因素实时地调整带宽策略,针对性的为每个无线设备分配带宽,而不是平均分配带宽,因为是实时监测各无线设备的各个因素,因而对其带宽策略的调整也是实时的。In the embodiment of the present invention, once the centralized controller detects that the bandwidth requirement of the wireless device that has been connected to the centralized controller has changed, the current bandwidth remaining amount of all connected wireless devices is updated, and The bandwidth sharing command is sent to all connected wireless devices, so that the bandwidth policy can be adjusted in real time according to various factors of the wireless device. In addition, the current state of all connected wireless devices is updated once the centralized controller detects the wireless device having the newly authenticated connection while having changed by verifying the bandwidth requirement of the wireless device connecting the centralized controller The remaining bandwidth, resending the bandwidth sharing command to all connected wireless devices, so that the bandwidth policy can be adjusted in real time according to various factors of the wireless device, and the bandwidth is allocated for each wireless device in a targeted manner instead of the average allocation. Bandwidth, because it is a real-time monitoring of various factors of each wireless device, so the adjustment of its bandwidth policy is also real-time.
参照图4所示,本发明提供一种无线设备共享带宽的控制方法的另一个实施例,包括:Referring to FIG. 4, the present invention provides another embodiment of a method for controlling bandwidth shared by a wireless device, including:
S010所述无线设备上电后,搜索所述集中控制器发出的无线信号;After the wireless device is powered on, searching for a wireless signal sent by the centralized controller;
S020所述无线设备判断是否搜索到所述集中控制器发出的无线信号,若是,执行步骤S030;否则,返回步骤S010;S020, the wireless device determines whether the wireless signal sent by the centralized controller is searched, and if so, step S030 is performed; otherwise, returns to step S010;
S030所述无线设备自动发送上网连接请求至所述集中控制器;S030, the wireless device automatically sends an internet connection request to the centralized controller;
S040所述集中控制器判断所述无线设备是否是进行第一次验证,若是,执行步骤S050;否则,直接执行步骤S060;S040, the centralized controller determines whether the wireless device is performing the first verification, and if so, executing step S050; otherwise, directly performing step S060;
S050所述集中控制器判断发送上网连接请求的所述无线设备是否通过验证,若是,执行步 骤S060;否则,执行步骤S070;The centralized controller of S050 determines whether the wireless device that sends the Internet connection request passes the verification, and if so, performs the step Step S060; otherwise, step S070 is performed;
S060所述集中控制器与所述无线设备建立网络通信连接;S060, the centralized controller establishes a network communication connection with the wireless device;
S070所述集中控制器与所述无线设备不建立网络通信连接;S070, the centralized controller does not establish a network communication connection with the wireless device;
S100集中控制器判断连接的无线设备是否达到预设连接分配阈值,若是,执行步骤S200;否则,执行步骤S300;The S100 centralized controller determines whether the connected wireless device reaches the preset connection allocation threshold, and if so, performs step S200; otherwise, performs step S300;
S200所述集中控制器分析连接的所述无线设备当前工作状态,得到所有连接的所述无线设备的当前带宽状况,并发送带宽共享指令至所有连接的所述无线设备;The centralized controller of S200 analyzes the current working state of the connected wireless device, obtains the current bandwidth status of all connected wireless devices, and sends a bandwidth sharing command to all connected wireless devices;
S300所述集中控制器保持与所述无线设备的当前网络连接状态。The centralized controller of S300 maintains a current network connection state with the wireless device.
本实施例中,当无线设备连上电源时,如果这个无线设备是拥有并支持集中控制器的,将会对集中控制器发出的无线信号发出连接请求。当集中控制器接收到这个信号时,将会解析该请求中包含的验证授权信息,一旦通过验证,便会与该无线设备产生一个长连接。如果这个无线设备是已经认证通过后的无线设备,那么当其与集中控制器断开连接后,其可以不需要再一次进行验证。这样,能够节约集中控制器验证的时间,同时假如验证机制能够增加安全性,防止非法份子利用伪装的路由器,窃取合法用户的流量,减少合法用户的费用损失。In this embodiment, when the wireless device is connected to the power source, if the wireless device owns and supports the centralized controller, a connection request is sent to the wireless signal sent by the centralized controller. When the centralized controller receives this signal, it will parse the authentication authorization information contained in the request, and once it passes the verification, it will generate a long connection with the wireless device. If the wireless device is a wireless device that has been authenticated, it may not need to be verified again once it is disconnected from the centralized controller. In this way, the time for centralized controller verification can be saved, and if the verification mechanism can increase security, the illegal agent can prevent the use of the spoofed router, steal the traffic of the legitimate user, and reduce the cost loss of the legitimate user.
参照图5所示,本发明提供一种无线设备共享带宽的控制方法的另一个实施例,包括:Referring to FIG. 5, the present invention provides another embodiment of a method for controlling bandwidth shared by a wireless device, including:
S100集中控制器判断连接的无线设备是否达到预设连接分配阈值,若是,执行步骤S200;否则,执行步骤S300;The S100 centralized controller determines whether the connected wireless device reaches the preset connection allocation threshold, and if so, performs step S200; otherwise, performs step S300;
S210所述集中控制器接收所述无线设备发送的自身当前网络状况信息;The centralized controller of S210 receives the current network status information sent by the wireless device;
S220所述集中控制器根据所述无线设备的当前网络状况信息,得到所述无线设备的带宽大小等级;The centralized controller of S220 obtains a bandwidth level of the wireless device according to current network status information of the wireless device;
S230所述集中控制器判断所述当前无线设备的工作网络速率是否达到自身带宽大小等级对应的预设网络速率,若是,执行步骤S240;否则,执行步骤S250;S230, the centralized controller determines whether the working network rate of the current wireless device reaches a preset network rate corresponding to its own bandwidth level, and if so, step S240 is performed; otherwise, step S250 is performed;
S240所述集中控制器输出所述当前无线设备当前工作状态为忙碌状态;S240: The centralized controller outputs that the current working state of the current wireless device is a busy state;
S250所述集中控制器输出所述当前无线设备当前工作状态为空闲状态;S250, the centralized controller outputs that the current working state of the current wireless device is an idle state;
S260所述集中控制器分析所有忙碌状态的无线设备的当前带宽需求量,并分析所有空闲状态的无线设备的当前带宽剩余量,生成当前带宽需求表和当前带宽剩余表;S260, the centralized controller analyzes a current bandwidth requirement of all wireless devices in a busy state, and analyzes a current bandwidth remaining amount of all idle state wireless devices, and generates a current bandwidth requirement table and a current bandwidth remaining table;
S271所述集中控制器根据所述无线设备的使用频率和/或优先等级和/或网络应用类型生成分配序列表;S271. The centralized controller generates an allocation sequence table according to a frequency of use and/or a priority level of the wireless device and/or a network application type.
S272所述集中控制器根据所述当前带宽需求表和所述当前带宽剩余表按照所述分配序列表的排列顺序进行查询运算分配,得到当前分配带宽共享指令;S272, the centralized controller performs query operation allocation according to the current bandwidth requirement table and the current bandwidth remaining table according to the arrangement order of the allocation sequence table, to obtain a current allocated bandwidth sharing instruction;
S273所述集中控制器按照所述分配序列表的排列顺序,在预设时长内发送所述分配带宽共享指令至所有连接的所述无线设备;S273, the centralized controller sends the allocated bandwidth sharing instruction to all connected wireless devices within a preset duration according to an arrangement order of the allocation sequence table;
S300所述集中控制器保持与所述无线设备的当前网络连接状态;The centralized controller of S300 maintains a current network connection state with the wireless device;
S400所述集中控制器监测是否有新认证连接的无线设备,若是执行步骤S500;否则,执行步骤S600;S400, the centralized controller monitors whether there is a newly authenticated connected wireless device, if step S500 is performed; otherwise, step S600 is performed;
S500所述集中控制器更新所有连接的所述无线设备的当前带宽剩余量,重新发送带宽共享指令至所有连接的所述无线设备;The centralized controller of S500 updates the current bandwidth remaining amount of all connected wireless devices, and retransmits the bandwidth sharing command to all connected wireless devices;
S600所述集中控制器不更新所有连接的所述无线设备的当前带宽剩余量。The centralized controller of S600 does not update the current bandwidth remaining amount of all connected wireless devices.
本发明实施例中,其中,不同的网络应用类型会对应不同的带宽范围,下面介绍不同网络应用类型所需要的带宽估算方法。具体的,在一定时间段内(几分钟或者几个小时),路由器可以通过统一资源定位符识别用户请求网络资源的类型,进行流量统计,带宽=流量/时间。例如,在过去的5分钟内,进行统计得到的视频使用流量有150M,那么视频所占用资源为150M/300s=500KB/s=4Mbps带宽。同理,如果在过去5分钟内,总共加载图片类资源6M,则图片类资源的带宽需求为6M/300s=20KB/s=160Kbps。根据路由器的监测,自动学习不同类型资源(游戏、视频、下载、图片、音乐、文本)所需要的平均带宽。由于网络上资源的多样性,这种带宽需求并非一成不变的。因而,可以以一定的周期计算和更新学习结果。下面确定网络应用类型 所需要的带宽:In the embodiment of the present invention, different network application types correspond to different bandwidth ranges, and the bandwidth estimation methods required by different network application types are described below. Specifically, within a certain period of time (a few minutes or a few hours), the router can identify the type of the network resource requested by the user through the uniform resource locator, and perform traffic statistics, bandwidth=traffic/time. For example, in the past 5 minutes, the video usage traffic obtained by statistics is 150M, and the video occupied resource is 150M/300s=500KB/s=4Mbps bandwidth. Similarly, if the picture resource 6M is loaded in total in the past 5 minutes, the bandwidth requirement of the picture class resource is 6M/300s=20KB/s=160Kbps. Automatically learn the average bandwidth required for different types of resources (games, videos, downloads, pictures, music, text) based on router monitoring. Due to the diversity of resources on the network, this bandwidth requirement is not static. Thus, the learning results can be calculated and updated in a certain period. Determine the type of web application below Required bandwidth:
1、文本类应用:需要的带宽一般为20Kbps左右。1, text application: the required bandwidth is generally around 20Kbps.
2、图片类应用:需要带宽一般为150-800Kbps。2, picture application: the required bandwidth is generally 150-800Kbps.
3、在线音乐类应用:需要带宽一般为80Kbps-128Kbps。3, online music applications: the required bandwidth is generally 80Kbps-128Kbps.
4、在线视频类应用:一般是指在线观看电影,按照播放方式分,在线电影有基于P2P的点播方式,以及流媒体点播方式,P2P在线电影所需要的带宽为60Kbps,用户越多,对带宽的需要也越低;流媒体在线电影则至少需要230Kbps以上的带宽才能保障电影的流畅播放,画面越清晰,所需要的带宽也越大。如果高清电影,甚至可以占用1Mbps-2Mbps。4, online video applications: generally refers to watching movies online, according to the playback mode, online movies have P2P-based on-demand mode, and streaming media on-demand mode, the bandwidth required for P2P online movies is 60Kbps, the more users, the bandwidth The lower the need is; the streaming media online movie needs at least 230Kbps of bandwidth to ensure the smooth playback of the movie, the clearer the picture, the greater the bandwidth required. If HD movies, it can even take up 1Mbps-2Mbps.
5、游戏类应用:网络游戏对于带宽的要求不高,50Kbps的带宽完全可以保障一款网络游戏的流畅运行。不过,一些3D游戏对于带宽的要求相对高一些,一般在80Kbps左右。因此,游戏所需带宽一般为50-80Kbps。5, game applications: online games for bandwidth requirements are not high, 50Kbps bandwidth can fully guarantee the smooth operation of an online game. However, some 3D games have relatively higher bandwidth requirements, generally around 80Kbps. Therefore, the bandwidth required for the game is generally 50-80Kbps.
6、下载类应用:P2P下载所需要的带宽由用户的实际带宽所决定,而且需要占用宽带用户的上行和下行带宽,一旦使用了P2P下载软件,用户80%甚至90%以上的带宽将被占用。6. Download application: The bandwidth required for P2P download is determined by the actual bandwidth of the user, and it needs to occupy the uplink and downlink bandwidth of the broadband user. Once the P2P download software is used, 80% or even more than 90% of the bandwidth of the user will be occupied. .
综上,按照所需带宽从大到小依次为:下载类应用、在线视频类、图片类应用、在线音乐类应用、游戏类应用、文本类应用。In summary, according to the required bandwidth from large to small: download applications, online video, image applications, online music applications, game applications, text applications.
根据无线设备的使用频率,和/或优先等级,和/或网络应用类型生成分配序列表,这样就能够使得根据各个因素来进行带宽分配,为各个设备分配带宽时考虑多种因素,很好地利用网络带宽资源,因为是根据无线设备的使用频率、优先等级和网络应用类型来为无线设备分配带宽,说明是具有针对性的为每个无线设备分配带宽,而不是平均分配带宽,因为是实时监测各无线设备的各个因素,因而对其带宽策略的调整也是实时的。本发明实施例中,建立连接后,无线设备端将会解析出当前的上网状况,并将该状况发送给集中控制器,集中控制器接收到该信息后,将会根据无线设备的上网状况将不同的无线设备归类到当前带宽需求表和当前带宽剩余表。然后集中控制器将会决定哪些路由器成为网络带宽提供方,哪些为网络带宽接收方,等这些都确定以后,将会正式开启与各个无线设备间建立的网络带宽通道。例如,无线设备甲的预先缴纳的固定带宽量为4M,当前无线设备甲的网络应用类型其一是高清视频,另外的网络应用类型还有下载软件,高清视频对带宽要求高至少需要1Mbps-2Mbps带宽,下载软件会占据80%甚至90%以上的带宽,然而4M带宽的网络下载速度大概只有4M*1024/8=512Kbps,此时无线设备甲观看高清视频是处于卡顿的状态的,因此无线设备甲需要从集中控制器“借”带宽供其流畅的观看视频以及下载软件,那么无线设备甲的路由器发送验证请求至集中控制器,并且通过验证后,集中控制器实时监测发现无线设备乙此时并没有使用带宽上网,并且,无线设备乙的带宽是4M,那么剩余的带宽量为4M,网络下载速度大概只有4M*1024/8=512,即最大每秒下载512Kbps,那么集中控制器判断发现当前无线设备乙的带宽提供量是远远不够的,那么集中控制器根据分配序列表发现无线设备丙的固定带宽是10M,并且用户丙当前只是在通过网络传输文字时,比如收发邮件,聊天等,此时无线设备的网络应用类型为文字类应用,那么此时的用户丙的网络下载速度大约为10M*1024/8-20Kbps=1260Kbps左右,即大约为1Mbps,那么集中控制器控制无线设备乙和无线设备丙共同提供带宽给无线设备甲,同时集中控制器实时计算统计无线设备甲的使用流量,这样无线设备甲能够流畅地观看视频和快速的下载软件,无线设备乙能够在不需要使用流量时,节约流量费用,无线设备丙能够在使用少量流量时,提供多余不使用的流量给无线设备甲,节约流量费用。本发明只要无线设备的当前带宽不够使用时,可以通过集中控制器只选择一个带宽剩余量很高的无线设备来提供需求带宽,如果集中控制器检测发现没有一个无线设备能够提供当前无线设备的带宽需求,那么可以通过集中控制器选择多个无线设备进行拼凑,使得带宽剩余量的总和大于等于当前无线设备的带宽需求量,各个具有剩余带宽的无线设备将自己剩余的带宽提供给当前无线设备,使得连接当前无线设备的上网终端能够流畅上网,体改用户的使用体验。如此一来,集中控制器便做到了合理安排宽带资源的作用:原本没有互联网的无线路由设备能够连接互联网了,原本互联网资源很差的无线路由设备也得到了改善,而那些空闲没有利用到的来自部分无线路由设备的宽带资源也得到了利用。这里,集 中控制器可以与服务器连接,通过用户的高带宽需求,关闭用户的无线设备,当网络处于空闲状态时提供多余流量给其余用户的业务。通过用户的经济需求,可以选择性价比高的开启当网络处于空闲状态时提供多余流量给其余用户的业务,这样,集中控制器可以根据无线设备的使用频率,和/或优先等级(根据用户需求进行设置或者根据用户等级进行设置),和/或网络应用类型,个性化的进行实施分配。The allocation sequence table is generated according to the frequency of use of the wireless device, and/or the priority level, and/or the network application type, so that the bandwidth allocation can be performed according to various factors, and various factors are considered when allocating bandwidth for each device, which is good The use of network bandwidth resources, because the wireless device allocates bandwidth according to the frequency of use, priority level and network application type of the wireless device, indicating that the bandwidth is allocated for each wireless device in a targeted manner, instead of the average allocated bandwidth, because it is real-time. The various factors of each wireless device are monitored, and thus the adjustment of its bandwidth policy is also real-time. In the embodiment of the present invention, after the connection is established, the wireless device end parses the current Internet access status, and sends the status to the centralized controller. After receiving the information, the centralized controller will according to the wireless device's Internet access status. Different wireless devices are categorized into the current bandwidth requirement table and the current bandwidth remaining table. Then the centralized controller will decide which routers become the network bandwidth provider and which are the network bandwidth receivers. When these are determined, the network bandwidth channel established with each wireless device will be officially opened. For example, the pre-paid fixed bandwidth of the wireless device A is 4M. The current wireless device A network application type is high-definition video, and another network application type has download software. The high-definition video requires at least 1Mbps-2Mbps for bandwidth requirements. Bandwidth, the download software will occupy 80% or even more than 90% of the bandwidth, but the network download speed of 4M bandwidth is only 4M*1024/8=512Kbps. At this time, the wireless device A is watching the HD video, so it is wireless. Device A needs to "borrow" the bandwidth from the centralized controller for its smooth viewing of the video and download the software, then the router of the wireless device A sends the verification request to the centralized controller, and after verification, the centralized controller detects the wireless device in real time. When the bandwidth of the wireless device B is 4M, the remaining bandwidth is 4M, and the network download speed is only 4M*1024/8=512, that is, the maximum download is 512Kbps per second, then the centralized controller judges It is found that the bandwidth supply of the current wireless device B is not enough, then the centralized controller is allocated according to the allocation. The sequence table finds that the fixed bandwidth of the wireless device C is 10M, and the user C is currently only transmitting text through the network, such as sending and receiving emails, chatting, etc., at this time, the network application type of the wireless device is a text application, then the user C at this time The network download speed is about 10M*1024/8-20Kbps=1260Kbps, which is about 1Mbps, then the centralized controller controls the wireless device B and the wireless device C to provide bandwidth to the wireless device A, and the centralized controller calculates the statistical wireless in real time. The traffic of device A is such that the wireless device can smoothly watch the video and download the software quickly. The wireless device B can save the traffic cost when the traffic is not needed, and the wireless device can provide unnecessary use when using a small amount of traffic. The traffic to the wireless device A saves traffic costs. As long as the current bandwidth of the wireless device is not enough, the centralized controller can select only one wireless device with a high bandwidth remaining to provide the required bandwidth. If the centralized controller detects that no wireless device can provide the bandwidth of the current wireless device. The demand can be matched by selecting a plurality of wireless devices by the centralized controller, so that the sum of the remaining bandwidths is greater than or equal to the bandwidth requirement of the current wireless device, and each wireless device having the remaining bandwidth provides the remaining bandwidth to the current wireless device. The Internet terminal connected to the current wireless device can smoothly access the Internet and change the user experience. In this way, the centralized controller can do a reasonable arrangement of broadband resources: wireless routing devices without Internet can connect to the Internet, and wireless routing devices with poor Internet resources have also been improved, and those that are not used by the idle. Broadband resources from some wireless routing devices are also being utilized. Here, set The middle controller can be connected to the server to shut down the user's wireless device through the user's high bandwidth requirement, and provide excess traffic to the rest of the user when the network is idle. Through the user's economic needs, it is possible to select a cost-effective switch to provide excess traffic to the rest of the user when the network is idle, so that the centralized controller can be based on the frequency of use of the wireless device, and/or priority level (according to user requirements) Set or set according to user level), and / or network application type, personalized implementation distribution.
具体实施时,根据网络应用类型所需带宽的不同,我们为其预设分配等级,具体为:文本类应用的等级最高,设定为第一等级,游戏类应用为第二等级,在线音乐类应用为第三个等级,图片类应用为第四等级,在线视频类应用为第五个等级,下载类应用为第六等级。在为各无线设备分配带宽时,除了根据不同网络应用类型所需要的带宽范围,还需要不同网络应用类型对应的等级进行分配,例如,只使用第一等级的无线设备提供带宽给只使用第六等级的无线设备,只使用第二等级的无线设备提供带宽给只使用第五等级的无线设备,只使用第三等级的无线设备提供带宽给只使用第四等级的无线设备,这种情况是及其少的,还是需要集中控制器经过一定的算法策略,来分配不同无线设备的带宽通道,该通道是双向通道,无线设备可能是带宽服务接收方,也可能是带宽服务供应方。在使用过程中,各无线设备的网络应用类型是实时监测的,当监测到无线设备的网络应用类型发生变化时,需要相应的调整其带宽管理策略。综上,本发明方法中带宽分配策略考虑了实际设备的应用场景,可以更智能化的分配带宽,保证用户体验。基于路由器的流量统计功能,实现简单,节约带宽需求少用户的流量费用。In the specific implementation, according to the different bandwidth required by the network application type, we assign a level to its preset, specifically: the text class application has the highest level, the first level is set, the game application is the second level, and the online music class The application is in the third level, the picture class application is the fourth level, the online video class application is the fifth level, and the download class application is the sixth level. When allocating bandwidth for each wireless device, in addition to the bandwidth range required according to different network application types, the level corresponding to different network application types needs to be allocated, for example, only the first level wireless device is used to provide bandwidth to only use the sixth. Level wireless devices that use only the second level of wireless devices to provide bandwidth to only use the fifth level of wireless devices, and only use the third level of wireless devices to provide bandwidth to only use the fourth level of wireless devices. In addition, it is necessary to centralize the controller through a certain algorithm strategy to allocate bandwidth channels of different wireless devices. The channel is a bidirectional channel, and the wireless device may be a bandwidth service receiver or a bandwidth service provider. During the use process, the network application type of each wireless device is monitored in real time. When the type of the network application of the wireless device is changed, the bandwidth management policy needs to be adjusted accordingly. In summary, the bandwidth allocation strategy in the method of the present invention considers the application scenario of the actual device, and can allocate bandwidth more intelligently to ensure user experience. Based on the router's traffic statistics function, it is simple to implement, and saves bandwidth and requires less user traffic.
参照图6所示,本发明提供一种无线设备的控制系统的一个实施例,包括:Referring to FIG. 6, the present invention provides an embodiment of a control system for a wireless device, including:
集中控制器100、无线设备200;所述集中控制器100与所述无线设备200通信连接; Centralized controller 100, wireless device 200; the centralized controller 100 is communicatively coupled to the wireless device 200;
所述集中控制器100,判断连接的无线设备200是否达到预设连接分配阈值;The centralized controller 100 determines whether the connected wireless device 200 reaches a preset connection allocation threshold;
所述集中控制器100,当连接的无线设备200达到预设连接分配阈值时,分析连接的所述无线设备200当前工作状态,得到所有连接的所述无线设备200的当前带宽状况,并发送带宽共享指令至所有连接的所述无线设备200;The centralized controller 100 analyzes the current working state of the connected wireless device 200 when the connected wireless device 200 reaches the preset connection allocation threshold, obtains the current bandwidth status of all connected wireless devices 200, and transmits the bandwidth. Sharing instructions to all connected wireless devices 200;
所述集中控制器100,当连接的无线设备200未达到预设连接分配阈值时,保持与所述无线设备200的当前网络连接状态。The centralized controller 100 maintains a current network connection state with the wireless device 200 when the connected wireless device 200 does not reach the preset connection allocation threshold.
本发明实施例中,通过集中控制器100判断采集连接到一定数量的无线设备200后,分析出不同无线设备200的状态(空闲或忙碌),再经过一定的算法策略,来分配不同无线设备200的带宽通道,该通道是双向通道,无线设备200可能是带宽服务接收方,也可能是带宽服务供应方。如此,集中控制器100便能够合理的安排空闲的宽带资源:原本没有互联网的无线路由设备能够连接互联网了,原本互联网资源很差的无线路由设备也得到了改善,而那些空闲没有利用到的来自部分无线路由设备的宽带资源也得到了利用,避免了大量网络资源的浪费,能够根据用户真实使用的网络带宽量来计算网络流量费用,节约了一些带宽需求量小的用户的费用,增加了带宽需求量大的用户的上网体验。In the embodiment of the present invention, after the centralized controller 100 determines that the collection is connected to a certain number of wireless devices 200, analyzes the state of the different wireless devices 200 (idle or busy), and then allocates different wireless devices 200 through a certain algorithm strategy. The bandwidth channel, which is a bidirectional channel, the wireless device 200 may be a bandwidth service receiver or a bandwidth service provider. In this way, the centralized controller 100 can reasonably arrange idle broadband resources: the wireless routing device without the Internet can connect to the Internet, and the wireless routing device with poor Internet resources is also improved, and those that are not utilized by the idle are also obtained. The broadband resources of some wireless routing devices are also utilized, which avoids the waste of a large amount of network resources, can calculate the network traffic cost according to the amount of network bandwidth actually used by the user, saves the cost of some users with small bandwidth requirements, and increases the bandwidth. The online experience of users with large demand.
参照图7所示,本发明提供一种无线设备的控制系统的另一个实施例,包括:Referring to FIG. 7, the present invention provides another embodiment of a control system for a wireless device, including:
所述集中控制器100包括:获取模块110、判断模块120、输出模块130、分析模块140、分配模块150;所述获取模块110与所述判断模块120通信连接;所述判断模块120与所述输出模块130通信连接;所述输出模块130与所述分析模块140通信连接;所述分析模块140与所述分配模块150通信连接;The centralized controller 100 includes: an obtaining module 110, a determining module 120, an output module 130, an analyzing module 140, and an allocating module 150; the obtaining module 110 is communicably connected with the determining module 120; The output module 130 is communicatively coupled; the output module 130 is communicatively coupled to the analysis module 140; the analysis module 140 is communicatively coupled to the distribution module 150;
所述获取模块110,接收所述无线设备200发送的自身当前网络状况信息,根据所述无线设备200的当前网络状况信息,得到所述无线设备200的带宽大小等级;The obtaining module 110 receives the current network status information sent by the wireless device 200, and obtains a bandwidth level of the wireless device 200 according to the current network status information of the wireless device 200.
所述判断模块120,判断所述当前无线设备200的工作网络速率是否达到自身带宽大小等级对应的预设网络速率;The determining module 120 determines whether the working network rate of the current wireless device 200 reaches a preset network rate corresponding to its own bandwidth size level;
所述输出模块130,当所述当前无线设备200的工作网络速率达到自身带宽大小等级对应的预设网络速率时,输出所述当前无线设备200当前工作状态为忙碌状态;The output module 130 outputs the current working state of the current wireless device 200 to a busy state when the working network rate of the current wireless device 200 reaches a preset network rate corresponding to the bandwidth level of the current wireless device;
所述输出模块130,当所述当前无线设备200的工作网络速率达到自身带宽大小等级对应的预设网络速率时,输出所述当前无线设备200当前工作状态为空闲状态; The output module 130 outputs the current working state of the current wireless device 200 to an idle state when the working network rate of the current wireless device 200 reaches a preset network rate corresponding to the bandwidth level of the current wireless device;
所述分析模块140,分析所有忙碌状态的无线设备200的当前带宽需求量,并分析所有空闲状态的无线设备200的当前带宽剩余量,生成当前带宽需求表和当前带宽剩余表;The analyzing module 140 analyzes the current bandwidth requirement of the wireless device 200 in all busy states, and analyzes the current bandwidth remaining amount of the wireless device 200 in all idle states, and generates a current bandwidth demand table and a current bandwidth remaining table;
所述分配模块150,根据所述当前带宽需求表和所述当前带宽剩余表进行查询运算分配,发送分配带宽共享指令至所有连接的所述无线设备200;The allocation module 150 performs a query operation allocation according to the current bandwidth requirement table and the current bandwidth remaining table, and sends a bandwidth sharing instruction to all connected wireless devices 200;
所述分配模块150包括:生成列表子模块151、查询分配子模块152和发送指令子模块153;所述生成列表子模块151与所述查询分配子模块152通信连接;所述查询分配子模块152与所述发送指令子模块153通信连接;The distribution module 150 includes: a generation list sub-module 151, a query distribution sub-module 152, and a transmission instruction sub-module 153; the generation list sub-module 151 is communicatively coupled to the query distribution sub-module 152; the query distribution sub-module 152 Communicating with the sending instruction sub-module 153;
所述生成列表子模块151,根据所述无线设备200的使用频率和/或优先等级和/或网络应用类型生成分配序列表;The generating list sub-module 151 generates an allocation sequence table according to the frequency of use and/or priority level of the wireless device 200 and/or a network application type;
所述查询分配子模块152,根据所述当前带宽需求表和所述当前带宽剩余表按照所述分配序列表的排列顺序进行查询运算分配,得到当前分配带宽共享指令;The query allocation sub-module 152 performs query operation allocation according to the current bandwidth requirement table and the current bandwidth remaining table according to the arrangement order of the allocation sequence table, to obtain a current allocated bandwidth sharing instruction;
发送指令子模块153,按照所述分配序列表的排列顺序,在预设时长内发送所述分配带宽共享指令至所有连接的所述无线设备200。The sending instruction sub-module 153 sends the allocated bandwidth sharing command to all connected wireless devices 200 within a preset duration according to the order of the allocation sequence table.
本实施例中,建立连接后,无线设备200端将会解析出当前的上网状况,并将该状况发送给集中控制器100,集中控制器100接收到该信息后,将会根据无线设备200的上网状况将不同的无线设备200归类到当前带宽需求表和当前带宽剩余表。其中,例如10M带宽路由器的网络下载速度大约达到1.25M/s时,该路由器的当前上网状况为忙碌状态,然后集中控制器100将会决定哪些路由器成为网络带宽提供方,哪些为网络带宽接收方,等这些都确定以后,将会正式开启与各个无线设备200间建立的网络带宽通道。根据网络应用类型、使用频率和优先等级进行分配,对进入的应用业务的数据包进行分流,统计网络应用类型、使用频率以及优先等级,使各应用业务的数据包得到相应的带宽,如此,无线设备200就可以根据用户使用应用业务的频度来分配带宽,使带宽分配更加智能、个性化,具有针对性的为每个无线设备200分配带宽,而不是平均分配带宽,因为是实时监测各无线设备200的各个因素,因而对其带宽策略的调整也是实时的。如此一来,集中控制器100便做到了合理安排宽带资源的作用:原本没有互联网的无线路由设备能够连接互联网了,原本互联网资源很差的无线路由设备也得到了改善,而那些空闲没有利用到的来自部分无线路由设备的宽带资源也得到了利用。这样充分利用了网络资源,大大提高了用户使用各种应用业务上网的流畅度,能够充分地满足用户的上网需求,同时减少了设备的操作复杂度和用户参与度。In this embodiment, after the connection is established, the wireless device 200 will parse the current Internet access status, and send the status to the centralized controller 100. After receiving the information, the centralized controller 100 will be based on the wireless device 200. The Internet condition classifies different wireless devices 200 into a current bandwidth demand table and a current bandwidth remaining table. Wherein, for example, when the network download speed of the 10M bandwidth router reaches approximately 1.25 M/s, the current Internet access status of the router is busy, and then the centralized controller 100 determines which routers become network bandwidth providers and which are network bandwidth receivers. After these are determined, the network bandwidth channel established with each wireless device 200 will be officially opened. According to the network application type, the frequency of use, and the priority level, the data packets of the incoming application service are offloaded, and the network application type, the frequency of use, and the priority level are counted, so that the data packets of each application service get the corresponding bandwidth, so that the wireless The device 200 can allocate bandwidth according to the frequency of the user's application service, make the bandwidth allocation more intelligent and personalized, and allocate bandwidth to each wireless device 200 in a targeted manner instead of distributing the bandwidth evenly, because the wireless is monitored in real time. The various factors of device 200, and thus the adjustment of its bandwidth policy, are also real-time. In this way, the centralized controller 100 can properly arrange the broadband resources: the wireless routing device without the Internet can connect to the Internet, and the wireless routing device with poor Internet resources is also improved, and those idle are not utilized. Broadband resources from some wireless routing devices have also been utilized. This fully utilizes the network resources, greatly improves the fluency of users accessing various application services, can fully meet the user's Internet access requirements, and reduces the operational complexity and user participation of the device.
通过参考多个因素进行带宽分配,能很好地利用网络带宽资源;具有针对性的为每个设备分配带宽;实现简单,在一个综合了各种应用场景的环境下,在网络状况良好时,可以满足所有无线设备200的带宽请求。但在网络状况不佳的情况下,比如当发生网络拥塞和延时,如果平均分配带宽显然不能提供很好的用户体验,此时就需要启用网络带宽限制策略,即采用本发明方法进行带宽分配。根据监测到的各无线设备200的网络应用类型、使用频率和优先等级,为各无线设备200分配带宽。By referring to multiple factors for bandwidth allocation, the network bandwidth resources can be well utilized; the bandwidth is allocated for each device in a targeted manner; the implementation is simple, and in an environment where various application scenarios are integrated, when the network is in good condition, Bandwidth requests for all wireless devices 200 can be met. However, in the case of poor network conditions, such as when network congestion and delay occur, if the average allocated bandwidth obviously does not provide a good user experience, then the network bandwidth limiting policy needs to be enabled, that is, the bandwidth allocation is performed by the method of the present invention. . Each wireless device 200 is allocated bandwidth according to the monitored network application type, usage frequency, and priority level of each wireless device 200.
实际当中还存在另外一种情形,如果家庭网络带宽根本不能满足这么多人同时使用该怎么处理?此种情况的处理策略为:根据网络应用类型和使用频率以及优先级,为各无线设备200分配带宽,具体的,根据优先级别高和/或使用频率高和/或网络应用类型带宽需求量小的用户的无线设备200生成分配序列表,集中控制器100通过生成分配序列表分配“空闲”带宽,直至网络拥塞解决。In fact, there is another situation. If the home network bandwidth cannot meet the needs of so many people at the same time, what should I do? The processing strategy of this case is: allocating bandwidth to each wireless device 200 according to the network application type and frequency of use and priority, specifically, according to the high priority level and/or the high frequency of use and/or the bandwidth requirement of the network application type. The user's wireless device 200 generates an allocation sequence table, and the centralized controller 100 allocates "idle" bandwidth by generating an allocation sequence table until network congestion is resolved.
下面通过具体的实施例对本发明方法进行说明:家庭场景当中,有一部台式电脑、一台笔记本、一个iPad,一个手机,同时使用这些设备进行常见的网络服务。假定在台式机上在玩网络游戏,在笔记本上进行下载,在iPad播放视频,在一个手机上京东购物。在网络带宽充裕的条件下,各个设备都可以流畅使用。但通常应用场景下,下载就可以耗尽带宽资源,再加上视频类应用的使用,带宽往往是不够的。这种情况下,需要无线设备200的带宽进行调整。这里,无线设备200通过集中控制器100向其它处于空闲状态的无线设备200“借”。路由器识别出上述设备上的网络应用类型后,依据流量特征和网络应用类型的对应关系,限定不同设备的带宽。 假设甲家庭无线设备200和乙无线设备200的优先级别和使用频率是一致的,其中,甲家庭无线设备200的带宽为50M,甲家庭使用场景中,台式机在玩网络游戏,只分配80Kbps的网络下载速度,保证游戏的稳定性。给iPad分配2Mbps网络下载速度,保证视频的流畅性。手机和笔记本不进行上述网络服务。乙家庭无线设备200的带宽为4M,乙家庭使用场景中,笔记本进行下载任务,会占用80%甚至90%以上的带宽,然而4M带宽的网络下载速度大概只有4M*1024/8=512,即最大每秒下载512Kbps,笔记本下载会占用409.6-460.8的网络下载速度,只剩余51.2-102.4的网络下载速度,这样不足以分配给手机上京东购物分配800Kbps的网络下载速度,来满足浏览购物网站的需求。假设在5分钟后,甲家庭网络服务保持不变,乙家庭笔记本下载任务结束,那么将其带宽回收给手机进行上京东购物使用。假设在5分钟后,乙家庭网络服务保持不变,甲家庭iPad停止播放视频,甲家庭剩余带宽为50*1024-2*1024=48M,那么乙家庭通过集中控制器100向甲家庭“借”带宽以供给手机上京东购物,保障上网的流畅性。其中,无线设备200实时发送上网状况至集中控制器100,集中控制器100根据监测各个无线设备200的资源请求类型,尽可能实时更新带宽分配。The method of the present invention will be described below by way of a specific embodiment: in the home scene, there is a desktop computer, a notebook, an iPad, a mobile phone, and these devices are used for common network services. Assume that you are playing online games on your desktop, downloading on your laptop, playing videos on your iPad, and shopping on a cell phone. Under the condition that the network bandwidth is sufficient, each device can be used smoothly. However, in an application scenario, downloading can exhaust bandwidth resources, and with the use of video applications, bandwidth is often insufficient. In this case, the bandwidth of the wireless device 200 is required to be adjusted. Here, the wireless device 200 "borrows" through the centralized controller 100 to other wireless devices 200 in an idle state. After the router identifies the network application type on the device, the bandwidth of the different devices is limited according to the correspondence between the traffic characteristics and the network application type. It is assumed that the priority level and the usage frequency of the home wireless device 200 and the wireless device 200 are the same. The bandwidth of the home wireless device 200 is 50M. In the home use scenario, the desktop is playing online games, and only 80 Kbps is allocated. Network download speed to ensure the stability of the game. Assign 2Mbps network download speed to the iPad to ensure the smoothness of the video. Mobile phones and laptops do not perform the above network services. The bandwidth of the B-home wireless device 200 is 4M. In the B-home usage scenario, the notebook performs the download task, which occupies 80% or more of the bandwidth. However, the network download speed of the 4M bandwidth is only 4M*1024/8=512, that is, Maximum downloads of 512Kbps per second, notebook downloads will take up 409.6-460.8 network download speed, only 51.2-102.4 network download speed remaining, so it is not enough to allocate 800Kbps network download speed to Jingdong Shopping on mobile phones to meet the browsing website. demand. Assume that after 5 minutes, the home network service remains unchanged, and the B home notebook download task ends, then the bandwidth is recycled to the mobile phone for use in the Jingdong shopping. Assume that after 5 minutes, the B home network service remains unchanged, the A family iPad stops playing the video, and the remaining bandwidth of the family A is 50*1024-2*1024=48M, then the B family "borrows" to the family A through the centralized controller 100. Bandwidth to supply mobile phones to Jingdong shopping, to ensure the smoothness of the Internet. The wireless device 200 sends the Internet access status to the centralized controller 100 in real time, and the centralized controller 100 updates the bandwidth allocation in real time as much as possible according to the resource request type of each wireless device 200.
综上所述,通过本发明方法和装置可以取得以下有益效果:在为各个设备分配带宽时考虑多种因素,可以很好地利用网络带宽资源;因为是根据无线设备200的使用频率、优先等级和网络应用类型来为无线设备200分配带宽,说明是具有针对性的为每个无线设备200分配带宽,而不是平均分配带宽,因为是实时监测各无线设备200的各个因素,因而对其带宽策略的调整也是实时的。也可以根据分配序列表将带宽包按照类别进行分流,即将优先等级相对高的无线设备200和优先等级相对低的无线设备200分开,使其各自能得到所分配的相应带宽,本发明实施例中,集中控制器100建立数据库,统计使用频率、优先等级和网络应用类型,对进行分类统计,基于分类的类别对各应用业务进行带宽分配充分利用了网络资源,是对网络服务质量的一大改进。In summary, the following beneficial effects can be obtained by the method and apparatus of the present invention: a plurality of factors are considered when allocating bandwidth for each device, and network bandwidth resources can be utilized well; because it is based on the frequency of use and priority of the wireless device 200. And the network application type to allocate bandwidth to the wireless device 200, indicating that the bandwidth is allocated for each wireless device 200 in a targeted manner instead of the average allocated bandwidth, because the various factors of each wireless device 200 are monitored in real time, and thus the bandwidth policy is applied thereto. The adjustments are also real-time. The bandwidth packet may be offloaded according to the category according to the allocation sequence table, that is, the wireless device 200 with a relatively high priority level and the wireless device 200 with a relatively low priority are separated, so that each of the allocated bandwidths can be obtained, in the embodiment of the present invention. The centralized controller 100 establishes a database, counts the frequency of use, the priority level, and the network application type, performs classification and statistics, and performs bandwidth allocation on each application service based on the classified category to fully utilize the network resources, which is a major improvement on the network service quality. .
参照图8所示,相对于上一实施例,相同的部分不再赘述。本发明提供一种无线设备的控制系统的另一个实施例,所述无线设备200包括搜索模块210和连接模块220;所述集中控制器100还包括验证模块180和控制模块190;所述搜索模块210与所述连接模块220通信连接;所述验证模块180与所述连接模块220通信连接;所述验证模块180还与所述获取模块110通信连接;所述控制模块190与所述验证模块180通信连接;所述集中控制器100还包括:监测模块180和更新模块170;所述监测模块180与所述获取模块110通信连接;所述更新模块170与所述监测模块180通信连接;Referring to FIG. 8, the same portions will not be described again with respect to the previous embodiment. The present invention provides another embodiment of a control system for a wireless device, the wireless device 200 including a search module 210 and a connection module 220; the centralized controller 100 further includes a verification module 180 and a control module 190; the search module The connection module 220 is communicatively coupled to the connection module 220; the verification module 180 is communicatively coupled to the connection module 220; the verification module 180 is also communicatively coupled to the acquisition module 110; the control module 190 and the verification module 180 The communication controller 100 further includes: a monitoring module 180 and an update module 170; the monitoring module 180 is communicatively coupled to the acquisition module 110; the update module 170 is communicatively coupled to the monitoring module 180;
所述搜索模块210,上电后,搜索所述集中控制器100发出的无线信号,判断是否搜索到所述集中控制器100发出的无线信号;The search module 210 searches for a wireless signal sent by the centralized controller 100 after power-on, and determines whether the wireless signal sent by the centralized controller 100 is searched for;
所述连接模块220,当搜索到所述集中控制器100发出的无线信号时,自动发送上网连接请求至所述集中控制器100;The connection module 220, when searching for the wireless signal sent by the centralized controller 100, automatically sends an Internet connection request to the centralized controller 100;
所述搜索模块210,当搜索不到所述集中控制器100发出的无线信号时,继续搜索所述集中控制器100发出的无线信号;The search module 210 continues to search for the wireless signal sent by the centralized controller 100 when the wireless signal sent by the centralized controller 100 is not found;
所述验证模块180,判断所述无线设备200是否是进行第一次验证;The verification module 180 determines whether the wireless device 200 performs the first verification;
所述验证模块180,还当所述无线设备200是进行第一次验证时,进一步判断发送上网连接请求的所述无线设备200是否通过验证;The verification module 180 further determines, when the wireless device 200 performs the first verification, whether the wireless device 200 that sends the Internet connection request passes the verification;
所述控制模块190,当所述无线设备200是进行第一次验证时,且发送上网连接请求的所述无线设备200通过验证时,与所述无线设备200建立网络通信连接;The control module 190, when the wireless device 200 performs the first verification, and the wireless device 200 that sends the Internet connection request passes the verification, establishes a network communication connection with the wireless device 200;
所述控制模块190,当所述无线设备200是进行第一次验证时,但发送上网连接请求的所述无线设备200未通过验证时,与所述无线设备200不建立网络通信连接;The control module 190, when the wireless device 200 performs the first verification, but the wireless device 200 that sends the Internet connection request fails to pass the verification, does not establish a network communication connection with the wireless device 200;
所述控制模块190,还当所述无线设备200不是进行第一次验证时,所述集中控制器100与所述无线设备200建立网络通信连接;The control module 190 further establishes a network communication connection with the wireless device 200 when the wireless device 200 is not performing the first verification;
所述监测模块180,监测是否有新认证连接的无线设备200,和/或,已经通过验证连接所述集中控制器100的所述无线设备200的带宽需求量是否产生变化;The monitoring module 180 monitors whether there is a newly authenticated connected wireless device 200, and/or whether a bandwidth requirement has been changed by verifying that the wireless device 200 connected to the centralized controller 100 has a bandwidth requirement;
所述更新模块170,当没有有新认证连接的无线设备200,并且,已经通过验证连接所述集 中控制器100的所述无线设备200的带宽需求量未产生变化,不更新所有连接的所述无线设备200的所述当前带宽状况;The update module 170, when there is no wireless device 200 with a newly authenticated connection, and has connected the set by verification The bandwidth requirement of the wireless device 200 of the medium controller 100 does not change, and the current bandwidth status of all connected wireless devices 200 is not updated;
所述更新模块170,当有新认证连接的无线设备200,和/或,已经通过验证连接所述集中控制器100的所述无线设备200的带宽需求量产生变化,更新所有连接的所述无线设备200的所述当前带宽状况,重新发送带宽共享指令至所有连接的所述无线设备200。The update module 170 updates all connected wireless devices when there is a newly authenticated connected wireless device 200, and/or has changed by verifying the bandwidth requirement of the wireless device 200 connected to the centralized controller 100. The current bandwidth condition of device 200 resends the bandwidth sharing command to all connected wireless devices 200.
本实施例中,当无线设备200连上电源时,如果这个无线设备200是拥有并支持集中控制器100的,将会对集中控制器100发出的无线信号发出连接请求。当集中控制器100接收到这个信号时,将会解析该请求中包含的验证授权信息,一旦通过验证,便会与该无线设备200产生一个长连接。如果这个无线设备200是已经认证通过后的无线设备200,那么当其与集中控制器100断开连接后,其可以不需要再一次进行验证。一旦集中控制器100监测到有新认证连接的无线设备200,和/或,已经通过验证连接所述集中控制器100的所述无线设备200的带宽需求量产生变化的时候,集中控制器100就会更新所有连接的所述无线设备200的当前带宽剩余量,重新发送带宽共享指令至所有连接的所述无线设备200,这样就能够实时的根据无线设备200的各个因素实时地调整带宽策略。因为是实时监测各无线设备200的各个因素,因而对其带宽策略的调整也是实时的。In this embodiment, when the wireless device 200 is connected to the power source, if the wireless device 200 owns and supports the centralized controller 100, a connection request is issued to the wireless signal sent by the centralized controller 100. When the centralized controller 100 receives this signal, it will parse the authentication authorization information contained in the request, and once authenticated, it will generate a long connection with the wireless device 200. If the wireless device 200 is the wireless device 200 that has been authenticated, then after it is disconnected from the centralized controller 100, it may not need to verify again. Once the centralized controller 100 detects the wireless device 200 with the newly authenticated connection, and/or has changed by verifying the bandwidth requirement of the wireless device 200 connecting the centralized controller 100, the centralized controller 100 The current bandwidth remaining amount of all connected wireless devices 200 is updated, and the bandwidth sharing command is resent to all connected wireless devices 200, so that the bandwidth policy can be adjusted in real time according to various factors of the wireless device 200. Since the various factors of each wireless device 200 are monitored in real time, the adjustment of its bandwidth policy is also real-time.
本发明提供一种无线设备的控制系统的一个实例,参照图9所示,是该实例的流程图,图10是该实例的结构图。流程如下:The present invention provides an example of a control system for a wireless device. Referring to FIG. 9, it is a flowchart of the example, and FIG. 10 is a structural diagram of the example. The process is as follows:
S1、路由器等无线设备被连上电源,然后开始搜索网络集中控制器发出的特有的无线信号,如果搜索到,便自动发起连接;The wireless device such as S1 and router is connected to the power supply, and then starts to search for the unique wireless signal sent by the network centralized controller, and if it is found, the connection is automatically initiated;
S2、网络集中控制器接收到连接请求后,会验证请求中带有的验证信息,一旦验证通过,将会与该无线设备建立连接;S2. After receiving the connection request, the network centralized controller verifies the verification information carried in the request, and once the verification is passed, a connection is established with the wireless device;
S3、建立连接后,无线设备将自己当前的网络状况信息发送给网络集中控制器,有些无线设备无法上网,有些网络处于空闲,有些网络处于忙碌当中,网路网络集中控制器一一为它们贴上等级标签;S3. After the connection is established, the wireless device sends its current network status information to the network centralized controller. Some wireless devices cannot access the Internet, some networks are idle, some networks are busy, and the network network centralized controllers affix them one by one. Upper level label;
S4、网路网络集中控制器针对这些等级标签,来确定哪些无线设备是网络带宽提供方,哪些无线设备是网络带宽接收方,然后进一步确定提供或接收的带宽大小;S4. The network network centralized controller determines, according to the level labels, which wireless devices are network bandwidth providers, which wireless devices are network bandwidth receivers, and then further determines a bandwidth size that is provided or received.
S5、开启与各个无线设备间建立的网络带宽通道。S5. Turn on a network bandwidth channel established between each wireless device.
本实例主要涉及两个核心环节,一个是无线设备连接环节,一个是带宽通道提供环节。无线设备连接环节,这个环节的执行依托于网络集中控制器的无线信号,当用户用的无线设备搜索到该网络集中控制器的无线信号时,便会发出认证授权请求,网络集中控制器接收到该请求后,经认证通过后便会跟该路由器产生连接。带宽通道提供环节,则是通过网络集中控制器采集连接到一定数量的无线设备后,分析出不同无线设备的状态(空闲或忙碌),再经过一定的算法策略,来分配不同无线设备的带宽通道,该通道是双向通道,无线设备可能是带宽服务接收方,也可能是带宽服务供应方。This example mainly involves two core links, one is the connection of wireless devices, and the other is the provision of bandwidth channels. The connection of the wireless device, the execution of this link depends on the wireless signal of the centralized controller of the network. When the wireless device used by the user searches for the wireless signal of the centralized controller of the network, the authentication authorization request is issued, and the network centralized controller receives the After the request is made, it will be connected to the router after passing the authentication. The bandwidth channel provides the link, after the network centralized controller collects and connects to a certain number of wireless devices, analyzes the state of different wireless devices (idle or busy), and then allocates bandwidth channels of different wireless devices through certain algorithm strategies. The channel is a bidirectional channel, and the wireless device may be a bandwidth service receiver or a bandwidth service provider.
从系统结构图来看,不同的路由器连接网络集中控制器,即用户手机11连接路由器A后与网络集中控制器2连接,用户手机12连接路由器B后与网络集中控制器2连接,其中,用户手机等上网设备与路由器的连接是单向连接,路由器与网络集中控制器2的连接是双向连接。本发明的结构主要涉及两个模块的相关连接,一个是手机与无线设备之间的连接,另一个则是无线设备与网络集中控制器之间的连接,显然,无线设备与网络集中控制器之间的连接及其之后的分配策略机制便是本发明的核心所在。如系统流程图所描绘,当无线设备连上电源时,如果这个无线设置是拥有并支持网络集中控制器连接模块的,将会对网络集中控制器发出的热点发出连接请求。当网络集中控制器接收到这个信号是,将会解析该请求中包含的验证授权信息,一旦通过验证,便会与该无线设备产生一个长连接。建立连接后,无线设备端将会解析出当前的上网状况,并将该状况发送给网络集中控制器,网络集中控制器接收到该信息后,将会根据无线设备的上网状况给不同的无线设备添加上不同的等级标签。然后根据这些不同的等级标签,网络集中控制器将会决定哪些路由器成为网络带宽提供方,哪些为网络带宽接收方,带宽的大小级别也是由这些等级决定。等这些都确定以后,将会正式开启与各个无线设备间建立的网络带宽通道。如此一来,网络集中控制器便做到了合理安排宽带资源的作用:原本没有互联网的 无线路由设备能够连接互联网了,原本互联网资源很差的无线路由设备也得到了改善,而那些空闲没有利用到的来自部分无线路由设备的宽带资源也得到了利用。实现了让用户更快连接上互联网的功能,可以充分利用空闲的资源。From the system structure diagram, different routers are connected to the network centralized controller, that is, the user's mobile phone 11 is connected to the network centralized controller 2 after connecting to the router A, and the user mobile phone 12 is connected to the network centralized controller 2 after connecting to the router B, wherein the user The connection between the mobile device such as a mobile phone and the router is a one-way connection, and the connection between the router and the network centralized controller 2 is a two-way connection. The structure of the present invention mainly relates to the connection of two modules, one is the connection between the mobile phone and the wireless device, and the other is the connection between the wireless device and the centralized controller of the network. Obviously, the wireless device and the centralized controller of the network The inter-connection and the subsequent allocation policy mechanism are at the heart of the present invention. As depicted in the system flow diagram, when the wireless device is connected to the power source, if the wireless setting owns and supports the network centralized controller connection module, a connection request is sent to the hotspot issued by the network centralized controller. When the network centralized controller receives this signal, it will parse the authentication authorization information contained in the request, and once it passes the verification, it will generate a long connection with the wireless device. After the connection is established, the wireless device will parse the current Internet access status and send the status to the network centralized controller. After receiving the information, the network centralized controller will give different wireless devices according to the wireless device's Internet access status. Add different level labels. Then according to these different level labels, the network centralized controller will decide which routers become network bandwidth providers and which are network bandwidth receivers. The size of the bandwidth is also determined by these levels. After these are determined, the network bandwidth channel established between each wireless device will be officially opened. In this way, the network centralized controller has done a reasonable role in arranging broadband resources: there is no Internet. The wireless routing device can connect to the Internet, and the wireless routing device with poor Internet resources has also been improved, and the broadband resources from some wireless routing devices that are not utilized by the idle are also utilized. Achieve the ability to connect users to the Internet faster, and make full use of free resources.
显然,本领域的技术人员应该明白,上述的本发明实施例的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明实施例不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that the above modules or steps of the embodiments of the present invention can be implemented by a general computing device, which can be concentrated on a single computing device or distributed in multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from The steps shown or described are performed sequentially, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated into a single integrated circuit module. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.
应当说明的是,上述实施例均可根据需要自由组合。以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。 It should be noted that the above embodiments can be freely combined as needed. The above description is only a preferred embodiment of the present invention, and it should be noted that those skilled in the art can also make several improvements and retouchings without departing from the principles of the present invention. It should be considered as the scope of protection of the present invention.

Claims (10)

  1. 一种无线设备共享带宽的控制方法,其特征在于,包括步骤:A method for controlling bandwidth shared by a wireless device, comprising the steps of:
    S100集中控制器判断连接的无线设备是否达到预设连接分配阈值,若是,执行步骤S200;否则,执行步骤S300;The S100 centralized controller determines whether the connected wireless device reaches the preset connection allocation threshold, and if so, performs step S200; otherwise, performs step S300;
    S200所述集中控制器分析连接的所述无线设备当前工作状态,得到所有连接的所述无线设备的当前带宽状况,并发送带宽共享指令至所有连接的所述无线设备;The centralized controller of S200 analyzes the current working state of the connected wireless device, obtains the current bandwidth status of all connected wireless devices, and sends a bandwidth sharing command to all connected wireless devices;
    S300所述集中控制器保持与所述无线设备的当前网络连接状态。The centralized controller of S300 maintains a current network connection state with the wireless device.
  2. 根据权利要求1所述的无线设备共享带宽的控制方法,其特征在于,所述步骤S200包括步骤:The method for controlling a shared bandwidth of a wireless device according to claim 1, wherein the step S200 comprises the steps of:
    S210所述集中控制器接收所述无线设备发送的自身当前网络状况信息;The centralized controller of S210 receives the current network status information sent by the wireless device;
    S220所述集中控制器根据所述无线设备的当前网络状况信息,得到所述无线设备的带宽大小等级;The centralized controller of S220 obtains a bandwidth level of the wireless device according to current network status information of the wireless device;
    S230所述集中控制器判断所述当前无线设备的工作网络速率是否达到自身带宽大小等级对应的预设网络速率,若是,执行步骤S240;否则,执行步骤S250;S230, the centralized controller determines whether the working network rate of the current wireless device reaches a preset network rate corresponding to its own bandwidth level, and if so, step S240 is performed; otherwise, step S250 is performed;
    S240所述集中控制器输出所述当前无线设备当前工作状态为忙碌状态;S240: The centralized controller outputs that the current working state of the current wireless device is a busy state;
    S250所述集中控制器输出所述当前无线设备当前工作状态为空闲状态;S250, the centralized controller outputs that the current working state of the current wireless device is an idle state;
    S260所述集中控制器分析所有忙碌状态的无线设备的当前带宽需求量,并分析所有空闲状态的无线设备的当前带宽剩余量,生成当前带宽需求表和当前带宽剩余表;S260, the centralized controller analyzes a current bandwidth requirement of all wireless devices in a busy state, and analyzes a current bandwidth remaining amount of all idle state wireless devices, and generates a current bandwidth requirement table and a current bandwidth remaining table;
    S270所述集中控制器根据所述当前带宽需求表和所述当前带宽剩余表进行查询运算分配,发送所述分配带宽共享指令至所有连接的所述无线设备。S270: The centralized controller performs query operation allocation according to the current bandwidth requirement table and the current bandwidth remaining table, and sends the allocated bandwidth sharing instruction to all connected wireless devices.
  3. 根据权利要求2所述的无线设备共享带宽的控制方法,其特征在于,所述步骤S270包括步骤:The method for controlling a shared bandwidth of a wireless device according to claim 2, wherein the step S270 comprises the steps of:
    S271所述集中控制器根据所述无线设备的使用频率和/或优先等级和/或网络应用类型生成分配序列表;S271. The centralized controller generates an allocation sequence table according to a frequency of use and/or a priority level of the wireless device and/or a network application type.
    S272所述集中控制器根据所述当前带宽需求表和所述当前带宽剩余表按照所述分配序列表的排列顺序进行查询运算分配,得到当前分配带宽共享指令;S272, the centralized controller performs query operation allocation according to the current bandwidth requirement table and the current bandwidth remaining table according to the arrangement order of the allocation sequence table, to obtain a current allocated bandwidth sharing instruction;
    S273所述集中控制器按照所述分配序列表的排列顺序,在预设时长内发送所述分配带宽共享指令至所有连接的所述无线设备。S273. The centralized controller sends the allocated bandwidth sharing instruction to all connected wireless devices within a preset duration according to an arrangement order of the allocation sequence table.
  4. 根据权利要求1所述的无线设备共享带宽的控制方法,其特征在于,所述步骤S200之后包括步骤:The method for controlling a shared bandwidth of a wireless device according to claim 1, wherein the step S200 comprises the following steps:
    S400所述集中控制器监测是否有新认证连接的无线设备,和/或,已经通过验证连接所述集中控制器的所述无线设备的带宽需求量是否产生变化;若是,执行步骤S500;否则,执行步骤S600;The centralized controller of S400 monitors whether there is a newly authenticated connected wireless device, and/or has passed the verification whether the bandwidth requirement of the wireless device connected to the centralized controller changes; if yes, step S500 is performed; otherwise, Step S600 is performed;
    S500所述集中控制器更新所有连接的所述无线设备的当前带宽剩余量,重新发送带宽共享指令至所有连接的所述无线设备;The centralized controller of S500 updates the current bandwidth remaining amount of all connected wireless devices, and retransmits the bandwidth sharing command to all connected wireless devices;
    S600所述集中控制器不更新所有连接的所述无线设备的当前带宽剩余量。The centralized controller of S600 does not update the current bandwidth remaining amount of all connected wireless devices.
  5. 根据权利要求1-4任一所述的无线设备共享带宽的控制方法,其特征在于, 所述步骤S100之前包括步骤:The method for controlling a shared bandwidth of a wireless device according to any one of claims 1 to 4, characterized in that The step S100 includes the steps:
    S010所述无线设备上电后,搜索所述集中控制器发出的无线信号;After the wireless device is powered on, searching for a wireless signal sent by the centralized controller;
    S020所述无线设备判断是否搜索到所述集中控制器发出的无线信号,若是,执行步骤S030;否则,返回步骤S010;S020, the wireless device determines whether the wireless signal sent by the centralized controller is searched, and if so, step S030 is performed; otherwise, returns to step S010;
    S030所述无线设备自动发送上网连接请求至所述集中控制器;S030, the wireless device automatically sends an internet connection request to the centralized controller;
    S040所述集中控制器判断所述无线设备是否是进行第一次验证,若是,执行步骤S050;否则,直接执行步骤S060;S040, the centralized controller determines whether the wireless device is performing the first verification, and if so, executing step S050; otherwise, directly performing step S060;
    S050所述集中控制器判断发送上网连接请求的所述无线设备是否通过验证,若是,执行步骤S060;否则,执行步骤S070;S050, the centralized controller determines whether the wireless device that sends the Internet connection request passes the verification, and if so, executes step S060; otherwise, performs step S070;
    S060所述集中控制器与所述无线设备建立网络通信连接;S060, the centralized controller establishes a network communication connection with the wireless device;
    S070所述集中控制器与所述无线设备不建立网络通信连接。The centralized controller of S070 does not establish a network communication connection with the wireless device.
  6. 一种无线设备共享带宽的控制系统,其特征在于,包括:A control system for sharing bandwidth of a wireless device, comprising:
    集中控制器、无线设备;所述集中控制器与所述无线设备通信连接;a centralized controller, a wireless device; the centralized controller is in communication with the wireless device;
    所述集中控制器,判断连接的无线设备是否达到预设连接分配阈值;The centralized controller determines whether the connected wireless device reaches a preset connection allocation threshold;
    所述集中控制器,当连接的无线设备达到预设连接分配阈值时,分析连接的所述无线设备当前工作状态,得到所有连接的所述无线设备的当前带宽状况,并发送带宽共享指令至所有连接的所述无线设备;The centralized controller analyzes the current working state of the connected wireless device when the connected wireless device reaches the preset connection allocation threshold, obtains the current bandwidth status of all connected wireless devices, and sends a bandwidth sharing command to all Connected to the wireless device;
    所述集中控制器,当连接的无线设备未达到预设连接分配阈值时,保持与所述无线设备的当前网络连接状态。The centralized controller maintains a current network connection state with the wireless device when the connected wireless device does not reach the preset connection allocation threshold.
  7. 根据权利要求6所述的无线设备共享带宽的控制系统,其特征在于,所述集中控制器包括:获取模块、判断模块、输出模块、分析模块、分配模块;所述获取模块与所述判断模块通信连接;所述判断模块与所述输出模块通信连接;所述输出模块与所述分析模块通信连接;所述分析模块与所述分配模块通信连接;The control system for sharing bandwidth of a wireless device according to claim 6, wherein the centralized controller comprises: an acquisition module, a determination module, an output module, an analysis module, and an allocation module; the acquisition module and the determination module a communication connection; the determination module is communicatively coupled to the output module; the output module is communicatively coupled to the analysis module; and the analysis module is communicatively coupled to the distribution module;
    所述获取模块,接收所述无线设备发送的自身当前网络状况信息,根据所述无线设备的当前网络状况信息,得到所述无线设备的带宽大小等级;The acquiring module receives the current network status information sent by the wireless device, and obtains a bandwidth level of the wireless device according to current network status information of the wireless device;
    所述判断模块,判断所述当前无线设备的工作网络速率是否达到自身带宽大小等级对应的预设网络速率;The determining module determines whether the working network rate of the current wireless device reaches a preset network rate corresponding to the level of the bandwidth of the current wireless device;
    所述输出模块,当所述当前无线设备的工作网络速率达到自身带宽大小等级对应的预设网络速率时,输出所述当前无线设备当前工作状态为忙碌状态;The output module outputs a current working state of the current wireless device as a busy state when the working network rate of the current wireless device reaches a preset network rate corresponding to the size of the bandwidth of the current wireless device;
    所述输出模块,当所述当前无线设备的工作网络速率达到自身带宽大小等级对应的预设网络速率时,输出所述当前无线设备当前工作状态为空闲状态;The output module outputs the current working state of the current wireless device to an idle state when the working network rate of the current wireless device reaches a preset network rate corresponding to the bandwidth level of the current wireless device;
    所述分析模块,分析所有忙碌状态的无线设备的当前带宽需求量,并分析所有空闲状态的无线设备的当前带宽剩余量,生成当前带宽需求表和当前带宽剩余表;The analyzing module analyzes the current bandwidth requirement of the wireless devices in all busy states, and analyzes the current bandwidth remaining amount of all the wireless devices in the idle state, and generates a current bandwidth requirement table and a current bandwidth remaining table;
    所述分配模块,根据所述当前带宽需求表和所述当前带宽剩余表进行查询运算分配,发送分配带宽共享指令至所有连接的所述无线设备。And the allocating module allocates a bandwidth sharing instruction to all connected wireless devices according to the current bandwidth requirement table and the current bandwidth remaining table.
  8. 根据权利要求7所述的无线设备共享带宽的控制系统,其特征在于,所述分配模块包括:生成列表子模块、查询分配子模块和发送指令子模块;所述生成列表子模块与所述查询分配子模块通信连接;所述查询分配子模块与所述发送指令子 模块通信连接;The control system for sharing bandwidth of a wireless device according to claim 7, wherein the allocation module comprises: a generating list sub-module, a query assigning sub-module, and a sending instruction sub-module; the generating list sub-module and the query Allocation sub-module communication connection; the query allocation sub-module and the sending instruction sub- Module communication connection;
    所述生成列表子模块,根据所述无线设备的使用频率和/或优先等级和/或网络应用类型生成分配序列表;The generating list sub-module generates an allocation sequence table according to a frequency of use and/or a priority level of the wireless device and/or a network application type;
    所述查询分配子模块,根据所述当前带宽需求表和所述当前带宽剩余表按照所述分配序列表的排列顺序进行查询运算分配,得到当前分配带宽共享指令;The query allocation sub-module performs query operation allocation according to the current bandwidth requirement table and the current bandwidth remaining table according to the arrangement order of the allocation sequence table, to obtain a current allocated bandwidth sharing instruction;
    发送指令子模块,按照所述分配序列表的排列顺序,在预设时长内发送所述分配带宽共享指令至所有连接的所述无线设备。The sending instruction sub-module sends the allocated bandwidth sharing instruction to all connected wireless devices within a preset duration according to the order of the allocation sequence table.
  9. 根据权利要求1所述的无线设备共享带宽的处理系统,其特征在于,所述集中控制器还包括:监测模块和更新模块;所述监测模块与所述获取模块通信连接;所述更新模块与所述监测模块通信连接;The processing system for sharing bandwidth of a wireless device according to claim 1, wherein the centralized controller further comprises: a monitoring module and an update module; the monitoring module is communicably connected to the acquiring module; The monitoring module is communicatively connected;
    所述监测模块,监测是否有新认证连接的无线设备,和/或,已经通过验证连接所述集中控制器的所述无线设备的带宽需求量是否产生变化;The monitoring module monitors whether there is a newly authenticated connected wireless device, and/or whether a bandwidth requirement has been changed by verifying that the wireless device connected to the centralized controller;
    所述更新模块,当没有有新认证连接的无线设备,并且,已经通过验证连接所述集中控制器的所述无线设备的带宽需求量未产生变化,不更新所有连接的所述无线设备的所述当前带宽状况;The update module, when there is no wireless device with a newly authenticated connection, and has not changed the bandwidth requirement of the wireless device connected to the centralized controller by verifying that all connected wireless devices are not updated State the current bandwidth status;
    所述更新模块,当有新认证连接的无线设备,和/或,已经通过验证连接所述集中控制器的所述无线设备的带宽需求量产生变化,更新所有连接的所述无线设备的所述当前带宽状况,重新发送带宽共享指令至所有连接的所述无线设备。The update module, when there is a wireless device with a newly authenticated connection, and/or has changed the bandwidth requirement of the wireless device that is connected to the centralized controller, updating the all of the connected wireless devices Current bandwidth conditions, resending bandwidth sharing instructions to all connected wireless devices.
  10. 根据权利要求7-9任一所述的无线设备共享带宽的控制系统,其特征在于,所述无线设备包括搜索模块和连接模块;所述集中控制器还包括验证模块和控制模块;所述搜索模块与所述连接模块通信连接;所述验证模块与所述连接模块通信连接;所述验证模块还与所述获取模块通信连接;所述控制模块与所述验证模块通信连接;The control system for sharing bandwidth of a wireless device according to any one of claims 7-9, wherein the wireless device comprises a search module and a connection module; the centralized controller further comprises a verification module and a control module; The module is communicatively coupled to the connection module; the verification module is communicatively coupled to the connection module; the verification module is further communicatively coupled to the acquisition module; and the control module is communicatively coupled to the verification module;
    所述搜索模块,上电后,搜索所述集中控制器发出的无线信号,判断是否搜索到所述集中控制器发出的无线信号;The search module searches for a wireless signal sent by the centralized controller to determine whether to search for a wireless signal sent by the centralized controller;
    所述连接模块,当搜索到所述集中控制器发出的无线信号时,自动发送上网连接请求至所述集中控制器;The connection module automatically sends an internet connection request to the centralized controller when searching for a wireless signal sent by the centralized controller;
    所述搜索模块,当搜索不到所述集中控制器发出的无线信号时,继续搜索所述集中控制器发出的无线信号;The search module continues to search for a wireless signal sent by the centralized controller when the wireless signal sent by the centralized controller is not searched;
    所述验证模块,判断所述无线设备是否是进行第一次验证;The verification module determines whether the wireless device performs the first verification;
    所述验证模块,还当所述无线设备是进行第一次验证时,进一步判断发送上网连接请求的所述无线设备是否通过验证;The verification module further determines, when the wireless device performs the first verification, whether the wireless device that sends the Internet connection request passes the verification;
    所述控制模块,当所述无线设备是进行第一次验证时,且发送上网连接请求的所述无线设备通过验证时,与所述无线设备建立网络通信连接;The control module, when the wireless device performs the first verification, and the wireless device that sends the Internet connection request passes the verification, establishes a network communication connection with the wireless device;
    所述控制模块,当所述无线设备是进行第一次验证时,但发送上网连接请求的所述无线设备未通过验证时,与所述无线设备不建立网络通信连接;The control module does not establish a network communication connection with the wireless device when the wireless device performs the first verification, but the wireless device that sends the Internet connection request fails to pass the verification;
    所述控制模块,还当所述无线设备不是进行第一次验证时,所述集中控制器与所述无线设备建立网络通信连接。 The control module further establishes a network communication connection with the wireless device when the wireless device is not performing the first verification.
PCT/CN2017/087048 2017-02-13 2017-06-02 Method and system for controlling wireless devices to share bandwidth WO2018145376A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710076024.9A CN106792835B (en) 2017-02-13 2017-02-13 Control method and system for wireless equipment sharing bandwidth
CN201710076024.9 2017-02-13

Publications (1)

Publication Number Publication Date
WO2018145376A1 true WO2018145376A1 (en) 2018-08-16

Family

ID=58956410

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/087048 WO2018145376A1 (en) 2017-02-13 2017-06-02 Method and system for controlling wireless devices to share bandwidth

Country Status (2)

Country Link
CN (1) CN106792835B (en)
WO (1) WO2018145376A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113747496A (en) * 2020-05-29 2021-12-03 中国电信股份有限公司 Switching method, network equipment and system in multi-connection network

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106792835B (en) * 2017-02-13 2020-12-22 金华市智甄通信设备有限公司 Control method and system for wireless equipment sharing bandwidth
CN107294874A (en) * 2017-07-14 2017-10-24 上海斐讯数据通信技术有限公司 Bandwidth allocation device and radio reception device
CN111240837B (en) * 2018-03-13 2023-12-26 Oppo广东移动通信有限公司 Resource allocation method, device, terminal and storage medium
CN112398898A (en) * 2020-06-17 2021-02-23 岭博科技(北京)有限公司 Method and system for realizing load balance based on shared port network
CN112333556B (en) * 2020-07-31 2024-03-12 深圳Tcl新技术有限公司 Control method for monitoring video transmission bandwidth, terminal equipment and readable storage medium
CN114157900B (en) * 2022-02-09 2022-05-17 广州长嘉电子有限公司 DVB-S2 signal processing method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102143534A (en) * 2010-12-31 2011-08-03 华为技术有限公司 Method, equipment and system for processing bandwidth control
CN104994037A (en) * 2015-07-07 2015-10-21 上海斐讯数据通信技术有限公司 Automatic distributing system and distributing method for bandwidth
CN105337901A (en) * 2015-09-30 2016-02-17 北京四达时代软件技术股份有限公司 Router intelligent bandwidth allocation method and device
CN106161280A (en) * 2016-06-08 2016-11-23 联想(北京)有限公司 A kind of band width control method, device and electronic equipment
CN106792835A (en) * 2017-02-13 2017-05-31 上海斐讯数据通信技术有限公司 The control method and system of a kind of shared bandwidth of wireless device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101202700B (en) * 2006-12-12 2011-08-03 华为技术有限公司 Method, apparatus and system for flow control of point-to-point file sharing
CN104244414B (en) * 2013-06-09 2018-12-07 中国移动通信集团广东有限公司 Distribution method, device and the terminal of shared network bandwidth based on terminal
CN105553862B (en) * 2015-12-31 2018-08-31 上海理工大学 Routing device and communication means

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102143534A (en) * 2010-12-31 2011-08-03 华为技术有限公司 Method, equipment and system for processing bandwidth control
CN104994037A (en) * 2015-07-07 2015-10-21 上海斐讯数据通信技术有限公司 Automatic distributing system and distributing method for bandwidth
CN105337901A (en) * 2015-09-30 2016-02-17 北京四达时代软件技术股份有限公司 Router intelligent bandwidth allocation method and device
CN106161280A (en) * 2016-06-08 2016-11-23 联想(北京)有限公司 A kind of band width control method, device and electronic equipment
CN106792835A (en) * 2017-02-13 2017-05-31 上海斐讯数据通信技术有限公司 The control method and system of a kind of shared bandwidth of wireless device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113747496A (en) * 2020-05-29 2021-12-03 中国电信股份有限公司 Switching method, network equipment and system in multi-connection network
CN113747496B (en) * 2020-05-29 2024-02-09 中国电信股份有限公司 Switching method, network equipment and system in multi-connection network

Also Published As

Publication number Publication date
CN106792835B (en) 2020-12-22
CN106792835A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
WO2018145376A1 (en) Method and system for controlling wireless devices to share bandwidth
US10944698B2 (en) Apparatus and method of managing resources for video services
US9712387B2 (en) Method and system for content aggregation via a broadband gateway
US9430441B2 (en) Methods, circuits, devices, systems and associated computer executable code for distributed content caching and delivery
US8982761B2 (en) Method, apparatus, and system for carrying out multimedia service in wireless local area
US11601343B2 (en) Dynamic adaptive network
WO2015096680A1 (en) Node distribution method and control center
US9553623B2 (en) Wireless communication device
US20150109909A1 (en) User-based profiling and network access
CN103201984A (en) System and method for dynamic configuration of isn store-based overlay network
Du et al. Application specific mobile edge computing through network softwarization
Habak et al. An optimal deployable bandwidth aggregation system
Cao et al. Stochastic optimization for green multimedia services in dense 5G networks
WO2013178108A1 (en) Rate control system and method based on wlan
CN106598966B (en) Webpage processing method and device
Borcoci et al. Optimization of multi-server video content streaming in 5G environment
Dubin et al. A fair server adaptation algorithm for HTTP adaptive streaming using video complexity
KR20150133437A (en) Method for arranging cache positioned at subscriber network and system thereof
CN106533760B (en) Method and device for constructing CDN system in CM network
WO2023246488A1 (en) Content providing method and apparatus
US10728911B2 (en) Wireless communication device
Djamal et al. Cross layer design for optimized video streaming over heterogeneous networks
EP3382962A1 (en) Method for managing active flows in a communication network by a network element, and corresponding network element
Saleem A Risk-Aware Workload Scheduler to Support Efficient Data Transfer for Mobile Collaborative Communities
Ahmed et al. Study on various qos issue in mobile cloud computing and future direction

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17895894

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17895894

Country of ref document: EP

Kind code of ref document: A1