CN113805933A - Set top box system upgrading method and device, set top box, system and storage medium - Google Patents
Set top box system upgrading method and device, set top box, system and storage medium Download PDFInfo
- Publication number
- CN113805933A CN113805933A CN202010538109.6A CN202010538109A CN113805933A CN 113805933 A CN113805933 A CN 113805933A CN 202010538109 A CN202010538109 A CN 202010538109A CN 113805933 A CN113805933 A CN 113805933A
- Authority
- CN
- China
- Prior art keywords
- top box
- upgrading
- upgrade
- rule file
- address
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
- G06F8/63—Image based installation; Cloning; Build to order
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- 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/4508—Management of client data or end-user data
- H04N21/4516—Management of client data or end-user data involving client characteristics, e.g. Set-Top-Box type, software version or amount of memory available
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Databases & Information Systems (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a set top box system upgrading method, a set top box system upgrading device, a set top box system and a storage medium, and belongs to the technical field of set top boxes. The method comprises the following steps: the method comprises the steps of obtaining an upgrading rule file corresponding to the set-top box from a server, wherein the upgrading rule file comprises version information, an address list and a mirror image file list, checking the upgrading rule file, obtaining an upgrading mirror image file corresponding to the upgrading rule file from the server under the condition that the upgrading rule file is successfully checked, and upgrading the system of the set-top box according to the upgrading mirror image file. Therefore, the directional pushing or the area control of the upgrading version can be realized, the upgrading operation cost is saved, and the flexibility of the upgrading control of the set-top box system is improved.
Description
Technical Field
The invention relates to the technical field of set top boxes, in particular to a set top box system upgrading method, a set top box system upgrading device, a set top box system and a storage medium.
Background
In the field of Internet Protocol Television (IPTV), an IPTV set-top box is generally required to be upgraded to adapt to continuously changing multimedia content and applications. In the upgrading process, the software image file of the IPTV set-top box is usually updated, and if the version of the upgraded image file is wrong, the network connection of the set-top box or the multimedia function cannot be used. Therefore, before the whole network upgrading version is deployed, the current network upgrading test can be carried out in a small range, and if no problem exists in the test period, the whole network upgrading is carried out again.
The existing scheme for controlling the upgrade of the small-range system is to actively push an upgrade version to upgrade through a network management system, but not every manufacturer deploys the network management system on the service side. Therefore, under the condition that no network management system is deployed, the whole network upgrading is usually started by selecting short deployment, but the set top boxes of various manufacturers are distributed in a large range on the geographical position, so that the position of upgrading the set top boxes cannot be accurately controlled even if the number of the connected servers is limited. If a problem occurs, the influence range is expanded, which is not favorable for the subsequent problem treatment.
Disclosure of Invention
The embodiment of the invention mainly aims to provide a set top box system upgrading method, a set top box system upgrading device, a set top box system and a storage medium, and aims to realize directional pushing or regional control of an upgraded version so as to save upgrading operation cost and improve flexibility of upgrading control of the set top box system.
In order to achieve the above object, an embodiment of the present invention provides a method for upgrading a set top box system, where the method includes the following steps:
acquiring an upgrading rule file corresponding to the set top box from the server, wherein the upgrading rule file comprises version information, an address list and a mirror image file list;
verifying the upgrading rule file;
and under the condition that the updating rule file is successfully verified, acquiring an updating image file corresponding to the updating rule file from the server, and updating the set top box system according to the updating image file.
In order to achieve the above object, an embodiment of the present invention further provides a system upgrading apparatus, including:
the acquisition module is used for acquiring an upgrading rule file corresponding to the device from a server, wherein the upgrading rule file comprises version information, an address list and a mirror image file list;
the verification module is used for verifying the upgrading rule file;
the acquisition module is also used for acquiring an upgrade image file corresponding to the upgrade rule file from the server under the condition that the upgrade rule file is successfully verified;
and the upgrading module is used for upgrading the system of the device according to the upgrading image file.
In order to achieve the above object, an embodiment of the present invention further provides a set top box, where the set top box includes: a memory, a processor, a program stored on the memory and executable on the processor, and a data bus for enabling connection communication between the processor and the memory, the steps of the aforementioned method being implemented when the program is executed by the processor.
In order to achieve the above object, an embodiment of the present invention further provides a system, including: a set-top box and a server;
the set top box is used for sending a first acquisition instruction to the server, wherein the first acquisition instruction is used for indicating to acquire an upgrade rule file corresponding to the set top box;
the server is used for feeding back an upgrade rule file stored by the server to the set top box according to the first acquisition instruction, wherein the upgrade rule file comprises version information, an address list and a mirror image file list;
the set top box is used for verifying the upgrade rule file fed back by the server and sending a second acquisition instruction to the server under the condition that the upgrade rule file is successfully verified, wherein the second acquisition instruction is used for indicating to acquire the upgrade image file corresponding to the upgrade rule file;
the server is used for feeding back the upgrade image file to the set top box according to the received second acquisition instruction;
and the set-top box is used for carrying out system upgrading according to the upgrading image file.
To achieve the above object, the present invention provides a readable and writable storage medium for computer storage, the storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the steps of the aforementioned method.
The embodiment of the application provides a set top box system upgrading method, a set top box system upgrading device, a set top box and a storage medium, wherein the method comprises the steps of obtaining an upgrading rule file corresponding to the set top box from a server, checking the upgrading rule file, obtaining an upgrading mirror image file corresponding to the upgrading rule file from the server under the condition that the upgrading rule file is successfully checked, and upgrading the set top box system according to the upgrading mirror image file. Therefore, the directional pushing or the area control of the upgrading version can be realized, the upgrading operation cost is saved, and the flexibility of the upgrading control of the set-top box system is improved.
Drawings
Fig. 1 is a flowchart of a set-top box system upgrading method according to an embodiment of the present invention.
Fig. 2 is a schematic diagram of an upgrade rule file in an embodiment of the present invention.
Fig. 3 is a flowchart of a set-top box system upgrading method according to an embodiment of the present invention.
Fig. 4 is a schematic diagram of a system architecture for upgrading a set-top box system according to an embodiment of the present invention.
Fig. 5 is a schematic structural diagram of a system upgrade apparatus according to an embodiment of the present invention.
Fig. 6 is a schematic structural diagram of a set top box according to an embodiment of the present invention.
Detailed Description
To make the objects, technical solutions and advantages of the present application more apparent, embodiments of the present application will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict.
In addition, in the embodiments of the present application, the words "optionally" or "exemplarily" are used for indicating as examples, illustrations or explanations. Any embodiment or design described herein as "optionally" or "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the words "optionally" or "exemplarily" etc. is intended to present the relevant concepts in a concrete fashion.
Fig. 1 is a flowchart of a set top box system upgrading method provided in an embodiment of the present application, where the method may be applied to a set top box, as shown in fig. 1, the method includes the following steps:
s101, obtaining an upgrading rule file corresponding to the set top box from the server.
Illustratively, the upgrade rule file in this step may include version information, an address list and an image file list, and the upgrade rule file may be stored in a server for version upgrade of the set-top box system.
The server address is preset in the set-top box system, and the server can be inquired about the upgrade version after the set-top box is powered on and started up or awakened in a standby mode. For example, the set top box communicates with the server through a network application layer such as hypertext Transfer Protocol (HTTP) or Trivial File Transfer Protocol (TFTP) to query the system upgrade version. If the set-top box inquires that the server stores the upgrading image file corresponding to the model of the set-top box and the corresponding upgrading rule file, the set-top box downloads and acquires the upgrading rule file from the server through a communication protocol.
It should be noted that the server may store upgrade image files and upgrade rule files corresponding to multiple models of set top boxes.
And S102, verifying the upgrading rule file.
After the set-top box acquires the upgrade rule file, the integrity of the upgrade rule file can be verified, the upgrade rule file is analyzed after the verification is passed, and version information and an address list in the upgrade rule file are verified.
S103, under the condition that the updating rule file is successfully verified, the updating image file corresponding to the updating rule file is obtained from the server, and the set top box system is updated according to the updating image file.
Because the upgrade rule file stored in the server corresponds to the upgrade image file, the set-top box can acquire the upgrade image file corresponding to the upgrade rule file from the server under the condition that the upgrade rule file is successfully verified.
Illustratively, the set-top box may download an upgrade image file corresponding to the image file list from the server according to the image file list in the upgrade rule file.
Optionally, after the set-top box downloads and acquires the upgrade image file, the integrity of the upgrade image file may also be checked, and after the check is passed, the system upgrade itself is performed according to the image file. For example, according to the design of each set-top box manufacturer, whether the user immediately performs system version upgrade is determined in a mode of popping up a prompt box for inquiry, or the system version upgrade is performed when the set-top box is started or awakened in a standby mode next time.
The embodiment of the application provides a set top box system upgrading method, which comprises the steps of obtaining an upgrading rule file corresponding to a set top box from a server, wherein the upgrading rule file comprises version information, an address list and a mirror image file list, checking the upgrading rule file, obtaining an upgrading mirror image file corresponding to the upgrading rule file from the server under the condition of successful checking, and upgrading a set top box system according to the upgrading mirror image file. By the design mode, when the address list in the upgrading rule file is the address of a partial area, the upgrading version can be directionally pushed or area control can be carried out, and the upgrading of the system version of the whole network set top box can be carried out in a segmented and batched manner; or after the system version is upgraded in the small-range control area, if the new system version passes trial use, the address list can be modified into a full-network address list so as to upgrade the full-network system, thereby effectively saving the upgrade operation cost and improving the flexibility of the upgrade control of the set-top box system.
In one embodiment, the upgrade rule file involved in the above process may be as shown in FIG. 2. For example, the version information may further include a set-top box hardware model number, a hardware version, a software version, and a forced upgrade flag.
Correspondingly, as shown in fig. 3, in the step S102, the method for the set top box to check the version information in the upgrade rule file may include, but is not limited to, the following steps:
s301, judging whether the set top box hardware model and the hardware version are matched with the set top box hardware information.
In this step, after the set-top box analyzes the upgrade rule file, it is necessary to confirm that the set-top box hardware model and the hardware version in the upgrade rule file match with the hardware information of the set-top box itself, and if the set-top box hardware model and the hardware version match with the hardware information of the set-top box, step S302 is executed; if not, the upgrade image file corresponding to the file is not the upgrade image file of the set top box, and in this case, the system upgrade process needs to be exited.
S302, under the condition that the hardware model and the hardware version of the set-top box are matched with the hardware information of the set-top box, whether the forced upgrading mark is non-forced upgrading is judged.
Under the condition that the hardware information of the set-top box is matched with the related hardware information in the updating rule file, the set-top box can further judge whether the forced updating mark is non-forced updating. The forced upgrade flag is used for indicating whether to perform subsequent resolution judgment of the software version and the address list and whether to forcibly rollback to a version available for the previous function. For example, the forced upgrade flag is 0 to indicate that non-forced upgrade is required, that is, whether subsequent upgrade operation is required to be performed is determined according to the analysis and judgment results of the software version and the address list, and the software version does not need to be returned to the previous version; if the forced upgrade flag is 1, the forced upgrade is represented, that is, the version of the current upgrade image file is unavailable and needs to be backed, and then the set-top box does not judge other contents in the upgrade rule file subsequently, but directly modifies the system of the set-top box into the previous version, so that the system version backing can be realized. Of course, those skilled in the art can also express other ways, and the embodiments of the present application are not limited to this.
It should be noted that, in the embodiment of the present application, the purpose of designing the forced upgrade flag is to, if various problems occur after the system is upgraded and the normal use of the function of the set top box cannot be guaranteed, rollback the system to the version available for the previous function by changing the manner of the forced upgrade flag, thereby guaranteeing the normal operation of the set top box.
S303, under the condition that the forced upgrading mark is not forced upgrading, judging whether the software version is an updated version of the set-top box software version.
The set top box judges whether the software version in the rule file is the update version of the self software version of the set top box, and if the software version in the rule file is the update version of the self software version, the version information is verified successfully. And if the software version is not the update version of the software version, exiting the system upgrading process. As described in step S302, in the case where the forced upgrade flag is forced upgrade, the software version determination process in this step need not be performed.
And verifying each piece of information in the version information based on the steps, wherein the set top box hardware model, the hardware version and the forced upgrading mark in the version information all meet corresponding conditions, namely the set top box hardware model and the hardware version are matched with the set top box hardware information, and under the condition that the forced upgrading mark is not forced upgrading, if the software version is judged to be an updated version of the set top box software version, the version information is determined to be successfully verified, and the address list can be further verified.
As shown in fig. 2, the Address list may include at least one of a single Address, a plurality of discontinuous addresses, and an Address range, and the Address may be a Media Access Control (MAC) Address or an Internet Protocol Address (IP) Address.
For example, when performing system upgrade verification in a small range, a certain number of set top boxes (e.g., a certain building in a certain cell) in a certain location area may be selected, and address information of the corresponding set top boxes may be acquired, if the address information of the selected multiple set top boxes is discontinuous, multiple discontinuous addresses may be stored in an upgrade rule file of the server, and if the address information of the selected multiple set top boxes is continuous, address ranges of the multiple addresses may be written in the upgrade rule file in a simplified representation manner.
Correspondingly, in the step S102, the manner in which the set-top box checks the address list in the upgrade rule file may include, but is not limited to, the manner in which the set-top box determines whether a single address is the same as its own address, or the manner in which the set-top box determines whether its own address belongs to multiple discontinuous addresses or address ranges.
Optionally, the address may be a MAC address or an IP address, or may also be a MAC address and a corresponding IP address coexisting, and when two addresses coexist, authenticity of the set-top box address may be more effectively ensured.
And when the set-top box judges that the self address is the same as the single address, or the self address belongs to a plurality of discontinuous addresses, or the self address belongs to the address range, indicating that the address list verification is successful. Otherwise, if the self address of the set-top box is different from the single address and does not belong to a plurality of discontinuous addresses and address ranges, the verification of the address list is not passed, and in this case, the system upgrading process is exited.
It can be understood that when the MAC address and the corresponding IP address coexist, it is determined that the address list check passes only if the MAC address and the IP address both satisfy the above requirements.
Fig. 4 is a schematic diagram of a system architecture for upgrading a set-top box system according to an embodiment of the present application, and as shown in fig. 4, the system may include a set-top box 401 and a server 402;
the set top box can be used for sending a first acquisition instruction to the server, wherein the first acquisition instruction is used for instructing acquisition of an upgrade rule file corresponding to the set top box;
and the server can be used for feeding back the upgrade rule file corresponding to the set top box according to the first acquisition instruction.
As shown in fig. 4, the server may store an upgrade image file and an upgrade rule file corresponding to multiple models of set top boxes, where the upgrade rule file includes version information, an address list, and an image file list, and the address list may include at least one of a single address, multiple discontinuous addresses, and an address range.
For example, a technician may select a set-top box to be upgraded according to actual needs, and write the selected set-top box address into the address list, and if only one upgraded set-top box is selected in a certain area, the address of the set-top box is a single address written into the address list; if a plurality of set top boxes are selected and the addresses of the set top boxes are discontinuous, writing the discontinuous addresses into an address list; or if the addresses of the selected multiple set top boxes are continuous addresses, writing the address range into an address list. By setting the address in the address list, the directional pushing or the area control of the system upgrading of the set-top box to be upgraded can be realized according to the requirement.
The set top box is used for verifying the upgrade rule file fed back by the server and sending a second acquisition instruction to the server under the condition that the upgrade rule file is successfully verified, wherein the second acquisition instruction is used for indicating to acquire the upgrade image file corresponding to the upgrade rule file;
the server is used for feeding back the upgrade image file to the set top box according to the received second acquisition instruction;
and the set-top box is used for upgrading the set-top box system according to the mirror image of the mirror image file.
In an example, the process of verifying the upgrade rule file by the set top box may be that the set top box verifies the integrity of the upgrade rule file, and verifies the version information and the address list when the integrity verification passes.
Illustratively, the version information may include a set top box hardware model, a hardware version, a software version and a forced upgrade flag;
correspondingly, the set top box can check the version information in a mode of judging whether the hardware model and the hardware version of the set top box are matched with the hardware information of the set top box; under the condition of matching, further judging whether the forced upgrade mark is forced upgrade or not; and judging whether the software version is the update version of the software version under the condition that the forced upgrading mark is the non-forced upgrading. And if the set-top box determines that the software version is the update version of the software version of the set-top box under the condition that the hardware model and the hardware version are both matched with the hardware information of the set-top box and the forced upgrade flag is the non-forced upgrade flag, the set-top box determines that the version information is verified successfully.
The forced upgrade flag in the version information may be used to indicate whether to perform subsequent parsing and determination on the software version and the address list, and whether to force rollback to a version available for a previous function. For example, the forced upgrade flag is 0 to indicate that non-forced upgrade is required, that is, whether subsequent upgrade operation is required to be performed is determined according to the analysis and judgment results of the software version and the address list, and the software version does not need to be returned to the previous version; if the forced upgrade flag is 1, the forced upgrade is represented, that is, the version of the current upgrade image file is unavailable and needs to be backed, and then the set-top box does not judge other contents in the upgrade rule file subsequently and directly modifies the system of the set-top box into the previous version, so that the version of the system can be backed.
For example, the set top box may check the address list, and the set top box determines whether a single address in the address list is the same as its own address; or judging whether the self address belongs to a plurality of discontinuous addresses or address ranges in the address list. And under the condition that the set-top box judges that the self address is the same as the single address or the self address belongs to a plurality of discontinuous addresses or address ranges, the set-top box determines that the address class verification is successful. In an example, the set top box may send a second obtaining instruction to the server according to the image file list in the upgrade rule file, so as to obtain the upgrade image file corresponding to the image file list.
Fig. 5 is a schematic structural diagram of a system upgrading apparatus according to an embodiment of the present application, and as shown in fig. 5, the apparatus includes: an acquisition module 501, a verification module 502 and an upgrade module 503;
the device comprises an acquisition module, a storage module and a processing module, wherein the acquisition module is used for acquiring an upgrading rule file corresponding to the device from a server, and the upgrading rule file comprises version information, an address list and a mirror image file list;
the verification module is used for verifying the upgrading rule file;
the acquisition module is also used for acquiring an upgrade image file corresponding to the upgrade rule file from the server under the condition that the upgrade rule file is successfully verified;
and the upgrading module is used for upgrading the system of the device according to the upgrading image file.
In an example, the verification module is configured to verify integrity of the upgrade rule file, and verify the version information and the address list if the integrity of the upgrade rule file passes the verification.
Optionally, the version information may include a set top box hardware model, a hardware version, a software version, and a forced upgrade flag;
correspondingly, the checking module may be configured to determine whether the set-top box hardware model and the hardware version match with the upgrade apparatus information, determine whether the forced upgrade flag is forced upgrade if the set-top box hardware model and the hardware version match with the upgrade apparatus information, and determine whether the software version is an update version of the apparatus software version if the forced upgrade flag is not forced upgrade. And if the verification module judges that the software version is the update version of the software version of the device, namely the verification module determines that the set top box hardware model, the hardware version, the software version and the forced upgrading mark in the version information all meet the respective corresponding conditions, the verification of the version information is determined to be successful.
Optionally, the address list may include at least one of a single address, a plurality of discontinuous addresses, and an address range;
accordingly, the check module may be configured to determine whether a single address is the same as the address of the device, or whether the address of the device belongs to multiple non-contiguous addresses or address ranges. If the check module judges that the address of the device is the same as the single address or the address of the device belongs to a plurality of discontinuous addresses or address ranges, the check module determines that the check of the address list is successful.
In an example, the obtaining module is configured to obtain, from the server, an upgrade image file corresponding to a list of image files in the upgrade rule file.
In addition, under the condition that the forced upgrading mark is forced upgrading, the upgrading module can also be used for skipping the analysis and judgment of the software version and the address list according to the forced upgrading mark, directly modifying the system of the device into the previous version and realizing the system version rollback.
The system upgrading device provided in this embodiment is used to implement the set-top box system upgrading method in the embodiment shown in fig. 1, and the implementation principle and technical effect are similar, which are not described herein again.
Fig. 6 is a schematic structural diagram of a set-top box according to an embodiment, as shown in fig. 6, the set-top box includes a processor 601 and a memory 602; the number of the processors 601 in the set-top box may be one or more, and one processor 601 is taken as an example in fig. 6; the processor 601 and the memory 602 in the set-top box may be connected by a bus or other means, for example, in fig. 6.
The memory 602 is a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the set-top box system upgrading method in the embodiment of fig. 1 in the present application (for example, the obtaining module 501, the verifying module 502, and the upgrading module 503 in the system upgrading apparatus). The processor 601 implements the set-top box system upgrade method described above by running software programs, instructions, and modules stored in the memory 602.
The memory 602 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the set-top box, and the like. Further, the memory 602 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device.
Embodiments of the present application also provide a readable and writable storage medium for computer storage, where the storage medium stores one or more programs, and the one or more programs are executable by one or more processors to perform a set-top box system upgrade method, where the method includes:
acquiring an upgrading rule file corresponding to the set top box from the server, wherein the upgrading rule file comprises version information, an address list and a mirror image file list;
verifying the upgrading rule file;
and under the condition that the updating rule file is successfully verified, acquiring an updating image file corresponding to the updating rule file from the server, and updating the set top box system according to the updating image file.
It will be understood by those of ordinary skill in the art that all or some of the steps of the methods disclosed above, functional modules/units in the devices, may be implemented as software, firmware, hardware, and suitable combinations thereof.
In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media). The term computer storage media includes both volatile and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.
The foregoing description of the exemplary embodiments of the present application with reference to the accompanying drawings is merely illustrative and not intended to limit the scope of the invention. Any modifications, equivalents and improvements which may occur to those skilled in the art without departing from the scope and spirit of the present invention are intended to be within the scope of the claims.
Claims (10)
1. A set top box system upgrading method is characterized by comprising the following steps:
acquiring an upgrading rule file corresponding to the set top box from a server, wherein the upgrading rule file comprises version information, an address list and a mirror image file list;
verifying the upgrading rule file;
and under the condition that the updating rule file is successfully verified, acquiring an updating image file corresponding to the updating rule file from the server, and updating the set top box system according to the updating image file.
2. The set-top box system upgrading method according to claim 1, wherein verifying the upgrading rule file comprises:
verifying the integrity of the upgrading rule file;
and under the condition that the integrity of the upgrading rule file passes the verification, verifying the version information and the address list.
3. The set-top box system upgrade method according to claim 2, wherein the version information includes a set-top box hardware model, a hardware version, a software version, and a forced upgrade flag;
checking the version information, including:
judging whether the set top box hardware model and the hardware version are matched with the hardware information of the set top box;
under the condition that the hardware model and the hardware version of the set top box are matched with the hardware information of the set top box, judging whether the forced upgrade flag is a non-forced upgrade;
under the condition that the forced upgrading mark is not forced upgrading, judging whether the software version is an updated version of the set top box software version or not;
and determining that the version information is verified successfully under the condition that the software version is an updated version of the set top box software version.
4. The set-top box system upgrade method according to claim 2, wherein the address list comprises at least one of a single address, a plurality of non-consecutive addresses, and an address range;
checking the address list, including:
judging whether the single address is the same as the address of the set-top box or not;
or, judging whether the address of the set-top box belongs to the plurality of discontinuous addresses or the address range;
and determining that the address class verification is successful under the condition that the address of the set top box is the same as the single address or the address of the set top box belongs to a plurality of discontinuous addresses or address ranges.
5. The set-top box system upgrading method according to claims 1-4, wherein obtaining the upgrade image file corresponding to the upgrade rule file from the server comprises:
and acquiring an upgrading image file corresponding to the image file list in the upgrading rule file from the server.
6. The set-top box system upgrade method according to claim 5, further comprising:
and under the condition that the forced upgrading mark is forced upgrading, directly modifying the self system into the previous version according to the forced upgrading mark.
7. A system upgrade apparatus, the apparatus comprising:
the device comprises an acquisition module, a storage module and a processing module, wherein the acquisition module is used for acquiring an upgrading rule file corresponding to the device from a server, and the upgrading rule file comprises version information, an address list and a mirror image file list;
the verification module is used for verifying the upgrading rule file;
the obtaining module is further configured to obtain, from the server, an upgrade image file corresponding to the upgrade rule file, when the upgrade rule file is successfully verified;
and the upgrading module is used for upgrading the system of the device according to the upgrading image file.
8. A set top box, comprising:
memory, a processor, a program stored on the memory and executable on the processor and a data bus for enabling a connection communication between the processor and the memory, the program, when executed by the processor, implementing a set-top box system upgrade method according to any one of claims 1-6.
9. A system, comprising: a set-top box and a server;
the set top box is used for sending a first acquisition instruction to the server, wherein the first acquisition instruction is used for indicating to acquire an upgrade rule file corresponding to the set top box;
the server is used for feeding back the self-stored upgrading rule file to the set top box according to the first acquisition instruction, wherein the upgrading rule file comprises version information, an address list and a mirror image file list;
the set top box is used for verifying the upgrade rule file fed back by the server and sending a second acquisition instruction to the server under the condition that the upgrade rule file is successfully verified, wherein the second acquisition instruction is used for indicating to acquire the upgrade image file corresponding to the upgrade rule file;
the server is used for feeding back the upgrade image file to the set top box according to the received second acquisition instruction;
and the set-top box is used for upgrading the set-top box system according to the upgrading image file.
10. A readable and writable storage medium for computer storage, wherein the storage medium stores one or more programs executable by one or more processors to implement a set-top box system upgrade method as claimed in any one of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010538109.6A CN113805933A (en) | 2020-06-12 | 2020-06-12 | Set top box system upgrading method and device, set top box, system and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010538109.6A CN113805933A (en) | 2020-06-12 | 2020-06-12 | Set top box system upgrading method and device, set top box, system and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113805933A true CN113805933A (en) | 2021-12-17 |
Family
ID=78944156
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010538109.6A Pending CN113805933A (en) | 2020-06-12 | 2020-06-12 | Set top box system upgrading method and device, set top box, system and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113805933A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114915554A (en) * | 2022-04-08 | 2022-08-16 | 一汽解放汽车有限公司 | Remote upgrading method and device, computer equipment and storage medium |
CN115022170A (en) * | 2022-05-31 | 2022-09-06 | 青岛海信宽带多媒体技术有限公司 | Intelligent gateway and area upgrading control method thereof |
-
2020
- 2020-06-12 CN CN202010538109.6A patent/CN113805933A/en active Pending
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114915554A (en) * | 2022-04-08 | 2022-08-16 | 一汽解放汽车有限公司 | Remote upgrading method and device, computer equipment and storage medium |
CN114915554B (en) * | 2022-04-08 | 2024-03-19 | 一汽解放汽车有限公司 | Remote upgrading method, device, computer equipment and storage medium |
CN115022170A (en) * | 2022-05-31 | 2022-09-06 | 青岛海信宽带多媒体技术有限公司 | Intelligent gateway and area upgrading control method thereof |
CN115348173A (en) * | 2022-05-31 | 2022-11-15 | 青岛海信宽带多媒体技术有限公司 | Area upgrading control method for household intelligent gateway |
CN115348173B (en) * | 2022-05-31 | 2024-05-28 | 青岛海信宽带多媒体技术有限公司 | Regional upgrade control method of intelligent gateway |
CN115022170B (en) * | 2022-05-31 | 2024-05-28 | 青岛海信宽带多媒体技术有限公司 | Intelligent gateway and area upgrading control method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10114630B2 (en) | Management of software and operating system updates required for the process of creating a virtual machine facsimile of an existing physical or virtual machine | |
EP3333704A1 (en) | Method and apparatus for repairing kernel vulnerability | |
US10002054B2 (en) | Method and system for performing automatic system recovery | |
CN110851157A (en) | Method and equipment for updating vehicle-mounted terminal equipment system | |
US20090271780A1 (en) | Automatic complete firmware upgrade | |
US8032740B2 (en) | Update in-use flash memory without external interfaces | |
CN110244958B (en) | Method and device for updating calibration data of a vehicle | |
CN109062601A (en) | MES system client-side program update method, device, equipment and medium | |
CN110659038B (en) | Vehicle-mounted millimeter wave radar upgrading method and device, computer equipment and storage medium | |
CN113805933A (en) | Set top box system upgrading method and device, set top box, system and storage medium | |
CN110543318A (en) | control device program updating method and device, storage medium and control device | |
US11126422B2 (en) | Program update system, control system, mobile body, program update method, recording medium | |
WO2011088701A1 (en) | Method and device for online upgrading cross-platform version | |
CN113238774A (en) | Vehicle-mounted greeting animation updating method and device, vehicle-mounted terminal and storage medium | |
CN110865819B (en) | OS installation method, server and system | |
CN110764486B (en) | Method and device for operating vehicle-mounted controller, vehicle-mounted controller and storage medium | |
CN111475175A (en) | Method, device and medium for installing and guiding operation system based on ARM server | |
US11853742B2 (en) | Server, software update system, distribution method, and non-transitory storage medium | |
CN109375953B (en) | Operating system starting method and device | |
KR20200027779A (en) | Apparatus for providing update of vehicle and computer-readable storage medium | |
KR101461319B1 (en) | Methods and device for upgrading firmware of set-top box | |
EP2187306A1 (en) | Image processing apparatus and control method thereof | |
CN115309422A (en) | Vehicle-mounted program upgrading method, device, equipment and medium | |
CN113791800A (en) | Automatic parking control module remote upgrading method and system and automobile | |
CN110677466A (en) | Application program downloading method, device, gateway and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |