CN115002546B - Upgrading method and system for Linux smart television operating system - Google Patents
Upgrading method and system for Linux smart television operating system Download PDFInfo
- Publication number
- CN115002546B CN115002546B CN202210856116.XA CN202210856116A CN115002546B CN 115002546 B CN115002546 B CN 115002546B CN 202210856116 A CN202210856116 A CN 202210856116A CN 115002546 B CN115002546 B CN 115002546B
- Authority
- CN
- China
- Prior art keywords
- module
- functional module
- upgrade
- upgrading
- file
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/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
- H04N21/4431—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB characterized by the use of Application Program Interface [API] libraries
-
- 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
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
Abstract
The invention provides an upgrading method and system of a Linux smart television operating system, wherein the method comprises the following steps: under the condition of successful network connection, if a main system or a functional module to be updated exists, a user is reminded that a new version is updatable and automatically downloads the new version in a network idle state, otherwise, the downloading operation is not performed; selecting an updated main system to carry out one-key full upgrade or selecting an updated functional module to carry out upgrade according to the preference of a user; when any functional module is selected for updating, finding a configuration file to be replaced in the current system as a backup file for backup, analyzing an upgrade file of the corresponding functional module, and executing upgrade operation; after the functional module is upgraded successfully, the upgrading operation can be executed again through the backup file, and the functional module is withdrawn to the previous version. The invention simultaneously provides one-key upgrading and sub-modular upgrading of the main system for selection, provides a restoring upgrading function, and can enable a user to experience flexible upgrading and trial upgrading.
Description
Technical Field
The invention relates to the technical field of intelligent televisions, in particular to a method and a system for upgrading an operating system of a Linux intelligent television.
Background
The method includes the steps that a user needs to actively request to check whether a new software upgrading package exists or not under the condition of network connection, if the new software upgrading package is detected, a downloading request can be initiated, then downloading is waited to be completed, then the upgrading package is installed, and the other method is that local upgrading is carried out through the upgrading package provided by a television service manufacturer, corresponding upgrading packages need to be accessed into corresponding upgrading pages, devices such as a USB (universal serial bus) with the upgrading package need to be accessed to search for the corresponding upgrading package, and then manual upgrading is carried out. The disadvantages of the method are:
the upgrade package is obtained in a single mode, if the upgrade function of the network cannot be used under the condition that the network does not exist, the local upgrade cannot be performed under the condition that the television service manufacturer does not provide the upgrade package.
Generally, the upgrade software of the smart television upgrades the whole television operating system, the corresponding upgrade package may be large, and the downloading time may be too long under the condition of poor network environment. The corresponding upgrade time is longer after the download is completed. Therefore, differential upgrading occurs, upgrading efficiency is improved, but the common differential upgrading function in the current market can only modify and change the current system parameters, such as image parameters, sound parameters, related setting parameters of system initialization, and the function of differential upgrading is realized by using the replacement of configuration files, so that the content of personalized upgrading is limited, the experience brought to users is not obvious, the current upgrading versions are regularly packaged and issued by developers, if a user only wants to improve the small problem of a certain module, or wants to keep the function of a module without upgrading, the method cannot be realized, the overall upgrading activity is poor, and the user has more worry about the problems of inconvenient use and the like caused by system upgrading.
Disclosure of Invention
The technical problem to be solved by the invention is to provide an upgrading method and system for the Linux smart television operating system, so that the modularized upgrading of a main system is realized for a user to select, the version rollback function is realized, and the user can flexibly upgrade and try to upgrade according to the self requirement.
In a first aspect, the present invention provides a method for upgrading a Linux intelligent television operating system, wherein the Linux intelligent television operating system framework has a three-layer structure, and comprises a WebUI layer, an Soc middleware layer and a system bottom layer from top to bottom, and source code binary files of each layer are stored in an independent partition of a system, and the method comprises the following steps:
step 1, under the condition of successful network connection, the smart television actively goes to a background server to inquire whether an updated main system or an updated functional module exists, if so, the smart television reminds a user that a new version is updatable and automatically carries out background downloading under the idle state of the network, otherwise, the smart television does not carry out downloading operation;
step 2, selecting an updated main system to carry out one-key full upgrade or selecting an updated functional module to carry out upgrade according to the preference of the user;
step 3, when any functional module is selected for updating, finding a configuration file of the functional module to be replaced in the current system as a backup file for backup, analyzing an upgrade file of the corresponding functional module, checking an MD5 value in the system file of the corresponding functional module, and executing upgrade operation after the system file is legally downloaded from the server;
and 4, after the function is successfully upgraded, if the using effect of the functional module is not satisfied, re-executing the upgrading operation through the backup file, and withdrawing the functional module to the previous version.
Furthermore, the functional module comprises an image module, a sound module, a Bluetooth module, a network module, a television program module, a program installation module, a system setting module, a factory testing module and an upgrading module.
Further, the step 1 specifically comprises: under the condition of successful network connection, the intelligent television actively inquires whether a new main system or a new function module exists in a background server according to the system version number, MAC and equipment ID of the television, if so, a user is reminded that the new version can be updated, the user selects to manually enter downloadable upgrade package options of a main system upgrade menu to download an upgrade package or automatically performs background downloading in a network idle state which is defaulted by the system, after the downloading is completed, repaired bugs and optimized contents of the installation package are prompted in a downloaded installation package interface, optimized improvement information of the function module is displayed when a focus falls on the function module by setting user options on a use interface of the corresponding function module, and otherwise, downloading operation is not performed.
Further, the step 3 specifically includes:
when any functional module is selected for updating, analyzing an upgrade file corresponding to the functional module to obtain upgrade package information, a binary library file and upgrade software information, wherein the upgrade package information comprises: the system comprises a function module version number, an upgrade package MD5 value and a position needing to be stored with a partition, wherein a binary library file is generated by compiling a source code and comprises a dynamic link library and a static library, the dynamic link library supports replacement, and the upgrade software information comprises: television system version number, MAC, device ID;
checking the MD5 value of the corresponding functional module, and executing upgrading operation after the legal downloading from the server is confirmed:
firstly, reading upgrade software information and the version number of a functional module of upgrade package information and the position of a partition needing to be stored for verification, unlocking the read-only permission of the partition if the upgrade software information and the version number of the functional module of the upgrade package information pass through the read-only permission, firstly backing up a file to be replaced after the upgrade package information passes through the unlock, obtaining a backup file, storing the backup file into a read-write area of a system, replacing a dynamic link library obtained by analysis into the partition, verifying an MD5 value after the replacement is completed, and modifying the partition permission into read-only again after the verification that no errors exist;
and prompting the user that the upgrade is successful, and the restart is required to be executed for effectiveness, so that the upgrade is completed.
Further, the backup file includes backup record information, and the backup record information is: backing up version information, a partition position stored at present and an MD5 value of the functional module;
and the backup file is cleared when the corresponding functional module is upgraded next time so as to ensure that the memory of the backed-up system partition is healthy. Meanwhile, the user can conveniently return the functional module to the previous version if the user does not adapt to the upgrading effect after upgrading.
Further, the one-key full upgrade method includes: the online OTA upgrading method comprises an online OTA upgrading method and a local upgrading method, wherein the local upgrading method is to manually download a corresponding upgradable version from a server of a television service provider according to a corresponding version number and equipment information and then carry out USB upgrading under the condition of no network.
In a second aspect, the present invention provides an upgrade system for a Linux smart tv operating system, where the Linux smart tv operating system framework has a three-layer structure, and includes a WebUI layer, an Soc middleware layer, and a system bottom layer from top to bottom, and source code binary files of each layer are stored in an independent partition of the system, and the system includes:
the downloading module is used for actively sending the background server to inquire whether an updated main system or an updated functional module exists or not under the condition that the connection with the network is successful, reminding a user that a new version is updatable if the main system or the updated functional module exists, automatically performing background downloading in a network idle state, and otherwise, not performing downloading operation;
the user operation module is used for selecting an updated main system to carry out one-key full upgrade or selecting an updated functional module to carry out upgrade according to the preference of a user;
the personalized upgrading module is used for finding a configuration file of a functional module to be replaced in the current system as a backup file for backup when any functional module is selected for updating, analyzing an upgrading file of a corresponding functional module, checking an MD5 value in the system file of the corresponding functional module, and executing upgrading operation after the system file is legally downloaded from the server; and the upgrading restoration module is used for re-executing upgrading operation through the backup file and withdrawing the functional module to the previous version if the use effect of the functional module is not satisfied after the function is successfully upgraded.
Furthermore, the functional module comprises an image module, a sound module, a Bluetooth module, a network module, a television program module, a program installation module, a system setting module, a factory testing module and an upgrading module.
Further, the downloading module specifically includes: the method is used for actively inquiring whether a new main system or a new functional module exists or not by a background server according to the system version number, MAC and equipment ID of the television under the condition of successful network connection by the intelligent television, if so, reminding a user of updating a new version, selecting to manually enter a downloadable upgrade package option of an upgrade menu of the main system to download an upgrade package or automatically carrying out background downloading under a network idle state default to the system, after the downloading is finished, reminding repaired bugs and optimized contents of the installation package in an interface of the downloaded installation package, setting user options on a use interface of the corresponding functional module, displaying optimized and improved information of the functional module when a focus falls on the functional module, and otherwise, not carrying out downloading operation.
Further, the personalized upgrade module specifically includes:
the system is used for analyzing the upgrade file of the corresponding functional module when any functional module is selected for updating to obtain upgrade package information, a binary library file and upgrade software information, wherein the upgrade package information comprises: the system comprises a function module version number, an upgrade package MD5 value and a position needing to be stored in a partition, wherein a binary library file is generated by compiling a source code and comprises a dynamic link library and a static library, the dynamic link library supports replacement, and the upgrade software information comprises: television system version number, MAC, equipment ID;
checking the MD5 value of the corresponding functional module, and executing upgrading operation after the legal downloading from the server is confirmed:
firstly, reading upgrade software information and the version number of a functional module of upgrade package information and the position of a partition needing to be stored for verification, unlocking the read-only permission of the partition if the upgrade software information and the version number of the functional module of the upgrade package information pass through the read-only permission, firstly backing up a file to be replaced after the upgrade package information passes through the unlock, obtaining a backup file, storing the backup file into a read-write area of a system, replacing a dynamic link library obtained by analysis into the partition, verifying an MD5 value after the replacement is completed, and modifying the partition permission into read-only again after the verification that no errors exist;
and prompting the user that the upgrade is successful, and the restart is required to be executed for effectiveness, so that the upgrade is completed.
Further, the backup file includes backup record information, and the backup record information is: backing up version information, a partition position stored at present and an MD5 value of the functional module;
and the backup file is cleared when the corresponding functional module is updated next time so as to ensure the memory health of the backed-up system partition. Meanwhile, the user can conveniently return the functional module to the previous version if the user does not adapt to the upgrading effect after upgrading.
Further, the one-key full upgrade method includes: and the local upgrading mode is that under the condition of no network, the USB upgrading is carried out after the corresponding upgradable version is manually downloaded from the server of the television service provider according to the corresponding version number and the equipment information.
The invention has the following advantages:
1. one-key upgrading operation is provided for a user, and rapid upgrading operation is provided for the user;
2. the user can select to upgrade or not upgrade a specific functional module in the system according to the self requirement, so that differentiated upgrade is realized, more flexible and free upgrade experience is provided, the upgradable range is wide, and the content is deep;
3. the upgrading rollback function is provided, upgrading restoration is carried out when the user experiences an unfamiliar new version, the effect of trial upgrading is achieved, the user can upgrade without worry, and the user experience is improved.
Drawings
The invention will be further described with reference to the following examples with reference to the accompanying drawings.
Fig. 1 is an execution flow chart of an upgrading method of a Linux smart television operating system according to the present invention.
Fig. 2 is a schematic diagram of an operating system framework of an intelligent television according to an embodiment of the present invention.
Fig. 3 is a flowchart of upgrading a function module according to an embodiment of the present invention.
FIG. 4 is a flowchart of an upgrade restore process according to an embodiment of the present invention.
FIG. 5 is a diagram of an upgrading system framework of the Linux smart television operating system according to the present invention.
Detailed Description
As shown in fig. 1 to fig. 4, in the method for upgrading a Linux smart tv operating system provided by the present invention, a Linux smart tv operating system framework has a three-layer structure, and includes a WebUI layer, an Soc middleware layer, and a system bottom layer from top to bottom, and source code binary files of each layer are stored in an independent partition of a system, and the method includes the following steps:
step 1, under the condition of successful network connection, the smart television actively goes to a background server to inquire whether an updated main system or an updated functional module exists, if yes, the smart television reminds a user that a new version is updatable and automatically carries out background downloading under the network idle state, and if not, the smart television does not carry out downloading operation;
step 2, selecting an updated main system to carry out one-key full upgrade or selecting an updated functional module to carry out upgrade according to the preference of the user;
step 3, when any functional module is selected for updating, finding a configuration file of the functional module to be replaced in the current system as a backup file for backup, analyzing an upgrade file of the corresponding functional module, checking an MD5 value in the system file of the corresponding functional module, and executing upgrade operation after the system file is legally downloaded from the server;
and 4, after the function is successfully upgraded, if the using effect of the functional module is not satisfied, re-executing the upgrading operation through the backup file, and withdrawing the functional module to the previous version. Specifically, when the upgrade and the reduction are started, a backup source file is found, the partition read-write permission is released, meanwhile, a currently upgraded file is backed up into the readable-writable partition, the upgraded file is replaced by the found backup source file, the MD5 is verified after the replacement is successful, the read-write permission of the partition is restored after the verification is successful, and at the moment, the upgrade and the reduction are successful.
Preferably, the function module comprises an image module, a sound module, a bluetooth module, a network module, a television program module, a program installation module, a system setting module, a factory testing module and an upgrading module.
Preferably, the step 1 specifically comprises: under the condition of successful network connection, the intelligent television actively inquires whether a new main system or a new function module exists in a background server according to the system version number, MAC and equipment ID of the television, if so, the intelligent television reminds a user that a new version can be updated, the user selects to manually enter a downloadable upgrade package option of a main system upgrade menu to download an upgrade package or automatically carries out background downloading under a network idle state default to the system, after the downloading is finished, the repaired bug and optimized content of the installation package are prompted in a downloaded installation package interface, and the optimized and improved information of the function module is displayed when the focus falls on the function module when the user option is set on a use interface of the corresponding function module, otherwise, the downloading operation is not carried out.
Preferably, the step 3 specifically includes:
when any functional module is selected for updating, analyzing an upgrade file corresponding to the functional module to obtain upgrade package information, a binary library file and upgrade software information, wherein the upgrade package information comprises: the system comprises a function module version number, an upgrade package MD5 value and a position needing to be stored in a partition, wherein a binary library file is generated by compiling a source code and comprises a dynamic link library and a static library, the dynamic link library supports replacement, and the upgrade software information comprises: television system version number, MAC, device ID;
checking the MD5 value of the corresponding functional module, and executing upgrading operation after the legal downloading from the server is confirmed:
firstly, reading upgrade software information and the version number of a functional module of upgrade package information and the position of a partition needing to be stored for verification, unlocking the read-only permission of the partition if the upgrade software information and the version number of the functional module of the upgrade package information pass through the read-only permission, firstly backing up a file to be replaced after the upgrade package information passes through the unlock, obtaining a backup file, storing the backup file into a read-write area of a system, replacing a dynamic link library obtained by analysis into the partition, verifying an MD5 value after the replacement is completed, and modifying the partition permission into read-only again after the verification that no errors exist;
and prompting the user that the upgrade is successful, and the restart is required to be executed for effectiveness, so that the upgrade is completed.
Preferably, the backup file includes backup record information, and the backup record information is: backing up version information, a partition position stored at present and an MD5 value of a functional module;
and the backup file is cleared when the corresponding functional module is upgraded next time so as to ensure that the memory of the backed-up system partition is healthy. Meanwhile, the user can conveniently return the functional module to the previous version if the user does not adapt to the upgrading effect after upgrading.
Preferably, the one-key full upgrade method includes: and the local upgrading mode is that under the condition of no network, the USB upgrading is carried out after the corresponding upgradable version is manually downloaded from the server of the television service provider according to the corresponding version number and the equipment information.
As shown in fig. 2 to fig. 5, in the upgrade system for the Linux intelligent television operating system provided by the present invention, the Linux intelligent television operating system framework has a three-layer structure, which includes a WebUI layer, a Soc middleware layer, and a system bottom layer from top to bottom, and source binary files of each layer are stored in an independent partition of the system, and the system includes:
the downloading module is used for actively sending the background server to inquire whether an updated main system or an updated functional module exists or not under the condition that the connection with the network is successful, reminding a user that a new version is updatable if the main system or the updated functional module exists, automatically performing background downloading in a network idle state, and otherwise, not performing downloading operation;
the user operation module is used for selecting an updated main system to carry out one-key full upgrade or selecting an updated functional module to carry out upgrade according to the preference of a user;
the personalized upgrading module is used for finding a configuration file of a functional module to be replaced in the current system as a backup file for backup when any functional module is selected for updating, analyzing an upgrading file of a corresponding functional module, checking an MD5 value in a system file of the corresponding functional module, and executing upgrading operation after the fact that the system file is legally downloaded from a server is confirmed; and the upgrading restoration module is used for re-executing upgrading operation through the backup file and withdrawing the functional module to the previous version if the use effect of the functional module is not satisfied after the function is successfully upgraded. Specifically, when upgrading and restoring are started, a backup source file is found, partition read-write permission is removed, a currently upgraded file is backed up into a readable and writable partition, the upgraded file is replaced by the found backup source file, the MD5 is verified after the replacement is successful, the read-write permission of the partition is restored after the verification is successful, and at the moment, upgrading and restoring are successful.
Preferably, the function module comprises an image module, a sound module, a bluetooth module, a network module, a television program module, a program installation module, a system setting module, a factory test module and an upgrading module.
Preferably, the downloading module specifically includes: the method is used for actively inquiring whether a new main system or a new functional module exists in a background server according to the system version number, MAC and equipment ID of the television under the condition of successful network connection, if so, reminding a user that the new version can be updated, selecting a downloadable upgrade package option manually entering a main system upgrade menu by the user to download an upgrade package or automatically carrying out background downloading under a network idle state defaulted by the system, after the downloading is finished, prompting repaired bugs and optimized contents of the installation package in a downloaded installation package interface, setting user options on a use interface of a corresponding functional module, displaying optimized improved information of the functional module when a focus falls on the functional module, and otherwise, not carrying out downloading operation.
Preferably, the personalized upgrade module specifically includes:
the method is used for analyzing the upgrade file of the corresponding functional module when any functional module is selected for updating, so as to obtain upgrade package information, a binary library file and upgrade software information, wherein the upgrade package information comprises: the system comprises a function module version number, an upgrade package MD5 value and a position needing to be stored in a partition, wherein a binary library file is generated by compiling a source code and comprises a dynamic link library and a static library, the dynamic link library supports replacement, and the upgrade software information comprises: television system version number, MAC, device ID;
checking the MD5 value of the corresponding functional module, and executing upgrading operation after the legal downloading from the server is confirmed:
firstly, reading upgrade software information and the version number of a functional module of upgrade package information and the position of a partition needing to be stored for verification, unlocking the read-only permission of the partition if the upgrade software information and the version number of the functional module of the upgrade package information pass through the read-only permission, firstly backing up a file to be replaced after the upgrade package information passes through the unlock, obtaining a backup file, storing the backup file into a read-write area of a system, replacing a dynamic link library obtained by analysis into the partition, verifying an MD5 value after the replacement is completed, and modifying the partition permission into read-only again after the verification that no errors exist;
and prompting the user that the upgrade is successful, and the restart is required to be executed for effectiveness, so that the upgrade is completed.
Preferably, the backup file includes backup record information, and the backup record information is: backing up version information, a partition position stored at present and an MD5 value of a functional module;
and the backup file is cleared when the corresponding functional module is upgraded next time so as to ensure that the memory of the backed-up system partition is healthy. Meanwhile, the user can conveniently select to return the functional module to the previous version after upgrading if the user does not adapt to the upgrading effect.
Preferably, the one-key full upgrade method includes: and the local upgrading mode is that under the condition of no network, the USB upgrading is carried out after the corresponding upgradable version is manually downloaded from the server of the television service provider according to the corresponding version number and the equipment information.
The user can select to upgrade or not upgrade a specific function module or select one key to upgrade the whole system software according to own use habits and preferences. The functional module upgrading of the scheme is different from the traditional differential upgrading, the upgrading range is wide, the content is deep, the reducible function can enable a user to experience the change feeling brought by the upgrading, the upgrading package can be actively downloaded in the idle state of the system when new software is upgraded, the upgrading package is stored to the local, and the user can select to upgrade at any time. The user can also select to upgrade under the condition of no network according to the own condition.
While specific embodiments of the invention have been described, it will be understood by those skilled in the art that the specific embodiments described are illustrative only and are not limiting upon the scope of the invention, as equivalent modifications and variations as will be made by those skilled in the art in light of the spirit of the invention are intended to be included within the scope of the appended claims.
Claims (8)
1. An upgrading method of a Linux smart television operating system is characterized in that: the Linux intelligent television operating system framework is of a three-layer structure and comprises a WebUI layer, a Soc middleware layer and a system bottom layer from top to bottom, source code binary files of all the layers are stored in independent partitions of the system, and the method comprises the following steps:
step 1, under the condition of successful network connection, the smart television actively goes to a background server to inquire whether an updated main system or an updated functional module exists, if so, the smart television reminds a user that a new version is updatable and automatically carries out background downloading under the idle state of the network, otherwise, the smart television does not carry out downloading operation;
step 2, selecting an updated main system to carry out one-key full upgrade or selecting an updated functional module to carry out upgrade according to the preference of the user;
step 3, when any functional module is selected for updating, finding a configuration file of the functional module to be replaced in the current system as a backup file for backup, analyzing an upgrade file of the corresponding functional module, checking an MD5 value in the system file of the corresponding functional module, and executing upgrade operation after the system file is legally downloaded from the server; the step 3 specifically comprises:
when any functional module is selected for updating, analyzing an upgrade file corresponding to the functional module to obtain upgrade package information, a binary library file and upgrade software information, wherein the upgrade package information comprises: the system comprises a function module version number, an upgrade package MD5 value and a position needing to be stored in a partition, wherein a binary library file is generated by compiling a source code and comprises a dynamic link library and a static library, the dynamic link library supports replacement, and the upgrade software information comprises: television system version number, MAC, device ID;
checking the MD5 value of the corresponding functional module, and executing upgrading operation after the legal downloading from the server is confirmed:
reading the version number of a functional module of upgrading software information and upgrading package information and the position of a partition needing to be stored for verification, unlocking the read-only permission of the partition if the version number passes, backing up a file to be replaced after unlocking to obtain a backup file, storing the backup file into a readable and writable area of a system, replacing a dynamic link library obtained by analysis into the partition, verifying an MD5 value after the replacement is finished, and modifying the partition permission into read-only again after the correctness is confirmed;
prompting the user that the upgrade is successful, and completing the upgrade if the restart is required to be executed and take effect;
and 4, after the function is successfully upgraded, if the using effect of the functional module is not satisfied, re-executing the upgrading operation through the backup file, and withdrawing the functional module to the previous version.
2. The method of claim 1, wherein: the function module comprises an image module, a sound module, a Bluetooth module, a network module, a television program module, a program installation module, a system setting module, a factory testing module and an upgrading module.
3. The method of claim 1, wherein: the step 1 specifically comprises the following steps: under the condition of successful network connection, the intelligent television actively inquires whether a new main system or a new function module exists in a background server according to the system version number, MAC and equipment ID of the television, if so, the intelligent television reminds a user that a new version can be updated, the user selects to manually enter a downloadable upgrade package option of a main system upgrade menu to download an upgrade package or automatically carries out background downloading under a network idle state default to the system, after the downloading is finished, the repaired bug and optimized content of the installation package are prompted in a downloaded installation package interface, and the optimized and improved information of the function module is displayed when the focus falls on the function module when the user option is set on a use interface of the corresponding function module, otherwise, the downloading operation is not carried out.
4. The method of claim 1, wherein: the backup file comprises backup record information, and the backup record information is as follows: backing up version information, a partition position stored at present and an MD5 value of the functional module;
and the backup file is cleared when the corresponding functional module is upgraded next time.
5. An upgrading system of a Linux smart television operating system is characterized in that: the Linux intelligent television operating system framework is of a three-layer structure and comprises a WebUI layer, an Soc middleware layer and a system bottom layer from top to bottom, source code binary files of all layers are stored in independent partitions of the system, and the system comprises:
the downloading module is used for actively sending the background server to inquire whether an updated main system or an updated functional module exists or not under the condition that the connection with the network is successful, reminding a user that a new version is updatable if the main system or the updated functional module exists, automatically performing background downloading in a network idle state, and otherwise, not performing downloading operation;
the user operation module is used for selecting an updated main system to carry out one-key full upgrade or selecting an updated functional module to carry out upgrade according to the preference of a user;
the personalized upgrading module is used for finding a configuration file of a functional module to be replaced in the current system as a backup file for backup when any functional module is selected for updating, analyzing an upgrading file of a corresponding functional module, checking an MD5 value in the system file of the corresponding functional module, and executing upgrading operation after the system file is legally downloaded from the server; the personalized upgrading module specifically comprises:
the system is used for analyzing the upgrade file of the corresponding functional module when any functional module is selected for updating to obtain upgrade package information, a binary library file and upgrade software information, wherein the upgrade package information comprises: the system comprises a function module version number, an upgrade package MD5 value and a position needing to be stored in a partition, wherein a binary library file is generated by compiling a source code and comprises a dynamic link library and a static library, the dynamic link library supports replacement, and the upgrade software information comprises: television system version number, MAC, equipment ID;
checking the MD5 value of the corresponding functional module, and executing upgrading operation after the legal downloading from the server is confirmed:
firstly, reading upgrade software information and the version number of a functional module of upgrade package information and the position of a partition needing to be stored for verification, unlocking the read-only permission of the partition if the upgrade software information and the version number of the functional module of the upgrade package information pass through the read-only permission, firstly backing up a file to be replaced after the upgrade package information passes through the unlock, obtaining a backup file, storing the backup file into a read-write area of a system, replacing a dynamic link library obtained by analysis into the partition, verifying an MD5 value after the replacement is completed, and modifying the partition permission into read-only again after the verification that no errors exist;
prompting the user that the upgrade is successful, and requiring the execution of restart to take effect to complete the upgrade;
and the upgrading restoration module is used for re-executing upgrading operation through the backup file and withdrawing the functional module to the previous version if the use effect of the functional module is not satisfied after the function is successfully upgraded.
6. The system of claim 5, wherein: the function module comprises an image module, a sound module, a Bluetooth module, a network module, a television program module, a program installation module, a system setting module, a factory testing module and an upgrading module.
7. The system of claim 5, wherein: the download module specifically comprises: the method is used for actively inquiring whether a new main system or a new functional module exists or not by a background server according to the system version number, MAC and equipment ID of the television under the condition of successful network connection by the intelligent television, if so, reminding a user of updating a new version, selecting to manually enter a downloadable upgrade package option of an upgrade menu of the main system to download an upgrade package or automatically carrying out background downloading under a network idle state default to the system, after the downloading is finished, reminding repaired bugs and optimized contents of the installation package in an interface of the downloaded installation package, setting user options on a use interface of the corresponding functional module, displaying optimized and improved information of the functional module when a focus falls on the functional module, and otherwise, not carrying out downloading operation.
8. The system of claim 5, wherein: the backup file comprises backup record information, and the backup record information is as follows: backing up version information, a partition position stored at present and an MD5 value of the functional module;
and the backup file is cleared when the corresponding functional module is upgraded next time.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210856116.XA CN115002546B (en) | 2022-07-21 | 2022-07-21 | Upgrading method and system for Linux smart television operating system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210856116.XA CN115002546B (en) | 2022-07-21 | 2022-07-21 | Upgrading method and system for Linux smart television operating system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115002546A CN115002546A (en) | 2022-09-02 |
CN115002546B true CN115002546B (en) | 2022-11-18 |
Family
ID=83020875
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210856116.XA Active CN115002546B (en) | 2022-07-21 | 2022-07-21 | Upgrading method and system for Linux smart television operating system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115002546B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101038549A (en) * | 2007-03-28 | 2007-09-19 | 北京启明星辰信息技术有限公司 | A software updating method capable of crossing system |
CN102375744A (en) * | 2010-08-11 | 2012-03-14 | 深圳Tcl新技术有限公司 | Network television upgrade method |
CN103559059A (en) * | 2013-11-05 | 2014-02-05 | 广东新支点技术服务有限公司 | Quick medium-free upgrading method for Linux system |
CN107333181A (en) * | 2017-08-11 | 2017-11-07 | 四川长虹电器股份有限公司 | Linux system intelligent television software upgrade method |
CN109347931A (en) * | 2018-09-28 | 2019-02-15 | 四川长虹电器股份有限公司 | A kind of OTA upgrading method for down loading based on layering interaction design |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104427388A (en) * | 2013-09-10 | 2015-03-18 | 国家广播电影电视总局广播科学研究院 | Operating system of intelligent television |
-
2022
- 2022-07-21 CN CN202210856116.XA patent/CN115002546B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101038549A (en) * | 2007-03-28 | 2007-09-19 | 北京启明星辰信息技术有限公司 | A software updating method capable of crossing system |
CN102375744A (en) * | 2010-08-11 | 2012-03-14 | 深圳Tcl新技术有限公司 | Network television upgrade method |
CN103559059A (en) * | 2013-11-05 | 2014-02-05 | 广东新支点技术服务有限公司 | Quick medium-free upgrading method for Linux system |
CN107333181A (en) * | 2017-08-11 | 2017-11-07 | 四川长虹电器股份有限公司 | Linux system intelligent television software upgrade method |
CN109347931A (en) * | 2018-09-28 | 2019-02-15 | 四川长虹电器股份有限公司 | A kind of OTA upgrading method for down loading based on layering interaction design |
Also Published As
Publication number | Publication date |
---|---|
CN115002546A (en) | 2022-09-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1073955B1 (en) | Method, system, apparatus and program product for distribution and instantiation of software upgrades | |
US7080371B1 (en) | Method, system, apparatus and program product for distribution and instantiation of software upgrades | |
US8365164B1 (en) | Portable software applications | |
US9213534B2 (en) | Method for restoring software applications on desktop computers | |
US6928579B2 (en) | Crash recovery system | |
US6353928B1 (en) | First run installer | |
US7237238B2 (en) | Method and apparatus for automated operating systems upgrade | |
US7047403B2 (en) | Method and system for operating system recovery and method of using build-to-configuration mode to model computer system | |
US20050223374A1 (en) | Server side configuration management | |
JP4482029B2 (en) | Radio base station and radio base station operation method | |
CN104007992A (en) | Methods and devices for program updating and starting | |
CN113821235B (en) | Operating system data updating method, device, storage medium and program product | |
WO2009109925A2 (en) | Method and apparatus for user customizable software deployment | |
CN114116023B (en) | Operating system starting method, device, storage medium and computer program product | |
CN111562934A (en) | Software system upgrading method based on hot patch, terminal and storage medium | |
CN111694585A (en) | Method, system, terminal and storage medium for replacing system partition file | |
CN115002546B (en) | Upgrading method and system for Linux smart television operating system | |
CN111782236A (en) | System software upgrading method and device, storage medium and all-in-one machine equipment | |
CN113849200B (en) | Installation optimization method and system for android application in android compatible environment | |
CN114296764A (en) | System upgrading method and device, storage medium and electronic equipment | |
CN113656063A (en) | System version replacing method, device, equipment and computer readable medium | |
CN112925549A (en) | System application upgrading system based on android frame | |
JP2001051857A (en) | Method for software execution on network terminal | |
CN112905217B (en) | Program updating method, terminal, system and storage medium of embedded program | |
KR101637608B1 (en) | Update method for multimedia system in a vehicle and system thereof |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |