Embodiment
Embodiment of the invention set-top box parameter configuration method comprises:
Read the predetermined identification information of network parameter information;
Predetermined identification information according to above-mentioned network parameter information obtains network parameter information;
Wherein, above-mentioned network parameter packets of information includes network connected mode identification information, language message and consumption record.
As shown in Figure 1, be the flow chart of set-top box parameter configuration method embodiment of the present invention, this method comprises:
Step 101, with the network parameter information stores on Subscriber Identity Module;
This step is an optional step, when being the set-top box configuration parameter for the first time, it is on the SIM card that network parameter is stored in Subscriber Identity Module, above-mentioned network parameter can comprise internetwork connection mode identification information, language message and consumption record etc., wherein, the file format of internetwork connection mode sign (EF NET LINK STATUS) information is as shown in table 1:
The file format of table 1 internetwork connection mode identification information
Wherein, sign, structure, file size and update frequency etc. can write according to predetermined value, access consideration: read (READ), upgrade (UPDATE), lost efficacy (INVALIDATE), make effectively (REHABILITATE) to be respectively operation to this field, its operating right is respectively: always can (ALWAYS), user identity identification sign indicating number (CHV2), to access condition (ADM), the ADM of these constituent instruments;
About the setting of 1-645 byte be described as follows:
First byte is that set-top box (STB) starts flag bit, and all the other bytes keep the expanded application that can be used as from now on;
Specifying of the interior Starting mode flag bit sign of IPTVSIM card is as follows:
0x00 is that static IP starts: STB reads the static ip address of card stored as this machine address;
0x01 is that dynamic IP starts: STB surveys from network and obtains dynamic IP addressing as this machine address;
0x02 is that the point-to-point protocol (PPPoE) on the Ethernet starts: STB reads PPPoE user name, the password of card stored, obtains dynamic IP addressing as this machine address by ADSL (Asymmetric Digital Subscriber Line) (ADSL) dial mode;
0x03-0xff keeps, and can make expanded application;
The 2nd byte is that set-top box adopts IGMP (IGMP) multicast protocol version, is defined as follows:
0x00IGMP version 1;
The 0x01IGMP version 2;
The 0x02IGMP version 3;
0x03-0xff keeps, and can make expanded application;
The the 3rd to 258 byte is AUC (authentication) server URL(uniform resource locator) (URL), and storage mode is American Standard Code (ASC), and termination character is " 0 ";
The the 259th to 386 byte is NTP (time) server domain name, and storage mode is the ASC sign indicating number, and termination character is " 0 ";
The the 387th to 642 byte is upgrade server URL, and storage mode is the ASC sign indicating number, and termination character is " 0 ";
The 643rd byte is the time zone sign, specifically is defined as:
The 0x00 Greenwich Mean Time (GMT)-12;
0x01GMT-11;
……
0x19GMT+13;
0x1A-0xFF keeps, and can make expanded application;
The 644th byte is default card machine channel, specifically is defined as:
The 0x00 electronic program guide (EPG);
The 0x01 direct broadcast band;
The nearest video consumption of 0x02 record;
0x03-0xFF keeps, and can make expanded application;
The 645th byte is reservation register (RFU);
The file format of language message is as shown in table 2:
The file format of table 2 language message
Wherein, in the information of same tables 1 such as sign, structure, file size, update frequency and access consideration the description of relevant information identical, do not give unnecessary details at this; The 1-n byte is represented n kind speech selection sign indicating number respectively, and the 1st speech selection sign indicating number: 0x01 represents English display, and on behalf of Chinese, 0X02 show; The 2nd speech selection sign indicating number and n speech selection are used after keeping;
The file format of consumption record is as shown in table 3:
The file format of table 3 consumption record
Wherein, in the information of same tables 1 such as sign, structure, file size, update frequency and access consideration the description of relevant information identical, do not give unnecessary details at this;
Step 102, read the predetermined identification information of network parameter information;
The predetermined sign of the network parameter information in the set-top box reading SIM card, this step can comprise: the startup flag bit of the internetwork connection mode identification information in the set-top box reading SIM card, IGMP multicast protocol version etc.; Also can comprise: the speech selection sign indicating number of the language message in the set-top box reading SIM card etc.; Can also comprise: the startup channel parameter of the consumption record in the set-top box reading SIM card etc.; But be not limited to these predetermined signs of these network parameters;
Step 103, obtain network parameter information according to the predetermined identification information of above-mentioned network parameter information.
Obtain the network parameter information of set-top box according to the predetermined identification information of above-mentioned network parameter information, the network parameter information of set-top box includes but not limited to: the IP address of set-top box, the broadcast language of selection, the startup channel of selection;
This step can be obtained the IP address of set-top box in the following way:
When the startup flag bit of internetwork connection mode identification information is the static IP startup, reads the static ip address of storing on the Subscriber Identity Module and obtain network parameter;
When the startup flag bit of internetwork connection mode identification information is the dynamic IP startup, reads the dynamic IP addressing of storing on the Subscriber Identity Module and obtain network parameter;
When the startup flag bit of internetwork connection mode identification information starts for dialing, read the dialing information of storing on the Subscriber Identity Module, dynamically obtain network parameter by dial mode.
This step can be obtained the broadcast language that set-top box is selected in the following way:
When the speech selection sign indicating number of language message is first option code, reads the English display of storing on the Subscriber Identity Module and obtain network parameter;
When the speech selection sign indicating number of language message is second option code, reads the Chinese demonstration of storing on the Subscriber Identity Module and obtain network parameter.
This step can be obtained the startup channel that set-top box is selected in the following way:
When the startup channel parameter of consumption record is first predetermined value, set-top box is jumped on the channel in the consumption record obtain network parameter;
When the startup channel parameter of consumption record is second predetermined value, directly the home address of set-top box is opened and obtained network parameter;
When the startup channel parameter of consumption record was the 3rd predetermined value, a up-to-date URL(uniform resource locator) of directly opening in the consumption record was obtained network parameter;
Wherein, when above-mentioned first predetermined value can be for a certain channel such as during Beijing channel (BTV), above-mentioned second predetermined value can be the EPG homepage, the channel address that above-mentioned the 3rd predetermined value can withdraw from for the client last time at last; Above-mentioned first predetermined value, second predetermined value, the 3rd predetermined value can be provided with according to user's consumer need.
Above-mentioned set-top box parameter configuration method, by the network parameter on the reading SIM card, and obtain network parameter according to the predetermined sign of above-mentioned parameter, can realize automatic configuration preferably to set-top box parameter, thereby cause the user to upgrade situations such as set-top box when the network parameter configuration error or because set-top box is damaged, only SIM card need be taken out the new set-top box of insertion and can realize the automatic setting of set-top box network parameter, thereby can reduce the maintenance and management cost of set-top box effectively; Simultaneously, when set-top box was damaged, the user can write down the channel that selection is liked oneself according to the consumption that is stored on the SIM card, has improved user's Experience Degree and satisfaction preferably.
As shown in Figure 2, be the structural representation of Subscriber Identity Module embodiment of the present invention, this Subscriber Identity Module comprises: memory cell 11 is used for the storage networking parameter information, above-mentioned network parameter packets of information includes network connected mode identification information, language message and consumption record.
It is emphasized that above-mentioned network parameter information is including, but not limited to internetwork connection mode identification information, language message and consumption record.
Above-mentioned Subscriber Identity Module embodiment for set-top box provides a kind of plug and play, and can realize smart card to the automatic configuration of set-top box by the predetermined identification information of network parameter information.
As shown in Figure 3, be the structural representation of set-top box embodiment of the present invention, this set-top box comprises: interface unit 1 is used to finish the physical connection with Subscriber Identity Module; Reading unit 2 is used for the predetermined identification information of the network parameter information of reading cells storage; Acquiring unit 3 is used for obtaining network parameter information according to the predetermined identification information of the above-mentioned network parameter information that reads.
Wherein, above-mentioned reading unit can comprise: the identification information reading unit is used for the predetermined identification information of the internetwork connection mode identification information of reading cells storage; This moment, above-mentioned acquiring unit can comprise: identification information obtaining unit is used for obtaining network parameter information according to the predetermined identification information of the above-mentioned internetwork connection mode identification information that reads.
Further, above-mentioned identification information obtaining unit comprises: first identification information obtaining unit is used for reading the static ip address of storing on the Subscriber Identity Module and obtaining network parameter when the startup flag bit of internetwork connection mode identification information is the static IP startup; Second identification information obtaining unit is used for reading the dynamic IP addressing of storing on the Subscriber Identity Module and obtaining network parameter when the startup flag bit of internetwork connection mode identification information is the dynamic IP startup; The 3rd identification information obtaining unit is used for reading the dialing information of storing on the Subscriber Identity Module when the startup flag bit of internetwork connection mode identification information starts for dialing, dynamically obtains network parameter by dial mode.
Wherein, above-mentioned reading unit also can comprise: the language message reading unit is used for the predetermined identification information of the language message of reading cells storage; This moment, above-mentioned acquiring unit can comprise: the language message acquiring unit is used for obtaining network parameter information according to the predetermined identification information of the above-mentioned language message that reads.Further, above-mentioned language message acquiring unit comprises: the first language information acquisition unit is used for reading the English display of storing on the Subscriber Identity Module and obtaining network parameter when the speech selection sign indicating number of language message is first option code; The second language information acquisition unit is used for when the speech selection sign indicating number of language message is second option code, reads the Chinese demonstration of storing on the Subscriber Identity Module and obtains network parameter.
Wherein, above-mentioned reading unit can also comprise: reading unit is write down in consumption, is used for the predetermined identification information of the consumption record of reading cells storage; This moment, above-mentioned acquiring unit can comprise: consumption record acquiring unit is used for obtaining network parameter information according to the predetermined identification information of the above-mentioned consumption record that reads.
Further, above-mentioned consumption is write down acquiring unit and can be comprised: the first consumption record reading unit, be used for when the startup channel parameter of consumption record is first predetermined value, and set-top box is jumped on the channel of consuming in the record obtain network parameter; The second consumption record reading unit is used for directly the home address of set-top box being opened and being obtained network parameter when the startup channel parameter of consumption record is second predetermined value; The 3rd consumption record reading unit is used for when the startup channel parameter of consumption record is the 3rd predetermined value, and a up-to-date URL(uniform resource locator) of directly opening in the consumption record is obtained network parameter.
Above-mentioned set-top box, obtain network parameter information by acquiring unit according to the predetermined identification information of the network parameter on the SIM card, can realize automatic configuration preferably to set-top box parameter, thereby when the network parameter configuration error or since set-top box damage when causing the user to upgrade situation such as set-top box, only SIM card need be taken out the new set-top box of insertion and can realize the automatic configuration of set-top box network parameter, thereby can reduce the maintenance and management cost of set-top box effectively; Simultaneously, when set-top box was damaged, the user can write down the channel that selection is liked oneself according to the consumption that is stored on the SIM card, has improved user's Experience Degree and satisfaction preferably.
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.