CN105376646B - A kind of set top box upgrading program configuration method and device - Google Patents

A kind of set top box upgrading program configuration method and device Download PDF

Info

Publication number
CN105376646B
CN105376646B CN201510799045.4A CN201510799045A CN105376646B CN 105376646 B CN105376646 B CN 105376646B CN 201510799045 A CN201510799045 A CN 201510799045A CN 105376646 B CN105376646 B CN 105376646B
Authority
CN
China
Prior art keywords
program
subregion
target
target program
check results
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
Application number
CN201510799045.4A
Other languages
Chinese (zh)
Other versions
CN105376646A (en
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 Fengmeng Information Technology Co., Ltd.
Original Assignee
Shenzhen Fengmeng Information Technology 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 Fengmeng Information Technology Co Ltd filed Critical Shenzhen Fengmeng Information Technology Co Ltd
Priority to CN201510799045.4A priority Critical patent/CN105376646B/en
Publication of CN105376646A publication Critical patent/CN105376646A/en
Application granted granted Critical
Publication of CN105376646B publication Critical patent/CN105376646B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management 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/458Scheduling 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/4586Content update operation triggered locally, e.g. by comparing the version of software modules in a DVB carousel to the version stored locally

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention discloses a kind of set top box upgrading program configuration method and devices, comprising: detects to the program in the target program subregion in query context, determines that the program in the target program subregion whether there is default identifier;If detecting, the program in the target program subregion calls checking algorithm to verify the program in the target program subregion there are the default identifier, and obtains check results;If the check results of the program in the obtained target program subregion are identical as the check results of referral procedure, upgrade procedure is configured according to the program in the target program subregion.Technical solution provided in an embodiment of the present invention is conducive to reuse original program, and then reduces the manpower of exploitation, fund cost, Speeding up development progress.

Description

A kind of set top box upgrading program configuration method and device
Technical field
The present invention relates to field of image transmission, and in particular to a kind of set top box upgrading program configuration method and device.
Background technique
With the popularization of various regions DTV, receiving terminal for digital television has also come into huge numbers of families.In digital electricity Two parts functional software: application program, the guidance journey for being updated to application program is generally mounted in terminal depending on receiving Sequence Loader.The Loader can be integrated with application program.During user uses receiving terminal for digital television, It may be frequently necessary to be updated the software program of receiving terminal for digital television, especially application program is updated.And Sometimes, user needs to be updated application program using new Loader (non-native Loader).It is asked for this Topic, some digital TV providers DTV server end, by the more new data of application program, the update number of Loader According to being packaged into transport stream (TS stream), and TS stream is sent by way of broadcast.When detected in TS flows new Loader and When more new data, flash memory (Flash) is written in new Loader by receiving terminal for digital television, so as to run new Loader pairs Application program is upgraded.
It when being updated Loader due to the prior art, needs to wipe, write Flash, each time peripheral hardware (such as front panel Type, network interface, Output system, booting logo etc.) and function support the change of (such as the support for upgrading mode) to require to develop New upgrade procedure causes the waste of resource, while improving development cost.
Summary of the invention
The embodiment of the invention provides a kind of set top box upgrading program configuration method and devices, to solve to upgrade every time all Need to develop the wasting of resources caused by new upgrade procedure, the problem of cost.
First aspect of the embodiment of the present invention provides a kind of set top box upgrading program configuration method, comprising:
Program in target program subregion in query context is detected, determines the journey in the target program subregion Sequence whether there is default identifier;
If detecting program in the target program subregion, there are the default identifiers, call checking algorithm to described Program in target program subregion is verified, and obtains check results;
If the check results of the program in the obtained target program subregion are identical as the check results of referral procedure, Upgrade procedure is configured according to the program in the target program subregion.
Still optionally further, the check results of the referral procedure include that checking algorithm is called to carry out the referral procedure Check results obtained from verification.
Still optionally further, upgrade procedure is configured according to the program in the target program subregion, comprising:
Program in the target program subregion is adjusted;
Upgrade procedure is configured according to the program in target program subregion adjusted.
Still optionally further, the program in the target program subregion is adjusted, comprising:
Journey is arranged to board type setting program, network interface setting program, Output system before in the target program subregion Sequence and start-up picture setting program are adjusted.
Still optionally further, before the target program subregion in query context detects, the method is also wrapped It includes:
The initial query position for determining storage equipment, determines the query context according to the initial query position;
Program in the query context is divided into N number of program sectioning, the N is positive integer.
Still optionally further, the method also includes:
If detecting the target program subregion, there is no the default identifiers, the N in the query context is chosen A program sectioning is handled as target program subregion in a program sectioning, in order to again in target program subregion Program is detected, and determines that the program in the target program subregion whether there is default identifier.
Still optionally further, the method also includes:
If the check results of the program in the obtained target program subregion are different from the check results of referral procedure, A program sectioning in N number of program sectioning in the query context is chosen to be handled as target program subregion, in order to The program in target program subregion is detected again, determines the program in the target program subregion with the presence or absence of pre- bidding Know symbol.
Still optionally further, the method also includes:
If all not detecting the default identifier in N number of program sectioning, is configured and risen according to the program of default Grade program;Alternatively,
If the check results and the check results of referral procedure of the program in N number of program sectioning are different, according to The program of default configures upgrade procedure.
Second aspect of the embodiment of the present invention provides a kind of set top box upgrading program configuration device, comprising:
Detection module determines the target for detecting to the program in the target program subregion in query context Program in program sectioning whether there is default identifier;
Correction verification module calls if there are the default identifiers for detecting the program in the target program subregion Checking algorithm verifies the program in the target program subregion, and obtains check results;
Configuration module, if the school of the check results of the program in the target program subregion for obtaining and referral procedure It tests that result is identical, then upgrade procedure is configured according to the program in the target program subregion.
Still optionally further, the check results of the referral procedure include that checking algorithm is called to carry out the referral procedure Check results obtained from verification.
Still optionally further, the configuration module specifically includes:
Adjustment unit, for being adjusted to the program in the target program subregion;
Configuration unit, for configuring upgrade procedure according to the program in target program subregion adjusted.
Still optionally further, the adjustment unit, specifically for being set to board type before in the target program subregion Program, network interface setting program, Output system setting program and start-up picture setting program is set to be adjusted.
Still optionally further, described device further include:
Division module before detecting for detection module to the target program subregion in query context, determines storage The initial query position of equipment determines the query context according to the initial query position;By the journey in the query context Sequence is divided into N number of program sectioning, and the N is positive integer.
Still optionally further, described device further include:
Circular treatment module is chosen if there is no the default identifiers for detecting the target program subregion A program sectioning is handled as target program subregion in N number of program sectioning in the query context, in order to again Program in target program subregion is detected, determines the program in the target program subregion with the presence or absence of default mark Symbol.
Still optionally further, the circular treatment module, if the program in the target program subregion for being also used to obtain Check results it is different from the check results of referral procedure, then choose a journey in N number of program sectioning in the query context Sequence subregion is handled as target program subregion, in order to detect again to the program in target program subregion, is determined Program in the target program subregion whether there is default identifier.
Still optionally further, the configuration module, if being also used to all not detect in N number of program sectioning described Default identifier configures upgrade procedure according to the program of default;Alternatively, if the verification of the program in N number of program sectioning As a result different from the check results of referral procedure, upgrade procedure is configured according to the program of default.
As can be seen that in technical solution of the embodiment of the present invention, first to the journey in the target program subregion in query context Sequence is detected, and determines that the program in the target program subregion whether there is default identifier, if detecting the target journey There are the default identifiers for program in sequence subregion, and checking algorithm is called to carry out school to the program in the target program subregion Check results are tested and obtain, the check results of the program in the obtained target program subregion and the verification knot of referral procedure In the identical situation of fruit, then upgrade procedure is configured according to the program in the target program subregion, it is real by implementing the present invention Example is applied to be conducive to configure upgrade procedure by the original program resource of recycling, the manpower of reduction overlapping development upgrade procedure, Fund cost, while being conducive to Speeding up development speed.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical 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 It obtains other drawings based on these drawings.
Fig. 1 is a kind of structural schematic diagram for set top box upgrading program configuration method that first embodiment of the invention provides;
Fig. 2 is a kind of structural schematic diagram for set top box upgrading program configuration method that second embodiment of the invention provides
Fig. 3 is a kind of structural schematic diagram for set top box upgrading program configuration device that third embodiment of the invention provides;
Fig. 4 is a kind of structural schematic diagram for set top box upgrading program configuration device that fourth embodiment of the invention provides;
Fig. 5 is a kind of structural schematic diagram for set top box upgrading program configuration device that fifth embodiment of the invention provides.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only A 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 Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
Term " includes " in description and claims of this specification and above-mentioned attached drawing and " having " and they appoint What is deformed, it is intended that is covered and non-exclusive is included.Such as contain the process, method, system, production of a series of steps or units Product or equipment are not limited to listed step or unit, but optionally further comprising the step of not listing or unit, or Optionally further comprising other step or units intrinsic for these process, methods, product or equipment.
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.
Referring to Fig. 1, Fig. 1 is a kind of process for set top box upgrading program configuration method that first embodiment of the invention provides Schematic diagram, as shown in Figure 1, comprising the following steps:
S101, set-top box detect the program in the target program subregion in query context, determine the target journey Program in sequence subregion whether there is default identifier.
Before the set-top box detects the target program subregion in query context, following step is first carried out in set-top box It is rapid: to determine the initial query position of storage equipment, the query context is determined according to the initial query position;By the inquiry Program in range is divided into N number of program sectioning, and the N is positive integer.
If S102, set-top box detect the program in the target program subregion, there are the default identifiers, call school Checking method verifies the program in the target program subregion, and obtains check results.
Wherein, the check results of the referral procedure are to call checking algorithm to verify the referral procedure to be obtained Check results.
If set-top box detects the target program subregion, there is no the default identifiers, choose the query context A program sectioning is handled as target program subregion in interior N number of program sectioning, in order to again to target program point Program in area is detected, and determines that the program in the target program subregion whether there is default identifier.
Wherein, above-mentioned checking algorithm can be cyclic redundancy check algorithm (CRC check), the check sum (school checksum Test) etc..
If the verification of the check results and referral procedure of the program in the target program subregion that S103, set-top box obtain As a result identical, then set-top box configures upgrade procedure according to the program in the target program subregion.
Wherein, if the check results phase of the check results and referral procedure of the program in the obtained target program subregion Together, the program in the target program subregion is adjusted, the content of adjustment includes: front board type setting program, network interface Program, Output system setting program and start-up picture are set, program is set;According to the journey in target program subregion adjusted Sequence configures upgrade procedure.
If the check results of the program in the obtained target program subregion are different from the check results of referral procedure, Set-top box is chosen a program sectioning in N number of program sectioning in the query context and is handled as target program subregion, In order to detect again to the program in target program subregion, determine that the program in the target program subregion whether there is Default identifier.
If all not detecting the default identifier in N number of program sectioning, is configured and risen according to the program of default Grade program;Alternatively, if the check results and the check results of referral procedure of the program in N number of program sectioning are different, Upgrade procedure is configured according to the program of default.
As can be seen that in technical solution of the embodiment of the present invention, first to the journey in the target program subregion in query context Sequence is detected, and determines that the program in the target program subregion whether there is default identifier, if detecting the target journey There are the default identifiers for program in sequence subregion, and checking algorithm is called to carry out school to the program in the target program subregion Check results are tested and obtain, the check results of the program in the obtained target program subregion and the verification knot of referral procedure In the identical situation of fruit, then upgrade procedure is configured according to the program in the target program subregion, it is real by implementing the present invention Example is applied to be conducive to configure upgrade procedure by the original program resource of recycling, the manpower of reduction overlapping development upgrade procedure, Fund cost, while being conducive to Speeding up development speed.
Referring to Fig. 2, Fig. 2 is a kind of process for set top box upgrading program configuration method that second embodiment of the invention provides Schematic diagram, as shown in Figure 2, comprising the following steps:
The initial query position of S201, set-top box determination storage equipment, are looked into according to the determination of the initial query position Ask range.
Program in the query context is divided into N number of program sectioning by S202, set-top box, and the N is positive integer.
S203, set-top box detect the program in the target program subregion in query context, determine the target journey Program in sequence subregion whether there is default identifier.
Wherein, if set-top box detects that the program in the target program subregion there are the default identifier, executes step Rapid S204, S205, if detecting the target program subregion, there is no the default identifiers, execute step S208.
If S204, set-top box detect the program in the target program subregion, there are the default identifiers, call school Checking method verifies the program in the target program subregion, and obtains check results.
Wherein, the check results of the referral procedure include that checking algorithm is called to be verified and obtained to the referral procedure The check results arrived.
The check results for the program in the target program subregion that S205, set-top box judge and the school of referral procedure Whether identical test result.
Wherein, the check results phase of the check results and referral procedure of the program in the obtained target program subregion Step S206, S207 is executed in the case where;The check results and reference of program in the obtained target program subregion Step S208 is executed in the different situation of the check results of program.
If the check results phase of the check results and referral procedure of S206, program in the obtained target program subregion Together, the program in the target program subregion is adjusted.
Journey is arranged to board type setting program, network interface setting program, Output system before in the target program subregion Sequence and start-up picture setting program are adjusted.
S207, upgrade procedure is configured according to the program in target program subregion adjusted.
S208, set-top box choose in N number of program sectioning in the query context program sectioning as target program Subregion is handled, and in order to detect again to the program in target program subregion, is determined in the target program subregion Program whether there is default identifier.
If all not detecting the default identifier in N number of program sectioning, is configured and risen according to the program of default Grade program;Alternatively, if the check results and the check results of referral procedure of the program in N number of program sectioning are different, Upgrade procedure is configured according to the program of default.
As can be seen that in technical solution of the embodiment of the present invention, first to the journey in the target program subregion in query context Sequence is detected, and determines that the program in the target program subregion whether there is default identifier, if detecting the target journey There are the default identifiers for program in sequence subregion, and checking algorithm is called to carry out school to the program in the target program subregion Check results are tested and obtain, the check results of the program in the obtained target program subregion and the verification knot of referral procedure In the identical situation of fruit, then upgrade procedure is configured according to the program in the target program subregion, it is real by implementing the present invention Example is applied to be conducive to configure upgrade procedure by the original program resource of recycling, the manpower of reduction overlapping development upgrade procedure, Fund cost, while being conducive to Speeding up development speed.
The following is an embodiment of the apparatus of the present invention, and apparatus of the present invention embodiment is for executing embodiment of the present invention method one to two The method of realization, for ease of description, only parts related to embodiments of the present invention are shown, and particular technique details does not disclose , please refer to the embodiment of the present invention one and embodiment two.
Referring to Fig. 3, Fig. 3 is a kind of structure for set top box upgrading program configuration device that third embodiment of the invention provides Schematic diagram, as shown in figure 3, including detection module 301, correction verification module 302, configuration module 303, in which:
The detection module 301 determines institute for detecting to the program in the target program subregion in query context Stating the program in target program subregion whether there is default identifier.
The correction verification module 302, if there are the default marks for detecting the program in the target program subregion Symbol calls checking algorithm to verify the program in the target program subregion, and obtains check results.
Wherein, the check results of the referral procedure include that checking algorithm is called to be verified and obtained to the referral procedure The check results arrived.
Wherein, above-mentioned checking algorithm can be cyclic redundancy check algorithm (CRC check), the check sum (school checksum Test) etc..
The configuration module 303, if the check results and reference of the program in the target program subregion for obtaining The check results of program are identical, then configure upgrade procedure according to the program in the target program subregion.
As can be seen that in technical solution of the embodiment of the present invention, first to the journey in the target program subregion in query context Sequence is detected, and determines that the program in the target program subregion whether there is default identifier, if detecting the target journey There are the default identifiers for program in sequence subregion, and checking algorithm is called to carry out school to the program in the target program subregion Check results are tested and obtain, the check results of the program in the obtained target program subregion and the verification knot of referral procedure In the identical situation of fruit, then upgrade procedure is configured according to the program in the target program subregion, it is real by implementing the present invention Example is applied to be conducive to configure upgrade procedure by the original program resource of recycling, the manpower of reduction overlapping development upgrade procedure, Fund cost, while being conducive to Speeding up development speed.
Fig. 4 is referred to again, is a kind of structure for set top box upgrading program configuration device that fourth embodiment of the invention provides Schematic diagram, described device include detection module 301, correction verification module 302, configuration module 303 in above-described embodiment.
As an alternative embodiment, in embodiments of the present invention, the configuration module 303 can also be wrapped specifically It includes:
Adjustment unit 3031, for being adjusted to the program in the target program subregion.
Wherein, the adjustment unit 3031, specifically for journey is arranged to board type before in the target program subregion Sequence, network interface setting program, Output system setting program and start-up picture setting program are adjusted.
Configuration unit 3032, for configuring upgrade procedure according to the program in target program subregion adjusted.
As an alternative embodiment, described device further include:
Division module 304, before detecting for detection module to the target program subregion in query context, determination is deposited The initial query position for storing up equipment, determines the query context according to the initial query position;It will be in the query context Program is divided into N number of program sectioning, and the N is positive integer.
As an alternative embodiment, described device can further include:
Circular treatment module 305 is selected if there is no the default identifiers for detecting the target program subregion A program sectioning in N number of program sectioning in the query context is taken to be handled as target program subregion, in order to again The secondary program in target program subregion detects, and determines the program in the target program subregion with the presence or absence of default mark Symbol.
As an alternative embodiment, the circular treatment module 305, if the target program for being also used to obtain The check results of program in subregion and the check results of referral procedure are different, then choose N number of program in the query context A program sectioning is handled as target program subregion in subregion, in order to again to the program in target program subregion into Row detection determines that the program in the target program subregion whether there is default identifier.
As an alternative embodiment, the configuration module 303, if being also used in N number of program sectioning all It does not detect the default identifier, upgrade procedure is configured according to the program of default;Alternatively, if in N number of program sectioning In program check results and the check results of referral procedure it is different, according to the program of default configure upgrade procedure.
As can be seen that in technical solution of the embodiment of the present invention, first to the journey in the target program subregion in query context Sequence is detected, and determines that the program in the target program subregion whether there is default identifier, if detecting the target journey There are the default identifiers for program in sequence subregion, and checking algorithm is called to carry out school to the program in the target program subregion Check results are tested and obtain, the check results of the program in the obtained target program subregion and the verification knot of referral procedure In the identical situation of fruit, then upgrade procedure is configured according to the program in the target program subregion, it is real by implementing the present invention Example is applied to be conducive to configure upgrade procedure by the original program resource of recycling, the manpower of reduction overlapping development upgrade procedure, Fund cost, while being conducive to Speeding up development speed.
Referring to FIG. 5, Fig. 5 is a kind of structure for set top box upgrading program configuration device that fifth embodiment of the invention provides Schematic diagram.As shown in figure 5, the set top box upgrading program configuration device in the embodiment of the present invention includes: at least one processor 501, such as CPU, at least one receiver 503, at least one processor 504, at least one transmitter 505, at least one is logical Believe bus 502.Wherein, communication bus 502 is for realizing the connection communication between these components.Wherein, in the embodiment of the present invention The receiver 503 and transmitter 505 of device can be wired sending port, or and wireless device is traditional thread binding for example including day It sets, for carrying out the communication of signaling or data with other node devices.Memory 504 can be high speed RAM memory, can also be with It is non-labile memory (non-volatile memory), for example, at least a magnetic disk storage.Memory 504 is optional Can also be that at least one is located remotely from the storage device of aforementioned processor 501.Batch processing generation is stored in memory 504 Code, and the processor 501 can call the code stored in memory 504 to execute relevant function by communication bus 502 Energy.
The processor 501, for being detected to the program in the target program subregion in query context, described in determination Program in target program subregion whether there is default identifier;If there are institutes for the program for detecting in the target program subregion Default identifier is stated, calls checking algorithm to verify the program in the target program subregion, and obtain check results;If The check results of the obtained program in the target program subregion are identical as the check results of referral procedure, then according to the mesh The program in program sectioning is marked to configure upgrade procedure.
Wherein, the check results of the referral procedure are to call checking algorithm to verify the referral procedure to be obtained Check results.
As an alternative embodiment, the processor 501 examines the target program subregion in query context Before survey, it can be also used for the initial query position for determining storage equipment, the inquiry determined according to the initial query position Range;Program in the query context is divided into N number of program sectioning, the N is positive integer.
As an alternative embodiment, if the processor 501 is also used to detect the target program subregion not There are the default identifier, then a program sectioning is chosen in N number of program sectioning in the query context as target journey Sequence subregion is handled, and in order to detect again to the program in target program subregion, determines the target program subregion In program whether there is default identifier.
Wherein, if as an alternative embodiment, in the target program subregion that the processor 501 obtains The check results of program and the check results of referral procedure are identical, then liter is configured according to the program in the target program subregion If grade program is put into the check results and reference for the program that specific embodiment may is that in the obtained target program subregion The check results of program are identical, are adjusted to the program in the target program subregion, and the content of adjustment includes: front panel class Type is arranged program, network interface setting program, Output system setting program and start-up picture and program is arranged;According to target adjusted Program in program sectioning configures upgrade procedure.
Wherein, if as an alternative embodiment, the target program point that the processor 501 is also used to obtain The check results of program in area and the check results of referral procedure are different, then set-top box is chosen N number of in the query context A program sectioning is handled as target program subregion in program sectioning, in order to again to the journey in target program subregion Sequence is detected, and determines that the program in the target program subregion whether there is default identifier.
Wherein, if as an alternative embodiment, the processor 501 is also used in N number of program sectioning It does not all detect the default identifier, upgrade procedure is configured according to the program of default;Alternatively, if in N number of program point The check results of program in area and the check results of referral procedure are different, configure upgrade procedure according to the program of default.
As can be seen that in technical solution of the embodiment of the present invention, first to the journey in the target program subregion in query context Sequence is detected, and determines that the program in the target program subregion whether there is default identifier, if detecting the target journey There are the default identifiers for program in sequence subregion, and checking algorithm is called to carry out school to the program in the target program subregion Check results are tested and obtain, the check results of the program in the obtained target program subregion and the verification knot of referral procedure In the identical situation of fruit, then upgrade procedure is configured according to the program in the target program subregion, it is real by implementing the present invention Example is applied to be conducive to configure upgrade procedure by the original program resource of recycling, the manpower of reduction overlapping development upgrade procedure, Fund cost, while being conducive to Speeding up development speed.
The embodiment of the present invention also provides a kind of computer storage medium, wherein the computer storage medium can be stored with journey Sequence, the program include the part or complete of the monitoring method for any service processes recorded in above method embodiment when executing Portion's step.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is 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, reference can be made to the related descriptions of other embodiments.
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 Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit, It can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can for personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole or Part steps.And storage medium above-mentioned includes: that USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic or disk etc. be various to can store program code Medium.
Those of ordinary skill in the art will appreciate that all or part of the steps 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 may include: flash disk, read-only memory (English: Read-Only Memory, abbreviation: ROM), random access device (English Text: Random Access Memory, referred to as: RAM), disk or CD etc..
Detailed Jie has been carried out to a kind of set top box upgrading program configuration method provided in an embodiment of the present invention and device above It continues, used herein a specific example illustrates the principle and implementation of the invention, and the explanation of above embodiments is only It is to be used to help understand method and its core concept of the invention;At the same time, for those skilled in the art, according to this hair Bright thought, there will be changes in the specific implementation manner and application range, to sum up above-mentioned, and the content of the present specification should not manage Solution is limitation of the present invention.

Claims (8)

1. a kind of set top box upgrading program configuration method, which is characterized in that the described method includes:
The initial query position for determining storage equipment, determines query context according to the initial query position;
Program in the query context is divided into N number of program sectioning, the N is positive integer;
Program in target program subregion in query context is detected, determines that the program in the target program subregion is It is no to there is default identifier;
If detecting program in the target program subregion, there are the default identifiers, call checking algorithm to the target Program in program sectioning is verified, and obtains check results;
If the check results of the program in the obtained target program subregion are identical as the check results of referral procedure, to described Board type setting program, network interface setting program, Output system setting program and start-up picture before in target program subregion Setting program is adjusted, and configures upgrade procedure according to the program in target program subregion adjusted;
If all not detecting the default identifier in N number of program sectioning, alternatively, if in N number of program sectioning In the check results of program and the check results of referral procedure be all different, according to the program of default configure upgrade procedure.
2. the method as described in claim 1, which is characterized in that the check results of the referral procedure include calling checking algorithm Check results obtained from being verified to the referral procedure.
3. the method as described in claim 1, which is characterized in that the method also includes:
If detecting the target program subregion, there is no the default identifiers, N number of journey in the query context is chosen A program sectioning is handled as target program subregion in sequence subregion, in order to again to the program in target program subregion It is detected, determines that the program in the target program subregion whether there is default identifier.
4. the method as described in claim 1, which is characterized in that the method also includes:
If the check results of the program in the obtained target program subregion are different from the check results of referral procedure, choose A program sectioning is handled as target program subregion in N number of program sectioning in the query context, in order to again Program in target program subregion is detected, determines the program in the target program subregion with the presence or absence of default mark Symbol.
5. a kind of set top box upgrading program configuration device, which is characterized in that described device includes:
Division module before detecting for detection module to the target program subregion in query context, determines storage equipment Initial query position, the query context is determined according to the initial query position;By the program in the query context point For N number of program sectioning, the N is positive integer;
Detection module determines the target program for detecting to the program in the target program subregion in query context Program in subregion whether there is default identifier;
Correction verification module calls verification if there are the default identifiers for detecting the program in the target program subregion Algorithm verifies the program in the target program subregion, and obtains check results;
Configuration module, if the verification knot of the check results of the program in the target program subregion for obtaining and referral procedure Fruit is identical, then configures upgrade procedure according to the program in the target program subregion;
The configuration module specifically includes:
Adjustment unit, for being made to board type setting program, network interface setting program, output before in the target program subregion Formula setting program and start-up picture setting program are adjusted;
Configuration unit, for configuring upgrade procedure according to the program in target program subregion adjusted;
The configuration module, if being also used to all not detect the default identifier in N number of program sectioning, according to silent The program configuration upgrade procedure recognized;Alternatively, if the check results of the program in N number of program sectioning and the school of referral procedure It tests that result is different, upgrade procedure is configured according to the program of default.
6. device as claimed in claim 5, which is characterized in that the check results of the referral procedure include calling checking algorithm Check results obtained from being verified to the referral procedure.
7. device as claimed in claim 5, which is characterized in that described device further include:
Circular treatment module, if for detecting the target program subregion there is no the default identifier, choose described in A program sectioning is handled as target program subregion in N number of program sectioning in query context, in order to again to mesh Program in mark program sectioning is detected, and determines that the program in the target program subregion whether there is default identifier.
8. device as claimed in claim 5, which is characterized in that described device further include:
Circular treatment module, if the school of the check results of the program in the target program subregion for obtaining and referral procedure Test result difference, then choose in N number of program sectioning in the query context program sectioning as target program subregion into Row processing, in order to detect again to the program in target program subregion, determines the program in the target program subregion With the presence or absence of default identifier.
CN201510799045.4A 2015-11-18 2015-11-18 A kind of set top box upgrading program configuration method and device Active CN105376646B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510799045.4A CN105376646B (en) 2015-11-18 2015-11-18 A kind of set top box upgrading program configuration method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510799045.4A CN105376646B (en) 2015-11-18 2015-11-18 A kind of set top box upgrading program configuration method and device

Publications (2)

Publication Number Publication Date
CN105376646A CN105376646A (en) 2016-03-02
CN105376646B true CN105376646B (en) 2019-02-12

Family

ID=55378379

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510799045.4A Active CN105376646B (en) 2015-11-18 2015-11-18 A kind of set top box upgrading program configuration method and device

Country Status (1)

Country Link
CN (1) CN105376646B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106020837A (en) * 2016-05-27 2016-10-12 深圳创维数字技术有限公司 Method and system for loading set top box drive
CN107770623A (en) * 2017-11-06 2018-03-06 深圳创维-Rgb电子有限公司 A kind of upgrade method and device of system for TV set software

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101425018A (en) * 2008-12-05 2009-05-06 深圳创维数字技术股份有限公司 Embedded firmware upgrading method and device based on sectional form
CN102890638A (en) * 2012-09-29 2013-01-23 深圳市九洲电器有限公司 Upgrade method of STB (set top box)
CN103176824A (en) * 2013-03-15 2013-06-26 青岛海信移动通信技术股份有限公司 System upgrade method and system upgrade device
CN104581397A (en) * 2014-12-29 2015-04-29 四达时代通讯网络技术有限公司 System upgrade method and device for android set-top box
CN104750527A (en) * 2015-03-27 2015-07-01 广州快飞计算机科技有限公司 Embedded system upgrading method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9986696B2 (en) * 2013-08-26 2018-06-05 Et Water Systems, Inc. Irrigation smart controllers with programming and firmware updating

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101425018A (en) * 2008-12-05 2009-05-06 深圳创维数字技术股份有限公司 Embedded firmware upgrading method and device based on sectional form
CN102890638A (en) * 2012-09-29 2013-01-23 深圳市九洲电器有限公司 Upgrade method of STB (set top box)
CN103176824A (en) * 2013-03-15 2013-06-26 青岛海信移动通信技术股份有限公司 System upgrade method and system upgrade device
CN104581397A (en) * 2014-12-29 2015-04-29 四达时代通讯网络技术有限公司 System upgrade method and device for android set-top box
CN104750527A (en) * 2015-03-27 2015-07-01 广州快飞计算机科技有限公司 Embedded system upgrading method and system

Also Published As

Publication number Publication date
CN105376646A (en) 2016-03-02

Similar Documents

Publication Publication Date Title
CN106658475B (en) Method and device for upgrading over-the-air technology
CN101917706B (en) Processing method and device for upgrading FOTA (Firmware Over the Air)
CN106897095A (en) The multiple method of application program hot repair, device and readable storage medium storing program for executing
EP3890215A1 (en) Electromagnetic interference control method and related apparatus
CN104685471B (en) Automatic arranging of the software platform to the equipment ecosystem
CN105897461A (en) Multi-system OTA upgrading method and multi-system device
CN108513361B (en) Channel access method, device and storage medium
CN106325879A (en) Method and device for installing driver and electronic equipment
EP3659058A1 (en) Devices and methods for key attestation with multiple device certificates
CN104050054B (en) Processing method for installation package installation failure and cause determining method and device
CN106020882A (en) Application upgrading method, intelligent terminal and upgrading system
CN106681749A (en) Local code patch updating method and device based on Android platform
CN104580267A (en) A resource downloading method, device, server and corresponding system
CN105376646B (en) A kind of set top box upgrading program configuration method and device
CN105791135A (en) Method for providing intelligent routing application and intelligent router
CN105426192A (en) Information modification method and terminal
CN105472418B (en) A kind of set-top-box system abnormality restoration methods and set-top box
CN105138352A (en) Method and apparatus for installing application plugins
CN111327475A (en) Method, system and device for upgrading embedded equipment
CN106470114B (en) A kind of configuration method and device of OTA upgrade package
CN106528206A (en) Application starting control method and apparatus, and application installation package reinforcement apparatus
CN108958785A (en) A kind of application program updating method and device
CN109995548B (en) Device management method and system, data transmission method and system and terminal device
CN105975306A (en) Application program starting management method and application program starting management apparatus for electronic device
CN105549995A (en) Audio device upgrading method and apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20181130

Address after: 518057 1009, 10th Floor, Building A, Chuangwei Building, Gaoxin South, Yuehai Street, Nanshan District, Shenzhen City, Guangdong Province

Applicant after: Shenzhen Fengmeng Information Technology Co., Ltd.

Address before: 518057 A14 Floor, Chuangwei Building, Nanshan District, Shenzhen City, Guangdong Province

Applicant before: Shenzhen Skyworth Digital Technology Co., Ltd.

Applicant before: Shenzhen Skyworth Software Co., Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant