CN103442291A - Set top box upgrading method and device - Google Patents

Set top box upgrading method and device Download PDF

Info

Publication number
CN103442291A
CN103442291A CN2013103391657A CN201310339165A CN103442291A CN 103442291 A CN103442291 A CN 103442291A CN 2013103391657 A CN2013103391657 A CN 2013103391657A CN 201310339165 A CN201310339165 A CN 201310339165A CN 103442291 A CN103442291 A CN 103442291A
Authority
CN
China
Prior art keywords
upgrading
information
set top
top box
identifying information
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
CN2013103391657A
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.)
Shenzhen Skyworth Digital Technology Co Ltd
Shenzhen Skyworth Software Co Ltd
Original Assignee
Shenzhen Skyworth Digital Technology Co Ltd
Shenzhen Skyworth Software 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 Shenzhen Skyworth Digital Technology Co Ltd, Shenzhen Skyworth Software Co Ltd filed Critical Shenzhen Skyworth Digital Technology Co Ltd
Priority to CN2013103391657A priority Critical patent/CN103442291A/en
Publication of CN103442291A publication Critical patent/CN103442291A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Storage Device Security (AREA)

Abstract

The invention discloses a set top box upgrading method and device. The method comprises the steps of carrying out encryption on the identity information of a set top box to generate identifying information; judging whether the identifying information meets upgrading trigger conditions or not according to received upgrading trigger information, wherein the upgrading trigger information carries encrypted standard information, and the standard information is the identity information of the set top box needing to be upgraded; receiving upgrading data information to carry out upgrading if the identifying information meets the upgrading trigger conditions; canceling the upgrading if the identifying information does not meet the upgrading trigger conditions. The invention further discloses the set top box upgrading device. By the adoption of the set top box upgrading method and device, the function of carrying out encryption on the set top box can be achieved, safety is high, upgrading can be simultaneously carried out on set top boxes of different machine types, the operation that manufacturers carry out reasonable allocation on all frequency points is facilitated, and the upgrading process is convenient, simple and fast.

Description

A kind of set top box upgrading method and device
Technical field
The present invention relates to the communications field, relate in particular to a kind of set top box upgrading method and device.
Background technology
Along with popularizing of Digital Television, support the Set Top Box of Digital Television broadcasting in occupation of consequence, more and more obtain the attention of operator for the improvement of set-top box functionality.TS flows (Transport Stream), i.e. transport stream or program stream, and for transmission and coded data or other data of preserving the multiple tracks program, it forms unit is program.When Set Top Box need to be upgraded, operator can be sent to Set Top Box by transport stream TS stream by upgrade trigger data and upgrade data and be upgraded.Yet on the one hand, in transmitting procedure, upgrade data is transparent, that is anyone can detect by illegal channels the content of upgrade data, and this just causes the upgrade data information content easily stolen.
On the other hand, while being transmitted upgrade data, operator can only be upgraded to the type of a Set Top Box wherein at every turn, and before the Set Top Box of other type needs to wait for, the set top box upgrading of a type is upgraded after complete again, thereby make escalation process become single, also wasted the time simultaneously.
Summary of the invention
Embodiment of the present invention technical problem to be solved is, a kind of set top box upgrading method and device are provided, have and can realize the function that the Set Top Box identity information is encrypted, safe, and can to the Set Top Box of different money types, be upgraded simultaneously, be conducive to manufacturer each frequency is carried out to reasonable distribution, escalation process facilitates simple and direct.
In order to solve the problems of the technologies described above, the embodiment of the present invention provides a kind of set top box upgrading method on the one hand, comprising:
Identity information to Set Top Box is encrypted, and generates identifying information;
Judge according to the upgrading trigger message received whether described identifying information meets the triggering promotion condition, and described upgrading trigger message carries the standard information of having encrypted, and described standard information is the identity information that needs the Set Top Box of upgrading;
Trigger promotion condition if described identifying information meets, receive upgrade data information and upgraded; Do not trigger promotion condition if described identifying information does not meet, cancel upgrading.
In the first of embodiment of the present invention first aspect, in possible implementation, described upgrading trigger message and described upgrade data information are carried by transport stream TS stream.
In the first of embodiment of the present invention first aspect in possible implementation, the described upgrading trigger message according to receiving judges whether described identifying information meets to be triggered promotion condition and comprises:
According to described upgrading trigger message, whether the value of entrained version number changes and judges whether described upgrading trigger message and described upgrade data information are upgraded, the described standard information of corresponding at least one the Set Top Box type of the value of described version number;
If judge, described version number changes, and means that described upgrading trigger message and described upgrade data information upgrades, continues to judge whether described identifying information is complementary with one of them standard information of described upgrading trigger message;
If the described standard information of one of them of described identifying information and described upgrading trigger message is complementary, continue to judge the whether corresponding software version lower than the standard information of described coupling of software version that described identifying information is corresponding;
If the software version software version corresponding lower than the standard information of described coupling that described identifying information is corresponding, continue judge that sequence number that described identifying information is corresponding is whether in the sequence number extent of competence of the standard information restriction of described coupling;
If sequence number corresponding to described identifying information, in the sequence number extent of competence that the standard information of described coupling limits, determined to meet and triggered promotion condition.
In the first of embodiment of the present invention first aspect, in possible implementation, described reception upgrade data information is upgraded and is comprised:
Inquire about the type that standard information is upgraded of described coupling;
Downloading described upgrade data information according to described upgrading type is upgraded.
In the 4th kind of possible implementation of embodiment of the present invention first aspect, described upgrading type comprises common upgrading type, mandatory upgrade type, wherein:
Whether described common upgrading type, while for meeting when described identifying information, triggering promotion condition, provide the user to select to upgrade, if the user selects upgrading to download described upgrade data information, upgraded;
Described mandatory upgrade type, while for meeting when described identifying information, triggering promotion condition, directly download described upgrade data information and upgraded.
Correspondingly, embodiment of the present invention second aspect also provides a kind of set top box upgrading device, comprising:
Encrypting module, be encrypted for the identity information to Set Top Box, generates identifying information;
Judge module, judge for the upgrading trigger message according to receiving whether described identifying information meets the triggering promotion condition, and described upgrading trigger message carries the standard information of having encrypted, and described standard information is the identity information that needs the Set Top Box of upgrading;
The upgrading module, while for judging that when described judge module described identifying information is satisfied, triggering promotion condition, receive upgrade data information and upgraded; When described judge module judges that described identifying information does not meet the triggering promotion condition, cancel upgrading.
In the first of embodiment of the present invention second aspect, in possible implementation, described device also comprises:
Memory module, for storing described upgrading trigger message and described upgrade data information.
In the first of embodiment of the present invention second aspect, in possible implementation, described judge module comprises:
The first judging unit, for according to described upgrading trigger message, whether the value of entrained version number changes to judge whether described upgrading trigger message and described upgrade data information are upgraded, the described standard information of corresponding at least one the Set Top Box type of the value of described version number;
The second judging unit, for when judgment result is that of described the first judging unit is, mean that described upgrading trigger message and described upgrade data information upgrades, judge whether described identifying information is complementary with one of them described standard information of described upgrading trigger message;
The 3rd judging unit, for when judgment result is that of described the second judging unit is, differentiate the whether corresponding software version lower than the standard information of described coupling of software version that described identifying information is corresponding;
The 4th judging unit, for when judgment result is that of described the 3rd judging unit is, judge that sequence number that described identifying information is corresponding is whether in the sequence number extent of competence that the standard information of described coupling limits;
Trigger element, for when judgment result is that of described the 4th judging unit is, determines to meet and trigger promotion condition.
In the first of embodiment of the present invention second aspect, in possible implementation, described upgrading module comprises:
Selected cell, for the corresponding upgrading type of the standard information of inquiring about described coupling;
Download unit, download described upgrade data information for the upgrading type according to described correspondence and upgraded.
In the 4th kind of possible implementation of embodiment of the present invention second aspect, described selected cell comprises:
Whether common upgrading unit, while for meeting when described identifying information, triggering promotion condition, provide the user to select to upgrade, if the user selects upgrading to download described upgrade data information, upgraded;
The mandatory upgrade unit, while for meeting when described identifying information, triggering promotion condition, directly download described upgrade data information and upgraded.
In embodiments of the present invention, Set Top Box receives the upgrading trigger data sent from transport stream TS stream, after the identity information of self is encrypted to the generation identifying information, with the content of upgrading trigger data, check mutually.The trigger data of wherein upgrading comprises version number, the identity information of the various Set Top Box types of having encrypted (being standard information), the software version corresponding with various standard information, sequence number extent of competence.After checking, and if met above condition according to various standard information corresponding upgrading type upgrade accordingly.Adopt the present invention, have the function that can encrypt the Set Top Box identity information, it is safe, and can to the Set Top Box of different money types, be upgraded simultaneously, is conducive to manufacturer each frequency resource is carried out to reasonable distribution, and escalation process facilitates simple and direct.
The accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, below will the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described, apparently, accompanying drawing in the following describes is only 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.
Fig. 1 is the schematic flow sheet of the disclosed a kind of set top box upgrading method of the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of the disclosed another kind of set top box upgrading method of the embodiment of the present invention;
Fig. 3 is the structural representation of the disclosed a kind of set top box upgrading device of the embodiment of the present invention
Fig. 4 is the structural representation of judge module in the disclosed set top box upgrading device of the embodiment of the present invention;
Fig. 5 is the structural representation of upgrading module in the disclosed set top box upgrading device of the embodiment of the present invention.
Fig. 6 is the structural representation of selected cell in the disclosed upgrading module of the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described the present embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making under the creative work prerequisite the every other embodiment obtained, belong to the scope of protection of the invention.
The embodiment of the invention discloses a kind of set top box upgrading method and device, have and can realize the function that the Set Top Box identity information is encrypted, it is safe, and can to the Set Top Box of different money types, be upgraded simultaneously, be conducive to manufacturer each frequency is carried out to reasonable distribution, escalation process facilitates simple and direct.Below be elaborated respectively.
Refer to Fig. 1, Fig. 1 is the flow chart of the disclosed a kind of set top box upgrading method of the embodiment of the present invention.
As shown in Figure 1, the disclosed a kind of set top box upgrading method of the embodiment of the present invention can comprise the following steps:
Step 100, be encrypted the identity information of Set Top Box, generates identifying information.
In an embodiment, before the upgrading trigger message that transport stream TS stream is sent is checked, because the identity information in the upgrading trigger message is encrypted by the MD5 algorithm, generate standard information, thus the identity information of Set Top Box self also need by the MD5 algorithm for encryption generate identifying information could with the upgrading trigger message in standard information checked.
It should be noted that, the identity information of Set Top Box can be hardware version ID and the user ID value of Set Top Box type, can be also the distinctive data messages relevant with type such as the machine model of this type, regional value.Within every information relevant with the Set Top Box type can be incorporated in the scope that identity information checks.
Step 110, judge according to the upgrading trigger message received whether identifying information meets the triggering promotion condition, and the upgrading trigger message carries the standard information of having encrypted, and standard information is the identity information that needs the Set Top Box of upgrading.
In embodiments of the present invention, the upgrading trigger data comprises version number, the identity information of the various Set Top Box types of having encrypted (being standard information), the software version corresponding with the identity information of various Set Top Box types, sequence number extent of competence.After checking, and if met above condition according to various standard information corresponding upgrading type upgrade accordingly.
As a kind of enforceable mode, in specific implementation, promotion condition comprises following 5 points:
The first, according to the upgrading trigger message, whether the value of entrained version number changes to judge whether upgrading trigger message and upgrade data information are upgraded, the standard information of corresponding at least one the Set Top Box type of the value of this version number;
The second, if judgement version number changes, mean to upgrade trigger message and upgrade data information are upgraded, continue to judge whether identifying information is complementary with one of them standard information of upgrading trigger message; If judgement version number does not change, cancel upgrading.
The 3rd, according to the judgement of second condition, if identifying information is complementary with one of them standard information of upgrading trigger message, continue judge that whether software version that identifying information is corresponding is lower than software version corresponding to standard information mated; If identifying information is complementary less than any one standard information with the upgrading trigger message, cancel upgrading.
The 4th, according to the judgement of the 3rd condition, if software version corresponding to identifying information lower than the software version corresponding to standard information of coupling, continues judge that sequence number that identifying information carries is whether in the sequence number extent of competence of the standard information restriction of coupling; If software version corresponding to identifying information, higher than the software version corresponding to standard information of coupling, cancelled upgrading.
The 5th, according to the judgement of the 4th condition, if the sequence number that identifying information carries triggers upgrading in the sequence number extent of competence of the standard information restriction of coupling; If in the sequence number extent of competence that the sequence number that identifying information carries does not limit in the standard information of mating, cancel upgrading.
Step 120, trigger promotion condition if identifying information meets, and receives upgrade data information and upgraded; Do not trigger promotion condition if identifying information does not meet, cancel upgrading.
As a kind of enforceable mode, the upgrading type comprises common upgrading type, mandatory upgrade type, wherein:
Whether common upgrading type, while for meeting when identifying information, triggering promotion condition, provide the user to select to upgrade, if the user selects upgrading to download corresponding upgrade data information, upgraded; If the user selects to stop upgrading Set Top Box cancellation upgrading.
The mandatory upgrade type, while for meeting when identifying information, triggering promotion condition, directly download corresponding upgrade data information and upgraded.
By implementing the described method of Fig. 1, whole deterministic process is summarized, this method embodiment has can realize the function that the Set Top Box identity information is encrypted, safe, and can to the Set Top Box of different money types, be upgraded simultaneously, be conducive to manufacturer each frequency is carried out to reasonable distribution, escalation process facilitates simple and direct.
Refer to Fig. 2, Fig. 2 is the disclosed another kind of set top box upgrading method schematic diagram of the embodiment of the present invention.Fig. 2 carries out the process that improved more detailed description triggers upgrading and downloads upgrading on the basis of Fig. 1.
As shown in Figure 2, the disclosed a kind of set top box upgrading method of the embodiment of the present invention can comprise the following steps.
It should be noted that, the identity information of Set Top Box can be hardware version ID and the user ID value of Set Top Box type, can be also the distinctive data messages relevant with type such as the machine model of this type, regional value.Within every information relevant with the Set Top Box type can be incorporated in the scope that identity information checks.
Step 200, the identity information of Set Top Box self is encrypted, and generates identifying information.
In the present embodiment, for the identity information of Set Top Box self, adopt the MD5 algorithm to be encrypted, generated identifying information.The MD5 algorithm is a kind of md5-challenge, is to allow large capacity information be become a kind of secret form (being exactly the byte serial of a random length to be transformed into to the large integer of a fixed length) by " compression " before with digital signature software, signing private secret key.By by the MD5 algorithm for encryption, making user profile well be protected.
And the standard information in the upgrading trigger message is also by MD5 algorithm for encryption gained, its advantage by the MD5 algorithm for encryption is, the byte serial of identity information can be transformed into the large integer of one fixed length, therefore when the identifying information of Set Top Box is compared with upgrading trigger message Plays information, only need relatively their MD5 value, can judge that whether these two kinds of information are identical.
Step 201, Set Top Box receives the upgrading trigger message.
In an embodiment, the upgrading trigger message can be sent to Set Top Box by transport stream TS stream, and TS stream, when carrying the upgrading trigger message, also carries upgrade data information.In specific implementation, upgrade data information can be realized by function (Software_update_section ()).Trigger message and the upgrade data information of wherein upgrading is included in a group name in the table of (table_id), when the value of the table_id positional value that is 0x8D interval scale upgrading trigger message place; When the positional value that the value of table_id is 0x90 interval scale upgrade data information place, when Set Top Box need to be upgraded, the upgrading trigger message finds the positional value at upgrade data information place in table_id, and extracts upgrade data information and download.
Step 202, whether judgement upgrading trigger message and upgrade data information have renewal.
In specific implementation, whether judgement upgrading trigger message and upgrade data information have renewal to judge according to the variation of version number in (Software_update_section) function, when upgrade trigger message and upgrade data information have renewal, in corresponding (Software_update_section) function, the field of version number (version_number) can add " 1 " on original value.Therefore can judge according to the variation of version number value whether upgrading trigger message and upgrade data information have renewal.Perform step 203 when having judged while upgrading, when judging while not upgrading, perform step 210, cancel upgrading.
Step 203, during being judged as upgrading trigger message and upgrade data information renewal is arranged of the step 202 that continues, further judge whether the identifying information of Set Top Box self is complementary with one of them standard information of upgrading trigger message.
In the present embodiment, in (Software_update_section) function, the value of version number can change to some extent owing to upgrading, the concrete value of version number is shone upon the standard information of n Set Top Box type in (Software_update_section) function, and these standard information are all through the MD5 algorithm for encryption.Therefore, when whether the identifying information that judges Set Top Box self is complementary with one of them standard information of upgrading trigger message, by the MD5 value of the standard information of n Set Top Box type in the MD5 value of the identifying information of Set Top Box self and (Software_update_section) function, compare one by one, the MD5 value that the standard information of a Set Top Box type is arranged in comparing out function is that the MD5 value with the identifying information of Set Top Box self is when identical, the identifying information that Set Top Box self is described has the standard information be complementary with it, can continue to carry out the judgement that next step is step 204.
Be MD5 value with the identifying information of Set Top Box self when identical without any the MD5 value of the standard information of a Set Top Box type in inquiring function, directly perform step 210, cancel upgrading.
Step 204, the result of the step 203 that continues judgement is the identifying information that inquires Set Top Box the self when standard information be complementary with it is arranged, and continues judge that the software version of identifying information of Set Top Box self is whether lower than the software version of the standard information of mating.
If the software version of the identifying information of Set Top Box self, lower than the software version of the standard information of coupling, performs step 205; If the software version of the identifying information of Set Top Box self, higher than the software version of the standard information of coupling, directly performs step 210, cancel upgrading.
Step 205, the software version of the identifying information that the result of the step 204 that continues judgement is Set Top Box self is lower than the software version of the standard information of coupling, judges that the sequence number of identifying information of Set Top Box self is whether in the sequence number extent of competence that the standard information of coupling limits.
As a kind of enforceable mode, in the present embodiment, each Set Top Box has unique sequence number corresponding with it when dispatching from the factory.In the upgrading trigger message, each standard information correspondence the sequence number extent of competence, as long as the sequence number of Set Top Box self can meet promotion condition in this scope.In (Software_update_section) function, the minmal sequence of set top box upgrading number means with (STB_id_begin) statement, and maximum sequence number is meaned by (STB_id_end) statement.
If the sequence number of the identifying information of judgement Set Top Box self, in the sequence number extent of competence of the standard information restriction of coupling, meets above promotion condition, perform step 206.If, in the sequence number extent of competence that the sequence number of the identifying information of Set Top Box self does not limit in the standard information of mating, directly perform step 210, cancel upgrading.
Step 206, whether judgement upgrading type is common upgrading type.
In specific implementation, in the time of in the sequence number extent of competence that the sequence number of the identifying information that the result of the step 205 that continues judgement is Set Top Box self limits in the standard information of mating, the standard information of coupling has defined the upgrading type of this Set Top Box.It means with (upgrade_kind) in (Software_update_section) function.Performing step at 206 o'clock, whether the upgrading type of defined this Set Top Box of standard information of judgement coupling is common upgrading type.If common upgrading type, perform step 207; If judged result is not common upgrading type, perform step 208, the upgrading type of defined this Set Top Box of standard information of coupling is the mandatory upgrade type.
Step 207, whether the user needs upgrading.
In step 206, when the upgrading type of defined this Set Top Box of standard information of mating is common upgrading type, whether (Software_update_section) function can eject dialog box prompting user by display needs upgrading.If the user selects upgrading, perform step 209 download upgrade datas; If the user selects to cancel upgrading, directly perform step 210, cancel upgrading.
Step 208, mandatory upgrade.
In step 206, when the upgrading type of defined this Set Top Box of standard information of mating is not common upgrading type, force set top box upgrading.And then perform step 209.
Step 209, download upgrade data, carries out software upgrading.
In the present embodiment, in step 207, the user selects to need upgrading trigger message in upgrading or step 208 to judge when the type of Set Top Box is mandatory upgrade, meets above promotion condition.In specific implementation, upgrade data information is by (Software_Data_Section ()) function representation, when step 208 and above step all meet promotion condition, the upgrading trigger message finds the place value of upgrade data information, and the value of showing (table_id) is 0x90.In transmission upgrade data information process, by the frequency point information PD in (Software_update_section) function, symbol rate indications FHL, and modulation system TZFS pins the frequency in transport stream TS stream.After pinning frequency, download table indications (table_id) corresponding with Set Top Box self type and upgrading type in (Software_Data_Section ()) function by the indications (download_table_id) of the download upgrade data table in (Software_update_section) function on the one hand.
On the other hand, after having downloaded table indications (table_id), (Software_update_section) the download package indications (down_pid) in the function is downloaded in (Software_Data_Section ()) function and is shown the upgrade data in indications (table_id).Upgrade data is passed through to the TS flow transmission to Set Top Box, and the upgrading control module in Set Top Box writes FLASH by the upgrade data of reception, completing upgrading and upgrading.
As a kind of enforceable mode, at Set Top Box A when being asked, the Set Top Box B of another type also can send upgrade request to this upgrading trigger message simultaneously, different is, Set Top Box B is due to the difference of identity information, the identifying information value of obtaining is also different, and the upgrade data of therefore downloading is also different, but the flow process of all comparisons is all identical.
Visible, in the set top box upgrading method of Fig. 2 performance, embody on the one hand the fail safe that the Set Top Box identity information is encrypted; It is succinctly convenient to the Set Top Box process that second aspect can be crossed upgrade trigger message and upgrade data information exchange the TS flow transmission; Third aspect operator can be upgraded to the Set Top Box of many moneys type according to the needs of every kind of Set Top Box type simultaneously; Fourth aspect needs to pin the frequency in TS stream owing to downloading in the upgrade data process, so operator can select frequency download, reasonable distribution frequency resource according to demand flexibly.
Refer to Fig. 3, Fig. 3 is the disclosed a kind of set top box upgrading device schematic diagram of the embodiment of the present invention.As shown in Figure 3, the set top box upgrading device can comprise:
Encrypting module 300, be encrypted for the identity information to Set Top Box, generates identifying information.
Judge module 310, judge for the upgrading trigger message according to receiving whether identifying information meets the triggering promotion condition, and the upgrading trigger message carries the standard information of having encrypted, and this standard information is the identity information that needs the Set Top Box of upgrading.
Upgrading module 320, while for meeting when judge module 310 judgement identifying informations, triggering promotion condition, receive upgrade data information and upgraded; When judge module 310 judgement identifying informations do not meet the triggering promotion condition, cancel upgrading.
Memory module 330, for storing upgrading trigger message and upgrade data information.
In the set top box upgrading device shown in Fig. 3, after encrypting module 300 is encrypted the identity information of Set Top Box, the upgrading trigger message that judge module 310 recalls in the memory module 330 that in encrypting module 300, the Set Top Box identifying information sends with transport stream TS stream is compared, judge whether identifying information meets the triggering promotion condition, upgrade data information if satisfied triggering promotion condition is upgraded in module 320 download storage module 330 is upgraded, if satisfied triggering promotion condition is upgraded, module 320 cancellations are upgraded.Update device shown in Fig. 3 can be encrypted identity information, generates identifying information, has protected user's privacy, more has fail safe in transmitting procedure.
Refer to Fig. 4, Fig. 4 is the structural representation of judge module 310 in the disclosed set top box upgrading device of the embodiment of the present invention.As shown in Figure 4, the judge module in the set top box upgrading device can comprise:
Whether the first judging unit 400, change to judge whether upgrading trigger message and upgrade data information are upgraded for the value according to the entrained version number of trigger message that upgrades, the standard information of corresponding at least one the Set Top Box type of the value of version number.
As a kind of enforceable mode, the first judging unit 400 is to judge according to the variation of version number in the upgrading trigger message of memory module 330, when upgrade trigger message and upgrade data information have renewal, corresponding version number field can add " 1 " on original value.Therefore can judge according to the variation of version number value whether upgrading trigger message and upgrade data information have renewal.Enter next judging unit second judging unit 410 when having judged while upgrading, when judging while not upgrading, cancel upgrading.
The second judging unit 410, for when judgment result is that of the first judging unit 400 is, mean to upgrade trigger message and upgrade data information are upgraded, continue to judge whether identifying information is complementary with one of them standard information of upgrading trigger message.
As a kind of enforceable mode, the second judging unit 410 is compared the MD5 value of the standard information of n Set Top Box type in the upgrading trigger message of the MD5 value of the identifying information of Set Top Box self and memory module 330 one by one, the MD5 value that the standard information of a Set Top Box type is arranged in comparing out function is the MD5 value with the identifying information of Set Top Box self when identical, and explanation can continue to carry out next the 3rd judging unit 420.
In inquiring function, the MD5 value of the standard information of neither one Set Top Box type is MD5 value with the identifying information of Set Top Box self when identical, cancels upgrading.
The 3rd judging unit 420, for when judgment result is that of the second judging unit 410 is, judge that software version that identifying information is corresponding is whether lower than the software version corresponding to standard information of coupling.If the 3rd judging unit 420 is differentiated software version that identifying informations are corresponding software version corresponding to standard information lower than coupling, carry out next judgement the 4th judging unit 430; If the 3rd judging unit 420 is differentiated software version that identifying informations are corresponding software version corresponding to standard information higher than coupling, cancel upgrading.
The 4th judging unit 430, for when software version corresponding to the 3rd judging unit 420 judgement identifying informations software version corresponding lower than the standard information of coupling, judge that sequence number that identifying information carries is whether in the sequence number extent of competence of the standard information restriction of coupling.
As a kind of enforceable mode, in the present embodiment, each Set Top Box has unique sequence number corresponding with it when dispatching from the factory.In the upgrading trigger message, each standard information correspondence the sequence number extent of competence.When sequence number that the 4th judging unit 430 judgement identifying informations carry is in the sequence number extent of competence that the standard information of upgrading trigger message limits, enter next unit trigger element 440; When sequence number that the 4th judging unit 430 judgement identifying informations carry is in the sequence number extent of competence that the standard information of upgrading trigger message limits, cancel upgrading.
Trigger element 440, the sequence number carried for the 4th judging unit 430 judgement identifying informations, in the sequence number extent of competence of the standard information restriction of upgrading trigger message, triggers upgrading.
Fig. 5 is the structural representation of upgrading module in the disclosed set top box upgrading device of the embodiment of the present invention.As shown in Figure 5, the upgrading module in the set top box upgrading device can comprise:
Selected cell 500, for the corresponding upgrading type of the standard information of match query.
As a kind of enforceable mode, the upgrading type comprises common upgrading type and mandatory upgrade type.When trigger element 440 prompting selected cells 500 trigger upgrading, the standard information of coupling can define the upgrading type of this Set Top Box.When the upgrading type of defined this Set Top Box of standard information of mating is common upgrading type, whether the upgrading trigger message can eject dialog box prompting user by display needs upgrading.If the user selects upgrading, enter next unit download unit 510 and download upgrade data; If the user selects to cancel upgrading, cancel upgrade mode.
When the upgrading type of defined this Set Top Box of standard information of mating is the mandatory upgrade type, the upgrading trigger message is directly downloaded upgrade datas from download unit 510.
Download unit 510, download upgrade data information for the upgrading type according to corresponding and upgraded.
As a kind of enforceable mode, when the state in selecting unit 500 is selected upgrading or mandatory upgrade for the user, the upgrading trigger message finds the place value of upgrade data information.In transmission upgrade data information process, by frequency point information PD, symbol rate indications FHL, and modulation system TZFS pins the frequency in transport stream TS stream.Download on the one hand the indications of upgrade data table after pinning and download the table indications corresponding with Set Top Box self type and upgrading type.On the other hand, after having downloaded the table indications, the download package indications is downloaded the upgrade data in the table indications in the upgrade data table.Upgrade data is passed through to the TS flow transmission to Set Top Box, and the upgrading control module in Set Top Box writes flash by the upgrade data of reception, completing upgrading and upgrading.
Refer to Fig. 6, Fig. 6 is the structural representation of selected cell in the disclosed upgrading module of the embodiment of the present invention.As shown in Figure 6, in the set top box upgrading device, the selected cell of upgrading module can comprise:
Whether common upgrading unit 600, while for meeting when identifying information, triggering promotion condition, provide the user to select to upgrade, if the user selects upgrading to download corresponding described upgrade data information, upgraded.
As a kind of enforceable mode, when the upgrading type of defined this Set Top Box of standard information of mating is common upgrading type, whether common upgrading unit 600 can eject dialog box prompting user by display needs upgrading.If the user selects upgrading, enter next unit download unit 510 and download upgrade data; If the user selects to cancel upgrading, cancel upgrade mode.
Mandatory upgrade unit 610, while for meeting when identifying information, triggering promotion condition, directly download corresponding upgrade data information and upgraded.
As a kind of enforceable mode, when the upgrading type of defined this Set Top Box of standard information of mating is the mandatory upgrade type, upgrade datas are directly downloaded from download unit 510 in mandatory upgrade unit 610.
Device embodiment described above is only schematic, the wherein said unit as the separating component explanation can or can not be also physically to separate, the parts that show as unit can be or can not be also physical locations, or also can be distributed on a plurality of network element.Can select according to the actual needs some or all of module wherein to realize the purpose of the present embodiment scheme.Those of ordinary skills in the situation that do not pay performing creative labour, can understand and implement.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that each execution mode can add essential general hardware platform by software and realize, can certainly pass through hardware.Understanding based on such, the part that technique scheme contributes to prior art in essence in other words can embody with the form of software product, this computer software product can be stored in computer-readable recording medium, as ROM/RAM, magnetic disc, CD etc., comprise that some instructions are with so that a computer equipment (can be personal computer, server, or the network equipment etc.) carry out the described method of some part of each embodiment or embodiment.
Above-described execution mode, do not form the restriction to this technical scheme protection range.The modification of doing within any spirit at above-mentioned execution mode and principle, be equal to and replace and improvement etc., within all should being included in the protection range of this technical scheme.

Claims (10)

1. a set top box upgrading method, is characterized in that, comprising:
Identity information to Set Top Box is encrypted, and generates identifying information;
Judge according to the upgrading trigger message received whether described identifying information meets the triggering promotion condition, and described upgrading trigger message carries the standard information of having encrypted, and described standard information is the identity information that needs the Set Top Box of upgrading;
Trigger promotion condition if described identifying information meets, receive upgrade data information and upgraded; Do not trigger promotion condition if described identifying information does not meet, cancel upgrading.
2. according to the described method of claim 1, it is characterized in that, described upgrading trigger message and described upgrade data information are carried by transport stream TS stream.
3. method according to claim 1, is characterized in that, the described upgrading trigger message according to receiving judges whether described identifying information meets the triggering promotion condition and comprise:
According to described upgrading trigger message, whether the value of entrained version number changes and judges whether described upgrading trigger message and described upgrade data information are upgraded, the described standard information of corresponding at least one the Set Top Box type of the value of described version number;
If judge, described version number changes, and means that described upgrading trigger message and described upgrade data information upgrades, continues to judge whether described identifying information is complementary with one of them described standard information of described upgrading trigger message;
If the described standard information of one of them of described identifying information and described upgrading trigger message is complementary, continue to judge the whether corresponding software version lower than the standard information of described coupling of software version that described identifying information is corresponding;
If the software version software version corresponding lower than the standard information of described coupling that described identifying information is corresponding, continue judge that sequence number that described identifying information is corresponding is whether in the sequence number extent of competence of the standard information restriction of described coupling;
If sequence number corresponding to described identifying information, in the sequence number extent of competence that the standard information of described coupling limits, determined to meet and triggered promotion condition.
4. according to the described method of claim 1, it is characterized in that, described reception upgrade data information is upgraded and is comprised:
Inquire about the corresponding upgrading type of standard information of described coupling;
Downloading described upgrade data information according to the upgrading type of described correspondence is upgraded.
5. according to the described method of claim 4, it is characterized in that, described upgrading type comprises common upgrading type, mandatory upgrade type, wherein:
Whether described common upgrading type, while for meeting when described identifying information, triggering promotion condition, provide the user to select to upgrade, if the user selects upgrading to download described upgrade data information, upgraded;
Described mandatory upgrade type, while for meeting when described identifying information, triggering promotion condition, directly download described upgrade data information and upgraded.
6. a set top box upgrading device, is characterized in that, comprising:
Encrypting module, be encrypted for the identity information to Set Top Box, generates identifying information;
Judge module, judge for the upgrading trigger message according to receiving whether described identifying information meets the triggering promotion condition, and described upgrading trigger message carries the standard information of having encrypted, and described standard information is the identity information that needs the Set Top Box of upgrading;
The upgrading module, while for judging that when described judge module described identifying information is satisfied, triggering promotion condition, receive upgrade data information and upgraded; When described judge module judges that described identifying information does not meet the triggering promotion condition, cancel upgrading.
7. device according to claim 6, is characterized in that, described device also comprises:
Memory module, for storing described upgrading trigger message and described upgrade data information.
8. device according to claim 6, is characterized in that, described judge module comprises:
The first judging unit, for according to described upgrading trigger message, whether the value of entrained version number changes to judge whether described upgrading trigger message and described upgrade data information are upgraded, the described standard information of corresponding at least one the Set Top Box type of the value of described version number;
The second judging unit, for when judgment result is that of described the first judging unit is, judge whether described identifying information is complementary with one of them described standard information of described upgrading trigger message;
The 3rd judging unit, for when judgment result is that of described the second judging unit is, judge the whether corresponding software version lower than the standard information of described coupling of software version that described identifying information is corresponding;
The 4th judging unit, for when judgment result is that of described the 3rd judging unit is, judge that sequence number that described identifying information is corresponding is whether in the sequence number extent of competence that the standard information of described coupling limits;
Trigger element, for when judgment result is that of described the 4th judging unit is, determines to meet and trigger promotion condition.
9. device according to claim 6, is characterized in that, described upgrading module comprises:
Selected cell, for the corresponding upgrading type of the standard information of inquiring about described coupling;
Download unit, download described upgrade data information for the upgrading type according to described correspondence and upgraded.
10. device according to claim 9, is characterized in that, described selected cell comprises:
Whether common upgrading unit, while for meeting when described identifying information, triggering promotion condition, provide the user to select to upgrade, if the user selects upgrading to download described upgrade data information, upgraded;
The mandatory upgrade unit, while for meeting when described identifying information, triggering promotion condition, directly download described upgrade data information and upgraded.
CN2013103391657A 2013-08-06 2013-08-06 Set top box upgrading method and device Pending CN103442291A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013103391657A CN103442291A (en) 2013-08-06 2013-08-06 Set top box upgrading method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013103391657A CN103442291A (en) 2013-08-06 2013-08-06 Set top box upgrading method and device

Publications (1)

Publication Number Publication Date
CN103442291A true CN103442291A (en) 2013-12-11

Family

ID=49695949

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013103391657A Pending CN103442291A (en) 2013-08-06 2013-08-06 Set top box upgrading method and device

Country Status (1)

Country Link
CN (1) CN103442291A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104079994A (en) * 2014-07-07 2014-10-01 四川金网通电子科技有限公司 Authorization system and method based on set top box card-free CA
CN104461652A (en) * 2014-12-26 2015-03-25 珠海迈科智能科技股份有限公司 Set top box software updating method and system
CN104661094A (en) * 2015-03-17 2015-05-27 珠海迈科智能科技股份有限公司 Method and system for realizing OTA upgrading
CN108055585A (en) * 2017-12-19 2018-05-18 北京四达时代软件技术股份有限公司 Data processing method, set top box upgrading method, terminal and set-top box
CN111367544A (en) * 2018-12-26 2020-07-03 美的集团股份有限公司 Multi-peripheral firmware upgrade control method, intelligent device, firmware and electronic device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026684A (en) * 2007-03-30 2007-08-29 广东有线广播电视网络股份有限公司 Condition judging method for digital television set top box software updating system
KR100811109B1 (en) * 2006-11-01 2008-03-06 주식회사 한단정보통신 Front micom software up-grade method of digital set-top box and system thereof
CN101212689A (en) * 2006-12-25 2008-07-02 青岛海信电器股份有限公司 Method for software upgrade for digital TV signal receiver
CN101290579A (en) * 2008-06-16 2008-10-22 四川长虹电器股份有限公司 Reconfigurable software unit upgrading method
CN102081537A (en) * 2010-12-31 2011-06-01 青岛海信宽带多媒体技术有限公司 Method for upgrading software
CN102333241A (en) * 2011-10-26 2012-01-25 青岛海信宽带多媒体技术有限公司 Universal serial bus (USB) upgrading method for digital television and USB upgrading system for digital television
CN102541589A (en) * 2011-12-13 2012-07-04 四川长虹电器股份有限公司 Method for packaging upgrading software of set-top box

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100811109B1 (en) * 2006-11-01 2008-03-06 주식회사 한단정보통신 Front micom software up-grade method of digital set-top box and system thereof
CN101212689A (en) * 2006-12-25 2008-07-02 青岛海信电器股份有限公司 Method for software upgrade for digital TV signal receiver
CN101026684A (en) * 2007-03-30 2007-08-29 广东有线广播电视网络股份有限公司 Condition judging method for digital television set top box software updating system
CN101290579A (en) * 2008-06-16 2008-10-22 四川长虹电器股份有限公司 Reconfigurable software unit upgrading method
CN102081537A (en) * 2010-12-31 2011-06-01 青岛海信宽带多媒体技术有限公司 Method for upgrading software
CN102333241A (en) * 2011-10-26 2012-01-25 青岛海信宽带多媒体技术有限公司 Universal serial bus (USB) upgrading method for digital television and USB upgrading system for digital television
CN102541589A (en) * 2011-12-13 2012-07-04 四川长虹电器股份有限公司 Method for packaging upgrading software of set-top box

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104079994A (en) * 2014-07-07 2014-10-01 四川金网通电子科技有限公司 Authorization system and method based on set top box card-free CA
CN104461652A (en) * 2014-12-26 2015-03-25 珠海迈科智能科技股份有限公司 Set top box software updating method and system
CN104461652B (en) * 2014-12-26 2017-11-03 珠海迈科智能科技股份有限公司 Set top box software updating method and system
CN104661094A (en) * 2015-03-17 2015-05-27 珠海迈科智能科技股份有限公司 Method and system for realizing OTA upgrading
CN108055585A (en) * 2017-12-19 2018-05-18 北京四达时代软件技术股份有限公司 Data processing method, set top box upgrading method, terminal and set-top box
CN108055585B (en) * 2017-12-19 2020-12-15 北京四达时代软件技术股份有限公司 Data processing method, set top box upgrading method, terminal and set top box
CN111367544A (en) * 2018-12-26 2020-07-03 美的集团股份有限公司 Multi-peripheral firmware upgrade control method, intelligent device, firmware and electronic device
CN111367544B (en) * 2018-12-26 2021-09-03 美的集团股份有限公司 Multi-peripheral firmware upgrade control method, intelligent device, firmware and electronic device

Similar Documents

Publication Publication Date Title
CN104520870B (en) For the method and system for the firmware for updating security module
CN100574367C (en) Method for updating set-top box software and upgrade-system
US9066226B2 (en) Initialization of embedded secure elements
CN101194229B (en) Updating of data instructions
CN109564598B (en) Terminal detection method and terminal
CN103442291A (en) Set top box upgrading method and device
CN107743115B (en) Identity authentication method, device and system for terminal application
CN103248495B (en) A kind of method, server, client and system applying interior paying
CN103974250A (en) Configuration method and equipment
CN104199654A (en) Open platform calling method and device
CN103154956A (en) Method and apparatus for downloading digital rights management module
CN107273151A (en) A kind of safe Android App feature card methods
KR20230079319A (en) Method and apparatus for managing bundles of smart secure platform
CN104023012A (en) Method, device and system for scheduling service in cluster
CN105468393A (en) Module version upgrading method and terminal apparatus
CN106020868B (en) A kind of smart card firmware update and system
CN100517357C (en) Secure license key method and system
CN103401713A (en) System and method for software release
CN105792103A (en) Intelligent device binding method and device
CN104219626A (en) Identity authentication method and device
CN109495874A (en) The method and apparatus of Profile downloading
CN105389172A (en) Application upgrading method and apparatus
CN106982445A (en) A kind of transmission method, equipment and the system of abnormal information of upgrading
CN104657187A (en) Application installation processing method, application installation processing device and electronic equipment
CN103502991A (en) Determination of apparatus configuration and programming data

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20131211