WO2017185697A1 - 一种带宽共享方法及装置 - Google Patents

一种带宽共享方法及装置 Download PDF

Info

Publication number
WO2017185697A1
WO2017185697A1 PCT/CN2016/103538 CN2016103538W WO2017185697A1 WO 2017185697 A1 WO2017185697 A1 WO 2017185697A1 CN 2016103538 W CN2016103538 W CN 2016103538W WO 2017185697 A1 WO2017185697 A1 WO 2017185697A1
Authority
WO
WIPO (PCT)
Prior art keywords
bandwidth
routing terminal
preset
sharing
occupied
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2016/103538
Other languages
English (en)
French (fr)
Inventor
黄启鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Le Holdings Beijing Co Ltd
Leshi Zhixin Electronic Technology Tianjin Co Ltd
Original Assignee
Le Holdings Beijing Co Ltd
Leshi Zhixin Electronic Technology Tianjin Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Le Holdings Beijing Co Ltd, Leshi Zhixin Electronic Technology Tianjin Co Ltd filed Critical Le Holdings Beijing Co Ltd
Publication of WO2017185697A1 publication Critical patent/WO2017185697A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/76Admission control; Resource allocation using dynamic resource allocation, e.g. in-call renegotiation requested by the user or requested by the network in response to changing network conditions

Definitions

  • the present invention relates to router technologies, and in particular, to a bandwidth sharing method and apparatus.
  • PPPOE Point to Point Protocol over Ethernet, Point-to-point connection protocol
  • Multi-dial bandwidth overlay superimposes higher bandwidth. For example, suppose an Internet account provides 10M bandwidth. To make the Internet bandwidth reach 20M, you need to open an Internet account that provides 10M bandwidth, and then pass the router. The WAN port PPPOE dials two accounts at the same time, and then performs overlay bandwidth setting.
  • the user may occupy a large bandwidth when viewing the video, and the user may occupy a small bandwidth when browsing the webpage, so that the remaining bandwidth will be idle. , causing waste of network bandwidth resources.
  • the present invention provides a bandwidth sharing method and apparatus.
  • a bandwidth sharing method is provided, which is applied to a first routing terminal, and includes:
  • the network data is transmitted using the first bandwidth and the second bandwidth.
  • the method further includes:
  • the network connection account and the connection password of the first routing terminal are shared to the second routing terminal, so that the second routing terminal is based on the network connection account and the connection password.
  • the preset logical port of the first routing terminal establishes a communication connection.
  • the transmitting the network data by using the first bandwidth and the second bandwidth including:
  • the network data transmitted by using the first bandwidth and the network data transmitted by using the second bandwidth are buffered into a preset transmission queue according to the first transmission ratio and the second transmission ratio;
  • a bandwidth sharing method is provided, which is applied to a second routing terminal, including:
  • the method further includes:
  • a display control including at least one network resource type to be accessed
  • a new occupied bandwidth is determined according to the occupied bandwidth and the adjusted bandwidth when the second bandwidth is shared.
  • a bandwidth sharing apparatus which is applied to a first routing terminal, and includes:
  • a first detecting module configured to detect whether a first bandwidth occupied by data transmission in the current network reaches a preset first bandwidth threshold
  • a first sending module configured to send a bandwidth sharing request to the second routing terminal when the first bandwidth reaches a preset first bandwidth threshold
  • a first acquiring module configured to acquire, when receiving the allowed sharing response sent by the second routing terminal, the second bandwidth shared by the second routing terminal by using the preset communication connection;
  • a transmission module configured to transmit network data by using the first bandwidth and the second bandwidth.
  • the device further includes:
  • a second acquiring module configured to acquire a device identification code of the second routing terminal in the first connection request when receiving the first connection request sent by the second routing terminal;
  • a first determining module configured to determine whether the device identifier is located in a preset first device identifier set, where the preset first device identifier set includes at least one device identifier;
  • a sharing module configured to: when the device identifier is in the preset first device identifier set, the first route The network connection account and the connection password of the terminal are shared with the second routing terminal, so that the second routing terminal establishes a communication connection with the preset logical port of the first routing terminal according to the network connection account and the connection password.
  • the transmission module includes:
  • Obtaining a sub-module configured to acquire a first priority for transmitting network data by using the first bandwidth and a second priority for transmitting network data by using the second bandwidth, where the first priority is higher than the second priority;
  • the searching sub-module is configured to search, according to a correspondence between the preset priority and the transmission ratio, a first transmission ratio corresponding to the first priority and a second transmission ratio corresponding to the second priority, the first transmission ratio Greater than the second transmission ratio;
  • a buffer submodule configured to cache network data transmitted by using the first bandwidth and network data transmitted by using the second bandwidth into a preset transmission queue according to the first transmission ratio and the second transmission ratio, respectively;
  • a sending submodule configured to send network data in the preset transmission queue.
  • a bandwidth sharing apparatus which is applied to a second routing terminal, and includes:
  • a second detecting module configured to acquire an occupied bandwidth occupied by data transmission in the current network when receiving the bandwidth sharing request sent by the first routing terminal;
  • a second determining module configured to determine whether the occupied bandwidth is less than a preset second bandwidth threshold
  • a first determining module configured to determine, according to the occupied bandwidth and the preset second bandwidth threshold, a second bandwidth shared by the first routing terminal, when the occupied bandwidth is less than a preset second bandwidth threshold;
  • a generating module configured to generate an allowed sharing response that allows bandwidth sharing, where the allowed sharing response carries information of the shared second bandwidth
  • a second sending module configured to send the allowed sharing response to the first routing terminal.
  • the device further includes:
  • a third detecting module configured to: after receiving the second bandwidth to the first routing terminal, detecting whether an adjustment bandwidth request for requesting adjustment of a bandwidth is received;
  • a display module configured to display, when receiving the adjusted bandwidth request, a display control that includes at least one network resource type to be accessed;
  • a fourth detecting module configured to detect whether any network resource class is selected on the display control Type selection operation
  • a third acquiring module configured to acquire an adjustment bandwidth corresponding to the selected network resource type when receiving the selecting operation
  • a second determining module configured to determine a new occupied bandwidth according to the occupied bandwidth and the adjusted bandwidth when the second bandwidth is shared.
  • the embodiment of the present invention provides a non-transitory computer readable storage medium, wherein the non-transitory computer readable storage medium can store a computer program, and when the program is executed, the foregoing application to the first routing terminal can be implemented.
  • the embodiment of the present invention provides a non-transitory computer readable storage medium, wherein the non-transitory computer readable storage medium can store a computer program, and when the program is executed, the foregoing application to the second routing terminal can be implemented.
  • the embodiment of the present invention further provides a first routing terminal, including: one or more processors; and a memory; wherein the memory stores instructions executable by the one or more processors, The instructions are executed by the one or more processors to enable the one or more processors to perform the bandwidth sharing method described above for the first routing terminal of the present invention.
  • An embodiment of the present invention further provides a second routing terminal, including: one or more processors; and a memory; wherein the memory stores instructions executable by the one or more processors, The instructions are executed by the one or more processors to enable the one or more processors to perform the bandwidth sharing method described above for the second routing terminal of the present invention.
  • Embodiments of the present invention provide a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer, The computer is caused to perform a bandwidth sharing method applied to the first routing terminal according to the embodiment of the present invention.
  • An embodiment of the present invention provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program When the computer is executed, the computer is caused to perform a bandwidth sharing method applied to the second routing terminal according to the embodiment of the present invention.
  • the present invention can detect whether the first bandwidth occupied by the data transmission in the current network reaches the preset first bandwidth threshold, and when the first bandwidth reaches the preset first bandwidth threshold, the bandwidth sharing request can be sent to the second routing terminal.
  • the bandwidth sharing request can be sent to the second routing terminal.
  • the second bandwidth shared by the second routing terminal through the preset communication connection may be acquired, and finally the network data may be transmitted by using the first bandwidth and the second bandwidth.
  • the method provided by the present invention can break through the upper limit of the bandwidth of the Ethernet WAN port without sharing the higher bandwidth of the neighbors and increase the dial-up account number, and share the bandwidth of the neighbors with each other wirelessly, so that the users participating in the shared bandwidth can share the bandwidth. You can use the sum of the bandwidth of both parties to effectively increase the speed of the Internet without increasing the cost.
  • FIG. 1 is a flowchart of a bandwidth sharing method according to an exemplary embodiment
  • FIG. 2 is a schematic diagram of an application scenario according to an exemplary embodiment
  • FIG. 3 is a flowchart of another method for bandwidth sharing according to an exemplary embodiment
  • FIG. 4 is a structural diagram of a bandwidth sharing apparatus according to an exemplary embodiment
  • FIG. 5 is a structural diagram of another bandwidth sharing apparatus according to an exemplary embodiment
  • FIG. 6 is a schematic structural diagram of hardware of a device for applying a bandwidth sharing method to a first routing terminal according to an embodiment of the present disclosure
  • FIG. 7 is a schematic structural diagram of hardware of a device for applying a bandwidth sharing method to a second routing terminal according to an embodiment of the present invention.
  • a bandwidth sharing method is provided, which is applied to a first routing terminal.
  • user A and user B are neighbors. They all access the Internet through PPPoE dialing, with a bandwidth of 10M.
  • the first routing terminal used by user A is recorded as Router A
  • the second routing terminal used by user B is recorded as router B.
  • the two routers can receive each other's WiFi signals, and the signal strength reaches the intensity of smooth data transmission.
  • Router A When Router A is the shared party, Router A's WAN_ETH_A is the Ethernet WAN port.
  • WAN_WIFI_A, AP_A_1, and AP_A_2 are all wireless ports, where WAN_WIFI_A is used as a logical port.
  • the first routing terminal can internally establish a communication connection from WAN_ETH_A to AP_A_1, AP_A_2, and establish a communication connection from WAN_WIFI_A to AP_A_2 in advance, without establishing WAN_WIFI_A.
  • the communication connection to the AP_A_2 can prevent the bandwidth shared by the second routing terminal to the first routing terminal from being shared to the second routing terminal again.
  • AP_A_1 and AP_A_2 are used as the AP port.
  • the AP port and the WAN_WIFI_A can be used.
  • the network connection account and connection password of the logical port are set to different.
  • Router B is the shared party, its configuration is similar to that of Router B. It is not described here.
  • the bandwidth sharing method may include the following steps.
  • step S101 it is detected whether the first bandwidth occupied by the data transmission in the current network reaches a preset first bandwidth threshold.
  • the preset first bandwidth threshold may be determined according to a maximum internet dialing bandwidth of the first routing terminal.
  • the first bandwidth occupied by the current network data transmission may be collected by means of data sampling, and then the first bandwidth may be equal to the maximum Internet dialing bandwidth.
  • the first determination is performed. A bandwidth reaches a preset first bandwidth threshold.
  • step S102 a bandwidth sharing request is sent to the second routing terminal.
  • step S103 when receiving the allowed sharing response sent by the second routing terminal, acquiring the second route
  • the terminal connects the shared second bandwidth through a preset communication.
  • the preset communication connection may refer to a communication connection pre-established by the AP port of the second routing terminal to the logical port of the first routing terminal, through the preset communication connection,
  • the second routing terminal may transmit the second bandwidth to the logical port of the first routing terminal in a manner of being used by the first routing terminal when the shared second bandwidth needs to be used.
  • the logical port is pre-established with the AP_A_2 port in the first routing terminal. After the second routing terminal transmits the second bandwidth to the logical port of the first routing terminal, the second bandwidth can be used as the traffic. The method is again transmitted to the AP_A_2 port, and then, the first bandwidth and the second bandwidth are propagated by WAP to the User A home by AP_A_2.
  • step S104 network data is transmitted using the first bandwidth and the second bandwidth.
  • the first bandwidth and the second bandwidth may be used to transmit network data together.
  • the first bandwidth may be used to transmit network data, and then the second bandwidth may be used to transmit data.
  • the priority may be referred to as time series. Priority, for example, the network data may be divided into network data transmitted using the first bandwidth and network data transmitted using the second bandwidth, and the network data to be transmitted using the first bandwidth is set to a high priority, and the second bandwidth is transmitted.
  • the network data is set to a low priority
  • the network data transmitted using the first bandwidth may be preferentially transmitted, and after the transmission is completed, the network data transmitted using the second bandwidth may be transmitted; the priority may also refer to the transmission using the first bandwidth each time the transmission is performed.
  • the proportion of network data is greater than the network data transmitted by using the second bandwidth. For example, the proportion of network data transmitted by using the first bandwidth is 70%, and the proportion of network data transmitted by using the second bandwidth is 30%.
  • the present invention can detect whether the first bandwidth occupied by the data transmission in the current network reaches the preset first bandwidth threshold, and when the first bandwidth reaches the preset first bandwidth threshold, the bandwidth sharing request can be sent to the second routing terminal.
  • the bandwidth sharing request can be sent to the second routing terminal.
  • the second bandwidth shared by the second routing terminal through the preset communication connection may be acquired, and finally the network data may be transmitted by using the first bandwidth and the second bandwidth.
  • the method provided by the embodiment of the present invention can break through the upper limit of the bandwidth of the Ethernet WAN port, and share the bandwidth of the two neighbors through the wireless manner, so that the shared bandwidth is shared. Users can use the sum of the bandwidth of both parties to effectively improve the Internet speed without increasing the cost.
  • the method further includes the following steps.
  • step S201 when receiving the first connection request sent by the second routing terminal, acquiring the first The device identification code of the second routing terminal in the connection request.
  • the first connection request may carry the device identification code of the second routing terminal, where the device identification code may refer to the MAC of the second routing terminal (Media Access Control or Medium Access Control, media access control). Address, etc.
  • step S202 it is determined whether the device identification code is located in a preset first device identification set.
  • the preset first device identifier set includes at least one device identifier, where the preset first device identifier set may be used to store all preset communication connections that can be established with the first routing terminal.
  • the device ID of the routing terminal such as the device ID of the routing terminal of all neighbors.
  • step S203 when the device identification code is located in the preset first device identifier set, the network connection account and the connection password of the first routing terminal are shared to the second routing terminal.
  • the network connection account and the connection password of the logical port of the first routing terminal may be sent to the second routing terminal.
  • step S203 the second routing terminal establishes a communication connection with the preset logical port of the first routing terminal according to the network connection account and the connection password.
  • the present invention When receiving the first connection request sent by the second routing terminal, the present invention first acquires the device identification code of the second routing terminal in the first connection request, and then determines whether the device identification code is located in the preset first device.
  • the network connection account and the connection password of the first routing terminal may be shared to the second routing terminal.
  • the method provided by the embodiment of the present invention can share the network connection account and the connection password of the logical interface of the first routing terminal to the second routing terminal when the second routing terminal is a routing terminal that can share the bandwidth with the first routing terminal. So that the AP interface of the second routing terminal can establish a communication connection with the logical interface of the first routing terminal.
  • the step S104 includes the following steps.
  • step S301 a first priority for transmitting network data using the first bandwidth and a second priority for transmitting network data using the second bandwidth are acquired.
  • the first priority is higher than the second priority.
  • step S302 the first transmission ratio corresponding to the first priority and the second transmission ratio corresponding to the second priority are searched according to the correspondence between the preset priority and the transmission ratio.
  • the first transmission ratio is greater than the second transmission ratio.
  • the first transmission ratio corresponding to the high priority may be 60%
  • the second transmission ratio corresponding to the low priority may be 40%.
  • step S303 the network data transmitted by using the first bandwidth and the network data transmitted by using the second bandwidth are respectively buffered into the preset transmission queue according to the first transmission ratio and the second transmission ratio.
  • the network data transmitted using the first bandwidth and the network data transmitted using the second bandwidth may be pre-divided, and then the network data and the second bandwidth transmitted by the first bandwidth are performed according to the first transmission ratio and the second transmission ratio.
  • the transmitted network data is buffered into the preset transmission queue.
  • the network data transmitted using the first bandwidth is the first transmission ratio
  • the network data transmitted using the second bandwidth is the second transmission ratio.
  • step S304 network data in the preset transmission queue is transmitted.
  • the present invention firstly obtains a first priority for transmitting network data by using a first bandwidth and a second priority for transmitting network data by using a second bandwidth, and then searches for a first priority according to a correspondence between a preset priority and a transmission ratio. a first transmission ratio corresponding to the level and a second transmission ratio corresponding to the second priority, and respectively transmitting the network data transmitted by using the first bandwidth and using the second bandwidth according to the first transmission ratio and the second transmission ratio
  • the network data is buffered into the preset transmission queue, and finally the network data in the preset transmission queue can be sent.
  • the method provided by the embodiment of the present invention can preferentially transmit network data by using the first bandwidth, so that the number of times of sharing the second bandwidth of the neighbor home using the second routing terminal due to network sharing can be reduced.
  • a bandwidth sharing method is provided, which is applied to a second routing terminal, and includes the following steps.
  • step S401 when receiving the bandwidth sharing request sent by the first routing terminal, the occupied bandwidth occupied by the data transmission in the current network is acquired.
  • the bandwidth used in the second routing terminal is occupied bandwidth
  • the occupied bandwidth may be 0, or may be 1M, 5M, or the like.
  • step S402 it is determined whether the occupied bandwidth is less than a preset second bandwidth threshold.
  • step S403 the second bandwidth shared by the first routing terminal is determined according to the occupied bandwidth and the preset second bandwidth threshold.
  • all remaining bandwidths except the occupied bandwidth may be shared with the first routing terminal, or a preset proportion of all remaining bandwidth may be shared with the first routing terminal, for example, 80%, this can make a certain time reserved for adjusting the shared bandwidth when the second routing terminal suddenly increases the occupied bandwidth when using the network to transmit data.
  • step S404 an allowed sharing response is allowed to perform bandwidth sharing, and the allowed sharing response carries information of the shared second bandwidth.
  • the information of the second bandwidth that is allowed to be carried in the shared response may be the number of the shared second bandwidth, for example, 3M or the like.
  • step S405 the permission sharing response is sent to the first routing terminal.
  • the present invention When receiving the bandwidth sharing request sent by the first routing terminal, the present invention first acquires the occupied bandwidth occupied by the data transmission in the current network, and then determines whether the occupied bandwidth is less than a preset second bandwidth threshold, when the occupied bandwidth is less than
  • the second bandwidth shared by the first routing terminal may be determined according to the occupied bandwidth and the preset second bandwidth threshold, and then an allowed sharing response that allows bandwidth sharing is allowed, where the sharing is allowed.
  • the response carries the information of the shared second bandwidth, and finally sends the allowed sharing response to the first routing terminal.
  • the method provided by the embodiment of the present invention can use the bandwidth of the user and the user B in the case where the user B is not connected to the Internet.
  • the remaining bandwidth in the home is shared with the user. A, this will achieve the maximum use of bandwidth.
  • the occupied bandwidth may be changed due to the sudden use of the network transmission by the user B, for example, when the user B changes from the starting browsing page state to the viewing video state, This will result in an increase in occupied bandwidth.
  • the user B changes from the initial viewing video state to the browsing web page state, this will result in a reduction in occupied bandwidth, so that User B needs the required bandwidth due to changes in the state of using the network.
  • the bandwidth is still shared according to the previously shared bandwidth, the user B may be disconnected from the Internet or the idle bandwidth may be increased.
  • the method further includes the following steps.
  • step S501 after the second bandwidth is shared to the first routing terminal, it is detected whether an adjustment bandwidth request for requesting adjustment of the bandwidth is received.
  • the user may trigger the sending of the adjustment bandwidth request by inputting some preset operations on the bandwidth adjustment control preset on the display interface, for example, the user clicks the bandwidth adjustment control.
  • step S502 a display control including at least one network resource type to be accessed is displayed.
  • the type of the network resource that can be prompted to be switched on the display control for example, playing a video, browsing a webpage, and the like, and presetting the bandwidth corresponding to the played video and browsing the bandwidth corresponding to the webpage.
  • step S503 it is detected whether a selection operation of selecting any one of the network resource types is received on the display control.
  • step S504 an adjustment bandwidth corresponding to the selected network resource type is acquired.
  • the bandwidth corresponding to the obtained play video may be determined as an adjustment bandwidth, or the bandwidth corresponding to the acquired browse webpage may be determined as an adjustment bandwidth.
  • step S505 a new occupied bandwidth is determined according to the occupied bandwidth and the adjusted bandwidth when the second bandwidth is shared.
  • the original occupied bandwidth may be added or subtracted from the adjusted bandwidth to obtain a new occupied bandwidth, where the original occupied bandwidth may refer to the bandwidth occupied by the second routing terminal when the second bandwidth is shared.
  • the specific choice of "plus” or “minus” can be determined according to the situation in which the user uses the network bandwidth. For example, when the user B changes from the initial browsing page state to the viewing video state, the user needs to increase the occupied bandwidth.
  • the original occupied bandwidth plus the adjusted bandwidth when User B changes from the initial viewing video state to the browsing web page state, so that the occupied bandwidth needs to be reduced, then the original occupied bandwidth can be subtracted from the adjusted bandwidth.
  • the present invention After the second bandwidth is shared to the first routing terminal, the present invention first detects whether an adjustment bandwidth request for requesting adjustment of the bandwidth is received.
  • the adjustment bandwidth request When the adjustment bandwidth request is received, the at least one to be accessed may be displayed. a display control of the network resource type, and then detecting whether a selection operation of selecting any one of the network resource types is received on the display control, and when receiving the selection operation, acquiring an adjustment bandwidth corresponding to the selected network resource type And finally determining a new occupied bandwidth according to the occupied bandwidth and the adjusted bandwidth when the second bandwidth is shared.
  • the method provided by the embodiment of the present invention can automatically adjust the shared bandwidth according to the state of the user B using the network, and avoid the situation that the Internet access is not smooth or the idle bandwidth is increased due to the shared bandwidth.
  • a bandwidth sharing apparatus is provided, which is applied to a first routing terminal, including: a first detecting module 41, a first sending module 42, a first acquiring module 43, and Transmission module 44.
  • the first detecting module 41 is configured to detect whether the first bandwidth occupied by the data transmission in the current network reaches a preset first bandwidth threshold.
  • the first sending module 42 is configured to send a bandwidth sharing request to the second routing terminal when the first bandwidth reaches a preset first bandwidth threshold.
  • the first obtaining module 43 is configured to acquire, when receiving the allowed sharing response sent by the second routing terminal, the second bandwidth shared by the second routing terminal by using the preset communication connection.
  • the transmitting module 44 is configured to transmit network data by using the first bandwidth and the second bandwidth.
  • the apparatus further includes: a second acquisition module, a first determination module, and a sharing module.
  • a second acquiring module configured to acquire a device identification code of the second routing terminal in the first connection request when receiving the first connection request sent by the second routing terminal.
  • the first determining module is configured to determine whether the device identifier is located in a preset first device identifier set, where the preset first device identifier set includes at least one device identifier.
  • a sharing module configured to share the network connection account and the connection password of the first routing terminal to the second routing terminal when the device identifier is located in the preset first device identifier set, so that the second routing terminal is connected according to the network
  • the account number and the connection password establish a communication connection with the preset logical port of the first routing terminal.
  • the transmission module includes: an acquisition submodule, a lookup submodule, a cache submodule, and a transmission submodule.
  • the obtaining submodule is configured to acquire a first priority for transmitting network data by using the first bandwidth and a second priority for transmitting network data by using the second bandwidth, where the first priority is higher than the second priority.
  • the searching sub-module is configured to search, according to a correspondence between the preset priority and the transmission ratio, a first transmission ratio corresponding to the first priority and a second transmission ratio corresponding to the second priority, the first transmission ratio Greater than the second transmission ratio.
  • the buffer submodule is configured to cache the network data transmitted by using the first bandwidth and the network data transmitted by using the second bandwidth into the preset transmission queue according to the first transmission ratio and the second transmission ratio, respectively.
  • a sending submodule configured to send network data in the preset transmission queue.
  • a bandwidth sharing apparatus which is applied to a second routing terminal, and includes: a second detecting module 51, a second determining module 52, and a first determining module 53, Generation module 54 And a second transmitting module 55.
  • the second detecting module 51 is configured to acquire the occupied bandwidth occupied by the data transmission in the current network when receiving the bandwidth sharing request sent by the first routing terminal.
  • the second determining module 52 is configured to determine whether the occupied bandwidth is less than a preset second bandwidth threshold.
  • the first determining module 53 is configured to determine, according to the occupied bandwidth and the preset second bandwidth threshold, a second bandwidth shared by the first routing terminal, when the occupied bandwidth is less than a preset second bandwidth threshold.
  • the generating module 54 is configured to generate an allowed sharing response that allows bandwidth sharing, where the allowed sharing response carries information of the shared second bandwidth.
  • the second sending module 55 is configured to send the allowed sharing response to the first routing terminal.
  • the apparatus further includes: a third detection module, a display module, a fourth detection module, a third acquisition module, and a second determination module.
  • a third detecting module configured to detect, after the second bandwidth is shared with the first routing terminal, whether an adjustment bandwidth request for requesting adjustment of the bandwidth is received.
  • a display module configured to display, when the adjustment bandwidth request is received, a display control that includes at least one network resource type to be accessed.
  • the fourth detecting module is configured to detect whether a selection operation of selecting any one of the network resource types is received on the display control.
  • a third acquiring module configured to acquire an adjustment bandwidth corresponding to the selected network resource type when receiving the selecting operation.
  • a second determining module configured to determine a new occupied bandwidth according to the occupied bandwidth and the adjusted bandwidth when the second bandwidth is shared.
  • the embodiment of the present invention further provides a non-transitory computer readable storage medium, where the non-transitory computer readable storage medium can store a program, and when executed, the program can be implemented to perform the application provided by any one of the foregoing embodiments.
  • the embodiment of the present invention further provides a non-transitory computer readable storage medium, where the non-transitory computer readable storage medium can store a program, and when executed, the program can be implemented to perform the application of any of the foregoing embodiments.
  • FIG. 6 is a schematic structural diagram of hardware of a first routing terminal according to an embodiment of the present invention. As shown in FIG. 6, the device includes:
  • processors 610 and memory 620 one processor 610 is taken as an example in FIG.
  • the apparatus for performing a bandwidth sharing method applied to the first routing terminal may further include: an input device 630 and an output device 640.
  • the processor 610, the memory 620, the input device 630, and the output device 640 may be connected by a bus or other means, as exemplified by a bus connection in FIG.
  • the memory 620 is used as a non-transitory computer readable storage medium, and can be used for storing a non-volatile software program, a non-volatile computer executable program, and a module, such as one applied to the first routing terminal in the embodiment of the present invention.
  • the processor 610 executes various functional applications and data processing of the first routing terminal by running non-volatile software programs, instructions and modules stored in the memory 620, that is, the application of the above method embodiment to the first routing terminal A method of bandwidth sharing.
  • the memory 620 may include a storage program area and an storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to usage of the bandwidth sharing device, and the like.
  • memory 620 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device.
  • memory 620 can optionally include memory remotely located relative to processor 610, which can be connected to the bandwidth sharing device over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • Input device 630 can receive input numeric or character information and generate key signal inputs related to user settings and function control of the bandwidth sharing device.
  • the output device 640 can include a display device such as a display screen.
  • the one or more modules are stored in the memory 620, and when executed by the one or more processors 610, perform a bandwidth sharing method applied to the first routing terminal in any of the above method embodiments.
  • the above product can perform the method provided by the embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
  • the above product can perform the method provided by the embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
  • FIG. 7 is a schematic structural diagram of hardware of a second routing terminal according to an embodiment of the present invention. As shown in FIG. 7, the device includes:
  • processors 710 and memory 720 one processor 710 is taken as an example in FIG.
  • the apparatus for performing a bandwidth sharing method applied to the second routing terminal may further include: an input device 730 and an output device 740.
  • the processor 710, the memory 720, the input device 730, and the output device 740 may be connected by a bus or other means, as exemplified by a bus connection in FIG.
  • the memory 720 is a non-transitory computer readable storage medium, and can be used for storing a non-volatile software program, a non-volatile computer executable program, and a module, such as one applied to the second routing terminal in the embodiment of the present invention.
  • the processor 710 executes various functional applications and data processing of the second routing terminal by running non-volatile software programs, instructions, and modules stored in the memory 720, that is, the application of the foregoing method embodiment to the second routing terminal A method of bandwidth sharing.
  • the memory 720 may include a storage program area and an storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to usage of the bandwidth sharing device, and the like.
  • memory 720 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device.
  • memory 720 can optionally include memory remotely located relative to processor 710, which can be connected to the bandwidth sharing device over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • Input device 730 can receive input numeric or character information and generate key signal inputs related to user settings and function control of the bandwidth sharing device.
  • the output device 740 can include a display device such as a display screen.
  • the one or more modules are stored in the memory 720, and when executed by the one or more processors 710, perform a bandwidth sharing method applied to the second routing terminal in any of the above method embodiments.
  • the above product can perform the method provided by the embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
  • the above product can perform the method provided by the embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
  • the routing terminal of the embodiment of the present invention exists in various forms, including but not limited to:
  • Mobile communication devices These devices are characterized by mobile communication functions and are mainly aimed at providing voice and data communication.
  • Such terminals include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.
  • Ultra-mobile personal computer equipment This type of equipment belongs to the category of personal computers, has computing and processing functions, and generally has mobile Internet access.
  • Such terminals include: PDAs, MIDs, and UMPC devices, such as the iPad.
  • Portable entertainment devices These devices can display and play multimedia content. Such devices include: audio, preview players (such as iPod), handheld game consoles, e-books, and smart toys and portable car navigation devices.
  • the server consists of a processor, a hard disk, a memory, a system bus, etc.
  • the server is similar to a general-purpose computer architecture, but because of the need to provide highly reliable services, processing power and stability High reliability in terms of reliability, security, scalability, and manageability.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明实施例提供了一种带宽共享方法及装置,应用于第一路由终端,所述方法包括:检测当前网络中数据传输占用的第一带宽是否达到预设第一带宽阈值;当所述第一带宽达到预设第一带宽阈值时,向第二路由终端发送带宽共享请求;当接收到第二路由终端发送的允许共享响应时,获取第二路由终端通过预设通信连接共享的第二带宽;利用所述第一带宽和第二带宽传输网络数据。本发明能够在邻居双方不购买更高带宽,不增加拨号帐号的情况下,突破以太网WAN口带宽上限,将邻居双方的带宽通过无线方式相互共享,使得参与共享带宽的用户,可以使用双方带宽的总和,在不增加成本的前提下有效的提高上网速度。

Description

一种带宽共享方法及装置
本发明要求于2016年4月28日提交中国专利局、申请号为2016102739110、发明名称为“一种带宽共享方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本发明中。
技术领域
本发明涉及路由器技术,尤其涉及一种带宽共享方法及装置。
背景技术
目前,用户在在线观看视频、玩大型游戏时可能需要较大的网络带宽,当前想要实现上网带宽提升,一种是购买更高带宽,另一种是使用PPPOE(Point to Point Protocol over Ethernet,点到点连接协议)多拨带宽叠加的方式叠加出更高带宽,例如:假设一个上网账号提供10M带宽,要想使上网带宽达到20M,需要再开通一个提供10M带宽的上网账号,然后通过路由器WAN口PPPOE同时拨两个账号,然后进行叠加带宽设置。
但是,在实际应用中,两个10M账号叠加成20M,价格往往比单独20M账号还要贵,所以并无实际意义;对于有些运营商不允许一个设备进行多账号拨号,这样将导致无法实现多拨带宽叠加;两个账号只能是相同运行商,如果不同运营商的宽带将不能叠加。
而且,对于用户已经购买的带宽,由于用户上网时并不能一直保持使用最大带宽,如用户观看视频时可能占用较大带宽,用户浏览网页时可能占用较小带宽,这样,剩余的带宽将会闲置,造成网络带宽资源的浪费。
发明内容
为克服相关技术中存在的问题,本发明提供一种带宽共享方法及装置。
根据本发明实施例的第一方面,提供一种带宽共享方法,应用于第一路由终端,包括:
检测当前网络中数据传输占用的第一带宽是否达到预设第一带宽阈值;
当所述第一带宽达到预设第一带宽阈值时,向第二路由终端发送带宽共享请求;
当接收到第二路由终端发送的允许共享响应时,获取第二路由终端通过预设通信连接共享的第二带宽;
利用所述第一带宽和第二带宽传输网络数据。
可选地,所述方法还包括:
当接收到第二路由终端发送的第一连接请求时,获取所述第一连接请求中第二路由终端的设备识别码;
判断所述设备识别码是否位于预设第一设备标识集合中,所述预设第一设备标识集合中包含至少一个设备识别码;
当所述设备识别码位于预设第一设备标识集合中时,将第一路由终端的网络连接账号和连接密码共享给第二路由终端,以使第二路由终端根据网络连接账号和连接密码与第一路由终端的预设逻辑端口建立通信连接。
可选地,所述利用所述第一带宽和第二带宽传输网络数据,包括:
获取利用第一带宽传输网络数据的第一优先级和利用第二带宽传输网络数据的第二优先级,所述第一优先级高于第二优先级;
根据预设的优先级与传输比例的对应关系,查找与第一优先级对应的第一传输比例和与第二优先级对应的第二传输比例,所述第一传输比例大于第二传输比例;
按照所述第一传输比例和第二传输比例,分别将利用第一带宽传输的网络数据和利用第二带宽传输的网络数据缓存到预设传输队列中;
发送所述预设传输队列中的网络数据。
根据本公开实施例的第二方面,提供一种带宽共享方法,应用于第二路由终端,包括:
当接收到第一路由终端发送的带宽共享请求时,获取当前网络中数据传输占用的占用带宽;
判断所述占用带宽是否小于预设第二带宽阈值;
当所述占用带宽小于预设第二带宽阈值时,根据所述占用带宽和所述预设第二带宽阈值确定共享给第一路由终端的第二带宽;
生成允许进行带宽共享的允许共享响应,所述允许共享响应中携带共享的第二带宽的信息;
将所述允许共享响应发送给第一路由终端。
可选地,所述方法还包括:
在将所述第二带宽共享给所述第一路由终端后,检测是否接收到请求调整带宽的调整带宽请求;
当接收到所述调整带宽请求时,显示包含至少一个待访问的网络资源类型的显示控件;
检测在所述显示控件上是否接收到选择任意一个网络资源类型的选择操作;
当接收到所述选择操作时,获取与选择的网络资源类型对应的调整带宽;
根据在将所述第二带宽共享时的所述占用带宽和所述调整带宽确定新的占用带宽。
根据本公开实施例的第二方面,提供一种带宽共享装置,应用于第一路由终端,包括:
第一检测模块,用于检测当前网络中数据传输占用的第一带宽是否达到预设第一带宽阈值;
第一发送模块,用于当所述第一带宽达到预设第一带宽阈值时,向第二路由终端发送带宽共享请求;
第一获取模块,用于当接收到第二路由终端发送的允许共享响应时,获取第二路由终端通过预设通信连接共享的第二带宽;
传输模块,用于利用所述第一带宽和第二带宽传输网络数据。
可选地,所述装置还包括:
第二获取模块,用于当接收到第二路由终端发送的第一连接请求时,获取所述第一连接请求中第二路由终端的设备识别码;
第一判断模块,用于判断所述设备识别码是否位于预设第一设备标识集合中,所述预设第一设备标识集合中包含至少一个设备识别码;
共享模块,用于当所述设备识别码位于预设第一设备标识集合中时,将第一路由 终端的网络连接账号和连接密码共享给第二路由终端,以使第二路由终端根据网络连接账号和连接密码与第一路由终端的预设逻辑端口建立通信连接。
可选地,所述传输模块包括:
获取子模块,用于获取利用第一带宽传输网络数据的第一优先级和利用第二带宽传输网络数据的第二优先级,所述第一优先级高于第二优先级;
查找子模块,用于根据预设的优先级与传输比例的对应关系,查找与第一优先级对应的第一传输比例和与第二优先级对应的第二传输比例,所述第一传输比例大于第二传输比例;
缓存子模块,用于按照所述第一传输比例和第二传输比例,分别将利用第一带宽传输的网络数据和利用第二带宽传输的网络数据缓存到预设传输队列中;
发送子模块,用于发送所述预设传输队列中的网络数据。
根据本公开实施例的第四方面,提供一种带宽共享装置,应用于第二路由终端,包括:
第二检测模块,用于当接收到第一路由终端发送的带宽共享请求时,获取当前网络中数据传输占用的占用带宽;
第二判断模块,用于判断所述占用带宽是否小于预设第二带宽阈值;
第一确定模块,用于当所述占用带宽小于预设第二带宽阈值时,根据所述占用带宽和所述预设第二带宽阈值确定共享给第一路由终端的第二带宽;
生成模块,用于生成允许进行带宽共享的允许共享响应,所述允许共享响应中携带共享的第二带宽的信息;
第二发送模块,用于将所述允许共享响应发送给第一路由终端。
可选地,所述装置还包括:
第三检测模块,用于在将所述第二带宽共享给所述第一路由终端后,检测是否接收到请求调整带宽的调整带宽请求;
显示模块,用于当接收到所述调整带宽请求时,显示包含至少一个待访问的网络资源类型的显示控件;
第四检测模块,用于检测在所述显示控件上是否接收到选择任意一个网络资源类 型的选择操作;
第三获取模块,用于当接收到所述选择操作时,获取与选择的网络资源类型对应的调整带宽;
第二确定模块,用于根据在将所述第二带宽共享时的所述占用带宽和所述调整带宽确定新的占用带宽。
本发明实施例提供了一种非暂态计算机可读存储介质,其中,该非暂态计算机可读存储介质可存储有计算机程序,该程序执行时可实现上述的应用于第一路由终端的一种带宽共享方法。
本发明实施例提供了一种非暂态计算机可读存储介质,其中,该非暂态计算机可读存储介质可存储有计算机程序,该程序执行时可实现上述的应用于第二路由终端的一种带宽共享方法。
本发明实施例还提供了一种第一路由终端,包括:一个或多个处理器;以及,存储器;其中,所述存储器存储有可被所述一个或多个处理器执行的指令,所述指令被所述一个或多个处理器执行,以使所述一个或多个处理器能够执行本发明上述应用于第一路由终端的一种带宽共享方法。
本发明实施例还提供了一种第二路由终端,包括:一个或多个处理器;以及,存储器;其中,所述存储器存储有可被所述一个或多个处理器执行的指令,所述指令被所述一个或多个处理器执行,以使所述一个或多个处理器能够执行本发明上述应用于第二路由终端的一种带宽共享方法。
本发明实施例提供一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行本发明实施例上述应用于第一路由终端的一种带宽共享方法。
本发明实施例提供一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指 令被计算机执行时,使所述计算机执行本发明实施例上述应用于第二路由终端的一种带宽共享方法。
本发明的实施例提供的技术方案可以包括以下有益效果:
本发明通过检测当前网络中数据传输占用的第一带宽是否达到预设第一带宽阈值,当所述第一带宽达到预设第一带宽阈值时,可以向第二路由终端发送带宽共享请求,当接收到第二路由终端发送的允许共享响应时,可以获取第二路由终端通过预设通信连接共享的第二带宽,最后可以利用所述第一带宽和第二带宽传输网络数据。
本发明提供的该方法,能够在邻居双方不购买更高带宽,不增加拨号帐号的情况下,突破以太网WAN口带宽上限,将邻居双方的带宽通过无线方式相互共享,使得参与共享带宽的用户,可以使用双方带宽的总和,在不增加成本的前提下有效的提高上网速度。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本发明。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理。
图1是根据一示例性实施例示出的一种带宽共享方法的流程图;
图2是根据一示例性实施例示出的应用场景示意图;
图3是根据一示例性实施例示出的另一种带宽共享方法的流程图;
图4是根据一示例性实施例示出的一种带宽共享装置的结构图;
图5是根据一示例性实施例示出的另一种带宽共享装置的结构图;
图6为本发明实施例提供的应用于第一路由终端的一种带宽共享方法的设备的硬件结构示意图;
图7为本发明实施例提供的应用于第二路由终端的一种带宽共享方法的设备的硬件结构示意图。
具体实施方式
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本发明相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本发明的一些方面相一致的装置和方法的例子。
如图1所示,在本发明的一个实施例中,提供一种带宽共享方法,应用于第一路由终端,如图2中所示,假设在实际应用中,用户A和用户B是邻居,他们都通过PPPoE拨号的方式上网,带宽10M。用户A使用的第一路由终端记作Router A,用户B使用的第二路由终端记作router B。这两个路由器可以互相收到对方的WiFi信号,信号强度达到可以流畅的进行数据传输的强度。
在Router A作为被共享的一方时,Router A的WAN_ETH_A是以太网WAN口。WAN_WIFI_A,AP_A_1,AP_A_2都是无线端口,其中WAN_WIFI_A作为逻辑端口,第一路由终端内部可以预先建立由WAN_ETH_A向AP_A_1,AP_A_2的通信连接,而且,预先建立由WAN_WIFI_A向AP_A_2的通信连接,不建立由WAN_WIFI_A向AP_A_2的通信连接,这样可以避免第二路由终端共享给第一路由终端的带宽再次共享给第二路由终端,AP_A_1,AP_A_2作为AP端口,为了保证数据传输的安全性,可以将AP端口与WAN_WIFI_A逻辑端口的网络连接账号和连接密码设置为不同。在Router B作为被共享的一方时,其配置与Router B类似,这里不再一一描述,所述带宽共享方法可以包括以下步骤。
在步骤S101中,检测当前网络中数据传输占用的第一带宽是否达到预设第一带宽阈值。
在本发明实施例中,预设第一带宽阈值可以根据第一路由终端的最大上网拨号带宽确定。
在该步骤中,可以首先通过数据采样等方式采集当前网络数据传输时占用的第一带宽,然后可以判断第一带宽是否等于最大上网拨号带宽,当第一带宽等于最大上网拨号带宽时,确定第一带宽达到预设第一带宽阈值。
当所述第一带宽达到预设第一带宽阈值时,在步骤S102中,向第二路由终端发送带宽共享请求。
在步骤S103中,当接收到第二路由终端发送的允许共享响应时,获取第二路由 终端通过预设通信连接共享的第二带宽。
在本发明实施例中,如图2所示,预设通信连接可以指由第二路由终端的AP端口向第一路由终端的逻辑端口预先建立的通信连接,通过所述预设通信连接,第二路由终端可以将第二带宽以流量的方式传输至第一路由终端的逻辑端口,以供第一路由终端在需要使用共享的第二带宽时使用。
由于在第一路由终端内部,逻辑端口与AP_A_2端口预先建立连接,这样,在第二路由终端将第二带宽以流量的方式传输至第一路由终端的逻辑端口后,可以将第二带宽以流量的方式再次传输至AP_A_2端口,进而,由AP_A_2将第一带宽和第二带宽以WIFI方式传播到User A的家中。
在步骤S104中,利用所述第一带宽和第二带宽传输网络数据。
在该步骤中,可以利用第一带宽和第二带宽一同传输网络数据,在实际应用中,可以优先利用第一带宽传输网络数据,然后利用第二带宽传输数据,这里的优先可以指时间先后上的优先,例如,可以将网络数据划分为使用第一带宽传输的网络数据和利用第二带宽传输的网络数据,在将利用第一带宽传输网络数据设置为高优先级,将利用第二带宽传输网络数据设置为低优先级时,可以优先传输使用第一带宽传输的网络数据,传输完毕后,传输使用第二带宽传输的网络数据;优先还可以指每次进行传输时利用第一带宽传输的网络数据所占的比例大于利用第二带宽传输的网络数据,例如,利用第一带宽传输的网络数据的比例为70%,利用第二带宽传输的网络数据的比例为30%等。
本发明通过检测当前网络中数据传输占用的第一带宽是否达到预设第一带宽阈值,当所述第一带宽达到预设第一带宽阈值时,可以向第二路由终端发送带宽共享请求,当接收到第二路由终端发送的允许共享响应时,可以获取第二路由终端通过预设通信连接共享的第二带宽,最后可以利用所述第一带宽和第二带宽传输网络数据。
本发明实施例提供的该方法,能够在邻居双方不购买更高带宽,不增加拨号帐号的情况下,突破以太网WAN口带宽上限,将邻居双方的带宽通过无线方式相互共享,使得参与共享带宽的用户,可以使用双方带宽的总和,在不增加成本的前提下有效的提高上网速度。
在本发明的又一实施例中,所述方法还包括以下步骤。
在步骤S201中,当接收到第二路由终端发送的第一连接请求时,获取所述第一 连接请求中第二路由终端的设备识别码。
在本发明实施例中,第一连接请求中,可以携带第二路由终端的设备识别码,这里的设备识别码可以指第二路由终端的MAC(Media Access Control或者Medium Access Control,媒体访问控制)地址等。
在步骤S202中,判断所述设备识别码是否位于预设第一设备标识集合中。
在本发明实施例中,所述预设第一设备标识集合中包含至少一个设备识别码,这里的预设第一设备标识集合可以用于存储所有可以与第一路由终端建立预设通信连接的路由终端的设备识别码,如:所有邻居家的路由终端的设备标识码。
在步骤S203中,当所述设备识别码位于预设第一设备标识集合中时,将第一路由终端的网络连接账号和连接密码共享给第二路由终端。
在该步骤中,可以将第一路由终端的逻辑端口的网络连接账号和连接密码发送给第二路由终端。
通过步骤S203,以便于第二路由终端根据网络连接账号和连接密码与第一路由终端的预设逻辑端口建立通信连接。
本发明通过当接收到第二路由终端发送的第一连接请求时,首先获取所述第一连接请求中第二路由终端的设备识别码,然后判断所述设备识别码是否位于预设第一设备标识集合中,当所述设备识别码位于预设第一设备标识集合中时,可以将第一路由终端的网络连接账号和连接密码共享给第二路由终端。
本发明实施例提供的该方法,能够在第二路由终端为可以与第一路由终端分享带宽的路由终端时,将第一路由终端的逻辑接口的网络连接账号和连接密码共享给第二路由终端,以使第二路由终端的AP接口可以与第一路由终端的逻辑接口建立通信连接。
在本发明的又一实施例中,所述步骤S104包括以下步骤。
在步骤S301中,获取利用第一带宽传输网络数据的第一优先级和利用第二带宽传输网络数据的第二优先级。
在本发明实施例中,所述第一优先级高于第二优先级。
在步骤S302中,根据预设的优先级与传输比例的对应关系,查找与第一优先级对应的第一传输比例和与第二优先级对应的第二传输比例。
在本发明实施例中,所述第一传输比例大于第二传输比例,例如,高优先级对应的第一传输比例可以为60%等,低优先级对应的第二传输比例可以为40%等。
在步骤S303中,按照所述第一传输比例和第二传输比例,分别将利用第一带宽传输的网络数据和利用第二带宽传输的网络数据缓存到预设传输队列中。
在该步骤中,可以预先划分使用第一带宽传输的网络数据和使用第二带宽传输的网络数据,然后按照第一传输比例和第二传输比例,将第一带宽传输的网络数据和第二带宽传输的网络数据缓存到预设传输队列中,这样,在传输队列中,使用第一带宽传输的网络数据为第一传输比例,使用第二带宽传输的网络数据为第二传输比例。
在步骤S304中,发送所述预设传输队列中的网络数据。
本发明通过首先获取利用第一带宽传输网络数据的第一优先级和利用第二带宽传输网络数据的第二优先级,然后根据预设的优先级与传输比例的对应关系,查找与第一优先级对应的第一传输比例和与第二优先级对应的第二传输比例,再按照所述第一传输比例和第二传输比例,分别将利用第一带宽传输的网络数据和利用第二带宽传输的网络数据缓存到预设传输队列中,最后可以发送所述预设传输队列中的网络数据。
本发明实施例提供的该方法,能够优先利用第一带宽传输网络数据,这样,可以降低由于网络共享导致的使用第二路由终端的邻居家的第二带宽的共享次数。
如图3所示,在本发明的又一实施例中,提供一种带宽共享方法,应用于第二路由终端,包括以下步骤。
在步骤S401中,当接收到第一路由终端发送的带宽共享请求时,获取当前网络中数据传输占用的占用带宽。
在本发明实施例中,第二路由终端中已使用的带宽即为占用带宽,占用带宽可以为0,也可以为1M、5M等。
在步骤S402中,判断所述占用带宽是否小于预设第二带宽阈值。
在本发明实施例中,第二带宽阈值可以指第二路由终端提供的总带宽,例如10M,也可以为总带宽的预设百分比,例如,10M*90%=9M等。
当所述占用带宽小于预设第二带宽阈值时,在步骤S403中,根据所述占用带宽和所述预设第二带宽阈值确定共享给第一路由终端的第二带宽。
在本发明实施例中,在确定第二带宽时,可以将除占用带宽外全部剩余的带宽共享给第一路由终端,也可以将全部剩余带宽的预设比例共享给第一路由终端,例如,80%,这样可以使在第二路由终端在使用网络传输数据时,突然增加占用带宽时,为调整共享带宽预留一定时间。
在步骤S404中,生成允许进行带宽共享的允许共享响应,所述允许共享响应中携带共享的第二带宽的信息。
在本发明实施例中,允许共享响应中携带的第二带宽的信息可以指共享的第二带宽为的数量,例如3M等等。
在步骤S405中,将所述允许共享响应发送给第一路由终端。
本发明通过当接收到第一路由终端发送的带宽共享请求时,首先获取当前网络中数据传输占用的占用带宽,然后判断所述占用带宽是否小于预设第二带宽阈值,当所述占用带宽小于预设第二带宽阈值时,可以根据所述占用带宽和所述预设第二带宽阈值确定共享给第一路由终端的第二带宽,再生成允许进行带宽共享的允许共享响应,所述允许共享响应中携带共享的第二带宽的信息,最后将所述允许共享响应发送给第一路由终端。
本发明实施例提供的该方法,能够在User B家中无人上网的情况下,User A可以使用自家以及User B的带宽,在User B家中有人上网的情况下,将家中的剩余带宽共享给User A,这样就做到了带宽最大利用。
当第二路由终端在共享带宽给第一路由终端后,可能由于User B忽然使用网络传输等情况是的占用带宽发生变化,例如,当User B由开始的浏览网页状态变为观看视频状态,这样将会导致占用带宽的增加,当User B由开始的观看视频状态变为浏览网页状态,这样将会导致占用带宽的减少,这样,由于User B在使用网络上的状态的变化导致其需要的带宽发生变化,这时,如果仍然按照之前共享的带宽继续共享带宽,将导致User B上网的不畅或者空闲带宽增多,为此在本发明的又一实施例中,所述方法还包括以下步骤。
在步骤S501中,在将所述第二带宽共享给所述第一路由终端后,检测是否接收到请求调整带宽的调整带宽请求。
在本发明实施例中,用户可以通过在显示界面上预设的带宽调整控件上输入某些预设操作触发发送调整带宽请求,例如,用户单击带宽调整控件等方式。
当接收到所述调整带宽请求时,在步骤S502中,显示包含至少一个待访问的网络资源类型的显示控件。
在实际应用中,显示控件上可以提示切换的网络资源类型,例如,播放视频、浏览网页等等,而且可以预设播放视频对应的带宽及浏览网页对应的带宽。
在步骤S503中,检测在所述显示控件上是否接收到选择任意一个网络资源类型的选择操作。
当接收到所述选择操作时,在步骤S504中,获取与选择的网络资源类型对应的调整带宽。
在实际应用中,可以将获取的播放视频对应的带宽确定为调整带宽,也可以将获取的浏览网页对应的带宽确定为调整带宽等等。
在步骤S505中,根据在将所述第二带宽共享时的所述占用带宽和所述调整带宽确定新的占用带宽。
在本发明实施例中,可以将原始的占用带宽加上或者减去调整带宽得到新的占用带宽,这里的原始的占用带宽可以指在将第二带宽共享时第二路由终端中占用的带宽,具体的选择“加上”或“减去”可以根据用户使用网络带宽的状况确定,例如,当User B由开始的浏览网页状态变为观看视频状态,这样由于占用带宽需要增加,这时可以将原始的占用带宽加上调整带宽,当User B由开始的观看视频状态变为浏览网页状态,这样由于占用带宽需要减少,这时可以将原始的占用带宽减去调整带宽。
本发明通过在将所述第二带宽共享给所述第一路由终端后,首先检测是否接收到请求调整带宽的调整带宽请求,当接收到所述调整带宽请求时,可以显示包含至少一个待访问的网络资源类型的显示控件,然后检测在所述显示控件上是否接收到选择任意一个网络资源类型的选择操作,当接收到所述选择操作时,再获取与选择的网络资源类型对应的调整带宽,最后根据在将所述第二带宽共享时的所述占用带宽和所述调整带宽确定新的占用带宽。
本发明实施例提供的该方法,能够自动根据User B使用网路的状态,自动调整共享带宽,避免由于共享带宽导致的上网不畅或者是空闲带宽增加的状况。
如图4所示,在本公开的又一实施例中,提供一种带宽共享装置,应用于第一路由终端,包括:第一检测模块41、第一发送模块42、第一获取模块43和传输模块44。
第一检测模块41,用于检测当前网络中数据传输占用的第一带宽是否达到预设第一带宽阈值。
第一发送模块42,用于当所述第一带宽达到预设第一带宽阈值时,向第二路由终端发送带宽共享请求。
第一获取模块43,用于当接收到第二路由终端发送的允许共享响应时,获取第二路由终端通过预设通信连接共享的第二带宽。
传输模块44,用于利用所述第一带宽和第二带宽传输网络数据。
在本公开的又一实施例中,所述装置还包括:第二获取模块、第一判断模块和共享模块。
第二获取模块,用于当接收到第二路由终端发送的第一连接请求时,获取所述第一连接请求中第二路由终端的设备识别码。
第一判断模块,用于判断所述设备识别码是否位于预设第一设备标识集合中,所述预设第一设备标识集合中包含至少一个设备识别码。
共享模块,用于当所述设备识别码位于预设第一设备标识集合中时,将第一路由终端的网络连接账号和连接密码共享给第二路由终端,以使第二路由终端根据网络连接账号和连接密码与第一路由终端的预设逻辑端口建立通信连接。
在本公开的又一实施例中,所述传输模块包括:获取子模块、查找子模块、缓存子模块和发送子模块。
获取子模块,用于获取利用第一带宽传输网络数据的第一优先级和利用第二带宽传输网络数据的第二优先级,所述第一优先级高于第二优先级。
查找子模块,用于根据预设的优先级与传输比例的对应关系,查找与第一优先级对应的第一传输比例和与第二优先级对应的第二传输比例,所述第一传输比例大于第二传输比例。
缓存子模块,用于按照所述第一传输比例和第二传输比例,分别将利用第一带宽传输的网络数据和利用第二带宽传输的网络数据缓存到预设传输队列中。
发送子模块,用于发送所述预设传输队列中的网络数据。
如图5所示,在本公开的又一实施例中,提供一种带宽共享装置,应用于第二路由终端,包括:第二检测模块51、第二判断模块52、第一确定模块53、生成模块54 和第二发送模块55。
第二检测模块51,用于当接收到第一路由终端发送的带宽共享请求时,获取当前网络中数据传输占用的占用带宽。
第二判断模块52,用于判断所述占用带宽是否小于预设第二带宽阈值。
第一确定模块53,用于当所述占用带宽小于预设第二带宽阈值时,根据所述占用带宽和所述预设第二带宽阈值确定共享给第一路由终端的第二带宽。
生成模块54,用于生成允许进行带宽共享的允许共享响应,所述允许共享响应中携带共享的第二带宽的信息。
第二发送模块55,用于将所述允许共享响应发送给第一路由终端。
在本公开的又一实施例中,所述装置还包括:第三检测模块、显示模块、第四检测模块、第三获取模块和第二确定模块。
第三检测模块,用于在将所述第二带宽共享给所述第一路由终端后,检测是否接收到请求调整带宽的调整带宽请求。
显示模块,用于当接收到所述调整带宽请求时,显示包含至少一个待访问的网络资源类型的显示控件。
第四检测模块,用于检测在所述显示控件上是否接收到选择任意一个网络资源类型的选择操作。
第三获取模块,用于当接收到所述选择操作时,获取与选择的网络资源类型对应的调整带宽。
第二确定模块,用于根据在将所述第二带宽共享时的所述占用带宽和所述调整带宽确定新的占用带宽。
本发明实施例还提供一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质可存储有程序,该程序执行时可实现执行前述任意一个实施例提供的应用于第一路由终端的一种带宽共享方法的各实现方式中的部分或全部步骤。
本发明实施例还提供一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质可存储有程序,该程序执行时可实现执行前述任意一个实施例提供的应用于第二路由终端的一种带宽共享方法的各实现方式中的部分或全部步骤。
图6是本发明实施例提供的第一路由终端的硬件结构示意图,如图6所示,该设备包括:
一个或多个处理器610以及存储器620,图6中以一个处理器610为例。
执行应用于第一路由终端的一种带宽共享方法的设备还可以包括:输入装置630和输出装置640。
处理器610、存储器620、输入装置630和输出装置640可以通过总线或者其他方式连接,图6中以通过总线连接为例。
存储器620作为一种非暂态计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块,如本发明实施例中的应用于第一路由终端的一种带宽共享方法对应的程序指令/模块。处理器610通过运行存储在存储器620中的非易失性软件程序、指令以及模块,从而执行第一路由终端的各种功能应用以及数据处理,即实现上述方法实施例的应用于第一路由终端的一种带宽共享方法。
存储器620可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据带宽共享装置的使用所创建的数据等。此外,存储器620可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器620可选包括相对于处理器610远程设置的存储器,这些远程存储器可以通过网络连接至带宽共享装置。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
输入装置630可接收输入的数字或字符信息,以及产生与带宽共享装置的用户设置以及功能控制有关的键信号输入。输出装置640可包括显示屏等显示设备。
所述一个或者多个模块存储在所述存储器620中,当被所述一个或者多个处理器610执行时,执行上述任意方法实施例中的应用于第一路由终端的一种带宽共享方法。
上述产品可执行本发明实施例所提供的方法,具备执行方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本发明实施例所提供的方法。
图7是本发明实施例提供的第二路由终端的硬件结构示意图,如图7所示,该设备包括:
一个或多个处理器710以及存储器720,图7中以一个处理器710为例。
执行应用于第二路由终端的一种带宽共享方法的设备还可以包括:输入装置730和输出装置740。
处理器710、存储器720、输入装置730和输出装置740可以通过总线或者其他方式连接,图7中以通过总线连接为例。
存储器720作为一种非暂态计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块,如本发明实施例中的应用于第二路由终端的一种带宽共享方法对应的程序指令/模块。处理器710通过运行存储在存储器720中的非易失性软件程序、指令以及模块,从而执行第二路由终端的各种功能应用以及数据处理,即实现上述方法实施例的应用于第二路由终端的一种带宽共享方法。
存储器720可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据带宽共享装置的使用所创建的数据等。此外,存储器720可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器720可选包括相对于处理器710远程设置的存储器,这些远程存储器可以通过网络连接至带宽共享装置。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
输入装置730可接收输入的数字或字符信息,以及产生与带宽共享装置的用户设置以及功能控制有关的键信号输入。输出装置740可包括显示屏等显示设备。
所述一个或者多个模块存储在所述存储器720中,当被所述一个或者多个处理器710执行时,执行上述任意方法实施例中的应用于第二路由终端的一种带宽共享方法。
上述产品可执行本发明实施例所提供的方法,具备执行方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本发明实施例所提供的方法。
本发明实施例的路由终端以多种形式存在,包括但不限于:
(1)移动通信设备:这类设备的特点是具备移动通信功能,并且以提供话音、数据通信为主要目标。这类终端包括:智能手机(例如iPhone)、多媒体手机、功能性手机,以及低端手机等。
(2)超移动个人计算机设备:这类设备属于个人计算机的范畴,有计算和处理功能,一般也具备移动上网特性。这类终端包括:PDA、MID和UMPC设备等,例如iPad。
(3)便携式娱乐设备:这类设备可以显示和播放多媒体内容。该类设备包括:音频、预览播放器(例如iPod),掌上游戏机,电子书,以及智能玩具和便携式车载导航设备。
(4)服务器:提供计算服务的设备,服务器的构成包括处理器、硬盘、内存、系统总线等,服务器和通用的计算机架构类似,但是由于需要提供高可靠的服务,因此在处理能力、稳定性、可靠性、安全性、可扩展性、可管理性等方面要求较高。
(5)其他具有数据交互功能的电子装置。
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本发明的其它实施方案。本发明旨在涵盖本发明的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本发明的一般性原理并包括本发明未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本发明的真正范围和精神由所附的权利要求指出。
应当理解的是,本发明并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本发明的范围仅由所附的权利要求来限制。

