CN102932280A - Method, device and system for realizing bandwidth control - Google Patents

Method, device and system for realizing bandwidth control Download PDF

Info

Publication number
CN102932280A
CN102932280A CN201210393819XA CN201210393819A CN102932280A CN 102932280 A CN102932280 A CN 102932280A CN 201210393819X A CN201210393819X A CN 201210393819XA CN 201210393819 A CN201210393819 A CN 201210393819A CN 102932280 A CN102932280 A CN 102932280A
Authority
CN
China
Prior art keywords
terminal
bandwidth
managed
address
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201210393819XA
Other languages
Chinese (zh)
Inventor
贾记磊
孙超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201210393819XA priority Critical patent/CN102932280A/en
Publication of CN102932280A publication Critical patent/CN102932280A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method, device and system for realizing bandwidth control, relates to the communication field and solves the problems that service access is not smooth as multiple terminal devices share bandwidth resource when remaining bandwidth is insufficient and multiple terminals access one IPTV (Internet Protocol Television) service. The concrete scheme comprises that a management terminal broadcasts a management message in a home network in a preset management period; a response message corresponding to the management message sent by a managed terminal is received; whether the remaining bandwidth is not less than bandwidth demand is judged; when the remaining bandwidth is not less than the bandwidth demand, the bandwidth is allocated according to the bandwidth demand; and an address of the managed terminal allocated with the bandwidth is added into an address list. By adopting the method provided by the embodiment of the invention, bandwidth control in the home network can be realized.

Description

A kind of methods, devices and systems of realizing bandwidth control
Technical field
The present invention relates to the communications field, relate in particular to a kind of methods, devices and systems of realizing bandwidth control.
Background technology
IPTV (Internet Protocol Television, IPTV) is the infrastructure of utilizing broadband cabled television network, as main terminal appliance, the procotol by the Internet provides the multiple digital media service that comprises TV programme with domestic television set.The user can add set-top box or PC is enjoyed multiple multimedia service function by TV, comprises digital television program, video telephone, internet browsing, Email, and on-line information consultant, amusement, education and business function; Can carry out the operations such as displaying predetermined programme, in real time F.F., rewind down, Promgramming.Because these characteristics of IPTV business, be widely used in the middle of family's scene by the user, a plurality of terminal equipments can use multinomial IPTV professional in the middle of the family.When terminal equipment used IPTV professional, operator can reserve corresponding bandwidth for each IPTV is professional, and under same IPTV business, a plurality of terminal equipments are shared bandwidth resources.
State in realization in the process that the user uses the IPTV business, the inventor finds that there are the following problems at least in the prior art: when the remaining bandwidth deficiency, and when the same IPTV of a plurality of terminal accesses is professional, shares bandwidth resources between a plurality of terminal equipments and may cause the slack problem of Operational Visit.
Summary of the invention
Embodiments of the invention provide the methods, devices and systems of a kind of bandwidth control, and when remaining bandwidth is not enough, and the same IPTV of a plurality of terminal access is when professional, so that at least one terminal can be carried out Operational Visit glibly.
For achieving the above object, embodiments of the invention adopt following technical scheme:
First aspect provides a kind of method that realizes bandwidth control, comprising:
Office terminal in the home network sends administrative messag to the terminal that is managed in the described home network, and described administrative messag comprises default address list, and described address list comprises the address that is managed terminal that is assigned with bandwidth;
Receive and be managed the response message that terminal sends in the described home network, wherein, when not being included in the described address list in the described address that is managed terminal, described response message comprises the described bandwidth demand amount that is managed terminal;
When described response message comprises described bandwidth demand amount, and remaining bandwidth is the described terminal distribution bandwidth that is managed according to described bandwidth demand amount, and the described address that is managed terminal is increased in the described address list when being not less than described bandwidth demand amount.
In the possible implementation of the first of first aspect, the be managed terminal of the office terminal in the described home network in described home network sends after the administrative messag, and described method also comprises:
If described address list comprises the described address that is managed terminal, and when in setting time does not receive the described response message that is managed terminal feedback, the described address that is managed terminal is deleted from described address list.
In the possible implementation of the second of first aspect, the be managed terminal of described office terminal in the described home network sends before the described administrative messag, and described method also comprises:
Current terminal is after successfully logining, and when not receiving described administrative messag within the default time interval, described current terminal is broadcasted election message in described home network, and described election message comprises the address of described current terminal;
When the response that within the default stand-by period, do not receive for described election message, described current terminal with self as described office terminal.
In conjunction with the possible implementation of the first of first aspect or first aspect any one implementation to the possible implementation of the second, in the third possible implementation, be described being managed after the terminal distribution bandwidth according to described bandwidth demand amount, described method also comprises:
Receive the described bandwidth renewal solicitation message that terminal sends that is managed, described bandwidth is upgraded solicitation message and is comprised the described bandwidth demand amount that is managed terminal;
When described remaining bandwidth is not less than described bandwidth and upgrades bandwidth requirement in the solicitation message, upgrade bandwidth demand amount in the solicitation message according to described bandwidth, for the described terminal that is managed is redistributed bandwidth.
In the 4th kind of possible implementation of first aspect, when the described address packet that is managed terminal was contained in the described address list, described method also comprised:
If describedly be managed terminal not start IPTV IPTV professional, then described to be managed the described IPTV IPTV of starting terminal professional.
Second aspect provides a kind of method that realizes bandwidth control, comprising:
The terminal that is managed in the home network receives the administrative messag that the office terminal in the described home network sends, and described administrative messag comprises address list, and described address list comprises the address that is managed terminal that is assigned with bandwidth;
If described address list does not comprise the described address that is managed terminal, then send response message to described office terminal, described response message carries the described bandwidth demand amount that is managed terminal, so that when described office terminal is not less than described bandwidth demand amount at remaining bandwidth, be the described terminal distribution bandwidth that is managed according to described bandwidth demand amount.
In the possible implementation of the first of second aspect, when described address list comprised the described address that is managed terminal, then described method also comprised:
If describedly be managed terminal not start IPTV IPTV professional, then described to be managed the described IPTV IPTV of starting terminal professional.
In conjunction with the possible implementation of the first of second aspect, in the possible implementation of the second, described be managed the described IPTV IPTV of starting terminal business after, described method also comprises:
Send bandwidth to described office terminal and upgrade solicitation message, described bandwidth is upgraded solicitation message and is comprised the described bandwidth demand amount that is managed terminal, so that described office terminal is when described remaining bandwidth is not less than described bandwidth and upgrades bandwidth demand amount in the solicitation message, according to the bandwidth demand amount in the described bandwidth renewal solicitation message, for the described terminal that is managed is redistributed bandwidth;
When successful response message was applied in the bandwidth renewal that receives the transmission of described office terminal, the described terminal that is managed began to start new IPTV business.
In the third possible implementation of second aspect, described method also comprises:
When in setting time does not receive described administrative messag, the described terminal that is managed is broadcasted election message in home network;
Receive that other are managed the election feedback message that terminal is returned in the described home network, described election feedback message comprises described other and is managed the address of terminal;
Described election feedback message is continued to broadcast in described home network; When other that receive described election feedback message are managed terminal and are not present in described election feedback message in the address of self, the address of self is added in the described election feedback message, and the election feedback message that adds the address of self is continued to feed back to the described terminal that is managed;
When no longer increasing new address in the election feedback message of described home network broadcasting, the terminal that receives described election feedback message determines according to the address in self address and the described election feedback message whether self is described office terminal.
The third aspect provides a kind of office terminal, comprising:
Transmitting element is used for sending administrative messag to the terminal that is managed of home network, and described administrative messag comprises default address list, and described address list comprises the address that is managed terminal that is assigned with bandwidth;
Receiving element is used for receiving described home network and is managed the response message that terminal sends, and wherein, when not being included in the described address list in the described address that is managed terminal, described response message comprises the described bandwidth demand amount that is managed terminal;
The allocated bandwidth unit, be used for comprising described bandwidth demand amount when the response message that described receiving element receives, and when remaining bandwidth is not less than described bandwidth demand amount, be the described terminal distribution bandwidth that is managed according to described bandwidth demand amount, and the described address that is managed terminal is increased in the described address list.
In the possible implementation of the first of the third aspect, described office terminal also comprises:
The address delete cells, be used for described transmitting element being managed after terminal sends administrative messag to described home network, when described address list comprises the described address that is managed terminal, and when in setting time does not receive the described response message that is managed terminal feedback, the described address that is managed terminal is deleted from described address list.
In the possible implementation of the second of the third aspect, described office terminal also comprises:
Election information broadcast unit is used in current terminal after successfully logining, when within the default time interval, not receiving described administrative messag, and broadcasting election message in described home network, described election message comprises the address of described current terminal;
The office terminal confirmation unit is used for when the response that do not receive in the stand-by period of presetting for described election message, with self as described office terminal, so that described transmitting element sends described administrative messag.
In conjunction with the possible implementation of the first of the third aspect or the third aspect any one implementation to the possible implementation of the second, in the third possible implementation, described receiving element also be used for described allocated bandwidth unit according to described bandwidth demand amount be described be managed the terminal distribution bandwidth after, receive the described bandwidth renewal solicitation message that terminal sends that is managed, described bandwidth is upgraded solicitation message and is comprised the described bandwidth demand amount that is managed terminal;
Described allocated bandwidth unit also is used for when described remaining bandwidth is not less than the bandwidth requirement of described bandwidth renewal solicitation message, according to the bandwidth demand amount in the described bandwidth renewal solicitation message, for the described terminal that is managed is redistributed bandwidth.
Fourth aspect provides a kind of terminal that is managed, and comprising:
Receiving element is used for the administrative messag that the receiving management terminal sends, and described administrative messag comprises address list, and described address list comprises the address that is managed terminal that is assigned with bandwidth;
Transmitting element, when being used for address list when described receiving element reception and not comprising the described address that is managed terminal, send response message to described office terminal, described response message carries the described bandwidth demand amount that is managed terminal, so that when described office terminal is not less than described bandwidth demand amount at remaining bandwidth, be the described terminal distribution bandwidth that is managed according to described bandwidth demand amount.
In the possible implementation of the first of fourth aspect, the described terminal that is managed also comprises:
The initiation of services unit is used for comprising the described address that is managed terminal at the address list that described receiving element receives, and the described terminal that is managed do not start IPTV IPTV when professional, starts described IPTV IPTV professional.
In conjunction with the possible implementation of the first of fourth aspect, in the possible implementation of the second, the described terminal that is managed also comprises bandwidth renewal application unit, described bandwidth is upgraded application unit and is used for after the described IPTV IPTV of described initiation of services unit starting business, send bandwidth to described office terminal and upgrade solicitation message, described bandwidth is upgraded solicitation message and is comprised the described bandwidth demand amount that is managed terminal, so that described office terminal is when described remaining bandwidth is not less than described bandwidth and upgrades bandwidth demand amount in the solicitation message, according to the bandwidth demand amount in the described bandwidth renewal solicitation message, for the described terminal that is managed is redistributed bandwidth;
Described receiving element also is used for receiving the successful response message of bandwidth renewal application that described office terminal sends;
When successful response message is also applied for for the bandwidth renewal that receives the transmission of described office terminal when described receiving element in described initiation of services unit, begin to start new IPTV professional.
In the third possible implementation of fourth aspect, described transmitting element also is used for when the described receiving element of in setting time does not receive described administrative messag, broadcasting election message in described home network;
Described receiving element also is used for receiving described home network, and other are managed the election feedback message that terminal is returned, and described election feedback message comprises described other and is managed the address of terminal;
Described transmitting element also is used for the described election feedback message that described receiving element receives is continued to broadcast at described home network; When other that receive described election feedback message are managed terminal and are not present in described election feedback message in the address of self, the address of self is added in the described election feedback message, and the election feedback message that adds the address of self is continued to feed back to the described receiving element that is managed terminal;
Wherein, the described terminal that is managed also comprises the office terminal identifying unit, be used for when the election feedback message in described home network broadcasting of described receiving element reception no longer increases new address, according to the address in the terminal that receives described election feedback message self address and the described election feedback message, determine whether self is described office terminal.
The 5th aspect provides a kind of bandwidth control system, comprises such as the described office terminal of any one possible implementation of the above-mentioned third aspect or the third aspect and the described terminal that is managed of any one possible implementation of fourth aspect or fourth aspect.
The methods, devices and systems of the realization bandwidth control that the embodiment of the invention provides, send administrative messag by the office terminal in the home network to the terminal that is managed in the home network, the address list record that this administrative messag comprises has been assigned with the address that is managed terminal of bandwidth; After being managed terminal and receiving administrative messag, if the address that is managed terminal then requires bandwidth by response message to the office terminal not at this address list; The office terminal when remaining bandwidth is not less than the bandwidth demand amount that is managed terminal for being managed the terminal distribution bandwidth, can start the IPTV business according to the bandwidth that is assigned with in order to be managed terminal, pass through such scheme, so that when the remaining bandwidth deficiency, and when the same IPTV of a plurality of terminal accesses is professional, can guarantee that at least one terminal can carry out Operational Visit glibly.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, the below will do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art, apparently, accompanying drawing in the following describes only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
A kind of system architecture diagram of realizing bandwidth control that Fig. 1 provides for the embodiment of the invention;
A kind of flow chart of realizing the method for bandwidth control that Fig. 2 provides for the embodiment of the invention 1;
The another kind that Fig. 3 provides for the embodiment of the invention 1 is realized the flow chart of the method for bandwidth control;
A kind of signaling diagram of realizing the method for bandwidth control that Fig. 4 provides for the embodiment of the invention 2;
A kind of signaling diagram of realizing the method for bandwidth control that Fig. 5 provides for the embodiment of the invention 3;
A kind of signaling diagram of realizing the method for bandwidth control that Fig. 6 provides for the embodiment of the invention 4;
A kind of signaling diagram of realizing the method for bandwidth control that Fig. 7 provides for the embodiment of the invention 5;
The block diagram of a kind of office terminal that Fig. 8 provides for the embodiment of the invention 6;
The block diagram of the another kind of office terminal that Fig. 9 provides for the embodiment of the invention 6;
The block diagram of the another kind of office terminal that Figure 10 provides for the embodiment of the invention 6;
The block diagram of the another kind of office terminal that Figure 11 provides for the embodiment of the invention 6;
A kind of block diagram that is managed terminal that Figure 12 provides for the embodiment of the invention 6;
The another kind that Figure 13 provides for the embodiment of the invention 6 is managed the block diagram of terminal;
The another kind that Figure 14 provides for the embodiment of the invention 6 is managed the block diagram of terminal;
The another kind that Figure 15 provides for the embodiment of the invention 6 is managed the block diagram of terminal;
The another kind that Figure 16 provides for the embodiment of the invention 6 is managed the block diagram of terminal;
The another kind that Figure 17 provides for the embodiment of the invention 6 is managed the block diagram of terminal;
The schematic diagram of the system of a kind of bandwidth control system that Figure 18 provides for the embodiment of the invention 6.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
As shown in Figure 1, a kind of system architecture diagram of realizing bandwidth control that provides for the embodiment of the invention.In user's home network, have a plurality of terminals that Network can be provided, these terminals are by the network equipment of HGW (home gateway, home gateway) access far-end.Can access Internet such as the PC among Fig. 1 (personal computer, PC), STB (set top box, set-top box) can access IPTV platform (IPTV platform) etc.By in the terminal that the IPTV business can be provided, selecting the manager of an access bandwidth, come to distribute and the recovery bandwidth resources for the other-end in the home network.Wherein the selected manager who does access bandwidth is called the office terminal, and other except the office terminal can provide the terminal of IPTV business to be called and be managed terminal.Each is managed terminal before opening the IPTV business, need to be to office terminal bandwidth application resource, and whether the office terminal determines for being managed the terminal distribution bandwidth resources according to the bandwidth left amount.Being assigned with the terminal that is managed of bandwidth resources, can to open self IPTV professional.Embodiment 1:
Based on system architecture diagram shown in Figure 1, the embodiment of the invention provides a kind of method that realizes bandwidth control, relates to office terminal one side, as shown in Figure 2, comprising:
201, the office terminal in the home network sends administrative messag to the terminal that is managed in the described home network.
This administrative messag comprises default address list, comprises the address that is managed terminal that is assigned with bandwidth in address list.
202, receive the response message that is managed the terminal transmission in the described home network.
Wherein, when not being included in the described address list in the described address that is managed terminal, described response message comprises the described bandwidth demand amount that is managed terminal.
Need to prove, for the terminal that is managed that is not assigned with bandwidth, in the response message of its feedback with the bandwidth demand amount that requires; And be recorded in the terminal that is managed in the address list for the address, namely be assigned with the terminal that is managed of bandwidth, there is not the bandwidth demand amount in the response message of its feedback, and can carry a confirmation, this situation is equivalent to the office terminal and is managed terminal confirm that by administrative messag and response message both sides are in connection status.
203, comprise described bandwidth demand amount when described response message, and when remaining bandwidth is not less than described bandwidth demand amount, be the described terminal distribution bandwidth that is managed according to described bandwidth demand amount, and the described address that is managed terminal is increased in the described address list.
The office terminal is accessed the remaining bandwidth that total bandwidth judges that the user accesses total bandwidth according to the user of pre-save and whether is not less than the bandwidth demand amount that is managed terminal, wherein, the user accesses the access bandwidth that total bandwidth is the IPTV business that all have been opened in the home network.
The office terminal can send administrative messag according to the default management cycle in home network, wherein, and non-limiting, the above-mentioned default management cycle of mentioning specifically can be 1 second cycle as example.
After being managed terminal and receiving administrative messag of bandwidth on demand demand, when finding the address of self in address list, it is professional that the bandwidth of distributing according to the office terminal starts IPTV.
The below describes step 201 to step 203 for example:
For instance, when if the user uses IPTV professional at home, when some be managed starting up of terminal after, when receiving the administrative messag that the office terminal sends, be managed terminal and send response message to the office terminal, comprise this address that is managed terminal and bandwidth demand amount in the response message.The office terminal judges according to user's access bandwidth of pre-save whether remaining bandwidth is not less than the bandwidth demand amount.When remaining bandwidth was not less than the bandwidth demand amount, the office terminal was for being managed the terminal distribution bandwidth, and the address that will be managed terminal joins in the address list, and the administrative messag that will comprise address list sends in home network.After being managed terminal and receiving administrative messag, find that self address in address list, then starts the IPTV business; When the office terminal is found remaining bandwidth less than the bandwidth demand amount, the office terminal can not add address list with the address that is managed terminal, can not distribute bandwidth yet, therefore being managed terminal can not find the address of self in the address list of the follow-up administrative messag that receives, and can not start the IPTV business.After this, be managed terminal and will continue the administrative messag that the receiving management terminal sent by the default management cycle, and continuation sends response message, the address and the bandwidth demand amount that comprise self in the response message, in case when the office terminal finds that remaining bandwidth is not less than the bandwidth demand amount that requires in the response message, will be required the terminal that is managed of bandwidth to carry out allocated bandwidth.
It is to be noted, when being managed terminal and just having started shooting, this address that is managed terminal may be present in the address list of office terminal, the office terminal is before the address that will be managed terminal adds address list, need to check whether Already in address list of this address that is managed terminal, if exist, then need not repeat to add.Preferred scheme is in the practical application, when the office terminal begins to reach the standard grade, empty first address list, and roll off the production line in case be managed terminal, then the address that this is managed terminal will be deleted in the office terminal in address list, can guarantee that like this address of himself can not be present in the address list when reach the standard grade in the office terminal.
On the other hand, embodiments of the invention also provide a kind of method that realizes bandwidth control, relate to being managed terminal one side, as shown in Figure 3, comprising:
301, the terminal that is managed in the home network receives the administrative messag that the office terminal in the described home network sends.
Described administrative messag comprises address list, and described address list comprises the address that is managed terminal that is assigned with bandwidth.
If 302 described address lists do not comprise the described address that is managed terminal, then send response message to described office terminal, described response message carries the described bandwidth demand amount that is managed terminal.
By response message so that the office terminal is when remaining bandwidth is not less than described bandwidth demand amount, according to described bandwidth demand amount for being managed the terminal distribution bandwidth.
In the office terminal according to the bandwidth demand amount for after being managed the terminal distribution bandwidth, will be managed the address of terminal add address list, and address list is added in the administrative messag, then in home network, send this administrative messag.Be managed terminal and receive the address of finding self in administrative messag and therein the address list, be managed terminal this moment and know that the office terminal distributed the professional required bandwidth of IPTV.Do not start the IPTV business if be managed terminal, then be managed starting terminal IPTV professional.
The method of the realization bandwidth control that the embodiment of the invention provides sends administrative messag by the office terminal in the home network to the terminal that is managed in the home network, and the address list record that this administrative messag comprises has been assigned with the address that is managed terminal of bandwidth; After being managed terminal and receiving administrative messag, if the address that is managed terminal then requires bandwidth by response message to the office terminal not at this address list; The office terminal when remaining bandwidth is not less than the bandwidth demand amount that is managed terminal for being managed the terminal distribution bandwidth, start the IPTV business in order to be managed terminal according to the bandwidth that is assigned with, pass through such scheme, so that when the remaining bandwidth deficiency, and when the same IPTV of a plurality of terminal accesses is professional, can guarantee that at least one terminal can carry out Operational Visit glibly.
Embodiment 2:
The embodiment of the invention provides a kind of method that realizes bandwidth control, as shown in Figure 4, take three terminals as example describes, is called first terminal in Fig. 4, the second terminal and third terminal, and the terminal quantity in the actual conditions is not limited to this.The method of realization bandwidth control shown in Figure 4 specifically comprises:
401, first terminal judges whether to receive administrative messag within the default management cycle after finishing login.
Behind certain starting up of terminal in the middle of family's network, at first login in the IPTV operation system, after logining successfully, obtain the user from the IPTV operation system and access total bandwidth, be kept in the terminal, and oneself state is set to interim state, detects in network, to judge whether receiving administrative messag within the default management cycle.
Concrete, the terminal in the home network can be by the state of a state machine management self when oneself state is set.Each terminal has three kinds of states: one, manager when the state of terminal is the manager, can be non-management person's terminal distribution bandwidth and reclaims bandwidth resources for state.Two, non-management person when the state of terminal is the non-management person, to manager's bandwidth application, and waits for that the manager distributes bandwidth for self.Three, interim state is behind starting up of terminal, can oneself state be set to interim state, when finding there has been the manager in the middle of the home network, and during to the success of manager's bandwidth application, oneself state is set to non-management person is interim state in other situation.Be unified explanation, state is all called after office terminals of gerentocratic terminal in the embodiment of the invention, state be the non-management person terminal all called after be managed terminal.
And non-limiting, the above-mentioned default management cycle of mentioning specifically can be 1 second cycle as example.
402, when not receiving the administrative messag that sends the office terminal within the default management cycle, first terminal is broadcasted election message in home network, and described election message comprises the address of first terminal.
403, when the response that within the default stand-by period, do not receive for election message, first terminal with self as the office terminal, beginning broadcast management messages in home network.
The mentioned default stand-by period specifically can be 3 seconds cycle in the embodiment of the invention, also can be other cycle, is arranged voluntarily according to the actual conditions of the network operation by the user, and the present invention is not construed as limiting this.
The below describes step 401 to step 403:
After the first terminal start, login in the IPTV operation system, after logining successfully, whether judgement receives administrative messag in home network, if when within the management cycle, not receiving administrative messag, so at this moment, there is not the office terminal in the home network, first terminal can be broadcasted election message election contest office terminal in home network, if within the default stand-by period, do not receive the feedback message of election message, first terminal can be with own as the office terminal so, and in home network broadcast management messages, comprise address list in this administrative messag, address list empties when initialization, the address of namely not recording any terminal in the address list in the administrative messag that sends for the first time of office terminal.If after at this moment other-end (such as, the second terminal) start was arranged, then execution in step 404 was to step 415.
404, after the second terminal receives the administrative messag of first terminal broadcasting, to the response message of first terminal transmission for administrative messag.
The hypothesis first terminal takes the lead in opening in the embodiment of the invention, and become the office terminal, the second terminal starts after first terminal is opened as being managed terminal again, and the third terminal conduct is managed terminal and restarts after the first terminal bandwidth that has been the second terminal distribution.And the second terminal and third terminal are not assigned with any bandwidth when starting, carry out allocated bandwidth but by the office terminal unification each is managed terminal.
The address and the bandwidth demand amount that comprise the second terminal in the described response message for administrative messag, so that first terminal is judged when remaining bandwidth is not less than the bandwidth demand amount of the second terminal, distribute bandwidth also will be assigned with the address adding address list of the second terminal of bandwidth by the bandwidth demand amount; At this moment the first address list records the address of the second terminal.
405, after first terminal receives the response message for administrative messag of the second terminal transmission, judge whether remaining bandwidth is not less than the bandwidth demand amount.
First terminal judges according to the bandwidth demand amount in the response message whether remaining bandwidth that the user accesses total bandwidth is not less than the bandwidth demand amount of the second terminal, and wherein, the user accesses the access bandwidth that total bandwidth is the IPTV business that all have been opened in the home network.
406, when remaining bandwidth is not less than the bandwidth demand amount, presses the bandwidth demand amount and distribute bandwidth.
In the embodiment of the invention two, for convenience of description, third terminal starts after first terminal is the second terminal distribution bandwidth, namely in the rear startup of step 406.
407, first terminal will be assigned with the address adding address list of the second terminal of bandwidth.
408, first terminal is broadcasted the administrative messag that comprises address list by the default management cycle in home network.
The administrative messag that first terminal will comprise address list broadcast away by the default management cycle, so that when being assigned with the second terminal of bandwidth and in address list, finding the address of self, and startup IPTV business.
Because third terminal starts after step 306, therefore the second terminal and third terminal all can receive the administrative messag of first terminal broadcasting in the step 408.
409, when finding the address of self in the address list of the second terminal in administrative messag, it is professional that the second terminal is opened IPTV.
In the actual scene, when the office terminal is gone on the air administrative messag for the first time, may there be a plurality of terminals as the non-management person (here take terminal A and terminal B as example) to start, then terminal A and terminal B can receive administrative messag, and feedback response message, so that being terminal A and terminal B, the office terminal distributes bandwidth.
410, after third terminal receives the administrative messag of first terminal broadcasting, send response message to first terminal.
Third terminal starts after the second starting terminal, concrete, be after the first terminal bandwidth that has been the second terminal distribution, to start, so third terminal do not receive the administrative messag before the step 406, but third terminal has received the administrative messag that first terminal sends in step 408.Afterwards, third terminal sends response message to first terminal, comprises address and the bandwidth demand amount of third terminal in this response message.
411, after first terminal receives the response message of third terminal transmission, judge whether remaining bandwidth is not less than the bandwidth demand amount of third terminal.
412, when remaining bandwidth is not less than the bandwidth demand amount, be that third terminal distributes bandwidth by the bandwidth demand amount.
413, first terminal will be assigned with the address adding address list of the third terminal of bandwidth.
414, first terminal is broadcasted the administrative messag that comprises address list by the default management cycle in home network.
415, when finding the address of self in the address list in administrative messag, it is professional that third terminal starts IPTV.
Further, in embodiments of the present invention,, after being assigned with bandwidth and starting separately IPTV business, also need to keep heartbeat with first terminal and be connected as the second terminal that is managed terminal and third terminal.Concrete, first terminal sends administrative messag according to the management cycle, and the second terminal and third terminal feed back the administrative messag that receives, and are in opening so that first terminal is confirmed the second terminal and third terminal.
On the other hand, when remaining bandwidth during less than the bandwidth demand amount, can not carry out allocated bandwidth as the first terminal of office terminal.For instance, if the bandwidth that third terminal requires exceeds the scope that first terminal can distribute, then first terminal can not distribute bandwidth to third terminal, and the address of third terminal can not added address list yet.Can not find the address of self in the address list of third terminal in administrative messag, this moment, third terminal can continue to send the address that comprises third terminal and the response message of bandwidth demand amount, in order to require bandwidth to first terminal.
Need to prove that the value of the management cycle described in the embodiment of the invention and stand-by period can pre-set according to actual use scenes.
The embodiment of the invention provides a kind of method that realizes bandwidth control, behind certain starting up of terminal in family's network, at first login in the IPTV operation system, after logining successfully, obtain the user from the IPTV operation system and access total bandwidth, be kept in the terminal, and judge whether within the default management cycle, to receive administrative messag, when not receiving administrative messag, current terminal is broadcasting election message in network then, the election office terminal; When receiving administrative messag, current terminal sends response message to the office terminal, the address and the bandwidth demand amount that comprise current terminal in this response message, after the office terminal receives this response message, judge when remaining bandwidth is not less than the bandwidth demand amount that is managed terminal, the address that is managed terminal of distributing bandwidth also will be assigned with bandwidth by the bandwidth demand amount adds address list, the office terminal continuation will comprise the administrative messag of address list and broadcast in home network, when being managed terminal and in address list, finding self address, start IPTV professional, thereby avoided when the remaining bandwidth deficiency, and when the same IPTV of a plurality of terminal accesses is professional, can guarantee that at least one terminal carries out Operational Visit glibly.
Embodiment 3:
When having an office terminal and at least two to be managed terminal to be present in the home network, the office terminal is managed terminal to each and manages, if office terminal shutdown this moment or disengaging home network, then need to select a new office terminal in the terminal in all being managed, for realizing this purpose, the embodiment of the invention provides a kind of method of bandwidth control, as shown in Figure 5, comprising:
501, the office terminal is by default management cycle broadcast management messages in home network.
Comprise address list in the administrative messag, record the address that is managed terminal that is assigned with bandwidth in the middle of the address list.
The above-mentioned default management cycle of mentioning specifically can be 1 second cycle.
After the office terminal shutdown or breaking away from home network, continue to carry out subsequent step 502 to 504.
502, when being managed terminal and within the default management cycle, not receiving described administrative messag, broadcasting election message in home network.
Described election Message Record has the address that is managed terminal of the described election message of broadcasting.
503, other are managed the election feedback message that terminal is returned in the described home network of reception, and described election feedback message comprises described other and is managed the address of terminal.
504, described election feedback message is continued to broadcast in described home network.
When other that receive described election feedback message are managed terminal and are not present in described election feedback message in the address of self, the address of self is added in the described election feedback message, and the election feedback message that adds the address of self is continued to feed back to the described terminal that is managed.
505, when no longer increasing new address in the election feedback message of described home network broadcasting, the terminal that receives described election feedback message determines according to the address in self address and the described election feedback message whether self is described office terminal.
The below describes above-mentioned steps 501 to step 505 for example:
For instance, after the office terminal in the middle of family's network shutdown, namely there is not the office terminal in the home network, when at this moment state is being managed terminal not receiving administrative messag within the management cycle of non-management person, will be set to interim state by oneself state.All states are that the terminal of interim state all can be broadcasted an election message in the middle of network, record the address of the terminal of the described election message of broadcasting in this election message, after other-end receives election message, self address is added in the middle of the election message, generate the election feedback message, then continue this election message of broadcasting, like this, the election message of being sent by a terminal, another terminal of every arrival, another terminal is just added the address of self in the election feedback message, and feedbacks.There are two such as hypothesis and are managed terminal, be respectively terminal 1 and terminal 2.When between two terminals, conducting an election, if terminal 1 broadcasting single election message, terminal 2 receives the election message that terminal 1 is broadcasted, then with self address adding election message, generate the election feedback message and return to terminal 1, simultaneously terminal 1 also can be after receiving the election message that terminal 2 broadcasts, and self address is added election message, generates the election feedback message and return to terminal 2.Finally, the address in the election feedback message in home network is the address of terminal 1 and terminal 2, no longer increases new address.At this moment, terminal 1 and terminal 2 can according to the address in the election feedback message that receives separately and the address of self, determine whether self is the office terminal.Such as, terminal 1 receives the election feedback message of preserving with self behind the election feedback message that terminal 2 returns and compares, when the address in both election feedback messages is consistent, then from the address that election is recorded the feedback message, choose an address according to the election regulation that presets, and will be selected terminal corresponding to address as the office terminal.If the address of terminal 1 is 192.168.0.12, the address of terminal 2 is 192.168.0.115, and the election regulation of setting is to choose the terminal of address numerical value maximum in the election feedback message as the office terminal, and then terminal 2 becomes the office terminal.
Certainly, more than be to be managed terminal as example describes the election contest office terminal take two, in the practical application, can be that the terminal that is managed more than three is elected message by broadcasting, finally select an office terminal, the embodiment of the invention does not repeat them here.
The method of the realization bandwidth control that the embodiment of the invention provides, when being managed terminal and within the management cycle, not receiving administrative messag in the middle of family's network, then message is elected in broadcasting in home network, the address that comprises the terminal of broadcasting election message in the described election message, other be managed terminal receive the election message after, return the election feedback message, the terminal that is managed that receives the election feedback message continues to elect feedback message to broadcast in home network, so that other that receive the election feedback message are managed terminal and continue to add separately address in election in the feedback message, when no longer increasing new address in the election feedback message, from the address that election is recorded the feedback message, choose an address according to the election regulation that presets, and will be selected terminal corresponding to address as the office terminal, this office terminal can be for being managed terminal distribution and reclaiming bandwidth resources, so that when the remaining bandwidth deficiency, and when the same IPTV of a plurality of terminal accesses is professional, can guarantee that at least one terminal carries out Operational Visit glibly.
Embodiment 4:
In the procedure that realizes bandwidth control, the terminal that is managed for going offline or unusually shutting down also needs to carry out timely Check processing, and for this reason, the embodiment of the invention provides a kind of method that realizes bandwidth control, as shown in Figure 6, comprising:
Be managed terminal in the embodiment of the invention before execution in step 601, following action at first can be carried out in the office terminal, broadcasts the administrative messag that comprises address list by the default management cycle in network; Described address list records the address that is managed terminal that is assigned with bandwidth.
601, be managed terminal receiving management message.
602, be managed terminal to the response message of office terminal transmission for administrative messag.
The office terminal receives each and is managed the response message for administrative messag that terminal sends;
Wherein be not assigned with being managed in the response message that terminal sends of bandwidth and comprise the address that is managed terminal and the bandwidth demand amount that is not assigned with bandwidth; The response message that is managed the terminal transmission that is assigned with bandwidth need not carry the bandwidth demand amount, and its response message is used for keeping heartbeat with the office terminal.
Wherein, when being managed terminal and not returning response message to the office terminal, this embodiment can also execution in step 603.
603, when not receiving the response message that is managed terminal in setting time, delete from described address list the office terminal not address that is managed terminal of feedback response message.
Official hour can be K management cycle in the step 603, and wherein K is the positive integer that presets.
For instance, when the office terminal receive be managed that terminal sends response message the time, judge according to the bandwidth demand amount in the response message whether the remaining bandwidth that the user accesses total bandwidth is not less than the bandwidth demand amount that is managed terminal, when being not less than the bandwidth demand amount that is managed terminal, the office terminal is that the address that is managed the terminal distribution bandwidth and will be managed terminal joins address list, and the administrative messag that will comprise address list is broadcasted in home network, after being managed terminal and receiving administrative messag, when in address list, finding self address, then start the IPTV business, and send the response message of allocated bandwidth success to the office terminal; If when the office terminal does not receive response message within K continuous management cycle, then this is not deleted from address list the address that is managed terminal of feedback response message, and is recovered as the bandwidth of its distribution, in order to be managed the terminal distribution bandwidth for other.
Send administrative messag by the office terminal in the home network to the terminal that is managed in the home network, the address list record that this administrative messag comprises has been assigned with the address that is managed terminal of bandwidth; After being managed terminal and receiving administrative messag, if the address that is managed terminal then requires bandwidth by response message to the office terminal not at this address list; The office terminal for being managed the terminal distribution bandwidth, starts the IPTV business in order to be managed terminal according to the bandwidth that is assigned with when remaining bandwidth is not less than the bandwidth demand amount that is managed terminal; When if the office terminal does not receive response message in K continuous broadcast cycle, then this is not deleted from address list the address that is managed terminal of feedback response message, and be managed the terminal distribution bandwidth for other, thereby so that when remaining bandwidth not enough, and when the same IPTV of a plurality of terminal accesses is professional, can guarantee that at least one terminal carries out Operational Visit glibly.
Embodiment 5:
The embodiment of the invention provides a kind of method of bandwidth control,, is managed terminal and can also redistributes bandwidth to the office terminal request for after being managed the terminal distribution bandwidth in the office terminal, as shown in Figure 7, comprising:
701, be managed terminal and send bandwidth renewal solicitation message to the office terminal.
In the middle of home network, when being managed terminal and asking new business, can recomputate the bandwidth demand amount, and new bandwidth demand amount is sent to the office terminal, so that judging, the office terminal upgrades the bandwidth that solicitation message requires to being managed the terminal distribution bandwidth when remaining bandwidth can be not less than requiring of bandwidth renewal solicitation message.
702, the office terminal judges whether remaining bandwidth is not less than bandwidth and upgrades the bandwidth that solicitation message requires.
703, when remaining bandwidth is not less than requiring of bandwidth renewal solicitation message, redistribute bandwidth for being managed terminal.
704, send the successful response message of bandwidth renewal application to being managed terminal.
Be managed terminal when receiving bandwidth and upgrade the successful response message of application, start the IPTV business.
705, when remaining bandwidth upgrades requiring of solicitation message less than bandwidth, send the failed response message of bandwidth renewal application to being managed terminal.
When being managed terminal and receiving bandwidth and upgrade the failed response message of application, can the renewal of prompting user bandwidth apply for unsuccessfully.
For instance, in a kind of situation, to stop using bandwidth be the IPTV business 1 of 50M when being managed terminal, change utilized bandwidth into and be professional 2 o'clock of the IPTV of 20M, be managed terminal and send bandwidth renewal solicitation message to the office terminal, the bandwidth demand amount is 20M in the bandwidth renewal solicitation message, the office terminal receives bandwidth and upgrades solicitation message, the bandwidth of the 50M of IPTV business 1 is discharged, for being managed the bandwidth of terminal distribution 20M, and send the response message of bandwidth application success, when being managed terminal and receiving bandwidth and upgrade the successful response message of application, begin to start new IPTV business; In the another kind of situation, when the user does not stop using IPTV business 1, applied for simultaneously IPTV at professional 2 o'clock, can send to the office terminal renewal solicitation message of 70M bandwidth, the office terminal receives bandwidth and upgrades solicitation message, do subtraction with the bandwidth of professional 1 application of the IPTV that records, the required bandwidth of calculating IPTV business 2 is 20M, and judge whether remaining bandwidth is not less than the professional 2 needed 20M bandwidth of IPTV, if remaining bandwidth is not less than the needed 20M bandwidth of IPTV business 2, at this moment will be for being managed the bandwidth of terminal distribution 20M, and send the response message of bandwidth application success; If remaining bandwidth is less than the needed 20M bandwidth of IPTV business 2, to the business that is managed terminal transmission bandwidth application failure, and prompting user IPTV professional 2 applies for unsuccessfully.
The method of the bandwidth control that the embodiment of the invention provides, when the user asks new business, can send bandwidth to the office terminal and upgrade solicitation message, when the office terminal receives the bandwidth demand amount that is managed terminal, judge whether remaining bandwidth that the user accesses total bandwidth is not less than bandwidth and upgrades the bandwidth that solicitation message requires, when remaining bandwidth is not less than new bandwidth demand amount, for being managed the terminal distribution bandwidth, and to the response message that is managed terminal transmission bandwidth application success, so that when being managed terminal and receiving the response message of bandwidth application success, start new IPTV professional; When remaining bandwidth during less than new bandwidth demand amount, to the response message that is managed terminal transmission bandwidth application failure, so that upgrading, the prompting user bandwidth applies for unsuccessfully, avoided when the remaining bandwidth deficiency, and when the same IPTV of a plurality of terminal accesses is professional, can guarantee that at least one terminal carries out Operational Visit glibly.
Embodiment 6:
The embodiment of the invention provides a kind of device of bandwidth control, comprises the office terminal and is managed terminal.
A kind of office terminal as shown in Figure 8, comprising: transmitting element 81, receiving element 82, allocated bandwidth unit 83.
Transmitting element 81 is used for sending administrative messag to the terminal that is managed of home network, and described administrative messag comprises default address list, and described address list comprises the address that is managed terminal that is assigned with bandwidth.
Receiving element 82 is used for receiving described home network and is managed the response message that terminal sends, and wherein, when not being included in the described address list in the described address that is managed terminal, described response message comprises the described bandwidth demand amount that is managed terminal.
Allocated bandwidth unit 83 is used for comprising described bandwidth demand amount when the response message that described receiving element 82 receives, and when remaining bandwidth is not less than described bandwidth demand amount, be the described terminal distribution bandwidth that is managed according to described bandwidth demand amount, and the described address that is managed terminal is increased in the described address list.
Further, as shown in Figure 9, described office terminal also comprises:
Address delete cells 84, be used for described transmitting element 81 being managed after terminal sends administrative messag to described home network, when described address list comprises the described address that is managed terminal, and when in setting time does not receive the described response message that is managed terminal feedback, the described address that is managed terminal is deleted from described address list.
Further, described office terminal can also comprise:
Election information broadcast unit 85 is used in current terminal after successfully logining, when within the default time interval, not receiving described administrative messag, and broadcasting election message in described home network, described election message comprises the address of described current terminal;
Office terminal confirmation unit 86 is used for when the response that do not receive within the default stand-by period for described election message, with self as described office terminal, so that the described administrative messag of described transmitting element 81 transmissions.
In the above-mentioned default time interval, the default stand-by period is arranged according to the actual conditions of the network operation voluntarily by the user, and the present invention is not construed as limiting this.
Wherein, described receiving element 82 also be used for described allocated bandwidth unit 83 according to described bandwidth demand amount be described be managed the terminal distribution bandwidth after, receive the described bandwidth renewal solicitation message that terminal sends that is managed, described bandwidth is upgraded solicitation message and is comprised the described bandwidth demand amount that is managed terminal.
Described allocated bandwidth unit 83 also is used for when described remaining bandwidth is not less than the bandwidth requirement of described bandwidth renewal solicitation message, according to the bandwidth demand amount in the described bandwidth renewal solicitation message, for the described terminal that is managed is redistributed bandwidth.
The embodiment of the invention also provides a kind of office terminal, and as shown in figure 10, this office terminal comprises at least one processor 1001, communication bus 1002, memory 1003 and at least one communication interface 1004.
Wherein, described communication bus 1002 is used for connection and the communication between each assembly of realization Figure 10, and described communication interface 1004 is used for being connected with external equipment and communicating by letter.
Wherein, described memory 1003 is used for the program code that storage needs execution, and these program codes specifically can comprise: transmitting element 10011, receiving element 10012, the code of allocated bandwidth unit 10013; Described processor 1001 is used for carrying out each Elementary Function of described memory 1003 storages, when said units is carried out by described processor 1001, is achieved as follows function:
Transmitting element 10011 is used for sending administrative messag to the terminal that is managed of home network, and described administrative messag comprises default address list, and described address list comprises the address that is managed terminal that is assigned with bandwidth.
Receiving element 10012 is used for receiving described home network and is managed the response message that terminal sends, and wherein, when not being included in the described address list in the described address that is managed terminal, described response message comprises the described bandwidth demand amount that is managed terminal.
Allocated bandwidth unit 10013 is used for comprising described bandwidth demand amount when the response message that described receiving element 1002 receives, and when remaining bandwidth is not less than described bandwidth demand amount, be the described terminal distribution bandwidth that is managed according to described bandwidth demand amount, and the described address that is managed terminal is increased in the described address list.
Further, as shown in figure 11, the program code of storage can also comprise address delete cells 10014 in the memory 1003 of office terminal, election information broadcast unit 10015, office terminal confirmation unit 10016; Described processor 1001 is used for carrying out each Elementary Function of described memory 1003 storages, when said units is carried out by described processor 1001, is achieved as follows function:
Address delete cells 10014 is used for described transmitting element 1011 being managed after terminal sends administrative messag to described home network, when described address list comprises the described address that is managed terminal, and when in setting time does not receive the described response message that is managed terminal feedback, the described address that is managed terminal is deleted from described address list.
Election information broadcast unit 10015 is used in current terminal after successfully logining, when within the default time interval, not receiving described administrative messag, and broadcasting election message in described home network, described election message comprises the address of described current terminal.
Office terminal confirmation unit 10016 is used for when the response that does not receive within the default stand-by period for described election message, with self as described office terminal, so that the described administrative messag of described transmitting element 1011 transmissions.
The embodiment of the invention also provides a kind of terminal that is managed, and as shown in figure 12, comprising:
Receiving element 121, transmitting element 122.
Receiving element 121 is used for the administrative messag that the receiving management terminal sends, and described administrative messag comprises address list, and described address list comprises the address that is managed terminal that is assigned with bandwidth;
When transmitting element 122 is used for address list when described receiving element 121 receptions and does not comprise the described address that is managed terminal, send response message to described office terminal, described response message carries the described bandwidth demand amount that is managed terminal, so that when described office terminal is not less than described bandwidth demand amount at remaining bandwidth, be the described terminal distribution bandwidth that is managed according to described bandwidth demand amount.
Further, as shown in figure 13, the described terminal that is managed also comprises initiation of services unit 123.
Initiation of services unit 123 is used for comprising the described address that is managed terminal when the address list that described receiving element 121 receives, and the described terminal that is managed do not start IPTV when professional, starts IPTV professional.
Wherein, the described terminal that is managed can also comprise bandwidth renewal application unit 124, described bandwidth is upgraded application unit 124 and is used for after the initiation of services unit 123 startup IPTV business, send bandwidth to described office terminal and upgrade solicitation message, described bandwidth is upgraded solicitation message and is comprised the described bandwidth demand amount that is managed terminal, so that described office terminal is when described remaining bandwidth is not less than described bandwidth and upgrades bandwidth demand amount in the solicitation message, according to the bandwidth demand amount in the described bandwidth renewal solicitation message, for the described terminal that is managed is redistributed bandwidth;
Described receiving element 121 also is used for receiving the successful response message of bandwidth renewal application that described office terminal sends; When successful response message is also applied for for the bandwidth renewal that receives the transmission of described office terminal when described receiving element 121 in described initiation of services unit 123, begin to start new IPTV professional.
Further, as shown in figure 14, the described terminal that is managed also comprises office terminal identifying unit 125.
Wherein, transmitting element 122 also is used for when in setting time receiving element 121 does not receive described administrative messag, broadcasting election message in home network.
Receiving element 121 also is used for receiving described home network, and other are managed the election feedback message that terminal is returned, and described election feedback message comprises described other and is managed the address of terminal.
Transmitting element 122 also is used for the described election feedback message that receiving element 121 receives is continued to broadcast at described home network; Wherein, when other that receive described election feedback message are managed terminal and are not present in described election feedback message in the address of self, the address of self is added in the described election feedback message, and the election feedback message that adds the address of self is continued to feed back to the described receiving element 121 that is managed terminal.
Office terminal identifying unit 125 is used for when the election feedback message in described home network broadcasting of receiving element 121 receptions no longer increases new address, according to the address in the terminal that receives described election feedback message self address and the described election feedback message, determine whether self is described office terminal.
Specifying of an office terminal can with reference to the description in the embodiment of the invention 3, repeat no more herein about from be managed terminal, determining.
The embodiment of the invention also provides a kind of terminal that is managed, and as shown in figure 15, this office terminal comprises at least one processor 1501, communication bus 1502, memory 1503 and at least one communication interface 1504.
Wherein, described communication bus 1502 is used for connection and the communication between each assembly of realization Figure 15, and described communication interface 1504 is used for being connected with external equipment and communicating by letter.
Wherein, described memory 1503 is used for the program code that storage needs execution, and these program codes specifically can be: transmitting element 15012, the code of receiving element 15011; Described processor 1501 is used for carrying out each Elementary Function of described memory 1503 storages, when said units is carried out by described processor 1501, is achieved as follows function:
Receiving element 15011 is used for the administrative messag that the receiving management terminal sends, and described administrative messag comprises address list, and described address list comprises the address that is managed terminal that is assigned with bandwidth;
When transmitting element 15012 is used for address list when described receiving element 15011 receptions and does not comprise the described address that is managed terminal, send response message to described office terminal, described response message carries the described bandwidth demand amount that is managed terminal, so that when described office terminal is not less than described bandwidth demand amount at remaining bandwidth, be the described terminal distribution bandwidth that is managed according to described bandwidth demand amount.
Further, as shown in figure 16, the program code of storage can also comprise initiation of services unit 15013 and bandwidth renewal application unit 15014 in the memory 1503 of office terminal; Described processor 1501 is used for carrying out each Elementary Function of described memory 1503 storages, when said units is carried out by described processor 1501, is achieved as follows function:
Initiation of services unit 15013 is used for comprising the described address that is managed terminal when the address list that described receiving element 15011 receives, and the described terminal that is managed do not start IPTV when professional, starts IPTV professional.
Bandwidth is upgraded application unit 15014 and is used for after the initiation of services unit 15013 startup IPTV business, send bandwidth to described office terminal and upgrade solicitation message, described bandwidth is upgraded solicitation message and is comprised the described bandwidth demand amount that is managed terminal, so that described office terminal is when described remaining bandwidth is not less than described bandwidth and upgrades bandwidth demand amount in the solicitation message, according to the bandwidth demand amount in the described bandwidth renewal solicitation message, for the described terminal that is managed is redistributed bandwidth.
Further, as shown in figure 17, the program code of storage can also comprise office terminal identifying unit 15015 in the memory 1503 of office terminal; Described processor 1501 is used for carrying out each Elementary Function of described memory 1503 storages, when said units is carried out by described processor 1501, is achieved as follows function:
Transmitting element 15012 also is used for when when in setting time receiving element 15011 does not receive described administrative messag, broadcasting election message in home network.
Receiving element 15011 also is used for receiving described home network, and other are managed the election feedback message that terminal is returned, and described election feedback message comprises described other and is managed the address of terminal.
Transmitting element 15012 also is used for the described election feedback message that receiving element 15011 receives is continued to broadcast at described home network; Wherein, when other that receive described election feedback message are managed terminal and are not present in described election feedback message in the address of self, the address of self is added in the described election feedback message, and the election feedback message that adds the address of self is continued to feed back to described receiving element 15011.
Office terminal identifying unit 15015 is used for when the election feedback message in described home network broadcasting of receiving element 15011 receptions no longer increases new address, according to the address in the terminal that receives described election feedback message self address and the described election feedback message, determine whether self is described office terminal.
The embodiment of the invention also provides a kind of system of bandwidth control, as shown in figure 18, comprising:
Office terminal 181 is managed terminal 182.Wherein office terminal 181 is the office terminal described in any width of cloth figure among Figure 10 to Figure 11 in embodiments of the present invention, is managed terminal and is the terminal that is managed described in any width of cloth figure among Figure 15 to Figure 17 in embodiments of the present invention.
Device and the system of the realization bandwidth control that the embodiment of the invention provides, send administrative messag by the office terminal in the home network to the terminal that is managed in the home network, the address list record that this administrative messag comprises has been assigned with the address that is managed terminal of bandwidth; After being managed terminal and receiving administrative messag, if the address that is managed terminal then requires bandwidth by response message to the office terminal not at this address list; The office terminal when remaining bandwidth is not less than the bandwidth demand amount that is managed terminal for being managed the terminal distribution bandwidth, start the IPTV business in order to be managed terminal according to the bandwidth that is assigned with, pass through such scheme, so that when the remaining bandwidth deficiency, and when the same IPTV of a plurality of terminal accesses is professional, can guarantee that at least one terminal can carry out Operational Visit glibly.
Through the above description of the embodiments, the those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential common hardware, can certainly pass through hardware, but the former is better execution mode in a lot of situation.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium that can read, floppy disk such as computer, hard disk or CD etc., comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
The above; be the specific embodiment of the present invention only, but protection scope of the present invention is not limited to this, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of described claim.

Claims (18)

1. a method that realizes bandwidth control is characterized in that, comprising:
Office terminal in the home network sends administrative messag to the terminal that is managed in the described home network, and described administrative messag comprises default address list, and described address list comprises the address that is managed terminal that is assigned with bandwidth;
Receive and be managed the response message that terminal sends in the described home network, wherein, when not being included in the described address list in the described address that is managed terminal, described response message comprises the described bandwidth demand amount that is managed terminal;
When described response message comprises described bandwidth demand amount, and remaining bandwidth is the described terminal distribution bandwidth that is managed according to described bandwidth demand amount, and the described address that is managed terminal is increased in the described address list when being not less than described bandwidth demand amount.
2. method according to claim 1 is characterized in that, the be managed terminal of the office terminal in the described home network in described home network sends after the administrative messag, and described method also comprises:
If described address list comprises the described address that is managed terminal, and when in setting time does not receive the described response message that is managed terminal feedback, the described address that is managed terminal is deleted from described address list.
3. method according to claim 1 is characterized in that, the be managed terminal of described office terminal in the described home network sends before the described administrative messag, and described method also comprises:
Current terminal is after successfully logining, and when not receiving described administrative messag within the default time interval, described current terminal is broadcasted election message in described home network, and described election message comprises the address of described current terminal;
When the response that within the default stand-by period, do not receive for described election message, described current terminal with self as described office terminal.
4. the described method of any one in 3 according to claim 1 is characterized in that, according to described bandwidth demand amount be described be managed the terminal distribution bandwidth after, described method also comprises:
Receive the described bandwidth renewal solicitation message that terminal sends that is managed, described bandwidth is upgraded solicitation message and is comprised the described bandwidth demand amount that is managed terminal;
When described remaining bandwidth is not less than described bandwidth and upgrades bandwidth requirement in the solicitation message, upgrade bandwidth demand amount in the solicitation message according to described bandwidth, for the described terminal that is managed is redistributed bandwidth.
5. method according to claim 1 is characterized in that, when the described address packet that is managed terminal was contained in the described address list, described method also comprised:
If describedly be managed terminal not start IPTV IPTV professional, then described to be managed the described IPTV IPTV of starting terminal professional.
6. a method that realizes bandwidth control is characterized in that, comprising:
The terminal that is managed in the home network receives the administrative messag that the office terminal in the described home network sends, and described administrative messag comprises address list, and described address list comprises the address that is managed terminal that is assigned with bandwidth;
If described address list does not comprise the described address that is managed terminal, then send response message to described office terminal, described response message carries the described bandwidth demand amount that is managed terminal, so that when described office terminal is not less than described bandwidth demand amount at remaining bandwidth, be the described terminal distribution bandwidth that is managed according to described bandwidth demand amount.
7. method as claimed in claim 6 is characterized in that, when described address list comprised the described address that is managed terminal, described method also comprised:
If describedly be managed terminal not start IPTV IPTV professional, then described to be managed the described IPTV IPTV of starting terminal professional.
8. method according to claim 7 is characterized in that, described be managed the described IPTV IPTV of starting terminal business after, described method also comprises:
Send bandwidth to described office terminal and upgrade solicitation message, described bandwidth is upgraded solicitation message and is comprised the described bandwidth demand amount that is managed terminal, so that described office terminal is when described remaining bandwidth is not less than described bandwidth and upgrades bandwidth demand amount in the solicitation message, according to the bandwidth demand amount in the described bandwidth renewal solicitation message, for the described terminal that is managed is redistributed bandwidth;
When successful response message was applied in the bandwidth renewal that receives the transmission of described office terminal, the described terminal that is managed began to start new IPTV business.
9. method according to claim 6 is characterized in that, described method also comprises:
When in setting time does not receive described administrative messag, the described terminal that is managed is broadcasted election message in described home network;
Receive that other are managed the election feedback message that terminal is returned in the described home network, described election feedback message comprises described other and is managed the address of terminal;
Described election feedback message is continued to broadcast in described home network; Wherein, when other that receive described election feedback message are managed terminal and are not present in described election feedback message in the address of self, the address of self is added in the described election feedback message, and the election feedback message that adds the address of self is continued to feed back to the described terminal that is managed;
When no longer increasing new address in the election feedback message of described home network broadcasting, the terminal that receives described election feedback message determines according to the address in self address and the described election feedback message whether self is described office terminal.
10. an office terminal is characterized in that, comprising:
Transmitting element is used for sending administrative messag to the terminal that is managed of home network, and described administrative messag comprises default address list, and described address list comprises the address that is managed terminal that is assigned with bandwidth;
Receiving element is used for receiving described home network and is managed the response message that terminal sends, and wherein, when not being included in the described address list in the described address that is managed terminal, described response message comprises the described bandwidth demand amount that is managed terminal;
The allocated bandwidth unit, be used for comprising described bandwidth demand amount when the response message that described receiving element receives, and when remaining bandwidth is not less than described bandwidth demand amount, be the described terminal distribution bandwidth that is managed according to described bandwidth demand amount, and the described address that is managed terminal is increased in the described address list.
11. office terminal according to claim 10 is characterized in that, described office terminal also comprises:
The address delete cells, be used for described transmitting element being managed after terminal sends administrative messag to described home network, when described address list comprises the described address that is managed terminal, and when in setting time does not receive the described response message that is managed terminal feedback, the described address that is managed terminal is deleted from described address list.
12. office terminal according to claim 10 is characterized in that, described office terminal also comprises:
Election information broadcast unit is used in current terminal after successfully logining, when within the default time interval, not receiving described administrative messag, and broadcasting election message in described home network, described election message comprises the address of described current terminal;
The office terminal confirmation unit is used for when the response that do not receive in the stand-by period of presetting for described election message, with self as described office terminal, so that described transmitting element sends described administrative messag.
13. the described office terminal of any one in 12 according to claim 10, it is characterized in that, described receiving element also be used for described allocated bandwidth unit according to described bandwidth demand amount be described be managed the terminal distribution bandwidth after, receive the described bandwidth renewal solicitation message that terminal sends that is managed, described bandwidth is upgraded solicitation message and is comprised the described bandwidth demand amount that is managed terminal;
Described allocated bandwidth unit also is used for when described remaining bandwidth is not less than the bandwidth requirement of described bandwidth renewal solicitation message, according to the bandwidth demand amount in the described bandwidth renewal solicitation message, for the described terminal that is managed is redistributed bandwidth.
14. one kind is managed terminal, it is characterized in that, comprising:
Receiving element is used for the administrative messag that the receiving management terminal sends, and described administrative messag comprises address list, and described address list comprises the address that is managed terminal that is assigned with bandwidth;
Transmitting element, when being used for address list when described receiving element reception and not comprising the described address that is managed terminal, send response message to described office terminal, described response message carries the described bandwidth demand amount that is managed terminal, so that when described office terminal is not less than described bandwidth demand amount at remaining bandwidth, be the described terminal distribution bandwidth that is managed according to described bandwidth demand amount.
15. the terminal that is managed according to claim 14 is characterized in that, the described terminal that is managed also comprises:
The initiation of services unit is used for comprising the described address that is managed terminal at the address list that described receiving element receives, and the described terminal that is managed do not start IPTV IPTV when professional, starts described IPTV IPTV professional.
16. the terminal that is managed according to claim 15, it is characterized in that, the described terminal that is managed also comprises bandwidth renewal application unit, described bandwidth is upgraded application unit and is used for after the described IPTV IPTV of described initiation of services unit starting business, send bandwidth to described office terminal and upgrade solicitation message, described bandwidth is upgraded solicitation message and is comprised the described bandwidth demand amount that is managed terminal, so that described office terminal is when described remaining bandwidth is not less than described bandwidth and upgrades bandwidth demand amount in the solicitation message, according to the bandwidth demand amount in the described bandwidth renewal solicitation message, for the described terminal that is managed is redistributed bandwidth;
Described receiving element also is used for receiving the successful response message of bandwidth renewal application that described office terminal sends;
When successful response message is also applied for for the bandwidth renewal that receives the transmission of described office terminal when described receiving element in described initiation of services unit, begin to start new IPTV professional.
17. the terminal that is managed according to claim 14 is characterized in that, described transmitting element also is used for when the described receiving element of in setting time does not receive described administrative messag, broadcasting election message in described home network;
Described receiving element also is used for receiving described home network, and other are managed the election feedback message that terminal is returned, and described election feedback message comprises described other and is managed the address of terminal;
Described transmitting element also is used for the described election feedback message that described receiving element receives is continued to broadcast at described home network; Wherein, when other that receive described election feedback message are managed terminal and are not present in described election feedback message in the address of self, the address of self is added in the described election feedback message, and the election feedback message that adds the address of self is continued to feed back to the described described receiving element that is managed terminal;
Wherein, the described terminal that is managed also comprises the office terminal identifying unit, be used for when the election feedback message in described home network broadcasting of described receiving element reception no longer increases new address, according to the address in the terminal that receives described election feedback message self address and the described election feedback message, determine whether self is described office terminal.
18. a bandwidth control system is characterized in that, comprising:
Such as office terminal as described in any one in the claim 10 to 13 with as described in any one in the claim 14 to 17, be managed terminal.
CN201210393819XA 2012-10-16 2012-10-16 Method, device and system for realizing bandwidth control Pending CN102932280A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210393819XA CN102932280A (en) 2012-10-16 2012-10-16 Method, device and system for realizing bandwidth control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210393819XA CN102932280A (en) 2012-10-16 2012-10-16 Method, device and system for realizing bandwidth control

