CN111813431B - Software upgrading method, intelligent television and storage medium - Google Patents

Software upgrading method, intelligent television and storage medium Download PDF

Info

Publication number
CN111813431B
CN111813431B CN202010772741.7A CN202010772741A CN111813431B CN 111813431 B CN111813431 B CN 111813431B CN 202010772741 A CN202010772741 A CN 202010772741A CN 111813431 B CN111813431 B CN 111813431B
Authority
CN
China
Prior art keywords
software
partition
data
configuration file
upgrading
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010772741.7A
Other languages
Chinese (zh)
Other versions
CN111813431A (en
Inventor
李冬冬
李圣祥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Konka Group Co Ltd
Original Assignee
Konka Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Konka Group Co Ltd filed Critical Konka Group Co Ltd
Priority to CN202010772741.7A priority Critical patent/CN111813431B/en
Publication of CN111813431A publication Critical patent/CN111813431A/en
Application granted granted Critical
Publication of CN111813431B publication Critical patent/CN111813431B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Abstract

The invention discloses a software upgrading method, an intelligent television and a storage medium, wherein the method comprises the following steps: writing the model information and the software partition to be upgraded into a configuration file, and completing the deployment of the configuration file and the software upgrading package; reading the model number configured in the configuration file, and retrieving data corresponding to the model number in a data software part in the software upgrading package according to the model number; and reading partition information configured by the software partition in the configuration file, and sequentially carrying out software upgrading according to the read partition information. The invention integrates the multi-machine type data software into one software upgrading package, reduces the cost of software release and maintenance, introduces a mode of guiding the software upgrading by the configuration file, has flexible and simple operation, and can complete the setting of the upgrading machine type only by filling the machine type of the software to be upgraded into the configuration file.

Description

Software upgrading method, intelligent television and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a software upgrading method, an intelligent television, and a storage medium.
Background
With the continuous development of intelligent terminals (such as intelligent televisions), the number of users of the intelligent terminals is greatly increased, and the content and the functions of the intelligent terminals are more and more.
In the prior art, the method for upgrading the software comprises the following steps: acquiring an upgrade software package which is sent by a server and comprises a public data file and model data files corresponding to various models; inquiring the local solidified first model type, and acquiring a model data file corresponding to the first model type in an upgrade software package according to the local solidified first model type; and performing software upgrading according to the public data file and the model data file.
However, at present, the hardware (main board) of each family intelligent equipment product has been highly modularized and generalized, and the same main board can be commonly used for products with multiple models; in the method, the first model for the software upgrading identification is locally cured, the cured main board is difficult to be used for upgrading software of other originally supported models, and if the produced main board needs to be reworked with software of other models, the local curing module needs to be reworked; maintenance at an after-market center would require strict differentiation of each model of motherboard (which would be common across multiple models of products) all would result in increased costs.
Accordingly, the prior art is still in need of improvement and development.
Disclosure of Invention
The invention mainly aims to provide a software upgrading method, an intelligent television and a storage medium, and aims to solve the problem that in the prior art, the cost is increased due to the fact that main boards of all models are required to be strictly distinguished.
In order to achieve the above object, the present invention provides a software upgrade method, including the steps of:
writing the model information and the software partition to be upgraded into a configuration file, and completing the deployment of the configuration file and the software upgrading package;
reading the model number configured in the configuration file, and retrieving data corresponding to the model number in a data software part in the software upgrading package according to the model number;
and reading partition information configured by the software partition in the configuration file, and sequentially carrying out software upgrading according to the read partition information.
Optionally, in the software upgrading method, the reading the model type configured in the configuration file, and retrieving data corresponding to the model type in a data software part in the software upgrading package according to the model type, further includes:
the data of a plurality of different model types are prestored in the data software part in the software upgrading package, and each model type corresponds to the respective data.
Optionally, the software upgrading method includes a system software part supporting normal operation matching of the CPU integrated module system and a multi-machine data software part developed based on the CPU integrated module system.
Optionally, the software upgrading method, wherein the software upgrading method further includes:
dividing the system software part into a plurality of system partitions according to different functions, wherein each system partition is used for being responsible for different functions;
according to different functions, the data software part is divided into a plurality of data partitions, and each data partition is used for storing different files.
Optionally, the software upgrading method, wherein the file includes: configuration related files, database related files, customization related files, and user data related files.
Optionally, in the software upgrading method, the model number of the machine needing to be upgraded and the software partition needing to be upgraded are configured in the configuration file in advance.
Optionally, the software upgrading method, wherein the software partition includes: system partition and data partition
Optionally, the software upgrading method, wherein the software upgrading method further includes:
and setting corresponding software partition completion response updating in the configuration file according to the content of the software modification.
In addition, in order to achieve the above object, the present invention further provides a smart television, where the smart television includes: the system comprises a memory, a processor and a software upgrading program stored on the memory and capable of running on the processor, wherein the software upgrading program realizes the steps of the software upgrading method when being executed by the processor.
In addition, in order to achieve the above object, the present invention also provides a storage medium storing a software upgrade program which, when executed by a processor, implements the steps of the software upgrade method as described above.
The invention writes the model information and the software partition to be upgraded into the configuration file, and completes the deployment of the configuration file and the software upgrade package; reading the model number configured in the configuration file, and retrieving data corresponding to the model number in a data software part in the software upgrading package according to the model number; and reading partition information configured by the software partition in the configuration file, and sequentially carrying out software upgrading according to the read partition information. The invention integrates the multi-machine type data software into one software upgrading package, reduces the cost of software release and maintenance, introduces a mode of guiding the software upgrading by the configuration file, has flexible and simple operation, and can complete the setting of the upgrading machine type only by filling the machine type of the software to be upgraded into the configuration file.
Drawings
FIG. 1 is a flow chart of a preferred embodiment of the software upgrade method of the present invention;
FIG. 2 is a diagram of a software upgrade package in a preferred embodiment of the software upgrade method of the present invention;
FIG. 3 is a schematic diagram of a configuration file in a preferred embodiment of the software upgrade method of the present invention;
fig. 4 is a schematic diagram of an operation environment of a preferred embodiment of the smart tv of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more clear and clear, the present invention will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
As shown in fig. 1, the software upgrading method according to the preferred embodiment of the present invention includes the following steps:
and step S10, writing the model information and the software partition to be upgraded into a configuration file, and completing deployment of the configuration file and the software upgrading package.
Specifically, the software upgrading package comprises a system software part supporting normal operation matching of the CPU integrated module system and a multi-machine type data software part developed based on the CPU integrated module system.
Further, as shown in fig. 2, the software upgrading method further includes: dividing the system software part into a plurality of system partitions according to different functions, wherein each system partition is used for being responsible for different functions; according to different functions, the data software part is divided into a plurality of data partitions, and each data partition is used for storing different files.
For example, the system partition may include: the functions of each partition are different, for example, due to different vendor custom operating systems, different system partition rules, etc./MIsc,/recovery,/boot,/system,/cache,/tvservice, etc.: bootloader Control Block (BCB) is located in the misc partition, and is mainly used for storing Recovery guide information; the recovery partition is used for storing system backup files so as to conveniently and timely recover the operating system when the system crashes; boot partitions are kernels of the operating system and files used in the boot process; the system partition mainly stores system application programs; the cache partition is a cache space, cache data and instructions used by programs and systems are stored in the cache partition, and the CPU calls the data preferentially when calling and executing commands; the tvservice partition provides a service process for implementing the basic functions of the television; the partitioning of multiple partitions is also common practice for all intelligent systems today, since each partition is responsible for a different functional responsibility.
Wherein the file comprises: configuration related files, database related files, customization related files, and user data related files. For example, the data partition may include: each data partition contains data information of a plurality of machine types. For example, a tvconfig partition is used to store configuration related files; the tvdatabase partition is used for storing related files of the database; the tvcustomer partition is used for storing customized related files; the userdata partition is used for storing user data related files; the multiple data partitions are partitioned for ease of system management and maintenance.
Specifically, the model number (ModelName) required to be upgraded and the software partition (UpgradePartification) required to be upgraded are configured in the configuration file (UpgradeConfig. Ini) in advance; as shown in fig. 3, the model number (ModelName) in the configuration file (upscaleconfig. Ini) is kk_tv0001, and the software partition (upscalepartition) is system, tvcustomer, userdata.
Wherein the software partition comprises: a system partition and a data partition; for example, system is a software partition, tvcustomer is a software partition, and userdata is a software partition.
Further, when the configuration file and the software upgrade package are deployed, for example, the configuration file and the software upgrade package may be placed in the U packing directory at the same time, i.e. the deployment is completed.
And step S20, reading the model type configured in the configuration file, and searching data corresponding to the model type in the data software part in the software upgrading packet according to the model type.
Specifically, before the step S20, the method further includes: the data of a plurality of different model types are prestored in the data software part in the software upgrading packet, and each model type corresponds to the respective data, namely the corresponding relation between the different model types and the respective data is prestored in the software upgrading packet. Namely, the data software part stores data of a plurality of different model types and has corresponding relation. For example: the data software portion contains all the model data of iPhone4 through iPhone10, and if the model number configured in the configuration file is iPhone5, the iPhone5 related data will be read and used.
That is, after the model number configured in the configuration file (upsideconfig. Ini) is read (for example, the model name is iPhone 5), the data corresponding to the model number in the data software part in the software upgrading package (that is, the data corresponding to the iPhone 5) is retrieved in the correspondence according to the model number.
And step S30, reading partition information configured by the software partitions in the configuration file, and sequentially upgrading the software according to the read partition information.
Specifically, after the partition information (UpgradePartification) configured in the configuration file (UpgradePartification) is read, software upgrading is finally performed sequentially according to the read partition information (UpgradePartification) setting.
For example, as shown in fig. 3, the model number (ModelName) in the configuration file (upscaleconfig. Ini) is kk_tv0001, and the software partition to be upgraded is system/tvcustomer/userdata. Wherein the system is a system partition, and has no relation with model numbers, and can be directly upgraded. the tvcustomer/userdata is a data partition, and the system can correspondingly read out relevant data of the model from the software upgrade package according to the model number of the KK_TV 0001.
Furthermore, the invention can complete response updating by setting the corresponding partition in the configuration file according to the content of software modification, and the invention does not need to update all the partitions, thereby reducing the time of software updating. For example, the whole software upgrading process upgrades all software partitions (/ mis,/recovery,/boot,/system,/cache,/tvservice,/tvconfig,/tvdatabase,/tvcustomer,/userdata) once, the content of the software change is described in terms of a software developer, for example, the user is a software developer, only one application program is added to the system of the product, namely, the content of the system partition is changed, only the system partition needs to be upgraded, and the system can be configured in the configuration file without all upgrades.
The software upgrading package comprises a system software part supporting normal operation matching of the CPU integrated module system and a series of products developed based on the system, namely a multi-model data software part, and the cost of software release and maintenance is reduced by integrating the multi-model data software into one software upgrading package.
In addition, the method introduces a mode of guiding software upgrade by the configuration file, and has flexible and simple operation: the model type of the software to be upgraded is filled into the configuration file, so that the setting of the upgraded model is completed; meanwhile, according to the content of software change, corresponding partitions are set in the configuration file to finish response update without all updating, so that the time of software updating is reduced. The multi-machine type universal configurable software upgrading mode can be used in both network upgrading and local upgrading.
The invention packs the model data files of various models into one upgrade software package, for example, the televisions of various models can acquire the same upgrade software package, thereby saving the cost of renting the network address of an operator by the upgrade software, and enabling a user to acquire the model data in the upgrade software package according to the model of the user to upgrade, so as to avoid the problem of television abnormality caused by mistakenly upgrading other model software.
Further, as shown in fig. 4, based on the software upgrading method, the invention further provides a smart television correspondingly, wherein the smart television comprises a processor 10, a memory 20 and a display 30. Fig. 4 shows only some of the components of the intelligent television, but it should be understood that not all of the illustrated components are required to be implemented, and more or fewer components may alternatively be implemented.
The memory 20 may be an internal storage unit of the smart tv, such as a hard disk or a memory of the smart tv, in some embodiments. The memory 20 may also be an external storage device of the Smart tv in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash Card (Flash Card) or the like. Further, the memory 20 may also include both an internal storage unit and an external storage device of the smart tv. The memory 20 is used for storing application software and various data installed on the smart tv, for example, program codes for installing the smart tv. The memory 20 may also be used to temporarily store data that has been output or is to be output. In one embodiment, the memory 20 has a software upgrade program 40 stored thereon, and the software upgrade program 40 is executable by the processor 10 to implement the software upgrade method of the present application.
The processor 10 may in some embodiments be a central processing unit (Central Processing Unit, CPU), microprocessor or other data processing chip for executing program code or processing data stored in the memory 20, for example for performing the software upgrade method or the like.
The display 30 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch, or the like in some embodiments. The display 30 is used for displaying information on the smart television and for displaying a visual user interface. The components 10-30 of the smart television communicate with each other via a system bus.
In one embodiment, the following steps are implemented when the processor 10 executes the software upgrade program 40 in the memory 20:
writing the model information and the software partition to be upgraded into a configuration file, and completing the deployment of the configuration file and the software upgrading package;
reading the model number configured in the configuration file, and retrieving data corresponding to the model number in a data software part in the software upgrading package according to the model number;
and reading partition information configured by the software partition in the configuration file, and sequentially carrying out software upgrading according to the read partition information.
The method comprises the steps of reading the model number configured in the configuration file, retrieving data corresponding to the model number in a data software part in the software upgrading package according to the model number, and further comprises the following steps:
the data of a plurality of different model types are prestored in the data software part in the software upgrading package, and each model type corresponds to the respective data.
The software upgrading package comprises a system software part supporting normal operation matching of the CPU integrated module system and a multi-machine type data software part developed based on the CPU integrated module system.
The software upgrading method further comprises the following steps:
dividing the system software part into a plurality of system partitions according to different functions, wherein each system partition is used for being responsible for different functions;
according to different functions, the data software part is divided into a plurality of data partitions, and each data partition is used for storing different files.
The file includes: configuration related files, database related files, customization related files, and user data related files.
And the model number to be upgraded and the software partition to be upgraded are configured in the configuration file in advance.
The software partition includes: system partition and data partition
The software upgrading method further comprises the following steps:
and setting corresponding software partition completion response updating in the configuration file according to the content of the software modification.
The present invention also provides a storage medium storing a software upgrade program which, when executed by a processor, implements the steps of the software upgrade method as described above.
In summary, the present invention provides a software upgrading method, an intelligent television and a storage medium, where the method includes: writing the model information and the software partition to be upgraded into a configuration file, and completing the deployment of the configuration file and the software upgrading package; reading the model number configured in the configuration file, and retrieving data corresponding to the model number in a data software part in the software upgrading package according to the model number; and reading partition information configured by the software partition in the configuration file, and sequentially carrying out software upgrading according to the read partition information. The invention integrates the multi-machine type data software into one software upgrading package, reduces the cost of software release and maintenance, introduces a mode of guiding the software upgrading by the configuration file, has flexible and simple operation, and can complete the setting of the upgrading machine type only by filling the machine type of the software to be upgraded into the configuration file.
Of course, those skilled in the art will appreciate that implementing all or part of the above-described methods may be implemented by a computer program for instructing relevant hardware (such as a processor, a controller, etc.), where the program may be stored in a computer-readable storage medium, and where the program may include the steps of the above-described method embodiments when executed. The storage medium may be a memory, a magnetic disk, an optical disk, or the like.
It is to be understood that the invention is not limited in its application to the examples described above, but is capable of modification and variation in light of the above teachings by those skilled in the art, and that all such modifications and variations are intended to be included within the scope of the appended claims.

Claims (5)

1. A software upgrade method, characterized in that the software upgrade method comprises:
writing the model information to be upgraded and the software partition to be upgraded into a configuration file, and completing the deployment of the configuration file and the software upgrading package;
the model number to be upgraded and the software partition to be upgraded are configured in the configuration file in advance;
the software partition includes: a system partition and a data partition;
setting corresponding software partition completion response updating in the configuration file according to the content of the software updating;
the software upgrading package comprises a system software part supporting normal operation matching of a CPU integrated module system and a multi-machine type data software part developed based on the CPU integrated module system;
the data of a plurality of different model types are prestored in a data software part in the software upgrading packet, and each model type corresponds to the respective data;
reading the model number configured in the configuration file, and retrieving data corresponding to the model number in a data software part in the software upgrading package according to the model number;
reading partition information configured by the software partition in the configuration file, and sequentially carrying out software upgrading according to the read partition information;
the method for reading the partition information of the software partition configuration in the configuration file and sequentially upgrading the software according to the read partition information comprises the following steps:
reading corresponding data from a system software part of a software upgrading package according to the system partition in the configuration file for upgrading; and reading related data in the data partition corresponding to the model type from the data software part of the software upgrading packet according to the model type and the data partition of the configuration file to upgrade.
2. The software upgrading method according to claim 1, further comprising:
dividing the system software part into a plurality of system partitions according to different functions, wherein each system partition is used for being responsible for different functions;
according to different functions, the data software part is divided into a plurality of data partitions, and each data partition is used for storing different files.
3. The software upgrade method according to claim 2, wherein the file comprises: configuration related files, database related files, customization related files, and user data related files.
4. An intelligent television, characterized in that, the intelligent television includes: a memory, a processor and a software upgrade program stored on the memory and executable on the processor, which when executed by the processor implements the steps of the software upgrade method of any of claims 1-3.
5. A storage medium storing a software upgrade program which, when executed by a processor, implements the steps of the software upgrade method of any one of claims 1-3.
CN202010772741.7A 2020-08-04 2020-08-04 Software upgrading method, intelligent television and storage medium Active CN111813431B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010772741.7A CN111813431B (en) 2020-08-04 2020-08-04 Software upgrading method, intelligent television and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010772741.7A CN111813431B (en) 2020-08-04 2020-08-04 Software upgrading method, intelligent television and storage medium

Publications (2)

Publication Number Publication Date
CN111813431A CN111813431A (en) 2020-10-23
CN111813431B true CN111813431B (en) 2024-01-26

Family

ID=72863611

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010772741.7A Active CN111813431B (en) 2020-08-04 2020-08-04 Software upgrading method, intelligent television and storage medium

Country Status (1)

Country Link
CN (1) CN111813431B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101290579A (en) * 2008-06-16 2008-10-22 四川长虹电器股份有限公司 Reconfigurable software unit upgrading method
WO2011095074A1 (en) * 2010-02-03 2011-08-11 华为终端有限公司 Method for upgrading terminal device system and terminal device
CN106775650A (en) * 2016-11-25 2017-05-31 珠海我爱拍科技有限公司 A kind of upgrade method based on customization android system
CN107015817A (en) * 2017-05-25 2017-08-04 孙文现 A kind of method of equipment firmware aerial upgrade
CN107911741A (en) * 2017-12-14 2018-04-13 深圳Tcl新技术有限公司 Free memory method for improving, smart television and computer-readable recording medium
CN109819286A (en) * 2018-12-28 2019-05-28 深圳市金锐显数码科技有限公司 Multi-model software synchronization upgrade method, device and terminal device
CN111290773A (en) * 2020-03-12 2020-06-16 深圳Tcl新技术有限公司 System upgrading method, device and readable storage medium
CN111427598A (en) * 2020-03-16 2020-07-17 深圳震有科技股份有限公司 Control method and system of software upgrading file and intelligent terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101290579A (en) * 2008-06-16 2008-10-22 四川长虹电器股份有限公司 Reconfigurable software unit upgrading method
WO2011095074A1 (en) * 2010-02-03 2011-08-11 华为终端有限公司 Method for upgrading terminal device system and terminal device
CN106775650A (en) * 2016-11-25 2017-05-31 珠海我爱拍科技有限公司 A kind of upgrade method based on customization android system
CN107015817A (en) * 2017-05-25 2017-08-04 孙文现 A kind of method of equipment firmware aerial upgrade
CN107911741A (en) * 2017-12-14 2018-04-13 深圳Tcl新技术有限公司 Free memory method for improving, smart television and computer-readable recording medium
CN109819286A (en) * 2018-12-28 2019-05-28 深圳市金锐显数码科技有限公司 Multi-model software synchronization upgrade method, device and terminal device
CN111290773A (en) * 2020-03-12 2020-06-16 深圳Tcl新技术有限公司 System upgrading method, device and readable storage medium
CN111427598A (en) * 2020-03-16 2020-07-17 深圳震有科技股份有限公司 Control method and system of software upgrading file and intelligent terminal

Also Published As

Publication number Publication date
CN111813431A (en) 2020-10-23

Similar Documents

Publication Publication Date Title
CN100426235C (en) System and method for representing user process to software package in software package management system
US20040034850A1 (en) Servicing a component-based software product throughout the software product lifecycle
US8762977B2 (en) Mobile device software management method and apparatus
CN1319800A (en) Method and device for installing alowed application program
US9766876B2 (en) Methods of updating software components, computer systems and memory apparatus
US7434112B2 (en) System and method for verifying validity of assembled PCI devices of a computer
CN102929665B (en) For the system of drive installation
CN111736910A (en) External equipment control method and device based on self-service equipment and computer equipment
CN113835729B (en) Upgrading method, upgrading device, terminal equipment and computer readable storage medium
US11841731B2 (en) Cloud plugin for legacy on-premise application
CN106155713B (en) Startup information management method and device
CN103064767A (en) Driver backup method, driver backup device, driver restoring method and driver restoring device
CN103365684A (en) Updating method and multi-domain embedded system
CN111813431B (en) Software upgrading method, intelligent television and storage medium
CN102857817B (en) Set-top box production system and method capable of realizing dynamical loading
US20070079279A1 (en) Embedded device with software registry
CN112379867B (en) Embedded operating system, method and storage medium based on modular development
CN111736863A (en) Software upgrading method and device and electronic equipment
CN111949278B (en) Method, system, terminal and storage medium for automatically installing MCS system
CN116028100B (en) Software version upgrading method and electronic equipment
CN113268266B (en) Multi-version coexistence management method, system and medium for applet rendering framework
CN109245920B (en) Automatic switch configuration method and device, switch and storage medium
KR100677932B1 (en) Upgrade system of electronic equipment and control method thereof
CN111124461B (en) Method and device for upgrading OTA (over the air) of singlechip and singlechip
US20230098023A1 (en) Plugin version management for legacy on-premise application

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