Claims (14)

  1. 一种带宽共享方法,应用于第一路由终端,其特征在于,包括:
    检测当前网络中数据传输占用的第一带宽是否达到预设第一带宽阈值;
    当所述第一带宽达到预设第一带宽阈值时,向第二路由终端发送带宽共享请求;
    当接收到第二路由终端发送的允许共享响应时,获取第二路由终端通过预设通信连接共享的第二带宽;
    利用所述第一带宽和第二带宽传输网络数据。
  2. 根据权利要求1所述的带宽共享方法,其特征在于,所述方法还包括:
    当接收到第二路由终端发送的第一连接请求时,获取所述第一连接请求中第二路由终端的设备识别码;
    判断所述设备识别码是否位于预设第一设备标识集合中,所述预设第一设备标识集合中包含至少一个设备识别码;
    当所述设备识别码位于预设第一设备标识集合中时,将第一路由终端的网络连接账号和连接密码共享给第二路由终端,以使第二路由终端根据网络连接账号和连接密码与第一路由终端的预设逻辑端口建立通信连接。
  3. 根据权利要求1所述的带宽共享方法,其特征在于,所述利用所述第一带宽和第二带宽传输网络数据,包括:
    获取利用第一带宽传输网络数据的第一优先级和利用第二带宽传输网络数据的第二优先级,所述第一优先级高于第二优先级;
    根据预设的优先级与传输比例的对应关系,查找与第一优先级对应的第一传输比例和与第二优先级对应的第二传输比例,所述第一传输比例大于第二传输比例;
    按照所述第一传输比例和第二传输比例,分别将利用第一带宽传输的网络数据和利用第二带宽传输的网络数据缓存到预设传输队列中;
    发送所述预设传输队列中的网络数据。
  4. 一种带宽共享方法,应用于第二路由终端,其特征在于,包括:
    当接收到第一路由终端发送的带宽共享请求时,获取当前网络中数据传输占用的占用带宽;
    判断所述占用带宽是否小于预设第二带宽阈值;
    当所述占用带宽小于预设第二带宽阈值时,根据所述占用带宽和所述预设第二带宽阈值确定共享给第一路由终端的第二带宽;
    生成允许进行带宽共享的允许共享响应,所述允许共享响应中携带共享的第二带宽的信息;
    将所述允许共享响应发送给第一路由终端。
  5. 根据权利要求4所述的带宽共享方法,其特征在于,所述方法还包括:
    在将所述第二带宽共享给所述第一路由终端后,检测是否接收到请求调整带宽的调整带宽请求;
    当接收到所述调整带宽请求时,显示包含至少一个待访问的网络资源类型的显示控件;
    检测在所述显示控件上是否接收到选择任意一个网络资源类型的选择操作;
    当接收到所述选择操作时,获取与选择的网络资源类型对应的调整带宽;
    根据在将所述第二带宽共享时的所述占用带宽和所述调整带宽确定新的占用带宽。
  6. 一种带宽共享装置,应用于第一路由终端,其特征在于,包括:
    第一检测模块,用于检测当前网络中数据传输占用的第一带宽是否达到预设第一带宽阈值;
    第一发送模块,用于当所述第一带宽达到预设第一带宽阈值时,向第二路由终端发送带宽共享请求;
    第一获取模块,用于当接收到第二路由终端发送的允许共享响应时,获取第二路由终端通过预设通信连接共享的第二带宽;
    传输模块,用于利用所述第一带宽和第二带宽传输网络数据。
  7. 根据权利要求6所述的带宽共享装置,其特征在于,所述装置还包括:
    第二获取模块,用于当接收到第二路由终端发送的第一连接请求时,获取所 述第一连接请求中第二路由终端的设备识别码;
    第一判断模块,用于判断所述设备识别码是否位于预设第一设备标识集合中,所述预设第一设备标识集合中包含至少一个设备识别码;
    共享模块,用于当所述设备识别码位于预设第一设备标识集合中时,将第一路由终端的网络连接账号和连接密码共享给第二路由终端,以使第二路由终端根据网络连接账号和连接密码与第一路由终端的预设逻辑端口建立通信连接。
  8. 根据权利要求6所述的带宽共享装置,其特征在于,所述传输模块包括:
    获取子模块,用于获取利用第一带宽传输网络数据的第一优先级和利用第二带宽传输网络数据的第二优先级,所述第一优先级高于第二优先级;
    查找子模块,用于根据预设的优先级与传输比例的对应关系,查找与第一优先级对应的第一传输比例和与第二优先级对应的第二传输比例,所述第一传输比例大于第二传输比例;
    缓存子模块,用于按照所述第一传输比例和第二传输比例,分别将利用第一带宽传输的网络数据和利用第二带宽传输的网络数据缓存到预设传输队列中;
    发送子模块,用于发送所述预设传输队列中的网络数据。
  9. 一种带宽共享装置,应用于第二路由终端,其特征在于,包括:
    第二检测模块,用于当接收到第一路由终端发送的带宽共享请求时,获取当前网络中数据传输占用的占用带宽;
    第二判断模块,用于判断所述占用带宽是否小于预设第二带宽阈值;
    第一确定模块,用于当所述占用带宽小于预设第二带宽阈值时,根据所述占用带宽和所述预设第二带宽阈值确定共享给第一路由终端的第二带宽;
    生成模块,用于生成允许进行带宽共享的允许共享响应,所述允许共享响应中携带共享的第二带宽的信息;
    第二发送模块,用于将所述允许共享响应发送给第一路由终端。
  10. 根据权利要求9所述的带宽共享装置,其特征在于,所述装置还包括:
    第三检测模块,用于在将所述第二带宽共享给所述第一路由终端后,检测是否接收到请求调整带宽的调整带宽请求;
    显示模块,用于当接收到所述调整带宽请求时,显示包含至少一个待访问的网络资源类型的显示控件;
    第四检测模块,用于检测在所述显示控件上是否接收到选择任意一个网络资源类型的选择操作;
    第三获取模块,用于当接收到所述选择操作时,获取与选择的网络资源类型对应的调整带宽;
    第二确定模块,用于根据在将所述第二带宽共享时的所述占用带宽和所述调整带宽确定新的占用带宽。
  11. 一种非暂态计算机可读存储介质,其特征在于,所述非暂态计算机可读存储介质存储计算机程序,所述计算机程序用于使所述计算机执行权利要求1-5任一所述方法。
  12. 一种第一路由终端,包括:
    一个或多个处理器;以及,
    存储器;其特征在于,
    所述存储器存储有可被所述一个或多个处理器执行的指令,所述指令被所述一个或多个处理器执行,以使所述一个或多个处理器:
    检测当前网络中数据传输占用的第一带宽是否达到预设第一带宽阈值;
    当所述第一带宽达到预设第一带宽阈值时,向第二路由终端发送带宽共享请求;
    当接收到第二路由终端发送的允许共享响应时,获取第二路由终端通过预设通信连接共享的第二带宽;
    利用所述第一带宽和第二带宽传输网络数据。
  13. 一种第二路由终端,包括:
    一个或多个处理器;以及,
    存储器;其特征在于,
    所述存储器存储有可被所述一个或多个处理器执行的指令,所述指令被所述一个或多个处理器执行,以使所述一个或多个处理器:
    当接收到第一路由终端发送的带宽共享请求时,获取当前网络中数据传输占用的占用带宽;
    判断所述占用带宽是否小于预设第二带宽阈值;
    当所述占用带宽小于预设第二带宽阈值时,根据所述占用带宽和所述预设第二带宽阈值确定共享给第一路由终端的第二带宽;
    生成允许进行带宽共享的允许共享响应,所述允许共享响应中携带共享的第二带宽的信息;
    将所述允许共享响应发送给第一路由终端。
  14. 一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行权利要求1-5所述的方法。