Publications (1)

Publication Number Publication Date
CN102932280A true CN102932280A (en) 2013-02-13

Family

ID=47646986

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210393819XA Pending CN102932280A (en) 2012-10-16 2012-10-16 Method, device and system for realizing bandwidth control

Country Status (1)

Country Link
CN (1) CN102932280A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103457872A (en) * 2013-05-31 2013-12-18 华为技术有限公司 Bandwidth control strategy distribution method and bandwidth control method, device and system
WO2014194487A1 (en) * 2013-06-05 2014-12-11 Thomson Licensing Method and apparatus for content distribution for multiscreen viewing
WO2015196766A1 (en) * 2014-06-27 2015-12-30 中兴通讯股份有限公司 Bandwidth control method, iptv terminal device and communication system
CN105656667A (en) * 2015-12-29 2016-06-08 华为软件技术有限公司 Bandwidth distribution method, device and system
WO2017071655A1 (en) * 2015-10-29 2017-05-04 中兴通讯股份有限公司 Multi set top box bandwidth allocation method and device
US9706255B2 (en) 2013-06-05 2017-07-11 Thomson Licensing Method and apparatus for content distribution for multiscreen viewing wherein video program and information related to the video program are transmitted to a second device but not to a first device when the distance between the two devices is greater than a predetermined threshold
US10212474B2 (en) 2013-06-05 2019-02-19 Interdigital Ce Patent Holdings Method and apparatus for content distribution for multi-screen viewing
CN109639459A (en) * 2018-11-19 2019-04-16 网宿科技股份有限公司 A kind of method of adjustment of nominal bandwidth, terminal and can storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101155071A (en) * 2006-09-28 2008-04-02 华为技术有限公司 Method, device and communication system for selecting local domain supervisor
CN101247332A (en) * 2007-02-15 2008-08-20 索尼株式会社 Bandwidth requesting system, bandwidth requesting device, client device, bandwidth requesting method, content playback method, and program
CN101253699A (en) * 2005-11-22 2008-08-27 泰克迪亚科技公司 Group-header based method to organize local peer group of vehicles for inter-vehicle communication
US20090147779A1 (en) * 2007-12-07 2009-06-11 Telefonaktiebolaget Lm Ericsson (Publ) Methods, iptv (internet protocol television) terminal, and iptv control server for iptv bandwidth management
CN102104874A (en) * 2009-12-21 2011-06-22 中兴通讯股份有限公司 Distribution method of network transmission resource and relevant device thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101253699A (en) * 2005-11-22 2008-08-27 泰克迪亚科技公司 Group-header based method to organize local peer group of vehicles for inter-vehicle communication
CN101155071A (en) * 2006-09-28 2008-04-02 华为技术有限公司 Method, device and communication system for selecting local domain supervisor
CN101247332A (en) * 2007-02-15 2008-08-20 索尼株式会社 Bandwidth requesting system, bandwidth requesting device, client device, bandwidth requesting method, content playback method, and program
US20090147779A1 (en) * 2007-12-07 2009-06-11 Telefonaktiebolaget Lm Ericsson (Publ) Methods, iptv (internet protocol television) terminal, and iptv control server for iptv bandwidth management
CN102104874A (en) * 2009-12-21 2011-06-22 中兴通讯股份有限公司 Distribution method of network transmission resource and relevant device thereof

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103457872A (en) * 2013-05-31 2013-12-18 华为技术有限公司 Bandwidth control strategy distribution method and bandwidth control method, device and system
US9706255B2 (en) 2013-06-05 2017-07-11 Thomson Licensing Method and apparatus for content distribution for multiscreen viewing wherein video program and information related to the video program are transmitted to a second device but not to a first device when the distance between the two devices is greater than a predetermined threshold
CN105264906A (en) * 2013-06-05 2016-01-20 汤姆逊许可公司 Method and apparatus for content distribution for multiscreen viewing
WO2014194487A1 (en) * 2013-06-05 2014-12-11 Thomson Licensing Method and apparatus for content distribution for multiscreen viewing
US9930386B2 (en) 2013-06-05 2018-03-27 Thomson Licensing Method and apparatus for content distribution multiscreen viewing
US10212474B2 (en) 2013-06-05 2019-02-19 Interdigital Ce Patent Holdings Method and apparatus for content distribution for multi-screen viewing
WO2015196766A1 (en) * 2014-06-27 2015-12-30 中兴通讯股份有限公司 Bandwidth control method, iptv terminal device and communication system
RU2654369C1 (en) * 2014-06-27 2018-05-18 ЗетТиИ Корпорейшн Method for bandwidth management, iptv terminal device and communication system
CN105323650B (en) * 2014-06-27 2019-01-22 中兴通讯股份有限公司 Band width control method, IPTV terminal equipment and communication system
WO2017071655A1 (en) * 2015-10-29 2017-05-04 中兴通讯股份有限公司 Multi set top box bandwidth allocation method and device
CN105656667A (en) * 2015-12-29 2016-06-08 华为软件技术有限公司 Bandwidth distribution method, device and system
CN105656667B (en) * 2015-12-29 2019-04-26 华为软件技术有限公司 A kind of bandwidth allocation methods, apparatus and system
CN109639459A (en) * 2018-11-19 2019-04-16 网宿科技股份有限公司 A kind of method of adjustment of nominal bandwidth, terminal and can storage medium
CN109639459B (en) * 2018-11-19 2022-09-23 网宿科技股份有限公司 Method for adjusting rated bandwidth, terminal and storage medium

Similar Documents

Publication Publication Date Title
CN102932280A (en) Method, device and system for realizing bandwidth control
US11109077B2 (en) Controlling delivery of requested content based on delivery bandwidth limitations
US11665265B2 (en) Method for resolving delivery path unavailability
CN100542276C (en) A kind of implementation method of video frequency requested program broadcasting-like services, server and client
US9602414B2 (en) Apparatus and methods for controlled bandwidth reclamation
CN100355283C (en) Television channel delivering method of network based on channel switch and rating
EP3466085B1 (en) Methods and systems for generation of dynamic multicast channel maps
JP4860640B2 (en) Stream data network transmission system and method
US8601132B2 (en) Reception of audio-visual content addressed to several devices
CA2613063C (en) Limiting recording demands
US20120030721A1 (en) Home and network video caching
JP2009527971A (en) Apparatus and method for sharing resources in peer networks
CN101193275A (en) Method and apparatus for transmitting/receiving information in internet protocol network
CN104429086A (en) Smart stream delivery server, system and methods for assembling a mix of services to be delivered to a subscriber's premises
CN100481934C (en) Module and process for inter-user communication
US9992140B2 (en) Electronic apparatus, server, and control method of system
US10231016B2 (en) Network cooperation-based low power type charged broadcasting set-top box and controlling method therefor
CN102334345A (en) Personalized data distribution based on peer-to-peer content delivery
US20130340015A1 (en) Method for accessing multimedia content within a home
US20100021138A1 (en) Method for the distributed recording of a multimedia stream, corresponding device and computer program product
TWI444022B (en) Method for recovering a video-on-demand session
CN102148806A (en) Time shift processing method and system, network equipment and terminal for network television
CN107426616B (en) Intelligent digital television system data processing method and processing device
CN105323650A (en) Bandwidth control method, IPTV terminal equipment, and communication system
CN102523485B (en) Information distribution method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20130213