Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is carried out clear, complete description, 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 is obtained under the creative work prerequisite.
Embodiment one
In existing IPTV system, owing to need dispose independently configuration server VCDS, and client need compare the complicated mutual information of Network server, the address information of for example Network server just can obtained by Dynamic Host Configuration Protocol server, dns server and configuration server, therefore not only introduced new fault point, but also need to revise the equipment of having disposed in the network, increased the cost of investment and the operation cost of IPTV system.In an embodiment of the present invention, provide the DHCP device of simplifying, this DHCP device can directly provide the information of Network server to client, can greatly simplify the deployment of IPTV system thus.Wherein the DHCP device of Jian Huaing is the network equipment or be attached on the prior network device independently, for example is attached on the network equipment of supporting fast channel switching server function.Preferably, be attached to router, compile on the network equipments such as switch, business router.
Fig. 1 shows the indicative flowchart of method according to an embodiment of the invention.
Can see that method may further comprise the steps according to an embodiment of the invention:
110, client sends DHCP and finds (DHCP Discover) broadcast request, comprises in described broadcast request to the request of the IP address of client with to the request of the information of Network server.In this step, client (for example set-top box) is initiated the DHCP Discover broadcast request in the DHCP flow process as in the prior art, with the IP address to the Dynamic Host Configuration Protocol server requesting client.On the other hand, in broadcast request, comprise request to the information of Network server.To this, can be in broadcast request option (Option) by agreement show request to the information of Network server.For example, can carry the information that " iVSE Server " shows request Network server by Option60 with the DHCP device agreement of simplifying, also can adopt new Option to show the information of request Network server, other modes that can certainly adopt those skilled in the art to expect show this request.
120, the DHCP of client reception Dynamic Host Configuration Protocol server transmission provides (DHCP Offer) message, the IP address that the IP address information of the described client that comprises in giving information according to described DHCP is obtained client.In this step, client can be come mutual and obtain the IP address with Dynamic Host Configuration Protocol server according to flow process of the prior art.Particularly, after each Dynamic Host Configuration Protocol server is received the broadcast request of client, send DHCP Offer message, provide IP the address to client to client.Client is selected the IP address of oneself and is sent the DHCP request to Dynamic Host Configuration Protocol server from the IP address that a plurality of Dynamic Host Configuration Protocol server provided, inform the IP address that Dynamic Host Configuration Protocol server is accepted by client.At last, Dynamic Host Configuration Protocol server responds client with DHCP acknowledge message (ACK).
130, client receives first response of the DHCP device transmission of simplifying, and obtains the information of Network server according to the information of the Network server that comprises in described first response.Such as previously mentioned, in an embodiment of the present invention, provide the DHCP device of simplifying, the DHCP device of this simplification can directly provide the information of Network server to client.Therefore, after the DHCP device of simplifying receives the broadcast request of client transmission, judge the request that whether comprises in the broadcast request for the information of Network server.For example, judge the Option60 that whether has agreement in the broadcast request.If have, then the DHCP Offer message by expansion responds the information that the Network server is provided to client as first.The information of Network server for example can be provided by the Option that carries expansion in the DHCP of this expansion Offer message, perhaps also can adopt other suitable manner that the information of Network server is provided.Therefore, client can be obtained the information of Network server according to described first response.
In the present embodiment, respond the details of carrying by first about the Network server.Particularly, details are that client can directly begin to carry out the mutual information of Network with the Network server by it, comprise the multicast group information of the group address message and the corresponding broadcast TV channel of supporting of Network server.For example the Network server comprises 2 Network server groups; Organizing 1 external address is 100.254.3.151, and corresponding multicast group address is from 229.0.0.128~229.0.1.127; Organizing 2 external addresses is 100.253.3.152, and corresponding multicast group address is 229.0.1.0~229.0.1.255.In order in first response message, to carry details, can realize by the form that correspondingly designs Option information about the Network server.For example, provided an example that carries about the Option information format of the details of Network server below.
The option information format:
● Option Code-1 eight bit groups (octet);
● Network server group number-1octet;
● IP address class type-1 bit: wherein 0 identify IPv4,1 sign IPv6;
● the information pattern of multicast group address-2 bit: wherein all multicast group are listed in 01 expression, 10 expression multicast group address number+initial multicast group address;
● reserve 5bits;
● Network server group address message;
● multicast group information (according to the information pattern of multicast group address): if information pattern is 01, the number of the first two byte-identifier multicast group, follow-up is multicast group address; If information pattern is 10, the number of the multicast group that the first two byte-identifier is total, the continuous multicast group address number of two byte representations of back, the back is a multicast group address; Two group address numbers that byte representation is continuous afterwards, what follow later is multicast group address, by that analogy.
Though in the superincumbent description, each step is numbered, and does not mean that above-mentioned steps is confined to carry out with described order.For example, client can be received the response that Dynamic Host Configuration Protocol server is then just received in first response of the DHCP device of simplification earlier, so client can obtain the information of Network server earlier, and then obtains the IP address.This does not influence essence of the present invention.
At this, if first response that client is received the DHCP device of a plurality of simplification in step 130, then preferably, the address list of the DHCP device of these simplification of client storage is so that can come direct acquired information by clean culture in follow-up restarting.
In the present embodiment, when if the DHCP device of Dynamic Host Configuration Protocol server and simplification is not in the broadcast domain of client, client is undertaken alternately by the DHCP device of DHCP relay device and Dynamic Host Configuration Protocol server and simplification, with first response that sends broadcast request, receives the response of Dynamic Host Configuration Protocol server and receive the DHCP device of simplifying.About the specific descriptions of the scheme that has the DHCP relay device, can be referring to the following examples six and accompanying drawing 6.
Pass through the foregoing description, client utilizes existing flow process to obtain the IP address from Dynamic Host Configuration Protocol server, and directly obtained the information of Network server according to first response of the DHCP device of simplifying, thereby need not the equipment in the existing network is upgraded or reconfigured, greatly simplified the deployment of IPTV system.
Embodiment two
Fig. 2 shows the indicative flowchart of method according to an embodiment of the invention.
Therefore step 110 among Fig. 2,120 identical with step among Fig. 1 repeats no more here.
In step 130, client is obtained the information of Network server according to first response of the DHCP device of simplifying.In embodiment one, carried details by first response, so client can utilize details and Network server directly to begin to carry out the IPTV service interaction about the Network server.In the present embodiment, the simple information about the Network server also can be only carried in first response, and client can be come selected network service server and the further details that obtain about selected Network server according to described simple information.For example, first response comprises the IP address and the identification information of at least one Network server.Therefore, client needs further execution in step 140,150 to select and obtain the details of certain Network server.
140, client is selected the particular network service server according to described first response, further to the request of the DHCP device transmission of simplifying to the details of particular network service server.For example, obtained under the situation of the IP address of at least one Network server and identification information by first response in client, can select the particular network service server, and directly ask to the DHCP that the DHCP device of simplifying sends expansion by clean culture, with the details of request particular network service server.
150, client receives second response of the DHCP device transmission of simplifying, and obtains the details of particular network service server according to described second response.For details are provided, second response can realize by the Option information of correspondingly design equally.Describe in detail in embodiment one about the Option information format, repeat no more here.
In the present embodiment, owing to send simple information by the DHCP device of simplifying earlier, after client is according to simple information selected network service server, send the details of particular network service server again, thereby need not to transmit the details of all-network service server, significantly reduce the information transmitted amount, improved efficiency of transmission.
Embodiment three
Fig. 3 shows the indicative flowchart of method according to an embodiment of the invention.
Can see, may further comprise the steps according to the method for present embodiment:
310, the DHCP device of simplifying receives the DHCP Discover broadcast request that client sends, and comprises the request to the information of Network server in described broadcast request.As the embodiment of front is mentioned, client can be in broadcast request option (Option) by agreement show request to the information of Network server, also can adopt new Option to show the information of request Network server, perhaps other modes that also can adopt those skilled in the art to expect show this request.
320, the DHCP device of Jian Huaing will include the Network server information first the response send to client so that client is obtained the information of Network server.In the present embodiment, the details about the Network server are carried in first response.As described at embodiment one, details be client by its information that can directly begin to carry out the IPTV service interaction with the Network server, comprise the multicast group information of the group address message and the corresponding broadcast TV channel of supporting of Network server.About the object lesson of details and how in first response, to carry details, can repeat no more here referring to embodiment one.
By method according to present embodiment, directly by the DHCP device simplified for client provides the information of Network server, therefore need not the equipment in the existing network is upgraded or reconfigured, greatly simplified the deployment of IPTV system.
Embodiment four
Fig. 4 shows the indicative flowchart of method according to an embodiment of the invention.
The difference of method shown in Figure 4 and method shown in Figure 3 is, in step 320, first response that the DHCP device of simplifying will include the information of Network server sends to client, details are not carried in this first response, but carry simple information about the Network server, client can utilize this simple information further to obtain details about the Network server.For example, the IP address and the identification information of the first respond packet includes network service server.
Subsequently, in step 330, the request that the DHCP device of simplification receives that client sends to the details of particular network service server, described request for example can be asked to realize by the DHCP of expansion.
In step 340, second response that the DHCP device of simplifying will include the details of described particular network service server sends to client, so that client is obtained the details of described selected Network server, described second response can realize by the DHCP affirmation (ACK) of expansion.
In the present embodiment, owing to send simple information by the DHCP device of simplifying earlier, after client is according to simple information selected network service server, send the details of selected Network server again, thereby need not to transmit the details of all-network service server, significantly reduce the information transmitted amount, improved efficiency of transmission.
Embodiment five
Fig. 5 shows the indicative flowchart of method according to an embodiment of the invention.In Fig. 5, specifically illustrated the message flow between the DHCP device of client, Dynamic Host Configuration Protocol server and simplification, comprising:
501, client sends DHCP Discover broadcast request, comprises in described broadcast request to the request of the IP address of client with to the request of the information of Network server.This step is corresponding to the step 110 among the embodiment of front.
502-504, after each Dynamic Host Configuration Protocol server is received the broadcast request of client, send DHCP to client (DHCP Offer) be provided message, provide IP the address to client.Client is selected the IP address of oneself and is sent the DHCP request to Dynamic Host Configuration Protocol server from the IP address that a plurality of Dynamic Host Configuration Protocol server provided, inform the IP address that Dynamic Host Configuration Protocol server is accepted by client.At last, Dynamic Host Configuration Protocol server responds client with DHCP acknowledge message (ACK).These steps are corresponding to the step 120 among the top embodiment.
505, the DHCP device of Jian Huaing will include the Network server information first the response send to client so that client is obtained the information of Network server.This step is corresponding to the step 320 among the embodiment of front.
As previously described, the DHCP device of simplification can provide details or simple information about the Network server for client by first response.If first response provides details, then do not need to carry out following step 506 and 507, client has obtained the enough information about the Network server.If first response only provides simple information, then need further execution in step 506,507.
506, client is according to the described first response selected network service server, further to the request of the DHCP device transmission of simplifying to the details of particular network service server, described particular network service server is that client is selected according to first response.This step is corresponding to the step 140 among the embodiment of front.
507, the DHCP device of Jian Huaing second response that will include the details of described selected Network server sends to client, so that client is obtained the details of described particular network service server.This step is corresponding to the step 340 among the embodiment of front.
Such as previously mentioned, above-mentioned steps is not limited to carry out with described order, for example, client can be received the response that Dynamic Host Configuration Protocol server is then just received in first response of the DHCP device of simplification earlier, therefore client can be obtained the information of Network server earlier, and then obtains the IP address.This does not influence essence of the present invention.
As seen, by the scheme of the embodiment of the invention, need not existing Dynamic Host Configuration Protocol server is reconfigured or upgrades.By the information that the DHCP device that simplification is provided to provide for client the Network server, greatly simplified the deployment and the flow process of IPTV system, thereby reduced the fault origination point, thereby reduced the cost of investment and the operation cost of system.
Embodiment six
Fig. 6 shows the indicative flowchart of method according to an embodiment of the invention.Be with flow chart difference shown in Figure 5, in Fig. 6, also comprise the DHCP relay device.When outside the broadcast domain of the DHCP of Dynamic Host Configuration Protocol server and simplification device in client, need the DHCP relay device to carry out forwards between the DHCP device of client and Dynamic Host Configuration Protocol server and simplification.Therefore the complete correspondence of describing among the particular content of each message and the embodiment five repeats no more here.
In the present embodiment, need be configured, so that client DHCP can be found request is transmitted to the DHCP device of simplification existing DHCP relay device.Yet also need not existing Dynamic Host Configuration Protocol server is upgraded at this, need not to dispose dns server, therefore can realize reducing the cost of investment and the operation cost of system equally.
Embodiment seven
According to embodiments of the invention, a kind of client of obtaining the information of transport management server in the IPTV business has been proposed.Fig. 7 shows the schematic diagram of client according to an embodiment of the invention.As seen, client 700 comprises: dispensing device 710, and it is arranged to and sends DHCP and find broadcast request, comprises in described broadcast request to the request of the IP address of client with to the request of the information of Network server; Receiving system 720, it is arranged to first response that the DHCP that receives the Dynamic Host Configuration Protocol server transmission provides and receives the DHCP device transmission of simplification; First deriving means 730, the IP address that its IP address information that described client that DHCP that sends according to Dynamic Host Configuration Protocol server comprises in providing is provided is obtained client; And second deriving means 740, its information that is arranged to the Network server that comprises in first response that sends according to the DHCP device of simplifying is obtained the information of Network server.
According to a form of implementation, the IP address and the identification information of the wherein said first respond packet includes network service server, described client further comprises choice device 750, it is arranged to according to described first response and selects the particular network service server; Described dispensing device 710 further is configured to the request of the DHCP device transmission of simplifying to the details of particular network service server; Described receiving system 720 further is configured to receive second response that the DHCP device of simplification sends; And described second deriving means 740 further is configured to obtain according to described second response details of particular network service server; Wherein, described details comprise the group address message and the corresponding multicast group information of selected Network server.
According to a form of implementation, wherein said client is undertaken alternately by the DHCP device of DHCP relay device and Dynamic Host Configuration Protocol server and simplification, with first response that sends broadcast request, receives the response of Dynamic Host Configuration Protocol server and receive the DHCP device of simplifying.
According to embodiments of the invention, a kind of DHCP device of simplification has been proposed also.Fig. 8 shows the schematic diagram of DHCP device according to an embodiment of the invention.As seen, this DHCP device 800 comprises: receiving system 810, and it is arranged to and receives the DHCP Discover broadcast request that client sends, and comprises the request to the information of Network server in described broadcast request; And dispensing device 820, it is arranged to first response that will include the information of Network server and sends to client, so that client is obtained the information of Network server.
According to a form of implementation, the IP address and the identification information of the wherein said first respond packet includes network service server, described receiving system 810 further is arranged to the request to the details of particular network service server that receives that client sends, and described particular network service server is that client is selected according to first response; And described dispensing device 820 further be arranged to will include second response of details of described particular network service server send to client so that client is obtained the details of described particular network service server; Wherein, described details comprise the group address message and the corresponding multicast group information of described particular network service server.
According to a form of implementation, wherein said DHCP device is undertaken alternately by DHCP relay device and client, to receive broadcast request and to send first response.
According to a form of implementation, wherein said DHCP device is the network equipment or be attached on the prior network device independently.Preferably, described DHCP device is attached on the network equipment of supporting fast channel switching server function, for example is attached to router, compiles switch, on the business router etc.
Concrete feature about said apparatus can repeat no more here referring to the corresponding method part in front.
In addition, embodiments of the invention also provide a kind of IPTV system, and it comprises the DHCP device of above-mentioned client and simplification.
Be described by the IPTV business though it is pointed out that top embodiment, the solution of the present invention is not limited to use under this scene, but can use in office what is the need for to want client to obtain in the corresponding scene of information of Network server.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of program command, aforesaid program can be stored in the computer read/write memory medium, this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as USB flash disk, read-only memory (ROM), random access device (RAM), magnetic disc or CD.
More than the embodiment of the invention is described in detail, used specific case herein principle of the present invention and execution mode set forth, the explanation of above embodiment just is used for help understanding method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.