PCT/CN2016/103538 2016-04-28 2016-10-27 一种带宽共享方法及装置 Ceased WO2017185697A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610273911.0 2016-04-28
CN201610273911.0A CN105959240A (zh) 2016-04-28 2016-04-28 一种带宽共享方法及装置

Publications (1)

Publication Number Publication Date
WO2017185697A1 true WO2017185697A1 (zh) 2017-11-02

Family

ID=56916675

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/103538 Ceased WO2017185697A1 (zh) 2016-04-28 2016-10-27 一种带宽共享方法及装置

Country Status (2)

Country Link
CN (1) CN105959240A (zh)
WO (1) WO2017185697A1 (zh)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111211944A (zh) * 2020-01-07 2020-05-29 深圳市吉祥腾达科技有限公司 一种路由器一wan多拨稳定性测试系统及测试方法
CN112332999A (zh) * 2020-09-23 2021-02-05 深圳Tcl新技术有限公司 带宽分配方法、装置、设备及计算机可读存储介质
CN112868265A (zh) * 2020-11-20 2021-05-28 达闼机器人有限公司 网络资源的管理方法、管理装置、电子设备及存储介质
CN113115327A (zh) * 2021-03-04 2021-07-13 广州杰赛科技股份有限公司 一种网络性能动态优化的方法、装置、设备及存储介质
CN113660173A (zh) * 2021-08-16 2021-11-16 北京字节跳动网络技术有限公司 一种流量控制方法、装置、计算机设备及存储介质
CN114006820A (zh) * 2020-07-28 2022-02-01 中移(苏州)软件技术有限公司 一种传输带宽调整方法及设备、计算机可读存储介质
CN114257515A (zh) * 2021-12-21 2022-03-29 中国电信集团系统集成有限责任公司 一种带宽二次调度方法及装置
CN114629737A (zh) * 2020-12-14 2022-06-14 深圳Tcl新技术有限公司 一种带宽调整方法、装置、网关设备及存储介质
CN115426652A (zh) * 2022-09-06 2022-12-02 中国联合网络通信集团有限公司 共享天线调整方法及系统

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105959240A (zh) * 2016-04-28 2016-09-21 乐视控股(北京)有限公司 一种带宽共享方法及装置
CN106572031B (zh) * 2016-10-31 2019-11-15 中山大学 一种应用于社区化智能家庭的带宽共享方法
CN109041169A (zh) * 2018-07-13 2018-12-18 上海斐讯数据通信技术有限公司 一种路由器闲置带宽的网络共享方法及系统
CN114070792B (zh) * 2020-07-29 2023-10-24 华人运通(江苏)技术有限公司 车载以太网带宽分配方法、装置、电子设备及存储介质
CN112055175B (zh) * 2020-08-28 2023-03-24 浙江大华技术股份有限公司 基于视频分区的协商传输方法、电子设备以及计存储介质
CN113727394B (zh) * 2021-08-31 2023-11-21 杭州迪普科技股份有限公司 共享带宽的实现方法及装置
US12316552B2 (en) * 2022-04-19 2025-05-27 Mediatek Inc. Data bandwidth management method and device
CN116546256A (zh) * 2023-06-15 2023-08-04 深圳市玥芯通科技有限公司 一种5g网络连接方法、机顶盒和存储介质
CN119814572A (zh) * 2024-12-24 2025-04-11 新华三技术有限公司 调整共享带宽的方法、装置、电子设备及介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040174889A1 (en) * 2000-07-25 2004-09-09 Hisao Kikuchi Network system and communication band control method thereof
CN102685815A (zh) * 2011-03-11 2012-09-19 国基电子(上海)有限公司 无线网络设备及其带宽共享方法
CN104272693A (zh) * 2012-04-30 2015-01-07 惠普发展公司,有限责任合伙企业 分配网络带宽
CN105490966A (zh) * 2014-09-17 2016-04-13 联想(北京)有限公司 动态共享网络带宽的方法和电子设备
CN105959240A (zh) * 2016-04-28 2016-09-21 乐视控股(北京)有限公司 一种带宽共享方法及装置

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101656894B (zh) * 2008-08-20 2012-11-21 华为技术有限公司 包分插复用设备及包分插复用设备的数据传输方法
CN105490965A (zh) * 2014-09-17 2016-04-13 联想(北京)有限公司 一种信息处理方法及路由电子设备
CN105490953A (zh) * 2014-09-17 2016-04-13 联想(北京)有限公司 一种信息处理方法及电子设备
CN104243266A (zh) * 2014-09-18 2014-12-24 小米科技有限责任公司 访问网络的方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040174889A1 (en) * 2000-07-25 2004-09-09 Hisao Kikuchi Network system and communication band control method thereof
CN102685815A (zh) * 2011-03-11 2012-09-19 国基电子(上海)有限公司 无线网络设备及其带宽共享方法
CN104272693A (zh) * 2012-04-30 2015-01-07 惠普发展公司,有限责任合伙企业 分配网络带宽
CN105490966A (zh) * 2014-09-17 2016-04-13 联想(北京)有限公司 动态共享网络带宽的方法和电子设备
CN105959240A (zh) * 2016-04-28 2016-09-21 乐视控股(北京)有限公司 一种带宽共享方法及装置

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111211944A (zh) * 2020-01-07 2020-05-29 深圳市吉祥腾达科技有限公司 一种路由器一wan多拨稳定性测试系统及测试方法
CN114006820A (zh) * 2020-07-28 2022-02-01 中移(苏州)软件技术有限公司 一种传输带宽调整方法及设备、计算机可读存储介质
CN114006820B (zh) * 2020-07-28 2023-09-05 中移(苏州)软件技术有限公司 一种传输带宽调整方法及设备、计算机可读存储介质
CN112332999B (zh) * 2020-09-23 2023-08-01 深圳Tcl新技术有限公司 带宽分配方法、装置、设备及计算机可读存储介质
CN112332999A (zh) * 2020-09-23 2021-02-05 深圳Tcl新技术有限公司 带宽分配方法、装置、设备及计算机可读存储介质
CN112868265A (zh) * 2020-11-20 2021-05-28 达闼机器人有限公司 网络资源的管理方法、管理装置、电子设备及存储介质
CN112868265B (zh) * 2020-11-20 2023-08-25 达闼机器人股份有限公司 网络资源的管理方法、管理装置、电子设备及存储介质
CN114629737B (zh) * 2020-12-14 2024-03-12 深圳Tcl新技术有限公司 一种带宽调整方法、装置、网关设备及存储介质
CN114629737A (zh) * 2020-12-14 2022-06-14 深圳Tcl新技术有限公司 一种带宽调整方法、装置、网关设备及存储介质
CN113115327A (zh) * 2021-03-04 2021-07-13 广州杰赛科技股份有限公司 一种网络性能动态优化的方法、装置、设备及存储介质
CN113660173A (zh) * 2021-08-16 2021-11-16 北京字节跳动网络技术有限公司 一种流量控制方法、装置、计算机设备及存储介质
CN113660173B (zh) * 2021-08-16 2024-04-26 抖音视界有限公司 一种流量控制方法、装置、计算机设备及存储介质
CN114257515A (zh) * 2021-12-21 2022-03-29 中国电信集团系统集成有限责任公司 一种带宽二次调度方法及装置
CN114257515B (zh) * 2021-12-21 2024-04-05 中电信数智科技有限公司 一种带宽二次调度方法及装置
CN115426652A (zh) * 2022-09-06 2022-12-02 中国联合网络通信集团有限公司 共享天线调整方法及系统

