CN108874414A - Method for upgrading software, device, readable storage medium storing program for executing and television equipment - Google Patents

Method for upgrading software, device, readable storage medium storing program for executing and television equipment Download PDF

Info

Publication number
CN108874414A
CN108874414A CN201810284968.XA CN201810284968A CN108874414A CN 108874414 A CN108874414 A CN 108874414A CN 201810284968 A CN201810284968 A CN 201810284968A CN 108874414 A CN108874414 A CN 108874414A
Authority
CN
China
Prior art keywords
software
mainboard
television set
tag
upgrade package
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.)
Withdrawn
Application number
CN201810284968.XA
Other languages
Chinese (zh)
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.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology 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 Guangzhou Shiyuan Electronics Thecnology Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201810284968.XA priority Critical patent/CN108874414A/en
Publication of CN108874414A publication Critical patent/CN108874414A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Abstract

The invention discloses a kind of method for upgrading software, device, readable storage medium storing program for executing and television equipment, the method includes:When television set powers on and detects USB flash disk insertion, whether the title for judging the upgrade package in the USB flash disk is consistent with the title of the mainboard software of the television set;If the two title is consistent, judge whether the Tag ID in the upgrade package and the Tag ID in the mainboard software are consistent, the Tag ID is used to distinguish the software version of different hardware configurations;If the Tag ID in the upgrade package is consistent with the Tag ID in the mainboard software, whether the check code for judging the upgrade package is consistent with the check code of the mainboard software of the television set;If the check code of the upgrade package and the check code of the mainboard software of the television set are inconsistent, the upgrade package is called to upgrade the mainboard software of the television set.The present invention is able to solve the problem of leading to upgrading failure because of hardware configuration difference in the prior art.

Description

Method for upgrading software, device, readable storage medium storing program for executing and television equipment
Technical field
The present invention relates to technical field of television sets, more particularly to a kind of method for upgrading software, device, readable storage medium storing program for executing And television equipment.
Background technique
With the development of technology and the improvement of people ' s living standards, intelligent terminal, such as smart phone, tablet computer, intelligence Energy television set etc., is used widely, has become people and live, learn, entertaining indispensable product.Wherein, intelligence electricity It is even more because of its intelligence, gradually instead of conventional television depending on machine.
Intelligent TV set often needs to upgrade its mainboard software, so that user obtains function that is more, updating, mentions Rise the usage experience of television system.Other than radio upgrade, it is a kind of normal for carrying out upgrading using mainboard software of the USB flash disk to television set The upgrading mode seen.
In the prior art, software upgrade package is stored in USB flash disk in advance, then on a television set after electricity, electric-examination has measured USB flash disk Insertion, if the title of the software upgrade package in USB flash disk is consistent with the title of mainboard software, will call the software upgrade package in USB flash disk Upgraded accordingly.The problem is that existing upgrade mechanism is all by name to determine whether entering upgrading, though So many television sets are the same chip solutions at present, but hardware configuration has a difference, for example, DDR size and EMMC it is big Small may be different, can not be just normally opened if the software of two different hardware configurations, which mutually rises, will lead to system upgrade failure Machine.
Summary of the invention
For this purpose, one embodiment of the present of invention proposes a kind of method for upgrading software, solve in the prior art because of hardware configuration Difference leads to the problem of upgrading failure.
Method for upgrading software according to an embodiment of the invention is applied in television set, the method includes:
When the television set power on and detect USB flash disk insertion when, judge the upgrade package in the USB flash disk title and the electricity It is whether consistent depending on the title of the mainboard software of machine;
If the two title is consistent, judge whether are Tag ID in the upgrade package and the Tag ID in the mainboard software Unanimously, the Tag ID is used to distinguish the software version of different hardware configurations;
If the Tag ID in the upgrade package is consistent with the Tag ID in the mainboard software, the upgrade package is judged Whether check code is consistent with the check code of the mainboard software of the television set;
If the check code of the upgrade package and the check code of the mainboard software of the television set are inconsistent, the liter is called Grade packet upgrades the mainboard software of the television set.
Method for upgrading software according to an embodiment of the present invention, by increasing the detection of Tag ID, which is used for The software version for distinguishing different hardware configurations, when it is implemented, Tag ID is just already fixed to when can be software translating In upgrade package, and it cannot avoid artificially being modified by manual modification.The liter in USB flash disk can be detected when being upgraded with USB flash disk Whether the Tag ID in grade packet is consistent with the Tag ID on mainboard, if consistent just enter upgrading, if inconsistent do not enter upgrading, To achieve the effect that different hardware configurations software cannot upgrade mutually, efficiently solve because hardware configuration difference causes upgrading to be lost The problem of losing.And the present invention does not increase hardware cost, cost of implementation is lower.
In addition, method for upgrading software according to the above embodiment of the present invention, can also have following additional technical characteristic:
Further, in one embodiment of the invention, the title of the upgrade package in the judgement USB flash disk with it is described After the whether consistent step of the title of the mainboard software of television set, the method also includes:
If the title of the upgrade package in the USB flash disk and the title of the mainboard software of the television set are inconsistent, enter institute State the corresponding system of mainboard software of television set.
Further, in one embodiment of the invention, the Tag ID in the judgement upgrade package and the master After the whether consistent step of Tag ID in plate software, the method also includes:
If the Tag ID in the upgrade package and the Tag ID in the mainboard software are inconsistent, enter the television set The corresponding system of mainboard software.
Further, in one embodiment of the invention, the check code and the TV of the judgement upgrade package After the whether consistent step of the check code of the mainboard software of machine, the method also includes:
If the check code of the upgrade package is consistent with the check code of the mainboard software of the television set, enter the TV The corresponding system of the mainboard software of machine.
Further, in one embodiment of the invention, the hardware configuration includes DDR configuration information and/or EMMC Configuration information.
Further, in one embodiment of the invention, the method also includes:
When in the memory that the mainboard software is burnt to the mainboard of the television set for the first time, in the mainboard software Configuration one and Tag ID corresponding to DDR configuration information in the mainboard and/or EMMC configuration information.
Further, in one embodiment of the invention, described to call the upgrade package to the mainboard of the television set After the step of software is upgraded, the method also includes:
The television set is restarted, to enter the corresponding system of mainboard software after upgrading.
Another embodiment of the invention proposes a kind of software updating apparatus, solves in the prior art because of hardware configuration difference The problem of leading to upgrading failure.
Software updating apparatus according to an embodiment of the invention is applied in television set, and described device includes:
First judgment module, for judging the liter in the USB flash disk when the television set powers on and detects USB flash disk insertion Whether the title of grade packet is consistent with the title of the mainboard software of the television set;
Second judgment module, for when the two title is consistent, judging Tag ID and the mainboard in the upgrade package Whether the Tag ID in software is consistent, and the Tag ID is used to distinguish the software version of different hardware configurations;
Third judgment module, it is consistent with the Tag ID in the mainboard software for working as the Tag ID in the upgrade package When, whether the check code for judging the upgrade package is consistent with the check code of the mainboard software of the television set;
Upgraded module is called, the check code of the mainboard software for the check code and television set when the upgrade package is not When consistent, the upgrade package is called to upgrade the mainboard software of the television set.
In addition, software updating apparatus according to the above embodiment of the present invention, can also have following additional technical characteristic:
Further, in one embodiment of the invention, described device further includes:
First entering module, the name of the mainboard software for the title and television set when the upgrade package in the USB flash disk When claiming inconsistent, into the corresponding system of mainboard software of the television set.
Further, in one embodiment of the invention, described device further includes:
Second enters module, inconsistent for working as the Tag ID in the upgrade package and the Tag ID in the mainboard software When, into the corresponding system of mainboard software of the television set.
Further, in one embodiment of the invention, described device further includes:
Third enters module, the check code one of the mainboard software for the check code and television set when the upgrade package When cause, into the corresponding system of mainboard software of the television set.
Further, in one embodiment of the invention, the hardware configuration includes DDR configuration information and/or EMMC Configuration information.
Further, in one embodiment of the invention, described device further includes:
Configuration module, when in the memory of the mainboard for being burnt to the television set for the first time when the mainboard software, Configuration one and Tag ID corresponding to DDR configuration information in the mainboard and/or EMMC configuration information in the mainboard software.
Further, in one embodiment of the invention, described device further includes:
Restart module, for the calling upgraded module call the upgrade package to the mainboard software of the television set into After row upgrading, the television set is restarted, to enter the corresponding system of mainboard software after upgrading.
Another embodiment of the invention also propose it is a kind of it is readable can storage medium, be stored thereon with computer program, should The step of above method is realized when program is executed by processor.
Another embodiment of the invention also proposes a kind of television equipment, including memory, processor and is stored in On reservoir and the computer program that can run on a processor, the processor realize the step of the above method when executing described program Suddenly.
Additional aspect and advantage of the invention will be set forth in part in the description, and will partially become from the following description Obviously, or embodiment through the invention is recognized.
Detailed description of the invention
The above-mentioned and/or additional aspect and advantage of the embodiment of the present invention are from the description of the embodiment in conjunction with the following figures It will be apparent and be readily appreciated that, wherein:
Fig. 1 is the flow chart of method for upgrading software according to a first embodiment of the present invention;
Fig. 2 is the flow chart of method for upgrading software according to a second embodiment of the present invention;
Fig. 3 is the structural schematic diagram of software updating apparatus according to a third embodiment of the present invention;
Fig. 4 is the structural schematic diagram of software updating apparatus according to a fourth embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Referring to Fig. 1, the method for upgrading software that first embodiment of the invention proposes, including:
S101, when the television set powers on and detects USB flash disk insertion, judge the title of the upgrade package in the USB flash disk with Whether the title of the mainboard software of the television set is consistent;
Wherein, the application environment of method provided in this embodiment is using in a television set, and television set can be with IOS Or the smart machine of Android operation system, it should be pointed out that method provided in this embodiment is equally applicable in intelligence In the energy intelligent terminals such as mobile phone or tablet computer, herein with no restrictions.
When user needs to upgrade the mainboard software of television set, need to import software upgrade package into USB flash disk in advance, After television set powers on, USB flash disk insertion has been first detected whether, if being inserted into without USB flash disk, illustrated without carrying out software upgrading, then directly Tap into the operating system into television set.If having detected USB flash disk insertion after powering on, first determine whether there is software in USB flash disk Upgrade package.If the title for judging the upgrade package in USB flash disk and the mainboard of the television set are soft with the upgrade package of software in USB flash disk Whether the title of part is consistent.
S102 judges the Tag ID in the upgrade package and the label in the mainboard software if the two title is consistent Whether ID is consistent, and the Tag ID is used to distinguish the software version of different hardware configurations;
Wherein, it if the title of the upgrade package in USB flash disk is consistent with the title of the mainboard software of the television set, carries out next The judgement of step judges whether the Tag ID in the Tag ID and mainboard software in upgrade package is consistent.
It should be pointed out that the software upgrade package imported to USB flash disk should have a Tag ID, and mainboard is soft in the present embodiment As soon as should equally have Tag ID in part, the Tag ID in the software upgrading of USB flash disk is already fixed to when being software translating In upgrade package, and cannot be by manual modification, in this way it is avoided that by artificially modifying.Tag ID in mainboard software is software When being burnt to for the first time in the memory of mainboard of television set for the first time, one is configured in mainboard software and is configured with DDR in mainboard Tag ID corresponding to information and/or EMMC configuration information, the Tag ID label in such mainboard software are just fixed. Tag ID is the software version for distinguishing different hardware configurations.Specifically, hardware configuration may include DDR configuration information And/or EMMC configuration information.That is, Tag ID is that have different DDR configuration informations and/or EMMC configuration information for distinguishing Software version.The DDR configuration information and/or EMMC configuration information of software are different, then corresponding Tag ID is also different.Tag ID Particular content can realize that Tag ID is, for example, uprade id in the form of character string, have a series of characters in uprade id String.The DDR configuration information and/or EMMC configuration information of software are different, and the character string in Tag ID is also different.
S103 judges the liter if the Tag ID in the upgrade package is consistent with the Tag ID in the mainboard software Whether the check code of grade packet is consistent with the check code of the mainboard software of the television set;
Wherein, if the Tag ID in upgrade package is consistent with the Tag ID in mainboard software, upgrade package and mainboard software have Have identical hardware configuration, then further judge the check code of upgrade package and the mainboard software of television set check code whether one It causes, check code can be realized in the form of MD5 check code.
S104 is called if the check code of the upgrade package and the check code of the mainboard software of the television set are inconsistent The upgrade package upgrades the mainboard software of the television set.
Wherein, if the check code of upgrade package is consistent with the check code of the mainboard software of television set, show that this is same version Software is not necessarily to repeatedly upgrading.Therefore, the check code of only the two is inconsistent, just upgrade package can be called to the mainboard software of television set Upgraded.Specifically, the television set is restarted after the completion of upgrading, to enter the corresponding system of mainboard software after upgrading.
According to the method for upgrading software of the present embodiment, by increasing the detection of Tag ID, the Tag ID is for distinguishing The software version of different hardware configurations, when it is implemented, being just already fixed to upgrading when Tag ID can be software translating Bao Zhong, and cannot avoid artificially being modified by manual modification.The upgrade package in USB flash disk can be detected when being upgraded with USB flash disk In Tag ID it is whether consistent with the Tag ID on mainboard, if consistent just enter upgrading, if inconsistent do not enter upgrading, thus Achieve the effect that different hardware configurations software cannot upgrade mutually, efficiently solves because hardware configuration difference causes upgrading to fail Problem.And the present invention does not increase hardware cost, cost of implementation is lower.
Referring to Fig. 2, the method for upgrading software that second embodiment of the invention proposes, including:
S201, when the television set powers on and detects USB flash disk insertion, judge the title of the upgrade package in the USB flash disk with Whether the title of the mainboard software of the television set is consistent, if unanimously, entering step S202, if inconsistent, enters step S205;
Wherein, method provided in this embodiment is equally applied in television set, television set can be with IOS or The smart machine of Android operation system, it should be pointed out that method provided in this embodiment is equally applicable in intelligent hand In the intelligent terminals such as machine or tablet computer, herein with no restrictions.
When user needs to upgrade the mainboard software of television set, need to import software upgrade package into USB flash disk in advance, After television set powers on, USB flash disk insertion has been first detected whether, if being inserted into without USB flash disk, illustrated without carrying out software upgrading, then directly Tap into the operating system into television set.If having detected USB flash disk insertion after powering on, first determine whether there is software in USB flash disk Upgrade package.If the title for judging the upgrade package in USB flash disk and the mainboard of the television set are soft with the upgrade package of software in USB flash disk Whether the title of part is consistent.
S202 judges the Tag ID in the upgrade package and the label in the mainboard software if the two title is consistent Whether ID is consistent, and the Tag ID is used to distinguish the software version of different hardware configurations, if unanimously, entering step S203, if It is inconsistent, then enter step S206;
Wherein, it if the title of the upgrade package in USB flash disk is consistent with the title of the mainboard software of the television set, carries out next The judgement of step judges whether the Tag ID in the Tag ID and mainboard software in upgrade package is consistent.
It should be pointed out that the software upgrade package imported to USB flash disk should have a Tag ID, and mainboard is soft in the present embodiment As soon as should equally have Tag ID in part, the Tag ID in the software upgrading of USB flash disk is already fixed to when being software translating In upgrade package, and cannot be by manual modification, in this way it is avoided that by artificially modifying.Tag ID in mainboard software is software When being burnt to for the first time in the memory of mainboard of television set for the first time, one is configured in mainboard software and is configured with DDR in mainboard Tag ID corresponding to information and/or EMMC configuration information, the Tag ID label in such mainboard software are just fixed. Tag ID is the software version for distinguishing different hardware configurations.Specifically, hardware configuration may include DDR configuration information And/or EMMC configuration information.That is, Tag ID is that have different DDR configuration informations and/or EMMC configuration information for distinguishing Software version.The DDR configuration information and/or EMMC configuration information of software are different, then corresponding Tag ID is also different.Tag ID Particular content can realize that Tag ID is, for example, uprade id in the form of character string, have a series of characters in uprade id String.The DDR configuration information and/or EMMC configuration information of software are different, and the character string in Tag ID is also different.
S203 judges the liter if the Tag ID in the upgrade package is consistent with the Tag ID in the mainboard software Whether the check code of grade packet is consistent with the check code of the mainboard software of the television set, if inconsistent, enters step S204, if Unanimously, then S207 is entered step;
Wherein, if the Tag ID in upgrade package is consistent with the Tag ID in mainboard software, upgrade package and mainboard software have Have identical hardware configuration, then further judge the check code of upgrade package and the mainboard software of television set check code whether one It causes, check code can be realized in the form of MD5 check code.
S204 is called if the check code of the upgrade package and the check code of the mainboard software of the television set are inconsistent The upgrade package upgrades the mainboard software of the television set.
Wherein, if the check code of upgrade package is consistent with the check code of the mainboard software of television set, show that this is same version Software is not necessarily to repeatedly upgrading.Therefore, the check code of only the two is inconsistent, just upgrade package can be called to the mainboard software of television set Upgraded.Specifically, the television set is restarted after the completion of upgrading, to enter the corresponding system of mainboard software after upgrading.
S205, if the title of the upgrade package in the USB flash disk and the title of the mainboard software of the television set are inconsistent, into Enter the corresponding system of mainboard software of the television set.
S206 enters described if the Tag ID in the upgrade package and the Tag ID in the mainboard software are inconsistent The corresponding system of the mainboard software of television set.
S207 enters institute if the check code of the upgrade package is consistent with the check code of the mainboard software of the television set State the corresponding system of mainboard software of television set.
The present embodiment is on the basis of a upper embodiment, the process of each step in perfect software upgrading, can enhance with The interaction effect of user further promotes user experience when software upgrading.
It should be noted that the present embodiment stressed is difference with a upper embodiment, between each embodiment The non-repeated description in same and similar part, can be with cross-reference, and the technical characteristic between each embodiment can be according to this field The conventional technical means of technical staff carries out selective combination.
Referring to Fig. 3, based on the same inventive concept, the software updating apparatus that third embodiment of the invention proposes is applied to In television set, described device includes:
First judgment module 10, for judging in the USB flash disk when the television set powers on and detects USB flash disk insertion Whether the title of upgrade package is consistent with the title of the mainboard software of the television set;
Second judgment module 20, for when the two title is consistent, judging Tag ID and the master in the upgrade package Whether the Tag ID in plate software is consistent, and the Tag ID is used to distinguish the software version of different hardware configurations;
Third judgment module 30, it is consistent with the Tag ID in the mainboard software for working as the Tag ID in the upgrade package When, whether the check code for judging the upgrade package is consistent with the check code of the mainboard software of the television set;
Upgraded module 40 is called, the check code of the mainboard software for the check code and television set when the upgrade package When inconsistent, the upgrade package is called to upgrade the mainboard software of the television set.
According to the software updating apparatus of the present embodiment, by increasing the detection of Tag ID, the Tag ID is for distinguishing The software version of different hardware configurations, when it is implemented, being just already fixed to upgrading when Tag ID can be software translating Bao Zhong, and cannot avoid artificially being modified by manual modification.The upgrade package in USB flash disk can be detected when being upgraded with USB flash disk In Tag ID it is whether consistent with the Tag ID on mainboard, if consistent just enter upgrading, if inconsistent do not enter upgrading, thus Achieve the effect that different hardware configurations software cannot upgrade mutually, efficiently solves because hardware configuration difference causes upgrading to fail Problem.And the present invention does not increase hardware cost, cost of implementation is lower.
Referring to Fig. 4, based on the same inventive concept, the software updating apparatus that fourth embodiment of the invention proposes is applied to In television set, described device includes:
First judgment module 10, for judging in the USB flash disk when the television set powers on and detects USB flash disk insertion Whether the title of upgrade package is consistent with the title of the mainboard software of the television set;
Second judgment module 20, for when the two title is consistent, judging Tag ID and the master in the upgrade package Whether the Tag ID in plate software is consistent, and the Tag ID is used to distinguish the software version of different hardware configurations;In the present embodiment, The hardware configuration includes DDR configuration information and/or EMMC configuration information.
Third judgment module 30, it is consistent with the Tag ID in the mainboard software for working as the Tag ID in the upgrade package When, whether the check code for judging the upgrade package is consistent with the check code of the mainboard software of the television set;
Upgraded module 40 is called, the check code of the mainboard software for the check code and television set when the upgrade package When inconsistent, the upgrade package is called to upgrade the mainboard software of the television set.
In the present embodiment, described device further includes:
First entering module 50, the mainboard software of the title and television set for the upgrade package in the USB flash disk When title is inconsistent, into the corresponding system of mainboard software of the television set.
Second enters module 60, different for working as the Tag ID in the upgrade package and the Tag ID in the mainboard software When cause, into the corresponding system of mainboard software of the television set.
Third enters module 70, the check code of the mainboard software for the check code and television set when the upgrade package When consistent, into the corresponding system of mainboard software of the television set.
In the present embodiment, described device further includes:
Configuration module 80, when in the memory of the mainboard for being burnt to the television set for the first time when the mainboard software, Configuration one and Tag ID corresponding to DDR configuration information in the mainboard and/or EMMC configuration information in the mainboard software.
In the present embodiment, described device further includes:
Module 90 is restarted, for calling the upgrade package soft to the mainboard of the television set in the calling upgraded module 40 After part is upgraded, the television set is restarted, to enter the corresponding system of mainboard software after upgrading.
The present embodiment can enhance the interaction effect with user, further promote software on the basis of a upper embodiment User experience when upgrading.
It should be noted that the present embodiment stressed is difference with a upper embodiment, between each embodiment The non-repeated description in same and similar part, can be with cross-reference, and the technical characteristic between each embodiment can be according to this field The conventional technical means of technical staff carries out selective combination.
In addition, the embodiment of the present invention also proposes a kind of readable storage medium storing program for executing, it is stored thereon with computer instruction, the instruction The step of above method is realized when being executed by processor.
In addition, the embodiment of the present invention also proposes a kind of television equipment, including memory, processor and it is stored in storage On device and the computer program that can run on a processor, the processor realize the step of the above method when executing described program Suddenly.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment It sets.
The more specific example (non-exhaustive list) of computer-readable medium includes following:It is routed with one or more Electrical connection section (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware Any one of column technology or their combination are realized:With for realizing the logic gates of logic function to data-signal Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any One or more embodiment or examples in can be combined in any suitable manner.
Although an embodiment of the present invention has been shown and described, it will be understood by those skilled in the art that:Not A variety of change, modification, replacement and modification can be carried out to these embodiments in the case where being detached from the principle of the present invention and objective, this The range of invention is defined by the claims and their equivalents.

Claims (10)

1. a kind of method for upgrading software is applied in television set, which is characterized in that the method includes:
When the television set power on and detect USB flash disk insertion when, judge the upgrade package in the USB flash disk title and the television set Mainboard software title it is whether consistent;
If the two title is consistent, judge Tag ID in the upgrade package and the Tag ID in the mainboard software whether one It causes, the Tag ID is used to distinguish the software version of different hardware configurations;
If the Tag ID in the upgrade package is consistent with the Tag ID in the mainboard software, the verification of the upgrade package is judged Whether code is consistent with the check code of the mainboard software of the television set;
If the check code of the upgrade package and the check code of the mainboard software of the television set are inconsistent, the upgrade package is called The mainboard software of the television set is upgraded.
2. method for upgrading software according to claim 1, which is characterized in that upgrade package in the judgement USB flash disk After the whether consistent step of the title of title and the mainboard software of the television set, the method also includes:
If the title of the upgrade package in the USB flash disk and the title of the mainboard software of the television set are inconsistent, enter the electricity The corresponding system depending on the mainboard software of machine.
3. method for upgrading software according to claim 1, which is characterized in that the Tag ID in the judgement upgrade package With the Tag ID in the mainboard software after whether consistent step, the method also includes:
If the Tag ID in the upgrade package and the Tag ID in the mainboard software are inconsistent, enter the master of the television set The corresponding system of plate software.
4. method for upgrading software according to claim 1, which is characterized in that the check code of the judgement upgrade package with After the whether consistent step of the check code of the mainboard software of the television set, the method also includes:
If the check code of the upgrade package is consistent with the check code of the mainboard software of the television set, enter the television set The corresponding system of mainboard software.
5. method for upgrading software according to claim 1, which is characterized in that the hardware configuration includes DDR configuration information And/or EMMC configuration information.
6. method for upgrading software according to claim 5, which is characterized in that the method also includes:
When in the memory that the mainboard software is burnt to the mainboard of the television set for the first time, configured in the mainboard software One with Tag ID corresponding to DDR configuration information and/or EMMC configuration information in the mainboard.
7. method for upgrading software according to claim 1, which is characterized in that described to call the upgrade package to the TV After the step of mainboard software of machine is upgraded, the method also includes:
The television set is restarted, to enter the corresponding system of mainboard software after upgrading.
8. a kind of software updating apparatus, it is applied in television set, which is characterized in that described device includes:
First judgment module, for judging the upgrade package in the USB flash disk when the television set powers on and detects USB flash disk insertion Title it is whether consistent with the title of the mainboard software of the television set;
Second judgment module, for when the two title is consistent, judging Tag ID and the mainboard software in the upgrade package In Tag ID it is whether consistent, the Tag ID is used to distinguish the software versions of different hardware configurations;
Third judgment module, for sentencing when the Tag ID in the upgrade package is consistent with the Tag ID in the mainboard software Whether the check code for the upgrade package of breaking and the check code of the mainboard software of the television set are consistent;
Call upgraded module, for when the upgrade package check code and the mainboard software of the television set check code it is inconsistent When, call the upgrade package to upgrade the mainboard software of the television set.
9. a kind of readable storage medium storing program for executing, is stored thereon with computer program, which is characterized in that real when the program is executed by processor The now method as described in claim 1-7 any one.
10. a kind of television equipment including memory, processor and stores the meter that can be run on a memory and on a processor Calculation machine program, which is characterized in that the processor is realized as claimed in any one of claims 1 to 7 when executing described program Method.
CN201810284968.XA 2018-04-02 2018-04-02 Method for upgrading software, device, readable storage medium storing program for executing and television equipment Withdrawn CN108874414A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810284968.XA CN108874414A (en) 2018-04-02 2018-04-02 Method for upgrading software, device, readable storage medium storing program for executing and television equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810284968.XA CN108874414A (en) 2018-04-02 2018-04-02 Method for upgrading software, device, readable storage medium storing program for executing and television equipment

Publications (1)

Publication Number Publication Date
CN108874414A true CN108874414A (en) 2018-11-23

Family

ID=64326629

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810284968.XA Withdrawn CN108874414A (en) 2018-04-02 2018-04-02 Method for upgrading software, device, readable storage medium storing program for executing and television equipment

Country Status (1)

Country Link
CN (1) CN108874414A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110208683A (en) * 2019-07-05 2019-09-06 江苏迈库通信科技有限公司 A kind of detection method of audio-video plate
CN110704086A (en) * 2019-09-30 2020-01-17 深圳创维-Rgb电子有限公司 OTA (over the air) upgrading method, OTA upgrading equipment and OTA storing medium
CN111736879A (en) * 2020-08-27 2020-10-02 北京安帝科技有限公司 Software upgrading method and system and computer
CN112752154A (en) * 2019-10-29 2021-05-04 青岛海尔多媒体有限公司 Software upgrading method and device and smart television
CN112783542A (en) * 2021-02-04 2021-05-11 华东交通大学 Software upgrading method and device and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101315605A (en) * 2008-06-26 2008-12-03 四川长虹电器股份有限公司 Automatic upgrading method of panel TV software based on USB port
CN102385520A (en) * 2011-09-06 2012-03-21 四川金网通电子科技有限公司 USB (Universal Serial Bus) upgrading method based on partition name for digital television set-top box
CN104021018A (en) * 2014-06-06 2014-09-03 上海卓悠网络科技有限公司 Terminal, upgrade patch generation method and upgrade patch recognition method
CN106686457A (en) * 2017-01-03 2017-05-17 青岛海信电器股份有限公司 Intelligent television upgrading method and apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101315605A (en) * 2008-06-26 2008-12-03 四川长虹电器股份有限公司 Automatic upgrading method of panel TV software based on USB port
CN102385520A (en) * 2011-09-06 2012-03-21 四川金网通电子科技有限公司 USB (Universal Serial Bus) upgrading method based on partition name for digital television set-top box
CN104021018A (en) * 2014-06-06 2014-09-03 上海卓悠网络科技有限公司 Terminal, upgrade patch generation method and upgrade patch recognition method
CN106686457A (en) * 2017-01-03 2017-05-17 青岛海信电器股份有限公司 Intelligent television upgrading method and apparatus

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110208683A (en) * 2019-07-05 2019-09-06 江苏迈库通信科技有限公司 A kind of detection method of audio-video plate
CN110704086A (en) * 2019-09-30 2020-01-17 深圳创维-Rgb电子有限公司 OTA (over the air) upgrading method, OTA upgrading equipment and OTA storing medium
CN112752154A (en) * 2019-10-29 2021-05-04 青岛海尔多媒体有限公司 Software upgrading method and device and smart television
CN111736879A (en) * 2020-08-27 2020-10-02 北京安帝科技有限公司 Software upgrading method and system and computer
CN111736879B (en) * 2020-08-27 2020-12-22 北京安帝科技有限公司 Software upgrading method and system and computer
CN112783542A (en) * 2021-02-04 2021-05-11 华东交通大学 Software upgrading method and device and readable storage medium

Similar Documents

Publication Publication Date Title
CN108874414A (en) Method for upgrading software, device, readable storage medium storing program for executing and television equipment
CN102830984B (en) Method, chip and the communication terminal that firmware updates
US9319822B2 (en) Over-the-air update method for continuous delta of an Android operating system of a handheld device
CN104135424B (en) A kind of application message method for pushing, server, terminal and system
CN107861830A (en) Detection method, device, storage medium and the mobile terminal of application crash
CN104268019A (en) Software operating method and device and terminal
CN103309761B (en) A kind of method and system of automatic error-correcting based on online service
CN103164229A (en) Method and device for clearing progresses of mobile terminal
CN105912362B (en) A kind of method, apparatus and electronic equipment loading plug-in unit
CN104503828A (en) Process management method and terminal
CN105224421B (en) Data backup method and device and electronic equipment
CN114003538B (en) Identification method of intelligent network card and intelligent network card
CN106227585A (en) Application program starting method, device and equipment
CN106202217A (en) Webpage link access method and device and mobile terminal
CN105183291A (en) Method and system for extracting information in display interface
CN105205142A (en) Method, device and mobile terminal for saving log file
CN105677409B (en) A kind of method for upgrading system and device
CN105786636B (en) A kind of system repair and device
CN104468419A (en) Method and system for recovering configuration of interchanger and interchanger
CN102710816B (en) The Write-protection method of storage card in mobile terminal, memory card holder and mobile terminal
US8336111B2 (en) Communication device and method for securing data
CN104484195A (en) Authentication card insertion based software interface customization method and system
CN111523097A (en) APP brush user identification method and device based on android system and storage medium
CN102984330A (en) Contact person data management method of communication device
CN105100384B (en) The default storage device selection method and device of mobile terminal, mobile terminal

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20181123

WW01 Invention patent application withdrawn after publication