Summary of the invention
An aspect of of the present present invention provides a kind of set-top box initialization network parameter setting method, the smart card techniques of the plug and play in the combining wireless communication system, start flag bit information by introducing set-top box, carry out the initialization setting to realize convenient, flexible network parameter to set-top box.
Another aspect of the present invention provides a kind of IPTV SIM card, for set-top box provides a kind of plug and play, and can carry out the smart card that initialization is provided with to the network parameter of set-top box neatly by the startup flag bit information that changes set-top box.
One side more of the present invention provides a kind of set-top box, and the smart card techniques of the plug and play in the combining wireless communication system starts flag bit information by introducing set-top box, carries out the initialization setting to realize the convenient, flexible network parameter to set-top box.
For realizing first aspect of the present invention, the set-top box initialization network parameter setting method of some embodiments of the present invention comprises the steps: to be provided with set-top box and starts flag bit information in the IPTV SIM card; Set-top box reads the startup flag bit information in the IPTV SIM card; Obtain the initialization network parameter of set-top box according to described startup flag bit information.
The execution mode of above-mentioned set-top box initialization network parameter setting method, the smart card techniques of the plug and play in the combining wireless communication system, start flag bit information by introducing set-top box, carry out the initialization setting to realize convenient, flexible network parameter to set-top box; Compare with existing presetting system initialization network parameter setting method, configuration mode is more flexible, has reduced maintenance difficulties and maintenance cost in the set-top box use, has strengthened user experience.
For realizing second aspect of the present invention, the IPTV SIM card of some embodiments of the present invention comprises: memory module is used for the memory machine top box and starts flag bit information, static network parameter and dialing information; Update module is connected with described memory module, is used to upgrade the startup flag bit information of set-top box.
The execution mode of above-mentioned IP TV SIM card for set-top box provides a kind of plug and play, and can carry out the smart card that initialization is provided with to the network parameter of set-top box neatly by the startup flag bit information that changes set-top box.
For realizing the 3rd aspect of the present invention, the set-top box of some embodiments of the present invention comprises: the IPTVSIM card, and described IPTV SIM card comprises: memory module is used for startup flag bit information, static network parameter and the dialing information of memory machine top box; Update module is connected with described memory module, is used to upgrade the startup flag bit information of set-top box; The network parameter acquisition module is connected with described IPTV SIM card, is used for obtaining according to described startup flag bit information the initialization network parameter of set-top box.
The execution mode of above-mentioned set-top box initialization network parameter setting method, the smart card techniques of the plug and play in the combining wireless communication system, introduce the IPTV SIM card that to separate with the body of set-top box, again by introducing the startup flag bit information of set-top box, make the setting of initialization network parameter of set-top box realize by the IPTV SIM card is auxiliary; Compare with existing presetting system initialization network parameter setting method, the execution mode kind of above-mentioned set-top box, the initialization network parameter configuration mode of set-top box is more flexible, and because the IPTV SIM card is separated (being separation between machine and card) with the body of set-top box, therefore when needs change the startup flag bit information of set-top box, only need the startup flag bit information of the set-top box in the card is changed, maybe when card damages, directly to sticking into the row maintenance, therefore reduce maintenance difficulties and maintenance cost in the set-top box use, strengthened user experience.
Embodiment
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Referring to Fig. 1, be the flow chart of a kind of set-top box initialization network parameter setting method of the present invention embodiment.Present embodiment comprises:
Step 1, the startup flag bit information of set-top box is set in the IPTV SIM card.The flag bit of startup described in embodiments of the invention information is one of them in static IP Starting mode, dynamic IP Starting mode, the dialing Starting mode.Start flag bit information can but be not limited to aforementioned three cited classes
Step 2, set-top box read the startup flag bit information in the IPTV SIM card.
Step 3, obtain the initialization network parameter of set-top box according to described startup flag bit information.Described initialization network parameter includes but not limited to: parameters such as the IP address of set-top box, subnet mask, gateway address, dns server address.
The embodiment of above-mentioned set-top box initialization network parameter setting method, the smart card techniques of the plug and play in the combining wireless communication system, start flag bit information by introducing set-top box, carry out the initialization setting to realize convenient, flexible network parameter to set-top box; Compare with existing presetting system initialization network parameter setting method, configuration mode is more flexible, has reduced maintenance difficulties and maintenance cost in the set-top box use, has strengthened user experience.
Referring to Fig. 2, the described step 3 in the foregoing description is specially:
Step 30, the described startup flag bit information of judgement, if described startup flag bit information is the static IP Starting mode, then execution in step 31; If described startup flag bit information is the dynamic IP Starting mode, then execution in step 32; If described startup flag bit information is the dialing Starting mode, then execution in step 33.
Step 31, read the IPTV SIM card and obtain the static network parameter, as initialization network parameter.Parameters such as the IP address of set-top box, subnet mask, gateway address, dns server address when described static network parameter includes but not limited to the static IP Starting mode.
Step 32, obtain the dynamic network parameter from network side, as initialization network parameter.Parameters such as the IP address of set-top box, subnet mask, gateway address, dns server address when described dynamic network parameter includes but not limited to the dynamic IP Starting mode.
Step 33, read the dialing information of IPTV SIM card stored,, obtain the dynamic network parameter by dial mode, as initialization network parameter according to described dialing information.If adopt the ADSL dial mode, described dialing information comprises: the user name of PPPOE, password etc.Wherein step 33 can specifically comprise again: step 331, read the dialing information of IPTV SIM card stored; Step 332, according to described dialing information, obtain the dynamic network parameter by dial mode.
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 ROM, RAM, magnetic disc or CD.
Referring to Fig. 3, be the structural representation of a kind of IPTV SIM card of the present invention embodiment.Present embodiment comprises: memory module 110 is used for the memory machine top box and starts flag bit information, static network parameter and dialing information; Update module 120 is connected with memory module 110, is used to upgrade the startup flag bit information of set-top box.Wherein memory module 110 can specifically comprise again: first memory module 111 is used for the memory machine top box and starts flag bit information; Second memory module 112 is used to store the static network parameter; The 3rd memory module 113 is used for memory dialing information.
The embodiment of above-mentioned IP TV SIM card for set-top box provides a kind of plug and play, and can carry out the smart card that initialization is provided with to the network parameter of set-top box neatly by the startup flag bit information that changes set-top box.
Referring to Fig. 4, be the structural representation of a kind of set-top box embodiment of the present invention.Present embodiment comprises: IPTVSIM card 100 and network parameter acquisition module 200.Wherein IPTV SIM card 100 comprises: memory module 110 is used for startup flag bit information, static network parameter and the dialing information of memory machine top box; Update module 120 is connected with memory module 110, is used to upgrade the startup flag bit information of set-top box; Network parameter acquisition module 200 is connected with IPTV SIM card 100, is used for obtaining according to described startup flag bit information the initialization network parameter of set-top box.
The embodiment of above-mentioned set-top box initialization network parameter setting method, the smart card techniques of the plug and play in the combining wireless communication system, introduce the IPTV SIM card that to separate with the body of set-top box, again by introducing the startup flag bit information of set-top box, make the setting of initialization network parameter of set-top box realize by the IPTV SIM card is auxiliary; Compare with existing presetting system initialization network parameter setting method, the execution mode kind of above-mentioned set-top box, the initialization network parameter configuration mode of set-top box is more flexible, and because the IPTV SIM card is separated (being separation between machine and card) with the body of set-top box, therefore when needs change the startup flag bit information of set-top box, only need the startup flag bit information of the set-top box in the card is changed, maybe when card damages, directly to sticking into the row maintenance, therefore reduce maintenance difficulties and maintenance cost in the set-top box use, strengthened user experience.
Store the network connection identifier (EF NET LINK STATUS is called for short EF) of set-top box in the above-mentioned memory module, comprise the startup flag bit information of set-top box among this EF, this information is used for set-top box.As table one, explained the content that startup flag bit information is comprised:
Table one starts the storage organization of flag bit information
Sign: 6F01 |
Structure: Transparent |
Enforceable |
File size: 1-50bytes |
Update frequency: LOW |
Access consideration |
|
READ |
ALWAYS |
|
UPDATE |
CHV1 |
|
INVALIDATE |
ADM |
|
REHABILITATE |
ADM |
|
Byte |
Describe |
M/O | Length | |
1 |
XXXX |
M |
1 |
2 |
The multicast protocol version | M | |
1 |
3 |
The AUC server |
M |
21 |
|
|
|
|
24-50 |
RFU |
O |
26 |
Below be the explanation of his-and-hers watches one:
(1) sign, structure, file size and update frequency etc. can write by set point, access consideration: read (READ), upgrading (UPDATE), lost efficacy (INVALIDATE), make effectively (REHABILITATE) be respectively operation to this field, its operating right is respectively ALWAYS, CHV1, ADMADM; Wherein ALWAYS always represent can, CHV1 represents the user identity identification sign indicating number, ADM represents the access condition to these constituent instruments;
(2) about the meaning of 1-50 byte and explanation is set:
The 1st byte representation starts the checking position of flag information.If,
0x00 represents the static IP Starting mode, and after set-top box was known the information of this byte, the static network parameter that reads IPTV SIM card stored was as initialization network parameter;
0x01 represents the dynamic IP Starting mode, after set-top box is known the information of this byte, obtains the dynamic network parameter as initialization network parameter from network side;
0x02 represents the Starting mode that dials, and after set-top box is known the information of this byte, from reading the dialing information of IPTV SIM card stored, obtains the dynamic network parameter by dial mode;
Expansion was used after 0x03-0xff kept.
The 2nd byte representation set-top box adopts dial mode, IGMP multicast protocol version when referring to here adopt the PPPOE dial mode, and this version can define separately.
3-23 byte representation set-top box adopts dial mode, the domain name of authentication (AUC) server when referring to here adopt the PPPOE dial mode, and the domain name of this AUC server can define separately.
Expansion was used after the 24-50 byte kept.
Wherein can make amendment to the business hall before using set-top box in the checking position of the represented startup flag bit information of the 1st byte.Can also revise by other modes, if set-top box has been obtained initialization network parameter according to default startup flag bit information, and set up the network connection by authentication, this moment, operator can adopt aerial (the Over The Air of download according to the operation strategy of self, abbreviation OTA) mode is made amendment to the checking position that starts flag bit information, so that set-top box obtains initialization network parameter once more, change network and connect.Flag bit as default startup flag bit information is 0x00, set-top box obtains the static network parameter, by having set up the network connection after the authentication, this moment, operator wished that according to the operation strategy of self set-top box sets up network by the dynamic network parameter and connect, 0x01 is revised as in the checking position of then adopting the OTA mode will start flag bit information, at this moment set-top box can be according to amended checking position, select the dynamic IP Starting mode to obtain the dynamic network parameter, and then after carrying out authentication, set up network according to acquisition dynamic network parameter and connect.
The static network parameter of storing in the above-mentioned memory module; As table two, comprise following content:
The storage organization of table two static network parameter
Sign: 6F02 |
Structure: Transparent |
Enforceable |
File size: 1-240bytes |
Update frequency: LOW |
Access consideration |
|
READ |
ALWAYS |
|
UPDATE |
CHV1 |
|
INVALIDATE |
ADM |
|
REHABILITATE |
ADM |
|
Byte |
Describe |
M/O |
Length |
1-15 |
The IP address |
M |
15 |
16-30 |
Subnet mask |
M |
15 |
31-45 |
Gateway address |
M |
15 |
46-60 |
Dns server address |
M |
15 |
61-24 0 |
RFU |
O |
180 |
Below be the explanation of his-and-hers watches two:
(1) implication with sign, structure, file size, update frequency and access consideration: READ, UPDATE, INVALIDATE, REHABILITATE in the table one is identical, does not repeat them here;
(2) about the meaning of 1-50 byte and explanation is set:
IP address when the 1-15 byte is set-top box employing static ip address mode.
Subnet mask when the 16-30 byte is set-top box employing static ip address mode.
Gateway address when the 31-45 byte is set-top box employing static ip address mode.
Dns server address when the 46-60 byte is set-top box employing static ip address mode.
Expansion was used after the 61-240 byte kept.
The dialing information of storing in the above-mentioned memory module is an example with the PPPOE dialing, as table three, comprises following content:
The storage organization of table three PPPOE dialing information
Sign: 6F03 |
Structure: Transparent |
Enforceable |
File size: 1-50bytes |
Update frequency: LOW |
Access consideration |
|
READ |
ALWAYS |
|
UPDATE |
CHV1 |
|
INVALIDATE |
ADM |
|
REHABILITATE |
ADM |
|
Byte |
Describe |
M/O |
Length |
1-12 |
The PPPOE user name |
M |
12 |
13-20 |
The PPPOE password |
M |
8 |
21-50 |
RFU | O | |
30 |
Below be the explanation of his-and-hers watches two:
(1) implication with sign, structure, file size, update frequency and access consideration: READ, UPDATE, INVALIDATE, REHABILITATE in the table one is identical, does not repeat them here;
(2) about the meaning of 1-50 byte and explanation is set:
PPPOE user name when the 1-12 byte is set-top box employing PPPOE dial mode.
PPPOE password when the 13-20 byte is set-top box employing PPPOE dial mode.
Expansion was used after the 21-50 byte kept.
Fig. 5 is the structural representation of a kind of set-top box one preferred embodiment of the present invention.Among this embodiment, network parameter acquisition module 200 in the set-top box can comprise: first module 210, be connected with the memory module 110 in the IPTV SIM card, be used for being responsible for when the startup flag bit information of set-top box is the static IP Starting mode, reading memory module 100 and obtain the static network parameter.
Network parameter acquisition module 200 can also comprise second module 220, is used for being responsible for when the startup flag bit information of set-top box is the dynamic IP Starting mode and the network side acquisition dynamic network parameter that connects.
Network parameter acquisition module 200 can also comprise three module 230, be connected with the memory module 110 in the IPTV SIM card, be used for being responsible for when the startup flag bit information of set-top box is the dialing Starting mode, reads memory module and obtaining dialing information, obtain the dynamic network parameter by dial mode.
This embodiment by being provided with respectively and the startup flag bit information of set-top box functional module one to one, makes that the structure of whole set-top box is more clear in the network parameter acquisition module, more perfect function is convenient to the maintenance and the management of individual module.
In sum, the set-top box initialization network parameter setting method of various embodiments of the present invention, IPTV SIM card and set-top box have the following effect of having a mind to:
1) smart card techniques of the plug and play in the combining wireless communication system is introduced the IPTV SIM card, introduces the startup flag bit information of set-top box again in the IPTV SIM card, makes the setting of initialization network parameter of set-top box realize by the IPTV SIM card is auxiliary;
2) compare with existing presetting system initialization network parameter setting method, the initialization network parameter configuration mode of set-top box is more flexible, and because the IPTV SIM card is separated (being separation between machine and card) with the body of set-top box, therefore when needs change the startup flag bit information of set-top box, only need the startup flag bit information of the set-top box in the card is changed, maybe when card damages, directly to sticking into the row maintenance, therefore reduce maintenance difficulties and maintenance cost in the set-top box use, strengthened user experience.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.