Also Published As

Publication number Publication date
CN105959240A (zh) 2016-09-21

Similar Documents

Publication Publication Date Title
WO2017185697A1 (zh) 一种带宽共享方法及装置
US11627205B2 (en) Information processing method and apparatus, communication device and storage medium
KR101780637B1 (ko) 연결 상태 프롬프팅 방법 및 장치
WO2020094034A1 (zh) 用于终端的无线网络连接方法
CN109088799B (zh) 一种客户端接入方法、装置、终端以及存储介质
CN106454497A (zh) 一种投屏播放视频的方法及装置
CN104378801A (zh) 接入无线网络的方法及装置
WO2017107542A1 (zh) 视频节目获取方法、设备及系统
WO2015032277A1 (zh) 视频会议中媒体流的传输方法与装置
CN103813475B (zh) 一种数据传输方法、数据获取方法及电子设备
US9774705B2 (en) Router-based networking control
US20140310741A1 (en) System for sharing data via cloud server and method thereof
WO2017211020A1 (zh) 一种电视操控方法及装置
US12464579B2 (en) Information interaction method and apparatus, and electronic device
US20170171496A1 (en) Method and Electronic Device for Screen Projection
JP6140910B2 (ja) ネットワークにアクセスする方法、装置、プログラム及び記録媒体
WO2017107550A1 (zh) 网络连接方法和装置
US20240163133A1 (en) Autoconnect Virtual Private Network
KR102311514B1 (ko) 시커 디바이스와 목표 디바이스 간의 접속을 설정하는 방법 및 시스템
EP2849422A2 (en) Apparatus, system, and method of managing data, and carrier means
CN106792892B (zh) 应用程序的访问控制方法和装置
US20170171339A1 (en) Advertisement data transmission method, electrnoic device and system
EP2879363A1 (en) Apparatus, system, and method of managing counterpart terminal information, and carrier medium
US10873530B2 (en) Method for controlling data transmission, device, and storage medium
CN109981558B (zh) 智能家居设备的认证方法、设备及系统

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 16900205

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16900205

Country of ref document: EP

Kind code of ref document: A1