CN105472418B - A kind of set-top-box system abnormality restoration methods and set-top box - Google Patents
A kind of set-top-box system abnormality restoration methods and set-top box Download PDFInfo
- Publication number
- CN105472418B CN105472418B CN201510999509.6A CN201510999509A CN105472418B CN 105472418 B CN105472418 B CN 105472418B CN 201510999509 A CN201510999509 A CN 201510999509A CN 105472418 B CN105472418 B CN 105472418B
- Authority
- CN
- China
- Prior art keywords
- register value
- top box
- file
- data
- reading
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/258—Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
- H04N21/25808—Management of client data
- H04N21/25858—Management of client data involving client software characteristics, e.g. OS identifier
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/262—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
- H04N21/26291—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for providing content or additional data updates, e.g. updating software modules, stored at the client
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/443—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/458—Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
- H04N21/4586—Content update operation triggered locally, e.g. by comparing the version of software modules in a DVB carousel to the version stored locally
Abstract
The embodiment of the invention discloses a kind of set-top-box system abnormality restoration methods and set-top box, including:Set-top box sends the checking command for carrying software version mark to the server being connect with the set top box communication;The set-top box receives the corresponding check code list of software version mark that the server responds the checking command feedback;The set-top box verifies the data of each subregion based on the check code list;The set-top box restores the data of the subregion of verification failure.The embodiment of the present invention provides technical solution and advantageously reduces renewal time, while reduce the memory space that the corresponding upgrade package of data to be updated occupies in set-top box.
Description
Technical field
The present invention relates to set-top-box system detection fields, and in particular to a kind of set-top-box system abnormality restoration methods and
Set-top box.
Background technology
Digital video switching box (Set Top Box, STB), commonly referred to as set-top box are a connection television set and outside
The equipment of signal source.The digital signal of compression can be changed into television content, and show on a television set by it.Set-top box connects
The content of receipts is more that digital content can be received, enables users to other than image that simulated television can provide, sound
Digital television program is watched on existing television set, and formula digitlization amusement, education and commercialization can be interacted by network and is lived
It is dynamic.
But during set-top box use, often will appear certain loss of data on the flash due to long-time service,
System file file can not be performed by system caused by update failure when artificial destruction or system update and need to restore.When
When the system of encountering can not perform, need update recovery, system recovery method of the prior art is by all numbers on set-top box
Restore according to being updated, therefore, above-mentioned recovery process does not have specific aim and recovery time is long.
Invention content
It is existing to solve an embodiment of the present invention provides a kind of set-top-box system abnormality restoration methods and set-top box
In technology, when set-top-box system can not perform, need to be updated recovery, recovery operation is lack of pertinence and recovery time is long
The problem of.
First aspect of the embodiment of the present invention provides a kind of set-top-box system abnormality restoration methods, including:
Set-top box sends the checking command for carrying software version mark to the server being connect with the set top box communication;
The software version mark that the set-top box receives the server response checking command feedback is corresponding
Check code list;
The set-top box verifies the data of each subregion based on the check code list;
The set-top box restores the data of the subregion of verification failure.
Wherein optionally, the set-top box sends to the server being connect with the set top box communication and carries software version mark
Before the checking command of knowledge, the method further includes:
Whether the register value that the set-top box detects the set-top box meets verification condition;
When the register value for detecting the set-top box meets verification condition, triggering perform the set-top box to it is described
The server of set top box communication connection sends the step of checking command for carrying software version mark.
Wherein optionally, whether the register value of the set-top box detection set-top box meets verification condition, including:
The set-top box activation system guides file, and reads the register value after System guides file start;
If the register value for detecting the register value after the System guides file start of reading and prestoring mismatches,
Then the set-top box detects that register value meets verification condition.
Wherein optionally, whether the register value of the set-top box detection set-top box meets verification condition, including:
The set-top box activation system guides file, and reads the register value after System guides file start;
If detecting, the register value after the System guides file start of reading is matched with the register value to prestore,
The set-top box activation system kernel file, and read the register value after system kernel file start;
If detecting, the register value after the system kernel file start of reading is mismatched with the register value to prestore
Or the register value after system kernel file start can not be read, the register value after current system kernel file start is set
For the first register value;
The set-top box restarting systems guide file, and read the first register after System guides file start
Value;
If detect the first register value after the System guides file start of reading and the register to prestore
Value mismatches, then the set-top box detects that register value meets verification condition.
Wherein optionally, whether the register value of the set-top box detection set-top box meets verification condition, including:
The set-top box activation system guides file, and reads the register value after System guides file start;
If detecting, the register value after the System guides file start of reading is matched with the register value to prestore,
The set-top box activation system kernel file reads the register value after system kernel file start;
If detect the register value after the system kernel file start success of reading and the register value to prestore
Match, the set-top box starts application file, and reads the register value after application file starts;
If detecting, the register value after the application file startup of reading is mismatched with the register value to prestore
Or the register value after application file starts can not be read, set the current application file start after register value be the
Two register values;
The set-top box restarting systems guide file, and read the second register after System guides file start
Value;
If detect the second register value after the System guides file start of reading and the register value that prestores not
Matching, then the set-top box detects that register value meets verification condition.
Wherein optionally, the check code list is Message Digest Algorithm 5 MD5 value lists, and the set-top box is based on
The check code list verifies the data of each subregion, including:
The set-top box judges that the data of each subregion that the MD5 value lists that the server is sent include are corresponding
Whether MD5 values MD5 values corresponding with the data of each subregion of data of set top box match;
If judging result is matching, the set-top box verification data success;
If judging result is mismatches, the set-top box verification data failure, and preserves what is sent with the server
The MD5 values of the data of the unmatched set-top box subregion of the corresponding MD5 values of the data of each subregion that the MD5 value lists include
Corresponding partition identification to be updated.
Wherein optionally, the set-top box restores the data of the subregion of verification failure, including
The set-top box carries the more new command of partition identification to be updated to server hair, receives the server
The corresponding partition data of partition identification to be updated of more new command generation, it is corresponding to treat newer partition identification described in response
Partition data is updated, performed again after update the set-top box based on the check code list to the data of each subregion into
The step of row verification.
Wherein optionally, if set-top box verification data success, the set-top box carry out default setting recovery to data;
Wherein optionally, after the set-top box restores the data of the subregion of verification failure, the method is also wrapped
It includes:
The register value that the register value of the set-top box is set as prestoring, so that the set-top box is again started up system
When guiding file, and reading the register value after System guides file start, detect that the System guides file of reading opens
Register value after dynamic is matched with the register value to prestore;
The set-top box restarting systems guide file.
Second aspect of the embodiment of the present invention provides a kind of set-top box, which is characterized in that including:
Sending module, for sending the verification for carrying software version mark to the server being connect with the set top box communication
Instruction;
Receiving module, the software version that the checking command feedback is responded for receiving the server identify correspondence
Check code list;
Correction verification module, for being verified based on the check code list to the data of each subregion;
Recovery module, the data for the subregion to verification failure are restored.
Wherein optionally, the set-top box further includes:
Detection module sends to the server being connect with the set top box communication for the sending module and carries software version
Before the checking command of this mark, whether the register value for detecting the set-top box meets verification condition;
Trigger module when detecting that the register value of the set-top box meets verification condition for the detection module, touches
It sends out sending module described and performs and the verification for carrying software version mark is sent to the server being connect with the set top box communication refer to
The operation of order.
Wherein optionally, the detection module includes:
First start unit guides file for activation system;
First reading unit, for reading the register value after System guides file start;
First detection unit, if for detecting the register value after the System guides file start of reading with prestoring
Register value mismatch, then the detection module detects that register value meets verification condition.
Wherein optionally, the detection module includes:
Second start unit guides file for activation system;
Second reading unit, for reading the register value after System guides file start;
Second detection unit, if for detecting the register value after the System guides file start of reading with prestoring
Register value matching, then notify the second start unit activation system kernel file;
Second start unit, is additionally operable to activation system kernel file;
Second reading unit is additionally operable to read the register value after system kernel file start;
The second detection unit, if the register value being additionally operable to after the system kernel file start for detecting reading and institute
It states the register value to prestore to mismatch or the register value after system kernel file start can not be read, notifies the first setting unit
It is the first register value to set the register value after current system kernel file start;
First setting unit, for setting the register value after current system kernel file start as the first deposit
Device value;
Second start unit is additionally operable to restarting systems guiding file;
Second reading unit is additionally operable to read the first register value after System guides file start;
The second detection unit, if the first deposit being additionally operable to after the System guides file start for detecting reading
Device value is mismatched with the register value to prestore, then the detection module detects that register value meets verification condition.
Wherein optionally, the detection module includes:
Third start unit guides file for activation system;
Third reading unit, for reading the register value after System guides file start;
Third detection unit, if for detecting the register value after the System guides file start of reading with prestoring
Register value matching, then the third start unit activation system kernel file;
The third start unit, is additionally operable to activation system kernel file;
The third reading unit is additionally operable to read the register value after system kernel file start;
The third detection unit, if being additionally operable to the deposit after the system kernel file start success for detecting reading
Device value is matched with the register value to prestore, and the third start unit is notified to start application file, and reads application file startup
Register value afterwards;
The third start unit is additionally operable to start application file;
The third reading unit is additionally operable to read the register value after application file starts;
The third detection unit, if the register value being additionally operable to after the application file startup for detecting reading and institute
It states the register value mismatch to prestore or the register value after application file starts can not be read, the second setting unit is notified to set
Register value after the current application file starts is the second register value;
Second setting unit is the second deposit for the register value after the current application file is set to start
Device value
The third start unit is additionally operable to restarting systems guiding file;
The third reading unit is additionally operable to read the second register value after System guides file start;
The third detection unit, if after being additionally operable to the System guides file start for detecting the set-top box reading
The second register value and the register value that prestores mismatch, then the set-top box detects that register value meets verification condition.
Wherein optionally, the check code list be Message Digest Algorithm 5 MD5 value lists, the correction verification module packet
It includes:
Judging unit, the data pair of each subregion that the MD5 value lists for judging the server transmission include
Whether the MD5 values answered MD5 values corresponding with the data of each subregion of data of set top box match;
Storage unit, for preserving the number of each subregion that the MD5 value lists sent with the server include
According to the corresponding partition identification to be updated of MD5 values of the data of the unmatched set-top box subregion of corresponding MD5 values;
If the judging result of the judging unit is matching, the correction verification module verification data success;
If the judging result of the judging unit is mismatches, the set-top box verification data failure notifies the guarantor
Memory cell preserves MD5 values corresponding with the data of each subregion that the MD5 value lists that the server is sent include not
The corresponding partition identification to be updated of MD5 values of the data of matched set-top box subregion.
The recovery module specifically for carrying the more new command of partition identification to be updated to server hair, connects
The corresponding partition data of partition identification to be updated of more new command generation described in the server response is received, treats newer point
Area identifies corresponding partition data and is updated, and correction verification module is notified to perform based on the check code list to each after update again
The operation that the data of a subregion are verified.
Wherein optionally, the set-top box further includes:
Setup module, after restoring for recovery module to the data of the subregion of verification failure, by the set-top box
Register value be set as the register value to prestore so that the set-top box is again started up System guides file, and read system
When guiding the register value after file start, detect the register value after the System guides file start of reading with prestoring
Register value matching;
Starting module guides file for restarting systems.
As can be seen that in technical solution of the embodiment of the present invention, set-top box is to the server being connect with the set top box communication
The checking command for carrying software version mark is sent, receives the software version that the server responds the checking command feedback
The corresponding check code list of this mark, verifies the data of each subregion based on the check code list, fails to verification
The data of subregion restored, wherein, set-top box by targetedly restoring to the data of the subregion of verification failure,
Renewal time is advantageously reduced, while reduces the memory space that the corresponding upgrade package of data to be updated occupies in set-top box.
Description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, to embodiment or will show below
There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention, for those of ordinary skill in the art, without creative efforts, can be with
Other attached drawings are obtained according to these attached drawings.
Fig. 1 is a kind of structure diagram for network architecture that first embodiment of the invention provides;
Fig. 2 is a kind of flow signal for set-top-box system abnormality restoration methods that second embodiment of the invention provides
Figure;
Fig. 3 is a kind of flow signal for set-top-box system abnormality restoration methods that third embodiment of the invention provides
Figure;
Fig. 4 is a kind of structure diagram for set-top box that fourth embodiment of the invention provides;
Fig. 4-1 is a kind of structure diagram for detection module that fourth embodiment of the invention provides;
Fig. 4-2 is a kind of structure diagram for detection module that fourth embodiment of the invention provides;
Fig. 4-3 is a kind of structure diagram for detection module that fourth embodiment of the invention provides;
Fig. 5 is a kind of structure diagram for set-top box that fifth embodiment of the invention provides.
Specific embodiment
In order to which those skilled in the art is made to more fully understand the present invention program, below in conjunction in the embodiment of the present invention
The technical solution in the embodiment of the present invention is clearly and completely described in attached drawing, it is clear that described embodiment is only
Part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
All other embodiments obtained without creative efforts shall fall within the protection scope of the present invention.
Term " first ", " second " in description and claims of this specification and above-mentioned attached drawing etc. are for distinguishing
Different objects rather than for describing particular order.In addition, term " comprising " and " having " and their any deformations, it is intended that
It is to cover non-exclusive include.Such as process, method, system, product or the equipment for containing series of steps or unit do not have
The step of having listed or unit are defined in, but optionally further includes the step of not listing or unit or optionally also wraps
It includes for other intrinsic steps of these processes, method, product or equipment or unit.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments
Containing at least one embodiment of the present invention.Each position in the description occur the phrase might not each mean it is identical
Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and
Implicitly understand, embodiment described herein can be combined with other embodiments.
The embodiment of the invention discloses a kind of set-top-box system abnormality restoration methods and set-top boxes, advantageously reduce more
The new time, while reduce the memory space that the corresponding upgrade package of data to be updated occupies in set-top box.It carries out individually below
It is described in detail.
In order to be best understood from a kind of set-top-box system abnormality restoration methods disclosed by the embodiments of the present invention and set-top box,
First the network architecture that the embodiment of the present invention is applicable in is described below.Referring to Fig. 1, Fig. 1 is first embodiment of the invention public affairs
The structure diagram of a kind of network architecture opened.As shown in Figure 1, the network architecture schematic diagram can include service equipment and client
End, wherein, service equipment can include server, service host, service system and service platform etc., and client can wrap
Include set-top box.Wherein, service equipment can be communicatively coupled with client.
Based on network architecture shown in FIG. 1, the invention discloses a kind of set-top-box system abnormality restoration methods.It please join
Fig. 2 is read, Fig. 2 is a kind of flow diagram for set-top-box system abnormality restoration methods that second embodiment of the invention provides,
As shown in Fig. 2, the method in the embodiment of the present invention includes the following steps:
The verification that S201, set-top box send carrying software version mark to the server being connect with the set top box communication refers to
It enables.
Wherein optionally, the set-top box sends to the server being connect with the set top box communication and carries software version mark
Before the checking command of knowledge, following operation can also be performed in the set-top box:
Whether the register value that set-top box detects the set-top box meets verification condition;
When the register value for detecting the set-top box meets verification condition, triggering perform the set-top box to it is described
The server of set top box communication connection sends the step of checking command for carrying software version mark.
Wherein optionally, whether the register value of the set-top box detection set-top box meets the specific reality of verification condition
The mode of applying can be:
The set-top box activation system guides file, and reads the register value after System guides file start;
If the register value for detecting the register value after the System guides file start of reading and prestoring mismatches,
Then the set-top box detects that register value meets verification condition.
Wherein optionally, whether the register value of the set-top box detection set-top box meets the specific reality of verification condition
The mode of applying can be:
The set-top box activation system guides file, and reads the register value after System guides file start;
If detecting, the register value after the System guides file start of reading is matched with the register value to prestore,
The set-top box activation system kernel file, and read the register value after system kernel file start;
If detecting, the register value after the system kernel file start of reading is mismatched with the register value to prestore
Or the register value after system kernel file start can not be read, the register value after current system kernel file start is set
For the first register value;
The set-top box restarting systems guide file, and read the first register after System guides file start
Value;
If detect the first register value after the System guides file start of reading and the register to prestore
Value mismatches, then the set-top box detects that register value meets verification condition.
Wherein optionally, whether the register value of the set-top box detection set-top box meets the specific reality of verification condition
The mode of applying can be:
The set-top box activation system guides file, and reads the register value after System guides file start;
If detecting, the register value after the System guides file start of reading is matched with the register value to prestore,
The set-top box activation system kernel file reads the register value after system kernel file start;
If detect the register value after the system kernel file start success of reading and the register value to prestore
Match, the set-top box starts application file, and reads the register value after application file starts;
If detecting, the register value after the application file startup of reading is mismatched with the register value to prestore
Or the register value after application file starts can not be read, set the current application file start after register value be the
Two register values;
The set-top box restarting systems guide file, and read the second register after System guides file start
Value;
If detect the second register value after the System guides file start of reading and the register value that prestores not
Matching, then the set-top box detects that register value meets verification condition.
It is to be appreciated that set-top box by detecting whether the register value of the set-top box meets the replacement of verification condition automatically
In the prior art by artificially judging whether set-top box abnormal, so as to avoid the judgement caused by artificial detection it is inaccurate,
The appearance for the problem of can not being accurately positioned.
S202, the set-top box receive the software version mark pair that the server responds the checking command feedback
The check code list answered.
S203, the set-top box verify the data of each subregion based on the check code list.
Wherein optionally, the check code list is Message Digest Algorithm 5 MD5 value lists, and the set-top box is based on
The specific embodiment that the check code list verifies the data of each subregion can be:
The set-top box judges that the data of each subregion that the MD5 value lists that the server is sent include are corresponding
Whether MD5 values MD5 values corresponding with the data of each subregion of data of set top box match;
If judging result is matching, the set-top box verification data success;
If judging result is mismatches, the set-top box verification data failure, and preserves what is sent with the server
The MD5 values of the data of the unmatched set-top box subregion of the corresponding MD5 values of the data of each subregion that the MD5 value lists include
Corresponding partition identification to be updated.
S204, the set-top box restore the data of the subregion of verification failure.
Wherein optionally, the set-top box can be with to the specific embodiment restored of data of the subregion of verification failure
It is:
The set-top box carries the more new command of partition identification to be updated to server hair, receives the server
The corresponding partition data of partition identification to be updated of more new command generation, it is corresponding to treat newer partition identification described in response
Partition data is updated, performed again after update the set-top box based on the check code list to the data of each subregion into
The step of row verification.
Wherein optionally, if set-top box verification data success, the set-top box carry out default setting recovery to data.
Wherein optionally, after the set-top box restores the data of the subregion of verification failure, the set-top box is also
Following operation can be performed:
The register value that the register value of the set-top box is set as prestoring, so that the set-top box is again started up system
When guiding file, and reading the register value after System guides file start, detect that the System guides file of reading opens
Register value after dynamic is matched with the register value to prestore;
The set-top box restarting systems guide file.
As can be seen that in technical solution of the embodiment of the present invention, set-top box is to the server being connect with the set top box communication
The checking command for carrying software version mark is sent, receives the software version that the server responds the checking command feedback
The corresponding check code list of this mark, verifies the data of each subregion based on the check code list, fails to verification
The data of subregion restored, wherein, set-top box by targetedly restoring to the data of the subregion of verification failure,
Renewal time is advantageously reduced, while reduces the memory space that the corresponding upgrade package of data to be updated occupies in set-top box.
Based on network architecture shown in FIG. 1, the invention discloses a kind of set-top-box system abnormality restoration methods.It please join
Fig. 3 is read, Fig. 3 is a kind of flow diagram for set-top-box system abnormality restoration methods that third embodiment of the invention provides,
As shown in figure 3, the method in the embodiment of the present invention includes the following steps:
Whether the register value that S301, set-top box detect the set-top box meets verification condition.
Wherein, it when the register value for detecting the set-top box meets verification condition, triggers the set-top box and performs step
Rapid S302.
Wherein optionally, whether the register value of the set-top box detection set-top box meets the specific reality of verification condition
The mode of applying can be:
The set-top box activation system guides file, and reads the register value after System guides file start;
If the register value for detecting the register value after the System guides file start of reading and prestoring mismatches,
Then the set-top box detects that register value meets verification condition.
Wherein optionally, whether the register value of the set-top box detection set-top box meets the specific reality of verification condition
The mode of applying can be:
The set-top box activation system guides file, and reads the register value after System guides file start;
If detecting, the register value after the System guides file start of reading is matched with the register value to prestore,
The set-top box activation system kernel file, and read the register value after system kernel file start;
If detecting, the register value after the system kernel file start of reading is mismatched with the register value to prestore
Or the register value after system kernel file start can not be read, the register value after current system kernel file start is set
For the first register value;
The set-top box restarting systems guide file, and read the first register after System guides file start
Value;
If detect the first register value after the System guides file start of reading and the register to prestore
Value mismatches, then the set-top box detects that register value meets verification condition.
Wherein optionally, whether the register value of the set-top box detection set-top box meets the specific reality of verification condition
The mode of applying can be:
The set-top box activation system guides file, and reads the register value after System guides file start;
If detecting, the register value after the System guides file start of reading is matched with the register value to prestore,
The set-top box activation system kernel file reads the register value after system kernel file start;
If detect the register value after the system kernel file start success of reading and the register value to prestore
Match, the set-top box starts application file, and reads the register value after application file starts;
If detecting, the register value after the application file startup of reading is mismatched with the register value to prestore
Or the register value after application file starts can not be read, set the current application file start after register value be the
Two register values;
The set-top box restarting systems guide file, and read the second register after System guides file start
Value;
If detect the second register value after the System guides file start of reading and the register value that prestores not
Matching, then the set-top box detects that register value meets verification condition.
The verification that S302, set-top box send carrying software version mark to the server being connect with the set top box communication refers to
It enables.
S303, the set-top box receive the software version mark pair that the server responds the checking command feedback
The check code list answered.
S304, the set-top box verify the data of each subregion based on the check code list.
Wherein, the check code list is Message Digest Algorithm 5 MD5 value lists, and the set-top box is based on the school
Testing the specific embodiment that yard list verifies the data of each subregion can be:
The set-top box judges that the data of each subregion that the MD5 value lists that the server is sent include are corresponding
Whether MD5 values MD5 values corresponding with the data of each subregion of data of set top box match;
If judging result is matching, the set-top box verification data success;
If judging result is mismatches, the set-top box verification data failure, and preserves what is sent with the server
The MD5 values of the data of the unmatched set-top box subregion of the corresponding MD5 values of the data of each subregion that the MD5 value lists include
Corresponding partition identification to be updated.
S305, the set-top box restore the data of the subregion of verification failure.
Wherein, the set-top box carries the more new command of partition identification to be updated to server hair, described in reception
The corresponding partition data of partition identification to be updated of more new command generation, treats newer partition identification described in server response
Corresponding partition data is updated, and performs the set-top box after update again based on the check code list to each subregion
The step of data are verified.
Wherein, optionally, if set-top box verification data success, it is extensive that the set-top box carries out default setting to data
It is multiple.
S306, the register value of the set-top box is set as the register value to prestore, so that the set-top box is again
Secondary activation system guides file, and when reading the register value after System guides file start, detects the system of reading
Register value after guiding file start is matched with the register value to prestore.
S307, set-top box restarting systems guiding file.
As can be seen that in technical solution of the embodiment of the present invention, set-top box is to the server being connect with the set top box communication
The checking command for carrying software version mark is sent, receives the software version that the server responds the checking command feedback
The corresponding check code list of this mark, verifies the data of each subregion based on the check code list, fails to verification
The data of subregion restored, wherein, set-top box by targetedly restoring to the data of the subregion of verification failure,
Renewal time is advantageously reduced, while reduces the memory space that the corresponding upgrade package of data to be updated occupies in set-top box.
The following is an embodiment of the apparatus of the present invention, and apparatus of the present invention embodiment is used to perform the method for the present invention embodiment two to three
The method of realization for convenience of description, is illustrated only and is not disclosed with the relevant part of the embodiment of the present invention, particular technique details
, please refer to the embodiment of the present invention two and embodiment three.
Referring to Fig. 4, Fig. 4 is a kind of structure diagram for set-top box that fourth embodiment of the invention provides, such as Fig. 4 institutes
Show, the set-top box in the embodiment of the present invention is included with lower module:
Sending module 1, for sending the school for carrying software version mark to the server being connect with the set top box communication
Test instruction;
Receiving module 2, for receiving the software version mark pair that the server responds the checking command feedback
The check code list answered;
Correction verification module 3, for being verified based on the check code list to the data of each subregion;
Recovery module 4, the data for the subregion to verification failure are restored.
Wherein optionally, the set-top box can further include:
Detection module 5 sends to the server being connect with the set top box communication for the sending module 1 and carries software
Before the checking command of version identifier, whether the register value for detecting the set-top box meets verification condition;
Trigger module 6, when detecting that the register value of the set-top box meets verification condition for the detection module 5,
It triggers the sending module 1 and performs the verification for being sent to the server being connect with the set top box communication and carrying software version mark
The operation of instruction.
Wherein optionally, the check code list be Message Digest Algorithm 5 MD5 value lists, the correction verification module 3
It can further include:
Judging unit 31, the data of each subregion that the MD5 value lists for judging the server transmission include
Whether corresponding MD5 values MD5 values corresponding with the data of each subregion of data of set top box match;
Storage unit 32, for preserving each subregion included with the MD5 value lists of server transmission
The corresponding partition identification to be updated of MD5 values of the data of the unmatched set-top box subregion of the corresponding MD5 values of data;
If the judging result of the judging unit 31 is matching, the correction verification module verification data success;
If the judging result of the judging unit 32 is mismatches, the set-top box verification data failure, described in notice
Storage unit 32 preserves MD5 corresponding with the data of each subregion that the MD5 value lists that the server is sent include
It is worth the corresponding partition identification to be updated of MD5 values of the data of unmatched set-top box subregion.
Wherein optionally, the recovery module 4, if failing specifically for 3 verification data of correction verification module, to the clothes
Business device hair carries the more new command of partition identification to be updated, receives treating more for more new command generation described in the server response
The corresponding partition data of new partition identification is treated the corresponding partition data of newer partition identification and is updated, after update again
Secondary notice correction verification module 3 performs the operation verified based on the check code list to the data of each subregion.
Wherein optionally, the set-top box can further include:
Setup module 7, after restoring for recovery module 4 to the data of the subregion of verification failure, by the machine top
The register value of box is set as the register value to prestore, so that the set-top box is again started up System guides file, and reads and is
During register value after system guiding file start, detect the register value after the System guides file start of reading with it is pre-
The register value matching deposited;
Starting module 8 guides file for restarting systems.
Wherein, as an alternative embodiment, please referring to Fig. 4-1, Fig. 4-1 is detected in fourth embodiment of the invention
The structure diagram of module 5, as shown in Fig. 4-1, the detection module 5 can specifically include:
First start unit 51 guides file for activation system;
First reading unit 52, for reading the register value after System guides file start;
First detection unit 53, if for detect the register value after the System guides file start of reading with it is pre-
The register value deposited mismatches, then the detection module detects that register value meets verification condition.
Wherein, as an alternative embodiment, please referring to Fig. 4-2, Fig. 4-2 is detected in fourth embodiment of the invention
The structure diagram of module 5, as shown in the Fig. 4-2, the detection module 5 can specifically include:
Second start unit 54 guides file for activation system;
Second reading unit 55, for reading the register value after System guides file start;
Second detection unit 56, if for detect the register value after the System guides file start of reading with it is pre-
The register value matching deposited, then notify the second start unit activation system kernel file;
Second start unit 54, is additionally operable to activation system kernel file;
Second reading unit 55 is additionally operable to read the register value after system kernel file start;
The second detection unit 56, if the register value being additionally operable to after the system kernel file start for detecting reading with
The register value to prestore mismatches or can not read the register value after system kernel file start, notifies the first setting list
It is the first register value that member, which sets the register value after current system kernel file start,;
First setting unit 57, for the register value after current system kernel file start to be set to be posted for first
Storage value;
Second start unit 54 is additionally operable to restarting systems guiding file;
Second reading unit 55 is additionally operable to read the first register value after System guides file start;
The second detection unit 56, if be additionally operable to after the System guides file start for detecting reading first posts
Storage value is mismatched with the register value to prestore, then the detection module detects that register value meets verification condition.
Wherein, as an alternative embodiment, please referring to Fig. 4-3, Fig. 4-3 is detected in fourth embodiment of the invention
The structure diagram of module 5, as shown in Fig. 4-3, the detection module 5 can specifically include:
Third start unit 58 guides file for activation system;
Third reading unit 59, for reading the register value after System guides file start;
Third detection unit 510, if for detect the register value after the System guides file start of reading with
The register value to prestore matches, then the third start unit activation system kernel file;
The third start unit 58, is additionally operable to activation system kernel file;
The third reading unit 59 is additionally operable to read the register value after system kernel file start;
The third detection unit 510, if after being additionally operable to the system kernel file start success for detecting reading
Register value is matched with the register value to prestore, the third start unit is notified to start application file, and read application file
Register value after startup;
The third start unit 58 is additionally operable to start application file;
The third reading unit 59 is additionally operable to read the register value after application file starts;
The third detection unit 510, if being additionally operable to the register value after the application file startup for detecting reading
The register value after application file starts is mismatched or can not read with the register value to prestore, notifies the second setting unit
Register value after the current application file of setting starts is the second register value;
Second setting unit 511 is second for the register value after the current application file is set to start
Register value
The third start unit 58 is additionally operable to restarting systems guiding file;
The third reading unit 59 is additionally operable to read the second register value after System guides file start;
The third detection unit 510, if being additionally operable to detect that the System guides file that the set-top box is read opens
The second register value after dynamic is mismatched with the register value to prestore, then the set-top box detects that register value meets verification item
Part.
As can be seen that in technical solution of the embodiment of the present invention, set-top box is to the server being connect with the set top box communication
The checking command for carrying software version mark is sent, receives the software version that the server responds the checking command feedback
The corresponding check code list of this mark, verifies the data of each subregion based on the check code list, fails to verification
The data of subregion restored, wherein, set-top box by targetedly restoring to the data of the subregion of verification failure,
Renewal time is advantageously reduced, while reduces the memory space that the corresponding upgrade package of data to be updated occupies in set-top box.
Fig. 5 is please referred to, Fig. 5 is a kind of structure diagram of set-top box disclosed by the embodiments of the present invention.As shown in figure 5, this
Set-top box in inventive embodiments includes:At least one processor 501, such as CPU, at least one receiver 503 are at least one
Memory 504, at least one transmitter 505, at least one communication bus 502.Wherein, communication bus 502 is used to implement these
Connection communication between component.Wherein, the receiver 503 of device and transmitter 505 can be wired hairs in the embodiment of the present invention
Sending end mouth, or wireless device, such as including antenna assembly, for carrying out the logical of signaling or data with other node devices
Letter.Memory 504 can be high-speed RAM memory or non-labile memory (non-volatile
Memory), a for example, at least magnetic disk storage.Memory 504 optionally can also be at least one and be located remotely from aforementioned place
Manage the storage device of device 501.Batch processing code is stored in memory 504, and the processor 501 can pass through communication bus
502, the code stored in memory 504 is called to perform relevant function.
The processor 501 carries software version mark for being sent to the server being connect with the set top box communication
Checking command;Receive the corresponding check code row of software version mark that the server responds the checking command feedback
Table;The data of each subregion are verified based on the check code list;The data of the subregion of verification failure are restored.
Wherein optionally, the processor 501 is carried for being sent to the server being connect with the set top box communication
Before the checking command of software version mark, whether the register value for being additionally operable to detect the set-top box meets verification condition;
When detecting that the register value of the set-top box meets verification condition, triggering perform the set-top box to the set top box communication
The server of connection sends the operation for the checking command for carrying software version mark.
Wherein optionally, the processor 501, for detecting whether the register value of the set-top box meets verification item
During part, file is guided, and read the register value after System guides file start specifically for activation system;If detect reading
The System guides file start after register value and the register value that prestores mismatch, then the set-top box, which detects, posts
Storage value meets verification condition.
Wherein optionally, the processor 501, for detecting whether the register value of the set-top box meets verification item
During part, file is guided, and read the register value after System guides file start specifically for activation system;If detect reading
The System guides file start after register value matched with the register value to prestore, then in the set-top box activation system
Core file, and read the register value after system kernel file start;If after the system kernel file start for detecting reading
Register value mismatches with the register value to prestore or can not read the register value after system kernel file start, sets
Register value after current system kernel file start is the first register value;Restarting systems guide file, and read
The first register value after System guides file start;If detecting, first after the System guides file start of reading posts
Storage value is mismatched with the register value to prestore, then the set-top box detects that register value meets verification condition.
Wherein optionally, the processor 501, for detecting whether the register value of the set-top box meets verification item
During part, file is guided, and read the register value after System guides file start specifically for activation system;If detect reading
The System guides file start after register value matched with the register value to prestore, then in the set-top box activation system
Core file reads the register value after system kernel file start;If detect the system kernel file start of reading into
Register value after work(is matched with the register value to prestore, and the set-top box starts application file, and reads application file startup
Register value afterwards;If detect the register value after the application file startup of reading with the register value to prestore not
Matching can not read the register value after application file starts, and set the register value after current application file startup
For the second register value;The set-top box restarting systems guide file, and read after System guides file start second
Register value;If detect the second register value after the System guides file start of reading and the register value that prestores not
Matching, then the set-top box detects that register value meets verification condition.
Wherein optionally, the check code list be Message Digest Algorithm 5 MD5 value lists, the processor 501,
When for being verified based on the check code list to the data of each subregion, specifically for judging that the server is sent
The corresponding MD5 values of the data of each subregion that include of the MD5 value lists it is corresponding with the data of each subregion of data of set top box
MD5 values whether match;If judging result is matching, the set-top box verification data success;If judging result is mismatch,
The then set-top box verification data failure, and preserve each point that the MD5 value lists sent with the server include
The corresponding partition identification to be updated of MD5 values of the data of the unmatched set-top box subregion of the corresponding MD5 values of data in area.
Wherein optionally, the processor 501, when the data for the subregion to verification failure are restored, specifically
If for verification data success, default setting recovery is carried out to data;If verification data fails, carry and treat to server hair
The more new command of newer partition identification receives the partition identification to be updated of more new command generation described in the server response
Corresponding partition data is treated the corresponding partition data of newer partition identification and is updated, and is performed again based on institute after update
State the operation that check code list verifies the data of each subregion.
Wherein optionally, the processor is additionally operable to after restoring for the data of the subregion to verification failure
The register value that the register value of the set-top box is set as prestoring, so that the set-top box is again started up System guides text
Part, and when reading the register value after System guides file start, after the System guides file start for detecting reading
Register value is matched with the register value to prestore;Restarting systems guide file.
As can be seen that in technical solution of the embodiment of the present invention, set-top box is to the server being connect with the set top box communication
The checking command for carrying software version mark is sent, receives the software version that the server responds the checking command feedback
The corresponding check code list of this mark, verifies the data of each subregion based on the check code list, fails to verification
The data of subregion restored, wherein, set-top box by targetedly restoring to the data of the subregion of verification failure,
Renewal time is advantageously reduced, while reduces the memory space that the corresponding upgrade package of data to be updated occupies in set-top box.
The embodiment of the present invention also provides a kind of computer storage media, wherein, which can be stored with journey
Sequence, the part of the monitoring method of any service processes when which performs described in including above method embodiment or complete
Portion's step.
It should be noted that for aforementioned each method embodiment, in order to be briefly described, therefore it is all expressed as a series of
Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement because
According to the present invention, certain steps may be used other sequences or be carried out at the same time.Secondly, those skilled in the art should also know
It knows, embodiment described in this description belongs to preferred embodiment, and involved action and module are not necessarily of the invention
It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment
Point, it may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way
It realizes.For example, the apparatus embodiments described above are merely exemplary, such as the division of the unit, it is only a kind of
Division of logic function, can there is an other dividing mode in actual implementation, such as multiple units or component can combine or can
To be integrated into another system or some features can be ignored or does not perform.Another point, shown or discussed is mutual
Coupling, direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING or communication connection of device or unit,
Can be electrical or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit
The component shown may or may not be physical unit, you can be located at a place or can also be distributed to multiple
In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also
That each unit is individually physically present, can also two or more units integrate in a unit.Above-mentioned integrated list
The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is independent product sale or uses
When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme of the present invention is substantially
The part to contribute in other words to the prior art or all or part of the technical solution can be in the form of software products
It embodies, which is stored in a storage medium, is used including some instructions so that a computer
Equipment (can be personal computer, server or network equipment etc.) perform each embodiment the method for the present invention whole or
Part steps.And aforementioned storage medium includes:USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can to store program code
Medium.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage
Medium can include:Flash disk, read-only memory (English:Read-Only Memory, referred to as:ROM), random access device (English
Text:Random Access Memory, referred to as:RAM), disk or CD etc..
A kind of set-top-box system abnormality restoration methods and set-top box provided above to the embodiment of the present invention carry out
It is discussed in detail, specific case used herein is expounded the principle of the present invention and embodiment, above example
Explanation be merely used to help understand the present invention method and its core concept;Meanwhile for those of ordinary skill in the art,
Thought according to the present invention, there will be changes in specific embodiments and applications, in conclusion in this specification
Appearance should not be construed as limiting the invention.
Claims (8)
1. a kind of set-top-box system abnormality restoration methods, which is characterized in that the method includes:
Whether the register value that set-top box detects the set-top box meets verification condition;
When the register value for detecting the set-top box meets verification condition, the set-top box connects to the set top box communication
The server connect sends the checking command for carrying software version mark;
The set-top box receives the corresponding verification of software version mark that the server responds the checking command feedback
Code list;
The set-top box verifies the data of each subregion based on the check code list;
The set-top box restores the data of the subregion of verification failure;
Whether the register value that the set-top box detects the set-top box meets verification condition, including:
The set-top box activation system guides file, and reads the register value after System guides file start;If detect reading
Register value after the System guides file start taken is matched with the register value to prestore, then the set-top box activation system
Kernel file, and read the register value after system kernel file start;
If detecting, the register value after the system kernel file start of reading is mismatched with the register value to prestore, setting
Register value after current system kernel file start is the first register value;
The set-top box restarting systems guide file, and read the first register value after System guides file start;
If detect the first register value after the System guides file start of reading with the register value to prestore not
Matching, then the set-top box detects that register value meets verification condition;
Or,
Whether the register value that the set-top box detects the set-top box meets verification condition, including:
The set-top box activation system guides file, and reads the register value after System guides file start;
If detecting, the register value after the System guides file start of reading is matched with the register value to prestore, described
Set-top box activation system kernel file reads the register value after system kernel file start;
If detect the register value after the system kernel file start success of reading and the register value to prestore
Match, the set-top box starts application file, and reads the register value after application file starts;
If detecting, the register value after the application file startup of reading is mismatched with the register value to prestore, setting
Register value after the current application file starts is the second register value;
The set-top box restarting systems guide file, and read the second register value after System guides file start;
If detect the second register value after the System guides file start of reading with the register value to prestore not
Matching, then the set-top box detects that register value meets verification condition.
2. the method as described in claim 1, which is characterized in that the check code list is Message Digest Algorithm 5 MD5
Value list, the set-top box verify the data of each subregion based on the check code list, including:
The set-top box judges the corresponding MD5 of the data of each subregion that the MD5 value lists that the server is sent include
Whether value MD5 values corresponding with the data of each subregion of data of set top box match;
If judging result is matching, the set-top box verification data success;
If judging result to mismatch, set-top box verification data failure, and preserve sent with the server it is described
The MD5 values for the data of the unmatched set-top box subregion of the corresponding MD5 values of the data of each subregion that MD5 value lists include correspond to
Partition identification to be updated.
3. method as claimed in claim 2, which is characterized in that the set-top box carries out the data of the subregion of verification failure extensive
It is multiple, including
The set-top box carries the more new command of partition identification to be updated to server hair;
The set-top box receives the corresponding subregion of partition identification to be updated of more new command generation described in the server response
Data;
Partition data of the set-top box based on the reception is treated the corresponding partition data of newer partition identification and is updated,
The step of set-top box verifies the data of each subregion based on the check code list is performed after update again.
4. method as claimed in claim 3, which is characterized in that the set-top box carries out the data of the subregion of verification failure extensive
After multiple, the method further includes:
The register value of the set-top box is set as the register value to prestore, so that the set-top box is again started up system
When guiding file, and reading the register value after System guides file start, detect that the System guides file of reading opens
Register value after dynamic is matched with the register value to prestore;
The set-top box restarting systems guide file.
5. a kind of set-top box, which is characterized in that including:
Detection module, for detecting whether the register value of the set-top box meets verification condition;
Trigger module, when detecting that the register value of the set-top box meets verification condition for the detection module, triggering hair
Module is sent to perform the operation for sending the checking command for carrying software version mark to the server being connect with the set top box communication;
The sending module, for sending the verification for carrying software version mark to the server being connect with the set top box communication
Instruction;
Receiving module, the software version that the checking command feedback is responded for receiving the server identify corresponding school
Test a yard list;
Correction verification module, for being verified based on the check code list to the data of each subregion;
Recovery module, the data for the subregion to verification failure are restored;
The detection module includes:
Second start unit guides file for activation system;
Second reading unit, for reading the register value after System guides file start;
Second detection unit, if for detecting that the register value after the System guides file start of reading is posted with what is prestored
Storage value matches, then notifies the second start unit activation system kernel file;
Second start unit, is additionally operable to activation system kernel file;
Second reading unit is additionally operable to read the register value after system kernel file start;
The second detection unit, if the register value being additionally operable to after the system kernel file start for detecting reading with it is described pre-
The register value deposited mismatches, and it is the to notify that the first setting unit sets the register value after current system kernel file start
One register value;
First setting unit is the first register for setting the register value after current system kernel file start
Value;
Second start unit is additionally operable to restarting systems guiding file;
Second reading unit is additionally operable to read the first register value after System guides file start;
The second detection unit, if being additionally operable to the first register value after the System guides file start for detecting reading
It is mismatched with the register value to prestore, then the detection module detects that register value meets verification condition;
Or, the detection module includes:
Third start unit guides file for activation system;
Third reading unit, for reading the register value after System guides file start;
Third detection unit, if for detecting that the register value after the System guides file start of reading is posted with what is prestored
Storage value matches, then the third start unit activation system kernel file;
The third start unit, is additionally operable to activation system kernel file;
The third reading unit is additionally operable to read the register value after system kernel file start;
The third detection unit, if being additionally operable to the register value after the system kernel file start success for detecting reading
It is matched with the register value to prestore, the third start unit is notified to start application file, and read application file startup
Register value afterwards;
The third start unit is additionally operable to start application file;
The third reading unit is additionally operable to read the register value after application file starts;
The third detection unit, if be additionally operable to detect the application file of reading start after register value with it is described pre-
The register value deposited mismatches, and the register value after the application file for notifying the setting of the second setting unit current starts is the
Two register values;
Second setting unit is the second register for the register value after the current application file is set to start
Value;
The third start unit is additionally operable to restarting systems guiding file;
The third reading unit is additionally operable to read the second register value after System guides file start;
The third detection unit, if the after being additionally operable to detect the System guides file start that the set-top box is read
Two register values are mismatched with the register value to prestore, then the set-top box detects that register value meets verification condition.
6. set-top box as claimed in claim 5, which is characterized in that the check code list is Message Digest Algorithm 5
MD5 value lists, the correction verification module include:
Judging unit, for judging that the data of each subregion that the MD5 value lists that the server is sent include are corresponding
Whether MD5 values MD5 values corresponding with the data of each subregion of data of set top box match;
Storage unit, for preserving the data pair of each subregion that the MD5 value lists sent with the server include
The corresponding partition identification to be updated of MD5 values for the data of the unmatched set-top box subregion of MD5 values answered;
If the judging result of the judging unit is matching, the correction verification module verification data success;
If the judging result of the judging unit is mismatches, the set-top box verification data failure notifies that the preservation is single
Member preserves MD5 values corresponding with the data of each subregion that the MD5 value lists that the server is sent include and mismatches
Set-top box subregion data the corresponding partition identification to be updated of MD5 values.
7. set-top box as claimed in claim 6, which is characterized in that
The recovery module specifically for carrying the more new command of partition identification to be updated to server hair, receives institute
The corresponding partition data of partition identification to be updated of more new command generation described in server response is stated, treats newer subregion mark
Know corresponding partition data to be updated, correction verification module is notified to perform based on the check code list to each point after update again
The operation that the data in area are verified.
8. set-top box as claimed in claim 7, which is characterized in that the set-top box further includes:
Setup module, after restoring for recovery module to the data of the subregion of verification failure, by posting for the set-top box
Storage value is set as the register value to prestore, so that the set-top box is again started up System guides file, and reads System guides
During register value after file start, detect that the register value after the System guides file start of reading prestores with described
Register value matching;
Starting module guides file for restarting systems.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510999509.6A CN105472418B (en) | 2015-12-28 | 2015-12-28 | A kind of set-top-box system abnormality restoration methods and set-top box |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510999509.6A CN105472418B (en) | 2015-12-28 | 2015-12-28 | A kind of set-top-box system abnormality restoration methods and set-top box |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105472418A CN105472418A (en) | 2016-04-06 |
CN105472418B true CN105472418B (en) | 2018-07-03 |
Family
ID=55609632
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510999509.6A Active CN105472418B (en) | 2015-12-28 | 2015-12-28 | A kind of set-top-box system abnormality restoration methods and set-top box |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105472418B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107608879B (en) * | 2017-08-24 | 2020-08-21 | 北京珠穆朗玛移动通信有限公司 | Fault detection method, device and storage medium |
CN107948750B (en) * | 2017-12-15 | 2019-11-01 | 中广热点云科技有限公司 | Set-top box automatically updates the method and its system of the rendition list |
CN109766140A (en) * | 2018-12-19 | 2019-05-17 | 青岛海信宽带多媒体技术有限公司 | A kind of localization method and device that set-top box starting is abnormal |
CN110225410A (en) * | 2019-06-18 | 2019-09-10 | 青岛海信宽带多媒体技术有限公司 | Prompt the method and device of set-top box exception |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102902530A (en) * | 2012-09-07 | 2013-01-30 | 四川长虹电器股份有限公司 | Procedure verifying device based on Linux embedded operating system |
CN104166561A (en) * | 2014-07-25 | 2014-11-26 | 深圳市江波龙电子有限公司 | Electronic device system start method and electronic device |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010039569A (en) * | 2008-07-31 | 2010-02-18 | Toshiba Corp | Content information providing system, content providing device, and content information processing terminal |
CN101520734A (en) * | 2008-12-17 | 2009-09-02 | 康佳集团股份有限公司 | Method for upgrading data in flash memory, network TV and interactive set-top box thereof |
CN101800842B (en) * | 2010-04-16 | 2012-05-30 | 四川长虹电器股份有限公司 | Method for upgrading software of set-top box |
CN102012831B (en) * | 2010-12-08 | 2014-08-13 | 四川金网通电子科技有限公司 | Over-the-air technology (OTA) upgrading method based on Linux platform |
CN102890638B (en) * | 2012-09-29 | 2015-07-15 | 深圳市九洲电器有限公司 | Upgrade method of STB (set top box) |
-
2015
- 2015-12-28 CN CN201510999509.6A patent/CN105472418B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102902530A (en) * | 2012-09-07 | 2013-01-30 | 四川长虹电器股份有限公司 | Procedure verifying device based on Linux embedded operating system |
CN104166561A (en) * | 2014-07-25 | 2014-11-26 | 深圳市江波龙电子有限公司 | Electronic device system start method and electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN105472418A (en) | 2016-04-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107819828B (en) | Data transmission method and device, computer equipment and storage medium | |
CN105472418B (en) | A kind of set-top-box system abnormality restoration methods and set-top box | |
CN101809540B (en) | Network context triggers for activating virtualized computer applications | |
CN108173813B (en) | Vulnerability detection method and device | |
CN106897095A (en) | The multiple method of application program hot repair, device and readable storage medium storing program for executing | |
CN105262633A (en) | Application-level disaster tolerant method and application-level disaster system | |
CN105897461A (en) | Multi-system OTA upgrading method and multi-system device | |
CN106571942B (en) | Configuration data updating method, client and server | |
CN106325879A (en) | Method and device for installing driver and electronic equipment | |
CN110633092A (en) | Server for OTA (over the air) upgrading and embedded equipment upgrading method and device | |
CN105468393A (en) | Module version upgrading method and terminal apparatus | |
US8719622B2 (en) | Recording and preventing crash in an appliance | |
CN109889411B (en) | Data transmission method and device | |
US9720755B2 (en) | Information processing device | |
CN109976926A (en) | Method, circuit, terminal and the storage medium of protection BMC renewal process are restarted in a kind of shielding | |
CN105634779B (en) | The operation processing method and device of master/slave device | |
CN104077053B (en) | Terminal information operating method and device and mobile terminal | |
CN106301967B (en) | A kind of method of data synchronization and outband management equipment | |
CN110362416A (en) | Page assembly loading method and device, electronic equipment, storage medium | |
CN104407808A (en) | Method and device for writing in data | |
CN114430894A (en) | Minimizing production interruptions by scanning rule engines | |
CN111130917B (en) | Line testing method, device and system | |
CN105144073A (en) | Removable storage device identity and configuration information | |
CN104468221B (en) | Server failure hot change-over method, device and system | |
CN106231003A (en) | A kind of address distribution method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |